@odoo/o-spreadsheet 18.5.0-alpha.11 → 18.5.0-alpha.12

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.
@@ -5972,7 +5972,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
5972
5972
  }
5973
5973
 
5974
5974
  declare class PivotUIPlugin extends CoreViewPlugin {
5975
- static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
5975
+ static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotCellSortDirection", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
5976
5976
  private pivots;
5977
5977
  private unusedPivots?;
5978
5978
  private custom;
@@ -6006,6 +6006,7 @@ declare class PivotUIPlugin extends CoreViewPlugin {
6006
6006
  generateNewCalculatedMeasureName(measures: PivotCoreMeasure[]): string;
6007
6007
  getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
6008
6008
  isPivotUnused(pivotId: UID): boolean;
6009
+ getPivotCellSortDirection(position: CellPosition): SortDirection | "none" | undefined;
6009
6010
  /**
6010
6011
  * Refresh the cache of a pivot
6011
6012
  */
@@ -7106,6 +7107,8 @@ interface CellClickableItem {
7106
7107
  execute: (position: CellPosition, env: SpreadsheetChildEnv, isMiddleClick?: boolean) => void;
7107
7108
  title?: string | ((position: CellPosition, getters: Getters) => string);
7108
7109
  sequence: number;
7110
+ component?: ComponentConstructor;
7111
+ componentProps?: (position: CellPosition, getters: Getters) => Record<string, unknown>;
7109
7112
  }
7110
7113
 
7111
7114
  interface TopbarComponent {
@@ -7156,7 +7159,7 @@ interface ChartSubtypeProperties {
7156
7159
  preview: string;
7157
7160
  }
7158
7161
 
7159
- interface Props$1q {
7162
+ interface Props$1r {
7160
7163
  label?: string;
7161
7164
  value: boolean;
7162
7165
  className?: string;
@@ -7165,7 +7168,7 @@ interface Props$1q {
7165
7168
  disabled?: boolean;
7166
7169
  onChange: (value: boolean) => void;
7167
7170
  }
7168
- declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
7171
+ declare class Checkbox extends Component<Props$1r, SpreadsheetChildEnv> {
7169
7172
  static template: string;
7170
7173
  static props: {
7171
7174
  label: {
@@ -7200,10 +7203,10 @@ declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
7200
7203
  onChange(ev: InputEvent): void;
7201
7204
  }
7202
7205
 
7203
- interface Props$1p {
7206
+ interface Props$1q {
7204
7207
  class?: string;
7205
7208
  }
7206
- declare class Section extends Component<Props$1p, SpreadsheetChildEnv> {
7209
+ declare class Section extends Component<Props$1q, SpreadsheetChildEnv> {
7207
7210
  static template: string;
7208
7211
  static props: {
7209
7212
  class: {
@@ -7368,7 +7371,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7368
7371
  getIndex(rangeId: number | null): number | null;
7369
7372
  }
7370
7373
 
7371
- interface Props$1o {
7374
+ interface Props$1p {
7372
7375
  ranges: string[];
7373
7376
  hasSingleRange?: boolean;
7374
7377
  required?: boolean;
@@ -7396,7 +7399,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7396
7399
  * onSelectionChanged is called every time the input value
7397
7400
  * changes.
7398
7401
  */
7399
- declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
7402
+ declare class SelectionInput extends Component<Props$1p, SpreadsheetChildEnv> {
7400
7403
  static template: string;
7401
7404
  static props: {
7402
7405
  ranges: ArrayConstructor;
@@ -7473,7 +7476,7 @@ declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
7473
7476
  confirm(): void;
7474
7477
  }
7475
7478
 
7476
- interface Props$1n {
7479
+ interface Props$1o {
7477
7480
  ranges: CustomizedDataSet[];
7478
7481
  hasSingleRange?: boolean;
7479
7482
  onSelectionChanged: (ranges: string[]) => void;
@@ -7486,7 +7489,7 @@ interface Props$1n {
7486
7489
  canChangeDatasetOrientation?: boolean;
7487
7490
  onFlipAxis?: (structure: string) => void;
7488
7491
  }
7489
- declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
7492
+ declare class ChartDataSeries extends Component<Props$1o, SpreadsheetChildEnv> {
7490
7493
  static template: string;
7491
7494
  static components: {
7492
7495
  SelectionInput: typeof SelectionInput;
@@ -7535,12 +7538,12 @@ declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
7535
7538
  get title(): string;
7536
7539
  }
7537
7540
 
7538
- interface Props$1m {
7541
+ interface Props$1n {
7539
7542
  messages: string[];
7540
7543
  msgType: "warning" | "error" | "info";
7541
7544
  singleBox?: boolean;
7542
7545
  }
7543
- declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv> {
7546
+ declare class ValidationMessages extends Component<Props$1n, SpreadsheetChildEnv> {
7544
7547
  static template: string;
7545
7548
  static props: {
7546
7549
  messages: ArrayConstructor;
@@ -7554,10 +7557,10 @@ declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv
7554
7557
  get alertBoxes(): string[][];
7555
7558
  }
7556
7559
 
7557
- interface Props$1l {
7560
+ interface Props$1m {
7558
7561
  messages: string[];
7559
7562
  }
7560
- declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv> {
7563
+ declare class ChartErrorSection extends Component<Props$1m, SpreadsheetChildEnv> {
7561
7564
  static template: string;
7562
7565
  static components: {
7563
7566
  Section: typeof Section;
@@ -7571,7 +7574,7 @@ declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv>
7571
7574
  };
7572
7575
  }
7573
7576
 
7574
- interface Props$1k {
7577
+ interface Props$1l {
7575
7578
  title?: string;
7576
7579
  range: string;
7577
7580
  isInvalid: boolean;
@@ -7584,7 +7587,7 @@ interface Props$1k {
7584
7587
  onChange: (value: boolean) => void;
7585
7588
  }>;
7586
7589
  }
7587
- declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
7590
+ declare class ChartLabelRange extends Component<Props$1l, SpreadsheetChildEnv> {
7588
7591
  static template: string;
7589
7592
  static components: {
7590
7593
  SelectionInput: typeof SelectionInput;
@@ -7605,10 +7608,10 @@ declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
7605
7608
  optional: boolean;
7606
7609
  };
7607
7610
  };
7608
- static defaultProps: Partial<Props$1k>;
7611
+ static defaultProps: Partial<Props$1l>;
7609
7612
  }
7610
7613
 
7611
- interface Props$1j {
7614
+ interface Props$1k {
7612
7615
  chartId: UID;
7613
7616
  definition: ChartWithDataSetDefinition;
7614
7617
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7618,7 +7621,7 @@ interface ChartPanelState {
7618
7621
  datasetDispatchResult?: DispatchResult;
7619
7622
  labelsDispatchResult?: DispatchResult;
7620
7623
  }
7621
- declare class GenericChartConfigPanel extends Component<Props$1j, SpreadsheetChildEnv> {
7624
+ declare class GenericChartConfigPanel extends Component<Props$1k, SpreadsheetChildEnv> {
7622
7625
  static template: string;
7623
7626
  static components: {
7624
7627
  ChartDataSeries: typeof ChartDataSeries;
@@ -7687,11 +7690,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7687
7690
  onUpdateStacked(stacked: boolean): void;
7688
7691
  }
7689
7692
 
7690
- interface Props$1i {
7693
+ interface Props$1j {
7691
7694
  isCollapsed: boolean;
7692
7695
  slots: any;
7693
7696
  }
7694
- declare class Collapse extends Component<Props$1i, SpreadsheetChildEnv> {
7697
+ declare class Collapse extends Component<Props$1j, SpreadsheetChildEnv> {
7695
7698
  static template: string;
7696
7699
  static props: {
7697
7700
  isCollapsed: BooleanConstructor;
@@ -7730,12 +7733,12 @@ interface Choice$1 {
7730
7733
  value: string;
7731
7734
  label: string;
7732
7735
  }
7733
- interface Props$1h {
7736
+ interface Props$1i {
7734
7737
  choices: Choice$1[];
7735
7738
  onChange: (value: string) => void;
7736
7739
  selectedValue: string;
7737
7740
  }
7738
- declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
7741
+ declare class BadgeSelection extends Component<Props$1i, SpreadsheetChildEnv> {
7739
7742
  static template: string;
7740
7743
  static props: {
7741
7744
  choices: ArrayConstructor;
@@ -7744,14 +7747,14 @@ declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
7744
7747
  };
7745
7748
  }
7746
7749
 
7747
- interface Props$1g {
7750
+ interface Props$1h {
7748
7751
  action: ActionSpec;
7749
7752
  hasTriangleDownIcon?: boolean;
7750
7753
  selectedColor?: string;
7751
7754
  class?: string;
7752
7755
  onClick?: (ev: MouseEvent) => void;
7753
7756
  }
7754
- declare class ActionButton extends Component<Props$1g, SpreadsheetChildEnv> {
7757
+ declare class ActionButton extends Component<Props$1h, SpreadsheetChildEnv> {
7755
7758
  static template: string;
7756
7759
  static props: {
7757
7760
  action: ObjectConstructor;
@@ -7938,7 +7941,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7938
7941
  isSameColor(color1: Color, color2: Color): boolean;
7939
7942
  }
7940
7943
 
7941
- interface Props$1f {
7944
+ interface Props$1g {
7942
7945
  currentColor: string | undefined;
7943
7946
  toggleColorPicker: () => void;
7944
7947
  showColorPicker: boolean;
@@ -7949,7 +7952,7 @@ interface Props$1f {
7949
7952
  dropdownMaxHeight?: Pixel;
7950
7953
  class?: string;
7951
7954
  }
7952
- declare class ColorPickerWidget extends Component<Props$1f, SpreadsheetChildEnv> {
7955
+ declare class ColorPickerWidget extends Component<Props$1g, SpreadsheetChildEnv> {
7953
7956
  static template: string;
7954
7957
  static props: {
7955
7958
  currentColor: {
@@ -8010,14 +8013,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
8010
8013
  interface State$5 {
8011
8014
  isOpen: boolean;
8012
8015
  }
8013
- interface Props$1e {
8016
+ interface Props$1f {
8014
8017
  currentFontSize: number;
8015
8018
  class: string;
8016
8019
  onFontSizeChanged: (fontSize: number) => void;
8017
8020
  onToggle?: () => void;
8018
8021
  onFocusInput?: () => void;
8019
8022
  }
8020
- declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
8023
+ declare class FontSizeEditor extends Component<Props$1f, SpreadsheetChildEnv> {
8021
8024
  static template: string;
8022
8025
  static props: {
8023
8026
  currentFontSize: NumberConstructor;
@@ -8055,7 +8058,7 @@ declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
8055
8058
  onInputKeydown(ev: KeyboardEvent): void;
8056
8059
  }
8057
8060
 
8058
- interface Props$1d {
8061
+ interface Props$1e {
8059
8062
  class?: string;
8060
8063
  style: ChartStyle;
8061
8064
  updateStyle: (style: ChartStyle) => void;
@@ -8064,7 +8067,7 @@ interface Props$1d {
8064
8067
  hasHorizontalAlign?: boolean;
8065
8068
  hasBackgroundColor?: boolean;
8066
8069
  }
8067
- declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
8070
+ declare class TextStyler extends Component<Props$1e, SpreadsheetChildEnv> {
8068
8071
  static template: string;
8069
8072
  static components: {
8070
8073
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -8132,7 +8135,7 @@ declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
8132
8135
  get verticalAlignActions(): ActionSpec[];
8133
8136
  }
8134
8137
 
8135
- interface Props$1c {
8138
+ interface Props$1d {
8136
8139
  title?: string;
8137
8140
  placeholder?: string;
8138
8141
  updateTitle: (title: string) => void;
@@ -8141,7 +8144,7 @@ interface Props$1c {
8141
8144
  defaultStyle?: Partial<TitleDesign>;
8142
8145
  updateStyle: (style: TitleDesign) => void;
8143
8146
  }
8144
- declare class ChartTitle extends Component<Props$1c, SpreadsheetChildEnv> {
8147
+ declare class ChartTitle extends Component<Props$1d, SpreadsheetChildEnv> {
8145
8148
  static template: string;
8146
8149
  static components: {
8147
8150
  Section: typeof Section;
@@ -8178,13 +8181,13 @@ interface AxisDefinition {
8178
8181
  id: string;
8179
8182
  name: string;
8180
8183
  }
8181
- interface Props$1b {
8184
+ interface Props$1c {
8182
8185
  chartId: UID;
8183
8186
  definition: ChartWithAxisDefinition;
8184
8187
  updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8185
8188
  axesList: AxisDefinition[];
8186
8189
  }
8187
- declare class AxisDesignEditor extends Component<Props$1b, SpreadsheetChildEnv> {
8190
+ declare class AxisDesignEditor extends Component<Props$1c, SpreadsheetChildEnv> {
8188
8191
  static template: string;
8189
8192
  static components: {
8190
8193
  Section: typeof Section;
@@ -8216,14 +8219,14 @@ interface Choice {
8216
8219
  value: unknown;
8217
8220
  label: string;
8218
8221
  }
8219
- interface Props$1a {
8222
+ interface Props$1b {
8220
8223
  choices: Choice[];
8221
8224
  onChange: (value: unknown) => void;
8222
8225
  selectedValue: string;
8223
8226
  name: string;
8224
8227
  direction: "horizontal" | "vertical";
8225
8228
  }
8226
- declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
8229
+ declare class RadioSelection extends Component<Props$1b, SpreadsheetChildEnv> {
8227
8230
  static template: string;
8228
8231
  static props: {
8229
8232
  choices: ArrayConstructor;
@@ -8242,13 +8245,13 @@ declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
8242
8245
  };
8243
8246
  }
8244
8247
 
8245
- interface Props$19 {
8248
+ interface Props$1a {
8246
8249
  currentColor?: string;
8247
8250
  onColorPicked: (color: string) => void;
8248
8251
  title?: string;
8249
8252
  disableNoColor?: boolean;
8250
8253
  }
8251
- declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv> {
8254
+ declare class RoundColorPicker extends Component<Props$1a, SpreadsheetChildEnv> {
8252
8255
  static template: string;
8253
8256
  static components: {
8254
8257
  Section: typeof Section;
@@ -8281,14 +8284,14 @@ declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv>
8281
8284
  get buttonStyle(): string;
8282
8285
  }
8283
8286
 
8284
- interface Props$18 {
8287
+ interface Props$19 {
8285
8288
  chartId: UID;
8286
8289
  definition: ChartDefinition;
8287
8290
  updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8288
8291
  canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8289
8292
  defaultChartTitleFontSize?: number;
8290
8293
  }
8291
- declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEnv> {
8294
+ declare class GeneralDesignEditor extends Component<Props$19, SpreadsheetChildEnv> {
8292
8295
  static template: string;
8293
8296
  static components: {
8294
8297
  RoundColorPicker: typeof RoundColorPicker;
@@ -8323,13 +8326,13 @@ declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEn
8323
8326
  updateChartTitleStyle(style: TitleDesign): void;
8324
8327
  }
8325
8328
 
8326
- interface Props$17 {
8329
+ interface Props$18 {
8327
8330
  chartId: UID;
8328
8331
  definition: ChartWithDataSetDefinition;
8329
8332
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8330
8333
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8331
8334
  }
8332
- declare class ChartHumanizeNumbers extends Component<Props$17, SpreadsheetChildEnv> {
8335
+ declare class ChartHumanizeNumbers extends Component<Props$18, SpreadsheetChildEnv> {
8333
8336
  static template: string;
8334
8337
  static components: {
8335
8338
  Checkbox: typeof Checkbox;
@@ -8342,13 +8345,13 @@ declare class ChartHumanizeNumbers extends Component<Props$17, SpreadsheetChildE
8342
8345
  };
8343
8346
  }
8344
8347
 
8345
- interface Props$16 {
8348
+ interface Props$17 {
8346
8349
  chartId: UID;
8347
8350
  definition: ChartWithDataSetDefinition;
8348
8351
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8349
8352
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8350
8353
  }
8351
- declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
8354
+ declare class ChartLegend extends Component<Props$17, SpreadsheetChildEnv> {
8352
8355
  static template: string;
8353
8356
  static components: {
8354
8357
  Section: typeof Section;
@@ -8362,13 +8365,13 @@ declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
8362
8365
  updateLegendPosition(ev: any): void;
8363
8366
  }
8364
8367
 
8365
- interface Props$15 {
8368
+ interface Props$16 {
8366
8369
  chartId: UID;
8367
8370
  definition: ChartWithDataSetDefinition;
8368
8371
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8369
8372
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8370
8373
  }
8371
- declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8374
+ declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
8372
8375
  static template: string;
8373
8376
  static components: {
8374
8377
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8396,13 +8399,13 @@ declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv
8396
8399
  getDataSeriesLabel(): string | undefined;
8397
8400
  }
8398
8401
 
8399
- interface Props$14 {
8402
+ interface Props$15 {
8400
8403
  chartId: UID;
8401
8404
  definition: ChartWithDataSetDefinition;
8402
8405
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8403
8406
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8404
8407
  }
8405
- declare class SeriesWithAxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8408
+ declare class SeriesWithAxisDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8406
8409
  static template: string;
8407
8410
  static components: {
8408
8411
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8443,14 +8446,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$14, Spreadsheet
8443
8446
  updateTrendLineValue(index: number, config: any): void;
8444
8447
  }
8445
8448
 
8446
- interface Props$13 {
8449
+ interface Props$14 {
8447
8450
  chartId: UID;
8448
8451
  definition: ChartWithDataSetDefinition;
8449
8452
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8450
8453
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8451
8454
  defaultValue?: boolean;
8452
8455
  }
8453
- declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
8456
+ declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
8454
8457
  static template: string;
8455
8458
  static components: {
8456
8459
  Checkbox: typeof Checkbox;
@@ -8467,13 +8470,13 @@ declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
8467
8470
  };
8468
8471
  }
8469
8472
 
8470
- interface Props$12 {
8473
+ interface Props$13 {
8471
8474
  chartId: UID;
8472
8475
  definition: ChartWithDataSetDefinition;
8473
8476
  canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8474
8477
  updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8475
8478
  }
8476
- declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Component<P, SpreadsheetChildEnv> {
8479
+ declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Component<P, SpreadsheetChildEnv> {
8477
8480
  static template: string;
8478
8481
  static components: {
8479
8482
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8494,13 +8497,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Co
8494
8497
  get axesList(): AxisDefinition[];
8495
8498
  }
8496
8499
 
8497
- interface Props$11 {
8500
+ interface Props$12 {
8498
8501
  chartId: UID;
8499
8502
  definition: GaugeChartDefinition;
8500
8503
  canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8501
8504
  updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8502
8505
  }
8503
- declare class GaugeChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
8506
+ declare class GaugeChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
8504
8507
  static template: string;
8505
8508
  static components: {
8506
8509
  ChartErrorSection: typeof ChartErrorSection;
@@ -8565,13 +8568,13 @@ interface EnrichedToken extends Token {
8565
8568
  isInHoverContext?: boolean;
8566
8569
  }
8567
8570
 
8568
- interface Props$10 {
8571
+ interface Props$11 {
8569
8572
  proposals: AutoCompleteProposal[];
8570
8573
  selectedIndex: number | undefined;
8571
8574
  onValueSelected: (value: string) => void;
8572
8575
  onValueHovered: (index: string) => void;
8573
8576
  }
8574
- declare class TextValueProvider extends Component<Props$10> {
8577
+ declare class TextValueProvider extends Component<Props$11> {
8575
8578
  static template: string;
8576
8579
  static props: {
8577
8580
  proposals: ArrayConstructor;
@@ -8628,11 +8631,11 @@ declare class ContentEditableHelper {
8628
8631
  getText(): string;
8629
8632
  }
8630
8633
 
8631
- interface Props$$ {
8634
+ interface Props$10 {
8632
8635
  functionDescription: FunctionDescription;
8633
8636
  argsToFocus: number[];
8634
8637
  }
8635
- declare class FunctionDescriptionProvider extends Component<Props$$, SpreadsheetChildEnv> {
8638
+ declare class FunctionDescriptionProvider extends Component<Props$10, SpreadsheetChildEnv> {
8636
8639
  static template: string;
8637
8640
  static props: {
8638
8641
  functionDescription: ObjectConstructor;
@@ -8643,15 +8646,15 @@ declare class FunctionDescriptionProvider extends Component<Props$$, Spreadsheet
8643
8646
  };
8644
8647
  private state;
8645
8648
  toggle(): void;
8646
- getContext(): Props$$;
8649
+ getContext(): Props$10;
8647
8650
  get formulaArgSeparator(): string;
8648
8651
  }
8649
8652
 
8650
- interface Props$_ {
8653
+ interface Props$$ {
8651
8654
  anchorRect: Rect;
8652
8655
  content: string;
8653
8656
  }
8654
- declare class SpeechBubble extends Component<Props$_, SpreadsheetChildEnv> {
8657
+ declare class SpeechBubble extends Component<Props$$, SpreadsheetChildEnv> {
8655
8658
  static template: string;
8656
8659
  static props: {
8657
8660
  content: StringConstructor;
@@ -9064,7 +9067,7 @@ interface AutoCompleteProviderDefinition {
9064
9067
  }, tokenAtCursor: EnrichedToken, text: string): void;
9065
9068
  }
9066
9069
 
9067
- interface Props$Z {
9070
+ interface Props$_ {
9068
9071
  onConfirm: (content: string) => void;
9069
9072
  composerContent: string;
9070
9073
  defaultRangeSheetId: UID;
@@ -9076,7 +9079,7 @@ interface Props$Z {
9076
9079
  invalid?: boolean;
9077
9080
  getContextualColoredSymbolToken?: (token: Token) => Color;
9078
9081
  }
9079
- declare class StandaloneComposer extends Component<Props$Z, SpreadsheetChildEnv> {
9082
+ declare class StandaloneComposer extends Component<Props$_, SpreadsheetChildEnv> {
9080
9083
  static template: string;
9081
9084
  static props: {
9082
9085
  composerContent: {
@@ -9139,13 +9142,13 @@ interface PanelState {
9139
9142
  sectionRuleCancelledReasons?: CommandResult[];
9140
9143
  sectionRule: SectionRule;
9141
9144
  }
9142
- interface Props$Y {
9145
+ interface Props$Z {
9143
9146
  chartId: UID;
9144
9147
  definition: GaugeChartDefinition;
9145
9148
  canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9146
9149
  updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9147
9150
  }
9148
- declare class GaugeChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9151
+ declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildEnv> {
9149
9152
  static template: string;
9150
9153
  static components: {
9151
9154
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -9196,13 +9199,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9196
9199
  onUpdateCumulative(cumulative: boolean): void;
9197
9200
  }
9198
9201
 
9199
- interface Props$X {
9202
+ interface Props$Y {
9200
9203
  chartId: UID;
9201
9204
  definition: ScorecardChartDefinition;
9202
9205
  canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9203
9206
  updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9204
9207
  }
9205
- declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
9208
+ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9206
9209
  static template: string;
9207
9210
  static components: {
9208
9211
  SelectionInput: typeof SelectionInput;
@@ -9231,13 +9234,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetCh
9231
9234
  }
9232
9235
 
9233
9236
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9234
- interface Props$W {
9237
+ interface Props$X {
9235
9238
  chartId: UID;
9236
9239
  definition: ScorecardChartDefinition;
9237
9240
  canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9238
9241
  updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9239
9242
  }
9240
- declare class ScorecardChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
9243
+ declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
9241
9244
  static template: string;
9242
9245
  static components: {
9243
9246
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9422,11 +9425,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
9422
9425
  enableAnimationForChart(chartId: UID): string;
9423
9426
  }
9424
9427
 
9425
- interface Props$V {
9428
+ interface Props$W {
9426
9429
  chartId: UID;
9427
9430
  isFullScreen?: boolean;
9428
9431
  }
9429
- declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
9432
+ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
9430
9433
  static template: string;
9431
9434
  static props: {
9432
9435
  chartId: StringConstructor;
@@ -9461,10 +9464,10 @@ declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
9461
9464
  get animationChartId(): string;
9462
9465
  }
9463
9466
 
9464
- interface Props$U {
9467
+ interface Props$V {
9465
9468
  chartId: UID;
9466
9469
  }
9467
- declare class ScorecardChart$1 extends Component<Props$U, SpreadsheetChildEnv> {
9470
+ declare class ScorecardChart$1 extends Component<Props$V, SpreadsheetChildEnv> {
9468
9471
  static template: string;
9469
9472
  static props: {
9470
9473
  chartId: StringConstructor;
@@ -9540,7 +9543,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9540
9543
  onClickMenu(menu: Action, ev: CustomEvent): void;
9541
9544
  }
9542
9545
 
9543
- interface Props$T {
9546
+ interface Props$U {
9544
9547
  anchorRect: Rect;
9545
9548
  popoverPositioning: PopoverPropsPosition;
9546
9549
  menuItems: Action[];
@@ -9560,7 +9563,7 @@ interface MenuState {
9560
9563
  menuItems: Action[];
9561
9564
  isHoveringChild?: boolean;
9562
9565
  }
9563
- declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
9566
+ declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
9564
9567
  static template: string;
9565
9568
  static props: {
9566
9569
  anchorRect: ObjectConstructor;
@@ -9640,7 +9643,7 @@ declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
9640
9643
  }
9641
9644
 
9642
9645
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9643
- interface Props$S {
9646
+ interface Props$T {
9644
9647
  figureUI: FigureUI;
9645
9648
  style: string;
9646
9649
  class: string;
@@ -9648,7 +9651,7 @@ interface Props$S {
9648
9651
  onMouseDown: (ev: MouseEvent) => void;
9649
9652
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9650
9653
  }
9651
- declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
9654
+ declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
9652
9655
  static template: string;
9653
9656
  static props: {
9654
9657
  figureUI: ObjectConstructor;
@@ -9704,7 +9707,7 @@ declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
9704
9707
  editWrapperStyle(properties: CSSProperties): void;
9705
9708
  }
9706
9709
 
9707
- interface Props$R {
9710
+ interface Props$S {
9708
9711
  chartId: UID;
9709
9712
  }
9710
9713
  interface MenuItem {
@@ -9714,7 +9717,7 @@ interface MenuItem {
9714
9717
  onClick: () => void;
9715
9718
  preview?: string;
9716
9719
  }
9717
- declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv> {
9720
+ declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv> {
9718
9721
  static template: string;
9719
9722
  static components: {
9720
9723
  MenuPopover: typeof MenuPopover;
@@ -9732,12 +9735,12 @@ declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv>
9732
9735
  get fullScreenMenuItem(): MenuItem | undefined;
9733
9736
  }
9734
9737
 
9735
- interface Props$Q {
9738
+ interface Props$R {
9736
9739
  figureUI: FigureUI;
9737
9740
  onFigureDeleted: () => void;
9738
9741
  editFigureStyle?: (properties: CSSProperties) => void;
9739
9742
  }
9740
- declare class ChartFigure extends Component<Props$Q, SpreadsheetChildEnv> {
9743
+ declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
9741
9744
  static template: string;
9742
9745
  static props: {
9743
9746
  figureUI: ObjectConstructor;
@@ -9767,7 +9770,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9767
9770
 
9768
9771
  type DnDDirection = "all" | "vertical" | "horizontal";
9769
9772
 
9770
- interface Props$P {
9773
+ interface Props$Q {
9771
9774
  isVisible: boolean;
9772
9775
  position: Position;
9773
9776
  }
@@ -9779,7 +9782,7 @@ interface State$4 {
9779
9782
  position: Position;
9780
9783
  handler: boolean;
9781
9784
  }
9782
- declare class Autofill extends Component<Props$P, SpreadsheetChildEnv> {
9785
+ declare class Autofill extends Component<Props$Q, SpreadsheetChildEnv> {
9783
9786
  static template: string;
9784
9787
  static props: {
9785
9788
  position: ObjectConstructor;
@@ -9819,7 +9822,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
9819
9822
  get tagStyle(): string;
9820
9823
  }
9821
9824
 
9822
- interface Props$O {
9825
+ interface Props$P {
9823
9826
  gridDims: DOMDimension;
9824
9827
  onInputContextMenu: (event: MouseEvent) => void;
9825
9828
  }
@@ -9827,7 +9830,7 @@ interface Props$O {
9827
9830
  * This component is a composer which positions itself on the grid at the anchor cell.
9828
9831
  * It also applies the style of the cell to the composer input.
9829
9832
  */
9830
- declare class GridComposer extends Component<Props$O, SpreadsheetChildEnv> {
9833
+ declare class GridComposer extends Component<Props$P, SpreadsheetChildEnv> {
9831
9834
  static template: string;
9832
9835
  static props: {
9833
9836
  gridDims: ObjectConstructor;
@@ -9871,7 +9874,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9871
9874
  }
9872
9875
 
9873
9876
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9874
- interface Props$N {
9877
+ interface Props$O {
9875
9878
  onFigureDeleted: () => void;
9876
9879
  }
9877
9880
  interface Container {
@@ -9952,7 +9955,7 @@ interface DndState {
9952
9955
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9953
9956
  *
9954
9957
  */
9955
- declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
9958
+ declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
9956
9959
  static template: string;
9957
9960
  static props: {
9958
9961
  onFigureDeleted: FunctionConstructor;
@@ -9990,10 +9993,10 @@ declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
9990
9993
  private getCarouselOverlappingChart;
9991
9994
  }
9992
9995
 
9993
- interface Props$M {
9996
+ interface Props$N {
9994
9997
  focusGrid: () => void;
9995
9998
  }
9996
- declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv> {
9999
+ declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv> {
9997
10000
  static template: string;
9998
10001
  static props: {
9999
10002
  focusGrid: FunctionConstructor;
@@ -10017,7 +10020,7 @@ declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv>
10017
10020
  private onExternalClick;
10018
10021
  }
10019
10022
 
10020
- interface Props$L {
10023
+ interface Props$M {
10021
10024
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
10022
10025
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
10023
10026
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -10030,7 +10033,7 @@ interface Props$L {
10030
10033
  height: number;
10031
10034
  };
10032
10035
  }
10033
- declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
10036
+ declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
10034
10037
  static template: string;
10035
10038
  static props: {
10036
10039
  onCellDoubleClicked: {
@@ -10090,12 +10093,12 @@ declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
10090
10093
  private getInteractiveIconAtEvent;
10091
10094
  }
10092
10095
 
10093
- interface Props$K {
10096
+ interface Props$L {
10094
10097
  gridRect: Rect;
10095
10098
  onClosePopover: () => void;
10096
10099
  onMouseWheel: (ev: WheelEvent) => void;
10097
10100
  }
10098
- declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
10101
+ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
10099
10102
  static template: string;
10100
10103
  static props: {
10101
10104
  onClosePopover: FunctionConstructor;
@@ -10111,7 +10114,7 @@ declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
10111
10114
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
10112
10115
  }
10113
10116
 
10114
- interface Props$J {
10117
+ interface Props$K {
10115
10118
  headersGroups: ConsecutiveIndexes[];
10116
10119
  offset: number;
10117
10120
  headerRange: {
@@ -10119,7 +10122,7 @@ interface Props$J {
10119
10122
  end: HeaderIndex;
10120
10123
  };
10121
10124
  }
10122
- declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
10125
+ declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10123
10126
  static template: string;
10124
10127
  static props: {
10125
10128
  headersGroups: ArrayConstructor;
@@ -10138,7 +10141,7 @@ declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
10138
10141
  unhide(hiddenElements: HeaderIndex[]): void;
10139
10142
  isVisible(header: HeaderIndex): boolean;
10140
10143
  }
10141
- declare class UnhideColumnHeaders extends Component<Props$J, SpreadsheetChildEnv> {
10144
+ declare class UnhideColumnHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10142
10145
  static template: string;
10143
10146
  static props: {
10144
10147
  headersGroups: ArrayConstructor;
@@ -10331,13 +10334,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10331
10334
  }
10332
10335
 
10333
10336
  type Orientation$1 = "n" | "s" | "w" | "e";
10334
- interface Props$I {
10337
+ interface Props$J {
10335
10338
  zone: Zone;
10336
10339
  orientation: Orientation$1;
10337
10340
  isMoving: boolean;
10338
10341
  onMoveHighlight: (ev: PointerEvent) => void;
10339
10342
  }
10340
- declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
10343
+ declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
10341
10344
  static template: string;
10342
10345
  static props: {
10343
10346
  zone: ObjectConstructor;
@@ -10350,14 +10353,14 @@ declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
10350
10353
  }
10351
10354
 
10352
10355
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10353
- interface Props$H {
10356
+ interface Props$I {
10354
10357
  zone: Zone;
10355
10358
  color: Color;
10356
10359
  orientation: Orientation;
10357
10360
  isResizing: boolean;
10358
10361
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10359
10362
  }
10360
- declare class Corner extends Component<Props$H, SpreadsheetChildEnv> {
10363
+ declare class Corner extends Component<Props$I, SpreadsheetChildEnv> {
10361
10364
  static template: string;
10362
10365
  static props: {
10363
10366
  zone: ObjectConstructor;
@@ -10406,7 +10409,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10406
10409
 
10407
10410
  type ScrollDirection = "horizontal" | "vertical";
10408
10411
 
10409
- interface Props$G {
10412
+ interface Props$H {
10410
10413
  width: Pixel;
10411
10414
  height: Pixel;
10412
10415
  direction: ScrollDirection;
@@ -10414,7 +10417,7 @@ interface Props$G {
10414
10417
  offset: Pixel;
10415
10418
  onScroll: (offset: Pixel) => void;
10416
10419
  }
10417
- declare class ScrollBar extends Component<Props$G> {
10420
+ declare class ScrollBar extends Component<Props$H> {
10418
10421
  static props: {
10419
10422
  width: {
10420
10423
  type: NumberConstructor;
@@ -10442,10 +10445,10 @@ declare class ScrollBar extends Component<Props$G> {
10442
10445
  onScroll(ev: any): void;
10443
10446
  }
10444
10447
 
10445
- interface Props$F {
10448
+ interface Props$G {
10446
10449
  leftOffset: number;
10447
10450
  }
10448
- declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10451
+ declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
10449
10452
  static props: {
10450
10453
  leftOffset: {
10451
10454
  type: NumberConstructor;
@@ -10471,10 +10474,10 @@ declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv
10471
10474
  onScroll(offset: any): void;
10472
10475
  }
10473
10476
 
10474
- interface Props$E {
10477
+ interface Props$F {
10475
10478
  topOffset: number;
10476
10479
  }
10477
- declare class VerticalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10480
+ declare class VerticalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10478
10481
  static props: {
10479
10482
  topOffset: {
10480
10483
  type: NumberConstructor;
@@ -10509,13 +10512,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10509
10512
  get highlightProps(): HighlightProps;
10510
10513
  }
10511
10514
 
10512
- interface Props$D {
10515
+ interface Props$E {
10513
10516
  table: Table;
10514
10517
  }
10515
10518
  interface State$3 {
10516
10519
  highlightZone: Zone | undefined;
10517
10520
  }
10518
- declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
10521
+ declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
10519
10522
  static template: string;
10520
10523
  static props: {
10521
10524
  table: ObjectConstructor;
@@ -10544,11 +10547,11 @@ declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
10544
10547
  * - a vertical resizer (same, for rows)
10545
10548
  */
10546
10549
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10547
- interface Props$C {
10550
+ interface Props$D {
10548
10551
  exposeFocus: (focus: () => void) => void;
10549
10552
  getGridSize: () => DOMDimension;
10550
10553
  }
10551
- declare class Grid extends Component<Props$C, SpreadsheetChildEnv> {
10554
+ declare class Grid extends Component<Props$D, SpreadsheetChildEnv> {
10552
10555
  static template: string;
10553
10556
  static props: {
10554
10557
  exposeFocus: FunctionConstructor;
@@ -10664,7 +10667,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10664
10667
  private getChartDefinitionFromContextCreation;
10665
10668
  }
10666
10669
 
10667
- interface Props$B {
10670
+ interface Props$C {
10668
10671
  chartId: UID;
10669
10672
  chartPanelStore: MainChartPanelStore;
10670
10673
  }
@@ -10672,7 +10675,7 @@ interface ChartTypePickerState {
10672
10675
  popoverProps: PopoverProps | undefined;
10673
10676
  popoverStyle: string;
10674
10677
  }
10675
- declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
10678
+ declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
10676
10679
  static template: string;
10677
10680
  static components: {
10678
10681
  Section: typeof Section;
@@ -10708,11 +10711,11 @@ declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
10708
10711
  private closePopover;
10709
10712
  }
10710
10713
 
10711
- interface Props$A {
10714
+ interface Props$B {
10712
10715
  onCloseSidePanel: () => void;
10713
10716
  chartId: UID;
10714
10717
  }
10715
- declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
10718
+ declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
10716
10719
  static template: string;
10717
10720
  static components: {
10718
10721
  Section: typeof Section;
@@ -10735,11 +10738,11 @@ declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
10735
10738
  private getChartDefinition;
10736
10739
  }
10737
10740
 
10738
- interface Props$z {
10741
+ interface Props$A {
10739
10742
  onValueChange: (value: number) => void;
10740
10743
  value: number;
10741
10744
  }
10742
- declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
10745
+ declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
10743
10746
  static template: string;
10744
10747
  static components: {
10745
10748
  Section: typeof Section;
@@ -10752,13 +10755,13 @@ declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
10752
10755
  onChange(value: string): void;
10753
10756
  }
10754
10757
 
10755
- interface Props$y {
10758
+ interface Props$z {
10756
10759
  chartId: UID;
10757
10760
  definition: PieChartDefinition;
10758
10761
  canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10759
10762
  updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10760
10763
  }
10761
- declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
10764
+ declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv> {
10762
10765
  static template: string;
10763
10766
  static components: {
10764
10767
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10782,10 +10785,10 @@ declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv
10782
10785
  get defaultHoleSize(): number;
10783
10786
  }
10784
10787
 
10785
- interface Props$x {
10788
+ interface Props$y {
10786
10789
  items: ActionSpec[];
10787
10790
  }
10788
- declare class CogWheelMenu extends Component<Props$x, SpreadsheetChildEnv> {
10791
+ declare class CogWheelMenu extends Component<Props$y, SpreadsheetChildEnv> {
10789
10792
  static template: string;
10790
10793
  static components: {
10791
10794
  MenuPopover: typeof MenuPopover;
@@ -10868,14 +10871,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10868
10871
  get highlights(): Highlight$1[];
10869
10872
  }
10870
10873
 
10871
- interface Props$w {
10874
+ interface Props$x {
10872
10875
  deferUpdate: boolean;
10873
10876
  isDirty: boolean;
10874
10877
  toggleDeferUpdate: (value: boolean) => void;
10875
10878
  discard: () => void;
10876
10879
  apply: () => void;
10877
10880
  }
10878
- declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
10881
+ declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
10879
10882
  static template: string;
10880
10883
  static props: {
10881
10884
  deferUpdate: BooleanConstructor;
@@ -10892,11 +10895,11 @@ declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
10892
10895
  get deferUpdatesTooltip(): string;
10893
10896
  }
10894
10897
 
10895
- interface Props$v {
10898
+ interface Props$w {
10896
10899
  onFieldPicked: (field: string) => void;
10897
10900
  fields: PivotField[];
10898
10901
  }
10899
- declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv> {
10902
+ declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv> {
10900
10903
  static template: string;
10901
10904
  static components: {
10902
10905
  Popover: typeof Popover;
@@ -10932,7 +10935,7 @@ declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv>
10932
10935
  onKeyDown(ev: KeyboardEvent): void;
10933
10936
  }
10934
10937
 
10935
- interface Props$u {
10938
+ interface Props$v {
10936
10939
  value: string;
10937
10940
  onChange: (value: string) => void;
10938
10941
  class?: string;
@@ -10941,7 +10944,7 @@ interface Props$u {
10941
10944
  autofocus?: boolean;
10942
10945
  alwaysShowBorder?: boolean;
10943
10946
  }
10944
- declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
10947
+ declare class TextInput extends Component<Props$v, SpreadsheetChildEnv> {
10945
10948
  static template: string;
10946
10949
  static props: {
10947
10950
  value: StringConstructor;
@@ -10976,13 +10979,13 @@ declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
10976
10979
  get inputClass(): string;
10977
10980
  }
10978
10981
 
10979
- interface Props$t {
10982
+ interface Props$u {
10980
10983
  dimension: PivotCoreDimension | PivotCoreMeasure;
10981
10984
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10982
10985
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10983
10986
  type: "row" | "col" | "measure";
10984
10987
  }
10985
- declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
10988
+ declare class PivotDimension extends Component<Props$u, SpreadsheetChildEnv> {
10986
10989
  static template: string;
10987
10990
  static props: {
10988
10991
  dimension: ObjectConstructor;
@@ -11006,13 +11009,13 @@ declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
11006
11009
  updateName(name: string): void;
11007
11010
  }
11008
11011
 
11009
- interface Props$s {
11012
+ interface Props$t {
11010
11013
  dimension: PivotDimension$1;
11011
11014
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
11012
11015
  availableGranularities: Set<string>;
11013
11016
  allGranularities: string[];
11014
11017
  }
11015
- declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetChildEnv> {
11018
+ declare class PivotDimensionGranularity extends Component<Props$t, SpreadsheetChildEnv> {
11016
11019
  static template: string;
11017
11020
  static props: {
11018
11021
  dimension: ObjectConstructor;
@@ -11037,11 +11040,11 @@ declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetCh
11037
11040
  };
11038
11041
  }
11039
11042
 
11040
- interface Props$r {
11043
+ interface Props$s {
11041
11044
  dimension: PivotDimension$1;
11042
11045
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
11043
11046
  }
11044
- declare class PivotDimensionOrder extends Component<Props$r, SpreadsheetChildEnv> {
11047
+ declare class PivotDimensionOrder extends Component<Props$s, SpreadsheetChildEnv> {
11045
11048
  static template: string;
11046
11049
  static props: {
11047
11050
  dimension: ObjectConstructor;
@@ -11078,12 +11081,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
11078
11081
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
11079
11082
  declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
11080
11083
 
11081
- interface Props$q {
11084
+ interface Props$r {
11082
11085
  pivotId: UID;
11083
11086
  customField: PivotCustomGroupedField;
11084
11087
  onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11085
11088
  }
11086
- declare class PivotCustomGroupsCollapsible extends Component<Props$q, SpreadsheetChildEnv> {
11089
+ declare class PivotCustomGroupsCollapsible extends Component<Props$r, SpreadsheetChildEnv> {
11087
11090
  static template: string;
11088
11091
  static props: {
11089
11092
  pivotId: StringConstructor;
@@ -11103,7 +11106,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$q, Spreadshee
11103
11106
  private updateCustomField;
11104
11107
  }
11105
11108
 
11106
- interface Props$p {
11109
+ interface Props$q {
11107
11110
  pivotId: string;
11108
11111
  definition: PivotRuntimeDefinition;
11109
11112
  measure: PivotMeasure;
@@ -11111,7 +11114,7 @@ interface Props$p {
11111
11114
  onRemoved: () => void;
11112
11115
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
11113
11116
  }
11114
- declare class PivotMeasureEditor extends Component<Props$p> {
11117
+ declare class PivotMeasureEditor extends Component<Props$q> {
11115
11118
  static template: string;
11116
11119
  static components: {
11117
11120
  PivotDimension: typeof PivotDimension;
@@ -11136,11 +11139,11 @@ declare class PivotMeasureEditor extends Component<Props$p> {
11136
11139
  get isCalculatedMeasureInvalid(): boolean;
11137
11140
  }
11138
11141
 
11139
- interface Props$o {
11142
+ interface Props$p {
11140
11143
  definition: PivotRuntimeDefinition;
11141
11144
  pivotId: UID;
11142
11145
  }
11143
- declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
11146
+ declare class PivotSortSection extends Component<Props$p, SpreadsheetChildEnv> {
11144
11147
  static template: string;
11145
11148
  static components: {
11146
11149
  Section: typeof Section;
@@ -11157,7 +11160,7 @@ declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
11157
11160
  }[];
11158
11161
  }
11159
11162
 
11160
- interface Props$n {
11163
+ interface Props$o {
11161
11164
  definition: PivotRuntimeDefinition;
11162
11165
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11163
11166
  unusedGroupableFields: PivotField[];
@@ -11168,7 +11171,7 @@ interface Props$n {
11168
11171
  getScrollableContainerEl?: () => HTMLElement;
11169
11172
  pivotId: UID;
11170
11173
  }
11171
- declare class PivotLayoutConfigurator extends Component<Props$n, SpreadsheetChildEnv> {
11174
+ declare class PivotLayoutConfigurator extends Component<Props$o, SpreadsheetChildEnv> {
11172
11175
  static template: string;
11173
11176
  static components: {
11174
11177
  AddDimensionButton: typeof AddDimensionButton;
@@ -11263,11 +11266,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11263
11266
  private areDomainFieldsValid;
11264
11267
  }
11265
11268
 
11266
- interface Props$m {
11269
+ interface Props$n {
11267
11270
  pivotId: UID;
11268
11271
  flipAxis: () => void;
11269
11272
  }
11270
- declare class PivotTitleSection extends Component<Props$m, SpreadsheetChildEnv> {
11273
+ declare class PivotTitleSection extends Component<Props$n, SpreadsheetChildEnv> {
11271
11274
  static template: string;
11272
11275
  static components: {
11273
11276
  CogWheelMenu: typeof CogWheelMenu;
@@ -11364,6 +11367,23 @@ declare function getFirstPivotFunction(tokens: Token[]): {
11364
11367
  */
11365
11368
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
11366
11369
 
11370
+ interface Props$m {
11371
+ position: CellPosition;
11372
+ sortDirection: SortDirection | "none";
11373
+ }
11374
+ declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildEnv> {
11375
+ static template: string;
11376
+ static props: {
11377
+ position: ObjectConstructor;
11378
+ sortDirection: StringConstructor;
11379
+ };
11380
+ private hoveredTableStore;
11381
+ setup(): void;
11382
+ get style(): string;
11383
+ get icon(): "fa-sort-asc" | "fa-sort-desc" | "fa-sort";
11384
+ getBackgroundColor(cellStyle: Style): Color;
11385
+ }
11386
+
11367
11387
  declare class ZoomableChartJsComponent extends ChartJsComponent {
11368
11388
  static template: string;
11369
11389
  private store;
@@ -12435,6 +12455,8 @@ interface ClickableCell {
12435
12455
  position: CellPosition;
12436
12456
  title: string;
12437
12457
  action: (position: CellPosition, env: SpreadsheetChildEnv, isMiddleClick?: boolean) => void;
12458
+ component: ComponentConstructor | undefined;
12459
+ componentProps: Record<string, unknown>;
12438
12460
  }
12439
12461
  declare class ClickableCellsStore extends SpreadsheetStore {
12440
12462
  private _clickableCells;
@@ -13033,6 +13055,7 @@ declare const components: {
13033
13055
  ChartPanel: typeof ChartPanel;
13034
13056
  ChartFigure: typeof ChartFigure;
13035
13057
  ChartJsComponent: typeof ChartJsComponent;
13058
+ ClickableCellSortIcon: typeof ClickableCellSortIcon;
13036
13059
  ZoomableChartJsComponent: typeof ZoomableChartJsComponent;
13037
13060
  Grid: typeof Grid;
13038
13061
  GridOverlay: typeof GridOverlay;
@@ -13131,6 +13154,8 @@ declare const constants: {
13131
13154
  };
13132
13155
  };
13133
13156
  FIGURE_ID_SPLITTER: string;
13157
+ GRID_ICON_EDGE_LENGTH: number;
13158
+ GRID_ICON_MARGIN: number;
13134
13159
  };
13135
13160
  declare const chartHelpers: {
13136
13161
  getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;