@odoo/o-spreadsheet 19.0.4 → 19.0.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 +93 -87
- package/dist/o-spreadsheet.d.ts +208 -152
- package/dist/o-spreadsheet.esm.js +93 -87
- package/dist/o-spreadsheet.iife.js +93 -87
- package/dist/o-spreadsheet.iife.min.js +216 -224
- package/dist/o_spreadsheet.xml +56 -16
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -7131,7 +7131,7 @@ interface ChartSubtypeProperties {
|
|
|
7131
7131
|
preview: string;
|
|
7132
7132
|
}
|
|
7133
7133
|
|
|
7134
|
-
interface Props$
|
|
7134
|
+
interface Props$1s {
|
|
7135
7135
|
label?: string;
|
|
7136
7136
|
value: boolean;
|
|
7137
7137
|
className?: string;
|
|
@@ -7140,7 +7140,7 @@ interface Props$1r {
|
|
|
7140
7140
|
disabled?: boolean;
|
|
7141
7141
|
onChange: (value: boolean) => void;
|
|
7142
7142
|
}
|
|
7143
|
-
declare class Checkbox extends Component<Props$
|
|
7143
|
+
declare class Checkbox extends Component<Props$1s, SpreadsheetChildEnv> {
|
|
7144
7144
|
static template: string;
|
|
7145
7145
|
static props: {
|
|
7146
7146
|
label: {
|
|
@@ -7175,10 +7175,10 @@ declare class Checkbox extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
|
7175
7175
|
onChange(ev: InputEvent): void;
|
|
7176
7176
|
}
|
|
7177
7177
|
|
|
7178
|
-
interface Props$
|
|
7178
|
+
interface Props$1r {
|
|
7179
7179
|
class?: string;
|
|
7180
7180
|
}
|
|
7181
|
-
declare class Section extends Component<Props$
|
|
7181
|
+
declare class Section extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
7182
7182
|
static template: string;
|
|
7183
7183
|
static props: {
|
|
7184
7184
|
class: {
|
|
@@ -7343,7 +7343,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7343
7343
|
getIndex(rangeId: number | null): number | null;
|
|
7344
7344
|
}
|
|
7345
7345
|
|
|
7346
|
-
interface Props$
|
|
7346
|
+
interface Props$1q {
|
|
7347
7347
|
ranges: string[];
|
|
7348
7348
|
hasSingleRange?: boolean;
|
|
7349
7349
|
required?: boolean;
|
|
@@ -7371,7 +7371,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7371
7371
|
* onSelectionChanged is called every time the input value
|
|
7372
7372
|
* changes.
|
|
7373
7373
|
*/
|
|
7374
|
-
declare class SelectionInput extends Component<Props$
|
|
7374
|
+
declare class SelectionInput extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
7375
7375
|
static template: string;
|
|
7376
7376
|
static props: {
|
|
7377
7377
|
ranges: ArrayConstructor;
|
|
@@ -7448,7 +7448,7 @@ declare class SelectionInput extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
|
7448
7448
|
confirm(): void;
|
|
7449
7449
|
}
|
|
7450
7450
|
|
|
7451
|
-
interface Props$
|
|
7451
|
+
interface Props$1p {
|
|
7452
7452
|
ranges: CustomizedDataSet[];
|
|
7453
7453
|
hasSingleRange?: boolean;
|
|
7454
7454
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7461,7 +7461,7 @@ interface Props$1o {
|
|
|
7461
7461
|
canChangeDatasetOrientation?: boolean;
|
|
7462
7462
|
onFlipAxis?: (structure: string) => void;
|
|
7463
7463
|
}
|
|
7464
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7464
|
+
declare class ChartDataSeries extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
7465
7465
|
static template: string;
|
|
7466
7466
|
static components: {
|
|
7467
7467
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7510,12 +7510,12 @@ declare class ChartDataSeries extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
|
7510
7510
|
get title(): string;
|
|
7511
7511
|
}
|
|
7512
7512
|
|
|
7513
|
-
interface Props$
|
|
7513
|
+
interface Props$1o {
|
|
7514
7514
|
messages: string[];
|
|
7515
7515
|
msgType: "warning" | "error" | "info";
|
|
7516
7516
|
singleBox?: boolean;
|
|
7517
7517
|
}
|
|
7518
|
-
declare class ValidationMessages extends Component<Props$
|
|
7518
|
+
declare class ValidationMessages extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
7519
7519
|
static template: string;
|
|
7520
7520
|
static props: {
|
|
7521
7521
|
messages: ArrayConstructor;
|
|
@@ -7529,10 +7529,10 @@ declare class ValidationMessages extends Component<Props$1n, SpreadsheetChildEnv
|
|
|
7529
7529
|
get alertBoxes(): string[][];
|
|
7530
7530
|
}
|
|
7531
7531
|
|
|
7532
|
-
interface Props$
|
|
7532
|
+
interface Props$1n {
|
|
7533
7533
|
messages: string[];
|
|
7534
7534
|
}
|
|
7535
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7535
|
+
declare class ChartErrorSection extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
7536
7536
|
static template: string;
|
|
7537
7537
|
static components: {
|
|
7538
7538
|
Section: typeof Section;
|
|
@@ -7546,7 +7546,7 @@ declare class ChartErrorSection extends Component<Props$1m, SpreadsheetChildEnv>
|
|
|
7546
7546
|
};
|
|
7547
7547
|
}
|
|
7548
7548
|
|
|
7549
|
-
interface Props$
|
|
7549
|
+
interface Props$1m {
|
|
7550
7550
|
title?: string;
|
|
7551
7551
|
range: string;
|
|
7552
7552
|
isInvalid: boolean;
|
|
@@ -7559,7 +7559,7 @@ interface Props$1l {
|
|
|
7559
7559
|
onChange: (value: boolean) => void;
|
|
7560
7560
|
}>;
|
|
7561
7561
|
}
|
|
7562
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7562
|
+
declare class ChartLabelRange extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
7563
7563
|
static template: string;
|
|
7564
7564
|
static components: {
|
|
7565
7565
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7580,10 +7580,10 @@ declare class ChartLabelRange extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
|
7580
7580
|
optional: boolean;
|
|
7581
7581
|
};
|
|
7582
7582
|
};
|
|
7583
|
-
static defaultProps: Partial<Props$
|
|
7583
|
+
static defaultProps: Partial<Props$1m>;
|
|
7584
7584
|
}
|
|
7585
7585
|
|
|
7586
|
-
interface Props$
|
|
7586
|
+
interface Props$1l {
|
|
7587
7587
|
chartId: UID;
|
|
7588
7588
|
definition: ChartWithDataSetDefinition;
|
|
7589
7589
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7593,7 +7593,7 @@ interface ChartPanelState {
|
|
|
7593
7593
|
datasetDispatchResult?: DispatchResult;
|
|
7594
7594
|
labelsDispatchResult?: DispatchResult;
|
|
7595
7595
|
}
|
|
7596
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7596
|
+
declare class GenericChartConfigPanel extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
7597
7597
|
static template: string;
|
|
7598
7598
|
static components: {
|
|
7599
7599
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7662,11 +7662,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7662
7662
|
onUpdateStacked(stacked: boolean): void;
|
|
7663
7663
|
}
|
|
7664
7664
|
|
|
7665
|
-
interface Props$
|
|
7665
|
+
interface Props$1k {
|
|
7666
7666
|
isCollapsed: boolean;
|
|
7667
7667
|
slots: any;
|
|
7668
7668
|
}
|
|
7669
|
-
declare class Collapse extends Component<Props$
|
|
7669
|
+
declare class Collapse extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
7670
7670
|
static template: string;
|
|
7671
7671
|
static props: {
|
|
7672
7672
|
isCollapsed: BooleanConstructor;
|
|
@@ -7705,12 +7705,12 @@ interface Choice$1 {
|
|
|
7705
7705
|
value: string;
|
|
7706
7706
|
label: string;
|
|
7707
7707
|
}
|
|
7708
|
-
interface Props$
|
|
7708
|
+
interface Props$1j {
|
|
7709
7709
|
choices: Choice$1[];
|
|
7710
7710
|
onChange: (value: string) => void;
|
|
7711
7711
|
selectedValue: string;
|
|
7712
7712
|
}
|
|
7713
|
-
declare class BadgeSelection extends Component<Props$
|
|
7713
|
+
declare class BadgeSelection extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
7714
7714
|
static template: string;
|
|
7715
7715
|
static props: {
|
|
7716
7716
|
choices: ArrayConstructor;
|
|
@@ -7719,14 +7719,14 @@ declare class BadgeSelection extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
|
7719
7719
|
};
|
|
7720
7720
|
}
|
|
7721
7721
|
|
|
7722
|
-
interface Props$
|
|
7722
|
+
interface Props$1i {
|
|
7723
7723
|
action: ActionSpec;
|
|
7724
7724
|
hasTriangleDownIcon?: boolean;
|
|
7725
7725
|
selectedColor?: string;
|
|
7726
7726
|
class?: string;
|
|
7727
7727
|
onClick?: (ev: MouseEvent) => void;
|
|
7728
7728
|
}
|
|
7729
|
-
declare class ActionButton extends Component<Props$
|
|
7729
|
+
declare class ActionButton extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
7730
7730
|
static template: string;
|
|
7731
7731
|
static props: {
|
|
7732
7732
|
action: ObjectConstructor;
|
|
@@ -7924,7 +7924,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7924
7924
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7925
7925
|
}
|
|
7926
7926
|
|
|
7927
|
-
interface Props$
|
|
7927
|
+
interface Props$1h {
|
|
7928
7928
|
currentColor: string | undefined;
|
|
7929
7929
|
toggleColorPicker: () => void;
|
|
7930
7930
|
showColorPicker: boolean;
|
|
@@ -7935,7 +7935,7 @@ interface Props$1g {
|
|
|
7935
7935
|
dropdownMaxHeight?: Pixel;
|
|
7936
7936
|
class?: string;
|
|
7937
7937
|
}
|
|
7938
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7938
|
+
declare class ColorPickerWidget extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7939
7939
|
static template: string;
|
|
7940
7940
|
static props: {
|
|
7941
7941
|
currentColor: {
|
|
@@ -7996,14 +7996,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7996
7996
|
interface State$5 {
|
|
7997
7997
|
isOpen: boolean;
|
|
7998
7998
|
}
|
|
7999
|
-
interface Props$
|
|
7999
|
+
interface Props$1g {
|
|
8000
8000
|
currentFontSize: number;
|
|
8001
8001
|
class: string;
|
|
8002
8002
|
onFontSizeChanged: (fontSize: number) => void;
|
|
8003
8003
|
onToggle?: () => void;
|
|
8004
8004
|
onFocusInput?: () => void;
|
|
8005
8005
|
}
|
|
8006
|
-
declare class FontSizeEditor extends Component<Props$
|
|
8006
|
+
declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
8007
8007
|
static template: string;
|
|
8008
8008
|
static props: {
|
|
8009
8009
|
currentFontSize: NumberConstructor;
|
|
@@ -8041,7 +8041,7 @@ declare class FontSizeEditor extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
|
8041
8041
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
8042
8042
|
}
|
|
8043
8043
|
|
|
8044
|
-
interface Props$
|
|
8044
|
+
interface Props$1f {
|
|
8045
8045
|
class?: string;
|
|
8046
8046
|
style: ChartStyle;
|
|
8047
8047
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -8050,7 +8050,7 @@ interface Props$1e {
|
|
|
8050
8050
|
hasHorizontalAlign?: boolean;
|
|
8051
8051
|
hasBackgroundColor?: boolean;
|
|
8052
8052
|
}
|
|
8053
|
-
declare class TextStyler extends Component<Props$
|
|
8053
|
+
declare class TextStyler extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
8054
8054
|
static template: string;
|
|
8055
8055
|
static components: {
|
|
8056
8056
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -8118,7 +8118,7 @@ declare class TextStyler extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
8118
8118
|
get verticalAlignActions(): ActionSpec[];
|
|
8119
8119
|
}
|
|
8120
8120
|
|
|
8121
|
-
interface Props$
|
|
8121
|
+
interface Props$1e {
|
|
8122
8122
|
title?: string;
|
|
8123
8123
|
placeholder?: string;
|
|
8124
8124
|
updateTitle: (title: string) => void;
|
|
@@ -8127,7 +8127,7 @@ interface Props$1d {
|
|
|
8127
8127
|
defaultStyle?: Partial<TitleDesign>;
|
|
8128
8128
|
updateStyle: (style: TitleDesign) => void;
|
|
8129
8129
|
}
|
|
8130
|
-
declare class ChartTitle extends Component<Props$
|
|
8130
|
+
declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
8131
8131
|
static template: string;
|
|
8132
8132
|
static components: {
|
|
8133
8133
|
Section: typeof Section;
|
|
@@ -8164,13 +8164,13 @@ interface AxisDefinition {
|
|
|
8164
8164
|
id: string;
|
|
8165
8165
|
name: string;
|
|
8166
8166
|
}
|
|
8167
|
-
interface Props$
|
|
8167
|
+
interface Props$1d {
|
|
8168
8168
|
chartId: UID;
|
|
8169
8169
|
definition: ChartWithAxisDefinition;
|
|
8170
8170
|
updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
8171
8171
|
axesList: AxisDefinition[];
|
|
8172
8172
|
}
|
|
8173
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
8173
|
+
declare class AxisDesignEditor extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
8174
8174
|
static template: string;
|
|
8175
8175
|
static components: {
|
|
8176
8176
|
Section: typeof Section;
|
|
@@ -8202,14 +8202,14 @@ interface Choice {
|
|
|
8202
8202
|
value: unknown;
|
|
8203
8203
|
label: string;
|
|
8204
8204
|
}
|
|
8205
|
-
interface Props$
|
|
8205
|
+
interface Props$1c {
|
|
8206
8206
|
choices: Choice[];
|
|
8207
8207
|
onChange: (value: unknown) => void;
|
|
8208
8208
|
selectedValue: string;
|
|
8209
8209
|
name: string;
|
|
8210
8210
|
direction: "horizontal" | "vertical";
|
|
8211
8211
|
}
|
|
8212
|
-
declare class RadioSelection extends Component<Props$
|
|
8212
|
+
declare class RadioSelection extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
8213
8213
|
static template: string;
|
|
8214
8214
|
static props: {
|
|
8215
8215
|
choices: ArrayConstructor;
|
|
@@ -8228,13 +8228,13 @@ declare class RadioSelection extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
|
8228
8228
|
};
|
|
8229
8229
|
}
|
|
8230
8230
|
|
|
8231
|
-
interface Props$
|
|
8231
|
+
interface Props$1b {
|
|
8232
8232
|
currentColor?: string;
|
|
8233
8233
|
onColorPicked: (color: string) => void;
|
|
8234
8234
|
title?: string;
|
|
8235
8235
|
disableNoColor?: boolean;
|
|
8236
8236
|
}
|
|
8237
|
-
declare class RoundColorPicker extends Component<Props$
|
|
8237
|
+
declare class RoundColorPicker extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
8238
8238
|
static template: string;
|
|
8239
8239
|
static components: {
|
|
8240
8240
|
Section: typeof Section;
|
|
@@ -8267,14 +8267,14 @@ declare class RoundColorPicker extends Component<Props$1a, SpreadsheetChildEnv>
|
|
|
8267
8267
|
get buttonStyle(): string;
|
|
8268
8268
|
}
|
|
8269
8269
|
|
|
8270
|
-
interface Props$
|
|
8270
|
+
interface Props$1a {
|
|
8271
8271
|
chartId: UID;
|
|
8272
8272
|
definition: ChartDefinition;
|
|
8273
8273
|
updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8274
8274
|
canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8275
8275
|
defaultChartTitleFontSize?: number;
|
|
8276
8276
|
}
|
|
8277
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8277
|
+
declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
8278
8278
|
static template: string;
|
|
8279
8279
|
static components: {
|
|
8280
8280
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8309,13 +8309,13 @@ declare class GeneralDesignEditor extends Component<Props$19, SpreadsheetChildEn
|
|
|
8309
8309
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8310
8310
|
}
|
|
8311
8311
|
|
|
8312
|
-
interface Props$
|
|
8312
|
+
interface Props$19 {
|
|
8313
8313
|
chartId: UID;
|
|
8314
8314
|
definition: ChartWithDataSetDefinition;
|
|
8315
8315
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8316
8316
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8317
8317
|
}
|
|
8318
|
-
declare class ChartHumanizeNumbers extends Component<Props$
|
|
8318
|
+
declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildEnv> {
|
|
8319
8319
|
static template: string;
|
|
8320
8320
|
static components: {
|
|
8321
8321
|
Checkbox: typeof Checkbox;
|
|
@@ -8328,13 +8328,13 @@ declare class ChartHumanizeNumbers extends Component<Props$18, SpreadsheetChildE
|
|
|
8328
8328
|
};
|
|
8329
8329
|
}
|
|
8330
8330
|
|
|
8331
|
-
interface Props$
|
|
8331
|
+
interface Props$18 {
|
|
8332
8332
|
chartId: UID;
|
|
8333
8333
|
definition: ChartWithDataSetDefinition;
|
|
8334
8334
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8335
8335
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8336
8336
|
}
|
|
8337
|
-
declare class ChartLegend extends Component<Props$
|
|
8337
|
+
declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
|
|
8338
8338
|
static template: string;
|
|
8339
8339
|
static components: {
|
|
8340
8340
|
Section: typeof Section;
|
|
@@ -8348,13 +8348,13 @@ declare class ChartLegend extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
8348
8348
|
updateLegendPosition(ev: any): void;
|
|
8349
8349
|
}
|
|
8350
8350
|
|
|
8351
|
-
interface Props$
|
|
8351
|
+
interface Props$17 {
|
|
8352
8352
|
chartId: UID;
|
|
8353
8353
|
definition: ChartWithDataSetDefinition;
|
|
8354
8354
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8355
8355
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8356
8356
|
}
|
|
8357
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
8357
|
+
declare class SeriesDesignEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
8358
8358
|
static template: string;
|
|
8359
8359
|
static components: {
|
|
8360
8360
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8382,13 +8382,13 @@ declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv
|
|
|
8382
8382
|
getDataSeriesLabel(): string | undefined;
|
|
8383
8383
|
}
|
|
8384
8384
|
|
|
8385
|
-
interface Props$
|
|
8385
|
+
interface Props$16 {
|
|
8386
8386
|
chartId: UID;
|
|
8387
8387
|
definition: ChartWithDataSetDefinition;
|
|
8388
8388
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8389
8389
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8390
8390
|
}
|
|
8391
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8391
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
|
|
8392
8392
|
static template: string;
|
|
8393
8393
|
static components: {
|
|
8394
8394
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8429,14 +8429,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$15, Spreadsheet
|
|
|
8429
8429
|
updateTrendLineValue(index: number, config: any): void;
|
|
8430
8430
|
}
|
|
8431
8431
|
|
|
8432
|
-
interface Props$
|
|
8432
|
+
interface Props$15 {
|
|
8433
8433
|
chartId: UID;
|
|
8434
8434
|
definition: ChartWithDataSetDefinition;
|
|
8435
8435
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8436
8436
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8437
8437
|
defaultValue?: boolean;
|
|
8438
8438
|
}
|
|
8439
|
-
declare class ChartShowValues extends Component<Props$
|
|
8439
|
+
declare class ChartShowValues extends Component<Props$15, SpreadsheetChildEnv> {
|
|
8440
8440
|
static template: string;
|
|
8441
8441
|
static components: {
|
|
8442
8442
|
Checkbox: typeof Checkbox;
|
|
@@ -8453,13 +8453,13 @@ declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
8453
8453
|
};
|
|
8454
8454
|
}
|
|
8455
8455
|
|
|
8456
|
-
interface Props$
|
|
8456
|
+
interface Props$14 {
|
|
8457
8457
|
chartId: UID;
|
|
8458
8458
|
definition: ChartWithDataSetDefinition;
|
|
8459
8459
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8460
8460
|
updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8461
8461
|
}
|
|
8462
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8462
|
+
declare class ChartWithAxisDesignPanel<P extends Props$14 = Props$14> extends Component<P, SpreadsheetChildEnv> {
|
|
8463
8463
|
static template: string;
|
|
8464
8464
|
static components: {
|
|
8465
8465
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8480,13 +8480,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Co
|
|
|
8480
8480
|
get axesList(): AxisDefinition[];
|
|
8481
8481
|
}
|
|
8482
8482
|
|
|
8483
|
-
interface Props$
|
|
8483
|
+
interface Props$13 {
|
|
8484
8484
|
chartId: UID;
|
|
8485
8485
|
definition: GaugeChartDefinition;
|
|
8486
8486
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8487
8487
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8488
8488
|
}
|
|
8489
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8489
|
+
declare class GaugeChartConfigPanel extends Component<Props$13, SpreadsheetChildEnv> {
|
|
8490
8490
|
static template: string;
|
|
8491
8491
|
static components: {
|
|
8492
8492
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8551,13 +8551,13 @@ interface EnrichedToken extends Token {
|
|
|
8551
8551
|
isInHoverContext?: boolean;
|
|
8552
8552
|
}
|
|
8553
8553
|
|
|
8554
|
-
interface Props$
|
|
8554
|
+
interface Props$12 {
|
|
8555
8555
|
proposals: AutoCompleteProposal[];
|
|
8556
8556
|
selectedIndex: number | undefined;
|
|
8557
8557
|
onValueSelected: (value: string) => void;
|
|
8558
8558
|
onValueHovered: (index: string) => void;
|
|
8559
8559
|
}
|
|
8560
|
-
declare class TextValueProvider extends Component<Props$
|
|
8560
|
+
declare class TextValueProvider extends Component<Props$12> {
|
|
8561
8561
|
static template: string;
|
|
8562
8562
|
static props: {
|
|
8563
8563
|
proposals: ArrayConstructor;
|
|
@@ -8614,11 +8614,11 @@ declare class ContentEditableHelper {
|
|
|
8614
8614
|
getText(): string;
|
|
8615
8615
|
}
|
|
8616
8616
|
|
|
8617
|
-
interface Props$
|
|
8617
|
+
interface Props$11 {
|
|
8618
8618
|
functionDescription: FunctionDescription;
|
|
8619
8619
|
argsToFocus: number[];
|
|
8620
8620
|
}
|
|
8621
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8621
|
+
declare class FunctionDescriptionProvider extends Component<Props$11, SpreadsheetChildEnv> {
|
|
8622
8622
|
static template: string;
|
|
8623
8623
|
static props: {
|
|
8624
8624
|
functionDescription: ObjectConstructor;
|
|
@@ -8629,15 +8629,15 @@ declare class FunctionDescriptionProvider extends Component<Props$10, Spreadshee
|
|
|
8629
8629
|
};
|
|
8630
8630
|
private state;
|
|
8631
8631
|
toggle(): void;
|
|
8632
|
-
getContext(): Props$
|
|
8632
|
+
getContext(): Props$11;
|
|
8633
8633
|
get formulaArgSeparator(): string;
|
|
8634
8634
|
}
|
|
8635
8635
|
|
|
8636
|
-
interface Props
|
|
8636
|
+
interface Props$10 {
|
|
8637
8637
|
anchorRect: Rect;
|
|
8638
8638
|
content: string;
|
|
8639
8639
|
}
|
|
8640
|
-
declare class SpeechBubble extends Component<Props
|
|
8640
|
+
declare class SpeechBubble extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8641
8641
|
static template: string;
|
|
8642
8642
|
static props: {
|
|
8643
8643
|
content: StringConstructor;
|
|
@@ -9040,7 +9040,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
9040
9040
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
9041
9041
|
}
|
|
9042
9042
|
|
|
9043
|
-
interface Props
|
|
9043
|
+
interface Props$$ {
|
|
9044
9044
|
onConfirm: (content: string) => void;
|
|
9045
9045
|
composerContent: string;
|
|
9046
9046
|
defaultRangeSheetId: UID;
|
|
@@ -9052,7 +9052,7 @@ interface Props$_ {
|
|
|
9052
9052
|
invalid?: boolean;
|
|
9053
9053
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9054
9054
|
}
|
|
9055
|
-
declare class StandaloneComposer extends Component<Props
|
|
9055
|
+
declare class StandaloneComposer extends Component<Props$$, SpreadsheetChildEnv> {
|
|
9056
9056
|
static template: string;
|
|
9057
9057
|
static props: {
|
|
9058
9058
|
composerContent: {
|
|
@@ -9115,13 +9115,13 @@ interface PanelState {
|
|
|
9115
9115
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
9116
9116
|
sectionRule: SectionRule;
|
|
9117
9117
|
}
|
|
9118
|
-
interface Props$
|
|
9118
|
+
interface Props$_ {
|
|
9119
9119
|
chartId: UID;
|
|
9120
9120
|
definition: GaugeChartDefinition;
|
|
9121
9121
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9122
9122
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9123
9123
|
}
|
|
9124
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
9124
|
+
declare class GaugeChartDesignPanel extends Component<Props$_, SpreadsheetChildEnv> {
|
|
9125
9125
|
static template: string;
|
|
9126
9126
|
static components: {
|
|
9127
9127
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9172,13 +9172,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9172
9172
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9173
9173
|
}
|
|
9174
9174
|
|
|
9175
|
-
interface Props$
|
|
9175
|
+
interface Props$Z {
|
|
9176
9176
|
chartId: UID;
|
|
9177
9177
|
definition: ScorecardChartDefinition;
|
|
9178
9178
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9179
9179
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9180
9180
|
}
|
|
9181
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
9181
|
+
declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
9182
9182
|
static template: string;
|
|
9183
9183
|
static components: {
|
|
9184
9184
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9207,13 +9207,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
|
|
|
9207
9207
|
}
|
|
9208
9208
|
|
|
9209
9209
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9210
|
-
interface Props$
|
|
9210
|
+
interface Props$Y {
|
|
9211
9211
|
chartId: UID;
|
|
9212
9212
|
definition: ScorecardChartDefinition;
|
|
9213
9213
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9214
9214
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9215
9215
|
}
|
|
9216
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
9216
|
+
declare class ScorecardChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
9217
9217
|
static template: string;
|
|
9218
9218
|
static components: {
|
|
9219
9219
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9398,11 +9398,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
|
|
|
9398
9398
|
enableAnimationForChart(chartId: UID): string;
|
|
9399
9399
|
}
|
|
9400
9400
|
|
|
9401
|
-
interface Props$
|
|
9401
|
+
interface Props$X {
|
|
9402
9402
|
chartId: UID;
|
|
9403
9403
|
isFullScreen?: boolean;
|
|
9404
9404
|
}
|
|
9405
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9405
|
+
declare class ChartJsComponent extends Component<Props$X, SpreadsheetChildEnv> {
|
|
9406
9406
|
static template: string;
|
|
9407
9407
|
static props: {
|
|
9408
9408
|
chartId: StringConstructor;
|
|
@@ -9423,7 +9423,7 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
|
9423
9423
|
get chartRuntime(): ChartJSRuntime;
|
|
9424
9424
|
setup(): void;
|
|
9425
9425
|
protected unmount(): void;
|
|
9426
|
-
|
|
9426
|
+
private get shouldAnimate();
|
|
9427
9427
|
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
9428
9428
|
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
9429
9429
|
private hasChartDataChanged;
|
|
@@ -9437,13 +9437,18 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
|
9437
9437
|
get animationChartId(): string;
|
|
9438
9438
|
}
|
|
9439
9439
|
|
|
9440
|
-
interface Props$
|
|
9440
|
+
interface Props$W {
|
|
9441
9441
|
chartId: UID;
|
|
9442
|
+
isFullScreen?: Boolean;
|
|
9442
9443
|
}
|
|
9443
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9444
|
+
declare class ScorecardChart$1 extends Component<Props$W, SpreadsheetChildEnv> {
|
|
9444
9445
|
static template: string;
|
|
9445
9446
|
static props: {
|
|
9446
9447
|
chartId: StringConstructor;
|
|
9448
|
+
isFullScreen: {
|
|
9449
|
+
type: BooleanConstructor;
|
|
9450
|
+
optional: boolean;
|
|
9451
|
+
};
|
|
9447
9452
|
};
|
|
9448
9453
|
private canvas;
|
|
9449
9454
|
get runtime(): ScorecardChartRuntime;
|
|
@@ -9516,7 +9521,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9516
9521
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9517
9522
|
}
|
|
9518
9523
|
|
|
9519
|
-
interface Props$
|
|
9524
|
+
interface Props$V {
|
|
9520
9525
|
anchorRect: Rect;
|
|
9521
9526
|
popoverPositioning: PopoverPropsPosition;
|
|
9522
9527
|
menuItems: Action[];
|
|
@@ -9536,7 +9541,7 @@ interface MenuState {
|
|
|
9536
9541
|
menuItems: Action[];
|
|
9537
9542
|
isHoveringChild?: boolean;
|
|
9538
9543
|
}
|
|
9539
|
-
declare class MenuPopover extends Component<Props$
|
|
9544
|
+
declare class MenuPopover extends Component<Props$V, SpreadsheetChildEnv> {
|
|
9540
9545
|
static template: string;
|
|
9541
9546
|
static props: {
|
|
9542
9547
|
anchorRect: ObjectConstructor;
|
|
@@ -9616,7 +9621,7 @@ declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9616
9621
|
}
|
|
9617
9622
|
|
|
9618
9623
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9619
|
-
interface Props$
|
|
9624
|
+
interface Props$U {
|
|
9620
9625
|
figureUI: FigureUI;
|
|
9621
9626
|
style: string;
|
|
9622
9627
|
class: string;
|
|
@@ -9624,7 +9629,7 @@ interface Props$T {
|
|
|
9624
9629
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9625
9630
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9626
9631
|
}
|
|
9627
|
-
declare class FigureComponent extends Component<Props$
|
|
9632
|
+
declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
|
|
9628
9633
|
static template: string;
|
|
9629
9634
|
static props: {
|
|
9630
9635
|
figureUI: ObjectConstructor;
|
|
@@ -9680,8 +9685,9 @@ declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
9680
9685
|
editWrapperStyle(properties: CSSProperties): void;
|
|
9681
9686
|
}
|
|
9682
9687
|
|
|
9683
|
-
interface Props$
|
|
9688
|
+
interface Props$T {
|
|
9684
9689
|
chartId: UID;
|
|
9690
|
+
hasFullScreenButton: boolean;
|
|
9685
9691
|
}
|
|
9686
9692
|
interface MenuItem {
|
|
9687
9693
|
id: string;
|
|
@@ -9690,13 +9696,20 @@ interface MenuItem {
|
|
|
9690
9696
|
onClick: () => void;
|
|
9691
9697
|
preview?: string;
|
|
9692
9698
|
}
|
|
9693
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9699
|
+
declare class ChartDashboardMenu extends Component<Props$T, SpreadsheetChildEnv> {
|
|
9694
9700
|
static template: string;
|
|
9695
9701
|
static components: {
|
|
9696
9702
|
MenuPopover: typeof MenuPopover;
|
|
9697
9703
|
};
|
|
9698
9704
|
static props: {
|
|
9699
9705
|
chartId: StringConstructor;
|
|
9706
|
+
hasFullScreenButton: {
|
|
9707
|
+
type: BooleanConstructor;
|
|
9708
|
+
optional: boolean;
|
|
9709
|
+
};
|
|
9710
|
+
};
|
|
9711
|
+
static defaultProps: {
|
|
9712
|
+
hasFullScreenButton: boolean;
|
|
9700
9713
|
};
|
|
9701
9714
|
private fullScreenFigureStore;
|
|
9702
9715
|
private menuState;
|
|
@@ -9707,12 +9720,13 @@ declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv>
|
|
|
9707
9720
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9708
9721
|
}
|
|
9709
9722
|
|
|
9710
|
-
interface Props$
|
|
9723
|
+
interface Props$S {
|
|
9711
9724
|
figureUI: FigureUI;
|
|
9712
9725
|
onFigureDeleted: () => void;
|
|
9713
9726
|
editFigureStyle?: (properties: CSSProperties) => void;
|
|
9727
|
+
isFullScreen?: boolean;
|
|
9714
9728
|
}
|
|
9715
|
-
declare class ChartFigure extends Component<Props$
|
|
9729
|
+
declare class ChartFigure extends Component<Props$S, SpreadsheetChildEnv> {
|
|
9716
9730
|
static template: string;
|
|
9717
9731
|
static props: {
|
|
9718
9732
|
figureUI: ObjectConstructor;
|
|
@@ -9721,6 +9735,10 @@ declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
|
|
|
9721
9735
|
type: FunctionConstructor;
|
|
9722
9736
|
optional: boolean;
|
|
9723
9737
|
};
|
|
9738
|
+
isFullScreen: {
|
|
9739
|
+
type: BooleanConstructor;
|
|
9740
|
+
optional: boolean;
|
|
9741
|
+
};
|
|
9724
9742
|
};
|
|
9725
9743
|
static components: {
|
|
9726
9744
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
@@ -9742,7 +9760,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9742
9760
|
|
|
9743
9761
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9744
9762
|
|
|
9745
|
-
interface Props$
|
|
9763
|
+
interface Props$R {
|
|
9746
9764
|
isVisible: boolean;
|
|
9747
9765
|
position: Position;
|
|
9748
9766
|
}
|
|
@@ -9754,7 +9772,7 @@ interface State$4 {
|
|
|
9754
9772
|
position: Position;
|
|
9755
9773
|
handler: boolean;
|
|
9756
9774
|
}
|
|
9757
|
-
declare class Autofill extends Component<Props$
|
|
9775
|
+
declare class Autofill extends Component<Props$R, SpreadsheetChildEnv> {
|
|
9758
9776
|
static template: string;
|
|
9759
9777
|
static props: {
|
|
9760
9778
|
position: ObjectConstructor;
|
|
@@ -9794,7 +9812,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9794
9812
|
get tagStyle(): string;
|
|
9795
9813
|
}
|
|
9796
9814
|
|
|
9797
|
-
interface Props$
|
|
9815
|
+
interface Props$Q {
|
|
9798
9816
|
gridDims: DOMDimension;
|
|
9799
9817
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9800
9818
|
}
|
|
@@ -9802,7 +9820,7 @@ interface Props$P {
|
|
|
9802
9820
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9803
9821
|
* It also applies the style of the cell to the composer input.
|
|
9804
9822
|
*/
|
|
9805
|
-
declare class GridComposer extends Component<Props$
|
|
9823
|
+
declare class GridComposer extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
9806
9824
|
static template: string;
|
|
9807
9825
|
static props: {
|
|
9808
9826
|
gridDims: ObjectConstructor;
|
|
@@ -9846,7 +9864,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9846
9864
|
}
|
|
9847
9865
|
|
|
9848
9866
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9849
|
-
interface Props$
|
|
9867
|
+
interface Props$P {
|
|
9850
9868
|
onFigureDeleted: () => void;
|
|
9851
9869
|
}
|
|
9852
9870
|
interface Container {
|
|
@@ -9927,7 +9945,7 @@ interface DndState {
|
|
|
9927
9945
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9928
9946
|
*
|
|
9929
9947
|
*/
|
|
9930
|
-
declare class FiguresContainer extends Component<Props$
|
|
9948
|
+
declare class FiguresContainer extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9931
9949
|
static template: string;
|
|
9932
9950
|
static props: {
|
|
9933
9951
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9965,10 +9983,10 @@ declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
9965
9983
|
private getCarouselOverlappingChart;
|
|
9966
9984
|
}
|
|
9967
9985
|
|
|
9968
|
-
interface Props$
|
|
9986
|
+
interface Props$O {
|
|
9969
9987
|
focusGrid: () => void;
|
|
9970
9988
|
}
|
|
9971
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9989
|
+
declare class GridAddRowsFooter extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9972
9990
|
static template: string;
|
|
9973
9991
|
static props: {
|
|
9974
9992
|
focusGrid: FunctionConstructor;
|
|
@@ -9992,7 +10010,7 @@ declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv>
|
|
|
9992
10010
|
private onExternalClick;
|
|
9993
10011
|
}
|
|
9994
10012
|
|
|
9995
|
-
interface Props$
|
|
10013
|
+
interface Props$N {
|
|
9996
10014
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9997
10015
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
|
|
9998
10016
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -10005,7 +10023,7 @@ interface Props$M {
|
|
|
10005
10023
|
height: number;
|
|
10006
10024
|
};
|
|
10007
10025
|
}
|
|
10008
|
-
declare class GridOverlay extends Component<Props$
|
|
10026
|
+
declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
|
|
10009
10027
|
static template: string;
|
|
10010
10028
|
static props: {
|
|
10011
10029
|
onCellDoubleClicked: {
|
|
@@ -10065,12 +10083,12 @@ declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
10065
10083
|
private getInteractiveIconAtEvent;
|
|
10066
10084
|
}
|
|
10067
10085
|
|
|
10068
|
-
interface Props$
|
|
10086
|
+
interface Props$M {
|
|
10069
10087
|
gridRect: Rect;
|
|
10070
10088
|
onClosePopover: () => void;
|
|
10071
10089
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10072
10090
|
}
|
|
10073
|
-
declare class GridPopover extends Component<Props$
|
|
10091
|
+
declare class GridPopover extends Component<Props$M, SpreadsheetChildEnv> {
|
|
10074
10092
|
static template: string;
|
|
10075
10093
|
static props: {
|
|
10076
10094
|
onClosePopover: FunctionConstructor;
|
|
@@ -10086,7 +10104,7 @@ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10086
10104
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10087
10105
|
}
|
|
10088
10106
|
|
|
10089
|
-
interface Props$
|
|
10107
|
+
interface Props$L {
|
|
10090
10108
|
headersGroups: ConsecutiveIndexes[];
|
|
10091
10109
|
offset: number;
|
|
10092
10110
|
headerRange: {
|
|
@@ -10094,7 +10112,7 @@ interface Props$K {
|
|
|
10094
10112
|
end: HeaderIndex;
|
|
10095
10113
|
};
|
|
10096
10114
|
}
|
|
10097
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10115
|
+
declare class UnhideRowHeaders extends Component<Props$L, SpreadsheetChildEnv> {
|
|
10098
10116
|
static template: string;
|
|
10099
10117
|
static props: {
|
|
10100
10118
|
headersGroups: ArrayConstructor;
|
|
@@ -10113,7 +10131,7 @@ declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
10113
10131
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
10114
10132
|
isVisible(header: HeaderIndex): boolean;
|
|
10115
10133
|
}
|
|
10116
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10134
|
+
declare class UnhideColumnHeaders extends Component<Props$L, SpreadsheetChildEnv> {
|
|
10117
10135
|
static template: string;
|
|
10118
10136
|
static props: {
|
|
10119
10137
|
headersGroups: ArrayConstructor;
|
|
@@ -10306,13 +10324,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10306
10324
|
}
|
|
10307
10325
|
|
|
10308
10326
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10309
|
-
interface Props$
|
|
10327
|
+
interface Props$K {
|
|
10310
10328
|
zone: Zone;
|
|
10311
10329
|
orientation: Orientation$1;
|
|
10312
10330
|
isMoving: boolean;
|
|
10313
10331
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10314
10332
|
}
|
|
10315
|
-
declare class Border extends Component<Props$
|
|
10333
|
+
declare class Border extends Component<Props$K, SpreadsheetChildEnv> {
|
|
10316
10334
|
static template: string;
|
|
10317
10335
|
static props: {
|
|
10318
10336
|
zone: ObjectConstructor;
|
|
@@ -10325,14 +10343,14 @@ declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
10325
10343
|
}
|
|
10326
10344
|
|
|
10327
10345
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10328
|
-
interface Props$
|
|
10346
|
+
interface Props$J {
|
|
10329
10347
|
zone: Zone;
|
|
10330
10348
|
color: Color;
|
|
10331
10349
|
orientation: Orientation;
|
|
10332
10350
|
isResizing: boolean;
|
|
10333
10351
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10334
10352
|
}
|
|
10335
|
-
declare class Corner extends Component<Props$
|
|
10353
|
+
declare class Corner extends Component<Props$J, SpreadsheetChildEnv> {
|
|
10336
10354
|
static template: string;
|
|
10337
10355
|
static props: {
|
|
10338
10356
|
zone: ObjectConstructor;
|
|
@@ -10381,7 +10399,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10381
10399
|
|
|
10382
10400
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10383
10401
|
|
|
10384
|
-
interface Props$
|
|
10402
|
+
interface Props$I {
|
|
10385
10403
|
width: Pixel;
|
|
10386
10404
|
height: Pixel;
|
|
10387
10405
|
direction: ScrollDirection;
|
|
@@ -10389,7 +10407,7 @@ interface Props$H {
|
|
|
10389
10407
|
offset: Pixel;
|
|
10390
10408
|
onScroll: (offset: Pixel) => void;
|
|
10391
10409
|
}
|
|
10392
|
-
declare class ScrollBar extends Component<Props$
|
|
10410
|
+
declare class ScrollBar extends Component<Props$I> {
|
|
10393
10411
|
static props: {
|
|
10394
10412
|
width: {
|
|
10395
10413
|
type: NumberConstructor;
|
|
@@ -10417,10 +10435,10 @@ declare class ScrollBar extends Component<Props$H> {
|
|
|
10417
10435
|
onScroll(ev: any): void;
|
|
10418
10436
|
}
|
|
10419
10437
|
|
|
10420
|
-
interface Props$
|
|
10438
|
+
interface Props$H {
|
|
10421
10439
|
leftOffset: number;
|
|
10422
10440
|
}
|
|
10423
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10441
|
+
declare class HorizontalScrollBar extends Component<Props$H, SpreadsheetChildEnv> {
|
|
10424
10442
|
static props: {
|
|
10425
10443
|
leftOffset: {
|
|
10426
10444
|
type: NumberConstructor;
|
|
@@ -10446,10 +10464,10 @@ declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv
|
|
|
10446
10464
|
onScroll(offset: any): void;
|
|
10447
10465
|
}
|
|
10448
10466
|
|
|
10449
|
-
interface Props$
|
|
10467
|
+
interface Props$G {
|
|
10450
10468
|
topOffset: number;
|
|
10451
10469
|
}
|
|
10452
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10470
|
+
declare class VerticalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
|
|
10453
10471
|
static props: {
|
|
10454
10472
|
topOffset: {
|
|
10455
10473
|
type: NumberConstructor;
|
|
@@ -10484,13 +10502,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10484
10502
|
get highlightProps(): HighlightProps;
|
|
10485
10503
|
}
|
|
10486
10504
|
|
|
10487
|
-
interface Props$
|
|
10505
|
+
interface Props$F {
|
|
10488
10506
|
table: Table;
|
|
10489
10507
|
}
|
|
10490
10508
|
interface State$3 {
|
|
10491
10509
|
highlightZone: Zone | undefined;
|
|
10492
10510
|
}
|
|
10493
|
-
declare class TableResizer extends Component<Props$
|
|
10511
|
+
declare class TableResizer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10494
10512
|
static template: string;
|
|
10495
10513
|
static props: {
|
|
10496
10514
|
table: ObjectConstructor;
|
|
@@ -10519,11 +10537,11 @@ declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
10519
10537
|
* - a vertical resizer (same, for rows)
|
|
10520
10538
|
*/
|
|
10521
10539
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10522
|
-
interface Props$
|
|
10540
|
+
interface Props$E {
|
|
10523
10541
|
exposeFocus: (focus: () => void) => void;
|
|
10524
10542
|
getGridSize: () => DOMDimension;
|
|
10525
10543
|
}
|
|
10526
|
-
declare class Grid extends Component<Props$
|
|
10544
|
+
declare class Grid extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10527
10545
|
static template: string;
|
|
10528
10546
|
static props: {
|
|
10529
10547
|
exposeFocus: FunctionConstructor;
|
|
@@ -10639,7 +10657,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10639
10657
|
private getChartDefinitionFromContextCreation;
|
|
10640
10658
|
}
|
|
10641
10659
|
|
|
10642
|
-
interface Props$
|
|
10660
|
+
interface Props$D {
|
|
10643
10661
|
chartId: UID;
|
|
10644
10662
|
chartPanelStore: MainChartPanelStore;
|
|
10645
10663
|
}
|
|
@@ -10647,7 +10665,7 @@ interface ChartTypePickerState {
|
|
|
10647
10665
|
popoverProps: PopoverProps | undefined;
|
|
10648
10666
|
popoverStyle: string;
|
|
10649
10667
|
}
|
|
10650
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10668
|
+
declare class ChartTypePicker extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10651
10669
|
static template: string;
|
|
10652
10670
|
static components: {
|
|
10653
10671
|
Section: typeof Section;
|
|
@@ -10683,11 +10701,11 @@ declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
10683
10701
|
private closePopover;
|
|
10684
10702
|
}
|
|
10685
10703
|
|
|
10686
|
-
interface Props$
|
|
10704
|
+
interface Props$C {
|
|
10687
10705
|
onCloseSidePanel: () => void;
|
|
10688
10706
|
chartId: UID;
|
|
10689
10707
|
}
|
|
10690
|
-
declare class ChartPanel extends Component<Props$
|
|
10708
|
+
declare class ChartPanel extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10691
10709
|
static template: string;
|
|
10692
10710
|
static components: {
|
|
10693
10711
|
Section: typeof Section;
|
|
@@ -10710,11 +10728,11 @@ declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
10710
10728
|
private getChartDefinition;
|
|
10711
10729
|
}
|
|
10712
10730
|
|
|
10713
|
-
interface Props$
|
|
10731
|
+
interface Props$B {
|
|
10714
10732
|
onValueChange: (value: number) => void;
|
|
10715
10733
|
value: number;
|
|
10716
10734
|
}
|
|
10717
|
-
declare class PieHoleSize extends Component<Props$
|
|
10735
|
+
declare class PieHoleSize extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10718
10736
|
static template: string;
|
|
10719
10737
|
static components: {
|
|
10720
10738
|
Section: typeof Section;
|
|
@@ -10727,13 +10745,13 @@ declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
10727
10745
|
onChange(value: string): void;
|
|
10728
10746
|
}
|
|
10729
10747
|
|
|
10730
|
-
interface Props$
|
|
10748
|
+
interface Props$A {
|
|
10731
10749
|
chartId: UID;
|
|
10732
10750
|
definition: PieChartDefinition;
|
|
10733
10751
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10734
10752
|
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10735
10753
|
}
|
|
10736
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10754
|
+
declare class PieChartDesignPanel extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10737
10755
|
static template: string;
|
|
10738
10756
|
static components: {
|
|
10739
10757
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10757,10 +10775,10 @@ declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv
|
|
|
10757
10775
|
get defaultHoleSize(): number;
|
|
10758
10776
|
}
|
|
10759
10777
|
|
|
10760
|
-
interface Props$
|
|
10778
|
+
interface Props$z {
|
|
10761
10779
|
items: ActionSpec[];
|
|
10762
10780
|
}
|
|
10763
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10781
|
+
declare class CogWheelMenu extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10764
10782
|
static template: string;
|
|
10765
10783
|
static components: {
|
|
10766
10784
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10843,14 +10861,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10843
10861
|
get highlights(): Highlight$1[];
|
|
10844
10862
|
}
|
|
10845
10863
|
|
|
10846
|
-
interface Props$
|
|
10864
|
+
interface Props$y {
|
|
10847
10865
|
deferUpdate: boolean;
|
|
10848
10866
|
isDirty: boolean;
|
|
10849
10867
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10850
10868
|
discard: () => void;
|
|
10851
10869
|
apply: () => void;
|
|
10852
10870
|
}
|
|
10853
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10871
|
+
declare class PivotDeferUpdate extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10854
10872
|
static template: string;
|
|
10855
10873
|
static props: {
|
|
10856
10874
|
deferUpdate: BooleanConstructor;
|
|
@@ -10867,11 +10885,11 @@ declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
10867
10885
|
get deferUpdatesTooltip(): string;
|
|
10868
10886
|
}
|
|
10869
10887
|
|
|
10870
|
-
interface Props$
|
|
10888
|
+
interface Props$x {
|
|
10871
10889
|
onFieldPicked: (field: string) => void;
|
|
10872
10890
|
fields: PivotField[];
|
|
10873
10891
|
}
|
|
10874
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10892
|
+
declare class AddDimensionButton extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10875
10893
|
static template: string;
|
|
10876
10894
|
static components: {
|
|
10877
10895
|
Popover: typeof Popover;
|
|
@@ -10907,7 +10925,7 @@ declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv>
|
|
|
10907
10925
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10908
10926
|
}
|
|
10909
10927
|
|
|
10910
|
-
interface Props$
|
|
10928
|
+
interface Props$w {
|
|
10911
10929
|
value: string;
|
|
10912
10930
|
onChange: (value: string) => void;
|
|
10913
10931
|
class?: string;
|
|
@@ -10916,7 +10934,7 @@ interface Props$v {
|
|
|
10916
10934
|
autofocus?: boolean;
|
|
10917
10935
|
alwaysShowBorder?: boolean;
|
|
10918
10936
|
}
|
|
10919
|
-
declare class TextInput extends Component<Props$
|
|
10937
|
+
declare class TextInput extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10920
10938
|
static template: string;
|
|
10921
10939
|
static props: {
|
|
10922
10940
|
value: StringConstructor;
|
|
@@ -10951,13 +10969,13 @@ declare class TextInput extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
10951
10969
|
get inputClass(): string;
|
|
10952
10970
|
}
|
|
10953
10971
|
|
|
10954
|
-
interface Props$
|
|
10972
|
+
interface Props$v {
|
|
10955
10973
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10956
10974
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10957
10975
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10958
10976
|
type: "row" | "col" | "measure";
|
|
10959
10977
|
}
|
|
10960
|
-
declare class PivotDimension extends Component<Props$
|
|
10978
|
+
declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10961
10979
|
static template: string;
|
|
10962
10980
|
static props: {
|
|
10963
10981
|
dimension: ObjectConstructor;
|
|
@@ -10981,13 +10999,13 @@ declare class PivotDimension extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10981
10999
|
updateName(name: string): void;
|
|
10982
11000
|
}
|
|
10983
11001
|
|
|
10984
|
-
interface Props$
|
|
11002
|
+
interface Props$u {
|
|
10985
11003
|
dimension: PivotDimension$1;
|
|
10986
11004
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10987
11005
|
availableGranularities: Set<string>;
|
|
10988
11006
|
allGranularities: string[];
|
|
10989
11007
|
}
|
|
10990
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
11008
|
+
declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10991
11009
|
static template: string;
|
|
10992
11010
|
static props: {
|
|
10993
11011
|
dimension: ObjectConstructor;
|
|
@@ -11012,11 +11030,11 @@ declare class PivotDimensionGranularity extends Component<Props$t, SpreadsheetCh
|
|
|
11012
11030
|
};
|
|
11013
11031
|
}
|
|
11014
11032
|
|
|
11015
|
-
interface Props$
|
|
11033
|
+
interface Props$t {
|
|
11016
11034
|
dimension: PivotDimension$1;
|
|
11017
11035
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11018
11036
|
}
|
|
11019
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
11037
|
+
declare class PivotDimensionOrder extends Component<Props$t, SpreadsheetChildEnv> {
|
|
11020
11038
|
static template: string;
|
|
11021
11039
|
static props: {
|
|
11022
11040
|
dimension: ObjectConstructor;
|
|
@@ -11053,12 +11071,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
|
|
|
11053
11071
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
11054
11072
|
declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
|
|
11055
11073
|
|
|
11056
|
-
interface Props$
|
|
11074
|
+
interface Props$s {
|
|
11057
11075
|
pivotId: UID;
|
|
11058
11076
|
customField: PivotCustomGroupedField;
|
|
11059
11077
|
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11060
11078
|
}
|
|
11061
|
-
declare class PivotCustomGroupsCollapsible extends Component<Props$
|
|
11079
|
+
declare class PivotCustomGroupsCollapsible extends Component<Props$s, SpreadsheetChildEnv> {
|
|
11062
11080
|
static template: string;
|
|
11063
11081
|
static props: {
|
|
11064
11082
|
pivotId: StringConstructor;
|
|
@@ -11078,7 +11096,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$r, Spreadshee
|
|
|
11078
11096
|
private updateCustomField;
|
|
11079
11097
|
}
|
|
11080
11098
|
|
|
11081
|
-
interface Props$
|
|
11099
|
+
interface Props$r {
|
|
11082
11100
|
pivotId: string;
|
|
11083
11101
|
definition: PivotRuntimeDefinition;
|
|
11084
11102
|
measure: PivotMeasure;
|
|
@@ -11086,7 +11104,7 @@ interface Props$q {
|
|
|
11086
11104
|
onRemoved: () => void;
|
|
11087
11105
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
11088
11106
|
}
|
|
11089
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
11107
|
+
declare class PivotMeasureEditor extends Component<Props$r> {
|
|
11090
11108
|
static template: string;
|
|
11091
11109
|
static components: {
|
|
11092
11110
|
PivotDimension: typeof PivotDimension;
|
|
@@ -11111,11 +11129,11 @@ declare class PivotMeasureEditor extends Component<Props$q> {
|
|
|
11111
11129
|
get isCalculatedMeasureInvalid(): boolean;
|
|
11112
11130
|
}
|
|
11113
11131
|
|
|
11114
|
-
interface Props$
|
|
11132
|
+
interface Props$q {
|
|
11115
11133
|
definition: PivotRuntimeDefinition;
|
|
11116
11134
|
pivotId: UID;
|
|
11117
11135
|
}
|
|
11118
|
-
declare class PivotSortSection extends Component<Props$
|
|
11136
|
+
declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
|
|
11119
11137
|
static template: string;
|
|
11120
11138
|
static components: {
|
|
11121
11139
|
Section: typeof Section;
|
|
@@ -11132,7 +11150,7 @@ declare class PivotSortSection extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
11132
11150
|
}[];
|
|
11133
11151
|
}
|
|
11134
11152
|
|
|
11135
|
-
interface Props$
|
|
11153
|
+
interface Props$p {
|
|
11136
11154
|
definition: PivotRuntimeDefinition;
|
|
11137
11155
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11138
11156
|
unusedGroupableFields: PivotField[];
|
|
@@ -11143,7 +11161,7 @@ interface Props$o {
|
|
|
11143
11161
|
getScrollableContainerEl?: () => HTMLElement;
|
|
11144
11162
|
pivotId: UID;
|
|
11145
11163
|
}
|
|
11146
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
11164
|
+
declare class PivotLayoutConfigurator extends Component<Props$p, SpreadsheetChildEnv> {
|
|
11147
11165
|
static template: string;
|
|
11148
11166
|
static components: {
|
|
11149
11167
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -11238,11 +11256,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11238
11256
|
private areDomainFieldsValid;
|
|
11239
11257
|
}
|
|
11240
11258
|
|
|
11241
|
-
interface Props$
|
|
11259
|
+
interface Props$o {
|
|
11242
11260
|
pivotId: UID;
|
|
11243
11261
|
flipAxis: () => void;
|
|
11244
11262
|
}
|
|
11245
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11263
|
+
declare class PivotTitleSection extends Component<Props$o, SpreadsheetChildEnv> {
|
|
11246
11264
|
static template: string;
|
|
11247
11265
|
static components: {
|
|
11248
11266
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11339,11 +11357,11 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
11339
11357
|
*/
|
|
11340
11358
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
11341
11359
|
|
|
11342
|
-
interface Props$
|
|
11360
|
+
interface Props$n {
|
|
11343
11361
|
position: CellPosition;
|
|
11344
11362
|
sortDirection: SortDirection | "none";
|
|
11345
11363
|
}
|
|
11346
|
-
declare class ClickableCellSortIcon extends Component<Props$
|
|
11364
|
+
declare class ClickableCellSortIcon extends Component<Props$n, SpreadsheetChildEnv> {
|
|
11347
11365
|
static template: string;
|
|
11348
11366
|
static props: {
|
|
11349
11367
|
position: ObjectConstructor;
|
|
@@ -11359,7 +11377,6 @@ declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildE
|
|
|
11359
11377
|
declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
11360
11378
|
static template: string;
|
|
11361
11379
|
private store;
|
|
11362
|
-
private fullScreenChartStore;
|
|
11363
11380
|
private masterChartCanvas;
|
|
11364
11381
|
private masterChart?;
|
|
11365
11382
|
private mode?;
|
|
@@ -11376,7 +11393,6 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11376
11393
|
private getMasterChartConfiguration;
|
|
11377
11394
|
private getDetailChartConfiguration;
|
|
11378
11395
|
private getAxisLimitsFromDataset;
|
|
11379
|
-
protected get shouldAnimate(): boolean;
|
|
11380
11396
|
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
11381
11397
|
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
11382
11398
|
private resetAxesLimits;
|
|
@@ -11392,13 +11408,50 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11392
11408
|
onDoubleClickInMasterChart(ev: PointerEvent): void;
|
|
11393
11409
|
}
|
|
11394
11410
|
|
|
11395
|
-
|
|
11411
|
+
interface Props$m {
|
|
11412
|
+
chartId: UID;
|
|
11413
|
+
isFullScreen?: boolean;
|
|
11414
|
+
}
|
|
11415
|
+
declare class GaugeChartComponent extends Component<Props$m, SpreadsheetChildEnv> {
|
|
11416
|
+
static template: string;
|
|
11417
|
+
static props: {
|
|
11418
|
+
chartId: StringConstructor;
|
|
11419
|
+
isFullScreen: {
|
|
11420
|
+
type: BooleanConstructor;
|
|
11421
|
+
optional: boolean;
|
|
11422
|
+
};
|
|
11423
|
+
};
|
|
11424
|
+
private canvas;
|
|
11425
|
+
private animationStore;
|
|
11426
|
+
get runtime(): GaugeChartRuntime;
|
|
11427
|
+
setup(): void;
|
|
11428
|
+
drawGaugeWithAnimation(): Animation | null;
|
|
11429
|
+
get canvasEl(): HTMLCanvasElement;
|
|
11430
|
+
get animationChartId(): string;
|
|
11431
|
+
}
|
|
11432
|
+
/**
|
|
11433
|
+
* Animation interpolating values using the ease-out quartic curve function (chartJS default easing)
|
|
11434
|
+
*/
|
|
11435
|
+
declare class Animation {
|
|
11436
|
+
private startValue;
|
|
11437
|
+
private endValue;
|
|
11438
|
+
private duration;
|
|
11439
|
+
private callback;
|
|
11440
|
+
private startTime;
|
|
11441
|
+
private animationFrameId;
|
|
11442
|
+
constructor(startValue: number, endValue: number, duration: number, callback: (value: number) => void);
|
|
11443
|
+
start(): void;
|
|
11444
|
+
stop(): void;
|
|
11445
|
+
private animate;
|
|
11446
|
+
}
|
|
11447
|
+
|
|
11448
|
+
declare class FullScreenFigure extends Component<{}, SpreadsheetChildEnv> {
|
|
11396
11449
|
static template: string;
|
|
11397
11450
|
static props: {};
|
|
11398
11451
|
static components: {
|
|
11399
|
-
|
|
11452
|
+
ChartFigure: typeof ChartFigure;
|
|
11400
11453
|
};
|
|
11401
|
-
private
|
|
11454
|
+
private fullScreenFigureStore;
|
|
11402
11455
|
private ref;
|
|
11403
11456
|
spreadsheetRect: Rect;
|
|
11404
11457
|
figureRegistry: Registry<FigureContent>;
|
|
@@ -11407,7 +11460,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
|
11407
11460
|
get chartId(): UID | undefined;
|
|
11408
11461
|
exitFullScreen(): void;
|
|
11409
11462
|
onKeyDown(ev: KeyboardEvent): void;
|
|
11410
|
-
get
|
|
11463
|
+
get figureComponent(): (new (...args: any) => Component) | undefined;
|
|
11411
11464
|
}
|
|
11412
11465
|
|
|
11413
11466
|
interface PivotDialogColumn {
|
|
@@ -12627,6 +12680,7 @@ declare class SmallBottomBar extends Component<Props$1, SpreadsheetChildEnv> {
|
|
|
12627
12680
|
private menuState;
|
|
12628
12681
|
setup(): void;
|
|
12629
12682
|
get focus(): ComposerFocusType;
|
|
12683
|
+
get showFxIcon(): boolean;
|
|
12630
12684
|
get rect(): Rect;
|
|
12631
12685
|
get composerProps(): CellComposerProps;
|
|
12632
12686
|
get symbols(): string[];
|
|
@@ -12679,6 +12733,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
12679
12733
|
private composerInterface;
|
|
12680
12734
|
setup(): void;
|
|
12681
12735
|
get focus(): ComposerFocusType;
|
|
12736
|
+
get showFxIcon(): boolean;
|
|
12682
12737
|
get composerStyle(): string;
|
|
12683
12738
|
get containerStyle(): string;
|
|
12684
12739
|
onFocus(selection: ComposerSelection): void;
|
|
@@ -12791,7 +12846,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12791
12846
|
SidePanels: typeof SidePanels;
|
|
12792
12847
|
SpreadsheetDashboard: typeof SpreadsheetDashboard;
|
|
12793
12848
|
HeaderGroupContainer: typeof HeaderGroupContainer;
|
|
12794
|
-
|
|
12849
|
+
FullScreenFigure: typeof FullScreenFigure;
|
|
12795
12850
|
};
|
|
12796
12851
|
sidePanel: Store<SidePanelStore>;
|
|
12797
12852
|
spreadsheetRef: {
|
|
@@ -13006,6 +13061,7 @@ declare const components: {
|
|
|
13006
13061
|
Grid: typeof Grid;
|
|
13007
13062
|
GridOverlay: typeof GridOverlay;
|
|
13008
13063
|
ScorecardChart: typeof ScorecardChart$1;
|
|
13064
|
+
GaugeChartComponent: typeof GaugeChartComponent;
|
|
13009
13065
|
LineConfigPanel: typeof LineConfigPanel;
|
|
13010
13066
|
BarConfigPanel: typeof BarConfigPanel;
|
|
13011
13067
|
PieChartDesignPanel: typeof PieChartDesignPanel;
|
|
@@ -13044,7 +13100,7 @@ declare const components: {
|
|
|
13044
13100
|
RadioSelection: typeof RadioSelection;
|
|
13045
13101
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
13046
13102
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
13047
|
-
|
|
13103
|
+
FullScreenFigure: typeof FullScreenFigure;
|
|
13048
13104
|
};
|
|
13049
13105
|
declare const hooks: {
|
|
13050
13106
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|