@odoo/o-spreadsheet 19.1.0-alpha.12 → 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.
- package/dist/o-spreadsheet-engine.d.ts +37 -21
- package/dist/o-spreadsheet-engine.esm.js +174 -77
- package/dist/o-spreadsheet-engine.iife.js +174 -77
- package/dist/o-spreadsheet-engine.min.iife.js +312 -312
- package/dist/o-spreadsheet.d.ts +343 -374
- package/dist/o_spreadsheet.esm.js +35506 -25515
- package/dist/o_spreadsheet.iife.js +35507 -25516
- package/dist/o_spreadsheet.min.iife.js +335 -317
- package/dist/o_spreadsheet.xml +407 -200
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -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" | "
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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$
|
|
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$
|
|
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$
|
|
7304
|
+
interface Props$1c {
|
|
7255
7305
|
class?: string;
|
|
7256
7306
|
}
|
|
7257
|
-
declare class Section extends Component<Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
7699
|
+
interface Props$18 {
|
|
7643
7700
|
messages: string[];
|
|
7644
7701
|
}
|
|
7645
|
-
declare class ChartErrorSection extends Component<Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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<
|
|
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
|
-
|
|
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$
|
|
7824
|
+
interface Props$16 {
|
|
7776
7825
|
isCollapsed: boolean;
|
|
7777
7826
|
slots: any;
|
|
7778
7827
|
}
|
|
7779
|
-
declare class Collapse extends Component<Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
|
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
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
-
|
|
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
|
-
|
|
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$
|
|
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$
|
|
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$
|
|
8628
|
-
|
|
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$
|
|
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$
|
|
8662
|
-
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
-
|
|
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
|
-
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
|
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;
|
|
@@ -9336,7 +9353,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
9336
9353
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
9337
9354
|
}
|
|
9338
9355
|
|
|
9339
|
-
interface Props$
|
|
9356
|
+
interface Props$O {
|
|
9340
9357
|
onConfirm: (content: string) => void;
|
|
9341
9358
|
composerContent: string;
|
|
9342
9359
|
defaultRangeSheetId: UID;
|
|
@@ -9349,7 +9366,7 @@ interface Props$_ {
|
|
|
9349
9366
|
autofocus?: boolean;
|
|
9350
9367
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9351
9368
|
}
|
|
9352
|
-
declare class StandaloneComposer extends Component<Props$
|
|
9369
|
+
declare class StandaloneComposer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9353
9370
|
static template: string;
|
|
9354
9371
|
static props: {
|
|
9355
9372
|
composerContent: {
|
|
@@ -9416,13 +9433,7 @@ interface PanelState {
|
|
|
9416
9433
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
9417
9434
|
sectionRule: SectionRule;
|
|
9418
9435
|
}
|
|
9419
|
-
|
|
9420
|
-
chartId: UID;
|
|
9421
|
-
definition: GaugeChartDefinition;
|
|
9422
|
-
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9423
|
-
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9424
|
-
}
|
|
9425
|
-
declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
9436
|
+
declare class GaugeChartDesignPanel extends Component<ChartSidePanelProps<GaugeChartDefinition>, SpreadsheetChildEnv> {
|
|
9426
9437
|
static template: string;
|
|
9427
9438
|
static components: {
|
|
9428
9439
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9436,11 +9447,8 @@ declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildE
|
|
|
9436
9447
|
static props: {
|
|
9437
9448
|
chartId: StringConstructor;
|
|
9438
9449
|
definition: ObjectConstructor;
|
|
9450
|
+
canUpdateChart: FunctionConstructor;
|
|
9439
9451
|
updateChart: FunctionConstructor;
|
|
9440
|
-
canUpdateChart: {
|
|
9441
|
-
type: FunctionConstructor;
|
|
9442
|
-
optional: boolean;
|
|
9443
|
-
};
|
|
9444
9452
|
};
|
|
9445
9453
|
protected state: PanelState;
|
|
9446
9454
|
setup(): void;
|
|
@@ -9473,13 +9481,7 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9473
9481
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9474
9482
|
}
|
|
9475
9483
|
|
|
9476
|
-
|
|
9477
|
-
chartId: UID;
|
|
9478
|
-
definition: ScorecardChartDefinition;
|
|
9479
|
-
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9480
|
-
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9481
|
-
}
|
|
9482
|
-
declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
9484
|
+
declare class ScorecardChartConfigPanel extends Component<ChartSidePanelProps<ScorecardChartDefinition>, SpreadsheetChildEnv> {
|
|
9483
9485
|
static template: string;
|
|
9484
9486
|
static components: {
|
|
9485
9487
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9489,8 +9491,8 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
|
|
|
9489
9491
|
static props: {
|
|
9490
9492
|
chartId: StringConstructor;
|
|
9491
9493
|
definition: ObjectConstructor;
|
|
9492
|
-
updateChart: FunctionConstructor;
|
|
9493
9494
|
canUpdateChart: FunctionConstructor;
|
|
9495
|
+
updateChart: FunctionConstructor;
|
|
9494
9496
|
};
|
|
9495
9497
|
private state;
|
|
9496
9498
|
private keyValue;
|
|
@@ -9508,13 +9510,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
|
|
|
9508
9510
|
}
|
|
9509
9511
|
|
|
9510
9512
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9511
|
-
|
|
9512
|
-
chartId: UID;
|
|
9513
|
-
definition: ScorecardChartDefinition;
|
|
9514
|
-
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9515
|
-
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9516
|
-
}
|
|
9517
|
-
declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
|
|
9513
|
+
declare class ScorecardChartDesignPanel extends Component<ChartSidePanelProps<ScorecardChartDefinition>, SpreadsheetChildEnv> {
|
|
9518
9514
|
static template: string;
|
|
9519
9515
|
static components: {
|
|
9520
9516
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9528,11 +9524,8 @@ declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetCh
|
|
|
9528
9524
|
static props: {
|
|
9529
9525
|
chartId: StringConstructor;
|
|
9530
9526
|
definition: ObjectConstructor;
|
|
9527
|
+
canUpdateChart: FunctionConstructor;
|
|
9531
9528
|
updateChart: FunctionConstructor;
|
|
9532
|
-
canUpdateChart: {
|
|
9533
|
-
type: FunctionConstructor;
|
|
9534
|
-
optional: boolean;
|
|
9535
|
-
};
|
|
9536
9529
|
};
|
|
9537
9530
|
get colorsSectionTitle(): string;
|
|
9538
9531
|
get defaultScorecardTitleFontSize(): number;
|
|
@@ -9587,7 +9580,7 @@ interface ClosedSidePanel {
|
|
|
9587
9580
|
}
|
|
9588
9581
|
type SidePanelState = OpenSidePanel | ClosedSidePanel;
|
|
9589
9582
|
interface PanelInfo {
|
|
9590
|
-
|
|
9583
|
+
currentPanelProps: SidePanelComponentProps;
|
|
9591
9584
|
componentTag: string;
|
|
9592
9585
|
size: number;
|
|
9593
9586
|
isCollapsed?: boolean;
|
|
@@ -9610,8 +9603,8 @@ declare class SidePanelStore extends SpreadsheetStore {
|
|
|
9610
9603
|
get totalPanelSize(): number;
|
|
9611
9604
|
private getPanelProps;
|
|
9612
9605
|
private getPanelKey;
|
|
9613
|
-
open(componentTag: string,
|
|
9614
|
-
replace(componentTag: string, currentPanelKey: string,
|
|
9606
|
+
open(componentTag: string, currentPanelProps?: SidePanelComponentProps): void;
|
|
9607
|
+
replace(componentTag: string, currentPanelKey: string, currentPanelProps?: SidePanelComponentProps): void;
|
|
9615
9608
|
private _openPanel;
|
|
9616
9609
|
toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
|
|
9617
9610
|
close(): void;
|
|
@@ -9713,11 +9706,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
|
|
|
9713
9706
|
enableAnimationForChart(chartId: UID): string;
|
|
9714
9707
|
}
|
|
9715
9708
|
|
|
9716
|
-
interface Props$
|
|
9709
|
+
interface Props$N {
|
|
9717
9710
|
chartId: UID;
|
|
9718
9711
|
isFullScreen?: boolean;
|
|
9719
9712
|
}
|
|
9720
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9713
|
+
declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9721
9714
|
static template: string;
|
|
9722
9715
|
static props: {
|
|
9723
9716
|
chartId: StringConstructor;
|
|
@@ -9753,11 +9746,11 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
|
9753
9746
|
get animationChartId(): string;
|
|
9754
9747
|
}
|
|
9755
9748
|
|
|
9756
|
-
interface Props$
|
|
9749
|
+
interface Props$M {
|
|
9757
9750
|
chartId: UID;
|
|
9758
9751
|
isFullScreen?: Boolean;
|
|
9759
9752
|
}
|
|
9760
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9753
|
+
declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9761
9754
|
static template: string;
|
|
9762
9755
|
static props: {
|
|
9763
9756
|
chartId: StringConstructor;
|
|
@@ -9838,7 +9831,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9838
9831
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9839
9832
|
}
|
|
9840
9833
|
|
|
9841
|
-
interface Props$
|
|
9834
|
+
interface Props$L {
|
|
9842
9835
|
anchorRect: Rect;
|
|
9843
9836
|
popoverPositioning: PopoverPropsPosition;
|
|
9844
9837
|
menuItems: Action[];
|
|
@@ -9858,7 +9851,7 @@ interface MenuState {
|
|
|
9858
9851
|
menuItems: Action[];
|
|
9859
9852
|
isHoveringChild?: boolean;
|
|
9860
9853
|
}
|
|
9861
|
-
declare class MenuPopover extends Component<Props$
|
|
9854
|
+
declare class MenuPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9862
9855
|
static template: string;
|
|
9863
9856
|
static props: {
|
|
9864
9857
|
anchorRect: ObjectConstructor;
|
|
@@ -9938,7 +9931,7 @@ declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9938
9931
|
}
|
|
9939
9932
|
|
|
9940
9933
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9941
|
-
interface Props$
|
|
9934
|
+
interface Props$K {
|
|
9942
9935
|
figureUI: FigureUI;
|
|
9943
9936
|
style: string;
|
|
9944
9937
|
class: string;
|
|
@@ -9946,7 +9939,7 @@ interface Props$T {
|
|
|
9946
9939
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9947
9940
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9948
9941
|
}
|
|
9949
|
-
declare class FigureComponent extends Component<Props$
|
|
9942
|
+
declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9950
9943
|
static template: string;
|
|
9951
9944
|
static props: {
|
|
9952
9945
|
figureUI: ObjectConstructor;
|
|
@@ -10002,7 +9995,7 @@ declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
10002
9995
|
editWrapperStyle(properties: CSSProperties): void;
|
|
10003
9996
|
}
|
|
10004
9997
|
|
|
10005
|
-
interface Props$
|
|
9998
|
+
interface Props$J {
|
|
10006
9999
|
chartId: UID;
|
|
10007
10000
|
hasFullScreenButton: boolean;
|
|
10008
10001
|
}
|
|
@@ -10013,7 +10006,7 @@ interface MenuItem {
|
|
|
10013
10006
|
onClick: () => void;
|
|
10014
10007
|
preview?: string;
|
|
10015
10008
|
}
|
|
10016
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
10009
|
+
declare class ChartDashboardMenu extends Component<Props$J, SpreadsheetChildEnv> {
|
|
10017
10010
|
static template: string;
|
|
10018
10011
|
static components: {
|
|
10019
10012
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10037,14 +10030,14 @@ declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv>
|
|
|
10037
10030
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
10038
10031
|
}
|
|
10039
10032
|
|
|
10040
|
-
interface Props$
|
|
10033
|
+
interface Props$I {
|
|
10041
10034
|
figureUI: FigureUI;
|
|
10042
10035
|
onFigureDeleted: () => void;
|
|
10043
10036
|
editFigureStyle?: (properties: CSSProperties) => void;
|
|
10044
10037
|
isFullScreen?: boolean;
|
|
10045
10038
|
openContextMenu?: (anchorRect: Rect, onClose?: () => void) => void;
|
|
10046
10039
|
}
|
|
10047
|
-
declare class ChartFigure extends Component<Props$
|
|
10040
|
+
declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
|
|
10048
10041
|
static template: string;
|
|
10049
10042
|
static props: {
|
|
10050
10043
|
figureUI: ObjectConstructor;
|
|
@@ -10073,7 +10066,7 @@ declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
|
|
|
10073
10066
|
|
|
10074
10067
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
10075
10068
|
|
|
10076
|
-
interface Props$
|
|
10069
|
+
interface Props$H {
|
|
10077
10070
|
isVisible: boolean;
|
|
10078
10071
|
position: DOMCoordinates;
|
|
10079
10072
|
}
|
|
@@ -10081,7 +10074,7 @@ interface State$4 {
|
|
|
10081
10074
|
position: DOMCoordinates;
|
|
10082
10075
|
handler: boolean;
|
|
10083
10076
|
}
|
|
10084
|
-
declare class Autofill extends Component<Props$
|
|
10077
|
+
declare class Autofill extends Component<Props$H, SpreadsheetChildEnv> {
|
|
10085
10078
|
static template: string;
|
|
10086
10079
|
static props: {
|
|
10087
10080
|
position: ObjectConstructor;
|
|
@@ -10121,7 +10114,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
10121
10114
|
get tagStyle(): string;
|
|
10122
10115
|
}
|
|
10123
10116
|
|
|
10124
|
-
interface Props$
|
|
10117
|
+
interface Props$G {
|
|
10125
10118
|
gridDims: DOMDimension;
|
|
10126
10119
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
10127
10120
|
}
|
|
@@ -10129,7 +10122,7 @@ interface Props$P {
|
|
|
10129
10122
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
10130
10123
|
* It also applies the style of the cell to the composer input.
|
|
10131
10124
|
*/
|
|
10132
|
-
declare class GridComposer extends Component<Props$
|
|
10125
|
+
declare class GridComposer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
10133
10126
|
static template: string;
|
|
10134
10127
|
static props: {
|
|
10135
10128
|
gridDims: ObjectConstructor;
|
|
@@ -10173,7 +10166,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
10173
10166
|
}
|
|
10174
10167
|
|
|
10175
10168
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
10176
|
-
interface Props$
|
|
10169
|
+
interface Props$F {
|
|
10177
10170
|
onFigureDeleted: () => void;
|
|
10178
10171
|
}
|
|
10179
10172
|
interface Container {
|
|
@@ -10254,7 +10247,7 @@ interface DndState {
|
|
|
10254
10247
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
10255
10248
|
*
|
|
10256
10249
|
*/
|
|
10257
|
-
declare class FiguresContainer extends Component<Props$
|
|
10250
|
+
declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10258
10251
|
static template: string;
|
|
10259
10252
|
static props: {
|
|
10260
10253
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -10292,10 +10285,10 @@ declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
10292
10285
|
private getCarouselOverlappingChart;
|
|
10293
10286
|
}
|
|
10294
10287
|
|
|
10295
|
-
interface Props$
|
|
10288
|
+
interface Props$E {
|
|
10296
10289
|
focusGrid: () => void;
|
|
10297
10290
|
}
|
|
10298
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
10291
|
+
declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10299
10292
|
static template: string;
|
|
10300
10293
|
static props: {
|
|
10301
10294
|
focusGrid: FunctionConstructor;
|
|
@@ -10327,7 +10320,7 @@ type ZoomedMouseEvent<T extends MouseEvent | PointerEvent> = {
|
|
|
10327
10320
|
ev: T;
|
|
10328
10321
|
};
|
|
10329
10322
|
|
|
10330
|
-
interface Props$
|
|
10323
|
+
interface Props$D {
|
|
10331
10324
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
10332
10325
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, zoomedMouseEvent: ZoomedMouseEvent<MouseEvent | PointerEvent>) => void;
|
|
10333
10326
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -10340,7 +10333,7 @@ interface Props$M {
|
|
|
10340
10333
|
height: number;
|
|
10341
10334
|
};
|
|
10342
10335
|
}
|
|
10343
|
-
declare class GridOverlay extends Component<Props$
|
|
10336
|
+
declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10344
10337
|
static template: string;
|
|
10345
10338
|
static props: {
|
|
10346
10339
|
onCellDoubleClicked: {
|
|
@@ -10400,12 +10393,12 @@ declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
10400
10393
|
private getInteractiveIconAtEvent;
|
|
10401
10394
|
}
|
|
10402
10395
|
|
|
10403
|
-
interface Props$
|
|
10396
|
+
interface Props$C {
|
|
10404
10397
|
gridRect: Rect;
|
|
10405
10398
|
onClosePopover: () => void;
|
|
10406
10399
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10407
10400
|
}
|
|
10408
|
-
declare class GridPopover extends Component<Props$
|
|
10401
|
+
declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10409
10402
|
static template: string;
|
|
10410
10403
|
static props: {
|
|
10411
10404
|
onClosePopover: FunctionConstructor;
|
|
@@ -10420,7 +10413,7 @@ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10420
10413
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10421
10414
|
}
|
|
10422
10415
|
|
|
10423
|
-
interface Props$
|
|
10416
|
+
interface Props$B {
|
|
10424
10417
|
headersGroups: ConsecutiveIndexes[];
|
|
10425
10418
|
offset: number;
|
|
10426
10419
|
headerRange: {
|
|
@@ -10428,7 +10421,7 @@ interface Props$K {
|
|
|
10428
10421
|
end: HeaderIndex;
|
|
10429
10422
|
};
|
|
10430
10423
|
}
|
|
10431
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10424
|
+
declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10432
10425
|
static template: string;
|
|
10433
10426
|
static props: {
|
|
10434
10427
|
headersGroups: ArrayConstructor;
|
|
@@ -10447,7 +10440,7 @@ declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
10447
10440
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
10448
10441
|
isVisible(header: HeaderIndex): boolean;
|
|
10449
10442
|
}
|
|
10450
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10443
|
+
declare class UnhideColumnHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10451
10444
|
static template: string;
|
|
10452
10445
|
static props: {
|
|
10453
10446
|
headersGroups: ArrayConstructor;
|
|
@@ -10521,7 +10514,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
|
|
|
10521
10514
|
setup(): void;
|
|
10522
10515
|
_computeHandleDisplay(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): void;
|
|
10523
10516
|
_computeGrabDisplay(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): void;
|
|
10524
|
-
onMouseMove(ev:
|
|
10517
|
+
onMouseMove(ev: MouseEvent): void;
|
|
10525
10518
|
onMouseLeave(): void;
|
|
10526
10519
|
onDblClick(ev: MouseEvent): void;
|
|
10527
10520
|
onMouseDown(ev: MouseEvent): void;
|
|
@@ -10640,13 +10633,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10640
10633
|
}
|
|
10641
10634
|
|
|
10642
10635
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10643
|
-
interface Props$
|
|
10636
|
+
interface Props$A {
|
|
10644
10637
|
zone: Zone;
|
|
10645
10638
|
orientation: Orientation$1;
|
|
10646
10639
|
isMoving: boolean;
|
|
10647
10640
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10648
10641
|
}
|
|
10649
|
-
declare class Border extends Component<Props$
|
|
10642
|
+
declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10650
10643
|
static template: string;
|
|
10651
10644
|
static props: {
|
|
10652
10645
|
zone: ObjectConstructor;
|
|
@@ -10659,14 +10652,14 @@ declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
10659
10652
|
}
|
|
10660
10653
|
|
|
10661
10654
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10662
|
-
interface Props$
|
|
10655
|
+
interface Props$z {
|
|
10663
10656
|
zone: Zone;
|
|
10664
10657
|
color: Color;
|
|
10665
10658
|
orientation: Orientation;
|
|
10666
10659
|
isResizing: boolean;
|
|
10667
10660
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10668
10661
|
}
|
|
10669
|
-
declare class Corner extends Component<Props$
|
|
10662
|
+
declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10670
10663
|
static template: string;
|
|
10671
10664
|
static props: {
|
|
10672
10665
|
zone: ObjectConstructor;
|
|
@@ -10715,7 +10708,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10715
10708
|
|
|
10716
10709
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10717
10710
|
|
|
10718
|
-
interface Props$
|
|
10711
|
+
interface Props$y {
|
|
10719
10712
|
width: Pixel;
|
|
10720
10713
|
height: Pixel;
|
|
10721
10714
|
direction: ScrollDirection;
|
|
@@ -10723,7 +10716,7 @@ interface Props$H {
|
|
|
10723
10716
|
offset: Pixel;
|
|
10724
10717
|
onScroll: (offset: Pixel) => void;
|
|
10725
10718
|
}
|
|
10726
|
-
declare class ScrollBar extends Component<Props$
|
|
10719
|
+
declare class ScrollBar extends Component<Props$y> {
|
|
10727
10720
|
static props: {
|
|
10728
10721
|
width: {
|
|
10729
10722
|
type: NumberConstructor;
|
|
@@ -10751,10 +10744,10 @@ declare class ScrollBar extends Component<Props$H> {
|
|
|
10751
10744
|
onScroll(ev: any): void;
|
|
10752
10745
|
}
|
|
10753
10746
|
|
|
10754
|
-
interface Props$
|
|
10747
|
+
interface Props$x {
|
|
10755
10748
|
leftOffset: number;
|
|
10756
10749
|
}
|
|
10757
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10750
|
+
declare class HorizontalScrollBar extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10758
10751
|
static props: {
|
|
10759
10752
|
leftOffset: {
|
|
10760
10753
|
type: NumberConstructor;
|
|
@@ -10780,10 +10773,10 @@ declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv
|
|
|
10780
10773
|
onScroll(offset: any): void;
|
|
10781
10774
|
}
|
|
10782
10775
|
|
|
10783
|
-
interface Props$
|
|
10776
|
+
interface Props$w {
|
|
10784
10777
|
topOffset: number;
|
|
10785
10778
|
}
|
|
10786
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10779
|
+
declare class VerticalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10787
10780
|
static props: {
|
|
10788
10781
|
topOffset: {
|
|
10789
10782
|
type: NumberConstructor;
|
|
@@ -10818,13 +10811,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10818
10811
|
get highlightProps(): HighlightProps;
|
|
10819
10812
|
}
|
|
10820
10813
|
|
|
10821
|
-
interface Props$
|
|
10814
|
+
interface Props$v {
|
|
10822
10815
|
table: Table;
|
|
10823
10816
|
}
|
|
10824
10817
|
interface State$3 {
|
|
10825
10818
|
highlightZone: Zone | undefined;
|
|
10826
10819
|
}
|
|
10827
|
-
declare class TableResizer extends Component<Props$
|
|
10820
|
+
declare class TableResizer extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10828
10821
|
static template: string;
|
|
10829
10822
|
static props: {
|
|
10830
10823
|
table: ObjectConstructor;
|
|
@@ -10853,11 +10846,11 @@ declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
10853
10846
|
* - a vertical resizer (same, for rows)
|
|
10854
10847
|
*/
|
|
10855
10848
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10856
|
-
interface Props$
|
|
10849
|
+
interface Props$u {
|
|
10857
10850
|
exposeFocus: (focus: () => void) => void;
|
|
10858
10851
|
getGridSize: () => DOMDimension;
|
|
10859
10852
|
}
|
|
10860
|
-
declare class Grid extends Component<Props$
|
|
10853
|
+
declare class Grid extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10861
10854
|
static template: string;
|
|
10862
10855
|
static props: {
|
|
10863
10856
|
exposeFocus: FunctionConstructor;
|
|
@@ -10973,7 +10966,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10973
10966
|
private getChartDefinitionFromContextCreation;
|
|
10974
10967
|
}
|
|
10975
10968
|
|
|
10976
|
-
interface Props$
|
|
10969
|
+
interface Props$t {
|
|
10977
10970
|
chartId: UID;
|
|
10978
10971
|
chartPanelStore: MainChartPanelStore;
|
|
10979
10972
|
}
|
|
@@ -10981,7 +10974,7 @@ interface ChartTypePickerState {
|
|
|
10981
10974
|
popoverProps: PopoverProps | undefined;
|
|
10982
10975
|
popoverStyle: string;
|
|
10983
10976
|
}
|
|
10984
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10977
|
+
declare class ChartTypePicker extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10985
10978
|
static template: string;
|
|
10986
10979
|
static components: {
|
|
10987
10980
|
Section: typeof Section;
|
|
@@ -11017,11 +11010,11 @@ declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
11017
11010
|
private closePopover;
|
|
11018
11011
|
}
|
|
11019
11012
|
|
|
11020
|
-
interface Props$
|
|
11013
|
+
interface Props$s {
|
|
11021
11014
|
onCloseSidePanel: () => void;
|
|
11022
11015
|
chartId: UID;
|
|
11023
11016
|
}
|
|
11024
|
-
declare class ChartPanel extends Component<Props$
|
|
11017
|
+
declare class ChartPanel extends Component<Props$s, SpreadsheetChildEnv> {
|
|
11025
11018
|
static template: string;
|
|
11026
11019
|
static components: {
|
|
11027
11020
|
Section: typeof Section;
|
|
@@ -11044,11 +11037,11 @@ declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
11044
11037
|
private getChartDefinition;
|
|
11045
11038
|
}
|
|
11046
11039
|
|
|
11047
|
-
interface Props$
|
|
11040
|
+
interface Props$r {
|
|
11048
11041
|
onValueChange: (value: number) => void;
|
|
11049
11042
|
value: number;
|
|
11050
11043
|
}
|
|
11051
|
-
declare class PieHoleSize extends Component<Props$
|
|
11044
|
+
declare class PieHoleSize extends Component<Props$r, SpreadsheetChildEnv> {
|
|
11052
11045
|
static template: string;
|
|
11053
11046
|
static components: {
|
|
11054
11047
|
Section: typeof Section;
|
|
@@ -11061,13 +11054,7 @@ declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
11061
11054
|
onChange(value: string): void;
|
|
11062
11055
|
}
|
|
11063
11056
|
|
|
11064
|
-
|
|
11065
|
-
chartId: UID;
|
|
11066
|
-
definition: PieChartDefinition;
|
|
11067
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
11068
|
-
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
11069
|
-
}
|
|
11070
|
-
declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv> {
|
|
11057
|
+
declare class PieChartDesignPanel extends Component<ChartSidePanelProps<PieChartDefinition>, SpreadsheetChildEnv> {
|
|
11071
11058
|
static template: string;
|
|
11072
11059
|
static components: {
|
|
11073
11060
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11081,20 +11068,17 @@ declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv
|
|
|
11081
11068
|
static props: {
|
|
11082
11069
|
chartId: StringConstructor;
|
|
11083
11070
|
definition: ObjectConstructor;
|
|
11071
|
+
canUpdateChart: FunctionConstructor;
|
|
11084
11072
|
updateChart: FunctionConstructor;
|
|
11085
|
-
canUpdateChart: {
|
|
11086
|
-
type: FunctionConstructor;
|
|
11087
|
-
optional: boolean;
|
|
11088
|
-
};
|
|
11089
11073
|
};
|
|
11090
11074
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
11091
11075
|
get defaultHoleSize(): number;
|
|
11092
11076
|
}
|
|
11093
11077
|
|
|
11094
|
-
interface Props$
|
|
11078
|
+
interface Props$q {
|
|
11095
11079
|
items: ActionSpec[];
|
|
11096
11080
|
}
|
|
11097
|
-
declare class CogWheelMenu extends Component<Props$
|
|
11081
|
+
declare class CogWheelMenu extends Component<Props$q, SpreadsheetChildEnv> {
|
|
11098
11082
|
static template: string;
|
|
11099
11083
|
static components: {
|
|
11100
11084
|
MenuPopover: typeof MenuPopover;
|
|
@@ -11177,14 +11161,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
11177
11161
|
get highlights(): Highlight$1[];
|
|
11178
11162
|
}
|
|
11179
11163
|
|
|
11180
|
-
interface Props$
|
|
11164
|
+
interface Props$p {
|
|
11181
11165
|
deferUpdate: boolean;
|
|
11182
11166
|
isDirty: boolean;
|
|
11183
11167
|
toggleDeferUpdate: (value: boolean) => void;
|
|
11184
11168
|
discard: () => void;
|
|
11185
11169
|
apply: () => void;
|
|
11186
11170
|
}
|
|
11187
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
11171
|
+
declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
|
|
11188
11172
|
static template: string;
|
|
11189
11173
|
static props: {
|
|
11190
11174
|
deferUpdate: BooleanConstructor;
|
|
@@ -11201,11 +11185,11 @@ declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
11201
11185
|
get deferUpdatesTooltip(): string;
|
|
11202
11186
|
}
|
|
11203
11187
|
|
|
11204
|
-
interface Props$
|
|
11188
|
+
interface Props$o {
|
|
11205
11189
|
onFieldPicked: (field: string) => void;
|
|
11206
11190
|
fields: PivotField[];
|
|
11207
11191
|
}
|
|
11208
|
-
declare class AddDimensionButton extends Component<Props$
|
|
11192
|
+
declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv> {
|
|
11209
11193
|
static template: string;
|
|
11210
11194
|
static components: {
|
|
11211
11195
|
Popover: typeof Popover;
|
|
@@ -11241,13 +11225,13 @@ declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv>
|
|
|
11241
11225
|
onKeyDown(ev: KeyboardEvent): void;
|
|
11242
11226
|
}
|
|
11243
11227
|
|
|
11244
|
-
interface Props$
|
|
11228
|
+
interface Props$n {
|
|
11245
11229
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
11246
11230
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
11247
11231
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
11248
11232
|
type: "row" | "col" | "measure";
|
|
11249
11233
|
}
|
|
11250
|
-
declare class PivotDimension extends Component<Props$
|
|
11234
|
+
declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
|
|
11251
11235
|
static template: string;
|
|
11252
11236
|
static props: {
|
|
11253
11237
|
dimension: ObjectConstructor;
|
|
@@ -11271,13 +11255,13 @@ declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
11271
11255
|
updateName(name: string): void;
|
|
11272
11256
|
}
|
|
11273
11257
|
|
|
11274
|
-
interface Props$
|
|
11258
|
+
interface Props$m {
|
|
11275
11259
|
dimension: PivotDimension$1;
|
|
11276
11260
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11277
11261
|
availableGranularities: Set<string>;
|
|
11278
11262
|
allGranularities: string[];
|
|
11279
11263
|
}
|
|
11280
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
11264
|
+
declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetChildEnv> {
|
|
11281
11265
|
static template: string;
|
|
11282
11266
|
static props: {
|
|
11283
11267
|
dimension: ObjectConstructor;
|
|
@@ -11302,11 +11286,11 @@ declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetCh
|
|
|
11302
11286
|
};
|
|
11303
11287
|
}
|
|
11304
11288
|
|
|
11305
|
-
interface Props$
|
|
11289
|
+
interface Props$l {
|
|
11306
11290
|
dimension: PivotDimension$1;
|
|
11307
11291
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11308
11292
|
}
|
|
11309
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
11293
|
+
declare class PivotDimensionOrder extends Component<Props$l, SpreadsheetChildEnv> {
|
|
11310
11294
|
static template: string;
|
|
11311
11295
|
static props: {
|
|
11312
11296
|
dimension: ObjectConstructor;
|
|
@@ -11343,12 +11327,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
|
|
|
11343
11327
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
11344
11328
|
declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
|
|
11345
11329
|
|
|
11346
|
-
interface Props$
|
|
11330
|
+
interface Props$k {
|
|
11347
11331
|
pivotId: UID;
|
|
11348
11332
|
customField: PivotCustomGroupedField;
|
|
11349
11333
|
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11350
11334
|
}
|
|
11351
|
-
declare class PivotCustomGroupsCollapsible extends Component<Props$
|
|
11335
|
+
declare class PivotCustomGroupsCollapsible extends Component<Props$k, SpreadsheetChildEnv> {
|
|
11352
11336
|
static template: string;
|
|
11353
11337
|
static props: {
|
|
11354
11338
|
pivotId: StringConstructor;
|
|
@@ -11368,7 +11352,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$s, Spreadshee
|
|
|
11368
11352
|
private updateCustomField;
|
|
11369
11353
|
}
|
|
11370
11354
|
|
|
11371
|
-
interface Props$
|
|
11355
|
+
interface Props$j {
|
|
11372
11356
|
pivotId: string;
|
|
11373
11357
|
definition: PivotRuntimeDefinition;
|
|
11374
11358
|
measure: PivotMeasure;
|
|
@@ -11376,7 +11360,7 @@ interface Props$r {
|
|
|
11376
11360
|
onRemoved: () => void;
|
|
11377
11361
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
11378
11362
|
}
|
|
11379
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
11363
|
+
declare class PivotMeasureEditor extends Component<Props$j> {
|
|
11380
11364
|
static template: string;
|
|
11381
11365
|
static components: {
|
|
11382
11366
|
PivotDimension: typeof PivotDimension;
|
|
@@ -11401,11 +11385,11 @@ declare class PivotMeasureEditor extends Component<Props$r> {
|
|
|
11401
11385
|
get isCalculatedMeasureInvalid(): boolean;
|
|
11402
11386
|
}
|
|
11403
11387
|
|
|
11404
|
-
interface Props$
|
|
11388
|
+
interface Props$i {
|
|
11405
11389
|
definition: PivotRuntimeDefinition;
|
|
11406
11390
|
pivotId: UID;
|
|
11407
11391
|
}
|
|
11408
|
-
declare class PivotSortSection extends Component<Props$
|
|
11392
|
+
declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
|
|
11409
11393
|
static template: string;
|
|
11410
11394
|
static components: {
|
|
11411
11395
|
Section: typeof Section;
|
|
@@ -11422,7 +11406,7 @@ declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
11422
11406
|
}[];
|
|
11423
11407
|
}
|
|
11424
11408
|
|
|
11425
|
-
interface Props$
|
|
11409
|
+
interface Props$h {
|
|
11426
11410
|
definition: PivotRuntimeDefinition;
|
|
11427
11411
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11428
11412
|
unusedGroupableFields: PivotField[];
|
|
@@ -11433,7 +11417,7 @@ interface Props$p {
|
|
|
11433
11417
|
getScrollableContainerEl?: () => HTMLElement;
|
|
11434
11418
|
pivotId: UID;
|
|
11435
11419
|
}
|
|
11436
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
11420
|
+
declare class PivotLayoutConfigurator extends Component<Props$h, SpreadsheetChildEnv> {
|
|
11437
11421
|
static template: string;
|
|
11438
11422
|
static components: {
|
|
11439
11423
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -11530,11 +11514,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11530
11514
|
private areDomainFieldsValid;
|
|
11531
11515
|
}
|
|
11532
11516
|
|
|
11533
|
-
interface Props$
|
|
11517
|
+
interface Props$g {
|
|
11534
11518
|
pivotId: UID;
|
|
11535
11519
|
flipAxis: () => void;
|
|
11536
11520
|
}
|
|
11537
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11521
|
+
declare class PivotTitleSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
11538
11522
|
static template: string;
|
|
11539
11523
|
static components: {
|
|
11540
11524
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11601,11 +11585,11 @@ declare function createEmptySheet(sheetId: UID, name: string): SheetData;
|
|
|
11601
11585
|
declare function createEmptyWorkbookData(sheetName?: string): WorkbookData;
|
|
11602
11586
|
declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetData;
|
|
11603
11587
|
|
|
11604
|
-
interface Props$
|
|
11588
|
+
interface Props$f {
|
|
11605
11589
|
position: CellPosition;
|
|
11606
11590
|
sortDirection: SortDirection | "none";
|
|
11607
11591
|
}
|
|
11608
|
-
declare class ClickableCellSortIcon extends Component<Props$
|
|
11592
|
+
declare class ClickableCellSortIcon extends Component<Props$f, SpreadsheetChildEnv> {
|
|
11609
11593
|
static template: string;
|
|
11610
11594
|
static props: {
|
|
11611
11595
|
position: ObjectConstructor;
|
|
@@ -11652,11 +11636,11 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11652
11636
|
onDoubleClickInMasterChart(ev: PointerEvent): void;
|
|
11653
11637
|
}
|
|
11654
11638
|
|
|
11655
|
-
interface Props$
|
|
11639
|
+
interface Props$e {
|
|
11656
11640
|
chartId: UID;
|
|
11657
11641
|
isFullScreen?: boolean;
|
|
11658
11642
|
}
|
|
11659
|
-
declare class GaugeChartComponent extends Component<Props$
|
|
11643
|
+
declare class GaugeChartComponent extends Component<Props$e, SpreadsheetChildEnv> {
|
|
11660
11644
|
static template: string;
|
|
11661
11645
|
static props: {
|
|
11662
11646
|
chartId: StringConstructor;
|
|
@@ -11725,7 +11709,7 @@ interface PivotDialogValue {
|
|
|
11725
11709
|
value: string;
|
|
11726
11710
|
isMissing: boolean;
|
|
11727
11711
|
}
|
|
11728
|
-
interface Props$
|
|
11712
|
+
interface Props$d {
|
|
11729
11713
|
pivotId: UID;
|
|
11730
11714
|
onCellClicked: (formula: string) => void;
|
|
11731
11715
|
}
|
|
@@ -11734,7 +11718,7 @@ interface TableData {
|
|
|
11734
11718
|
rows: PivotDialogRow[];
|
|
11735
11719
|
values: PivotDialogValue[][];
|
|
11736
11720
|
}
|
|
11737
|
-
declare class PivotHTMLRenderer extends Component<Props$
|
|
11721
|
+
declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv> {
|
|
11738
11722
|
static template: string;
|
|
11739
11723
|
static components: {
|
|
11740
11724
|
Checkbox: typeof Checkbox;
|
|
@@ -11791,13 +11775,7 @@ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv>
|
|
|
11791
11775
|
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
11792
11776
|
}
|
|
11793
11777
|
|
|
11794
|
-
|
|
11795
|
-
chartId: UID;
|
|
11796
|
-
definition: ChartWithDataSetDefinition;
|
|
11797
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11798
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11799
|
-
}
|
|
11800
|
-
declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
|
|
11778
|
+
declare class ChartShowDataMarkers extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
|
|
11801
11779
|
static template: string;
|
|
11802
11780
|
static components: {
|
|
11803
11781
|
Checkbox: typeof Checkbox;
|
|
@@ -11805,18 +11783,14 @@ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEn
|
|
|
11805
11783
|
static props: {
|
|
11806
11784
|
chartId: StringConstructor;
|
|
11807
11785
|
definition: ObjectConstructor;
|
|
11808
|
-
updateChart: FunctionConstructor;
|
|
11809
11786
|
canUpdateChart: FunctionConstructor;
|
|
11787
|
+
updateChart: FunctionConstructor;
|
|
11810
11788
|
};
|
|
11811
11789
|
}
|
|
11812
11790
|
|
|
11813
|
-
interface Props$
|
|
11814
|
-
chartId: UID;
|
|
11815
|
-
definition: ZoomableChartDefinition;
|
|
11816
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
|
|
11817
|
-
updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
|
|
11791
|
+
interface Props$c extends ChartSidePanelProps<ZoomableChartDefinition> {
|
|
11818
11792
|
}
|
|
11819
|
-
declare class GenericZoomableChartDesignPanel<P extends Props$
|
|
11793
|
+
declare class GenericZoomableChartDesignPanel<P extends Props$c = Props$c> extends ChartWithAxisDesignPanel<P> {
|
|
11820
11794
|
static template: string;
|
|
11821
11795
|
static components: {
|
|
11822
11796
|
Checkbox: typeof Checkbox;
|
|
@@ -11832,13 +11806,7 @@ declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> exten
|
|
|
11832
11806
|
onToggleZoom(zoomable: boolean): void;
|
|
11833
11807
|
}
|
|
11834
11808
|
|
|
11835
|
-
|
|
11836
|
-
chartId: UID;
|
|
11837
|
-
definition: ComboChartDefinition;
|
|
11838
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11839
|
-
updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11840
|
-
}
|
|
11841
|
-
declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
|
|
11809
|
+
declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<ChartSidePanelProps<ComboChartDefinition>> {
|
|
11842
11810
|
static template: string;
|
|
11843
11811
|
static components: {
|
|
11844
11812
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
@@ -11861,13 +11829,7 @@ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Prop
|
|
|
11861
11829
|
getDataSeriesType(index: number): "line" | "bar";
|
|
11862
11830
|
}
|
|
11863
11831
|
|
|
11864
|
-
|
|
11865
|
-
chartId: UID;
|
|
11866
|
-
definition: FunnelChartDefinition;
|
|
11867
|
-
canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11868
|
-
updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11869
|
-
}
|
|
11870
|
-
declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
|
|
11832
|
+
declare class FunnelChartDesignPanel extends Component<ChartSidePanelProps<FunnelChartDefinition>, SpreadsheetChildEnv> {
|
|
11871
11833
|
static template: string;
|
|
11872
11834
|
static components: {
|
|
11873
11835
|
ChartShowValues: typeof ChartShowValues;
|
|
@@ -11890,16 +11852,54 @@ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChild
|
|
|
11890
11852
|
updateFunnelItemColor(index: number, color: string): void;
|
|
11891
11853
|
}
|
|
11892
11854
|
|
|
11893
|
-
interface Props$
|
|
11894
|
-
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11855
|
+
interface Props$b {
|
|
11856
|
+
definition: {
|
|
11857
|
+
colorScale: ChartColorScale;
|
|
11858
|
+
};
|
|
11859
|
+
onUpdateColorScale: (colorscale: ChartColorScale) => void;
|
|
11898
11860
|
}
|
|
11899
|
-
|
|
11861
|
+
interface ColorScalePickerState {
|
|
11862
|
+
popoverProps: PopoverProps | undefined;
|
|
11863
|
+
popoverStyle: string;
|
|
11864
|
+
}
|
|
11865
|
+
declare class ColorScalePicker extends Component<Props$b, SpreadsheetChildEnv> {
|
|
11900
11866
|
static template: string;
|
|
11901
11867
|
static components: {
|
|
11868
|
+
Section: typeof Section;
|
|
11902
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;
|
|
11903
11903
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11904
11904
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11905
11905
|
Section: typeof Section;
|
|
@@ -11909,24 +11909,18 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
|
|
|
11909
11909
|
ChartShowValues: typeof ChartShowValues;
|
|
11910
11910
|
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11911
11911
|
};
|
|
11912
|
-
|
|
11913
|
-
updateColorScaleType(ev: Event): void;
|
|
11914
|
-
updateColorScale(colorScale: GeoChartColorScale): void;
|
|
11912
|
+
updateColorScale(colorScale: ChartColorScale | undefined): void;
|
|
11915
11913
|
updateMissingValueColor(color: Color): void;
|
|
11916
11914
|
updateLegendPosition(ev: Event): void;
|
|
11917
|
-
get selectedColorScale(): "custom" | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
|
|
11918
11915
|
get selectedMissingValueColor(): Color | "#ffffff";
|
|
11919
|
-
get customColorScale(): GeoChartCustomColorScale | undefined;
|
|
11920
|
-
getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
|
|
11921
|
-
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11922
11916
|
}
|
|
11923
11917
|
|
|
11924
|
-
interface Props$
|
|
11918
|
+
interface Props$a {
|
|
11925
11919
|
chartId: UID;
|
|
11926
11920
|
definition: GeoChartDefinition;
|
|
11927
11921
|
updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11928
11922
|
}
|
|
11929
|
-
declare class GeoChartRegionSelectSection extends Component<Props$
|
|
11923
|
+
declare class GeoChartRegionSelectSection extends Component<Props$a, SpreadsheetChildEnv> {
|
|
11930
11924
|
static template: string;
|
|
11931
11925
|
static components: {
|
|
11932
11926
|
Section: typeof Section;
|
|
@@ -11941,13 +11935,7 @@ declare class GeoChartRegionSelectSection extends Component<Props$f, Spreadsheet
|
|
|
11941
11935
|
get selectedRegion(): string;
|
|
11942
11936
|
}
|
|
11943
11937
|
|
|
11944
|
-
|
|
11945
|
-
chartId: UID;
|
|
11946
|
-
definition: LineChartDefinition;
|
|
11947
|
-
canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
|
|
11948
|
-
updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
|
|
11949
|
-
}
|
|
11950
|
-
declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
|
|
11938
|
+
declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<ChartSidePanelProps<LineChartDefinition>> {
|
|
11951
11939
|
static template: string;
|
|
11952
11940
|
static components: {
|
|
11953
11941
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
@@ -11963,13 +11951,7 @@ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props
|
|
|
11963
11951
|
};
|
|
11964
11952
|
}
|
|
11965
11953
|
|
|
11966
|
-
|
|
11967
|
-
chartId: UID;
|
|
11968
|
-
definition: RadarChartDefinition;
|
|
11969
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11970
|
-
updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11971
|
-
}
|
|
11972
|
-
declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
|
|
11954
|
+
declare class RadarChartDesignPanel extends Component<ChartSidePanelProps<RadarChartDefinition>, SpreadsheetChildEnv> {
|
|
11973
11955
|
static template: string;
|
|
11974
11956
|
static components: {
|
|
11975
11957
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11989,13 +11971,7 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
|
|
|
11989
11971
|
};
|
|
11990
11972
|
}
|
|
11991
11973
|
|
|
11992
|
-
|
|
11993
|
-
chartId: UID;
|
|
11994
|
-
definition: SunburstChartDefinition;
|
|
11995
|
-
canUpdateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11996
|
-
updateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11997
|
-
}
|
|
11998
|
-
declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
|
|
11974
|
+
declare class SunburstChartDesignPanel extends Component<ChartSidePanelProps<SunburstChartDefinition>, SpreadsheetChildEnv> {
|
|
11999
11975
|
static template: string;
|
|
12000
11976
|
static components: {
|
|
12001
11977
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -12012,11 +11988,8 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
|
|
|
12012
11988
|
static props: {
|
|
12013
11989
|
chartId: StringConstructor;
|
|
12014
11990
|
definition: ObjectConstructor;
|
|
11991
|
+
canUpdateChart: FunctionConstructor;
|
|
12015
11992
|
updateChart: FunctionConstructor;
|
|
12016
|
-
canUpdateChart: {
|
|
12017
|
-
type: FunctionConstructor;
|
|
12018
|
-
optional: boolean;
|
|
12019
|
-
};
|
|
12020
11993
|
};
|
|
12021
11994
|
defaults: {
|
|
12022
11995
|
showValues: boolean;
|
|
@@ -12033,12 +12006,12 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
|
|
|
12033
12006
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
12034
12007
|
}
|
|
12035
12008
|
|
|
12036
|
-
interface Props$
|
|
12009
|
+
interface Props$9 {
|
|
12037
12010
|
chartId: UID;
|
|
12038
12011
|
definition: TreeMapChartDefinition;
|
|
12039
12012
|
onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
|
|
12040
12013
|
}
|
|
12041
|
-
declare class TreeMapCategoryColors extends Component<Props$
|
|
12014
|
+
declare class TreeMapCategoryColors extends Component<Props$9, SpreadsheetChildEnv> {
|
|
12042
12015
|
static template: string;
|
|
12043
12016
|
static components: {
|
|
12044
12017
|
Checkbox: typeof Checkbox;
|
|
@@ -12055,12 +12028,12 @@ declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildE
|
|
|
12055
12028
|
useValueBasedGradient(useValueBasedGradient: boolean): void;
|
|
12056
12029
|
}
|
|
12057
12030
|
|
|
12058
|
-
interface Props$
|
|
12031
|
+
interface Props$8 {
|
|
12059
12032
|
chartId: UID;
|
|
12060
12033
|
definition: TreeMapChartDefinition;
|
|
12061
12034
|
onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
|
|
12062
12035
|
}
|
|
12063
|
-
declare class TreeMapColorScale extends Component<Props$
|
|
12036
|
+
declare class TreeMapColorScale extends Component<Props$8, SpreadsheetChildEnv> {
|
|
12064
12037
|
static template: string;
|
|
12065
12038
|
static components: {
|
|
12066
12039
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -12074,13 +12047,7 @@ declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv>
|
|
|
12074
12047
|
setColorScaleColor(point: "minColor" | "midColor" | "maxColor", color: string): void;
|
|
12075
12048
|
}
|
|
12076
12049
|
|
|
12077
|
-
|
|
12078
|
-
chartId: UID;
|
|
12079
|
-
definition: TreeMapChartDefinition;
|
|
12080
|
-
canUpdateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
12081
|
-
updateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
12082
|
-
}
|
|
12083
|
-
declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
|
|
12050
|
+
declare class TreeMapChartDesignPanel extends Component<ChartSidePanelProps<TreeMapChartDefinition>, SpreadsheetChildEnv> {
|
|
12084
12051
|
static template: string;
|
|
12085
12052
|
static components: {
|
|
12086
12053
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -12098,11 +12065,8 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
|
|
|
12098
12065
|
static props: {
|
|
12099
12066
|
chartId: StringConstructor;
|
|
12100
12067
|
definition: ObjectConstructor;
|
|
12068
|
+
canUpdateChart: FunctionConstructor;
|
|
12101
12069
|
updateChart: FunctionConstructor;
|
|
12102
|
-
canUpdateChart: {
|
|
12103
|
-
type: FunctionConstructor;
|
|
12104
|
-
optional: boolean;
|
|
12105
|
-
};
|
|
12106
12070
|
};
|
|
12107
12071
|
private savedColors;
|
|
12108
12072
|
defaults: {
|
|
@@ -12126,13 +12090,7 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
|
|
|
12126
12090
|
}[];
|
|
12127
12091
|
}
|
|
12128
12092
|
|
|
12129
|
-
|
|
12130
|
-
chartId: UID;
|
|
12131
|
-
definition: WaterfallChartDefinition;
|
|
12132
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
12133
|
-
updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
12134
|
-
}
|
|
12135
|
-
declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
|
|
12093
|
+
declare class WaterfallChartDesignPanel extends Component<ChartSidePanelProps<WaterfallChartDefinition>, SpreadsheetChildEnv> {
|
|
12136
12094
|
static template: string;
|
|
12137
12095
|
static components: {
|
|
12138
12096
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -12149,11 +12107,8 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
|
|
|
12149
12107
|
static props: {
|
|
12150
12108
|
chartId: StringConstructor;
|
|
12151
12109
|
definition: ObjectConstructor;
|
|
12110
|
+
canUpdateChart: FunctionConstructor;
|
|
12152
12111
|
updateChart: FunctionConstructor;
|
|
12153
|
-
canUpdateChart: {
|
|
12154
|
-
type: FunctionConstructor;
|
|
12155
|
-
optional: boolean;
|
|
12156
|
-
};
|
|
12157
12112
|
};
|
|
12158
12113
|
axisChoices: {
|
|
12159
12114
|
value: string;
|
|
@@ -13409,9 +13364,7 @@ declare const constants: {
|
|
|
13409
13364
|
};
|
|
13410
13365
|
ChartTerms: {
|
|
13411
13366
|
[key: string]: any;
|
|
13412
|
-
|
|
13413
|
-
ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
|
|
13414
|
-
};
|
|
13367
|
+
ColorScales: Record<Extract<ChartColorScale, string>, string>;
|
|
13415
13368
|
};
|
|
13416
13369
|
FIGURE_ID_SPLITTER: string;
|
|
13417
13370
|
GRID_ICON_EDGE_LENGTH: number;
|
|
@@ -13419,6 +13372,7 @@ declare const constants: {
|
|
|
13419
13372
|
};
|
|
13420
13373
|
declare const chartHelpers: {
|
|
13421
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;
|
|
13422
13376
|
getPyramidChartData(definition: PyramidChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
13423
13377
|
getLineChartData(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
13424
13378
|
getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
@@ -13434,6 +13388,12 @@ declare const chartHelpers: {
|
|
|
13434
13388
|
makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
|
|
13435
13389
|
getTopPaddingForDashboard(definition: GenericDefinition<PieChartDefinition | LineChartDefinition | BarChartDefinition>, getters: Getters): 0 | 30;
|
|
13436
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
|
+
};
|
|
13437
13397
|
getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
|
|
13438
13398
|
datasets: chart_js.ChartDataset[];
|
|
13439
13399
|
labels: string[];
|
|
@@ -13454,6 +13414,10 @@ declare const chartHelpers: {
|
|
|
13454
13414
|
autoPadding: boolean;
|
|
13455
13415
|
padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
|
|
13456
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;
|
|
13457
13421
|
getBarChartLegend(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
|
|
13458
13422
|
getLineChartLegend(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
|
|
13459
13423
|
getPieChartLegend(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
|
|
@@ -13468,6 +13432,8 @@ declare const chartHelpers: {
|
|
|
13468
13432
|
onClick: (event: any, legendItem: any, legend: any) => void;
|
|
13469
13433
|
};
|
|
13470
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;
|
|
13471
13437
|
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13472
13438
|
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13473
13439
|
getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
@@ -13485,12 +13451,15 @@ declare const chartHelpers: {
|
|
|
13485
13451
|
getFunnelChartScales(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13486
13452
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
13487
13453
|
}>;
|
|
13454
|
+
getRuntimeColorScale(colorScale: ChartColorScale, minValue?: number, maxValue?: number): (value: number) => Color;
|
|
13488
13455
|
getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13456
|
+
getCalendarChartShowValues(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13489
13457
|
getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
|
|
13490
13458
|
getPyramidChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13491
13459
|
getWaterfallChartShowValues(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13492
13460
|
getChartTitle(definition: ChartWithDataSetDefinition, getters: Getters): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
|
|
13493
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>>;
|
|
13494
13463
|
getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13495
13464
|
getPieChartTooltip(definition: PieChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13496
13465
|
getWaterfallChartTooltip(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
@@ -13575,4 +13544,4 @@ declare const chartHelpers: {
|
|
|
13575
13544
|
WaterfallChart: typeof WaterfallChart;
|
|
13576
13545
|
};
|
|
13577
13546
|
|
|
13578
|
-
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 };
|