@odoo/o-spreadsheet 19.1.0-alpha.2 → 19.1.0-alpha.4
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 +173 -122
- package/dist/o-spreadsheet.d.ts +215 -152
- package/dist/o-spreadsheet.esm.js +173 -122
- package/dist/o-spreadsheet.iife.js +173 -122
- package/dist/o-spreadsheet.iife.min.js +311 -311
- package/dist/o_spreadsheet.xml +62 -18
- package/package.json +9 -7
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -915,6 +915,13 @@ interface SearchOptions {
|
|
|
915
915
|
* Sparse arrays remain sparse.
|
|
916
916
|
*/
|
|
917
917
|
declare function deepCopy<T>(obj: T): T;
|
|
918
|
+
/**
|
|
919
|
+
* Remove quotes from a quoted string
|
|
920
|
+
* ```js
|
|
921
|
+
* unquote('"Hello"')
|
|
922
|
+
* > 'Hello'
|
|
923
|
+
* ```
|
|
924
|
+
*/
|
|
918
925
|
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
919
926
|
/** Replace the excel-excluded characters of a sheetName */
|
|
920
927
|
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
@@ -7131,7 +7138,7 @@ interface ChartSubtypeProperties {
|
|
|
7131
7138
|
preview: string;
|
|
7132
7139
|
}
|
|
7133
7140
|
|
|
7134
|
-
interface Props$
|
|
7141
|
+
interface Props$1s {
|
|
7135
7142
|
label?: string;
|
|
7136
7143
|
value: boolean;
|
|
7137
7144
|
className?: string;
|
|
@@ -7140,7 +7147,7 @@ interface Props$1r {
|
|
|
7140
7147
|
disabled?: boolean;
|
|
7141
7148
|
onChange: (value: boolean) => void;
|
|
7142
7149
|
}
|
|
7143
|
-
declare class Checkbox extends Component<Props$
|
|
7150
|
+
declare class Checkbox extends Component<Props$1s, SpreadsheetChildEnv> {
|
|
7144
7151
|
static template: string;
|
|
7145
7152
|
static props: {
|
|
7146
7153
|
label: {
|
|
@@ -7175,10 +7182,10 @@ declare class Checkbox extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
|
7175
7182
|
onChange(ev: InputEvent): void;
|
|
7176
7183
|
}
|
|
7177
7184
|
|
|
7178
|
-
interface Props$
|
|
7185
|
+
interface Props$1r {
|
|
7179
7186
|
class?: string;
|
|
7180
7187
|
}
|
|
7181
|
-
declare class Section extends Component<Props$
|
|
7188
|
+
declare class Section extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
7182
7189
|
static template: string;
|
|
7183
7190
|
static props: {
|
|
7184
7191
|
class: {
|
|
@@ -7343,7 +7350,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7343
7350
|
getIndex(rangeId: number | null): number | null;
|
|
7344
7351
|
}
|
|
7345
7352
|
|
|
7346
|
-
interface Props$
|
|
7353
|
+
interface Props$1q {
|
|
7347
7354
|
ranges: string[];
|
|
7348
7355
|
hasSingleRange?: boolean;
|
|
7349
7356
|
required?: boolean;
|
|
@@ -7371,7 +7378,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7371
7378
|
* onSelectionChanged is called every time the input value
|
|
7372
7379
|
* changes.
|
|
7373
7380
|
*/
|
|
7374
|
-
declare class SelectionInput extends Component<Props$
|
|
7381
|
+
declare class SelectionInput extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
7375
7382
|
static template: string;
|
|
7376
7383
|
static props: {
|
|
7377
7384
|
ranges: ArrayConstructor;
|
|
@@ -7448,7 +7455,7 @@ declare class SelectionInput extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
|
7448
7455
|
confirm(): void;
|
|
7449
7456
|
}
|
|
7450
7457
|
|
|
7451
|
-
interface Props$
|
|
7458
|
+
interface Props$1p {
|
|
7452
7459
|
ranges: CustomizedDataSet[];
|
|
7453
7460
|
hasSingleRange?: boolean;
|
|
7454
7461
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7461,7 +7468,7 @@ interface Props$1o {
|
|
|
7461
7468
|
canChangeDatasetOrientation?: boolean;
|
|
7462
7469
|
onFlipAxis?: (structure: string) => void;
|
|
7463
7470
|
}
|
|
7464
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7471
|
+
declare class ChartDataSeries extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
7465
7472
|
static template: string;
|
|
7466
7473
|
static components: {
|
|
7467
7474
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7510,12 +7517,12 @@ declare class ChartDataSeries extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
|
7510
7517
|
get title(): string;
|
|
7511
7518
|
}
|
|
7512
7519
|
|
|
7513
|
-
interface Props$
|
|
7520
|
+
interface Props$1o {
|
|
7514
7521
|
messages: string[];
|
|
7515
7522
|
msgType: "warning" | "error" | "info";
|
|
7516
7523
|
singleBox?: boolean;
|
|
7517
7524
|
}
|
|
7518
|
-
declare class ValidationMessages extends Component<Props$
|
|
7525
|
+
declare class ValidationMessages extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
7519
7526
|
static template: string;
|
|
7520
7527
|
static props: {
|
|
7521
7528
|
messages: ArrayConstructor;
|
|
@@ -7529,10 +7536,10 @@ declare class ValidationMessages extends Component<Props$1n, SpreadsheetChildEnv
|
|
|
7529
7536
|
get alertBoxes(): string[][];
|
|
7530
7537
|
}
|
|
7531
7538
|
|
|
7532
|
-
interface Props$
|
|
7539
|
+
interface Props$1n {
|
|
7533
7540
|
messages: string[];
|
|
7534
7541
|
}
|
|
7535
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7542
|
+
declare class ChartErrorSection extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
7536
7543
|
static template: string;
|
|
7537
7544
|
static components: {
|
|
7538
7545
|
Section: typeof Section;
|
|
@@ -7546,7 +7553,7 @@ declare class ChartErrorSection extends Component<Props$1m, SpreadsheetChildEnv>
|
|
|
7546
7553
|
};
|
|
7547
7554
|
}
|
|
7548
7555
|
|
|
7549
|
-
interface Props$
|
|
7556
|
+
interface Props$1m {
|
|
7550
7557
|
title?: string;
|
|
7551
7558
|
range: string;
|
|
7552
7559
|
isInvalid: boolean;
|
|
@@ -7559,7 +7566,7 @@ interface Props$1l {
|
|
|
7559
7566
|
onChange: (value: boolean) => void;
|
|
7560
7567
|
}>;
|
|
7561
7568
|
}
|
|
7562
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7569
|
+
declare class ChartLabelRange extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
7563
7570
|
static template: string;
|
|
7564
7571
|
static components: {
|
|
7565
7572
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7580,10 +7587,10 @@ declare class ChartLabelRange extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
|
7580
7587
|
optional: boolean;
|
|
7581
7588
|
};
|
|
7582
7589
|
};
|
|
7583
|
-
static defaultProps: Partial<Props$
|
|
7590
|
+
static defaultProps: Partial<Props$1m>;
|
|
7584
7591
|
}
|
|
7585
7592
|
|
|
7586
|
-
interface Props$
|
|
7593
|
+
interface Props$1l {
|
|
7587
7594
|
chartId: UID;
|
|
7588
7595
|
definition: ChartWithDataSetDefinition;
|
|
7589
7596
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7593,7 +7600,7 @@ interface ChartPanelState {
|
|
|
7593
7600
|
datasetDispatchResult?: DispatchResult;
|
|
7594
7601
|
labelsDispatchResult?: DispatchResult;
|
|
7595
7602
|
}
|
|
7596
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7603
|
+
declare class GenericChartConfigPanel extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
7597
7604
|
static template: string;
|
|
7598
7605
|
static components: {
|
|
7599
7606
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7662,11 +7669,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7662
7669
|
onUpdateStacked(stacked: boolean): void;
|
|
7663
7670
|
}
|
|
7664
7671
|
|
|
7665
|
-
interface Props$
|
|
7672
|
+
interface Props$1k {
|
|
7666
7673
|
isCollapsed: boolean;
|
|
7667
7674
|
slots: any;
|
|
7668
7675
|
}
|
|
7669
|
-
declare class Collapse extends Component<Props$
|
|
7676
|
+
declare class Collapse extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
7670
7677
|
static template: string;
|
|
7671
7678
|
static props: {
|
|
7672
7679
|
isCollapsed: BooleanConstructor;
|
|
@@ -7705,12 +7712,12 @@ interface Choice$1 {
|
|
|
7705
7712
|
value: string;
|
|
7706
7713
|
label: string;
|
|
7707
7714
|
}
|
|
7708
|
-
interface Props$
|
|
7715
|
+
interface Props$1j {
|
|
7709
7716
|
choices: Choice$1[];
|
|
7710
7717
|
onChange: (value: string) => void;
|
|
7711
7718
|
selectedValue: string;
|
|
7712
7719
|
}
|
|
7713
|
-
declare class BadgeSelection extends Component<Props$
|
|
7720
|
+
declare class BadgeSelection extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
7714
7721
|
static template: string;
|
|
7715
7722
|
static props: {
|
|
7716
7723
|
choices: ArrayConstructor;
|
|
@@ -7719,14 +7726,14 @@ declare class BadgeSelection extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
|
7719
7726
|
};
|
|
7720
7727
|
}
|
|
7721
7728
|
|
|
7722
|
-
interface Props$
|
|
7729
|
+
interface Props$1i {
|
|
7723
7730
|
action: ActionSpec;
|
|
7724
7731
|
hasTriangleDownIcon?: boolean;
|
|
7725
7732
|
selectedColor?: string;
|
|
7726
7733
|
class?: string;
|
|
7727
7734
|
onClick?: (ev: MouseEvent) => void;
|
|
7728
7735
|
}
|
|
7729
|
-
declare class ActionButton extends Component<Props$
|
|
7736
|
+
declare class ActionButton extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
7730
7737
|
static template: string;
|
|
7731
7738
|
static props: {
|
|
7732
7739
|
action: ObjectConstructor;
|
|
@@ -7892,7 +7899,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7892
7899
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7893
7900
|
}
|
|
7894
7901
|
|
|
7895
|
-
interface Props$
|
|
7902
|
+
interface Props$1h {
|
|
7896
7903
|
currentColor: string | undefined;
|
|
7897
7904
|
toggleColorPicker: () => void;
|
|
7898
7905
|
showColorPicker: boolean;
|
|
@@ -7903,7 +7910,7 @@ interface Props$1g {
|
|
|
7903
7910
|
dropdownMaxHeight?: Pixel;
|
|
7904
7911
|
class?: string;
|
|
7905
7912
|
}
|
|
7906
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7913
|
+
declare class ColorPickerWidget extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7907
7914
|
static template: string;
|
|
7908
7915
|
static props: {
|
|
7909
7916
|
currentColor: {
|
|
@@ -7964,14 +7971,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7964
7971
|
interface State$5 {
|
|
7965
7972
|
isOpen: boolean;
|
|
7966
7973
|
}
|
|
7967
|
-
interface Props$
|
|
7974
|
+
interface Props$1g {
|
|
7968
7975
|
currentFontSize: number;
|
|
7969
7976
|
class: string;
|
|
7970
7977
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7971
7978
|
onToggle?: () => void;
|
|
7972
7979
|
onFocusInput?: () => void;
|
|
7973
7980
|
}
|
|
7974
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7981
|
+
declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
7975
7982
|
static template: string;
|
|
7976
7983
|
static props: {
|
|
7977
7984
|
currentFontSize: NumberConstructor;
|
|
@@ -8009,7 +8016,7 @@ declare class FontSizeEditor extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
|
8009
8016
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
8010
8017
|
}
|
|
8011
8018
|
|
|
8012
|
-
interface Props$
|
|
8019
|
+
interface Props$1f {
|
|
8013
8020
|
class?: string;
|
|
8014
8021
|
style: ChartStyle;
|
|
8015
8022
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -8018,7 +8025,7 @@ interface Props$1e {
|
|
|
8018
8025
|
hasHorizontalAlign?: boolean;
|
|
8019
8026
|
hasBackgroundColor?: boolean;
|
|
8020
8027
|
}
|
|
8021
|
-
declare class TextStyler extends Component<Props$
|
|
8028
|
+
declare class TextStyler extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
8022
8029
|
static template: string;
|
|
8023
8030
|
static components: {
|
|
8024
8031
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -8086,7 +8093,7 @@ declare class TextStyler extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
8086
8093
|
get verticalAlignActions(): ActionSpec[];
|
|
8087
8094
|
}
|
|
8088
8095
|
|
|
8089
|
-
interface Props$
|
|
8096
|
+
interface Props$1e {
|
|
8090
8097
|
title?: string;
|
|
8091
8098
|
placeholder?: string;
|
|
8092
8099
|
updateTitle: (title: string) => void;
|
|
@@ -8095,7 +8102,7 @@ interface Props$1d {
|
|
|
8095
8102
|
defaultStyle?: Partial<TitleDesign>;
|
|
8096
8103
|
updateStyle: (style: TitleDesign) => void;
|
|
8097
8104
|
}
|
|
8098
|
-
declare class ChartTitle extends Component<Props$
|
|
8105
|
+
declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
8099
8106
|
static template: string;
|
|
8100
8107
|
static components: {
|
|
8101
8108
|
Section: typeof Section;
|
|
@@ -8132,13 +8139,13 @@ interface AxisDefinition {
|
|
|
8132
8139
|
id: string;
|
|
8133
8140
|
name: string;
|
|
8134
8141
|
}
|
|
8135
|
-
interface Props$
|
|
8142
|
+
interface Props$1d {
|
|
8136
8143
|
chartId: UID;
|
|
8137
8144
|
definition: ChartWithAxisDefinition;
|
|
8138
8145
|
updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
8139
8146
|
axesList: AxisDefinition[];
|
|
8140
8147
|
}
|
|
8141
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
8148
|
+
declare class AxisDesignEditor extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
8142
8149
|
static template: string;
|
|
8143
8150
|
static components: {
|
|
8144
8151
|
Section: typeof Section;
|
|
@@ -8170,14 +8177,14 @@ interface Choice {
|
|
|
8170
8177
|
value: unknown;
|
|
8171
8178
|
label: string;
|
|
8172
8179
|
}
|
|
8173
|
-
interface Props$
|
|
8180
|
+
interface Props$1c {
|
|
8174
8181
|
choices: Choice[];
|
|
8175
8182
|
onChange: (value: unknown) => void;
|
|
8176
8183
|
selectedValue: string;
|
|
8177
8184
|
name: string;
|
|
8178
8185
|
direction: "horizontal" | "vertical";
|
|
8179
8186
|
}
|
|
8180
|
-
declare class RadioSelection extends Component<Props$
|
|
8187
|
+
declare class RadioSelection extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
8181
8188
|
static template: string;
|
|
8182
8189
|
static props: {
|
|
8183
8190
|
choices: ArrayConstructor;
|
|
@@ -8196,13 +8203,13 @@ declare class RadioSelection extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
|
8196
8203
|
};
|
|
8197
8204
|
}
|
|
8198
8205
|
|
|
8199
|
-
interface Props$
|
|
8206
|
+
interface Props$1b {
|
|
8200
8207
|
currentColor?: string;
|
|
8201
8208
|
onColorPicked: (color: string) => void;
|
|
8202
8209
|
title?: string;
|
|
8203
8210
|
disableNoColor?: boolean;
|
|
8204
8211
|
}
|
|
8205
|
-
declare class RoundColorPicker extends Component<Props$
|
|
8212
|
+
declare class RoundColorPicker extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
8206
8213
|
static template: string;
|
|
8207
8214
|
static components: {
|
|
8208
8215
|
Section: typeof Section;
|
|
@@ -8235,14 +8242,14 @@ declare class RoundColorPicker extends Component<Props$1a, SpreadsheetChildEnv>
|
|
|
8235
8242
|
get buttonStyle(): string;
|
|
8236
8243
|
}
|
|
8237
8244
|
|
|
8238
|
-
interface Props$
|
|
8245
|
+
interface Props$1a {
|
|
8239
8246
|
chartId: UID;
|
|
8240
8247
|
definition: ChartDefinition;
|
|
8241
8248
|
updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8242
8249
|
canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8243
8250
|
defaultChartTitleFontSize?: number;
|
|
8244
8251
|
}
|
|
8245
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8252
|
+
declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
8246
8253
|
static template: string;
|
|
8247
8254
|
static components: {
|
|
8248
8255
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8277,13 +8284,13 @@ declare class GeneralDesignEditor extends Component<Props$19, SpreadsheetChildEn
|
|
|
8277
8284
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8278
8285
|
}
|
|
8279
8286
|
|
|
8280
|
-
interface Props$
|
|
8287
|
+
interface Props$19 {
|
|
8281
8288
|
chartId: UID;
|
|
8282
8289
|
definition: ChartWithDataSetDefinition;
|
|
8283
8290
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8284
8291
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8285
8292
|
}
|
|
8286
|
-
declare class ChartHumanizeNumbers extends Component<Props$
|
|
8293
|
+
declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildEnv> {
|
|
8287
8294
|
static template: string;
|
|
8288
8295
|
static components: {
|
|
8289
8296
|
Checkbox: typeof Checkbox;
|
|
@@ -8296,13 +8303,13 @@ declare class ChartHumanizeNumbers extends Component<Props$18, SpreadsheetChildE
|
|
|
8296
8303
|
};
|
|
8297
8304
|
}
|
|
8298
8305
|
|
|
8299
|
-
interface Props$
|
|
8306
|
+
interface Props$18 {
|
|
8300
8307
|
chartId: UID;
|
|
8301
8308
|
definition: ChartWithDataSetDefinition;
|
|
8302
8309
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8303
8310
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8304
8311
|
}
|
|
8305
|
-
declare class ChartLegend extends Component<Props$
|
|
8312
|
+
declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
|
|
8306
8313
|
static template: string;
|
|
8307
8314
|
static components: {
|
|
8308
8315
|
Section: typeof Section;
|
|
@@ -8316,13 +8323,13 @@ declare class ChartLegend extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
8316
8323
|
updateLegendPosition(ev: any): void;
|
|
8317
8324
|
}
|
|
8318
8325
|
|
|
8319
|
-
interface Props$
|
|
8326
|
+
interface Props$17 {
|
|
8320
8327
|
chartId: UID;
|
|
8321
8328
|
definition: ChartWithDataSetDefinition;
|
|
8322
8329
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8323
8330
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8324
8331
|
}
|
|
8325
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
8332
|
+
declare class SeriesDesignEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
8326
8333
|
static template: string;
|
|
8327
8334
|
static components: {
|
|
8328
8335
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8350,13 +8357,13 @@ declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv
|
|
|
8350
8357
|
getDataSeriesLabel(): string | undefined;
|
|
8351
8358
|
}
|
|
8352
8359
|
|
|
8353
|
-
interface Props$
|
|
8360
|
+
interface Props$16 {
|
|
8354
8361
|
chartId: UID;
|
|
8355
8362
|
definition: ChartWithDataSetDefinition;
|
|
8356
8363
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8357
8364
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8358
8365
|
}
|
|
8359
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8366
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
|
|
8360
8367
|
static template: string;
|
|
8361
8368
|
static components: {
|
|
8362
8369
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8397,14 +8404,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$15, Spreadsheet
|
|
|
8397
8404
|
updateTrendLineValue(index: number, config: any): void;
|
|
8398
8405
|
}
|
|
8399
8406
|
|
|
8400
|
-
interface Props$
|
|
8407
|
+
interface Props$15 {
|
|
8401
8408
|
chartId: UID;
|
|
8402
8409
|
definition: ChartWithDataSetDefinition;
|
|
8403
8410
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8404
8411
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8405
8412
|
defaultValue?: boolean;
|
|
8406
8413
|
}
|
|
8407
|
-
declare class ChartShowValues extends Component<Props$
|
|
8414
|
+
declare class ChartShowValues extends Component<Props$15, SpreadsheetChildEnv> {
|
|
8408
8415
|
static template: string;
|
|
8409
8416
|
static components: {
|
|
8410
8417
|
Checkbox: typeof Checkbox;
|
|
@@ -8421,13 +8428,13 @@ declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
8421
8428
|
};
|
|
8422
8429
|
}
|
|
8423
8430
|
|
|
8424
|
-
interface Props$
|
|
8431
|
+
interface Props$14 {
|
|
8425
8432
|
chartId: UID;
|
|
8426
8433
|
definition: ChartWithDataSetDefinition;
|
|
8427
8434
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8428
8435
|
updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8429
8436
|
}
|
|
8430
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8437
|
+
declare class ChartWithAxisDesignPanel<P extends Props$14 = Props$14> extends Component<P, SpreadsheetChildEnv> {
|
|
8431
8438
|
static template: string;
|
|
8432
8439
|
static components: {
|
|
8433
8440
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8448,13 +8455,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Co
|
|
|
8448
8455
|
get axesList(): AxisDefinition[];
|
|
8449
8456
|
}
|
|
8450
8457
|
|
|
8451
|
-
interface Props$
|
|
8458
|
+
interface Props$13 {
|
|
8452
8459
|
chartId: UID;
|
|
8453
8460
|
definition: GaugeChartDefinition;
|
|
8454
8461
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8455
8462
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8456
8463
|
}
|
|
8457
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8464
|
+
declare class GaugeChartConfigPanel extends Component<Props$13, SpreadsheetChildEnv> {
|
|
8458
8465
|
static template: string;
|
|
8459
8466
|
static components: {
|
|
8460
8467
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8519,13 +8526,13 @@ interface EnrichedToken extends Token {
|
|
|
8519
8526
|
isInHoverContext?: boolean;
|
|
8520
8527
|
}
|
|
8521
8528
|
|
|
8522
|
-
interface Props$
|
|
8529
|
+
interface Props$12 {
|
|
8523
8530
|
proposals: AutoCompleteProposal[];
|
|
8524
8531
|
selectedIndex: number | undefined;
|
|
8525
8532
|
onValueSelected: (value: string) => void;
|
|
8526
8533
|
onValueHovered: (index: string) => void;
|
|
8527
8534
|
}
|
|
8528
|
-
declare class TextValueProvider extends Component<Props$
|
|
8535
|
+
declare class TextValueProvider extends Component<Props$12> {
|
|
8529
8536
|
static template: string;
|
|
8530
8537
|
static props: {
|
|
8531
8538
|
proposals: ArrayConstructor;
|
|
@@ -8582,11 +8589,11 @@ declare class ContentEditableHelper {
|
|
|
8582
8589
|
getText(): string;
|
|
8583
8590
|
}
|
|
8584
8591
|
|
|
8585
|
-
interface Props$
|
|
8592
|
+
interface Props$11 {
|
|
8586
8593
|
functionDescription: FunctionDescription;
|
|
8587
8594
|
argsToFocus: number[];
|
|
8588
8595
|
}
|
|
8589
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8596
|
+
declare class FunctionDescriptionProvider extends Component<Props$11, SpreadsheetChildEnv> {
|
|
8590
8597
|
static template: string;
|
|
8591
8598
|
static props: {
|
|
8592
8599
|
functionDescription: ObjectConstructor;
|
|
@@ -8597,15 +8604,15 @@ declare class FunctionDescriptionProvider extends Component<Props$10, Spreadshee
|
|
|
8597
8604
|
};
|
|
8598
8605
|
private state;
|
|
8599
8606
|
toggle(): void;
|
|
8600
|
-
getContext(): Props$
|
|
8607
|
+
getContext(): Props$11;
|
|
8601
8608
|
get formulaArgSeparator(): string;
|
|
8602
8609
|
}
|
|
8603
8610
|
|
|
8604
|
-
interface Props
|
|
8611
|
+
interface Props$10 {
|
|
8605
8612
|
anchorRect: Rect;
|
|
8606
8613
|
content: string;
|
|
8607
8614
|
}
|
|
8608
|
-
declare class SpeechBubble extends Component<Props
|
|
8615
|
+
declare class SpeechBubble extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8609
8616
|
static template: string;
|
|
8610
8617
|
static props: {
|
|
8611
8618
|
content: StringConstructor;
|
|
@@ -9008,7 +9015,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
9008
9015
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
9009
9016
|
}
|
|
9010
9017
|
|
|
9011
|
-
interface Props
|
|
9018
|
+
interface Props$$ {
|
|
9012
9019
|
onConfirm: (content: string) => void;
|
|
9013
9020
|
composerContent: string;
|
|
9014
9021
|
defaultRangeSheetId: UID;
|
|
@@ -9020,7 +9027,7 @@ interface Props$_ {
|
|
|
9020
9027
|
invalid?: boolean;
|
|
9021
9028
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9022
9029
|
}
|
|
9023
|
-
declare class StandaloneComposer extends Component<Props
|
|
9030
|
+
declare class StandaloneComposer extends Component<Props$$, SpreadsheetChildEnv> {
|
|
9024
9031
|
static template: string;
|
|
9025
9032
|
static props: {
|
|
9026
9033
|
composerContent: {
|
|
@@ -9083,13 +9090,13 @@ interface PanelState {
|
|
|
9083
9090
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
9084
9091
|
sectionRule: SectionRule;
|
|
9085
9092
|
}
|
|
9086
|
-
interface Props$
|
|
9093
|
+
interface Props$_ {
|
|
9087
9094
|
chartId: UID;
|
|
9088
9095
|
definition: GaugeChartDefinition;
|
|
9089
9096
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9090
9097
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9091
9098
|
}
|
|
9092
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
9099
|
+
declare class GaugeChartDesignPanel extends Component<Props$_, SpreadsheetChildEnv> {
|
|
9093
9100
|
static template: string;
|
|
9094
9101
|
static components: {
|
|
9095
9102
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9140,13 +9147,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9140
9147
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9141
9148
|
}
|
|
9142
9149
|
|
|
9143
|
-
interface Props$
|
|
9150
|
+
interface Props$Z {
|
|
9144
9151
|
chartId: UID;
|
|
9145
9152
|
definition: ScorecardChartDefinition;
|
|
9146
9153
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9147
9154
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9148
9155
|
}
|
|
9149
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
9156
|
+
declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
9150
9157
|
static template: string;
|
|
9151
9158
|
static components: {
|
|
9152
9159
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9175,13 +9182,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
|
|
|
9175
9182
|
}
|
|
9176
9183
|
|
|
9177
9184
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9178
|
-
interface Props$
|
|
9185
|
+
interface Props$Y {
|
|
9179
9186
|
chartId: UID;
|
|
9180
9187
|
definition: ScorecardChartDefinition;
|
|
9181
9188
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9182
9189
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9183
9190
|
}
|
|
9184
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
9191
|
+
declare class ScorecardChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
9185
9192
|
static template: string;
|
|
9186
9193
|
static components: {
|
|
9187
9194
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9366,11 +9373,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
|
|
|
9366
9373
|
enableAnimationForChart(chartId: UID): string;
|
|
9367
9374
|
}
|
|
9368
9375
|
|
|
9369
|
-
interface Props$
|
|
9376
|
+
interface Props$X {
|
|
9370
9377
|
chartId: UID;
|
|
9371
9378
|
isFullScreen?: boolean;
|
|
9372
9379
|
}
|
|
9373
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9380
|
+
declare class ChartJsComponent extends Component<Props$X, SpreadsheetChildEnv> {
|
|
9374
9381
|
static template: string;
|
|
9375
9382
|
static props: {
|
|
9376
9383
|
chartId: StringConstructor;
|
|
@@ -9391,7 +9398,7 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
|
9391
9398
|
get chartRuntime(): ChartJSRuntime;
|
|
9392
9399
|
setup(): void;
|
|
9393
9400
|
protected unmount(): void;
|
|
9394
|
-
|
|
9401
|
+
private get shouldAnimate();
|
|
9395
9402
|
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
9396
9403
|
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
9397
9404
|
private hasChartDataChanged;
|
|
@@ -9405,13 +9412,18 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
|
9405
9412
|
get animationChartId(): string;
|
|
9406
9413
|
}
|
|
9407
9414
|
|
|
9408
|
-
interface Props$
|
|
9415
|
+
interface Props$W {
|
|
9409
9416
|
chartId: UID;
|
|
9417
|
+
isFullScreen?: Boolean;
|
|
9410
9418
|
}
|
|
9411
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9419
|
+
declare class ScorecardChart$1 extends Component<Props$W, SpreadsheetChildEnv> {
|
|
9412
9420
|
static template: string;
|
|
9413
9421
|
static props: {
|
|
9414
9422
|
chartId: StringConstructor;
|
|
9423
|
+
isFullScreen: {
|
|
9424
|
+
type: BooleanConstructor;
|
|
9425
|
+
optional: boolean;
|
|
9426
|
+
};
|
|
9415
9427
|
};
|
|
9416
9428
|
private canvas;
|
|
9417
9429
|
get runtime(): ScorecardChartRuntime;
|
|
@@ -9484,7 +9496,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9484
9496
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9485
9497
|
}
|
|
9486
9498
|
|
|
9487
|
-
interface Props$
|
|
9499
|
+
interface Props$V {
|
|
9488
9500
|
anchorRect: Rect;
|
|
9489
9501
|
popoverPositioning: PopoverPropsPosition;
|
|
9490
9502
|
menuItems: Action[];
|
|
@@ -9504,7 +9516,7 @@ interface MenuState {
|
|
|
9504
9516
|
menuItems: Action[];
|
|
9505
9517
|
isHoveringChild?: boolean;
|
|
9506
9518
|
}
|
|
9507
|
-
declare class MenuPopover extends Component<Props$
|
|
9519
|
+
declare class MenuPopover extends Component<Props$V, SpreadsheetChildEnv> {
|
|
9508
9520
|
static template: string;
|
|
9509
9521
|
static props: {
|
|
9510
9522
|
anchorRect: ObjectConstructor;
|
|
@@ -9584,7 +9596,7 @@ declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9584
9596
|
}
|
|
9585
9597
|
|
|
9586
9598
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9587
|
-
interface Props$
|
|
9599
|
+
interface Props$U {
|
|
9588
9600
|
figureUI: FigureUI;
|
|
9589
9601
|
style: string;
|
|
9590
9602
|
class: string;
|
|
@@ -9592,7 +9604,7 @@ interface Props$T {
|
|
|
9592
9604
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9593
9605
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9594
9606
|
}
|
|
9595
|
-
declare class FigureComponent extends Component<Props$
|
|
9607
|
+
declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
|
|
9596
9608
|
static template: string;
|
|
9597
9609
|
static props: {
|
|
9598
9610
|
figureUI: ObjectConstructor;
|
|
@@ -9648,8 +9660,9 @@ declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
9648
9660
|
editWrapperStyle(properties: CSSProperties): void;
|
|
9649
9661
|
}
|
|
9650
9662
|
|
|
9651
|
-
interface Props$
|
|
9663
|
+
interface Props$T {
|
|
9652
9664
|
chartId: UID;
|
|
9665
|
+
hasFullScreenButton: boolean;
|
|
9653
9666
|
}
|
|
9654
9667
|
interface MenuItem {
|
|
9655
9668
|
id: string;
|
|
@@ -9658,13 +9671,20 @@ interface MenuItem {
|
|
|
9658
9671
|
onClick: () => void;
|
|
9659
9672
|
preview?: string;
|
|
9660
9673
|
}
|
|
9661
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9674
|
+
declare class ChartDashboardMenu extends Component<Props$T, SpreadsheetChildEnv> {
|
|
9662
9675
|
static template: string;
|
|
9663
9676
|
static components: {
|
|
9664
9677
|
MenuPopover: typeof MenuPopover;
|
|
9665
9678
|
};
|
|
9666
9679
|
static props: {
|
|
9667
9680
|
chartId: StringConstructor;
|
|
9681
|
+
hasFullScreenButton: {
|
|
9682
|
+
type: BooleanConstructor;
|
|
9683
|
+
optional: boolean;
|
|
9684
|
+
};
|
|
9685
|
+
};
|
|
9686
|
+
static defaultProps: {
|
|
9687
|
+
hasFullScreenButton: boolean;
|
|
9668
9688
|
};
|
|
9669
9689
|
private fullScreenFigureStore;
|
|
9670
9690
|
private menuState;
|
|
@@ -9675,12 +9695,13 @@ declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv>
|
|
|
9675
9695
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9676
9696
|
}
|
|
9677
9697
|
|
|
9678
|
-
interface Props$
|
|
9698
|
+
interface Props$S {
|
|
9679
9699
|
figureUI: FigureUI;
|
|
9680
9700
|
onFigureDeleted: () => void;
|
|
9681
9701
|
editFigureStyle?: (properties: CSSProperties) => void;
|
|
9702
|
+
isFullScreen?: boolean;
|
|
9682
9703
|
}
|
|
9683
|
-
declare class ChartFigure extends Component<Props$
|
|
9704
|
+
declare class ChartFigure extends Component<Props$S, SpreadsheetChildEnv> {
|
|
9684
9705
|
static template: string;
|
|
9685
9706
|
static props: {
|
|
9686
9707
|
figureUI: ObjectConstructor;
|
|
@@ -9689,6 +9710,10 @@ declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
|
|
|
9689
9710
|
type: FunctionConstructor;
|
|
9690
9711
|
optional: boolean;
|
|
9691
9712
|
};
|
|
9713
|
+
isFullScreen: {
|
|
9714
|
+
type: BooleanConstructor;
|
|
9715
|
+
optional: boolean;
|
|
9716
|
+
};
|
|
9692
9717
|
};
|
|
9693
9718
|
static components: {
|
|
9694
9719
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
@@ -9710,7 +9735,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9710
9735
|
|
|
9711
9736
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9712
9737
|
|
|
9713
|
-
interface Props$
|
|
9738
|
+
interface Props$R {
|
|
9714
9739
|
isVisible: boolean;
|
|
9715
9740
|
position: Position;
|
|
9716
9741
|
}
|
|
@@ -9722,7 +9747,7 @@ interface State$4 {
|
|
|
9722
9747
|
position: Position;
|
|
9723
9748
|
handler: boolean;
|
|
9724
9749
|
}
|
|
9725
|
-
declare class Autofill extends Component<Props$
|
|
9750
|
+
declare class Autofill extends Component<Props$R, SpreadsheetChildEnv> {
|
|
9726
9751
|
static template: string;
|
|
9727
9752
|
static props: {
|
|
9728
9753
|
position: ObjectConstructor;
|
|
@@ -9762,7 +9787,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9762
9787
|
get tagStyle(): string;
|
|
9763
9788
|
}
|
|
9764
9789
|
|
|
9765
|
-
interface Props$
|
|
9790
|
+
interface Props$Q {
|
|
9766
9791
|
gridDims: DOMDimension;
|
|
9767
9792
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9768
9793
|
}
|
|
@@ -9770,7 +9795,7 @@ interface Props$P {
|
|
|
9770
9795
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9771
9796
|
* It also applies the style of the cell to the composer input.
|
|
9772
9797
|
*/
|
|
9773
|
-
declare class GridComposer extends Component<Props$
|
|
9798
|
+
declare class GridComposer extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
9774
9799
|
static template: string;
|
|
9775
9800
|
static props: {
|
|
9776
9801
|
gridDims: ObjectConstructor;
|
|
@@ -9814,7 +9839,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9814
9839
|
}
|
|
9815
9840
|
|
|
9816
9841
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9817
|
-
interface Props$
|
|
9842
|
+
interface Props$P {
|
|
9818
9843
|
onFigureDeleted: () => void;
|
|
9819
9844
|
}
|
|
9820
9845
|
interface Container {
|
|
@@ -9895,7 +9920,7 @@ interface DndState {
|
|
|
9895
9920
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9896
9921
|
*
|
|
9897
9922
|
*/
|
|
9898
|
-
declare class FiguresContainer extends Component<Props$
|
|
9923
|
+
declare class FiguresContainer extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9899
9924
|
static template: string;
|
|
9900
9925
|
static props: {
|
|
9901
9926
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9933,10 +9958,10 @@ declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
9933
9958
|
private getCarouselOverlappingChart;
|
|
9934
9959
|
}
|
|
9935
9960
|
|
|
9936
|
-
interface Props$
|
|
9961
|
+
interface Props$O {
|
|
9937
9962
|
focusGrid: () => void;
|
|
9938
9963
|
}
|
|
9939
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9964
|
+
declare class GridAddRowsFooter extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9940
9965
|
static template: string;
|
|
9941
9966
|
static props: {
|
|
9942
9967
|
focusGrid: FunctionConstructor;
|
|
@@ -9960,7 +9985,7 @@ declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv>
|
|
|
9960
9985
|
private onExternalClick;
|
|
9961
9986
|
}
|
|
9962
9987
|
|
|
9963
|
-
interface Props$
|
|
9988
|
+
interface Props$N {
|
|
9964
9989
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9965
9990
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
|
|
9966
9991
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9973,7 +9998,7 @@ interface Props$M {
|
|
|
9973
9998
|
height: number;
|
|
9974
9999
|
};
|
|
9975
10000
|
}
|
|
9976
|
-
declare class GridOverlay extends Component<Props$
|
|
10001
|
+
declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9977
10002
|
static template: string;
|
|
9978
10003
|
static props: {
|
|
9979
10004
|
onCellDoubleClicked: {
|
|
@@ -10033,12 +10058,12 @@ declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
10033
10058
|
private getInteractiveIconAtEvent;
|
|
10034
10059
|
}
|
|
10035
10060
|
|
|
10036
|
-
interface Props$
|
|
10061
|
+
interface Props$M {
|
|
10037
10062
|
gridRect: Rect;
|
|
10038
10063
|
onClosePopover: () => void;
|
|
10039
10064
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10040
10065
|
}
|
|
10041
|
-
declare class GridPopover extends Component<Props$
|
|
10066
|
+
declare class GridPopover extends Component<Props$M, SpreadsheetChildEnv> {
|
|
10042
10067
|
static template: string;
|
|
10043
10068
|
static props: {
|
|
10044
10069
|
onClosePopover: FunctionConstructor;
|
|
@@ -10053,7 +10078,7 @@ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10053
10078
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10054
10079
|
}
|
|
10055
10080
|
|
|
10056
|
-
interface Props$
|
|
10081
|
+
interface Props$L {
|
|
10057
10082
|
headersGroups: ConsecutiveIndexes[];
|
|
10058
10083
|
offset: number;
|
|
10059
10084
|
headerRange: {
|
|
@@ -10061,7 +10086,7 @@ interface Props$K {
|
|
|
10061
10086
|
end: HeaderIndex;
|
|
10062
10087
|
};
|
|
10063
10088
|
}
|
|
10064
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10089
|
+
declare class UnhideRowHeaders extends Component<Props$L, SpreadsheetChildEnv> {
|
|
10065
10090
|
static template: string;
|
|
10066
10091
|
static props: {
|
|
10067
10092
|
headersGroups: ArrayConstructor;
|
|
@@ -10080,7 +10105,7 @@ declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
10080
10105
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
10081
10106
|
isVisible(header: HeaderIndex): boolean;
|
|
10082
10107
|
}
|
|
10083
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10108
|
+
declare class UnhideColumnHeaders extends Component<Props$L, SpreadsheetChildEnv> {
|
|
10084
10109
|
static template: string;
|
|
10085
10110
|
static props: {
|
|
10086
10111
|
headersGroups: ArrayConstructor;
|
|
@@ -10273,13 +10298,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10273
10298
|
}
|
|
10274
10299
|
|
|
10275
10300
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10276
|
-
interface Props$
|
|
10301
|
+
interface Props$K {
|
|
10277
10302
|
zone: Zone;
|
|
10278
10303
|
orientation: Orientation$1;
|
|
10279
10304
|
isMoving: boolean;
|
|
10280
10305
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10281
10306
|
}
|
|
10282
|
-
declare class Border extends Component<Props$
|
|
10307
|
+
declare class Border extends Component<Props$K, SpreadsheetChildEnv> {
|
|
10283
10308
|
static template: string;
|
|
10284
10309
|
static props: {
|
|
10285
10310
|
zone: ObjectConstructor;
|
|
@@ -10292,14 +10317,14 @@ declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
10292
10317
|
}
|
|
10293
10318
|
|
|
10294
10319
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10295
|
-
interface Props$
|
|
10320
|
+
interface Props$J {
|
|
10296
10321
|
zone: Zone;
|
|
10297
10322
|
color: Color;
|
|
10298
10323
|
orientation: Orientation;
|
|
10299
10324
|
isResizing: boolean;
|
|
10300
10325
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10301
10326
|
}
|
|
10302
|
-
declare class Corner extends Component<Props$
|
|
10327
|
+
declare class Corner extends Component<Props$J, SpreadsheetChildEnv> {
|
|
10303
10328
|
static template: string;
|
|
10304
10329
|
static props: {
|
|
10305
10330
|
zone: ObjectConstructor;
|
|
@@ -10348,7 +10373,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10348
10373
|
|
|
10349
10374
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10350
10375
|
|
|
10351
|
-
interface Props$
|
|
10376
|
+
interface Props$I {
|
|
10352
10377
|
width: Pixel;
|
|
10353
10378
|
height: Pixel;
|
|
10354
10379
|
direction: ScrollDirection;
|
|
@@ -10356,7 +10381,7 @@ interface Props$H {
|
|
|
10356
10381
|
offset: Pixel;
|
|
10357
10382
|
onScroll: (offset: Pixel) => void;
|
|
10358
10383
|
}
|
|
10359
|
-
declare class ScrollBar extends Component<Props$
|
|
10384
|
+
declare class ScrollBar extends Component<Props$I> {
|
|
10360
10385
|
static props: {
|
|
10361
10386
|
width: {
|
|
10362
10387
|
type: NumberConstructor;
|
|
@@ -10384,10 +10409,10 @@ declare class ScrollBar extends Component<Props$H> {
|
|
|
10384
10409
|
onScroll(ev: any): void;
|
|
10385
10410
|
}
|
|
10386
10411
|
|
|
10387
|
-
interface Props$
|
|
10412
|
+
interface Props$H {
|
|
10388
10413
|
leftOffset: number;
|
|
10389
10414
|
}
|
|
10390
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10415
|
+
declare class HorizontalScrollBar extends Component<Props$H, SpreadsheetChildEnv> {
|
|
10391
10416
|
static props: {
|
|
10392
10417
|
leftOffset: {
|
|
10393
10418
|
type: NumberConstructor;
|
|
@@ -10413,10 +10438,10 @@ declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv
|
|
|
10413
10438
|
onScroll(offset: any): void;
|
|
10414
10439
|
}
|
|
10415
10440
|
|
|
10416
|
-
interface Props$
|
|
10441
|
+
interface Props$G {
|
|
10417
10442
|
topOffset: number;
|
|
10418
10443
|
}
|
|
10419
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10444
|
+
declare class VerticalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
|
|
10420
10445
|
static props: {
|
|
10421
10446
|
topOffset: {
|
|
10422
10447
|
type: NumberConstructor;
|
|
@@ -10451,13 +10476,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10451
10476
|
get highlightProps(): HighlightProps;
|
|
10452
10477
|
}
|
|
10453
10478
|
|
|
10454
|
-
interface Props$
|
|
10479
|
+
interface Props$F {
|
|
10455
10480
|
table: Table;
|
|
10456
10481
|
}
|
|
10457
10482
|
interface State$3 {
|
|
10458
10483
|
highlightZone: Zone | undefined;
|
|
10459
10484
|
}
|
|
10460
|
-
declare class TableResizer extends Component<Props$
|
|
10485
|
+
declare class TableResizer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10461
10486
|
static template: string;
|
|
10462
10487
|
static props: {
|
|
10463
10488
|
table: ObjectConstructor;
|
|
@@ -10486,11 +10511,11 @@ declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
10486
10511
|
* - a vertical resizer (same, for rows)
|
|
10487
10512
|
*/
|
|
10488
10513
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10489
|
-
interface Props$
|
|
10514
|
+
interface Props$E {
|
|
10490
10515
|
exposeFocus: (focus: () => void) => void;
|
|
10491
10516
|
getGridSize: () => DOMDimension;
|
|
10492
10517
|
}
|
|
10493
|
-
declare class Grid extends Component<Props$
|
|
10518
|
+
declare class Grid extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10494
10519
|
static template: string;
|
|
10495
10520
|
static props: {
|
|
10496
10521
|
exposeFocus: FunctionConstructor;
|
|
@@ -10606,7 +10631,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10606
10631
|
private getChartDefinitionFromContextCreation;
|
|
10607
10632
|
}
|
|
10608
10633
|
|
|
10609
|
-
interface Props$
|
|
10634
|
+
interface Props$D {
|
|
10610
10635
|
chartId: UID;
|
|
10611
10636
|
chartPanelStore: MainChartPanelStore;
|
|
10612
10637
|
}
|
|
@@ -10614,7 +10639,7 @@ interface ChartTypePickerState {
|
|
|
10614
10639
|
popoverProps: PopoverProps | undefined;
|
|
10615
10640
|
popoverStyle: string;
|
|
10616
10641
|
}
|
|
10617
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10642
|
+
declare class ChartTypePicker extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10618
10643
|
static template: string;
|
|
10619
10644
|
static components: {
|
|
10620
10645
|
Section: typeof Section;
|
|
@@ -10650,11 +10675,11 @@ declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
10650
10675
|
private closePopover;
|
|
10651
10676
|
}
|
|
10652
10677
|
|
|
10653
|
-
interface Props$
|
|
10678
|
+
interface Props$C {
|
|
10654
10679
|
onCloseSidePanel: () => void;
|
|
10655
10680
|
chartId: UID;
|
|
10656
10681
|
}
|
|
10657
|
-
declare class ChartPanel extends Component<Props$
|
|
10682
|
+
declare class ChartPanel extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10658
10683
|
static template: string;
|
|
10659
10684
|
static components: {
|
|
10660
10685
|
Section: typeof Section;
|
|
@@ -10677,11 +10702,11 @@ declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
10677
10702
|
private getChartDefinition;
|
|
10678
10703
|
}
|
|
10679
10704
|
|
|
10680
|
-
interface Props$
|
|
10705
|
+
interface Props$B {
|
|
10681
10706
|
onValueChange: (value: number) => void;
|
|
10682
10707
|
value: number;
|
|
10683
10708
|
}
|
|
10684
|
-
declare class PieHoleSize extends Component<Props$
|
|
10709
|
+
declare class PieHoleSize extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10685
10710
|
static template: string;
|
|
10686
10711
|
static components: {
|
|
10687
10712
|
Section: typeof Section;
|
|
@@ -10694,13 +10719,13 @@ declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
10694
10719
|
onChange(value: string): void;
|
|
10695
10720
|
}
|
|
10696
10721
|
|
|
10697
|
-
interface Props$
|
|
10722
|
+
interface Props$A {
|
|
10698
10723
|
chartId: UID;
|
|
10699
10724
|
definition: PieChartDefinition;
|
|
10700
10725
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10701
10726
|
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10702
10727
|
}
|
|
10703
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10728
|
+
declare class PieChartDesignPanel extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10704
10729
|
static template: string;
|
|
10705
10730
|
static components: {
|
|
10706
10731
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10724,10 +10749,10 @@ declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv
|
|
|
10724
10749
|
get defaultHoleSize(): number;
|
|
10725
10750
|
}
|
|
10726
10751
|
|
|
10727
|
-
interface Props$
|
|
10752
|
+
interface Props$z {
|
|
10728
10753
|
items: ActionSpec[];
|
|
10729
10754
|
}
|
|
10730
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10755
|
+
declare class CogWheelMenu extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10731
10756
|
static template: string;
|
|
10732
10757
|
static components: {
|
|
10733
10758
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10810,14 +10835,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10810
10835
|
get highlights(): Highlight$1[];
|
|
10811
10836
|
}
|
|
10812
10837
|
|
|
10813
|
-
interface Props$
|
|
10838
|
+
interface Props$y {
|
|
10814
10839
|
deferUpdate: boolean;
|
|
10815
10840
|
isDirty: boolean;
|
|
10816
10841
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10817
10842
|
discard: () => void;
|
|
10818
10843
|
apply: () => void;
|
|
10819
10844
|
}
|
|
10820
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10845
|
+
declare class PivotDeferUpdate extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10821
10846
|
static template: string;
|
|
10822
10847
|
static props: {
|
|
10823
10848
|
deferUpdate: BooleanConstructor;
|
|
@@ -10834,11 +10859,11 @@ declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
10834
10859
|
get deferUpdatesTooltip(): string;
|
|
10835
10860
|
}
|
|
10836
10861
|
|
|
10837
|
-
interface Props$
|
|
10862
|
+
interface Props$x {
|
|
10838
10863
|
onFieldPicked: (field: string) => void;
|
|
10839
10864
|
fields: PivotField[];
|
|
10840
10865
|
}
|
|
10841
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10866
|
+
declare class AddDimensionButton extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10842
10867
|
static template: string;
|
|
10843
10868
|
static components: {
|
|
10844
10869
|
Popover: typeof Popover;
|
|
@@ -10874,7 +10899,7 @@ declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv>
|
|
|
10874
10899
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10875
10900
|
}
|
|
10876
10901
|
|
|
10877
|
-
interface Props$
|
|
10902
|
+
interface Props$w {
|
|
10878
10903
|
value: string;
|
|
10879
10904
|
onChange: (value: string) => void;
|
|
10880
10905
|
class?: string;
|
|
@@ -10883,7 +10908,7 @@ interface Props$v {
|
|
|
10883
10908
|
autofocus?: boolean;
|
|
10884
10909
|
alwaysShowBorder?: boolean;
|
|
10885
10910
|
}
|
|
10886
|
-
declare class TextInput extends Component<Props$
|
|
10911
|
+
declare class TextInput extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10887
10912
|
static template: string;
|
|
10888
10913
|
static props: {
|
|
10889
10914
|
value: StringConstructor;
|
|
@@ -10918,13 +10943,13 @@ declare class TextInput extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
10918
10943
|
get inputClass(): string;
|
|
10919
10944
|
}
|
|
10920
10945
|
|
|
10921
|
-
interface Props$
|
|
10946
|
+
interface Props$v {
|
|
10922
10947
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10923
10948
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10924
10949
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10925
10950
|
type: "row" | "col" | "measure";
|
|
10926
10951
|
}
|
|
10927
|
-
declare class PivotDimension extends Component<Props$
|
|
10952
|
+
declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10928
10953
|
static template: string;
|
|
10929
10954
|
static props: {
|
|
10930
10955
|
dimension: ObjectConstructor;
|
|
@@ -10948,13 +10973,13 @@ declare class PivotDimension extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10948
10973
|
updateName(name: string): void;
|
|
10949
10974
|
}
|
|
10950
10975
|
|
|
10951
|
-
interface Props$
|
|
10976
|
+
interface Props$u {
|
|
10952
10977
|
dimension: PivotDimension$1;
|
|
10953
10978
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10954
10979
|
availableGranularities: Set<string>;
|
|
10955
10980
|
allGranularities: string[];
|
|
10956
10981
|
}
|
|
10957
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
10982
|
+
declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10958
10983
|
static template: string;
|
|
10959
10984
|
static props: {
|
|
10960
10985
|
dimension: ObjectConstructor;
|
|
@@ -10979,11 +11004,11 @@ declare class PivotDimensionGranularity extends Component<Props$t, SpreadsheetCh
|
|
|
10979
11004
|
};
|
|
10980
11005
|
}
|
|
10981
11006
|
|
|
10982
|
-
interface Props$
|
|
11007
|
+
interface Props$t {
|
|
10983
11008
|
dimension: PivotDimension$1;
|
|
10984
11009
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10985
11010
|
}
|
|
10986
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
11011
|
+
declare class PivotDimensionOrder extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10987
11012
|
static template: string;
|
|
10988
11013
|
static props: {
|
|
10989
11014
|
dimension: ObjectConstructor;
|
|
@@ -11020,12 +11045,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
|
|
|
11020
11045
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
11021
11046
|
declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
|
|
11022
11047
|
|
|
11023
|
-
interface Props$
|
|
11048
|
+
interface Props$s {
|
|
11024
11049
|
pivotId: UID;
|
|
11025
11050
|
customField: PivotCustomGroupedField;
|
|
11026
11051
|
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11027
11052
|
}
|
|
11028
|
-
declare class PivotCustomGroupsCollapsible extends Component<Props$
|
|
11053
|
+
declare class PivotCustomGroupsCollapsible extends Component<Props$s, SpreadsheetChildEnv> {
|
|
11029
11054
|
static template: string;
|
|
11030
11055
|
static props: {
|
|
11031
11056
|
pivotId: StringConstructor;
|
|
@@ -11045,7 +11070,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$r, Spreadshee
|
|
|
11045
11070
|
private updateCustomField;
|
|
11046
11071
|
}
|
|
11047
11072
|
|
|
11048
|
-
interface Props$
|
|
11073
|
+
interface Props$r {
|
|
11049
11074
|
pivotId: string;
|
|
11050
11075
|
definition: PivotRuntimeDefinition;
|
|
11051
11076
|
measure: PivotMeasure;
|
|
@@ -11053,7 +11078,7 @@ interface Props$q {
|
|
|
11053
11078
|
onRemoved: () => void;
|
|
11054
11079
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
11055
11080
|
}
|
|
11056
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
11081
|
+
declare class PivotMeasureEditor extends Component<Props$r> {
|
|
11057
11082
|
static template: string;
|
|
11058
11083
|
static components: {
|
|
11059
11084
|
PivotDimension: typeof PivotDimension;
|
|
@@ -11078,11 +11103,11 @@ declare class PivotMeasureEditor extends Component<Props$q> {
|
|
|
11078
11103
|
get isCalculatedMeasureInvalid(): boolean;
|
|
11079
11104
|
}
|
|
11080
11105
|
|
|
11081
|
-
interface Props$
|
|
11106
|
+
interface Props$q {
|
|
11082
11107
|
definition: PivotRuntimeDefinition;
|
|
11083
11108
|
pivotId: UID;
|
|
11084
11109
|
}
|
|
11085
|
-
declare class PivotSortSection extends Component<Props$
|
|
11110
|
+
declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
|
|
11086
11111
|
static template: string;
|
|
11087
11112
|
static components: {
|
|
11088
11113
|
Section: typeof Section;
|
|
@@ -11099,7 +11124,7 @@ declare class PivotSortSection extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
11099
11124
|
}[];
|
|
11100
11125
|
}
|
|
11101
11126
|
|
|
11102
|
-
interface Props$
|
|
11127
|
+
interface Props$p {
|
|
11103
11128
|
definition: PivotRuntimeDefinition;
|
|
11104
11129
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11105
11130
|
unusedGroupableFields: PivotField[];
|
|
@@ -11110,7 +11135,7 @@ interface Props$o {
|
|
|
11110
11135
|
getScrollableContainerEl?: () => HTMLElement;
|
|
11111
11136
|
pivotId: UID;
|
|
11112
11137
|
}
|
|
11113
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
11138
|
+
declare class PivotLayoutConfigurator extends Component<Props$p, SpreadsheetChildEnv> {
|
|
11114
11139
|
static template: string;
|
|
11115
11140
|
static components: {
|
|
11116
11141
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -11205,11 +11230,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11205
11230
|
private areDomainFieldsValid;
|
|
11206
11231
|
}
|
|
11207
11232
|
|
|
11208
|
-
interface Props$
|
|
11233
|
+
interface Props$o {
|
|
11209
11234
|
pivotId: UID;
|
|
11210
11235
|
flipAxis: () => void;
|
|
11211
11236
|
}
|
|
11212
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11237
|
+
declare class PivotTitleSection extends Component<Props$o, SpreadsheetChildEnv> {
|
|
11213
11238
|
static template: string;
|
|
11214
11239
|
static components: {
|
|
11215
11240
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11306,11 +11331,11 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
11306
11331
|
*/
|
|
11307
11332
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
11308
11333
|
|
|
11309
|
-
interface Props$
|
|
11334
|
+
interface Props$n {
|
|
11310
11335
|
position: CellPosition;
|
|
11311
11336
|
sortDirection: SortDirection | "none";
|
|
11312
11337
|
}
|
|
11313
|
-
declare class ClickableCellSortIcon extends Component<Props$
|
|
11338
|
+
declare class ClickableCellSortIcon extends Component<Props$n, SpreadsheetChildEnv> {
|
|
11314
11339
|
static template: string;
|
|
11315
11340
|
static props: {
|
|
11316
11341
|
position: ObjectConstructor;
|
|
@@ -11326,7 +11351,6 @@ declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildE
|
|
|
11326
11351
|
declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
11327
11352
|
static template: string;
|
|
11328
11353
|
private store;
|
|
11329
|
-
private fullScreenChartStore;
|
|
11330
11354
|
private masterChartCanvas;
|
|
11331
11355
|
private masterChart?;
|
|
11332
11356
|
private mode?;
|
|
@@ -11343,7 +11367,6 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11343
11367
|
private getMasterChartConfiguration;
|
|
11344
11368
|
private getDetailChartConfiguration;
|
|
11345
11369
|
private getAxisLimitsFromDataset;
|
|
11346
|
-
protected get shouldAnimate(): boolean;
|
|
11347
11370
|
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
11348
11371
|
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
11349
11372
|
private resetAxesLimits;
|
|
@@ -11359,13 +11382,50 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11359
11382
|
onDoubleClickInMasterChart(ev: PointerEvent): void;
|
|
11360
11383
|
}
|
|
11361
11384
|
|
|
11362
|
-
|
|
11385
|
+
interface Props$m {
|
|
11386
|
+
chartId: UID;
|
|
11387
|
+
isFullScreen?: boolean;
|
|
11388
|
+
}
|
|
11389
|
+
declare class GaugeChartComponent extends Component<Props$m, SpreadsheetChildEnv> {
|
|
11390
|
+
static template: string;
|
|
11391
|
+
static props: {
|
|
11392
|
+
chartId: StringConstructor;
|
|
11393
|
+
isFullScreen: {
|
|
11394
|
+
type: BooleanConstructor;
|
|
11395
|
+
optional: boolean;
|
|
11396
|
+
};
|
|
11397
|
+
};
|
|
11398
|
+
private canvas;
|
|
11399
|
+
private animationStore;
|
|
11400
|
+
get runtime(): GaugeChartRuntime;
|
|
11401
|
+
setup(): void;
|
|
11402
|
+
drawGaugeWithAnimation(): Animation | null;
|
|
11403
|
+
get canvasEl(): HTMLCanvasElement;
|
|
11404
|
+
get animationChartId(): string;
|
|
11405
|
+
}
|
|
11406
|
+
/**
|
|
11407
|
+
* Animation interpolating values using the ease-out quartic curve function (chartJS default easing)
|
|
11408
|
+
*/
|
|
11409
|
+
declare class Animation {
|
|
11410
|
+
private startValue;
|
|
11411
|
+
private endValue;
|
|
11412
|
+
private duration;
|
|
11413
|
+
private callback;
|
|
11414
|
+
private startTime;
|
|
11415
|
+
private animationFrameId;
|
|
11416
|
+
constructor(startValue: number, endValue: number, duration: number, callback: (value: number) => void);
|
|
11417
|
+
start(): void;
|
|
11418
|
+
stop(): void;
|
|
11419
|
+
private animate;
|
|
11420
|
+
}
|
|
11421
|
+
|
|
11422
|
+
declare class FullScreenFigure extends Component<{}, SpreadsheetChildEnv> {
|
|
11363
11423
|
static template: string;
|
|
11364
11424
|
static props: {};
|
|
11365
11425
|
static components: {
|
|
11366
|
-
|
|
11426
|
+
ChartFigure: typeof ChartFigure;
|
|
11367
11427
|
};
|
|
11368
|
-
private
|
|
11428
|
+
private fullScreenFigureStore;
|
|
11369
11429
|
private ref;
|
|
11370
11430
|
spreadsheetRect: Rect;
|
|
11371
11431
|
figureRegistry: Registry<FigureContent>;
|
|
@@ -11374,7 +11434,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
|
11374
11434
|
get chartId(): UID | undefined;
|
|
11375
11435
|
exitFullScreen(): void;
|
|
11376
11436
|
onKeyDown(ev: KeyboardEvent): void;
|
|
11377
|
-
get
|
|
11437
|
+
get figureComponent(): (new (...args: any) => Component) | undefined;
|
|
11378
11438
|
}
|
|
11379
11439
|
|
|
11380
11440
|
interface PivotDialogColumn {
|
|
@@ -12594,6 +12654,7 @@ declare class SmallBottomBar extends Component<Props$1, SpreadsheetChildEnv> {
|
|
|
12594
12654
|
private menuState;
|
|
12595
12655
|
setup(): void;
|
|
12596
12656
|
get focus(): ComposerFocusType;
|
|
12657
|
+
get showFxIcon(): boolean;
|
|
12597
12658
|
get rect(): Rect;
|
|
12598
12659
|
get composerProps(): CellComposerProps;
|
|
12599
12660
|
get symbols(): string[];
|
|
@@ -12646,6 +12707,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
12646
12707
|
private composerInterface;
|
|
12647
12708
|
setup(): void;
|
|
12648
12709
|
get focus(): ComposerFocusType;
|
|
12710
|
+
get showFxIcon(): boolean;
|
|
12649
12711
|
get composerStyle(): string;
|
|
12650
12712
|
onFocus(selection: ComposerSelection): void;
|
|
12651
12713
|
}
|
|
@@ -12757,7 +12819,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12757
12819
|
SidePanels: typeof SidePanels;
|
|
12758
12820
|
SpreadsheetDashboard: typeof SpreadsheetDashboard;
|
|
12759
12821
|
HeaderGroupContainer: typeof HeaderGroupContainer;
|
|
12760
|
-
|
|
12822
|
+
FullScreenFigure: typeof FullScreenFigure;
|
|
12761
12823
|
};
|
|
12762
12824
|
sidePanel: Store<SidePanelStore>;
|
|
12763
12825
|
spreadsheetRef: {
|
|
@@ -12985,6 +13047,7 @@ declare const components: {
|
|
|
12985
13047
|
Grid: typeof Grid;
|
|
12986
13048
|
GridOverlay: typeof GridOverlay;
|
|
12987
13049
|
ScorecardChart: typeof ScorecardChart$1;
|
|
13050
|
+
GaugeChartComponent: typeof GaugeChartComponent;
|
|
12988
13051
|
LineConfigPanel: typeof LineConfigPanel;
|
|
12989
13052
|
BarConfigPanel: typeof BarConfigPanel;
|
|
12990
13053
|
PieChartDesignPanel: typeof PieChartDesignPanel;
|
|
@@ -13023,7 +13086,7 @@ declare const components: {
|
|
|
13023
13086
|
RadioSelection: typeof RadioSelection;
|
|
13024
13087
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
13025
13088
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
13026
|
-
|
|
13089
|
+
FullScreenFigure: typeof FullScreenFigure;
|
|
13027
13090
|
};
|
|
13028
13091
|
declare const hooks: {
|
|
13029
13092
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|