@odoo/o-spreadsheet 18.5.0-alpha.10 → 18.5.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +461 -158
- package/dist/o-spreadsheet.d.ts +176 -151
- package/dist/o-spreadsheet.esm.js +461 -158
- package/dist/o-spreadsheet.iife.js +461 -158
- package/dist/o-spreadsheet.iife.min.js +421 -419
- package/dist/o_spreadsheet.xml +35 -18
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -3656,10 +3656,6 @@ declare function convertAstNodes<T extends AST["type"]>(ast: AST, type: T, fn: (
|
|
|
3656
3656
|
type: T;
|
|
3657
3657
|
}>) => AST): AST;
|
|
3658
3658
|
declare function iterateAstNodes(ast: AST): AST[];
|
|
3659
|
-
/**
|
|
3660
|
-
* Converts an ast formula to the corresponding string
|
|
3661
|
-
*/
|
|
3662
|
-
declare function astToFormula(ast: AST): string;
|
|
3663
3659
|
|
|
3664
3660
|
declare function getFunctionsFromTokens(tokens: Token[], functionNames: string[]): {
|
|
3665
3661
|
functionName: string;
|
|
@@ -5976,7 +5972,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
5976
5972
|
}
|
|
5977
5973
|
|
|
5978
5974
|
declare class PivotUIPlugin extends CoreViewPlugin {
|
|
5979
|
-
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
|
|
5975
|
+
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotCellSortDirection", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
|
|
5980
5976
|
private pivots;
|
|
5981
5977
|
private unusedPivots?;
|
|
5982
5978
|
private custom;
|
|
@@ -6010,6 +6006,7 @@ declare class PivotUIPlugin extends CoreViewPlugin {
|
|
|
6010
6006
|
generateNewCalculatedMeasureName(measures: PivotCoreMeasure[]): string;
|
|
6011
6007
|
getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
|
|
6012
6008
|
isPivotUnused(pivotId: UID): boolean;
|
|
6009
|
+
getPivotCellSortDirection(position: CellPosition): SortDirection | "none" | undefined;
|
|
6013
6010
|
/**
|
|
6014
6011
|
* Refresh the cache of a pivot
|
|
6015
6012
|
*/
|
|
@@ -7110,6 +7107,8 @@ interface CellClickableItem {
|
|
|
7110
7107
|
execute: (position: CellPosition, env: SpreadsheetChildEnv, isMiddleClick?: boolean) => void;
|
|
7111
7108
|
title?: string | ((position: CellPosition, getters: Getters) => string);
|
|
7112
7109
|
sequence: number;
|
|
7110
|
+
component?: ComponentConstructor;
|
|
7111
|
+
componentProps?: (position: CellPosition, getters: Getters) => Record<string, unknown>;
|
|
7113
7112
|
}
|
|
7114
7113
|
|
|
7115
7114
|
interface TopbarComponent {
|
|
@@ -7160,7 +7159,7 @@ interface ChartSubtypeProperties {
|
|
|
7160
7159
|
preview: string;
|
|
7161
7160
|
}
|
|
7162
7161
|
|
|
7163
|
-
interface Props$
|
|
7162
|
+
interface Props$1r {
|
|
7164
7163
|
label?: string;
|
|
7165
7164
|
value: boolean;
|
|
7166
7165
|
className?: string;
|
|
@@ -7169,7 +7168,7 @@ interface Props$1q {
|
|
|
7169
7168
|
disabled?: boolean;
|
|
7170
7169
|
onChange: (value: boolean) => void;
|
|
7171
7170
|
}
|
|
7172
|
-
declare class Checkbox extends Component<Props$
|
|
7171
|
+
declare class Checkbox extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
7173
7172
|
static template: string;
|
|
7174
7173
|
static props: {
|
|
7175
7174
|
label: {
|
|
@@ -7204,10 +7203,10 @@ declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
|
7204
7203
|
onChange(ev: InputEvent): void;
|
|
7205
7204
|
}
|
|
7206
7205
|
|
|
7207
|
-
interface Props$
|
|
7206
|
+
interface Props$1q {
|
|
7208
7207
|
class?: string;
|
|
7209
7208
|
}
|
|
7210
|
-
declare class Section extends Component<Props$
|
|
7209
|
+
declare class Section extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
7211
7210
|
static template: string;
|
|
7212
7211
|
static props: {
|
|
7213
7212
|
class: {
|
|
@@ -7372,7 +7371,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7372
7371
|
getIndex(rangeId: number | null): number | null;
|
|
7373
7372
|
}
|
|
7374
7373
|
|
|
7375
|
-
interface Props$
|
|
7374
|
+
interface Props$1p {
|
|
7376
7375
|
ranges: string[];
|
|
7377
7376
|
hasSingleRange?: boolean;
|
|
7378
7377
|
required?: boolean;
|
|
@@ -7400,7 +7399,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7400
7399
|
* onSelectionChanged is called every time the input value
|
|
7401
7400
|
* changes.
|
|
7402
7401
|
*/
|
|
7403
|
-
declare class SelectionInput extends Component<Props$
|
|
7402
|
+
declare class SelectionInput extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
7404
7403
|
static template: string;
|
|
7405
7404
|
static props: {
|
|
7406
7405
|
ranges: ArrayConstructor;
|
|
@@ -7477,7 +7476,7 @@ declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
|
7477
7476
|
confirm(): void;
|
|
7478
7477
|
}
|
|
7479
7478
|
|
|
7480
|
-
interface Props$
|
|
7479
|
+
interface Props$1o {
|
|
7481
7480
|
ranges: CustomizedDataSet[];
|
|
7482
7481
|
hasSingleRange?: boolean;
|
|
7483
7482
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7490,7 +7489,7 @@ interface Props$1n {
|
|
|
7490
7489
|
canChangeDatasetOrientation?: boolean;
|
|
7491
7490
|
onFlipAxis?: (structure: string) => void;
|
|
7492
7491
|
}
|
|
7493
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7492
|
+
declare class ChartDataSeries extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
7494
7493
|
static template: string;
|
|
7495
7494
|
static components: {
|
|
7496
7495
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7539,12 +7538,12 @@ declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
|
7539
7538
|
get title(): string;
|
|
7540
7539
|
}
|
|
7541
7540
|
|
|
7542
|
-
interface Props$
|
|
7541
|
+
interface Props$1n {
|
|
7543
7542
|
messages: string[];
|
|
7544
7543
|
msgType: "warning" | "error" | "info";
|
|
7545
7544
|
singleBox?: boolean;
|
|
7546
7545
|
}
|
|
7547
|
-
declare class ValidationMessages extends Component<Props$
|
|
7546
|
+
declare class ValidationMessages extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
7548
7547
|
static template: string;
|
|
7549
7548
|
static props: {
|
|
7550
7549
|
messages: ArrayConstructor;
|
|
@@ -7558,10 +7557,10 @@ declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv
|
|
|
7558
7557
|
get alertBoxes(): string[][];
|
|
7559
7558
|
}
|
|
7560
7559
|
|
|
7561
|
-
interface Props$
|
|
7560
|
+
interface Props$1m {
|
|
7562
7561
|
messages: string[];
|
|
7563
7562
|
}
|
|
7564
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7563
|
+
declare class ChartErrorSection extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
7565
7564
|
static template: string;
|
|
7566
7565
|
static components: {
|
|
7567
7566
|
Section: typeof Section;
|
|
@@ -7575,7 +7574,7 @@ declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv>
|
|
|
7575
7574
|
};
|
|
7576
7575
|
}
|
|
7577
7576
|
|
|
7578
|
-
interface Props$
|
|
7577
|
+
interface Props$1l {
|
|
7579
7578
|
title?: string;
|
|
7580
7579
|
range: string;
|
|
7581
7580
|
isInvalid: boolean;
|
|
@@ -7588,7 +7587,7 @@ interface Props$1k {
|
|
|
7588
7587
|
onChange: (value: boolean) => void;
|
|
7589
7588
|
}>;
|
|
7590
7589
|
}
|
|
7591
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7590
|
+
declare class ChartLabelRange extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
7592
7591
|
static template: string;
|
|
7593
7592
|
static components: {
|
|
7594
7593
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7609,10 +7608,10 @@ declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
|
7609
7608
|
optional: boolean;
|
|
7610
7609
|
};
|
|
7611
7610
|
};
|
|
7612
|
-
static defaultProps: Partial<Props$
|
|
7611
|
+
static defaultProps: Partial<Props$1l>;
|
|
7613
7612
|
}
|
|
7614
7613
|
|
|
7615
|
-
interface Props$
|
|
7614
|
+
interface Props$1k {
|
|
7616
7615
|
chartId: UID;
|
|
7617
7616
|
definition: ChartWithDataSetDefinition;
|
|
7618
7617
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7622,7 +7621,7 @@ interface ChartPanelState {
|
|
|
7622
7621
|
datasetDispatchResult?: DispatchResult;
|
|
7623
7622
|
labelsDispatchResult?: DispatchResult;
|
|
7624
7623
|
}
|
|
7625
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7624
|
+
declare class GenericChartConfigPanel extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
7626
7625
|
static template: string;
|
|
7627
7626
|
static components: {
|
|
7628
7627
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7691,11 +7690,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7691
7690
|
onUpdateStacked(stacked: boolean): void;
|
|
7692
7691
|
}
|
|
7693
7692
|
|
|
7694
|
-
interface Props$
|
|
7693
|
+
interface Props$1j {
|
|
7695
7694
|
isCollapsed: boolean;
|
|
7696
7695
|
slots: any;
|
|
7697
7696
|
}
|
|
7698
|
-
declare class Collapse extends Component<Props$
|
|
7697
|
+
declare class Collapse extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
7699
7698
|
static template: string;
|
|
7700
7699
|
static props: {
|
|
7701
7700
|
isCollapsed: BooleanConstructor;
|
|
@@ -7734,12 +7733,12 @@ interface Choice$1 {
|
|
|
7734
7733
|
value: string;
|
|
7735
7734
|
label: string;
|
|
7736
7735
|
}
|
|
7737
|
-
interface Props$
|
|
7736
|
+
interface Props$1i {
|
|
7738
7737
|
choices: Choice$1[];
|
|
7739
7738
|
onChange: (value: string) => void;
|
|
7740
7739
|
selectedValue: string;
|
|
7741
7740
|
}
|
|
7742
|
-
declare class BadgeSelection extends Component<Props$
|
|
7741
|
+
declare class BadgeSelection extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
7743
7742
|
static template: string;
|
|
7744
7743
|
static props: {
|
|
7745
7744
|
choices: ArrayConstructor;
|
|
@@ -7748,14 +7747,14 @@ declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
|
7748
7747
|
};
|
|
7749
7748
|
}
|
|
7750
7749
|
|
|
7751
|
-
interface Props$
|
|
7750
|
+
interface Props$1h {
|
|
7752
7751
|
action: ActionSpec;
|
|
7753
7752
|
hasTriangleDownIcon?: boolean;
|
|
7754
7753
|
selectedColor?: string;
|
|
7755
7754
|
class?: string;
|
|
7756
7755
|
onClick?: (ev: MouseEvent) => void;
|
|
7757
7756
|
}
|
|
7758
|
-
declare class ActionButton extends Component<Props$
|
|
7757
|
+
declare class ActionButton extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7759
7758
|
static template: string;
|
|
7760
7759
|
static props: {
|
|
7761
7760
|
action: ObjectConstructor;
|
|
@@ -7942,7 +7941,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7942
7941
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7943
7942
|
}
|
|
7944
7943
|
|
|
7945
|
-
interface Props$
|
|
7944
|
+
interface Props$1g {
|
|
7946
7945
|
currentColor: string | undefined;
|
|
7947
7946
|
toggleColorPicker: () => void;
|
|
7948
7947
|
showColorPicker: boolean;
|
|
@@ -7953,7 +7952,7 @@ interface Props$1f {
|
|
|
7953
7952
|
dropdownMaxHeight?: Pixel;
|
|
7954
7953
|
class?: string;
|
|
7955
7954
|
}
|
|
7956
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7955
|
+
declare class ColorPickerWidget extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
7957
7956
|
static template: string;
|
|
7958
7957
|
static props: {
|
|
7959
7958
|
currentColor: {
|
|
@@ -8014,14 +8013,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
8014
8013
|
interface State$5 {
|
|
8015
8014
|
isOpen: boolean;
|
|
8016
8015
|
}
|
|
8017
|
-
interface Props$
|
|
8016
|
+
interface Props$1f {
|
|
8018
8017
|
currentFontSize: number;
|
|
8019
8018
|
class: string;
|
|
8020
8019
|
onFontSizeChanged: (fontSize: number) => void;
|
|
8021
8020
|
onToggle?: () => void;
|
|
8022
8021
|
onFocusInput?: () => void;
|
|
8023
8022
|
}
|
|
8024
|
-
declare class FontSizeEditor extends Component<Props$
|
|
8023
|
+
declare class FontSizeEditor extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
8025
8024
|
static template: string;
|
|
8026
8025
|
static props: {
|
|
8027
8026
|
currentFontSize: NumberConstructor;
|
|
@@ -8059,7 +8058,7 @@ declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
8059
8058
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
8060
8059
|
}
|
|
8061
8060
|
|
|
8062
|
-
interface Props$
|
|
8061
|
+
interface Props$1e {
|
|
8063
8062
|
class?: string;
|
|
8064
8063
|
style: ChartStyle;
|
|
8065
8064
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -8068,7 +8067,7 @@ interface Props$1d {
|
|
|
8068
8067
|
hasHorizontalAlign?: boolean;
|
|
8069
8068
|
hasBackgroundColor?: boolean;
|
|
8070
8069
|
}
|
|
8071
|
-
declare class TextStyler extends Component<Props$
|
|
8070
|
+
declare class TextStyler extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
8072
8071
|
static template: string;
|
|
8073
8072
|
static components: {
|
|
8074
8073
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -8136,7 +8135,7 @@ declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
|
8136
8135
|
get verticalAlignActions(): ActionSpec[];
|
|
8137
8136
|
}
|
|
8138
8137
|
|
|
8139
|
-
interface Props$
|
|
8138
|
+
interface Props$1d {
|
|
8140
8139
|
title?: string;
|
|
8141
8140
|
placeholder?: string;
|
|
8142
8141
|
updateTitle: (title: string) => void;
|
|
@@ -8145,7 +8144,7 @@ interface Props$1c {
|
|
|
8145
8144
|
defaultStyle?: Partial<TitleDesign>;
|
|
8146
8145
|
updateStyle: (style: TitleDesign) => void;
|
|
8147
8146
|
}
|
|
8148
|
-
declare class ChartTitle extends Component<Props$
|
|
8147
|
+
declare class ChartTitle extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
8149
8148
|
static template: string;
|
|
8150
8149
|
static components: {
|
|
8151
8150
|
Section: typeof Section;
|
|
@@ -8182,13 +8181,13 @@ interface AxisDefinition {
|
|
|
8182
8181
|
id: string;
|
|
8183
8182
|
name: string;
|
|
8184
8183
|
}
|
|
8185
|
-
interface Props$
|
|
8184
|
+
interface Props$1c {
|
|
8186
8185
|
chartId: UID;
|
|
8187
8186
|
definition: ChartWithAxisDefinition;
|
|
8188
8187
|
updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
8189
8188
|
axesList: AxisDefinition[];
|
|
8190
8189
|
}
|
|
8191
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
8190
|
+
declare class AxisDesignEditor extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
8192
8191
|
static template: string;
|
|
8193
8192
|
static components: {
|
|
8194
8193
|
Section: typeof Section;
|
|
@@ -8220,14 +8219,14 @@ interface Choice {
|
|
|
8220
8219
|
value: unknown;
|
|
8221
8220
|
label: string;
|
|
8222
8221
|
}
|
|
8223
|
-
interface Props$
|
|
8222
|
+
interface Props$1b {
|
|
8224
8223
|
choices: Choice[];
|
|
8225
8224
|
onChange: (value: unknown) => void;
|
|
8226
8225
|
selectedValue: string;
|
|
8227
8226
|
name: string;
|
|
8228
8227
|
direction: "horizontal" | "vertical";
|
|
8229
8228
|
}
|
|
8230
|
-
declare class RadioSelection extends Component<Props$
|
|
8229
|
+
declare class RadioSelection extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
8231
8230
|
static template: string;
|
|
8232
8231
|
static props: {
|
|
8233
8232
|
choices: ArrayConstructor;
|
|
@@ -8246,13 +8245,13 @@ declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
8246
8245
|
};
|
|
8247
8246
|
}
|
|
8248
8247
|
|
|
8249
|
-
interface Props$
|
|
8248
|
+
interface Props$1a {
|
|
8250
8249
|
currentColor?: string;
|
|
8251
8250
|
onColorPicked: (color: string) => void;
|
|
8252
8251
|
title?: string;
|
|
8253
8252
|
disableNoColor?: boolean;
|
|
8254
8253
|
}
|
|
8255
|
-
declare class RoundColorPicker extends Component<Props$
|
|
8254
|
+
declare class RoundColorPicker extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
8256
8255
|
static template: string;
|
|
8257
8256
|
static components: {
|
|
8258
8257
|
Section: typeof Section;
|
|
@@ -8285,14 +8284,14 @@ declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv>
|
|
|
8285
8284
|
get buttonStyle(): string;
|
|
8286
8285
|
}
|
|
8287
8286
|
|
|
8288
|
-
interface Props$
|
|
8287
|
+
interface Props$19 {
|
|
8289
8288
|
chartId: UID;
|
|
8290
8289
|
definition: ChartDefinition;
|
|
8291
8290
|
updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8292
8291
|
canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8293
8292
|
defaultChartTitleFontSize?: number;
|
|
8294
8293
|
}
|
|
8295
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8294
|
+
declare class GeneralDesignEditor extends Component<Props$19, SpreadsheetChildEnv> {
|
|
8296
8295
|
static template: string;
|
|
8297
8296
|
static components: {
|
|
8298
8297
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8327,13 +8326,13 @@ declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEn
|
|
|
8327
8326
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8328
8327
|
}
|
|
8329
8328
|
|
|
8330
|
-
interface Props$
|
|
8329
|
+
interface Props$18 {
|
|
8331
8330
|
chartId: UID;
|
|
8332
8331
|
definition: ChartWithDataSetDefinition;
|
|
8333
8332
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8334
8333
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8335
8334
|
}
|
|
8336
|
-
declare class ChartHumanizeNumbers extends Component<Props$
|
|
8335
|
+
declare class ChartHumanizeNumbers extends Component<Props$18, SpreadsheetChildEnv> {
|
|
8337
8336
|
static template: string;
|
|
8338
8337
|
static components: {
|
|
8339
8338
|
Checkbox: typeof Checkbox;
|
|
@@ -8346,13 +8345,13 @@ declare class ChartHumanizeNumbers extends Component<Props$17, SpreadsheetChildE
|
|
|
8346
8345
|
};
|
|
8347
8346
|
}
|
|
8348
8347
|
|
|
8349
|
-
interface Props$
|
|
8348
|
+
interface Props$17 {
|
|
8350
8349
|
chartId: UID;
|
|
8351
8350
|
definition: ChartWithDataSetDefinition;
|
|
8352
8351
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8353
8352
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8354
8353
|
}
|
|
8355
|
-
declare class ChartLegend extends Component<Props$
|
|
8354
|
+
declare class ChartLegend extends Component<Props$17, SpreadsheetChildEnv> {
|
|
8356
8355
|
static template: string;
|
|
8357
8356
|
static components: {
|
|
8358
8357
|
Section: typeof Section;
|
|
@@ -8366,13 +8365,13 @@ declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
8366
8365
|
updateLegendPosition(ev: any): void;
|
|
8367
8366
|
}
|
|
8368
8367
|
|
|
8369
|
-
interface Props$
|
|
8368
|
+
interface Props$16 {
|
|
8370
8369
|
chartId: UID;
|
|
8371
8370
|
definition: ChartWithDataSetDefinition;
|
|
8372
8371
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8373
8372
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8374
8373
|
}
|
|
8375
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
8374
|
+
declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
|
|
8376
8375
|
static template: string;
|
|
8377
8376
|
static components: {
|
|
8378
8377
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8400,13 +8399,13 @@ declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv
|
|
|
8400
8399
|
getDataSeriesLabel(): string | undefined;
|
|
8401
8400
|
}
|
|
8402
8401
|
|
|
8403
|
-
interface Props$
|
|
8402
|
+
interface Props$15 {
|
|
8404
8403
|
chartId: UID;
|
|
8405
8404
|
definition: ChartWithDataSetDefinition;
|
|
8406
8405
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8407
8406
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8408
8407
|
}
|
|
8409
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8408
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
|
|
8410
8409
|
static template: string;
|
|
8411
8410
|
static components: {
|
|
8412
8411
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8447,14 +8446,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$14, Spreadsheet
|
|
|
8447
8446
|
updateTrendLineValue(index: number, config: any): void;
|
|
8448
8447
|
}
|
|
8449
8448
|
|
|
8450
|
-
interface Props$
|
|
8449
|
+
interface Props$14 {
|
|
8451
8450
|
chartId: UID;
|
|
8452
8451
|
definition: ChartWithDataSetDefinition;
|
|
8453
8452
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8454
8453
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8455
8454
|
defaultValue?: boolean;
|
|
8456
8455
|
}
|
|
8457
|
-
declare class ChartShowValues extends Component<Props$
|
|
8456
|
+
declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
|
|
8458
8457
|
static template: string;
|
|
8459
8458
|
static components: {
|
|
8460
8459
|
Checkbox: typeof Checkbox;
|
|
@@ -8471,13 +8470,13 @@ declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
8471
8470
|
};
|
|
8472
8471
|
}
|
|
8473
8472
|
|
|
8474
|
-
interface Props$
|
|
8473
|
+
interface Props$13 {
|
|
8475
8474
|
chartId: UID;
|
|
8476
8475
|
definition: ChartWithDataSetDefinition;
|
|
8477
8476
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8478
8477
|
updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8479
8478
|
}
|
|
8480
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8479
|
+
declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Component<P, SpreadsheetChildEnv> {
|
|
8481
8480
|
static template: string;
|
|
8482
8481
|
static components: {
|
|
8483
8482
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8498,13 +8497,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Co
|
|
|
8498
8497
|
get axesList(): AxisDefinition[];
|
|
8499
8498
|
}
|
|
8500
8499
|
|
|
8501
|
-
interface Props$
|
|
8500
|
+
interface Props$12 {
|
|
8502
8501
|
chartId: UID;
|
|
8503
8502
|
definition: GaugeChartDefinition;
|
|
8504
8503
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8505
8504
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8506
8505
|
}
|
|
8507
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8506
|
+
declare class GaugeChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
|
|
8508
8507
|
static template: string;
|
|
8509
8508
|
static components: {
|
|
8510
8509
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8569,13 +8568,13 @@ interface EnrichedToken extends Token {
|
|
|
8569
8568
|
isInHoverContext?: boolean;
|
|
8570
8569
|
}
|
|
8571
8570
|
|
|
8572
|
-
interface Props$
|
|
8571
|
+
interface Props$11 {
|
|
8573
8572
|
proposals: AutoCompleteProposal[];
|
|
8574
8573
|
selectedIndex: number | undefined;
|
|
8575
8574
|
onValueSelected: (value: string) => void;
|
|
8576
8575
|
onValueHovered: (index: string) => void;
|
|
8577
8576
|
}
|
|
8578
|
-
declare class TextValueProvider extends Component<Props$
|
|
8577
|
+
declare class TextValueProvider extends Component<Props$11> {
|
|
8579
8578
|
static template: string;
|
|
8580
8579
|
static props: {
|
|
8581
8580
|
proposals: ArrayConstructor;
|
|
@@ -8632,11 +8631,11 @@ declare class ContentEditableHelper {
|
|
|
8632
8631
|
getText(): string;
|
|
8633
8632
|
}
|
|
8634
8633
|
|
|
8635
|
-
interface Props
|
|
8634
|
+
interface Props$10 {
|
|
8636
8635
|
functionDescription: FunctionDescription;
|
|
8637
8636
|
argsToFocus: number[];
|
|
8638
8637
|
}
|
|
8639
|
-
declare class FunctionDescriptionProvider extends Component<Props
|
|
8638
|
+
declare class FunctionDescriptionProvider extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8640
8639
|
static template: string;
|
|
8641
8640
|
static props: {
|
|
8642
8641
|
functionDescription: ObjectConstructor;
|
|
@@ -8647,15 +8646,15 @@ declare class FunctionDescriptionProvider extends Component<Props$$, Spreadsheet
|
|
|
8647
8646
|
};
|
|
8648
8647
|
private state;
|
|
8649
8648
|
toggle(): void;
|
|
8650
|
-
getContext(): Props
|
|
8649
|
+
getContext(): Props$10;
|
|
8651
8650
|
get formulaArgSeparator(): string;
|
|
8652
8651
|
}
|
|
8653
8652
|
|
|
8654
|
-
interface Props
|
|
8653
|
+
interface Props$$ {
|
|
8655
8654
|
anchorRect: Rect;
|
|
8656
8655
|
content: string;
|
|
8657
8656
|
}
|
|
8658
|
-
declare class SpeechBubble extends Component<Props
|
|
8657
|
+
declare class SpeechBubble extends Component<Props$$, SpreadsheetChildEnv> {
|
|
8659
8658
|
static template: string;
|
|
8660
8659
|
static props: {
|
|
8661
8660
|
content: StringConstructor;
|
|
@@ -9068,7 +9067,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
9068
9067
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
9069
9068
|
}
|
|
9070
9069
|
|
|
9071
|
-
interface Props$
|
|
9070
|
+
interface Props$_ {
|
|
9072
9071
|
onConfirm: (content: string) => void;
|
|
9073
9072
|
composerContent: string;
|
|
9074
9073
|
defaultRangeSheetId: UID;
|
|
@@ -9080,7 +9079,7 @@ interface Props$Z {
|
|
|
9080
9079
|
invalid?: boolean;
|
|
9081
9080
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9082
9081
|
}
|
|
9083
|
-
declare class StandaloneComposer extends Component<Props$
|
|
9082
|
+
declare class StandaloneComposer extends Component<Props$_, SpreadsheetChildEnv> {
|
|
9084
9083
|
static template: string;
|
|
9085
9084
|
static props: {
|
|
9086
9085
|
composerContent: {
|
|
@@ -9143,13 +9142,13 @@ interface PanelState {
|
|
|
9143
9142
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
9144
9143
|
sectionRule: SectionRule;
|
|
9145
9144
|
}
|
|
9146
|
-
interface Props$
|
|
9145
|
+
interface Props$Z {
|
|
9147
9146
|
chartId: UID;
|
|
9148
9147
|
definition: GaugeChartDefinition;
|
|
9149
9148
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9150
9149
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9151
9150
|
}
|
|
9152
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
9151
|
+
declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
9153
9152
|
static template: string;
|
|
9154
9153
|
static components: {
|
|
9155
9154
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9200,13 +9199,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9200
9199
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9201
9200
|
}
|
|
9202
9201
|
|
|
9203
|
-
interface Props$
|
|
9202
|
+
interface Props$Y {
|
|
9204
9203
|
chartId: UID;
|
|
9205
9204
|
definition: ScorecardChartDefinition;
|
|
9206
9205
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9207
9206
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9208
9207
|
}
|
|
9209
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
9208
|
+
declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
9210
9209
|
static template: string;
|
|
9211
9210
|
static components: {
|
|
9212
9211
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9235,13 +9234,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetCh
|
|
|
9235
9234
|
}
|
|
9236
9235
|
|
|
9237
9236
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9238
|
-
interface Props$
|
|
9237
|
+
interface Props$X {
|
|
9239
9238
|
chartId: UID;
|
|
9240
9239
|
definition: ScorecardChartDefinition;
|
|
9241
9240
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9242
9241
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9243
9242
|
}
|
|
9244
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
9243
|
+
declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
|
|
9245
9244
|
static template: string;
|
|
9246
9245
|
static components: {
|
|
9247
9246
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9426,11 +9425,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
|
|
|
9426
9425
|
enableAnimationForChart(chartId: UID): string;
|
|
9427
9426
|
}
|
|
9428
9427
|
|
|
9429
|
-
interface Props$
|
|
9428
|
+
interface Props$W {
|
|
9430
9429
|
chartId: UID;
|
|
9431
9430
|
isFullScreen?: boolean;
|
|
9432
9431
|
}
|
|
9433
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9432
|
+
declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
9434
9433
|
static template: string;
|
|
9435
9434
|
static props: {
|
|
9436
9435
|
chartId: StringConstructor;
|
|
@@ -9465,10 +9464,10 @@ declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
|
|
|
9465
9464
|
get animationChartId(): string;
|
|
9466
9465
|
}
|
|
9467
9466
|
|
|
9468
|
-
interface Props$
|
|
9467
|
+
interface Props$V {
|
|
9469
9468
|
chartId: UID;
|
|
9470
9469
|
}
|
|
9471
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9470
|
+
declare class ScorecardChart$1 extends Component<Props$V, SpreadsheetChildEnv> {
|
|
9472
9471
|
static template: string;
|
|
9473
9472
|
static props: {
|
|
9474
9473
|
chartId: StringConstructor;
|
|
@@ -9544,7 +9543,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9544
9543
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9545
9544
|
}
|
|
9546
9545
|
|
|
9547
|
-
interface Props$
|
|
9546
|
+
interface Props$U {
|
|
9548
9547
|
anchorRect: Rect;
|
|
9549
9548
|
popoverPositioning: PopoverPropsPosition;
|
|
9550
9549
|
menuItems: Action[];
|
|
@@ -9564,7 +9563,7 @@ interface MenuState {
|
|
|
9564
9563
|
menuItems: Action[];
|
|
9565
9564
|
isHoveringChild?: boolean;
|
|
9566
9565
|
}
|
|
9567
|
-
declare class MenuPopover extends Component<Props$
|
|
9566
|
+
declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
|
|
9568
9567
|
static template: string;
|
|
9569
9568
|
static props: {
|
|
9570
9569
|
anchorRect: ObjectConstructor;
|
|
@@ -9644,7 +9643,7 @@ declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
9644
9643
|
}
|
|
9645
9644
|
|
|
9646
9645
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9647
|
-
interface Props$
|
|
9646
|
+
interface Props$T {
|
|
9648
9647
|
figureUI: FigureUI;
|
|
9649
9648
|
style: string;
|
|
9650
9649
|
class: string;
|
|
@@ -9652,7 +9651,7 @@ interface Props$S {
|
|
|
9652
9651
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9653
9652
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9654
9653
|
}
|
|
9655
|
-
declare class FigureComponent extends Component<Props$
|
|
9654
|
+
declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
|
|
9656
9655
|
static template: string;
|
|
9657
9656
|
static props: {
|
|
9658
9657
|
figureUI: ObjectConstructor;
|
|
@@ -9708,17 +9707,17 @@ declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
|
|
|
9708
9707
|
editWrapperStyle(properties: CSSProperties): void;
|
|
9709
9708
|
}
|
|
9710
9709
|
|
|
9711
|
-
interface Props$
|
|
9710
|
+
interface Props$S {
|
|
9712
9711
|
chartId: UID;
|
|
9713
9712
|
}
|
|
9714
9713
|
interface MenuItem {
|
|
9715
9714
|
id: string;
|
|
9716
9715
|
label: string;
|
|
9717
|
-
|
|
9716
|
+
class: string;
|
|
9718
9717
|
onClick: () => void;
|
|
9719
|
-
|
|
9718
|
+
preview?: string;
|
|
9720
9719
|
}
|
|
9721
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9720
|
+
declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv> {
|
|
9722
9721
|
static template: string;
|
|
9723
9722
|
static components: {
|
|
9724
9723
|
MenuPopover: typeof MenuPopover;
|
|
@@ -9736,12 +9735,12 @@ declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv>
|
|
|
9736
9735
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9737
9736
|
}
|
|
9738
9737
|
|
|
9739
|
-
interface Props$
|
|
9738
|
+
interface Props$R {
|
|
9740
9739
|
figureUI: FigureUI;
|
|
9741
9740
|
onFigureDeleted: () => void;
|
|
9742
9741
|
editFigureStyle?: (properties: CSSProperties) => void;
|
|
9743
9742
|
}
|
|
9744
|
-
declare class ChartFigure extends Component<Props$
|
|
9743
|
+
declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
|
|
9745
9744
|
static template: string;
|
|
9746
9745
|
static props: {
|
|
9747
9746
|
figureUI: ObjectConstructor;
|
|
@@ -9771,7 +9770,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9771
9770
|
|
|
9772
9771
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9773
9772
|
|
|
9774
|
-
interface Props$
|
|
9773
|
+
interface Props$Q {
|
|
9775
9774
|
isVisible: boolean;
|
|
9776
9775
|
position: Position;
|
|
9777
9776
|
}
|
|
@@ -9783,7 +9782,7 @@ interface State$4 {
|
|
|
9783
9782
|
position: Position;
|
|
9784
9783
|
handler: boolean;
|
|
9785
9784
|
}
|
|
9786
|
-
declare class Autofill extends Component<Props$
|
|
9785
|
+
declare class Autofill extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
9787
9786
|
static template: string;
|
|
9788
9787
|
static props: {
|
|
9789
9788
|
position: ObjectConstructor;
|
|
@@ -9823,7 +9822,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9823
9822
|
get tagStyle(): string;
|
|
9824
9823
|
}
|
|
9825
9824
|
|
|
9826
|
-
interface Props$
|
|
9825
|
+
interface Props$P {
|
|
9827
9826
|
gridDims: DOMDimension;
|
|
9828
9827
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9829
9828
|
}
|
|
@@ -9831,7 +9830,7 @@ interface Props$O {
|
|
|
9831
9830
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9832
9831
|
* It also applies the style of the cell to the composer input.
|
|
9833
9832
|
*/
|
|
9834
|
-
declare class GridComposer extends Component<Props$
|
|
9833
|
+
declare class GridComposer extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9835
9834
|
static template: string;
|
|
9836
9835
|
static props: {
|
|
9837
9836
|
gridDims: ObjectConstructor;
|
|
@@ -9875,7 +9874,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9875
9874
|
}
|
|
9876
9875
|
|
|
9877
9876
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9878
|
-
interface Props$
|
|
9877
|
+
interface Props$O {
|
|
9879
9878
|
onFigureDeleted: () => void;
|
|
9880
9879
|
}
|
|
9881
9880
|
interface Container {
|
|
@@ -9956,7 +9955,7 @@ interface DndState {
|
|
|
9956
9955
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9957
9956
|
*
|
|
9958
9957
|
*/
|
|
9959
|
-
declare class FiguresContainer extends Component<Props$
|
|
9958
|
+
declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9960
9959
|
static template: string;
|
|
9961
9960
|
static props: {
|
|
9962
9961
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9994,10 +9993,10 @@ declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9994
9993
|
private getCarouselOverlappingChart;
|
|
9995
9994
|
}
|
|
9996
9995
|
|
|
9997
|
-
interface Props$
|
|
9996
|
+
interface Props$N {
|
|
9998
9997
|
focusGrid: () => void;
|
|
9999
9998
|
}
|
|
10000
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9999
|
+
declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv> {
|
|
10001
10000
|
static template: string;
|
|
10002
10001
|
static props: {
|
|
10003
10002
|
focusGrid: FunctionConstructor;
|
|
@@ -10021,7 +10020,7 @@ declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv>
|
|
|
10021
10020
|
private onExternalClick;
|
|
10022
10021
|
}
|
|
10023
10022
|
|
|
10024
|
-
interface Props$
|
|
10023
|
+
interface Props$M {
|
|
10025
10024
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
10026
10025
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
|
|
10027
10026
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -10034,7 +10033,7 @@ interface Props$L {
|
|
|
10034
10033
|
height: number;
|
|
10035
10034
|
};
|
|
10036
10035
|
}
|
|
10037
|
-
declare class GridOverlay extends Component<Props$
|
|
10036
|
+
declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
|
|
10038
10037
|
static template: string;
|
|
10039
10038
|
static props: {
|
|
10040
10039
|
onCellDoubleClicked: {
|
|
@@ -10094,12 +10093,12 @@ declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10094
10093
|
private getInteractiveIconAtEvent;
|
|
10095
10094
|
}
|
|
10096
10095
|
|
|
10097
|
-
interface Props$
|
|
10096
|
+
interface Props$L {
|
|
10098
10097
|
gridRect: Rect;
|
|
10099
10098
|
onClosePopover: () => void;
|
|
10100
10099
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10101
10100
|
}
|
|
10102
|
-
declare class GridPopover extends Component<Props$
|
|
10101
|
+
declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
10103
10102
|
static template: string;
|
|
10104
10103
|
static props: {
|
|
10105
10104
|
onClosePopover: FunctionConstructor;
|
|
@@ -10115,7 +10114,7 @@ declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
10115
10114
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10116
10115
|
}
|
|
10117
10116
|
|
|
10118
|
-
interface Props$
|
|
10117
|
+
interface Props$K {
|
|
10119
10118
|
headersGroups: ConsecutiveIndexes[];
|
|
10120
10119
|
offset: number;
|
|
10121
10120
|
headerRange: {
|
|
@@ -10123,7 +10122,7 @@ interface Props$J {
|
|
|
10123
10122
|
end: HeaderIndex;
|
|
10124
10123
|
};
|
|
10125
10124
|
}
|
|
10126
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10125
|
+
declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
10127
10126
|
static template: string;
|
|
10128
10127
|
static props: {
|
|
10129
10128
|
headersGroups: ArrayConstructor;
|
|
@@ -10142,7 +10141,7 @@ declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
10142
10141
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
10143
10142
|
isVisible(header: HeaderIndex): boolean;
|
|
10144
10143
|
}
|
|
10145
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10144
|
+
declare class UnhideColumnHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
10146
10145
|
static template: string;
|
|
10147
10146
|
static props: {
|
|
10148
10147
|
headersGroups: ArrayConstructor;
|
|
@@ -10335,13 +10334,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10335
10334
|
}
|
|
10336
10335
|
|
|
10337
10336
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10338
|
-
interface Props$
|
|
10337
|
+
interface Props$J {
|
|
10339
10338
|
zone: Zone;
|
|
10340
10339
|
orientation: Orientation$1;
|
|
10341
10340
|
isMoving: boolean;
|
|
10342
10341
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10343
10342
|
}
|
|
10344
|
-
declare class Border extends Component<Props$
|
|
10343
|
+
declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
|
|
10345
10344
|
static template: string;
|
|
10346
10345
|
static props: {
|
|
10347
10346
|
zone: ObjectConstructor;
|
|
@@ -10354,14 +10353,14 @@ declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
|
|
|
10354
10353
|
}
|
|
10355
10354
|
|
|
10356
10355
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10357
|
-
interface Props$
|
|
10356
|
+
interface Props$I {
|
|
10358
10357
|
zone: Zone;
|
|
10359
10358
|
color: Color;
|
|
10360
10359
|
orientation: Orientation;
|
|
10361
10360
|
isResizing: boolean;
|
|
10362
10361
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10363
10362
|
}
|
|
10364
|
-
declare class Corner extends Component<Props$
|
|
10363
|
+
declare class Corner extends Component<Props$I, SpreadsheetChildEnv> {
|
|
10365
10364
|
static template: string;
|
|
10366
10365
|
static props: {
|
|
10367
10366
|
zone: ObjectConstructor;
|
|
@@ -10410,7 +10409,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10410
10409
|
|
|
10411
10410
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10412
10411
|
|
|
10413
|
-
interface Props$
|
|
10412
|
+
interface Props$H {
|
|
10414
10413
|
width: Pixel;
|
|
10415
10414
|
height: Pixel;
|
|
10416
10415
|
direction: ScrollDirection;
|
|
@@ -10418,7 +10417,7 @@ interface Props$G {
|
|
|
10418
10417
|
offset: Pixel;
|
|
10419
10418
|
onScroll: (offset: Pixel) => void;
|
|
10420
10419
|
}
|
|
10421
|
-
declare class ScrollBar extends Component<Props$
|
|
10420
|
+
declare class ScrollBar extends Component<Props$H> {
|
|
10422
10421
|
static props: {
|
|
10423
10422
|
width: {
|
|
10424
10423
|
type: NumberConstructor;
|
|
@@ -10446,10 +10445,10 @@ declare class ScrollBar extends Component<Props$G> {
|
|
|
10446
10445
|
onScroll(ev: any): void;
|
|
10447
10446
|
}
|
|
10448
10447
|
|
|
10449
|
-
interface Props$
|
|
10448
|
+
interface Props$G {
|
|
10450
10449
|
leftOffset: number;
|
|
10451
10450
|
}
|
|
10452
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10451
|
+
declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
|
|
10453
10452
|
static props: {
|
|
10454
10453
|
leftOffset: {
|
|
10455
10454
|
type: NumberConstructor;
|
|
@@ -10475,10 +10474,10 @@ declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv
|
|
|
10475
10474
|
onScroll(offset: any): void;
|
|
10476
10475
|
}
|
|
10477
10476
|
|
|
10478
|
-
interface Props$
|
|
10477
|
+
interface Props$F {
|
|
10479
10478
|
topOffset: number;
|
|
10480
10479
|
}
|
|
10481
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10480
|
+
declare class VerticalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10482
10481
|
static props: {
|
|
10483
10482
|
topOffset: {
|
|
10484
10483
|
type: NumberConstructor;
|
|
@@ -10513,13 +10512,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10513
10512
|
get highlightProps(): HighlightProps;
|
|
10514
10513
|
}
|
|
10515
10514
|
|
|
10516
|
-
interface Props$
|
|
10515
|
+
interface Props$E {
|
|
10517
10516
|
table: Table;
|
|
10518
10517
|
}
|
|
10519
10518
|
interface State$3 {
|
|
10520
10519
|
highlightZone: Zone | undefined;
|
|
10521
10520
|
}
|
|
10522
|
-
declare class TableResizer extends Component<Props$
|
|
10521
|
+
declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10523
10522
|
static template: string;
|
|
10524
10523
|
static props: {
|
|
10525
10524
|
table: ObjectConstructor;
|
|
@@ -10548,11 +10547,11 @@ declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
10548
10547
|
* - a vertical resizer (same, for rows)
|
|
10549
10548
|
*/
|
|
10550
10549
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10551
|
-
interface Props$
|
|
10550
|
+
interface Props$D {
|
|
10552
10551
|
exposeFocus: (focus: () => void) => void;
|
|
10553
10552
|
getGridSize: () => DOMDimension;
|
|
10554
10553
|
}
|
|
10555
|
-
declare class Grid extends Component<Props$
|
|
10554
|
+
declare class Grid extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10556
10555
|
static template: string;
|
|
10557
10556
|
static props: {
|
|
10558
10557
|
exposeFocus: FunctionConstructor;
|
|
@@ -10668,7 +10667,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10668
10667
|
private getChartDefinitionFromContextCreation;
|
|
10669
10668
|
}
|
|
10670
10669
|
|
|
10671
|
-
interface Props$
|
|
10670
|
+
interface Props$C {
|
|
10672
10671
|
chartId: UID;
|
|
10673
10672
|
chartPanelStore: MainChartPanelStore;
|
|
10674
10673
|
}
|
|
@@ -10676,7 +10675,7 @@ interface ChartTypePickerState {
|
|
|
10676
10675
|
popoverProps: PopoverProps | undefined;
|
|
10677
10676
|
popoverStyle: string;
|
|
10678
10677
|
}
|
|
10679
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10678
|
+
declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10680
10679
|
static template: string;
|
|
10681
10680
|
static components: {
|
|
10682
10681
|
Section: typeof Section;
|
|
@@ -10712,11 +10711,11 @@ declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
10712
10711
|
private closePopover;
|
|
10713
10712
|
}
|
|
10714
10713
|
|
|
10715
|
-
interface Props$
|
|
10714
|
+
interface Props$B {
|
|
10716
10715
|
onCloseSidePanel: () => void;
|
|
10717
10716
|
chartId: UID;
|
|
10718
10717
|
}
|
|
10719
|
-
declare class ChartPanel extends Component<Props$
|
|
10718
|
+
declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10720
10719
|
static template: string;
|
|
10721
10720
|
static components: {
|
|
10722
10721
|
Section: typeof Section;
|
|
@@ -10739,11 +10738,11 @@ declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
10739
10738
|
private getChartDefinition;
|
|
10740
10739
|
}
|
|
10741
10740
|
|
|
10742
|
-
interface Props$
|
|
10741
|
+
interface Props$A {
|
|
10743
10742
|
onValueChange: (value: number) => void;
|
|
10744
10743
|
value: number;
|
|
10745
10744
|
}
|
|
10746
|
-
declare class PieHoleSize extends Component<Props$
|
|
10745
|
+
declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10747
10746
|
static template: string;
|
|
10748
10747
|
static components: {
|
|
10749
10748
|
Section: typeof Section;
|
|
@@ -10756,13 +10755,13 @@ declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
10756
10755
|
onChange(value: string): void;
|
|
10757
10756
|
}
|
|
10758
10757
|
|
|
10759
|
-
interface Props$
|
|
10758
|
+
interface Props$z {
|
|
10760
10759
|
chartId: UID;
|
|
10761
10760
|
definition: PieChartDefinition;
|
|
10762
10761
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10763
10762
|
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10764
10763
|
}
|
|
10765
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10764
|
+
declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10766
10765
|
static template: string;
|
|
10767
10766
|
static components: {
|
|
10768
10767
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10786,10 +10785,10 @@ declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv
|
|
|
10786
10785
|
get defaultHoleSize(): number;
|
|
10787
10786
|
}
|
|
10788
10787
|
|
|
10789
|
-
interface Props$
|
|
10788
|
+
interface Props$y {
|
|
10790
10789
|
items: ActionSpec[];
|
|
10791
10790
|
}
|
|
10792
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10791
|
+
declare class CogWheelMenu extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10793
10792
|
static template: string;
|
|
10794
10793
|
static components: {
|
|
10795
10794
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10872,14 +10871,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10872
10871
|
get highlights(): Highlight$1[];
|
|
10873
10872
|
}
|
|
10874
10873
|
|
|
10875
|
-
interface Props$
|
|
10874
|
+
interface Props$x {
|
|
10876
10875
|
deferUpdate: boolean;
|
|
10877
10876
|
isDirty: boolean;
|
|
10878
10877
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10879
10878
|
discard: () => void;
|
|
10880
10879
|
apply: () => void;
|
|
10881
10880
|
}
|
|
10882
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10881
|
+
declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10883
10882
|
static template: string;
|
|
10884
10883
|
static props: {
|
|
10885
10884
|
deferUpdate: BooleanConstructor;
|
|
@@ -10896,11 +10895,11 @@ declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
10896
10895
|
get deferUpdatesTooltip(): string;
|
|
10897
10896
|
}
|
|
10898
10897
|
|
|
10899
|
-
interface Props$
|
|
10898
|
+
interface Props$w {
|
|
10900
10899
|
onFieldPicked: (field: string) => void;
|
|
10901
10900
|
fields: PivotField[];
|
|
10902
10901
|
}
|
|
10903
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10902
|
+
declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10904
10903
|
static template: string;
|
|
10905
10904
|
static components: {
|
|
10906
10905
|
Popover: typeof Popover;
|
|
@@ -10936,7 +10935,7 @@ declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv>
|
|
|
10936
10935
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10937
10936
|
}
|
|
10938
10937
|
|
|
10939
|
-
interface Props$
|
|
10938
|
+
interface Props$v {
|
|
10940
10939
|
value: string;
|
|
10941
10940
|
onChange: (value: string) => void;
|
|
10942
10941
|
class?: string;
|
|
@@ -10945,7 +10944,7 @@ interface Props$u {
|
|
|
10945
10944
|
autofocus?: boolean;
|
|
10946
10945
|
alwaysShowBorder?: boolean;
|
|
10947
10946
|
}
|
|
10948
|
-
declare class TextInput extends Component<Props$
|
|
10947
|
+
declare class TextInput extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10949
10948
|
static template: string;
|
|
10950
10949
|
static props: {
|
|
10951
10950
|
value: StringConstructor;
|
|
@@ -10980,13 +10979,13 @@ declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10980
10979
|
get inputClass(): string;
|
|
10981
10980
|
}
|
|
10982
10981
|
|
|
10983
|
-
interface Props$
|
|
10982
|
+
interface Props$u {
|
|
10984
10983
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10985
10984
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10986
10985
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10987
10986
|
type: "row" | "col" | "measure";
|
|
10988
10987
|
}
|
|
10989
|
-
declare class PivotDimension extends Component<Props$
|
|
10988
|
+
declare class PivotDimension extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10990
10989
|
static template: string;
|
|
10991
10990
|
static props: {
|
|
10992
10991
|
dimension: ObjectConstructor;
|
|
@@ -11010,13 +11009,13 @@ declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
11010
11009
|
updateName(name: string): void;
|
|
11011
11010
|
}
|
|
11012
11011
|
|
|
11013
|
-
interface Props$
|
|
11012
|
+
interface Props$t {
|
|
11014
11013
|
dimension: PivotDimension$1;
|
|
11015
11014
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11016
11015
|
availableGranularities: Set<string>;
|
|
11017
11016
|
allGranularities: string[];
|
|
11018
11017
|
}
|
|
11019
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
11018
|
+
declare class PivotDimensionGranularity extends Component<Props$t, SpreadsheetChildEnv> {
|
|
11020
11019
|
static template: string;
|
|
11021
11020
|
static props: {
|
|
11022
11021
|
dimension: ObjectConstructor;
|
|
@@ -11041,11 +11040,11 @@ declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetCh
|
|
|
11041
11040
|
};
|
|
11042
11041
|
}
|
|
11043
11042
|
|
|
11044
|
-
interface Props$
|
|
11043
|
+
interface Props$s {
|
|
11045
11044
|
dimension: PivotDimension$1;
|
|
11046
11045
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11047
11046
|
}
|
|
11048
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
11047
|
+
declare class PivotDimensionOrder extends Component<Props$s, SpreadsheetChildEnv> {
|
|
11049
11048
|
static template: string;
|
|
11050
11049
|
static props: {
|
|
11051
11050
|
dimension: ObjectConstructor;
|
|
@@ -11082,12 +11081,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
|
|
|
11082
11081
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
11083
11082
|
declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
|
|
11084
11083
|
|
|
11085
|
-
interface Props$
|
|
11084
|
+
interface Props$r {
|
|
11086
11085
|
pivotId: UID;
|
|
11087
11086
|
customField: PivotCustomGroupedField;
|
|
11088
11087
|
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11089
11088
|
}
|
|
11090
|
-
declare class PivotCustomGroupsCollapsible extends Component<Props$
|
|
11089
|
+
declare class PivotCustomGroupsCollapsible extends Component<Props$r, SpreadsheetChildEnv> {
|
|
11091
11090
|
static template: string;
|
|
11092
11091
|
static props: {
|
|
11093
11092
|
pivotId: StringConstructor;
|
|
@@ -11107,7 +11106,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$q, Spreadshee
|
|
|
11107
11106
|
private updateCustomField;
|
|
11108
11107
|
}
|
|
11109
11108
|
|
|
11110
|
-
interface Props$
|
|
11109
|
+
interface Props$q {
|
|
11111
11110
|
pivotId: string;
|
|
11112
11111
|
definition: PivotRuntimeDefinition;
|
|
11113
11112
|
measure: PivotMeasure;
|
|
@@ -11115,7 +11114,7 @@ interface Props$p {
|
|
|
11115
11114
|
onRemoved: () => void;
|
|
11116
11115
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
11117
11116
|
}
|
|
11118
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
11117
|
+
declare class PivotMeasureEditor extends Component<Props$q> {
|
|
11119
11118
|
static template: string;
|
|
11120
11119
|
static components: {
|
|
11121
11120
|
PivotDimension: typeof PivotDimension;
|
|
@@ -11140,11 +11139,11 @@ declare class PivotMeasureEditor extends Component<Props$p> {
|
|
|
11140
11139
|
get isCalculatedMeasureInvalid(): boolean;
|
|
11141
11140
|
}
|
|
11142
11141
|
|
|
11143
|
-
interface Props$
|
|
11142
|
+
interface Props$p {
|
|
11144
11143
|
definition: PivotRuntimeDefinition;
|
|
11145
11144
|
pivotId: UID;
|
|
11146
11145
|
}
|
|
11147
|
-
declare class PivotSortSection extends Component<Props$
|
|
11146
|
+
declare class PivotSortSection extends Component<Props$p, SpreadsheetChildEnv> {
|
|
11148
11147
|
static template: string;
|
|
11149
11148
|
static components: {
|
|
11150
11149
|
Section: typeof Section;
|
|
@@ -11161,7 +11160,7 @@ declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
11161
11160
|
}[];
|
|
11162
11161
|
}
|
|
11163
11162
|
|
|
11164
|
-
interface Props$
|
|
11163
|
+
interface Props$o {
|
|
11165
11164
|
definition: PivotRuntimeDefinition;
|
|
11166
11165
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11167
11166
|
unusedGroupableFields: PivotField[];
|
|
@@ -11172,7 +11171,7 @@ interface Props$n {
|
|
|
11172
11171
|
getScrollableContainerEl?: () => HTMLElement;
|
|
11173
11172
|
pivotId: UID;
|
|
11174
11173
|
}
|
|
11175
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
11174
|
+
declare class PivotLayoutConfigurator extends Component<Props$o, SpreadsheetChildEnv> {
|
|
11176
11175
|
static template: string;
|
|
11177
11176
|
static components: {
|
|
11178
11177
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -11267,11 +11266,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11267
11266
|
private areDomainFieldsValid;
|
|
11268
11267
|
}
|
|
11269
11268
|
|
|
11270
|
-
interface Props$
|
|
11269
|
+
interface Props$n {
|
|
11271
11270
|
pivotId: UID;
|
|
11272
11271
|
flipAxis: () => void;
|
|
11273
11272
|
}
|
|
11274
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11273
|
+
declare class PivotTitleSection extends Component<Props$n, SpreadsheetChildEnv> {
|
|
11275
11274
|
static template: string;
|
|
11276
11275
|
static components: {
|
|
11277
11276
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11368,6 +11367,23 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
11368
11367
|
*/
|
|
11369
11368
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
11370
11369
|
|
|
11370
|
+
interface Props$m {
|
|
11371
|
+
position: CellPosition;
|
|
11372
|
+
sortDirection: SortDirection | "none";
|
|
11373
|
+
}
|
|
11374
|
+
declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildEnv> {
|
|
11375
|
+
static template: string;
|
|
11376
|
+
static props: {
|
|
11377
|
+
position: ObjectConstructor;
|
|
11378
|
+
sortDirection: StringConstructor;
|
|
11379
|
+
};
|
|
11380
|
+
private hoveredTableStore;
|
|
11381
|
+
setup(): void;
|
|
11382
|
+
get style(): string;
|
|
11383
|
+
get icon(): "fa-sort-asc" | "fa-sort-desc" | "fa-sort";
|
|
11384
|
+
getBackgroundColor(cellStyle: Style): Color;
|
|
11385
|
+
}
|
|
11386
|
+
|
|
11371
11387
|
declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
11372
11388
|
static template: string;
|
|
11373
11389
|
private store;
|
|
@@ -11413,12 +11429,11 @@ declare class ChartDashboardMenuStore extends SpreadsheetStore {
|
|
|
11413
11429
|
id: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "treemap" | "geo" | "combo" | "waterfall" | "pyramid" | "sunburst" | "scorecard" | "gauge";
|
|
11414
11430
|
label: string;
|
|
11415
11431
|
onClick: () => void;
|
|
11416
|
-
|
|
11417
|
-
|
|
11432
|
+
class: string;
|
|
11433
|
+
preview: string;
|
|
11418
11434
|
}[];
|
|
11419
11435
|
reset(chartId: UID): void;
|
|
11420
11436
|
private updateType;
|
|
11421
|
-
private getIconClasses;
|
|
11422
11437
|
}
|
|
11423
11438
|
|
|
11424
11439
|
declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
@@ -12440,6 +12455,8 @@ interface ClickableCell {
|
|
|
12440
12455
|
position: CellPosition;
|
|
12441
12456
|
title: string;
|
|
12442
12457
|
action: (position: CellPosition, env: SpreadsheetChildEnv, isMiddleClick?: boolean) => void;
|
|
12458
|
+
component: ComponentConstructor | undefined;
|
|
12459
|
+
componentProps: Record<string, unknown>;
|
|
12443
12460
|
}
|
|
12444
12461
|
declare class ClickableCellsStore extends SpreadsheetStore {
|
|
12445
12462
|
private _clickableCells;
|
|
@@ -12859,6 +12876,11 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12859
12876
|
};
|
|
12860
12877
|
}
|
|
12861
12878
|
|
|
12879
|
+
/**
|
|
12880
|
+
* Converts an ast formula to the corresponding string
|
|
12881
|
+
*/
|
|
12882
|
+
declare function astToFormula(ast: AST): string;
|
|
12883
|
+
|
|
12862
12884
|
type SprintfValues = (string | String | number)[] | [{
|
|
12863
12885
|
[key: string]: string | number;
|
|
12864
12886
|
}];
|
|
@@ -13033,6 +13055,7 @@ declare const components: {
|
|
|
13033
13055
|
ChartPanel: typeof ChartPanel;
|
|
13034
13056
|
ChartFigure: typeof ChartFigure;
|
|
13035
13057
|
ChartJsComponent: typeof ChartJsComponent;
|
|
13058
|
+
ClickableCellSortIcon: typeof ClickableCellSortIcon;
|
|
13036
13059
|
ZoomableChartJsComponent: typeof ZoomableChartJsComponent;
|
|
13037
13060
|
Grid: typeof Grid;
|
|
13038
13061
|
GridOverlay: typeof GridOverlay;
|
|
@@ -13131,6 +13154,8 @@ declare const constants: {
|
|
|
13131
13154
|
};
|
|
13132
13155
|
};
|
|
13133
13156
|
FIGURE_ID_SPLITTER: string;
|
|
13157
|
+
GRID_ICON_EDGE_LENGTH: number;
|
|
13158
|
+
GRID_ICON_MARGIN: number;
|
|
13134
13159
|
};
|
|
13135
13160
|
declare const chartHelpers: {
|
|
13136
13161
|
getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|