@odoo/o-spreadsheet 18.5.0-alpha.3 → 18.5.0-alpha.5
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.cjs.js +291 -120
- package/dist/o-spreadsheet.d.ts +313 -159
- package/dist/o-spreadsheet.esm.js +291 -120
- package/dist/o-spreadsheet.iife.js +291 -120
- package/dist/o-spreadsheet.iife.min.js +419 -450
- package/dist/o_spreadsheet.xml +18 -14
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -5569,7 +5569,10 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
|
5569
5569
|
* The value must be canonicalized.
|
|
5570
5570
|
*/
|
|
5571
5571
|
getDataValidationInvalidCriterionValueMessage(criterionType: DataValidationCriterionType, value: string): string | undefined;
|
|
5572
|
-
getDataValidationRangeValues(sheetId: UID, criterion: EvaluatedCriterion):
|
|
5572
|
+
getDataValidationRangeValues(sheetId: UID, criterion: EvaluatedCriterion): {
|
|
5573
|
+
value: string;
|
|
5574
|
+
label: string;
|
|
5575
|
+
}[];
|
|
5573
5576
|
isCellValidCheckbox(cellPosition: CellPosition): boolean;
|
|
5574
5577
|
/** Get the validation result if the cell on the given position had the given value */
|
|
5575
5578
|
getValidationResultForCellValue(cellValue: CellValue, cellPosition: CellPosition): ValidationResult;
|
|
@@ -7015,7 +7018,7 @@ interface ChartSubtypeProperties {
|
|
|
7015
7018
|
preview: string;
|
|
7016
7019
|
}
|
|
7017
7020
|
|
|
7018
|
-
interface Props$
|
|
7021
|
+
interface Props$1n {
|
|
7019
7022
|
label?: string;
|
|
7020
7023
|
value: boolean;
|
|
7021
7024
|
className?: string;
|
|
@@ -7024,7 +7027,7 @@ interface Props$1j {
|
|
|
7024
7027
|
disabled?: boolean;
|
|
7025
7028
|
onChange: (value: boolean) => void;
|
|
7026
7029
|
}
|
|
7027
|
-
declare class Checkbox extends Component<Props$
|
|
7030
|
+
declare class Checkbox extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
7028
7031
|
static template: string;
|
|
7029
7032
|
static props: {
|
|
7030
7033
|
label: {
|
|
@@ -7059,10 +7062,10 @@ declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
|
7059
7062
|
onChange(ev: InputEvent): void;
|
|
7060
7063
|
}
|
|
7061
7064
|
|
|
7062
|
-
interface Props$
|
|
7065
|
+
interface Props$1m {
|
|
7063
7066
|
class?: string;
|
|
7064
7067
|
}
|
|
7065
|
-
declare class Section extends Component<Props$
|
|
7068
|
+
declare class Section extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
7066
7069
|
static template: string;
|
|
7067
7070
|
static props: {
|
|
7068
7071
|
class: {
|
|
@@ -7227,7 +7230,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7227
7230
|
getIndex(rangeId: number | null): number | null;
|
|
7228
7231
|
}
|
|
7229
7232
|
|
|
7230
|
-
interface Props$
|
|
7233
|
+
interface Props$1l {
|
|
7231
7234
|
ranges: string[];
|
|
7232
7235
|
hasSingleRange?: boolean;
|
|
7233
7236
|
required?: boolean;
|
|
@@ -7255,7 +7258,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7255
7258
|
* onSelectionChanged is called every time the input value
|
|
7256
7259
|
* changes.
|
|
7257
7260
|
*/
|
|
7258
|
-
declare class SelectionInput extends Component<Props$
|
|
7261
|
+
declare class SelectionInput extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
7259
7262
|
static template: string;
|
|
7260
7263
|
static props: {
|
|
7261
7264
|
ranges: ArrayConstructor;
|
|
@@ -7332,7 +7335,7 @@ declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
|
7332
7335
|
confirm(): void;
|
|
7333
7336
|
}
|
|
7334
7337
|
|
|
7335
|
-
interface Props$
|
|
7338
|
+
interface Props$1k {
|
|
7336
7339
|
ranges: CustomizedDataSet[];
|
|
7337
7340
|
hasSingleRange?: boolean;
|
|
7338
7341
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7345,7 +7348,7 @@ interface Props$1g {
|
|
|
7345
7348
|
canChangeDatasetOrientation?: boolean;
|
|
7346
7349
|
onFlipAxis?: (structure: string) => void;
|
|
7347
7350
|
}
|
|
7348
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7351
|
+
declare class ChartDataSeries extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
7349
7352
|
static template: string;
|
|
7350
7353
|
static components: {
|
|
7351
7354
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7394,12 +7397,12 @@ declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
7394
7397
|
get title(): string;
|
|
7395
7398
|
}
|
|
7396
7399
|
|
|
7397
|
-
interface Props$
|
|
7400
|
+
interface Props$1j {
|
|
7398
7401
|
messages: string[];
|
|
7399
7402
|
msgType: "warning" | "error" | "info";
|
|
7400
7403
|
singleBox?: boolean;
|
|
7401
7404
|
}
|
|
7402
|
-
declare class ValidationMessages extends Component<Props$
|
|
7405
|
+
declare class ValidationMessages extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
7403
7406
|
static template: string;
|
|
7404
7407
|
static props: {
|
|
7405
7408
|
messages: ArrayConstructor;
|
|
@@ -7413,10 +7416,10 @@ declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv
|
|
|
7413
7416
|
get alertBoxes(): string[][];
|
|
7414
7417
|
}
|
|
7415
7418
|
|
|
7416
|
-
interface Props$
|
|
7419
|
+
interface Props$1i {
|
|
7417
7420
|
messages: string[];
|
|
7418
7421
|
}
|
|
7419
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7422
|
+
declare class ChartErrorSection extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
7420
7423
|
static template: string;
|
|
7421
7424
|
static components: {
|
|
7422
7425
|
Section: typeof Section;
|
|
@@ -7430,7 +7433,7 @@ declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv>
|
|
|
7430
7433
|
};
|
|
7431
7434
|
}
|
|
7432
7435
|
|
|
7433
|
-
interface Props$
|
|
7436
|
+
interface Props$1h {
|
|
7434
7437
|
title?: string;
|
|
7435
7438
|
range: string;
|
|
7436
7439
|
isInvalid: boolean;
|
|
@@ -7443,7 +7446,7 @@ interface Props$1d {
|
|
|
7443
7446
|
onChange: (value: boolean) => void;
|
|
7444
7447
|
}>;
|
|
7445
7448
|
}
|
|
7446
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7449
|
+
declare class ChartLabelRange extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7447
7450
|
static template: string;
|
|
7448
7451
|
static components: {
|
|
7449
7452
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7464,10 +7467,10 @@ declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
|
7464
7467
|
optional: boolean;
|
|
7465
7468
|
};
|
|
7466
7469
|
};
|
|
7467
|
-
static defaultProps: Partial<Props$
|
|
7470
|
+
static defaultProps: Partial<Props$1h>;
|
|
7468
7471
|
}
|
|
7469
7472
|
|
|
7470
|
-
interface Props$
|
|
7473
|
+
interface Props$1g {
|
|
7471
7474
|
figureId: UID;
|
|
7472
7475
|
definition: ChartWithDataSetDefinition;
|
|
7473
7476
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7477,7 +7480,7 @@ interface ChartPanelState {
|
|
|
7477
7480
|
datasetDispatchResult?: DispatchResult;
|
|
7478
7481
|
labelsDispatchResult?: DispatchResult;
|
|
7479
7482
|
}
|
|
7480
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7483
|
+
declare class GenericChartConfigPanel extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
7481
7484
|
static template: string;
|
|
7482
7485
|
static components: {
|
|
7483
7486
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7546,11 +7549,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7546
7549
|
onUpdateStacked(stacked: boolean): void;
|
|
7547
7550
|
}
|
|
7548
7551
|
|
|
7549
|
-
interface Props$
|
|
7552
|
+
interface Props$1f {
|
|
7550
7553
|
isCollapsed: boolean;
|
|
7551
7554
|
slots: any;
|
|
7552
7555
|
}
|
|
7553
|
-
declare class Collapse extends Component<Props$
|
|
7556
|
+
declare class Collapse extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
7554
7557
|
static template: string;
|
|
7555
7558
|
static props: {
|
|
7556
7559
|
isCollapsed: BooleanConstructor;
|
|
@@ -7589,12 +7592,12 @@ interface Choice$1 {
|
|
|
7589
7592
|
value: string;
|
|
7590
7593
|
label: string;
|
|
7591
7594
|
}
|
|
7592
|
-
interface Props$
|
|
7595
|
+
interface Props$1e {
|
|
7593
7596
|
choices: Choice$1[];
|
|
7594
7597
|
onChange: (value: string) => void;
|
|
7595
7598
|
selectedValue: string;
|
|
7596
7599
|
}
|
|
7597
|
-
declare class BadgeSelection extends Component<Props$
|
|
7600
|
+
declare class BadgeSelection extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
7598
7601
|
static template: string;
|
|
7599
7602
|
static props: {
|
|
7600
7603
|
choices: ArrayConstructor;
|
|
@@ -7603,14 +7606,14 @@ declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
7603
7606
|
};
|
|
7604
7607
|
}
|
|
7605
7608
|
|
|
7606
|
-
interface Props$
|
|
7609
|
+
interface Props$1d {
|
|
7607
7610
|
action: ActionSpec;
|
|
7608
7611
|
hasTriangleDownIcon?: boolean;
|
|
7609
7612
|
selectedColor?: string;
|
|
7610
7613
|
class?: string;
|
|
7611
7614
|
onClick?: (ev: MouseEvent) => void;
|
|
7612
7615
|
}
|
|
7613
|
-
declare class ActionButton extends Component<Props$
|
|
7616
|
+
declare class ActionButton extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7614
7617
|
static template: string;
|
|
7615
7618
|
static props: {
|
|
7616
7619
|
action: ObjectConstructor;
|
|
@@ -7797,7 +7800,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7797
7800
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7798
7801
|
}
|
|
7799
7802
|
|
|
7800
|
-
interface Props$
|
|
7803
|
+
interface Props$1c {
|
|
7801
7804
|
currentColor: string | undefined;
|
|
7802
7805
|
toggleColorPicker: () => void;
|
|
7803
7806
|
showColorPicker: boolean;
|
|
@@ -7808,7 +7811,7 @@ interface Props$18 {
|
|
|
7808
7811
|
dropdownMaxHeight?: Pixel;
|
|
7809
7812
|
class?: string;
|
|
7810
7813
|
}
|
|
7811
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7814
|
+
declare class ColorPickerWidget extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7812
7815
|
static template: string;
|
|
7813
7816
|
static props: {
|
|
7814
7817
|
currentColor: {
|
|
@@ -7869,14 +7872,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7869
7872
|
interface State$5 {
|
|
7870
7873
|
isOpen: boolean;
|
|
7871
7874
|
}
|
|
7872
|
-
interface Props$
|
|
7875
|
+
interface Props$1b {
|
|
7873
7876
|
currentFontSize: number;
|
|
7874
7877
|
class: string;
|
|
7875
7878
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7876
7879
|
onToggle?: () => void;
|
|
7877
7880
|
onFocusInput?: () => void;
|
|
7878
7881
|
}
|
|
7879
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7882
|
+
declare class FontSizeEditor extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
7880
7883
|
static template: string;
|
|
7881
7884
|
static props: {
|
|
7882
7885
|
currentFontSize: NumberConstructor;
|
|
@@ -7914,7 +7917,7 @@ declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
7914
7917
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7915
7918
|
}
|
|
7916
7919
|
|
|
7917
|
-
interface Props$
|
|
7920
|
+
interface Props$1a {
|
|
7918
7921
|
class?: string;
|
|
7919
7922
|
style: ChartStyle;
|
|
7920
7923
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -7923,7 +7926,7 @@ interface Props$16 {
|
|
|
7923
7926
|
hasHorizontalAlign?: boolean;
|
|
7924
7927
|
hasBackgroundColor?: boolean;
|
|
7925
7928
|
}
|
|
7926
|
-
declare class TextStyler extends Component<Props$
|
|
7929
|
+
declare class TextStyler extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
7927
7930
|
static template: string;
|
|
7928
7931
|
static components: {
|
|
7929
7932
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7991,7 +7994,7 @@ declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
7991
7994
|
get verticalAlignActions(): ActionSpec[];
|
|
7992
7995
|
}
|
|
7993
7996
|
|
|
7994
|
-
interface Props$
|
|
7997
|
+
interface Props$19 {
|
|
7995
7998
|
title?: string;
|
|
7996
7999
|
placeholder?: string;
|
|
7997
8000
|
updateTitle: (title: string) => void;
|
|
@@ -8000,7 +8003,7 @@ interface Props$15 {
|
|
|
8000
8003
|
defaultStyle?: Partial<TitleDesign>;
|
|
8001
8004
|
updateStyle: (style: TitleDesign) => void;
|
|
8002
8005
|
}
|
|
8003
|
-
declare class ChartTitle extends Component<Props$
|
|
8006
|
+
declare class ChartTitle extends Component<Props$19, SpreadsheetChildEnv> {
|
|
8004
8007
|
static template: string;
|
|
8005
8008
|
static components: {
|
|
8006
8009
|
Section: typeof Section;
|
|
@@ -8037,13 +8040,13 @@ interface AxisDefinition {
|
|
|
8037
8040
|
id: string;
|
|
8038
8041
|
name: string;
|
|
8039
8042
|
}
|
|
8040
|
-
interface Props$
|
|
8043
|
+
interface Props$18 {
|
|
8041
8044
|
figureId: UID;
|
|
8042
8045
|
definition: ChartWithAxisDefinition;
|
|
8043
8046
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
8044
8047
|
axesList: AxisDefinition[];
|
|
8045
8048
|
}
|
|
8046
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
8049
|
+
declare class AxisDesignEditor extends Component<Props$18, SpreadsheetChildEnv> {
|
|
8047
8050
|
static template: string;
|
|
8048
8051
|
static components: {
|
|
8049
8052
|
Section: typeof Section;
|
|
@@ -8075,14 +8078,14 @@ interface Choice {
|
|
|
8075
8078
|
value: unknown;
|
|
8076
8079
|
label: string;
|
|
8077
8080
|
}
|
|
8078
|
-
interface Props$
|
|
8081
|
+
interface Props$17 {
|
|
8079
8082
|
choices: Choice[];
|
|
8080
8083
|
onChange: (value: unknown) => void;
|
|
8081
8084
|
selectedValue: string;
|
|
8082
8085
|
name: string;
|
|
8083
8086
|
direction: "horizontal" | "vertical";
|
|
8084
8087
|
}
|
|
8085
|
-
declare class RadioSelection extends Component<Props$
|
|
8088
|
+
declare class RadioSelection extends Component<Props$17, SpreadsheetChildEnv> {
|
|
8086
8089
|
static template: string;
|
|
8087
8090
|
static props: {
|
|
8088
8091
|
choices: ArrayConstructor;
|
|
@@ -8101,13 +8104,13 @@ declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
8101
8104
|
};
|
|
8102
8105
|
}
|
|
8103
8106
|
|
|
8104
|
-
interface Props$
|
|
8107
|
+
interface Props$16 {
|
|
8105
8108
|
currentColor?: string;
|
|
8106
8109
|
onColorPicked: (color: string) => void;
|
|
8107
8110
|
title?: string;
|
|
8108
8111
|
disableNoColor?: boolean;
|
|
8109
8112
|
}
|
|
8110
|
-
declare class RoundColorPicker extends Component<Props$
|
|
8113
|
+
declare class RoundColorPicker extends Component<Props$16, SpreadsheetChildEnv> {
|
|
8111
8114
|
static template: string;
|
|
8112
8115
|
static components: {
|
|
8113
8116
|
Section: typeof Section;
|
|
@@ -8140,14 +8143,14 @@ declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv>
|
|
|
8140
8143
|
get buttonStyle(): string;
|
|
8141
8144
|
}
|
|
8142
8145
|
|
|
8143
|
-
interface Props$
|
|
8146
|
+
interface Props$15 {
|
|
8144
8147
|
figureId: UID;
|
|
8145
8148
|
definition: ChartDefinition;
|
|
8146
8149
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8147
8150
|
canUpdateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8148
8151
|
defaultChartTitleFontSize?: number;
|
|
8149
8152
|
}
|
|
8150
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8153
|
+
declare class GeneralDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
|
|
8151
8154
|
static template: string;
|
|
8152
8155
|
static components: {
|
|
8153
8156
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8182,13 +8185,13 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
|
|
|
8182
8185
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8183
8186
|
}
|
|
8184
8187
|
|
|
8185
|
-
interface Props$
|
|
8188
|
+
interface Props$14 {
|
|
8186
8189
|
figureId: UID;
|
|
8187
8190
|
definition: ChartWithDataSetDefinition;
|
|
8188
8191
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8189
8192
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8190
8193
|
}
|
|
8191
|
-
declare class ChartLegend extends Component<Props$
|
|
8194
|
+
declare class ChartLegend extends Component<Props$14, SpreadsheetChildEnv> {
|
|
8192
8195
|
static template: string;
|
|
8193
8196
|
static components: {
|
|
8194
8197
|
Section: typeof Section;
|
|
@@ -8202,13 +8205,13 @@ declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
8202
8205
|
updateLegendPosition(ev: any): void;
|
|
8203
8206
|
}
|
|
8204
8207
|
|
|
8205
|
-
interface Props
|
|
8208
|
+
interface Props$13 {
|
|
8206
8209
|
figureId: UID;
|
|
8207
8210
|
definition: ChartWithDataSetDefinition;
|
|
8208
8211
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8209
8212
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8210
8213
|
}
|
|
8211
|
-
declare class SeriesDesignEditor extends Component<Props
|
|
8214
|
+
declare class SeriesDesignEditor extends Component<Props$13, SpreadsheetChildEnv> {
|
|
8212
8215
|
static template: string;
|
|
8213
8216
|
static components: {
|
|
8214
8217
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8236,13 +8239,13 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
|
|
|
8236
8239
|
getDataSeriesLabel(): string | undefined;
|
|
8237
8240
|
}
|
|
8238
8241
|
|
|
8239
|
-
interface Props$
|
|
8242
|
+
interface Props$12 {
|
|
8240
8243
|
figureId: UID;
|
|
8241
8244
|
definition: ChartWithDataSetDefinition;
|
|
8242
8245
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8243
8246
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8244
8247
|
}
|
|
8245
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8248
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$12, SpreadsheetChildEnv> {
|
|
8246
8249
|
static template: string;
|
|
8247
8250
|
static components: {
|
|
8248
8251
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8283,14 +8286,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
|
|
|
8283
8286
|
updateTrendLineValue(index: number, config: any): void;
|
|
8284
8287
|
}
|
|
8285
8288
|
|
|
8286
|
-
interface Props$
|
|
8289
|
+
interface Props$11 {
|
|
8287
8290
|
figureId: UID;
|
|
8288
8291
|
definition: ChartWithDataSetDefinition;
|
|
8289
8292
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8290
8293
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8291
8294
|
defaultValue?: boolean;
|
|
8292
8295
|
}
|
|
8293
|
-
declare class ChartShowValues extends Component<Props$
|
|
8296
|
+
declare class ChartShowValues extends Component<Props$11, SpreadsheetChildEnv> {
|
|
8294
8297
|
static template: string;
|
|
8295
8298
|
static components: {
|
|
8296
8299
|
Checkbox: typeof Checkbox;
|
|
@@ -8307,13 +8310,13 @@ declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
|
8307
8310
|
};
|
|
8308
8311
|
}
|
|
8309
8312
|
|
|
8310
|
-
interface Props$
|
|
8313
|
+
interface Props$10 {
|
|
8311
8314
|
figureId: UID;
|
|
8312
8315
|
definition: ChartWithDataSetDefinition;
|
|
8313
8316
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8314
8317
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8315
8318
|
}
|
|
8316
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8319
|
+
declare class ChartWithAxisDesignPanel<P extends Props$10 = Props$10> extends Component<P, SpreadsheetChildEnv> {
|
|
8317
8320
|
static template: string;
|
|
8318
8321
|
static components: {
|
|
8319
8322
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8333,13 +8336,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
|
|
|
8333
8336
|
get axesList(): AxisDefinition[];
|
|
8334
8337
|
}
|
|
8335
8338
|
|
|
8336
|
-
interface Props
|
|
8339
|
+
interface Props$$ {
|
|
8337
8340
|
figureId: UID;
|
|
8338
8341
|
definition: GaugeChartDefinition;
|
|
8339
8342
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8340
8343
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8341
8344
|
}
|
|
8342
|
-
declare class GaugeChartConfigPanel extends Component<Props
|
|
8345
|
+
declare class GaugeChartConfigPanel extends Component<Props$$, SpreadsheetChildEnv> {
|
|
8343
8346
|
static template: string;
|
|
8344
8347
|
static components: {
|
|
8345
8348
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8404,13 +8407,13 @@ interface EnrichedToken extends Token {
|
|
|
8404
8407
|
isInHoverContext?: boolean;
|
|
8405
8408
|
}
|
|
8406
8409
|
|
|
8407
|
-
interface Props$
|
|
8410
|
+
interface Props$_ {
|
|
8408
8411
|
proposals: AutoCompleteProposal[];
|
|
8409
8412
|
selectedIndex: number | undefined;
|
|
8410
8413
|
onValueSelected: (value: string) => void;
|
|
8411
8414
|
onValueHovered: (index: string) => void;
|
|
8412
8415
|
}
|
|
8413
|
-
declare class TextValueProvider extends Component<Props$
|
|
8416
|
+
declare class TextValueProvider extends Component<Props$_> {
|
|
8414
8417
|
static template: string;
|
|
8415
8418
|
static props: {
|
|
8416
8419
|
proposals: ArrayConstructor;
|
|
@@ -8467,11 +8470,11 @@ declare class ContentEditableHelper {
|
|
|
8467
8470
|
getText(): string;
|
|
8468
8471
|
}
|
|
8469
8472
|
|
|
8470
|
-
interface Props$
|
|
8473
|
+
interface Props$Z {
|
|
8471
8474
|
functionDescription: FunctionDescription;
|
|
8472
8475
|
argsToFocus: number[];
|
|
8473
8476
|
}
|
|
8474
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8477
|
+
declare class FunctionDescriptionProvider extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
8475
8478
|
static template: string;
|
|
8476
8479
|
static props: {
|
|
8477
8480
|
functionDescription: ObjectConstructor;
|
|
@@ -8482,15 +8485,15 @@ declare class FunctionDescriptionProvider extends Component<Props$V, Spreadsheet
|
|
|
8482
8485
|
};
|
|
8483
8486
|
private state;
|
|
8484
8487
|
toggle(): void;
|
|
8485
|
-
getContext(): Props$
|
|
8488
|
+
getContext(): Props$Z;
|
|
8486
8489
|
get formulaArgSeparator(): string;
|
|
8487
8490
|
}
|
|
8488
8491
|
|
|
8489
|
-
interface Props$
|
|
8492
|
+
interface Props$Y {
|
|
8490
8493
|
anchorRect: Rect;
|
|
8491
8494
|
content: string;
|
|
8492
8495
|
}
|
|
8493
|
-
declare class SpeechBubble extends Component<Props$
|
|
8496
|
+
declare class SpeechBubble extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
8494
8497
|
static template: string;
|
|
8495
8498
|
static props: {
|
|
8496
8499
|
content: StringConstructor;
|
|
@@ -8903,7 +8906,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8903
8906
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8904
8907
|
}
|
|
8905
8908
|
|
|
8906
|
-
interface Props$
|
|
8909
|
+
interface Props$X {
|
|
8907
8910
|
onConfirm: (content: string) => void;
|
|
8908
8911
|
composerContent: string;
|
|
8909
8912
|
defaultRangeSheetId: UID;
|
|
@@ -8915,7 +8918,7 @@ interface Props$T {
|
|
|
8915
8918
|
invalid?: boolean;
|
|
8916
8919
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8917
8920
|
}
|
|
8918
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8921
|
+
declare class StandaloneComposer extends Component<Props$X, SpreadsheetChildEnv> {
|
|
8919
8922
|
static template: string;
|
|
8920
8923
|
static props: {
|
|
8921
8924
|
composerContent: {
|
|
@@ -8978,13 +8981,13 @@ interface PanelState {
|
|
|
8978
8981
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8979
8982
|
sectionRule: SectionRule;
|
|
8980
8983
|
}
|
|
8981
|
-
interface Props$
|
|
8984
|
+
interface Props$W {
|
|
8982
8985
|
figureId: UID;
|
|
8983
8986
|
definition: GaugeChartDefinition;
|
|
8984
8987
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8985
8988
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8986
8989
|
}
|
|
8987
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8990
|
+
declare class GaugeChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
|
|
8988
8991
|
static template: string;
|
|
8989
8992
|
static components: {
|
|
8990
8993
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9034,13 +9037,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9034
9037
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9035
9038
|
}
|
|
9036
9039
|
|
|
9037
|
-
interface Props$
|
|
9040
|
+
interface Props$V {
|
|
9038
9041
|
figureId: UID;
|
|
9039
9042
|
definition: ScorecardChartDefinition;
|
|
9040
9043
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9041
9044
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9042
9045
|
}
|
|
9043
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
9046
|
+
declare class ScorecardChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
|
|
9044
9047
|
static template: string;
|
|
9045
9048
|
static components: {
|
|
9046
9049
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9069,13 +9072,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
|
|
|
9069
9072
|
}
|
|
9070
9073
|
|
|
9071
9074
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9072
|
-
interface Props$
|
|
9075
|
+
interface Props$U {
|
|
9073
9076
|
figureId: UID;
|
|
9074
9077
|
definition: ScorecardChartDefinition;
|
|
9075
9078
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9076
9079
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9077
9080
|
}
|
|
9078
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
9081
|
+
declare class ScorecardChartDesignPanel extends Component<Props$U, SpreadsheetChildEnv> {
|
|
9079
9082
|
static template: string;
|
|
9080
9083
|
static components: {
|
|
9081
9084
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9253,11 +9256,11 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
9253
9256
|
private setComposerContent;
|
|
9254
9257
|
}
|
|
9255
9258
|
|
|
9256
|
-
interface Props$
|
|
9259
|
+
interface Props$T {
|
|
9257
9260
|
figureUI: FigureUI;
|
|
9258
9261
|
isFullScreen?: boolean;
|
|
9259
9262
|
}
|
|
9260
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9263
|
+
declare class ChartJsComponent extends Component<Props$T, SpreadsheetChildEnv> {
|
|
9261
9264
|
static template: string;
|
|
9262
9265
|
static props: {
|
|
9263
9266
|
figureUI: ObjectConstructor;
|
|
@@ -9282,10 +9285,10 @@ declare class ChartJsComponent extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
9282
9285
|
get animationFigureId(): string;
|
|
9283
9286
|
}
|
|
9284
9287
|
|
|
9285
|
-
interface Props$
|
|
9288
|
+
interface Props$S {
|
|
9286
9289
|
figureUI: FigureUI;
|
|
9287
9290
|
}
|
|
9288
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9291
|
+
declare class ScorecardChart$1 extends Component<Props$S, SpreadsheetChildEnv> {
|
|
9289
9292
|
static template: string;
|
|
9290
9293
|
static props: {
|
|
9291
9294
|
figureUI: ObjectConstructor;
|
|
@@ -9361,7 +9364,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9361
9364
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9362
9365
|
}
|
|
9363
9366
|
|
|
9364
|
-
interface Props$
|
|
9367
|
+
interface Props$R {
|
|
9365
9368
|
anchorRect: Rect;
|
|
9366
9369
|
popoverPositioning: PopoverPropsPosition;
|
|
9367
9370
|
menuItems: Action[];
|
|
@@ -9381,7 +9384,7 @@ interface MenuState {
|
|
|
9381
9384
|
menuItems: Action[];
|
|
9382
9385
|
isHoveringChild?: boolean;
|
|
9383
9386
|
}
|
|
9384
|
-
declare class MenuPopover extends Component<Props$
|
|
9387
|
+
declare class MenuPopover extends Component<Props$R, SpreadsheetChildEnv> {
|
|
9385
9388
|
static template: string;
|
|
9386
9389
|
static props: {
|
|
9387
9390
|
anchorRect: ObjectConstructor;
|
|
@@ -9461,14 +9464,14 @@ declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9461
9464
|
}
|
|
9462
9465
|
|
|
9463
9466
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9464
|
-
interface Props$
|
|
9467
|
+
interface Props$Q {
|
|
9465
9468
|
figureUI: FigureUI;
|
|
9466
9469
|
style: string;
|
|
9467
9470
|
onFigureDeleted: () => void;
|
|
9468
9471
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9469
9472
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9470
9473
|
}
|
|
9471
|
-
declare class FigureComponent extends Component<Props$
|
|
9474
|
+
declare class FigureComponent extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
9472
9475
|
static template: string;
|
|
9473
9476
|
static props: {
|
|
9474
9477
|
figureUI: ObjectConstructor;
|
|
@@ -9518,7 +9521,7 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9518
9521
|
private openContextMenu;
|
|
9519
9522
|
}
|
|
9520
9523
|
|
|
9521
|
-
interface Props$
|
|
9524
|
+
interface Props$P {
|
|
9522
9525
|
figureUI: FigureUI;
|
|
9523
9526
|
}
|
|
9524
9527
|
interface MenuItem {
|
|
@@ -9528,7 +9531,7 @@ interface MenuItem {
|
|
|
9528
9531
|
onClick: () => void;
|
|
9529
9532
|
isSelected?: boolean;
|
|
9530
9533
|
}
|
|
9531
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9534
|
+
declare class ChartDashboardMenu extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9532
9535
|
static template: string;
|
|
9533
9536
|
static components: {
|
|
9534
9537
|
MenuPopover: typeof MenuPopover;
|
|
@@ -9536,25 +9539,21 @@ declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv>
|
|
|
9536
9539
|
static props: {
|
|
9537
9540
|
figureUI: ObjectConstructor;
|
|
9538
9541
|
};
|
|
9539
|
-
private originalChartDefinition;
|
|
9540
9542
|
private fullScreenFigureStore;
|
|
9543
|
+
private store;
|
|
9541
9544
|
private menuState;
|
|
9542
9545
|
setup(): void;
|
|
9543
9546
|
getMenuItems(): MenuItem[];
|
|
9544
|
-
get changeChartTypeMenuItems(): MenuItem[];
|
|
9545
|
-
getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
|
|
9546
|
-
onTypeChange(type: ChartType): void;
|
|
9547
|
-
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst" | "scorecard" | "gauge";
|
|
9548
9547
|
get backgroundColor(): string;
|
|
9549
9548
|
openContextMenu(ev: MouseEvent): void;
|
|
9550
9549
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9551
9550
|
}
|
|
9552
9551
|
|
|
9553
|
-
interface Props$
|
|
9552
|
+
interface Props$O {
|
|
9554
9553
|
figureUI: FigureUI;
|
|
9555
9554
|
onFigureDeleted: () => void;
|
|
9556
9555
|
}
|
|
9557
|
-
declare class ChartFigure extends Component<Props$
|
|
9556
|
+
declare class ChartFigure extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9558
9557
|
static template: string;
|
|
9559
9558
|
static props: {
|
|
9560
9559
|
figureUI: ObjectConstructor;
|
|
@@ -9579,7 +9578,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9579
9578
|
|
|
9580
9579
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9581
9580
|
|
|
9582
|
-
interface Props$
|
|
9581
|
+
interface Props$N {
|
|
9583
9582
|
isVisible: boolean;
|
|
9584
9583
|
position: Position;
|
|
9585
9584
|
}
|
|
@@ -9591,7 +9590,7 @@ interface State$4 {
|
|
|
9591
9590
|
position: Position;
|
|
9592
9591
|
handler: boolean;
|
|
9593
9592
|
}
|
|
9594
|
-
declare class Autofill extends Component<Props$
|
|
9593
|
+
declare class Autofill extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9595
9594
|
static template: string;
|
|
9596
9595
|
static props: {
|
|
9597
9596
|
position: ObjectConstructor;
|
|
@@ -9631,7 +9630,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9631
9630
|
get tagStyle(): string;
|
|
9632
9631
|
}
|
|
9633
9632
|
|
|
9634
|
-
interface Props$
|
|
9633
|
+
interface Props$M {
|
|
9635
9634
|
gridDims: DOMDimension;
|
|
9636
9635
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9637
9636
|
}
|
|
@@ -9639,7 +9638,7 @@ interface Props$I {
|
|
|
9639
9638
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9640
9639
|
* It also applies the style of the cell to the composer input.
|
|
9641
9640
|
*/
|
|
9642
|
-
declare class GridComposer extends Component<Props$
|
|
9641
|
+
declare class GridComposer extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9643
9642
|
static template: string;
|
|
9644
9643
|
static props: {
|
|
9645
9644
|
gridDims: ObjectConstructor;
|
|
@@ -9683,7 +9682,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9683
9682
|
}
|
|
9684
9683
|
|
|
9685
9684
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9686
|
-
interface Props$
|
|
9685
|
+
interface Props$L {
|
|
9687
9686
|
onFigureDeleted: () => void;
|
|
9688
9687
|
}
|
|
9689
9688
|
interface Container {
|
|
@@ -9763,7 +9762,7 @@ interface DndState {
|
|
|
9763
9762
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9764
9763
|
*
|
|
9765
9764
|
*/
|
|
9766
|
-
declare class FiguresContainer extends Component<Props$
|
|
9765
|
+
declare class FiguresContainer extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9767
9766
|
static template: string;
|
|
9768
9767
|
static props: {
|
|
9769
9768
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9799,10 +9798,10 @@ declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
|
|
|
9799
9798
|
private getSnapLineStyle;
|
|
9800
9799
|
}
|
|
9801
9800
|
|
|
9802
|
-
interface Props$
|
|
9801
|
+
interface Props$K {
|
|
9803
9802
|
focusGrid: () => void;
|
|
9804
9803
|
}
|
|
9805
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9804
|
+
declare class GridAddRowsFooter extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9806
9805
|
static template: string;
|
|
9807
9806
|
static props: {
|
|
9808
9807
|
focusGrid: FunctionConstructor;
|
|
@@ -9826,7 +9825,7 @@ declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv>
|
|
|
9826
9825
|
private onExternalClick;
|
|
9827
9826
|
}
|
|
9828
9827
|
|
|
9829
|
-
interface Props$
|
|
9828
|
+
interface Props$J {
|
|
9830
9829
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9831
9830
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
|
|
9832
9831
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9839,7 +9838,7 @@ interface Props$F {
|
|
|
9839
9838
|
height: number;
|
|
9840
9839
|
};
|
|
9841
9840
|
}
|
|
9842
|
-
declare class GridOverlay extends Component<Props$
|
|
9841
|
+
declare class GridOverlay extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9843
9842
|
static template: string;
|
|
9844
9843
|
static props: {
|
|
9845
9844
|
onCellDoubleClicked: {
|
|
@@ -9899,12 +9898,12 @@ declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
9899
9898
|
private getInteractiveIconAtEvent;
|
|
9900
9899
|
}
|
|
9901
9900
|
|
|
9902
|
-
interface Props$
|
|
9901
|
+
interface Props$I {
|
|
9903
9902
|
gridRect: Rect;
|
|
9904
9903
|
onClosePopover: () => void;
|
|
9905
9904
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9906
9905
|
}
|
|
9907
|
-
declare class GridPopover extends Component<Props$
|
|
9906
|
+
declare class GridPopover extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9908
9907
|
static template: string;
|
|
9909
9908
|
static props: {
|
|
9910
9909
|
onClosePopover: FunctionConstructor;
|
|
@@ -9920,7 +9919,7 @@ declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
9920
9919
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
9921
9920
|
}
|
|
9922
9921
|
|
|
9923
|
-
interface Props$
|
|
9922
|
+
interface Props$H {
|
|
9924
9923
|
headersGroups: ConsecutiveIndexes[];
|
|
9925
9924
|
offset: number;
|
|
9926
9925
|
headerRange: {
|
|
@@ -9928,7 +9927,7 @@ interface Props$D {
|
|
|
9928
9927
|
end: HeaderIndex;
|
|
9929
9928
|
};
|
|
9930
9929
|
}
|
|
9931
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
9930
|
+
declare class UnhideRowHeaders extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9932
9931
|
static template: string;
|
|
9933
9932
|
static props: {
|
|
9934
9933
|
headersGroups: ArrayConstructor;
|
|
@@ -9947,7 +9946,7 @@ declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
9947
9946
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
9948
9947
|
isVisible(header: HeaderIndex): boolean;
|
|
9949
9948
|
}
|
|
9950
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
9949
|
+
declare class UnhideColumnHeaders extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9951
9950
|
static template: string;
|
|
9952
9951
|
static props: {
|
|
9953
9952
|
headersGroups: ArrayConstructor;
|
|
@@ -10140,13 +10139,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10140
10139
|
}
|
|
10141
10140
|
|
|
10142
10141
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10143
|
-
interface Props$
|
|
10142
|
+
interface Props$G {
|
|
10144
10143
|
zone: Zone;
|
|
10145
10144
|
orientation: Orientation$1;
|
|
10146
10145
|
isMoving: boolean;
|
|
10147
10146
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10148
10147
|
}
|
|
10149
|
-
declare class Border extends Component<Props$
|
|
10148
|
+
declare class Border extends Component<Props$G, SpreadsheetChildEnv> {
|
|
10150
10149
|
static template: string;
|
|
10151
10150
|
static props: {
|
|
10152
10151
|
zone: ObjectConstructor;
|
|
@@ -10159,14 +10158,14 @@ declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
10159
10158
|
}
|
|
10160
10159
|
|
|
10161
10160
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10162
|
-
interface Props$
|
|
10161
|
+
interface Props$F {
|
|
10163
10162
|
zone: Zone;
|
|
10164
10163
|
color: Color;
|
|
10165
10164
|
orientation: Orientation;
|
|
10166
10165
|
isResizing: boolean;
|
|
10167
10166
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10168
10167
|
}
|
|
10169
|
-
declare class Corner extends Component<Props$
|
|
10168
|
+
declare class Corner extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10170
10169
|
static template: string;
|
|
10171
10170
|
static props: {
|
|
10172
10171
|
zone: ObjectConstructor;
|
|
@@ -10215,7 +10214,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10215
10214
|
|
|
10216
10215
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10217
10216
|
|
|
10218
|
-
interface Props$
|
|
10217
|
+
interface Props$E {
|
|
10219
10218
|
width: Pixel;
|
|
10220
10219
|
height: Pixel;
|
|
10221
10220
|
direction: ScrollDirection;
|
|
@@ -10223,7 +10222,7 @@ interface Props$A {
|
|
|
10223
10222
|
offset: Pixel;
|
|
10224
10223
|
onScroll: (offset: Pixel) => void;
|
|
10225
10224
|
}
|
|
10226
|
-
declare class ScrollBar extends Component<Props$
|
|
10225
|
+
declare class ScrollBar extends Component<Props$E> {
|
|
10227
10226
|
static props: {
|
|
10228
10227
|
width: {
|
|
10229
10228
|
type: NumberConstructor;
|
|
@@ -10251,10 +10250,10 @@ declare class ScrollBar extends Component<Props$A> {
|
|
|
10251
10250
|
onScroll(ev: any): void;
|
|
10252
10251
|
}
|
|
10253
10252
|
|
|
10254
|
-
interface Props$
|
|
10253
|
+
interface Props$D {
|
|
10255
10254
|
leftOffset: number;
|
|
10256
10255
|
}
|
|
10257
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10256
|
+
declare class HorizontalScrollBar extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10258
10257
|
static props: {
|
|
10259
10258
|
leftOffset: {
|
|
10260
10259
|
type: NumberConstructor;
|
|
@@ -10280,10 +10279,10 @@ declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv
|
|
|
10280
10279
|
onScroll(offset: any): void;
|
|
10281
10280
|
}
|
|
10282
10281
|
|
|
10283
|
-
interface Props$
|
|
10282
|
+
interface Props$C {
|
|
10284
10283
|
topOffset: number;
|
|
10285
10284
|
}
|
|
10286
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10285
|
+
declare class VerticalScrollBar extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10287
10286
|
static props: {
|
|
10288
10287
|
topOffset: {
|
|
10289
10288
|
type: NumberConstructor;
|
|
@@ -10318,13 +10317,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10318
10317
|
get highlightProps(): HighlightProps;
|
|
10319
10318
|
}
|
|
10320
10319
|
|
|
10321
|
-
interface Props$
|
|
10320
|
+
interface Props$B {
|
|
10322
10321
|
table: Table;
|
|
10323
10322
|
}
|
|
10324
10323
|
interface State$3 {
|
|
10325
10324
|
highlightZone: Zone | undefined;
|
|
10326
10325
|
}
|
|
10327
|
-
declare class TableResizer extends Component<Props$
|
|
10326
|
+
declare class TableResizer extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10328
10327
|
static template: string;
|
|
10329
10328
|
static props: {
|
|
10330
10329
|
table: ObjectConstructor;
|
|
@@ -10353,11 +10352,11 @@ declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
10353
10352
|
* - a vertical resizer (same, for rows)
|
|
10354
10353
|
*/
|
|
10355
10354
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10356
|
-
interface Props$
|
|
10355
|
+
interface Props$A {
|
|
10357
10356
|
exposeFocus: (focus: () => void) => void;
|
|
10358
10357
|
getGridSize: () => DOMDimension;
|
|
10359
10358
|
}
|
|
10360
|
-
declare class Grid extends Component<Props$
|
|
10359
|
+
declare class Grid extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10361
10360
|
static template: string;
|
|
10362
10361
|
static props: {
|
|
10363
10362
|
exposeFocus: FunctionConstructor;
|
|
@@ -10473,7 +10472,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10473
10472
|
private getChartDefinitionFromContextCreation;
|
|
10474
10473
|
}
|
|
10475
10474
|
|
|
10476
|
-
interface Props$
|
|
10475
|
+
interface Props$z {
|
|
10477
10476
|
figureId: UID;
|
|
10478
10477
|
chartPanelStore: MainChartPanelStore;
|
|
10479
10478
|
}
|
|
@@ -10481,7 +10480,7 @@ interface ChartTypePickerState {
|
|
|
10481
10480
|
popoverProps: PopoverProps | undefined;
|
|
10482
10481
|
popoverStyle: string;
|
|
10483
10482
|
}
|
|
10484
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10483
|
+
declare class ChartTypePicker extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10485
10484
|
static template: string;
|
|
10486
10485
|
static components: {
|
|
10487
10486
|
Section: typeof Section;
|
|
@@ -10517,11 +10516,11 @@ declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
10517
10516
|
private closePopover;
|
|
10518
10517
|
}
|
|
10519
10518
|
|
|
10520
|
-
interface Props$
|
|
10519
|
+
interface Props$y {
|
|
10521
10520
|
onCloseSidePanel: () => void;
|
|
10522
10521
|
figureId: UID;
|
|
10523
10522
|
}
|
|
10524
|
-
declare class ChartPanel extends Component<Props$
|
|
10523
|
+
declare class ChartPanel extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10525
10524
|
static template: string;
|
|
10526
10525
|
static components: {
|
|
10527
10526
|
Section: typeof Section;
|
|
@@ -10544,11 +10543,11 @@ declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10544
10543
|
private getChartDefinition;
|
|
10545
10544
|
}
|
|
10546
10545
|
|
|
10547
|
-
interface Props$
|
|
10546
|
+
interface Props$x {
|
|
10548
10547
|
onValueChange: (value: number) => void;
|
|
10549
10548
|
value: number;
|
|
10550
10549
|
}
|
|
10551
|
-
declare class PieHoleSize extends Component<Props$
|
|
10550
|
+
declare class PieHoleSize extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10552
10551
|
static template: string;
|
|
10553
10552
|
static components: {
|
|
10554
10553
|
Section: typeof Section;
|
|
@@ -10561,13 +10560,13 @@ declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10561
10560
|
onChange(value: string): void;
|
|
10562
10561
|
}
|
|
10563
10562
|
|
|
10564
|
-
interface Props$
|
|
10563
|
+
interface Props$w {
|
|
10565
10564
|
figureId: UID;
|
|
10566
10565
|
definition: PieChartDefinition;
|
|
10567
10566
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10568
10567
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10569
10568
|
}
|
|
10570
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10569
|
+
declare class PieChartDesignPanel extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10571
10570
|
static template: string;
|
|
10572
10571
|
static components: {
|
|
10573
10572
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10589,10 +10588,10 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
|
|
|
10589
10588
|
get defaultHoleSize(): number;
|
|
10590
10589
|
}
|
|
10591
10590
|
|
|
10592
|
-
interface Props$
|
|
10591
|
+
interface Props$v {
|
|
10593
10592
|
items: ActionSpec[];
|
|
10594
10593
|
}
|
|
10595
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10594
|
+
declare class CogWheelMenu extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10596
10595
|
static template: string;
|
|
10597
10596
|
static components: {
|
|
10598
10597
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10675,14 +10674,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10675
10674
|
get highlights(): Highlight$1[];
|
|
10676
10675
|
}
|
|
10677
10676
|
|
|
10678
|
-
interface Props$
|
|
10677
|
+
interface Props$u {
|
|
10679
10678
|
deferUpdate: boolean;
|
|
10680
10679
|
isDirty: boolean;
|
|
10681
10680
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10682
10681
|
discard: () => void;
|
|
10683
10682
|
apply: () => void;
|
|
10684
10683
|
}
|
|
10685
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10684
|
+
declare class PivotDeferUpdate extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10686
10685
|
static template: string;
|
|
10687
10686
|
static props: {
|
|
10688
10687
|
deferUpdate: BooleanConstructor;
|
|
@@ -10699,11 +10698,11 @@ declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
10699
10698
|
get deferUpdatesTooltip(): string;
|
|
10700
10699
|
}
|
|
10701
10700
|
|
|
10702
|
-
interface Props$
|
|
10701
|
+
interface Props$t {
|
|
10703
10702
|
onFieldPicked: (field: string) => void;
|
|
10704
10703
|
fields: PivotField[];
|
|
10705
10704
|
}
|
|
10706
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10705
|
+
declare class AddDimensionButton extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10707
10706
|
static template: string;
|
|
10708
10707
|
static components: {
|
|
10709
10708
|
Popover: typeof Popover;
|
|
@@ -10739,7 +10738,7 @@ declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv>
|
|
|
10739
10738
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10740
10739
|
}
|
|
10741
10740
|
|
|
10742
|
-
interface Props$
|
|
10741
|
+
interface Props$s {
|
|
10743
10742
|
value: string;
|
|
10744
10743
|
onChange: (value: string) => void;
|
|
10745
10744
|
class?: string;
|
|
@@ -10747,7 +10746,7 @@ interface Props$o {
|
|
|
10747
10746
|
placeholder?: string;
|
|
10748
10747
|
autofocus?: boolean;
|
|
10749
10748
|
}
|
|
10750
|
-
declare class TextInput extends Component<Props$
|
|
10749
|
+
declare class TextInput extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10751
10750
|
static template: string;
|
|
10752
10751
|
static props: {
|
|
10753
10752
|
value: StringConstructor;
|
|
@@ -10777,13 +10776,13 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
10777
10776
|
onMouseUp(ev: MouseEvent): void;
|
|
10778
10777
|
}
|
|
10779
10778
|
|
|
10780
|
-
interface Props$
|
|
10779
|
+
interface Props$r {
|
|
10781
10780
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10782
10781
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10783
10782
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10784
10783
|
type: "row" | "col" | "measure";
|
|
10785
10784
|
}
|
|
10786
|
-
declare class PivotDimension extends Component<Props$
|
|
10785
|
+
declare class PivotDimension extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10787
10786
|
static template: string;
|
|
10788
10787
|
static props: {
|
|
10789
10788
|
dimension: ObjectConstructor;
|
|
@@ -10807,13 +10806,13 @@ declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
10807
10806
|
updateName(name: string): void;
|
|
10808
10807
|
}
|
|
10809
10808
|
|
|
10810
|
-
interface Props$
|
|
10809
|
+
interface Props$q {
|
|
10811
10810
|
dimension: PivotDimension$1;
|
|
10812
10811
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10813
10812
|
availableGranularities: Set<string>;
|
|
10814
10813
|
allGranularities: string[];
|
|
10815
10814
|
}
|
|
10816
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
10815
|
+
declare class PivotDimensionGranularity extends Component<Props$q, SpreadsheetChildEnv> {
|
|
10817
10816
|
static template: string;
|
|
10818
10817
|
static props: {
|
|
10819
10818
|
dimension: ObjectConstructor;
|
|
@@ -10838,11 +10837,11 @@ declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetCh
|
|
|
10838
10837
|
};
|
|
10839
10838
|
}
|
|
10840
10839
|
|
|
10841
|
-
interface Props$
|
|
10840
|
+
interface Props$p {
|
|
10842
10841
|
dimension: PivotDimension$1;
|
|
10843
10842
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10844
10843
|
}
|
|
10845
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
10844
|
+
declare class PivotDimensionOrder extends Component<Props$p, SpreadsheetChildEnv> {
|
|
10846
10845
|
static template: string;
|
|
10847
10846
|
static props: {
|
|
10848
10847
|
dimension: ObjectConstructor;
|
|
@@ -10878,7 +10877,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10878
10877
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: Maybe<CellValue | FunctionResultObject>): CellValue;
|
|
10879
10878
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
10880
10879
|
|
|
10881
|
-
interface Props$
|
|
10880
|
+
interface Props$o {
|
|
10882
10881
|
pivotId: string;
|
|
10883
10882
|
definition: PivotRuntimeDefinition;
|
|
10884
10883
|
measure: PivotMeasure;
|
|
@@ -10886,7 +10885,7 @@ interface Props$k {
|
|
|
10886
10885
|
onRemoved: () => void;
|
|
10887
10886
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10888
10887
|
}
|
|
10889
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
10888
|
+
declare class PivotMeasureEditor extends Component<Props$o> {
|
|
10890
10889
|
static template: string;
|
|
10891
10890
|
static components: {
|
|
10892
10891
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10911,11 +10910,11 @@ declare class PivotMeasureEditor extends Component<Props$k> {
|
|
|
10911
10910
|
get isCalculatedMeasureInvalid(): boolean;
|
|
10912
10911
|
}
|
|
10913
10912
|
|
|
10914
|
-
interface Props$
|
|
10913
|
+
interface Props$n {
|
|
10915
10914
|
definition: PivotRuntimeDefinition;
|
|
10916
10915
|
pivotId: UID;
|
|
10917
10916
|
}
|
|
10918
|
-
declare class PivotSortSection extends Component<Props$
|
|
10917
|
+
declare class PivotSortSection extends Component<Props$n, SpreadsheetChildEnv> {
|
|
10919
10918
|
static template: string;
|
|
10920
10919
|
static components: {
|
|
10921
10920
|
Section: typeof Section;
|
|
@@ -10932,7 +10931,7 @@ declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
10932
10931
|
}[];
|
|
10933
10932
|
}
|
|
10934
10933
|
|
|
10935
|
-
interface Props$
|
|
10934
|
+
interface Props$m {
|
|
10936
10935
|
definition: PivotRuntimeDefinition;
|
|
10937
10936
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10938
10937
|
unusedGroupableFields: PivotField[];
|
|
@@ -10943,7 +10942,7 @@ interface Props$i {
|
|
|
10943
10942
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10944
10943
|
pivotId: UID;
|
|
10945
10944
|
}
|
|
10946
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
10945
|
+
declare class PivotLayoutConfigurator extends Component<Props$m, SpreadsheetChildEnv> {
|
|
10947
10946
|
static template: string;
|
|
10948
10947
|
static components: {
|
|
10949
10948
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -11034,11 +11033,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11034
11033
|
private areDomainFieldsValid;
|
|
11035
11034
|
}
|
|
11036
11035
|
|
|
11037
|
-
interface Props$
|
|
11036
|
+
interface Props$l {
|
|
11038
11037
|
pivotId: UID;
|
|
11039
11038
|
flipAxis: () => void;
|
|
11040
11039
|
}
|
|
11041
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11040
|
+
declare class PivotTitleSection extends Component<Props$l, SpreadsheetChildEnv> {
|
|
11042
11041
|
static template: string;
|
|
11043
11042
|
static components: {
|
|
11044
11043
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11135,6 +11134,23 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
11135
11134
|
*/
|
|
11136
11135
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
11137
11136
|
|
|
11137
|
+
declare class ChartDashboardMenuStore extends SpreadsheetStore {
|
|
11138
|
+
private chartId;
|
|
11139
|
+
mutators: readonly ["reset"];
|
|
11140
|
+
private originalChartDefinition;
|
|
11141
|
+
constructor(get: Get, chartId: UID);
|
|
11142
|
+
get changeChartTypeMenuItems(): {
|
|
11143
|
+
id: "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst" | "scorecard" | "gauge";
|
|
11144
|
+
label: string;
|
|
11145
|
+
onClick: () => void;
|
|
11146
|
+
isSelected: boolean;
|
|
11147
|
+
iconClass: string;
|
|
11148
|
+
}[];
|
|
11149
|
+
reset(chartId: UID): void;
|
|
11150
|
+
private updateType;
|
|
11151
|
+
private getIconClasses;
|
|
11152
|
+
}
|
|
11153
|
+
|
|
11138
11154
|
declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
11139
11155
|
static template: string;
|
|
11140
11156
|
static props: {};
|
|
@@ -11170,7 +11186,7 @@ interface PivotDialogValue {
|
|
|
11170
11186
|
value: string;
|
|
11171
11187
|
isMissing: boolean;
|
|
11172
11188
|
}
|
|
11173
|
-
interface Props$
|
|
11189
|
+
interface Props$k {
|
|
11174
11190
|
pivotId: UID;
|
|
11175
11191
|
onCellClicked: (formula: string) => void;
|
|
11176
11192
|
}
|
|
@@ -11179,7 +11195,7 @@ interface TableData {
|
|
|
11179
11195
|
rows: PivotDialogRow[];
|
|
11180
11196
|
values: PivotDialogValue[][];
|
|
11181
11197
|
}
|
|
11182
|
-
declare class PivotHTMLRenderer extends Component<Props$
|
|
11198
|
+
declare class PivotHTMLRenderer extends Component<Props$k, SpreadsheetChildEnv> {
|
|
11183
11199
|
static template: string;
|
|
11184
11200
|
static components: {
|
|
11185
11201
|
Checkbox: typeof Checkbox;
|
|
@@ -11236,13 +11252,13 @@ declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv>
|
|
|
11236
11252
|
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
11237
11253
|
}
|
|
11238
11254
|
|
|
11239
|
-
interface Props$
|
|
11255
|
+
interface Props$j {
|
|
11240
11256
|
figureId: UID;
|
|
11241
11257
|
definition: ChartWithDataSetDefinition;
|
|
11242
11258
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11243
11259
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11244
11260
|
}
|
|
11245
|
-
declare class ChartShowDataMarkers extends Component<Props$
|
|
11261
|
+
declare class ChartShowDataMarkers extends Component<Props$j, SpreadsheetChildEnv> {
|
|
11246
11262
|
static template: string;
|
|
11247
11263
|
static components: {
|
|
11248
11264
|
Checkbox: typeof Checkbox;
|
|
@@ -11255,13 +11271,13 @@ declare class ChartShowDataMarkers extends Component<Props$f, SpreadsheetChildEn
|
|
|
11255
11271
|
};
|
|
11256
11272
|
}
|
|
11257
11273
|
|
|
11258
|
-
interface Props$
|
|
11274
|
+
interface Props$i {
|
|
11259
11275
|
figureId: UID;
|
|
11260
11276
|
definition: ComboChartDefinition;
|
|
11261
11277
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11262
11278
|
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11263
11279
|
}
|
|
11264
|
-
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11280
|
+
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$i> {
|
|
11265
11281
|
static template: string;
|
|
11266
11282
|
static components: {
|
|
11267
11283
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
@@ -11282,13 +11298,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
|
|
|
11282
11298
|
getDataSeriesType(index: number): "line" | "bar";
|
|
11283
11299
|
}
|
|
11284
11300
|
|
|
11285
|
-
interface Props$
|
|
11301
|
+
interface Props$h {
|
|
11286
11302
|
figureId: UID;
|
|
11287
11303
|
definition: FunnelChartDefinition;
|
|
11288
11304
|
canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11289
11305
|
updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11290
11306
|
}
|
|
11291
|
-
declare class FunnelChartDesignPanel extends Component<Props$
|
|
11307
|
+
declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
|
|
11292
11308
|
static template: string;
|
|
11293
11309
|
static components: {
|
|
11294
11310
|
ChartShowValues: typeof ChartShowValues;
|
|
@@ -11310,13 +11326,13 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
|
|
|
11310
11326
|
updateFunnelItemColor(index: number, color: string): void;
|
|
11311
11327
|
}
|
|
11312
11328
|
|
|
11313
|
-
interface Props$
|
|
11329
|
+
interface Props$g {
|
|
11314
11330
|
figureId: UID;
|
|
11315
11331
|
definition: GeoChartDefinition;
|
|
11316
11332
|
canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11317
11333
|
updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11318
11334
|
}
|
|
11319
|
-
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11335
|
+
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
|
|
11320
11336
|
static template: string;
|
|
11321
11337
|
static components: {
|
|
11322
11338
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -11340,12 +11356,12 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
|
|
|
11340
11356
|
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11341
11357
|
}
|
|
11342
11358
|
|
|
11343
|
-
interface Props$
|
|
11359
|
+
interface Props$f {
|
|
11344
11360
|
figureId: UID;
|
|
11345
11361
|
definition: GeoChartDefinition;
|
|
11346
11362
|
updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11347
11363
|
}
|
|
11348
|
-
declare class GeoChartRegionSelectSection extends Component<Props$
|
|
11364
|
+
declare class GeoChartRegionSelectSection extends Component<Props$f, SpreadsheetChildEnv> {
|
|
11349
11365
|
static template: string;
|
|
11350
11366
|
static components: {
|
|
11351
11367
|
Section: typeof Section;
|
|
@@ -11360,13 +11376,13 @@ declare class GeoChartRegionSelectSection extends Component<Props$b, Spreadsheet
|
|
|
11360
11376
|
get selectedRegion(): string;
|
|
11361
11377
|
}
|
|
11362
11378
|
|
|
11363
|
-
interface Props$
|
|
11379
|
+
interface Props$e {
|
|
11364
11380
|
figureId: UID;
|
|
11365
11381
|
definition: ComboChartDefinition;
|
|
11366
11382
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11367
11383
|
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11368
11384
|
}
|
|
11369
|
-
declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11385
|
+
declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
|
|
11370
11386
|
static template: string;
|
|
11371
11387
|
static components: {
|
|
11372
11388
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
@@ -11380,13 +11396,13 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
|
|
|
11380
11396
|
};
|
|
11381
11397
|
}
|
|
11382
11398
|
|
|
11383
|
-
interface Props$
|
|
11399
|
+
interface Props$d {
|
|
11384
11400
|
figureId: UID;
|
|
11385
11401
|
definition: RadarChartDefinition;
|
|
11386
11402
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11387
11403
|
updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11388
11404
|
}
|
|
11389
|
-
declare class RadarChartDesignPanel extends Component<Props$
|
|
11405
|
+
declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
|
|
11390
11406
|
static template: string;
|
|
11391
11407
|
static components: {
|
|
11392
11408
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11404,6 +11420,141 @@ declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildE
|
|
|
11404
11420
|
};
|
|
11405
11421
|
}
|
|
11406
11422
|
|
|
11423
|
+
interface Props$c {
|
|
11424
|
+
figureId: UID;
|
|
11425
|
+
definition: SunburstChartDefinition;
|
|
11426
|
+
canUpdateChart: (figureID: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11427
|
+
updateChart: (figureId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11428
|
+
}
|
|
11429
|
+
declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
|
|
11430
|
+
static template: string;
|
|
11431
|
+
static components: {
|
|
11432
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11433
|
+
Section: typeof Section;
|
|
11434
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11435
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11436
|
+
Checkbox: typeof Checkbox;
|
|
11437
|
+
TextStyler: typeof TextStyler;
|
|
11438
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11439
|
+
ChartLegend: typeof ChartLegend;
|
|
11440
|
+
PieHoleSize: typeof PieHoleSize;
|
|
11441
|
+
};
|
|
11442
|
+
static props: {
|
|
11443
|
+
figureId: StringConstructor;
|
|
11444
|
+
definition: ObjectConstructor;
|
|
11445
|
+
updateChart: FunctionConstructor;
|
|
11446
|
+
canUpdateChart: {
|
|
11447
|
+
type: FunctionConstructor;
|
|
11448
|
+
optional: boolean;
|
|
11449
|
+
};
|
|
11450
|
+
};
|
|
11451
|
+
defaults: {
|
|
11452
|
+
showValues: boolean;
|
|
11453
|
+
showLabels: boolean;
|
|
11454
|
+
valuesDesign: ChartStyle;
|
|
11455
|
+
};
|
|
11456
|
+
get showValues(): boolean;
|
|
11457
|
+
get showLabels(): boolean;
|
|
11458
|
+
get groupColors(): {
|
|
11459
|
+
label: string;
|
|
11460
|
+
color: Color;
|
|
11461
|
+
}[];
|
|
11462
|
+
onGroupColorChanged(index: number, color: string): void;
|
|
11463
|
+
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
11464
|
+
}
|
|
11465
|
+
|
|
11466
|
+
interface Props$b {
|
|
11467
|
+
figureId: UID;
|
|
11468
|
+
definition: TreeMapChartDefinition;
|
|
11469
|
+
onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
|
|
11470
|
+
}
|
|
11471
|
+
declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildEnv> {
|
|
11472
|
+
static template: string;
|
|
11473
|
+
static components: {
|
|
11474
|
+
Checkbox: typeof Checkbox;
|
|
11475
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11476
|
+
};
|
|
11477
|
+
static props: {
|
|
11478
|
+
figureId: StringConstructor;
|
|
11479
|
+
definition: ObjectConstructor;
|
|
11480
|
+
onColorChanged: FunctionConstructor;
|
|
11481
|
+
};
|
|
11482
|
+
get coloringOptions(): TreeMapCategoryColorOptions;
|
|
11483
|
+
getTreeGroupAndColors(): chart_js_dist_types_utils._DeepPartialArray<TreeMapGroupColor>;
|
|
11484
|
+
onGroupColorChanged(index: number, color: string): void;
|
|
11485
|
+
useValueBasedGradient(useValueBasedGradient: boolean): void;
|
|
11486
|
+
}
|
|
11487
|
+
|
|
11488
|
+
interface Props$a {
|
|
11489
|
+
figureId: UID;
|
|
11490
|
+
definition: TreeMapChartDefinition;
|
|
11491
|
+
onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
|
|
11492
|
+
}
|
|
11493
|
+
declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv> {
|
|
11494
|
+
static template: string;
|
|
11495
|
+
static components: {
|
|
11496
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11497
|
+
};
|
|
11498
|
+
static props: {
|
|
11499
|
+
figureId: StringConstructor;
|
|
11500
|
+
definition: ObjectConstructor;
|
|
11501
|
+
onColorChanged: FunctionConstructor;
|
|
11502
|
+
};
|
|
11503
|
+
get coloringOptions(): TreeMapColorScaleOptions;
|
|
11504
|
+
setColorScaleColor(point: "minColor" | "midColor" | "maxColor", color: string): void;
|
|
11505
|
+
}
|
|
11506
|
+
|
|
11507
|
+
interface Props$9 {
|
|
11508
|
+
figureId: UID;
|
|
11509
|
+
definition: TreeMapChartDefinition;
|
|
11510
|
+
canUpdateChart: (figureID: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
11511
|
+
updateChart: (figureId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
11512
|
+
}
|
|
11513
|
+
declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
|
|
11514
|
+
static template: string;
|
|
11515
|
+
static components: {
|
|
11516
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11517
|
+
Section: typeof Section;
|
|
11518
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11519
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11520
|
+
Checkbox: typeof Checkbox;
|
|
11521
|
+
TextStyler: typeof TextStyler;
|
|
11522
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11523
|
+
BadgeSelection: typeof BadgeSelection;
|
|
11524
|
+
TreeMapCategoryColors: typeof TreeMapCategoryColors;
|
|
11525
|
+
TreeMapColorScale: typeof TreeMapColorScale;
|
|
11526
|
+
};
|
|
11527
|
+
static props: {
|
|
11528
|
+
figureId: StringConstructor;
|
|
11529
|
+
definition: ObjectConstructor;
|
|
11530
|
+
updateChart: FunctionConstructor;
|
|
11531
|
+
canUpdateChart: {
|
|
11532
|
+
type: FunctionConstructor;
|
|
11533
|
+
optional: boolean;
|
|
11534
|
+
};
|
|
11535
|
+
};
|
|
11536
|
+
private savedColors;
|
|
11537
|
+
defaults: {
|
|
11538
|
+
showHeaders: boolean;
|
|
11539
|
+
headerDesign: TitleDesign;
|
|
11540
|
+
showValues: boolean;
|
|
11541
|
+
showLabels: boolean;
|
|
11542
|
+
valuesDesign: TitleDesign;
|
|
11543
|
+
coloringOptions: TreeMapCategoryColorOptions;
|
|
11544
|
+
};
|
|
11545
|
+
get showHeaders(): boolean;
|
|
11546
|
+
get showValues(): boolean;
|
|
11547
|
+
get showLabels(): boolean;
|
|
11548
|
+
get coloringOptions(): TreeMapColoringOptions;
|
|
11549
|
+
changeColoringOption(option: "categoryColor" | "colorScale"): void;
|
|
11550
|
+
onCategoryColorChange(coloringOptions: TreeMapCategoryColorOptions): void;
|
|
11551
|
+
onColorScaleChange(coloringOptions: TreeMapColorScaleOptions): void;
|
|
11552
|
+
get coloringOptionChoices(): {
|
|
11553
|
+
label: string;
|
|
11554
|
+
value: string;
|
|
11555
|
+
}[];
|
|
11556
|
+
}
|
|
11557
|
+
|
|
11407
11558
|
interface Props$8 {
|
|
11408
11559
|
figureId: UID;
|
|
11409
11560
|
definition: WaterfallChartDefinition;
|
|
@@ -12590,6 +12741,8 @@ declare const components: {
|
|
|
12590
12741
|
WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
|
|
12591
12742
|
ComboChartDesignPanel: typeof ComboChartDesignPanel;
|
|
12592
12743
|
FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
|
|
12744
|
+
SunburstChartDesignPanel: typeof SunburstChartDesignPanel;
|
|
12745
|
+
TreeMapChartDesignPanel: typeof TreeMapChartDesignPanel;
|
|
12593
12746
|
ChartTypePicker: typeof ChartTypePicker;
|
|
12594
12747
|
FigureComponent: typeof FigureComponent;
|
|
12595
12748
|
MenuPopover: typeof MenuPopover;
|
|
@@ -12619,6 +12772,7 @@ declare const hooks: {
|
|
|
12619
12772
|
};
|
|
12620
12773
|
declare const stores: {
|
|
12621
12774
|
useStoreProvider: typeof useStoreProvider;
|
|
12775
|
+
ChartDashboardMenuStore: typeof ChartDashboardMenuStore;
|
|
12622
12776
|
DependencyContainer: typeof DependencyContainer;
|
|
12623
12777
|
CellPopoverStore: typeof CellPopoverStore;
|
|
12624
12778
|
ComposerFocusStore: typeof ComposerFocusStore;
|