@odoo/o-spreadsheet 19.1.0-alpha.11 → 19.1.0-alpha.13

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.
@@ -1398,7 +1398,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
1398
1398
  }
1399
1399
 
1400
1400
  type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
1401
- type Granularity = "day" | "week" | "month" | "quarter" | "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
1401
+ type Granularity = "day" | "month" | "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
1402
1402
  interface PivotCoreDimension {
1403
1403
  fieldName: string;
1404
1404
  order?: SortDirection;
@@ -1868,6 +1868,7 @@ interface StylePluginState {
1868
1868
  declare class StylePlugin extends CorePlugin<StylePluginState> implements StylePluginState {
1869
1869
  static getters: readonly ["getCellStyle", "getCellStyleInZone", "getZoneStyles", "getStyleColors"];
1870
1870
  readonly styles: Record<UID, ZoneStyle[] | undefined>;
1871
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1871
1872
  handle(cmd: CoreCommand): void;
1872
1873
  adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1873
1874
  private handleAddColumnn;
@@ -1885,6 +1886,7 @@ declare class StylePlugin extends CorePlugin<StylePluginState> implements StyleP
1885
1886
  import(data: WorkbookData): void;
1886
1887
  export(data: WorkbookData): void;
1887
1888
  exportForExcel(data: ExcelWorkbookData): void;
1889
+ private checkUselessSetFormatting;
1888
1890
  }
1889
1891
 
1890
1892
  interface Table {
@@ -2100,6 +2102,16 @@ interface XLSXExport {
2100
2102
  */
2101
2103
  type XlsxHexColor = string & Alias;
2102
2104
 
2105
+ declare const CALENDAR_CHART_GRANULARITIES: Granularity[];
2106
+ type CalendarChartGranularity = (typeof CALENDAR_CHART_GRANULARITIES)[number];
2107
+ interface CalendarChartDefinition extends CommonChartDefinition {
2108
+ readonly type: "calendar";
2109
+ readonly colorScale?: ChartColorScale;
2110
+ readonly missingValueColor?: Color;
2111
+ readonly horizontalGroupBy?: CalendarChartGranularity;
2112
+ readonly verticalGroupBy?: CalendarChartGranularity;
2113
+ }
2114
+
2103
2115
  type VerticalAxisPosition = "left" | "right";
2104
2116
  type LegendPosition = "top" | "bottom" | "left" | "right" | "none";
2105
2117
  interface CommonChartDefinition {
@@ -2475,14 +2487,20 @@ type WaterfallChartRuntime = {
2475
2487
  background: Color;
2476
2488
  };
2477
2489
 
2478
- declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap"];
2490
+ declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap", "calendar"];
2479
2491
  type ChartType = (typeof CHART_TYPES)[number];
2480
- type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition;
2492
+ type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition | CalendarChartDefinition;
2481
2493
  type ChartWithDataSetDefinition = Extract<ChartDefinition, {
2482
2494
  dataSets: CustomizedDataSet[];
2483
2495
  labelRange?: string;
2484
2496
  humanize?: boolean;
2485
2497
  }>;
2498
+ type ChartWithColorScaleDefinition = Extract<ChartDefinition, {
2499
+ colorScale?: ChartColorScale;
2500
+ }>;
2501
+ type ChartWithTitleDefinition = Extract<ChartDefinition, {
2502
+ title?: TitleDesign;
2503
+ }>;
2486
2504
  type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
2487
2505
  axesDesign?: AxesDesign;
2488
2506
  }>;
@@ -2634,30 +2652,24 @@ interface ChartRuntimeGenerationArgs {
2634
2652
  type GenericDefinition<T extends ChartWithDataSetDefinition> = Partial<Omit<T, "dataSets" | "type">> & {
2635
2653
  dataSets?: Omit<T["dataSets"][number], "dataRange">[];
2636
2654
  };
2655
+ interface ChartColorScale {
2656
+ minColor: Color;
2657
+ midColor?: Color;
2658
+ maxColor: Color;
2659
+ }
2660
+ declare function schemeToColorScale(scheme: string): ChartColorScale | undefined;
2637
2661
 
2638
- interface GeoChartDefinition {
2662
+ interface GeoChartDefinition extends CommonChartDefinition {
2639
2663
  readonly type: "geo";
2640
- readonly dataSets: CustomizedDataSet[];
2641
- readonly dataSetsHaveTitle: boolean;
2642
- readonly labelRange?: string;
2643
- readonly title: TitleDesign;
2644
- readonly background?: Color;
2645
- readonly legendPosition: LegendPosition;
2646
- readonly colorScale?: GeoChartColorScale;
2664
+ readonly colorScale?: ChartColorScale;
2647
2665
  readonly missingValueColor?: Color;
2648
2666
  readonly region?: string;
2649
- readonly humanize?: boolean;
2667
+ readonly showColorBar?: boolean;
2650
2668
  }
2651
2669
  type GeoChartRuntime = {
2652
2670
  chartJsConfig: ChartConfiguration;
2653
2671
  background: Color;
2654
2672
  };
2655
- interface GeoChartCustomColorScale {
2656
- minColor: Color;
2657
- midColor?: Color;
2658
- maxColor: Color;
2659
- }
2660
- type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
2661
2673
  type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
2662
2674
  interface GeoChartRegion {
2663
2675
  id: string;
@@ -3167,6 +3179,7 @@ type StatefulStream<Event, State> = {
3167
3179
  resetDefaultAnchor: (owner: unknown, state: State) => void;
3168
3180
  resetAnchor: (owner: unknown, state: State) => void;
3169
3181
  observe: (owner: unknown, callbacks: StreamCallbacks<Event>) => void;
3182
+ unobserve: (owner: unknown) => void;
3170
3183
  release: (owner: unknown) => void;
3171
3184
  getBackToDefault(): void;
3172
3185
  };
@@ -4578,12 +4591,16 @@ declare class UIOptionsPlugin extends UIPlugin {
4578
4591
  }
4579
4592
 
4580
4593
  declare class SheetUIPlugin extends UIPlugin {
4581
- static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone", "computeTextYCoordinate"];
4594
+ static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getMultilineTextSize", "getContiguousZone", "computeTextYCoordinate"];
4582
4595
  private ctx;
4583
4596
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
4584
4597
  handle(cmd: Command): void;
4585
4598
  getCellWidth(position: CellPosition): number;
4586
4599
  getTextWidth(text: string, style: Style): Pixel;
4600
+ getMultilineTextSize(text: string[], style: Style): {
4601
+ width: number;
4602
+ height: number;
4603
+ };
4587
4604
  getCellText(position: CellPosition, args?: {
4588
4605
  showFormula?: boolean;
4589
4606
  availableWidth?: number;
@@ -4954,7 +4971,7 @@ declare class InternalViewport {
4954
4971
  *
4955
4972
  */
4956
4973
  declare class SheetViewPlugin extends UIPlugin {
4957
- static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleRectWithZoom", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset", "getGridOffset", "getViewportZoomLevel", "getScrollBarWidth"];
4974
+ static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleRectWithZoom", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset", "getGridOffset", "getViewportZoomLevel", "getScrollBarWidth", "getMaximumSheetOffset"];
4958
4975
  private viewports;
4959
4976
  /**
4960
4977
  * The viewport dimensions are usually set by one of the components
@@ -5006,7 +5023,10 @@ declare class SheetViewPlugin extends UIPlugin {
5006
5023
  * Return the main viewport maximum size relative to the client size.
5007
5024
  */
5008
5025
  getMainViewportRect(): Rect;
5009
- private getMaximumSheetOffset;
5026
+ getMaximumSheetOffset(): {
5027
+ maxOffsetX: Pixel;
5028
+ maxOffsetY: Pixel;
5029
+ };
5010
5030
  getColRowOffsetInViewport(dimension: Dimension, referenceHeaderIndex: HeaderIndex, targetHeaderIndex: HeaderIndex): Pixel;
5011
5031
  /**
5012
5032
  * Check if a given position is visible in the viewport.
@@ -5278,6 +5298,8 @@ type Rect = DOMCoordinates & DOMDimension;
5278
5298
  interface BoxTextContent {
5279
5299
  textLines: string[];
5280
5300
  width: Pixel;
5301
+ textHeight: Pixel;
5302
+ textWidth: Pixel;
5281
5303
  align: Align;
5282
5304
  fontSizePx: number;
5283
5305
  x: Pixel;
@@ -6456,6 +6478,7 @@ interface Style {
6456
6478
  fillColor?: Color;
6457
6479
  textColor?: Color;
6458
6480
  fontSize?: number;
6481
+ rotation?: number;
6459
6482
  }
6460
6483
  interface DataBarFill {
6461
6484
  color: Color;
@@ -6762,8 +6785,9 @@ declare module "chart.js" {
6762
6785
  }
6763
6786
 
6764
6787
  interface ChartShowValuesPluginOptions {
6788
+ type: ChartType;
6765
6789
  showValues: boolean;
6766
- background?: Color;
6790
+ background: (value: number | string, dataset: ChartMeta, index: number) => Color | undefined;
6767
6791
  horizontal?: boolean;
6768
6792
  callback: (value: number | string, dataset: ChartMeta, index: number) => string;
6769
6793
  }
@@ -6773,6 +6797,20 @@ declare module "chart.js" {
6773
6797
  }
6774
6798
  }
6775
6799
 
6800
+ interface ChartColorScalePluginOptions {
6801
+ position: "left" | "right" | "none";
6802
+ colorScale: Color[];
6803
+ fontColor?: Color;
6804
+ minValue: number;
6805
+ maxValue: number;
6806
+ locale: Locale;
6807
+ }
6808
+ declare module "chart.js" {
6809
+ interface PluginOptionsByType<TType extends ChartType$1> {
6810
+ chartColorScalePlugin?: ChartColorScalePluginOptions;
6811
+ }
6812
+ }
6813
+
6776
6814
  interface MigrationStep {
6777
6815
  migrate: (data: any) => any;
6778
6816
  }
@@ -7020,6 +7058,18 @@ declare class ColorGenerator {
7020
7058
  constructor(paletteSize: number, preferredColors?: (Color | undefined | null)[]);
7021
7059
  next(): string;
7022
7060
  }
7061
+ declare const COLORSCHEMES: {
7062
+ readonly greys: readonly ["#ffffff", "#808080", "#000000"];
7063
+ readonly blues: readonly ["#f7fbff", "#6aaed6", "#08306b"];
7064
+ readonly reds: readonly ["#fff5f0", "#fb694a", "#67000d"];
7065
+ readonly greens: readonly ["#f7fcf5", "#73c476", "#00441b"];
7066
+ readonly oranges: readonly ["#fff5eb", "#fd8c3b", "#7f2704"];
7067
+ readonly purples: readonly ["#fcfbfd", "#9e9ac8", "#3f007d"];
7068
+ readonly viridis: readonly ["#440154", "#21918c", "#fde725"];
7069
+ readonly cividis: readonly ["#00224e", "#7d7c78", "#fee838"];
7070
+ readonly rainbow: readonly ["#B41DB4", "#FFFF00", "#00FFFF"];
7071
+ };
7072
+ type ColorScale = keyof typeof COLORSCHEMES;
7023
7073
 
7024
7074
  /**
7025
7075
  * Convert a (col) number to the corresponding letter.
@@ -7097,7 +7147,7 @@ declare function formatValue(value: CellValue, { format, locale, formatWidth }:
7097
7147
  }): FormattedValue;
7098
7148
  declare function createCurrencyFormat(currency: Partial<Currency>): Format;
7099
7149
 
7100
- declare function computeTextWidth(context: Canvas2DContext, text: string, style: Style, fontUnit?: "px" | "pt"): number;
7150
+ declare function computeTextWidth(context: Canvas2DContext, text: string, style?: Style, fontUnit?: "px" | "pt"): number;
7101
7151
 
7102
7152
  /**
7103
7153
  * Convert from a cartesian reference to a (possibly unbounded) Zone
@@ -7207,7 +7257,7 @@ interface ChartBuilder {
7207
7257
  dataSeriesLimit?: number;
7208
7258
  }
7209
7259
 
7210
- interface Props$1u {
7260
+ interface Props$1d {
7211
7261
  label?: string;
7212
7262
  value: boolean;
7213
7263
  className?: string;
@@ -7216,7 +7266,7 @@ interface Props$1u {
7216
7266
  disabled?: boolean;
7217
7267
  onChange: (value: boolean) => void;
7218
7268
  }
7219
- declare class Checkbox extends Component<Props$1u, SpreadsheetChildEnv> {
7269
+ declare class Checkbox extends Component<Props$1d, SpreadsheetChildEnv> {
7220
7270
  static template: string;
7221
7271
  static props: {
7222
7272
  label: {
@@ -7251,10 +7301,10 @@ declare class Checkbox extends Component<Props$1u, SpreadsheetChildEnv> {
7251
7301
  onChange(ev: InputEvent): void;
7252
7302
  }
7253
7303
 
7254
- interface Props$1t {
7304
+ interface Props$1c {
7255
7305
  class?: string;
7256
7306
  }
7257
- declare class Section extends Component<Props$1t, SpreadsheetChildEnv> {
7307
+ declare class Section extends Component<Props$1c, SpreadsheetChildEnv> {
7258
7308
  static template: string;
7259
7309
  static props: {
7260
7310
  class: {
@@ -7269,6 +7319,13 @@ declare class Section extends Component<Props$1t, SpreadsheetChildEnv> {
7269
7319
  };
7270
7320
  }
7271
7321
 
7322
+ interface ChartSidePanelProps<T extends ChartDefinition> {
7323
+ chartId: UID;
7324
+ definition: T;
7325
+ canUpdateChart: (chartId: UID, definition: Partial<T>) => DispatchResult;
7326
+ updateChart: (chartId: UID, definition: Partial<T>) => DispatchResult;
7327
+ }
7328
+
7272
7329
  interface StoreUpdateEvent {
7273
7330
  type: "store-updated";
7274
7331
  }
@@ -7448,7 +7505,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7448
7505
  getIndex(rangeId: number | null): number | null;
7449
7506
  }
7450
7507
 
7451
- interface Props$1s {
7508
+ interface Props$1b {
7452
7509
  ranges: string[];
7453
7510
  hasSingleRange?: boolean;
7454
7511
  required?: boolean;
@@ -7477,7 +7534,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7477
7534
  * onSelectionChanged is called every time the input value
7478
7535
  * changes.
7479
7536
  */
7480
- declare class SelectionInput extends Component<Props$1s, SpreadsheetChildEnv> {
7537
+ declare class SelectionInput extends Component<Props$1b, SpreadsheetChildEnv> {
7481
7538
  static template: string;
7482
7539
  static props: {
7483
7540
  ranges: ArrayConstructor;
@@ -7558,7 +7615,7 @@ declare class SelectionInput extends Component<Props$1s, SpreadsheetChildEnv> {
7558
7615
  confirm(): void;
7559
7616
  }
7560
7617
 
7561
- interface Props$1r {
7618
+ interface Props$1a {
7562
7619
  ranges: CustomizedDataSet[];
7563
7620
  hasSingleRange?: boolean;
7564
7621
  onSelectionChanged: (ranges: string[]) => void;
@@ -7571,7 +7628,7 @@ interface Props$1r {
7571
7628
  canChangeDatasetOrientation?: boolean;
7572
7629
  onFlipAxis?: (structure: string) => void;
7573
7630
  }
7574
- declare class ChartDataSeries extends Component<Props$1r, SpreadsheetChildEnv> {
7631
+ declare class ChartDataSeries extends Component<Props$1a, SpreadsheetChildEnv> {
7575
7632
  static template: string;
7576
7633
  static components: {
7577
7634
  SelectionInput: typeof SelectionInput;
@@ -7620,12 +7677,12 @@ declare class ChartDataSeries extends Component<Props$1r, SpreadsheetChildEnv> {
7620
7677
  get title(): string;
7621
7678
  }
7622
7679
 
7623
- interface Props$1q {
7680
+ interface Props$19 {
7624
7681
  messages: string[];
7625
7682
  msgType: "warning" | "error" | "info";
7626
7683
  singleBox?: boolean;
7627
7684
  }
7628
- declare class ValidationMessages extends Component<Props$1q, SpreadsheetChildEnv> {
7685
+ declare class ValidationMessages extends Component<Props$19, SpreadsheetChildEnv> {
7629
7686
  static template: string;
7630
7687
  static props: {
7631
7688
  messages: ArrayConstructor;
@@ -7639,10 +7696,10 @@ declare class ValidationMessages extends Component<Props$1q, SpreadsheetChildEnv
7639
7696
  get alertBoxes(): string[][];
7640
7697
  }
7641
7698
 
7642
- interface Props$1p {
7699
+ interface Props$18 {
7643
7700
  messages: string[];
7644
7701
  }
7645
- declare class ChartErrorSection extends Component<Props$1p, SpreadsheetChildEnv> {
7702
+ declare class ChartErrorSection extends Component<Props$18, SpreadsheetChildEnv> {
7646
7703
  static template: string;
7647
7704
  static components: {
7648
7705
  Section: typeof Section;
@@ -7656,7 +7713,7 @@ declare class ChartErrorSection extends Component<Props$1p, SpreadsheetChildEnv>
7656
7713
  };
7657
7714
  }
7658
7715
 
7659
- interface Props$1o {
7716
+ interface Props$17 {
7660
7717
  title?: string;
7661
7718
  range: string;
7662
7719
  isInvalid: boolean;
@@ -7669,7 +7726,7 @@ interface Props$1o {
7669
7726
  onChange: (value: boolean) => void;
7670
7727
  }>;
7671
7728
  }
7672
- declare class ChartLabelRange extends Component<Props$1o, SpreadsheetChildEnv> {
7729
+ declare class ChartLabelRange extends Component<Props$17, SpreadsheetChildEnv> {
7673
7730
  static template: string;
7674
7731
  static components: {
7675
7732
  SelectionInput: typeof SelectionInput;
@@ -7690,20 +7747,14 @@ declare class ChartLabelRange extends Component<Props$1o, SpreadsheetChildEnv> {
7690
7747
  optional: boolean;
7691
7748
  };
7692
7749
  };
7693
- static defaultProps: Partial<Props$1o>;
7750
+ static defaultProps: Partial<Props$17>;
7694
7751
  }
7695
7752
 
7696
- interface Props$1n {
7697
- chartId: UID;
7698
- definition: ChartWithDataSetDefinition;
7699
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7700
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7701
- }
7702
7753
  interface ChartPanelState {
7703
7754
  datasetDispatchResult?: DispatchResult;
7704
7755
  labelsDispatchResult?: DispatchResult;
7705
7756
  }
7706
- declare class GenericChartConfigPanel extends Component<Props$1n, SpreadsheetChildEnv> {
7757
+ declare class GenericChartConfigPanel<P extends ChartSidePanelProps<ChartWithDataSetDefinition> = ChartSidePanelProps<ChartWithDataSetDefinition>> extends Component<P, SpreadsheetChildEnv> {
7707
7758
  static template: string;
7708
7759
  static components: {
7709
7760
  ChartDataSeries: typeof ChartDataSeries;
@@ -7715,8 +7766,8 @@ declare class GenericChartConfigPanel extends Component<Props$1n, SpreadsheetChi
7715
7766
  static props: {
7716
7767
  chartId: StringConstructor;
7717
7768
  definition: ObjectConstructor;
7718
- updateChart: FunctionConstructor;
7719
7769
  canUpdateChart: FunctionConstructor;
7770
+ updateChart: FunctionConstructor;
7720
7771
  };
7721
7772
  protected state: ChartPanelState;
7722
7773
  protected dataSets: CustomizedDataSet[];
@@ -7724,9 +7775,7 @@ declare class GenericChartConfigPanel extends Component<Props$1n, SpreadsheetChi
7724
7775
  private datasetOrientation;
7725
7776
  protected chartTerms: {
7726
7777
  [key: string]: any;
7727
- GeoChart: {
7728
- ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
7729
- };
7778
+ ColorScales: Record<Extract<ChartColorScale, string>, string>;
7730
7779
  };
7731
7780
  setup(): void;
7732
7781
  get errorMessages(): string[];
@@ -7772,11 +7821,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7772
7821
  onUpdateStacked(stacked: boolean): void;
7773
7822
  }
7774
7823
 
7775
- interface Props$1m {
7824
+ interface Props$16 {
7776
7825
  isCollapsed: boolean;
7777
7826
  slots: any;
7778
7827
  }
7779
- declare class Collapse extends Component<Props$1m, SpreadsheetChildEnv> {
7828
+ declare class Collapse extends Component<Props$16, SpreadsheetChildEnv> {
7780
7829
  static template: string;
7781
7830
  static props: {
7782
7831
  isCollapsed: BooleanConstructor;
@@ -7815,12 +7864,12 @@ interface Choice$1 {
7815
7864
  value: string;
7816
7865
  label: string;
7817
7866
  }
7818
- interface Props$1l {
7867
+ interface Props$15 {
7819
7868
  choices: Choice$1[];
7820
7869
  onChange: (value: string) => void;
7821
7870
  selectedValue: string;
7822
7871
  }
7823
- declare class BadgeSelection extends Component<Props$1l, SpreadsheetChildEnv> {
7872
+ declare class BadgeSelection extends Component<Props$15, SpreadsheetChildEnv> {
7824
7873
  static template: string;
7825
7874
  static props: {
7826
7875
  choices: ArrayConstructor;
@@ -7876,14 +7925,19 @@ declare class GenericInput<T extends GenericInputProps> extends Component<T, Spr
7876
7925
  onMouseUp(ev: MouseEvent): void;
7877
7926
  }
7878
7927
 
7879
- interface Props$1k extends GenericInputProps {
7928
+ interface Props$14 extends GenericInputProps {
7880
7929
  alwaysShowBorder?: boolean;
7881
7930
  value: string;
7931
+ errorMessage?: string;
7882
7932
  }
7883
- declare class TextInput extends GenericInput<Props$1k> {
7933
+ declare class TextInput extends GenericInput<Props$14> {
7884
7934
  static template: string;
7885
7935
  static components: {};
7886
7936
  static props: {
7937
+ errorMessage: {
7938
+ type: StringConstructor;
7939
+ optional: boolean;
7940
+ };
7887
7941
  value: (StringConstructor | NumberConstructor)[];
7888
7942
  onChange: FunctionConstructor;
7889
7943
  class: {
@@ -7914,14 +7968,14 @@ declare class TextInput extends GenericInput<Props$1k> {
7914
7968
  get inputClass(): string;
7915
7969
  }
7916
7970
 
7917
- interface Props$1j {
7971
+ interface Props$13 {
7918
7972
  action: ActionSpec;
7919
7973
  hasTriangleDownIcon?: boolean;
7920
7974
  selectedColor?: string;
7921
7975
  class?: string;
7922
7976
  onClick?: (ev: MouseEvent) => void;
7923
7977
  }
7924
- declare class ActionButton extends Component<Props$1j, SpreadsheetChildEnv> {
7978
+ declare class ActionButton extends Component<Props$13, SpreadsheetChildEnv> {
7925
7979
  static template: string;
7926
7980
  static props: {
7927
7981
  action: ObjectConstructor;
@@ -8087,7 +8141,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
8087
8141
  isSameColor(color1: Color, color2: Color): boolean;
8088
8142
  }
8089
8143
 
8090
- interface Props$1i {
8144
+ interface Props$12 {
8091
8145
  currentColor: string | undefined;
8092
8146
  toggleColorPicker: () => void;
8093
8147
  showColorPicker: boolean;
@@ -8098,7 +8152,7 @@ interface Props$1i {
8098
8152
  dropdownMaxHeight?: Pixel;
8099
8153
  class?: string;
8100
8154
  }
8101
- declare class ColorPickerWidget extends Component<Props$1i, SpreadsheetChildEnv> {
8155
+ declare class ColorPickerWidget extends Component<Props$12, SpreadsheetChildEnv> {
8102
8156
  static template: string;
8103
8157
  static props: {
8104
8158
  currentColor: {
@@ -8161,7 +8215,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
8161
8215
  interface State$5 {
8162
8216
  isOpen: boolean;
8163
8217
  }
8164
- interface Props$1h {
8218
+ interface Props$11 {
8165
8219
  currentValue: number;
8166
8220
  class: string;
8167
8221
  onValueChange: (fontSize: number) => void;
@@ -8173,7 +8227,7 @@ interface Props$1h {
8173
8227
  title: String;
8174
8228
  valueList: number[];
8175
8229
  }
8176
- declare class NumberEditor extends Component<Props$1h, SpreadsheetChildEnv> {
8230
+ declare class NumberEditor extends Component<Props$11, SpreadsheetChildEnv> {
8177
8231
  static template: string;
8178
8232
  static props: {
8179
8233
  currentValue: NumberConstructor;
@@ -8234,14 +8288,14 @@ declare class NumberEditor extends Component<Props$1h, SpreadsheetChildEnv> {
8234
8288
  onInputKeydown(ev: KeyboardEvent): void;
8235
8289
  }
8236
8290
 
8237
- interface Props$1g {
8291
+ interface Props$10 {
8238
8292
  currentFontSize: number;
8239
8293
  class: string;
8240
8294
  onFontSizeChanged: (fontSize: number) => void;
8241
8295
  onToggle?: () => void;
8242
8296
  onFocusInput?: () => void;
8243
8297
  }
8244
- declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
8298
+ declare class FontSizeEditor extends Component<Props$10, SpreadsheetChildEnv> {
8245
8299
  static template: string;
8246
8300
  static components: {
8247
8301
  NumberEditor: typeof NumberEditor;
@@ -8265,7 +8319,7 @@ declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
8265
8319
  fontSizes: number[];
8266
8320
  }
8267
8321
 
8268
- interface Props$1f {
8322
+ interface Props$$ {
8269
8323
  class?: string;
8270
8324
  style: ChartStyle;
8271
8325
  updateStyle: (style: ChartStyle) => void;
@@ -8274,7 +8328,7 @@ interface Props$1f {
8274
8328
  hasHorizontalAlign?: boolean;
8275
8329
  hasBackgroundColor?: boolean;
8276
8330
  }
8277
- declare class TextStyler extends Component<Props$1f, SpreadsheetChildEnv> {
8331
+ declare class TextStyler extends Component<Props$$, SpreadsheetChildEnv> {
8278
8332
  static template: string;
8279
8333
  static components: {
8280
8334
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -8342,7 +8396,7 @@ declare class TextStyler extends Component<Props$1f, SpreadsheetChildEnv> {
8342
8396
  get verticalAlignActions(): ActionSpec[];
8343
8397
  }
8344
8398
 
8345
- interface Props$1e {
8399
+ interface Props$_ {
8346
8400
  title?: string;
8347
8401
  placeholder?: string;
8348
8402
  updateTitle: (title: string) => void;
@@ -8351,7 +8405,7 @@ interface Props$1e {
8351
8405
  defaultStyle?: Partial<TitleDesign>;
8352
8406
  updateStyle: (style: TitleDesign) => void;
8353
8407
  }
8354
- declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
8408
+ declare class ChartTitle extends Component<Props$_, SpreadsheetChildEnv> {
8355
8409
  static template: string;
8356
8410
  static components: {
8357
8411
  Section: typeof Section;
@@ -8389,13 +8443,13 @@ interface AxisDefinition {
8389
8443
  id: string;
8390
8444
  name: string;
8391
8445
  }
8392
- interface Props$1d {
8446
+ interface Props$Z {
8393
8447
  chartId: UID;
8394
8448
  definition: ChartWithAxisDefinition;
8395
8449
  updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8396
8450
  axesList: AxisDefinition[];
8397
8451
  }
8398
- declare class AxisDesignEditor extends Component<Props$1d, SpreadsheetChildEnv> {
8452
+ declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
8399
8453
  static template: string;
8400
8454
  static components: {
8401
8455
  Section: typeof Section;
@@ -8427,14 +8481,14 @@ interface Choice {
8427
8481
  value: unknown;
8428
8482
  label: string;
8429
8483
  }
8430
- interface Props$1c {
8484
+ interface Props$Y {
8431
8485
  choices: Choice[];
8432
8486
  onChange: (value: unknown) => void;
8433
8487
  selectedValue: string;
8434
8488
  name: string;
8435
8489
  direction: "horizontal" | "vertical";
8436
8490
  }
8437
- declare class RadioSelection extends Component<Props$1c, SpreadsheetChildEnv> {
8491
+ declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
8438
8492
  static template: string;
8439
8493
  static props: {
8440
8494
  choices: ArrayConstructor;
@@ -8453,13 +8507,13 @@ declare class RadioSelection extends Component<Props$1c, SpreadsheetChildEnv> {
8453
8507
  };
8454
8508
  }
8455
8509
 
8456
- interface Props$1b {
8510
+ interface Props$X {
8457
8511
  currentColor?: string;
8458
8512
  onColorPicked: (color: string) => void;
8459
8513
  title?: string;
8460
8514
  disableNoColor?: boolean;
8461
8515
  }
8462
- declare class RoundColorPicker extends Component<Props$1b, SpreadsheetChildEnv> {
8516
+ declare class RoundColorPicker extends Component<Props$X, SpreadsheetChildEnv> {
8463
8517
  static template: string;
8464
8518
  static components: {
8465
8519
  Section: typeof Section;
@@ -8492,14 +8546,11 @@ declare class RoundColorPicker extends Component<Props$1b, SpreadsheetChildEnv>
8492
8546
  get buttonStyle(): string;
8493
8547
  }
8494
8548
 
8495
- interface Props$1a {
8496
- chartId: UID;
8497
- definition: ChartDefinition;
8498
- updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8499
- canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8549
+ interface Props$W extends ChartSidePanelProps<ChartDefinition> {
8500
8550
  defaultChartTitleFontSize?: number;
8551
+ slots?: object;
8501
8552
  }
8502
- declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEnv> {
8553
+ declare class GeneralDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
8503
8554
  static template: string;
8504
8555
  static components: {
8505
8556
  RoundColorPicker: typeof RoundColorPicker;
@@ -8509,10 +8560,6 @@ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEn
8509
8560
  RadioSelection: typeof RadioSelection;
8510
8561
  };
8511
8562
  static props: {
8512
- chartId: StringConstructor;
8513
- definition: ObjectConstructor;
8514
- updateChart: FunctionConstructor;
8515
- canUpdateChart: FunctionConstructor;
8516
8563
  defaultChartTitleFontSize: {
8517
8564
  type: NumberConstructor;
8518
8565
  optional: boolean;
@@ -8521,6 +8568,10 @@ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEn
8521
8568
  type: ObjectConstructor;
8522
8569
  optional: boolean;
8523
8570
  };
8571
+ chartId: StringConstructor;
8572
+ definition: ObjectConstructor;
8573
+ canUpdateChart: FunctionConstructor;
8574
+ updateChart: FunctionConstructor;
8524
8575
  };
8525
8576
  static defaultProps: {
8526
8577
  defaultChartTitleFontSize: number;
@@ -8534,13 +8585,7 @@ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEn
8534
8585
  updateChartTitleStyle(style: TitleDesign): void;
8535
8586
  }
8536
8587
 
8537
- interface Props$19 {
8538
- chartId: UID;
8539
- definition: ChartWithDataSetDefinition;
8540
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8541
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8542
- }
8543
- declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildEnv> {
8588
+ declare class ChartHumanizeNumbers extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
8544
8589
  static template: string;
8545
8590
  static components: {
8546
8591
  Checkbox: typeof Checkbox;
@@ -8548,19 +8593,13 @@ declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildE
8548
8593
  static props: {
8549
8594
  chartId: StringConstructor;
8550
8595
  definition: ObjectConstructor;
8551
- updateChart: FunctionConstructor;
8552
8596
  canUpdateChart: FunctionConstructor;
8597
+ updateChart: FunctionConstructor;
8553
8598
  };
8554
8599
  get title(): string;
8555
8600
  }
8556
8601
 
8557
- interface Props$18 {
8558
- chartId: UID;
8559
- definition: ChartWithDataSetDefinition;
8560
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8561
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8562
- }
8563
- declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
8602
+ declare class ChartLegend extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
8564
8603
  static template: string;
8565
8604
  static components: {
8566
8605
  Section: typeof Section;
@@ -8568,19 +8607,19 @@ declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
8568
8607
  static props: {
8569
8608
  chartId: StringConstructor;
8570
8609
  definition: ObjectConstructor;
8571
- updateChart: FunctionConstructor;
8572
8610
  canUpdateChart: FunctionConstructor;
8611
+ updateChart: FunctionConstructor;
8573
8612
  };
8574
8613
  updateLegendPosition(ev: any): void;
8575
8614
  }
8576
8615
 
8577
- interface Props$17 extends GenericInputProps {
8616
+ interface Props$V extends GenericInputProps {
8578
8617
  alwaysShowBorder?: boolean;
8579
8618
  min?: number;
8580
8619
  max?: number;
8581
8620
  value: number;
8582
8621
  }
8583
- declare class NumberInput extends GenericInput<Props$17> {
8622
+ declare class NumberInput extends GenericInput<Props$V> {
8584
8623
  static template: string;
8585
8624
  static components: {};
8586
8625
  static props: {
@@ -8624,13 +8663,10 @@ declare class NumberInput extends GenericInput<Props$17> {
8624
8663
  get inputClass(): string;
8625
8664
  }
8626
8665
 
8627
- interface Props$16 {
8628
- chartId: UID;
8629
- definition: ChartWithDataSetDefinition;
8630
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8631
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8666
+ interface Props$U extends ChartSidePanelProps<ChartWithDataSetDefinition> {
8667
+ slots?: object;
8632
8668
  }
8633
- declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
8669
+ declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
8634
8670
  static template: string;
8635
8671
  static components: {
8636
8672
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8638,14 +8674,14 @@ declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv
8638
8674
  RoundColorPicker: typeof RoundColorPicker;
8639
8675
  };
8640
8676
  static props: {
8641
- chartId: StringConstructor;
8642
- definition: ObjectConstructor;
8643
- updateChart: FunctionConstructor;
8644
- canUpdateChart: FunctionConstructor;
8645
8677
  slots: {
8646
8678
  type: ObjectConstructor;
8647
8679
  optional: boolean;
8648
8680
  };
8681
+ chartId: StringConstructor;
8682
+ definition: ObjectConstructor;
8683
+ canUpdateChart: FunctionConstructor;
8684
+ updateChart: FunctionConstructor;
8649
8685
  };
8650
8686
  protected state: {
8651
8687
  index: number;
@@ -8658,13 +8694,10 @@ declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv
8658
8694
  getDataSeriesLabel(): string | undefined;
8659
8695
  }
8660
8696
 
8661
- interface Props$15 {
8662
- chartId: UID;
8663
- definition: ChartWithDataSetDefinition;
8664
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8665
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8697
+ interface Props$T extends ChartSidePanelProps<ChartWithDataSetDefinition> {
8698
+ slots?: object;
8666
8699
  }
8667
- declare class SeriesWithAxisDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8700
+ declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
8668
8701
  static template: string;
8669
8702
  static components: {
8670
8703
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8675,14 +8708,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$15, Spreadsheet
8675
8708
  NumberInput: typeof NumberInput;
8676
8709
  };
8677
8710
  static props: {
8678
- chartId: StringConstructor;
8679
- definition: ObjectConstructor;
8680
- canUpdateChart: FunctionConstructor;
8681
- updateChart: FunctionConstructor;
8682
8711
  slots: {
8683
8712
  type: ObjectConstructor;
8684
8713
  optional: boolean;
8685
8714
  };
8715
+ chartId: StringConstructor;
8716
+ definition: ObjectConstructor;
8717
+ canUpdateChart: FunctionConstructor;
8718
+ updateChart: FunctionConstructor;
8686
8719
  };
8687
8720
  axisChoices: {
8688
8721
  value: string;
@@ -8706,37 +8739,27 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$15, Spreadsheet
8706
8739
  updateTrendLineValue(index: number, config: any): void;
8707
8740
  }
8708
8741
 
8709
- interface Props$14 {
8710
- chartId: UID;
8711
- definition: ChartWithDataSetDefinition;
8712
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8713
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8742
+ interface Props$S extends ChartSidePanelProps<ChartWithDataSetDefinition> {
8714
8743
  defaultValue?: boolean;
8715
8744
  }
8716
- declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
8745
+ declare class ChartShowValues extends Component<Props$S, SpreadsheetChildEnv> {
8717
8746
  static template: string;
8718
8747
  static components: {
8719
8748
  Checkbox: typeof Checkbox;
8720
8749
  };
8721
8750
  static props: {
8722
- chartId: StringConstructor;
8723
- definition: ObjectConstructor;
8724
- updateChart: FunctionConstructor;
8725
- canUpdateChart: FunctionConstructor;
8726
8751
  defaultValue: {
8727
8752
  type: BooleanConstructor;
8728
8753
  optional: boolean;
8729
8754
  };
8755
+ chartId: StringConstructor;
8756
+ definition: ObjectConstructor;
8757
+ canUpdateChart: FunctionConstructor;
8758
+ updateChart: FunctionConstructor;
8730
8759
  };
8731
8760
  }
8732
8761
 
8733
- interface Props$13 {
8734
- chartId: UID;
8735
- definition: ChartWithDataSetDefinition;
8736
- canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8737
- updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8738
- }
8739
- declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Component<P, SpreadsheetChildEnv> {
8762
+ declare class ChartWithAxisDesignPanel<P extends ChartSidePanelProps<ChartWithDataSetDefinition>> extends Component<P, SpreadsheetChildEnv> {
8740
8763
  static template: string;
8741
8764
  static components: {
8742
8765
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8757,13 +8780,7 @@ declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Co
8757
8780
  get axesList(): AxisDefinition[];
8758
8781
  }
8759
8782
 
8760
- interface Props$12 {
8761
- chartId: UID;
8762
- definition: GaugeChartDefinition;
8763
- canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8764
- updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8765
- }
8766
- declare class GaugeChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
8783
+ declare class GaugeChartConfigPanel extends Component<ChartSidePanelProps<GaugeChartDefinition>, SpreadsheetChildEnv> {
8767
8784
  static template: string;
8768
8785
  static components: {
8769
8786
  ChartErrorSection: typeof ChartErrorSection;
@@ -8772,8 +8789,8 @@ declare class GaugeChartConfigPanel extends Component<Props$12, SpreadsheetChild
8772
8789
  static props: {
8773
8790
  chartId: StringConstructor;
8774
8791
  definition: ObjectConstructor;
8775
- updateChart: FunctionConstructor;
8776
8792
  canUpdateChart: FunctionConstructor;
8793
+ updateChart: FunctionConstructor;
8777
8794
  };
8778
8795
  private state;
8779
8796
  private dataRange;
@@ -8828,13 +8845,13 @@ interface EnrichedToken extends Token {
8828
8845
  isInHoverContext?: boolean;
8829
8846
  }
8830
8847
 
8831
- interface Props$11 {
8848
+ interface Props$R {
8832
8849
  proposals: AutoCompleteProposal[];
8833
8850
  selectedIndex: number | undefined;
8834
8851
  onValueSelected: (value: string) => void;
8835
8852
  onValueHovered: (index: string) => void;
8836
8853
  }
8837
- declare class TextValueProvider extends Component<Props$11> {
8854
+ declare class TextValueProvider extends Component<Props$R> {
8838
8855
  static template: string;
8839
8856
  static props: {
8840
8857
  proposals: ArrayConstructor;
@@ -8891,12 +8908,12 @@ declare class ContentEditableHelper {
8891
8908
  getText(): string;
8892
8909
  }
8893
8910
 
8894
- interface Props$10 {
8911
+ interface Props$Q {
8895
8912
  functionDescription: FunctionDescription;
8896
8913
  argsToFocus: number[];
8897
8914
  repeatingArgGroupIndex: number | undefined;
8898
8915
  }
8899
- declare class FunctionDescriptionProvider extends Component<Props$10, SpreadsheetChildEnv> {
8916
+ declare class FunctionDescriptionProvider extends Component<Props$Q, SpreadsheetChildEnv> {
8900
8917
  static template: string;
8901
8918
  static props: {
8902
8919
  functionDescription: ObjectConstructor;
@@ -8911,18 +8928,18 @@ declare class FunctionDescriptionProvider extends Component<Props$10, Spreadshee
8911
8928
  };
8912
8929
  private state;
8913
8930
  toggle(): void;
8914
- getContext(): Props$10;
8931
+ getContext(): Props$Q;
8915
8932
  get formulaHeaderContent(): {
8916
8933
  content: string;
8917
8934
  focused?: boolean;
8918
8935
  }[];
8919
8936
  }
8920
8937
 
8921
- interface Props$$ {
8938
+ interface Props$P {
8922
8939
  anchorRect: Rect;
8923
8940
  content: string;
8924
8941
  }
8925
- declare class SpeechBubble extends Component<Props$$, SpreadsheetChildEnv> {
8942
+ declare class SpeechBubble extends Component<Props$P, SpreadsheetChildEnv> {
8926
8943
  static template: string;
8927
8944
  static props: {
8928
8945
  content: StringConstructor;
@@ -9067,7 +9084,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
9067
9084
  private updateAutoCompleteProvider;
9068
9085
  private findAutocompleteProvider;
9069
9086
  hideHelp(): void;
9070
- autoCompleteOrStop(direction: Direction$1): void;
9087
+ autoCompleteOrStop(direction: Direction$1, assistantForcedClosed?: boolean): void;
9071
9088
  insertAutoCompleteValue(value: string): void;
9072
9089
  selectAutoCompleteIndex(index: number): void;
9073
9090
  moveAutoCompleteSelection(direction: "previous" | "next"): void;
@@ -9108,6 +9125,7 @@ type HtmlContent = {
9108
9125
  onHover?: (rect: Rect) => void;
9109
9126
  onStopHover?: () => void;
9110
9127
  color?: Color;
9128
+ opacity?: number;
9111
9129
  backgroundColor?: Color;
9112
9130
  classes?: string[];
9113
9131
  };
@@ -9335,7 +9353,7 @@ interface AutoCompleteProviderDefinition {
9335
9353
  }, tokenAtCursor: EnrichedToken, text: string): void;
9336
9354
  }
9337
9355
 
9338
- interface Props$_ {
9356
+ interface Props$O {
9339
9357
  onConfirm: (content: string) => void;
9340
9358
  composerContent: string;
9341
9359
  defaultRangeSheetId: UID;
@@ -9348,7 +9366,7 @@ interface Props$_ {
9348
9366
  autofocus?: boolean;
9349
9367
  getContextualColoredSymbolToken?: (token: Token) => Color;
9350
9368
  }
9351
- declare class StandaloneComposer extends Component<Props$_, SpreadsheetChildEnv> {
9369
+ declare class StandaloneComposer extends Component<Props$O, SpreadsheetChildEnv> {
9352
9370
  static template: string;
9353
9371
  static props: {
9354
9372
  composerContent: {
@@ -9415,13 +9433,7 @@ interface PanelState {
9415
9433
  sectionRuleCancelledReasons?: CommandResult[];
9416
9434
  sectionRule: SectionRule;
9417
9435
  }
9418
- interface Props$Z {
9419
- chartId: UID;
9420
- definition: GaugeChartDefinition;
9421
- canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9422
- updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9423
- }
9424
- declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildEnv> {
9436
+ declare class GaugeChartDesignPanel extends Component<ChartSidePanelProps<GaugeChartDefinition>, SpreadsheetChildEnv> {
9425
9437
  static template: string;
9426
9438
  static components: {
9427
9439
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -9435,11 +9447,8 @@ declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildE
9435
9447
  static props: {
9436
9448
  chartId: StringConstructor;
9437
9449
  definition: ObjectConstructor;
9450
+ canUpdateChart: FunctionConstructor;
9438
9451
  updateChart: FunctionConstructor;
9439
- canUpdateChart: {
9440
- type: FunctionConstructor;
9441
- optional: boolean;
9442
- };
9443
9452
  };
9444
9453
  protected state: PanelState;
9445
9454
  setup(): void;
@@ -9472,13 +9481,7 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9472
9481
  onUpdateCumulative(cumulative: boolean): void;
9473
9482
  }
9474
9483
 
9475
- interface Props$Y {
9476
- chartId: UID;
9477
- definition: ScorecardChartDefinition;
9478
- canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9479
- updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9480
- }
9481
- declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9484
+ declare class ScorecardChartConfigPanel extends Component<ChartSidePanelProps<ScorecardChartDefinition>, SpreadsheetChildEnv> {
9482
9485
  static template: string;
9483
9486
  static components: {
9484
9487
  SelectionInput: typeof SelectionInput;
@@ -9488,8 +9491,8 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
9488
9491
  static props: {
9489
9492
  chartId: StringConstructor;
9490
9493
  definition: ObjectConstructor;
9491
- updateChart: FunctionConstructor;
9492
9494
  canUpdateChart: FunctionConstructor;
9495
+ updateChart: FunctionConstructor;
9493
9496
  };
9494
9497
  private state;
9495
9498
  private keyValue;
@@ -9507,13 +9510,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
9507
9510
  }
9508
9511
 
9509
9512
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9510
- interface Props$X {
9511
- chartId: UID;
9512
- definition: ScorecardChartDefinition;
9513
- canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9514
- updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9515
- }
9516
- declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
9513
+ declare class ScorecardChartDesignPanel extends Component<ChartSidePanelProps<ScorecardChartDefinition>, SpreadsheetChildEnv> {
9517
9514
  static template: string;
9518
9515
  static components: {
9519
9516
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9527,11 +9524,8 @@ declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetCh
9527
9524
  static props: {
9528
9525
  chartId: StringConstructor;
9529
9526
  definition: ObjectConstructor;
9527
+ canUpdateChart: FunctionConstructor;
9530
9528
  updateChart: FunctionConstructor;
9531
- canUpdateChart: {
9532
- type: FunctionConstructor;
9533
- optional: boolean;
9534
- };
9535
9529
  };
9536
9530
  get colorsSectionTitle(): string;
9537
9531
  get defaultScorecardTitleFontSize(): number;
@@ -9586,7 +9580,7 @@ interface ClosedSidePanel {
9586
9580
  }
9587
9581
  type SidePanelState = OpenSidePanel | ClosedSidePanel;
9588
9582
  interface PanelInfo {
9589
- initialPanelProps: SidePanelComponentProps;
9583
+ currentPanelProps: SidePanelComponentProps;
9590
9584
  componentTag: string;
9591
9585
  size: number;
9592
9586
  isCollapsed?: boolean;
@@ -9609,8 +9603,8 @@ declare class SidePanelStore extends SpreadsheetStore {
9609
9603
  get totalPanelSize(): number;
9610
9604
  private getPanelProps;
9611
9605
  private getPanelKey;
9612
- open(componentTag: string, initialPanelProps?: SidePanelComponentProps): void;
9613
- replace(componentTag: string, currentPanelKey: string, initialPanelProps?: SidePanelComponentProps): void;
9606
+ open(componentTag: string, currentPanelProps?: SidePanelComponentProps): void;
9607
+ replace(componentTag: string, currentPanelKey: string, currentPanelProps?: SidePanelComponentProps): void;
9614
9608
  private _openPanel;
9615
9609
  toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
9616
9610
  close(): void;
@@ -9712,11 +9706,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
9712
9706
  enableAnimationForChart(chartId: UID): string;
9713
9707
  }
9714
9708
 
9715
- interface Props$W {
9709
+ interface Props$N {
9716
9710
  chartId: UID;
9717
9711
  isFullScreen?: boolean;
9718
9712
  }
9719
- declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
9713
+ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
9720
9714
  static template: string;
9721
9715
  static props: {
9722
9716
  chartId: StringConstructor;
@@ -9752,11 +9746,11 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
9752
9746
  get animationChartId(): string;
9753
9747
  }
9754
9748
 
9755
- interface Props$V {
9749
+ interface Props$M {
9756
9750
  chartId: UID;
9757
9751
  isFullScreen?: Boolean;
9758
9752
  }
9759
- declare class ScorecardChart$1 extends Component<Props$V, SpreadsheetChildEnv> {
9753
+ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
9760
9754
  static template: string;
9761
9755
  static props: {
9762
9756
  chartId: StringConstructor;
@@ -9837,7 +9831,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9837
9831
  onClickMenu(menu: Action, ev: CustomEvent): void;
9838
9832
  }
9839
9833
 
9840
- interface Props$U {
9834
+ interface Props$L {
9841
9835
  anchorRect: Rect;
9842
9836
  popoverPositioning: PopoverPropsPosition;
9843
9837
  menuItems: Action[];
@@ -9857,7 +9851,7 @@ interface MenuState {
9857
9851
  menuItems: Action[];
9858
9852
  isHoveringChild?: boolean;
9859
9853
  }
9860
- declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
9854
+ declare class MenuPopover extends Component<Props$L, SpreadsheetChildEnv> {
9861
9855
  static template: string;
9862
9856
  static props: {
9863
9857
  anchorRect: ObjectConstructor;
@@ -9937,7 +9931,7 @@ declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
9937
9931
  }
9938
9932
 
9939
9933
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9940
- interface Props$T {
9934
+ interface Props$K {
9941
9935
  figureUI: FigureUI;
9942
9936
  style: string;
9943
9937
  class: string;
@@ -9945,7 +9939,7 @@ interface Props$T {
9945
9939
  onMouseDown: (ev: MouseEvent) => void;
9946
9940
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9947
9941
  }
9948
- declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
9942
+ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
9949
9943
  static template: string;
9950
9944
  static props: {
9951
9945
  figureUI: ObjectConstructor;
@@ -10001,7 +9995,7 @@ declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
10001
9995
  editWrapperStyle(properties: CSSProperties): void;
10002
9996
  }
10003
9997
 
10004
- interface Props$S {
9998
+ interface Props$J {
10005
9999
  chartId: UID;
10006
10000
  hasFullScreenButton: boolean;
10007
10001
  }
@@ -10012,7 +10006,7 @@ interface MenuItem {
10012
10006
  onClick: () => void;
10013
10007
  preview?: string;
10014
10008
  }
10015
- declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv> {
10009
+ declare class ChartDashboardMenu extends Component<Props$J, SpreadsheetChildEnv> {
10016
10010
  static template: string;
10017
10011
  static components: {
10018
10012
  MenuPopover: typeof MenuPopover;
@@ -10036,14 +10030,14 @@ declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv>
10036
10030
  get fullScreenMenuItem(): MenuItem | undefined;
10037
10031
  }
10038
10032
 
10039
- interface Props$R {
10033
+ interface Props$I {
10040
10034
  figureUI: FigureUI;
10041
10035
  onFigureDeleted: () => void;
10042
10036
  editFigureStyle?: (properties: CSSProperties) => void;
10043
10037
  isFullScreen?: boolean;
10044
10038
  openContextMenu?: (anchorRect: Rect, onClose?: () => void) => void;
10045
10039
  }
10046
- declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
10040
+ declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
10047
10041
  static template: string;
10048
10042
  static props: {
10049
10043
  figureUI: ObjectConstructor;
@@ -10072,7 +10066,7 @@ declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
10072
10066
 
10073
10067
  type DnDDirection = "all" | "vertical" | "horizontal";
10074
10068
 
10075
- interface Props$Q {
10069
+ interface Props$H {
10076
10070
  isVisible: boolean;
10077
10071
  position: DOMCoordinates;
10078
10072
  }
@@ -10080,7 +10074,7 @@ interface State$4 {
10080
10074
  position: DOMCoordinates;
10081
10075
  handler: boolean;
10082
10076
  }
10083
- declare class Autofill extends Component<Props$Q, SpreadsheetChildEnv> {
10077
+ declare class Autofill extends Component<Props$H, SpreadsheetChildEnv> {
10084
10078
  static template: string;
10085
10079
  static props: {
10086
10080
  position: ObjectConstructor;
@@ -10120,7 +10114,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
10120
10114
  get tagStyle(): string;
10121
10115
  }
10122
10116
 
10123
- interface Props$P {
10117
+ interface Props$G {
10124
10118
  gridDims: DOMDimension;
10125
10119
  onInputContextMenu: (event: MouseEvent) => void;
10126
10120
  }
@@ -10128,7 +10122,7 @@ interface Props$P {
10128
10122
  * This component is a composer which positions itself on the grid at the anchor cell.
10129
10123
  * It also applies the style of the cell to the composer input.
10130
10124
  */
10131
- declare class GridComposer extends Component<Props$P, SpreadsheetChildEnv> {
10125
+ declare class GridComposer extends Component<Props$G, SpreadsheetChildEnv> {
10132
10126
  static template: string;
10133
10127
  static props: {
10134
10128
  gridDims: ObjectConstructor;
@@ -10172,7 +10166,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
10172
10166
  }
10173
10167
 
10174
10168
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
10175
- interface Props$O {
10169
+ interface Props$F {
10176
10170
  onFigureDeleted: () => void;
10177
10171
  }
10178
10172
  interface Container {
@@ -10253,7 +10247,7 @@ interface DndState {
10253
10247
  * that occurred during the drag & drop, and to position the figure on the correct pane.
10254
10248
  *
10255
10249
  */
10256
- declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
10250
+ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
10257
10251
  static template: string;
10258
10252
  static props: {
10259
10253
  onFigureDeleted: FunctionConstructor;
@@ -10291,10 +10285,10 @@ declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
10291
10285
  private getCarouselOverlappingChart;
10292
10286
  }
10293
10287
 
10294
- interface Props$N {
10288
+ interface Props$E {
10295
10289
  focusGrid: () => void;
10296
10290
  }
10297
- declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv> {
10291
+ declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv> {
10298
10292
  static template: string;
10299
10293
  static props: {
10300
10294
  focusGrid: FunctionConstructor;
@@ -10326,7 +10320,7 @@ type ZoomedMouseEvent<T extends MouseEvent | PointerEvent> = {
10326
10320
  ev: T;
10327
10321
  };
10328
10322
 
10329
- interface Props$M {
10323
+ interface Props$D {
10330
10324
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
10331
10325
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, zoomedMouseEvent: ZoomedMouseEvent<MouseEvent | PointerEvent>) => void;
10332
10326
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -10339,7 +10333,7 @@ interface Props$M {
10339
10333
  height: number;
10340
10334
  };
10341
10335
  }
10342
- declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
10336
+ declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
10343
10337
  static template: string;
10344
10338
  static props: {
10345
10339
  onCellDoubleClicked: {
@@ -10399,12 +10393,12 @@ declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
10399
10393
  private getInteractiveIconAtEvent;
10400
10394
  }
10401
10395
 
10402
- interface Props$L {
10396
+ interface Props$C {
10403
10397
  gridRect: Rect;
10404
10398
  onClosePopover: () => void;
10405
10399
  onMouseWheel: (ev: WheelEvent) => void;
10406
10400
  }
10407
- declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
10401
+ declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
10408
10402
  static template: string;
10409
10403
  static props: {
10410
10404
  onClosePopover: FunctionConstructor;
@@ -10419,7 +10413,7 @@ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
10419
10413
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
10420
10414
  }
10421
10415
 
10422
- interface Props$K {
10416
+ interface Props$B {
10423
10417
  headersGroups: ConsecutiveIndexes[];
10424
10418
  offset: number;
10425
10419
  headerRange: {
@@ -10427,7 +10421,7 @@ interface Props$K {
10427
10421
  end: HeaderIndex;
10428
10422
  };
10429
10423
  }
10430
- declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10424
+ declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
10431
10425
  static template: string;
10432
10426
  static props: {
10433
10427
  headersGroups: ArrayConstructor;
@@ -10446,7 +10440,7 @@ declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10446
10440
  unhide(hiddenElements: HeaderIndex[]): void;
10447
10441
  isVisible(header: HeaderIndex): boolean;
10448
10442
  }
10449
- declare class UnhideColumnHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10443
+ declare class UnhideColumnHeaders extends Component<Props$B, SpreadsheetChildEnv> {
10450
10444
  static template: string;
10451
10445
  static props: {
10452
10446
  headersGroups: ArrayConstructor;
@@ -10520,7 +10514,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
10520
10514
  setup(): void;
10521
10515
  _computeHandleDisplay(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): void;
10522
10516
  _computeGrabDisplay(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): void;
10523
- onMouseMove(ev: PointerEvent): void;
10517
+ onMouseMove(ev: MouseEvent): void;
10524
10518
  onMouseLeave(): void;
10525
10519
  onDblClick(ev: MouseEvent): void;
10526
10520
  onMouseDown(ev: MouseEvent): void;
@@ -10639,13 +10633,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10639
10633
  }
10640
10634
 
10641
10635
  type Orientation$1 = "n" | "s" | "w" | "e";
10642
- interface Props$J {
10636
+ interface Props$A {
10643
10637
  zone: Zone;
10644
10638
  orientation: Orientation$1;
10645
10639
  isMoving: boolean;
10646
10640
  onMoveHighlight: (ev: PointerEvent) => void;
10647
10641
  }
10648
- declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
10642
+ declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
10649
10643
  static template: string;
10650
10644
  static props: {
10651
10645
  zone: ObjectConstructor;
@@ -10658,14 +10652,14 @@ declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
10658
10652
  }
10659
10653
 
10660
10654
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10661
- interface Props$I {
10655
+ interface Props$z {
10662
10656
  zone: Zone;
10663
10657
  color: Color;
10664
10658
  orientation: Orientation;
10665
10659
  isResizing: boolean;
10666
10660
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10667
10661
  }
10668
- declare class Corner extends Component<Props$I, SpreadsheetChildEnv> {
10662
+ declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
10669
10663
  static template: string;
10670
10664
  static props: {
10671
10665
  zone: ObjectConstructor;
@@ -10714,7 +10708,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10714
10708
 
10715
10709
  type ScrollDirection = "horizontal" | "vertical";
10716
10710
 
10717
- interface Props$H {
10711
+ interface Props$y {
10718
10712
  width: Pixel;
10719
10713
  height: Pixel;
10720
10714
  direction: ScrollDirection;
@@ -10722,7 +10716,7 @@ interface Props$H {
10722
10716
  offset: Pixel;
10723
10717
  onScroll: (offset: Pixel) => void;
10724
10718
  }
10725
- declare class ScrollBar extends Component<Props$H> {
10719
+ declare class ScrollBar extends Component<Props$y> {
10726
10720
  static props: {
10727
10721
  width: {
10728
10722
  type: NumberConstructor;
@@ -10750,10 +10744,10 @@ declare class ScrollBar extends Component<Props$H> {
10750
10744
  onScroll(ev: any): void;
10751
10745
  }
10752
10746
 
10753
- interface Props$G {
10747
+ interface Props$x {
10754
10748
  leftOffset: number;
10755
10749
  }
10756
- declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
10750
+ declare class HorizontalScrollBar extends Component<Props$x, SpreadsheetChildEnv> {
10757
10751
  static props: {
10758
10752
  leftOffset: {
10759
10753
  type: NumberConstructor;
@@ -10779,10 +10773,10 @@ declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv
10779
10773
  onScroll(offset: any): void;
10780
10774
  }
10781
10775
 
10782
- interface Props$F {
10776
+ interface Props$w {
10783
10777
  topOffset: number;
10784
10778
  }
10785
- declare class VerticalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10779
+ declare class VerticalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
10786
10780
  static props: {
10787
10781
  topOffset: {
10788
10782
  type: NumberConstructor;
@@ -10817,13 +10811,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10817
10811
  get highlightProps(): HighlightProps;
10818
10812
  }
10819
10813
 
10820
- interface Props$E {
10814
+ interface Props$v {
10821
10815
  table: Table;
10822
10816
  }
10823
10817
  interface State$3 {
10824
10818
  highlightZone: Zone | undefined;
10825
10819
  }
10826
- declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
10820
+ declare class TableResizer extends Component<Props$v, SpreadsheetChildEnv> {
10827
10821
  static template: string;
10828
10822
  static props: {
10829
10823
  table: ObjectConstructor;
@@ -10852,11 +10846,11 @@ declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
10852
10846
  * - a vertical resizer (same, for rows)
10853
10847
  */
10854
10848
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10855
- interface Props$D {
10849
+ interface Props$u {
10856
10850
  exposeFocus: (focus: () => void) => void;
10857
10851
  getGridSize: () => DOMDimension;
10858
10852
  }
10859
- declare class Grid extends Component<Props$D, SpreadsheetChildEnv> {
10853
+ declare class Grid extends Component<Props$u, SpreadsheetChildEnv> {
10860
10854
  static template: string;
10861
10855
  static props: {
10862
10856
  exposeFocus: FunctionConstructor;
@@ -10972,7 +10966,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10972
10966
  private getChartDefinitionFromContextCreation;
10973
10967
  }
10974
10968
 
10975
- interface Props$C {
10969
+ interface Props$t {
10976
10970
  chartId: UID;
10977
10971
  chartPanelStore: MainChartPanelStore;
10978
10972
  }
@@ -10980,7 +10974,7 @@ interface ChartTypePickerState {
10980
10974
  popoverProps: PopoverProps | undefined;
10981
10975
  popoverStyle: string;
10982
10976
  }
10983
- declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
10977
+ declare class ChartTypePicker extends Component<Props$t, SpreadsheetChildEnv> {
10984
10978
  static template: string;
10985
10979
  static components: {
10986
10980
  Section: typeof Section;
@@ -11016,11 +11010,11 @@ declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
11016
11010
  private closePopover;
11017
11011
  }
11018
11012
 
11019
- interface Props$B {
11013
+ interface Props$s {
11020
11014
  onCloseSidePanel: () => void;
11021
11015
  chartId: UID;
11022
11016
  }
11023
- declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
11017
+ declare class ChartPanel extends Component<Props$s, SpreadsheetChildEnv> {
11024
11018
  static template: string;
11025
11019
  static components: {
11026
11020
  Section: typeof Section;
@@ -11043,11 +11037,11 @@ declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
11043
11037
  private getChartDefinition;
11044
11038
  }
11045
11039
 
11046
- interface Props$A {
11040
+ interface Props$r {
11047
11041
  onValueChange: (value: number) => void;
11048
11042
  value: number;
11049
11043
  }
11050
- declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
11044
+ declare class PieHoleSize extends Component<Props$r, SpreadsheetChildEnv> {
11051
11045
  static template: string;
11052
11046
  static components: {
11053
11047
  Section: typeof Section;
@@ -11060,13 +11054,7 @@ declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
11060
11054
  onChange(value: string): void;
11061
11055
  }
11062
11056
 
11063
- interface Props$z {
11064
- chartId: UID;
11065
- definition: PieChartDefinition;
11066
- canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
11067
- updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
11068
- }
11069
- declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv> {
11057
+ declare class PieChartDesignPanel extends Component<ChartSidePanelProps<PieChartDefinition>, SpreadsheetChildEnv> {
11070
11058
  static template: string;
11071
11059
  static components: {
11072
11060
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -11080,20 +11068,17 @@ declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv
11080
11068
  static props: {
11081
11069
  chartId: StringConstructor;
11082
11070
  definition: ObjectConstructor;
11071
+ canUpdateChart: FunctionConstructor;
11083
11072
  updateChart: FunctionConstructor;
11084
- canUpdateChart: {
11085
- type: FunctionConstructor;
11086
- optional: boolean;
11087
- };
11088
11073
  };
11089
11074
  onPieHoleSizeChange(pieHolePercentage: number): void;
11090
11075
  get defaultHoleSize(): number;
11091
11076
  }
11092
11077
 
11093
- interface Props$y {
11078
+ interface Props$q {
11094
11079
  items: ActionSpec[];
11095
11080
  }
11096
- declare class CogWheelMenu extends Component<Props$y, SpreadsheetChildEnv> {
11081
+ declare class CogWheelMenu extends Component<Props$q, SpreadsheetChildEnv> {
11097
11082
  static template: string;
11098
11083
  static components: {
11099
11084
  MenuPopover: typeof MenuPopover;
@@ -11176,14 +11161,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
11176
11161
  get highlights(): Highlight$1[];
11177
11162
  }
11178
11163
 
11179
- interface Props$x {
11164
+ interface Props$p {
11180
11165
  deferUpdate: boolean;
11181
11166
  isDirty: boolean;
11182
11167
  toggleDeferUpdate: (value: boolean) => void;
11183
11168
  discard: () => void;
11184
11169
  apply: () => void;
11185
11170
  }
11186
- declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
11171
+ declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
11187
11172
  static template: string;
11188
11173
  static props: {
11189
11174
  deferUpdate: BooleanConstructor;
@@ -11200,11 +11185,11 @@ declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
11200
11185
  get deferUpdatesTooltip(): string;
11201
11186
  }
11202
11187
 
11203
- interface Props$w {
11188
+ interface Props$o {
11204
11189
  onFieldPicked: (field: string) => void;
11205
11190
  fields: PivotField[];
11206
11191
  }
11207
- declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv> {
11192
+ declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv> {
11208
11193
  static template: string;
11209
11194
  static components: {
11210
11195
  Popover: typeof Popover;
@@ -11240,13 +11225,13 @@ declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv>
11240
11225
  onKeyDown(ev: KeyboardEvent): void;
11241
11226
  }
11242
11227
 
11243
- interface Props$v {
11228
+ interface Props$n {
11244
11229
  dimension: PivotCoreDimension | PivotCoreMeasure;
11245
11230
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
11246
11231
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
11247
11232
  type: "row" | "col" | "measure";
11248
11233
  }
11249
- declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
11234
+ declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
11250
11235
  static template: string;
11251
11236
  static props: {
11252
11237
  dimension: ObjectConstructor;
@@ -11270,13 +11255,13 @@ declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
11270
11255
  updateName(name: string): void;
11271
11256
  }
11272
11257
 
11273
- interface Props$u {
11258
+ interface Props$m {
11274
11259
  dimension: PivotDimension$1;
11275
11260
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
11276
11261
  availableGranularities: Set<string>;
11277
11262
  allGranularities: string[];
11278
11263
  }
11279
- declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetChildEnv> {
11264
+ declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetChildEnv> {
11280
11265
  static template: string;
11281
11266
  static props: {
11282
11267
  dimension: ObjectConstructor;
@@ -11301,11 +11286,11 @@ declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetCh
11301
11286
  };
11302
11287
  }
11303
11288
 
11304
- interface Props$t {
11289
+ interface Props$l {
11305
11290
  dimension: PivotDimension$1;
11306
11291
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
11307
11292
  }
11308
- declare class PivotDimensionOrder extends Component<Props$t, SpreadsheetChildEnv> {
11293
+ declare class PivotDimensionOrder extends Component<Props$l, SpreadsheetChildEnv> {
11309
11294
  static template: string;
11310
11295
  static props: {
11311
11296
  dimension: ObjectConstructor;
@@ -11342,12 +11327,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
11342
11327
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
11343
11328
  declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
11344
11329
 
11345
- interface Props$s {
11330
+ interface Props$k {
11346
11331
  pivotId: UID;
11347
11332
  customField: PivotCustomGroupedField;
11348
11333
  onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11349
11334
  }
11350
- declare class PivotCustomGroupsCollapsible extends Component<Props$s, SpreadsheetChildEnv> {
11335
+ declare class PivotCustomGroupsCollapsible extends Component<Props$k, SpreadsheetChildEnv> {
11351
11336
  static template: string;
11352
11337
  static props: {
11353
11338
  pivotId: StringConstructor;
@@ -11367,7 +11352,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$s, Spreadshee
11367
11352
  private updateCustomField;
11368
11353
  }
11369
11354
 
11370
- interface Props$r {
11355
+ interface Props$j {
11371
11356
  pivotId: string;
11372
11357
  definition: PivotRuntimeDefinition;
11373
11358
  measure: PivotMeasure;
@@ -11375,7 +11360,7 @@ interface Props$r {
11375
11360
  onRemoved: () => void;
11376
11361
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
11377
11362
  }
11378
- declare class PivotMeasureEditor extends Component<Props$r> {
11363
+ declare class PivotMeasureEditor extends Component<Props$j> {
11379
11364
  static template: string;
11380
11365
  static components: {
11381
11366
  PivotDimension: typeof PivotDimension;
@@ -11400,11 +11385,11 @@ declare class PivotMeasureEditor extends Component<Props$r> {
11400
11385
  get isCalculatedMeasureInvalid(): boolean;
11401
11386
  }
11402
11387
 
11403
- interface Props$q {
11388
+ interface Props$i {
11404
11389
  definition: PivotRuntimeDefinition;
11405
11390
  pivotId: UID;
11406
11391
  }
11407
- declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
11392
+ declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
11408
11393
  static template: string;
11409
11394
  static components: {
11410
11395
  Section: typeof Section;
@@ -11421,7 +11406,7 @@ declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
11421
11406
  }[];
11422
11407
  }
11423
11408
 
11424
- interface Props$p {
11409
+ interface Props$h {
11425
11410
  definition: PivotRuntimeDefinition;
11426
11411
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11427
11412
  unusedGroupableFields: PivotField[];
@@ -11432,7 +11417,7 @@ interface Props$p {
11432
11417
  getScrollableContainerEl?: () => HTMLElement;
11433
11418
  pivotId: UID;
11434
11419
  }
11435
- declare class PivotLayoutConfigurator extends Component<Props$p, SpreadsheetChildEnv> {
11420
+ declare class PivotLayoutConfigurator extends Component<Props$h, SpreadsheetChildEnv> {
11436
11421
  static template: string;
11437
11422
  static components: {
11438
11423
  AddDimensionButton: typeof AddDimensionButton;
@@ -11529,11 +11514,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11529
11514
  private areDomainFieldsValid;
11530
11515
  }
11531
11516
 
11532
- interface Props$o {
11517
+ interface Props$g {
11533
11518
  pivotId: UID;
11534
11519
  flipAxis: () => void;
11535
11520
  }
11536
- declare class PivotTitleSection extends Component<Props$o, SpreadsheetChildEnv> {
11521
+ declare class PivotTitleSection extends Component<Props$g, SpreadsheetChildEnv> {
11537
11522
  static template: string;
11538
11523
  static components: {
11539
11524
  CogWheelMenu: typeof CogWheelMenu;
@@ -11600,11 +11585,11 @@ declare function createEmptySheet(sheetId: UID, name: string): SheetData;
11600
11585
  declare function createEmptyWorkbookData(sheetName?: string): WorkbookData;
11601
11586
  declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetData;
11602
11587
 
11603
- interface Props$n {
11588
+ interface Props$f {
11604
11589
  position: CellPosition;
11605
11590
  sortDirection: SortDirection | "none";
11606
11591
  }
11607
- declare class ClickableCellSortIcon extends Component<Props$n, SpreadsheetChildEnv> {
11592
+ declare class ClickableCellSortIcon extends Component<Props$f, SpreadsheetChildEnv> {
11608
11593
  static template: string;
11609
11594
  static props: {
11610
11595
  position: ObjectConstructor;
@@ -11651,11 +11636,11 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
11651
11636
  onDoubleClickInMasterChart(ev: PointerEvent): void;
11652
11637
  }
11653
11638
 
11654
- interface Props$m {
11639
+ interface Props$e {
11655
11640
  chartId: UID;
11656
11641
  isFullScreen?: boolean;
11657
11642
  }
11658
- declare class GaugeChartComponent extends Component<Props$m, SpreadsheetChildEnv> {
11643
+ declare class GaugeChartComponent extends Component<Props$e, SpreadsheetChildEnv> {
11659
11644
  static template: string;
11660
11645
  static props: {
11661
11646
  chartId: StringConstructor;
@@ -11724,7 +11709,7 @@ interface PivotDialogValue {
11724
11709
  value: string;
11725
11710
  isMissing: boolean;
11726
11711
  }
11727
- interface Props$l {
11712
+ interface Props$d {
11728
11713
  pivotId: UID;
11729
11714
  onCellClicked: (formula: string) => void;
11730
11715
  }
@@ -11733,7 +11718,7 @@ interface TableData {
11733
11718
  rows: PivotDialogRow[];
11734
11719
  values: PivotDialogValue[][];
11735
11720
  }
11736
- declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv> {
11721
+ declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv> {
11737
11722
  static template: string;
11738
11723
  static components: {
11739
11724
  Checkbox: typeof Checkbox;
@@ -11790,13 +11775,7 @@ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv>
11790
11775
  _buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
11791
11776
  }
11792
11777
 
11793
- interface Props$k {
11794
- chartId: UID;
11795
- definition: ChartWithDataSetDefinition;
11796
- updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11797
- canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11798
- }
11799
- declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
11778
+ declare class ChartShowDataMarkers extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
11800
11779
  static template: string;
11801
11780
  static components: {
11802
11781
  Checkbox: typeof Checkbox;
@@ -11804,18 +11783,14 @@ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEn
11804
11783
  static props: {
11805
11784
  chartId: StringConstructor;
11806
11785
  definition: ObjectConstructor;
11807
- updateChart: FunctionConstructor;
11808
11786
  canUpdateChart: FunctionConstructor;
11787
+ updateChart: FunctionConstructor;
11809
11788
  };
11810
11789
  }
11811
11790
 
11812
- interface Props$j {
11813
- chartId: UID;
11814
- definition: ZoomableChartDefinition;
11815
- canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11816
- updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11791
+ interface Props$c extends ChartSidePanelProps<ZoomableChartDefinition> {
11817
11792
  }
11818
- declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> extends ChartWithAxisDesignPanel<Props$j> {
11793
+ declare class GenericZoomableChartDesignPanel<P extends Props$c = Props$c> extends ChartWithAxisDesignPanel<P> {
11819
11794
  static template: string;
11820
11795
  static components: {
11821
11796
  Checkbox: typeof Checkbox;
@@ -11831,13 +11806,7 @@ declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> exten
11831
11806
  onToggleZoom(zoomable: boolean): void;
11832
11807
  }
11833
11808
 
11834
- interface Props$i {
11835
- chartId: UID;
11836
- definition: ComboChartDefinition;
11837
- canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11838
- updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11839
- }
11840
- declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
11809
+ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<ChartSidePanelProps<ComboChartDefinition>> {
11841
11810
  static template: string;
11842
11811
  static components: {
11843
11812
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
@@ -11860,13 +11829,7 @@ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Prop
11860
11829
  getDataSeriesType(index: number): "line" | "bar";
11861
11830
  }
11862
11831
 
11863
- interface Props$h {
11864
- chartId: UID;
11865
- definition: FunnelChartDefinition;
11866
- canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11867
- updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11868
- }
11869
- declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
11832
+ declare class FunnelChartDesignPanel extends Component<ChartSidePanelProps<FunnelChartDefinition>, SpreadsheetChildEnv> {
11870
11833
  static template: string;
11871
11834
  static components: {
11872
11835
  ChartShowValues: typeof ChartShowValues;
@@ -11889,16 +11852,54 @@ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChild
11889
11852
  updateFunnelItemColor(index: number, color: string): void;
11890
11853
  }
11891
11854
 
11892
- interface Props$g {
11893
- chartId: UID;
11894
- definition: GeoChartDefinition;
11895
- canUpdateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11896
- updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11855
+ interface Props$b {
11856
+ definition: {
11857
+ colorScale: ChartColorScale;
11858
+ };
11859
+ onUpdateColorScale: (colorscale: ChartColorScale) => void;
11860
+ }
11861
+ interface ColorScalePickerState {
11862
+ popoverProps: PopoverProps | undefined;
11863
+ popoverStyle: string;
11897
11864
  }
11898
- declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11865
+ declare class ColorScalePicker extends Component<Props$b, SpreadsheetChildEnv> {
11899
11866
  static template: string;
11900
11867
  static components: {
11868
+ Section: typeof Section;
11901
11869
  RoundColorPicker: typeof RoundColorPicker;
11870
+ Popover: typeof Popover;
11871
+ };
11872
+ static props: {
11873
+ definition: ObjectConstructor;
11874
+ onUpdateColorScale: FunctionConstructor;
11875
+ };
11876
+ colorScales: {
11877
+ value: string;
11878
+ label: any;
11879
+ className: string;
11880
+ }[];
11881
+ state: ColorScalePickerState;
11882
+ popoverRef: {
11883
+ el: HTMLElement | null;
11884
+ };
11885
+ setup(): void;
11886
+ get currentColorScale(): ChartColorScale;
11887
+ get currentColorScaleStyle(): string | undefined;
11888
+ colorScalePreviewStyle(colorScale: ColorScale): string;
11889
+ get currentColorScaleLabel(): string;
11890
+ onColorScaleChange(value: string): void;
11891
+ onPointerDown(ev: PointerEvent): void;
11892
+ private closePopover;
11893
+ get selectedColorScale(): string;
11894
+ getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
11895
+ setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
11896
+ }
11897
+
11898
+ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<ChartSidePanelProps<GeoChartDefinition>> {
11899
+ static template: string;
11900
+ static components: {
11901
+ RoundColorPicker: typeof RoundColorPicker;
11902
+ ColorScalePicker: typeof ColorScalePicker;
11902
11903
  GeneralDesignEditor: typeof GeneralDesignEditor;
11903
11904
  SidePanelCollapsible: typeof SidePanelCollapsible;
11904
11905
  Section: typeof Section;
@@ -11908,24 +11909,18 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11908
11909
  ChartShowValues: typeof ChartShowValues;
11909
11910
  ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11910
11911
  };
11911
- colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
11912
- updateColorScaleType(ev: Event): void;
11913
- updateColorScale(colorScale: GeoChartColorScale): void;
11912
+ updateColorScale(colorScale: ChartColorScale | undefined): void;
11914
11913
  updateMissingValueColor(color: Color): void;
11915
11914
  updateLegendPosition(ev: Event): void;
11916
- get selectedColorScale(): "custom" | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
11917
11915
  get selectedMissingValueColor(): Color | "#ffffff";
11918
- get customColorScale(): GeoChartCustomColorScale | undefined;
11919
- getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
11920
- setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
11921
11916
  }
11922
11917
 
11923
- interface Props$f {
11918
+ interface Props$a {
11924
11919
  chartId: UID;
11925
11920
  definition: GeoChartDefinition;
11926
11921
  updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11927
11922
  }
11928
- declare class GeoChartRegionSelectSection extends Component<Props$f, SpreadsheetChildEnv> {
11923
+ declare class GeoChartRegionSelectSection extends Component<Props$a, SpreadsheetChildEnv> {
11929
11924
  static template: string;
11930
11925
  static components: {
11931
11926
  Section: typeof Section;
@@ -11940,13 +11935,7 @@ declare class GeoChartRegionSelectSection extends Component<Props$f, Spreadsheet
11940
11935
  get selectedRegion(): string;
11941
11936
  }
11942
11937
 
11943
- interface Props$e {
11944
- chartId: UID;
11945
- definition: LineChartDefinition;
11946
- canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11947
- updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11948
- }
11949
- declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
11938
+ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<ChartSidePanelProps<LineChartDefinition>> {
11950
11939
  static template: string;
11951
11940
  static components: {
11952
11941
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
@@ -11962,13 +11951,7 @@ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props
11962
11951
  };
11963
11952
  }
11964
11953
 
11965
- interface Props$d {
11966
- chartId: UID;
11967
- definition: RadarChartDefinition;
11968
- canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11969
- updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11970
- }
11971
- declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11954
+ declare class RadarChartDesignPanel extends Component<ChartSidePanelProps<RadarChartDefinition>, SpreadsheetChildEnv> {
11972
11955
  static template: string;
11973
11956
  static components: {
11974
11957
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -11988,13 +11971,7 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
11988
11971
  };
11989
11972
  }
11990
11973
 
11991
- interface Props$c {
11992
- chartId: UID;
11993
- definition: SunburstChartDefinition;
11994
- canUpdateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11995
- updateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11996
- }
11997
- declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
11974
+ declare class SunburstChartDesignPanel extends Component<ChartSidePanelProps<SunburstChartDefinition>, SpreadsheetChildEnv> {
11998
11975
  static template: string;
11999
11976
  static components: {
12000
11977
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -12011,11 +11988,8 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
12011
11988
  static props: {
12012
11989
  chartId: StringConstructor;
12013
11990
  definition: ObjectConstructor;
11991
+ canUpdateChart: FunctionConstructor;
12014
11992
  updateChart: FunctionConstructor;
12015
- canUpdateChart: {
12016
- type: FunctionConstructor;
12017
- optional: boolean;
12018
- };
12019
11993
  };
12020
11994
  defaults: {
12021
11995
  showValues: boolean;
@@ -12032,12 +12006,12 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
12032
12006
  onPieHoleSizeChange(pieHolePercentage: number): void;
12033
12007
  }
12034
12008
 
12035
- interface Props$b {
12009
+ interface Props$9 {
12036
12010
  chartId: UID;
12037
12011
  definition: TreeMapChartDefinition;
12038
12012
  onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
12039
12013
  }
12040
- declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildEnv> {
12014
+ declare class TreeMapCategoryColors extends Component<Props$9, SpreadsheetChildEnv> {
12041
12015
  static template: string;
12042
12016
  static components: {
12043
12017
  Checkbox: typeof Checkbox;
@@ -12054,12 +12028,12 @@ declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildE
12054
12028
  useValueBasedGradient(useValueBasedGradient: boolean): void;
12055
12029
  }
12056
12030
 
12057
- interface Props$a {
12031
+ interface Props$8 {
12058
12032
  chartId: UID;
12059
12033
  definition: TreeMapChartDefinition;
12060
12034
  onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
12061
12035
  }
12062
- declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv> {
12036
+ declare class TreeMapColorScale extends Component<Props$8, SpreadsheetChildEnv> {
12063
12037
  static template: string;
12064
12038
  static components: {
12065
12039
  RoundColorPicker: typeof RoundColorPicker;
@@ -12073,13 +12047,7 @@ declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv>
12073
12047
  setColorScaleColor(point: "minColor" | "midColor" | "maxColor", color: string): void;
12074
12048
  }
12075
12049
 
12076
- interface Props$9 {
12077
- chartId: UID;
12078
- definition: TreeMapChartDefinition;
12079
- canUpdateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
12080
- updateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
12081
- }
12082
- declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
12050
+ declare class TreeMapChartDesignPanel extends Component<ChartSidePanelProps<TreeMapChartDefinition>, SpreadsheetChildEnv> {
12083
12051
  static template: string;
12084
12052
  static components: {
12085
12053
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -12097,11 +12065,8 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
12097
12065
  static props: {
12098
12066
  chartId: StringConstructor;
12099
12067
  definition: ObjectConstructor;
12068
+ canUpdateChart: FunctionConstructor;
12100
12069
  updateChart: FunctionConstructor;
12101
- canUpdateChart: {
12102
- type: FunctionConstructor;
12103
- optional: boolean;
12104
- };
12105
12070
  };
12106
12071
  private savedColors;
12107
12072
  defaults: {
@@ -12125,13 +12090,7 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
12125
12090
  }[];
12126
12091
  }
12127
12092
 
12128
- interface Props$8 {
12129
- chartId: UID;
12130
- definition: WaterfallChartDefinition;
12131
- canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
12132
- updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
12133
- }
12134
- declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
12093
+ declare class WaterfallChartDesignPanel extends Component<ChartSidePanelProps<WaterfallChartDefinition>, SpreadsheetChildEnv> {
12135
12094
  static template: string;
12136
12095
  static components: {
12137
12096
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -12148,11 +12107,8 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
12148
12107
  static props: {
12149
12108
  chartId: StringConstructor;
12150
12109
  definition: ObjectConstructor;
12110
+ canUpdateChart: FunctionConstructor;
12151
12111
  updateChart: FunctionConstructor;
12152
- canUpdateChart: {
12153
- type: FunctionConstructor;
12154
- optional: boolean;
12155
- };
12156
12112
  };
12157
12113
  axisChoices: {
12158
12114
  value: string;
@@ -12400,6 +12356,7 @@ declare class GridRenderer extends SpreadsheetStore {
12400
12356
  private animations;
12401
12357
  constructor(get: Get);
12402
12358
  handle(cmd: Command): void;
12359
+ finalize(): void;
12403
12360
  get renderingLayers(): readonly ["Background", "Headers"];
12404
12361
  drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
12405
12362
  private drawGlobalBackground;
@@ -13070,6 +13027,7 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
13070
13027
 
13071
13028
  interface SpreadsheetProps extends Partial<NotificationStoreMethods> {
13072
13029
  model: Model;
13030
+ colorScheme?: "dark" | "light";
13073
13031
  }
13074
13032
  declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEnv> {
13075
13033
  static template: string;
@@ -13087,6 +13045,10 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
13087
13045
  type: FunctionConstructor;
13088
13046
  optional: boolean;
13089
13047
  };
13048
+ colorScheme: {
13049
+ type: StringConstructor;
13050
+ optional: boolean;
13051
+ };
13090
13052
  };
13091
13053
  static components: {
13092
13054
  TopBar: typeof TopBar;
@@ -13122,6 +13084,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
13122
13084
  width: number;
13123
13085
  height: number;
13124
13086
  };
13087
+ getSpreadSheetClasses(): string;
13125
13088
  }
13126
13089
 
13127
13090
  /**
@@ -13351,6 +13314,7 @@ declare const components: {
13351
13314
  ChartDashboardMenu: typeof ChartDashboardMenu;
13352
13315
  FullScreenFigure: typeof FullScreenFigure;
13353
13316
  NumberInput: typeof NumberInput;
13317
+ TopBar: typeof TopBar;
13354
13318
  };
13355
13319
  declare const hooks: {
13356
13320
  useDragAndDropListItems: typeof useDragAndDropListItems;
@@ -13400,9 +13364,7 @@ declare const constants: {
13400
13364
  };
13401
13365
  ChartTerms: {
13402
13366
  [key: string]: any;
13403
- GeoChart: {
13404
- ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
13405
- };
13367
+ ColorScales: Record<Extract<ChartColorScale, string>, string>;
13406
13368
  };
13407
13369
  FIGURE_ID_SPLITTER: string;
13408
13370
  GRID_ICON_EDGE_LENGTH: number;
@@ -13410,6 +13372,7 @@ declare const constants: {
13410
13372
  };
13411
13373
  declare const chartHelpers: {
13412
13374
  getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
13375
+ getCalendarChartData(definition: GenericDefinition<CalendarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
13413
13376
  getPyramidChartData(definition: PyramidChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
13414
13377
  getLineChartData(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
13415
13378
  getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
@@ -13425,6 +13388,12 @@ declare const chartHelpers: {
13425
13388
  makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
13426
13389
  getTopPaddingForDashboard(definition: GenericDefinition<PieChartDefinition | LineChartDefinition | BarChartDefinition>, getters: Getters): 0 | 30;
13427
13390
  getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
13391
+ getCalendarChartDatasetAndLabels(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): {
13392
+ datasets: (chart_js.ChartDataset<"bar"> & {
13393
+ values: number[];
13394
+ })[];
13395
+ labels: string[];
13396
+ };
13428
13397
  getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
13429
13398
  datasets: chart_js.ChartDataset[];
13430
13399
  labels: string[];
@@ -13445,6 +13414,10 @@ declare const chartHelpers: {
13445
13414
  autoPadding: boolean;
13446
13415
  padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
13447
13416
  }>> | undefined;
13417
+ getCalendarChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<Partial<{
13418
+ autoPadding: boolean;
13419
+ padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
13420
+ }>> | undefined;
13448
13421
  getBarChartLegend(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
13449
13422
  getLineChartLegend(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
13450
13423
  getPieChartLegend(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
@@ -13459,346 +13432,10 @@ declare const chartHelpers: {
13459
13432
  onClick: (event: any, legendItem: any, legend: any) => void;
13460
13433
  };
13461
13434
  getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line" | "bar">["scales"]>;
13435
+ getCalendarChartScales(definition: GenericDefinition<BarChartDefinition>, datasets: chart_js.ChartDataset[]): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line" | "bar">["scales"]>;
13436
+ getCalendarColorScale(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): ChartColorScalePluginOptions | undefined;
13462
13437
  getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
13463
- getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): {
13464
- x: {
13465
- grid: {
13466
- display: boolean;
13467
- };
13468
- } | {
13469
- grid: {
13470
- display: boolean;
13471
- };
13472
- type?: "time" | undefined;
13473
- reverse?: boolean | undefined;
13474
- offset?: boolean | undefined;
13475
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13476
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13477
- clip?: boolean | undefined;
13478
- display?: boolean | "auto" | undefined;
13479
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13480
- [scale: string]: number;
13481
- }> | undefined;
13482
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13483
- display: boolean;
13484
- align: chart_js.Align;
13485
- text: string | string[];
13486
- color: chart_js.Color;
13487
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13488
- padding: number | {
13489
- top: number;
13490
- bottom: number;
13491
- y: number;
13492
- };
13493
- }> | undefined;
13494
- stack?: string | undefined;
13495
- weight?: number | undefined;
13496
- bounds?: "data" | "ticks" | undefined;
13497
- stackWeight?: number | undefined;
13498
- axis?: "r" | "x" | "y" | undefined;
13499
- stacked?: boolean | "single" | undefined;
13500
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13501
- sampleSize: number;
13502
- align: chart_js.Align | "inner";
13503
- autoSkip: boolean;
13504
- autoSkipPadding: number;
13505
- crossAlign: "near" | "center" | "far";
13506
- includeBounds: boolean;
13507
- labelOffset: number;
13508
- minRotation: number;
13509
- maxRotation: number;
13510
- mirror: boolean;
13511
- padding: number;
13512
- maxTicksLimit: number;
13513
- } & chart_js.TimeScaleTickOptions> | undefined;
13514
- alignToPixels?: boolean | undefined;
13515
- suggestedMin?: string | number | undefined;
13516
- suggestedMax?: string | number | undefined;
13517
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13518
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13519
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13520
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13521
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13522
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13523
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13524
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13525
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13526
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13527
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13528
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13529
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13530
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13531
- min?: string | number | undefined;
13532
- max?: string | number | undefined;
13533
- offsetAfterAutoskip?: boolean | undefined;
13534
- adapters?: chart_js_dist_types_utils._DeepPartialObject<{
13535
- date: unknown;
13536
- }> | undefined;
13537
- time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
13538
- } | {
13539
- grid: {
13540
- display: boolean;
13541
- };
13542
- type?: "linear" | undefined;
13543
- bounds?: "data" | "ticks" | undefined;
13544
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13545
- [scale: string]: number;
13546
- }> | undefined;
13547
- stack?: string | undefined;
13548
- stackWeight?: number | undefined;
13549
- axis?: "r" | "x" | "y" | undefined;
13550
- min?: number | undefined;
13551
- max?: number | undefined;
13552
- offset?: boolean | undefined;
13553
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13554
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13555
- display: boolean;
13556
- align: chart_js.Align;
13557
- text: string | string[];
13558
- color: chart_js.Color;
13559
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13560
- padding: number | {
13561
- top: number;
13562
- bottom: number;
13563
- y: number;
13564
- };
13565
- }> | undefined;
13566
- stacked?: boolean | "single" | undefined;
13567
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13568
- sampleSize: number;
13569
- align: chart_js.Align | "inner";
13570
- autoSkip: boolean;
13571
- autoSkipPadding: number;
13572
- crossAlign: "near" | "center" | "far";
13573
- includeBounds: boolean;
13574
- labelOffset: number;
13575
- minRotation: number;
13576
- maxRotation: number;
13577
- mirror: boolean;
13578
- padding: number;
13579
- maxTicksLimit: number;
13580
- } & {
13581
- format: Intl.NumberFormatOptions;
13582
- precision: number;
13583
- stepSize: number;
13584
- count: number;
13585
- }> | undefined;
13586
- display?: boolean | "auto" | undefined;
13587
- alignToPixels?: boolean | undefined;
13588
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13589
- reverse?: boolean | undefined;
13590
- clip?: boolean | undefined;
13591
- weight?: number | undefined;
13592
- suggestedMin?: number | undefined;
13593
- suggestedMax?: number | undefined;
13594
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13595
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13596
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13597
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13598
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13599
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13600
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13601
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13602
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13603
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13604
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13605
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13606
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13607
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13608
- beginAtZero?: boolean | undefined;
13609
- grace?: string | number | undefined;
13610
- } | {
13611
- grid: {
13612
- display: boolean;
13613
- };
13614
- type?: "logarithmic" | undefined;
13615
- bounds?: "data" | "ticks" | undefined;
13616
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13617
- [scale: string]: number;
13618
- }> | undefined;
13619
- stack?: string | undefined;
13620
- stackWeight?: number | undefined;
13621
- axis?: "r" | "x" | "y" | undefined;
13622
- min?: number | undefined;
13623
- max?: number | undefined;
13624
- offset?: boolean | undefined;
13625
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13626
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13627
- display: boolean;
13628
- align: chart_js.Align;
13629
- text: string | string[];
13630
- color: chart_js.Color;
13631
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13632
- padding: number | {
13633
- top: number;
13634
- bottom: number;
13635
- y: number;
13636
- };
13637
- }> | undefined;
13638
- stacked?: boolean | "single" | undefined;
13639
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13640
- sampleSize: number;
13641
- align: chart_js.Align | "inner";
13642
- autoSkip: boolean;
13643
- autoSkipPadding: number;
13644
- crossAlign: "near" | "center" | "far";
13645
- includeBounds: boolean;
13646
- labelOffset: number;
13647
- minRotation: number;
13648
- maxRotation: number;
13649
- mirror: boolean;
13650
- padding: number;
13651
- maxTicksLimit: number;
13652
- } & {
13653
- format: Intl.NumberFormatOptions;
13654
- }> | undefined;
13655
- display?: boolean | "auto" | undefined;
13656
- alignToPixels?: boolean | undefined;
13657
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13658
- reverse?: boolean | undefined;
13659
- clip?: boolean | undefined;
13660
- weight?: number | undefined;
13661
- suggestedMin?: number | undefined;
13662
- suggestedMax?: number | undefined;
13663
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13664
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13665
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13666
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13667
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13668
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13669
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13670
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13671
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13672
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13673
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13674
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13675
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13676
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13677
- } | {
13678
- grid: {
13679
- display: boolean;
13680
- };
13681
- type?: "category" | undefined;
13682
- reverse?: boolean | undefined;
13683
- offset?: boolean | undefined;
13684
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13685
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13686
- clip?: boolean | undefined;
13687
- display?: boolean | "auto" | undefined;
13688
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13689
- [scale: string]: number;
13690
- }> | undefined;
13691
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13692
- display: boolean;
13693
- align: chart_js.Align;
13694
- text: string | string[];
13695
- color: chart_js.Color;
13696
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13697
- padding: number | {
13698
- top: number;
13699
- bottom: number;
13700
- y: number;
13701
- };
13702
- }> | undefined;
13703
- stack?: string | undefined;
13704
- weight?: number | undefined;
13705
- bounds?: "data" | "ticks" | undefined;
13706
- stackWeight?: number | undefined;
13707
- axis?: "r" | "x" | "y" | undefined;
13708
- stacked?: boolean | "single" | undefined;
13709
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.CartesianTickOptions> | undefined;
13710
- alignToPixels?: boolean | undefined;
13711
- suggestedMin?: unknown;
13712
- suggestedMax?: unknown;
13713
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13714
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13715
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13716
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13717
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13718
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13719
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13720
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13721
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13722
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13723
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13724
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13725
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13726
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13727
- min?: string | number | undefined;
13728
- max?: string | number | undefined;
13729
- labels?: chart_js_dist_types_utils._DeepPartialArray<string> | chart_js_dist_types_utils._DeepPartialArray<string[]> | undefined;
13730
- } | {
13731
- grid: {
13732
- display: boolean;
13733
- };
13734
- type?: "timeseries" | undefined;
13735
- reverse?: boolean | undefined;
13736
- offset?: boolean | undefined;
13737
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13738
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13739
- clip?: boolean | undefined;
13740
- display?: boolean | "auto" | undefined;
13741
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13742
- [scale: string]: number;
13743
- }> | undefined;
13744
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13745
- display: boolean;
13746
- align: chart_js.Align;
13747
- text: string | string[];
13748
- color: chart_js.Color;
13749
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13750
- padding: number | {
13751
- top: number;
13752
- bottom: number;
13753
- y: number;
13754
- };
13755
- }> | undefined;
13756
- stack?: string | undefined;
13757
- weight?: number | undefined;
13758
- bounds?: "data" | "ticks" | undefined;
13759
- stackWeight?: number | undefined;
13760
- axis?: "r" | "x" | "y" | undefined;
13761
- stacked?: boolean | "single" | undefined;
13762
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13763
- sampleSize: number;
13764
- align: chart_js.Align | "inner";
13765
- autoSkip: boolean;
13766
- autoSkipPadding: number;
13767
- crossAlign: "near" | "center" | "far";
13768
- includeBounds: boolean;
13769
- labelOffset: number;
13770
- minRotation: number;
13771
- maxRotation: number;
13772
- mirror: boolean;
13773
- padding: number;
13774
- maxTicksLimit: number;
13775
- } & chart_js.TimeScaleTickOptions> | undefined;
13776
- alignToPixels?: boolean | undefined;
13777
- suggestedMin?: string | number | undefined;
13778
- suggestedMax?: string | number | undefined;
13779
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13780
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13781
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13782
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13783
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13784
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13785
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13786
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13787
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13788
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13789
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13790
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13791
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13792
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13793
- min?: string | number | undefined;
13794
- max?: string | number | undefined;
13795
- offsetAfterAutoskip?: boolean | undefined;
13796
- adapters?: chart_js_dist_types_utils._DeepPartialObject<{
13797
- date: unknown;
13798
- }> | undefined;
13799
- time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
13800
- };
13801
- };
13438
+ getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
13802
13439
  getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
13803
13440
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
13804
13441
  }>;
@@ -13814,12 +13451,15 @@ declare const chartHelpers: {
13814
13451
  getFunnelChartScales(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
13815
13452
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
13816
13453
  }>;
13454
+ getRuntimeColorScale(colorScale: ChartColorScale, minValue?: number, maxValue?: number): (value: number) => Color;
13817
13455
  getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
13456
+ getCalendarChartShowValues(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
13818
13457
  getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
13819
13458
  getPyramidChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
13820
13459
  getWaterfallChartShowValues(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
13821
13460
  getChartTitle(definition: ChartWithDataSetDefinition, getters: Getters): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
13822
13461
  getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
13462
+ getCalendarChartTooltip(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
13823
13463
  getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
13824
13464
  getPieChartTooltip(definition: PieChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
13825
13465
  getWaterfallChartTooltip(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
@@ -13904,4 +13544,4 @@ declare const chartHelpers: {
13904
13544
  WaterfallChart: typeof WaterfallChart;
13905
13545
  };
13906
13546
 
13907
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CircularDependencyError, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DivisionByZeroError, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13547
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartColorScale, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithColorScaleDefinition, ChartWithDataSetDefinition, ChartWithTitleDefinition, CircularDependencyError, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DivisionByZeroError, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };