@odoo/o-spreadsheet 18.4.0-alpha.4 → 18.4.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +19393 -19191
- package/dist/o-spreadsheet.d.ts +239 -163
- package/dist/o-spreadsheet.esm.js +19393 -19191
- package/dist/o-spreadsheet.iife.js +19394 -19192
- package/dist/o-spreadsheet.iife.min.js +406 -406
- package/dist/o_spreadsheet.xml +73 -130
- package/package.json +1 -1
- package/readme.md +17 -20
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ type BarChartRuntime = {
|
|
|
96
96
|
interface ComboChartDefinition extends ComboBarChartDefinition {
|
|
97
97
|
readonly dataSets: ComboChartDataSet[];
|
|
98
98
|
readonly type: "combo";
|
|
99
|
+
readonly hideDataMarkers?: boolean;
|
|
99
100
|
}
|
|
100
101
|
type ComboChartDataSet = CustomizedDataSet & {
|
|
101
102
|
type?: "bar" | "line";
|
|
@@ -208,6 +209,7 @@ interface LineChartDefinition extends CommonChartDefinition {
|
|
|
208
209
|
readonly aggregated?: boolean;
|
|
209
210
|
readonly cumulative: boolean;
|
|
210
211
|
readonly fillArea?: boolean;
|
|
212
|
+
readonly hideDataMarkers?: boolean;
|
|
211
213
|
}
|
|
212
214
|
type LineChartRuntime = {
|
|
213
215
|
chartJsConfig: ChartConfiguration;
|
|
@@ -239,6 +241,7 @@ interface RadarChartDefinition extends CommonChartDefinition {
|
|
|
239
241
|
readonly aggregated?: boolean;
|
|
240
242
|
readonly stacked: boolean;
|
|
241
243
|
readonly fillArea?: boolean;
|
|
244
|
+
readonly hideDataMarkers?: boolean;
|
|
242
245
|
}
|
|
243
246
|
type RadarChartRuntime = {
|
|
244
247
|
chartJsConfig: ChartConfiguration;
|
|
@@ -597,6 +600,7 @@ interface ChartCreationContext {
|
|
|
597
600
|
readonly showValues?: boolean;
|
|
598
601
|
readonly funnelColors?: FunnelChartColors;
|
|
599
602
|
readonly showLabels?: boolean;
|
|
603
|
+
readonly hideDataMarkers?: boolean;
|
|
600
604
|
readonly valuesDesign?: ChartStyle;
|
|
601
605
|
readonly groupColors?: (Color | undefined | null)[];
|
|
602
606
|
readonly showHeaders?: boolean;
|
|
@@ -4639,7 +4643,7 @@ declare abstract class AbstractChart {
|
|
|
4639
4643
|
* Get a new chart definition transformed with the executed command. This
|
|
4640
4644
|
* functions will be called during operational transform process
|
|
4641
4645
|
*/
|
|
4642
|
-
static transformDefinition(definition: ChartDefinition,
|
|
4646
|
+
static transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyChange: RangeAdapter$1): ChartDefinition;
|
|
4643
4647
|
/**
|
|
4644
4648
|
* Get an empty definition based on the given context
|
|
4645
4649
|
*/
|
|
@@ -6909,7 +6913,7 @@ interface ChartBuilder {
|
|
|
6909
6913
|
createChart: (definition: ChartDefinition, sheetId: UID, getters: CoreGetters) => AbstractChart;
|
|
6910
6914
|
getChartRuntime: (chart: AbstractChart, getters: Getters) => ChartRuntime;
|
|
6911
6915
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
6912
|
-
transformDefinition(definition: ChartDefinition,
|
|
6916
|
+
transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyRange: RangeAdapter$1): ChartDefinition;
|
|
6913
6917
|
getChartDefinitionFromContextCreation(context: ChartCreationContext): ChartDefinition;
|
|
6914
6918
|
sequence: number;
|
|
6915
6919
|
dataSeriesLimit?: number;
|
|
@@ -6939,7 +6943,7 @@ interface ChartSubtypeProperties {
|
|
|
6939
6943
|
preview: string;
|
|
6940
6944
|
}
|
|
6941
6945
|
|
|
6942
|
-
interface Props$
|
|
6946
|
+
interface Props$1j {
|
|
6943
6947
|
label?: string;
|
|
6944
6948
|
value: boolean;
|
|
6945
6949
|
className?: string;
|
|
@@ -6948,7 +6952,7 @@ interface Props$1g {
|
|
|
6948
6952
|
disabled?: boolean;
|
|
6949
6953
|
onChange: (value: boolean) => void;
|
|
6950
6954
|
}
|
|
6951
|
-
declare class Checkbox extends Component<Props$
|
|
6955
|
+
declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
6952
6956
|
static template: string;
|
|
6953
6957
|
static props: {
|
|
6954
6958
|
label: {
|
|
@@ -6983,10 +6987,10 @@ declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
6983
6987
|
onChange(ev: InputEvent): void;
|
|
6984
6988
|
}
|
|
6985
6989
|
|
|
6986
|
-
interface Props$
|
|
6990
|
+
interface Props$1i {
|
|
6987
6991
|
class?: string;
|
|
6988
6992
|
}
|
|
6989
|
-
declare class Section extends Component<Props$
|
|
6993
|
+
declare class Section extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
6990
6994
|
static template: string;
|
|
6991
6995
|
static props: {
|
|
6992
6996
|
class: {
|
|
@@ -7123,7 +7127,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7123
7127
|
getIndex(rangeId: number | null): number | null;
|
|
7124
7128
|
}
|
|
7125
7129
|
|
|
7126
|
-
interface Props$
|
|
7130
|
+
interface Props$1h {
|
|
7127
7131
|
ranges: string[];
|
|
7128
7132
|
hasSingleRange?: boolean;
|
|
7129
7133
|
required?: boolean;
|
|
@@ -7151,7 +7155,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7151
7155
|
* onSelectionChanged is called every time the input value
|
|
7152
7156
|
* changes.
|
|
7153
7157
|
*/
|
|
7154
|
-
declare class SelectionInput extends Component<Props$
|
|
7158
|
+
declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7155
7159
|
static template: string;
|
|
7156
7160
|
static props: {
|
|
7157
7161
|
ranges: ArrayConstructor;
|
|
@@ -7228,7 +7232,7 @@ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
7228
7232
|
confirm(): void;
|
|
7229
7233
|
}
|
|
7230
7234
|
|
|
7231
|
-
interface Props$
|
|
7235
|
+
interface Props$1g {
|
|
7232
7236
|
ranges: CustomizedDataSet[];
|
|
7233
7237
|
hasSingleRange?: boolean;
|
|
7234
7238
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7241,7 +7245,7 @@ interface Props$1d {
|
|
|
7241
7245
|
canChangeDatasetOrientation?: boolean;
|
|
7242
7246
|
onFlipAxis?: (structure: string) => void;
|
|
7243
7247
|
}
|
|
7244
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7248
|
+
declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
7245
7249
|
static template: string;
|
|
7246
7250
|
static components: {
|
|
7247
7251
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7290,12 +7294,12 @@ declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
|
7290
7294
|
get title(): string;
|
|
7291
7295
|
}
|
|
7292
7296
|
|
|
7293
|
-
interface Props$
|
|
7297
|
+
interface Props$1f {
|
|
7294
7298
|
messages: string[];
|
|
7295
7299
|
msgType: "warning" | "error" | "info";
|
|
7296
7300
|
singleBox?: boolean;
|
|
7297
7301
|
}
|
|
7298
|
-
declare class ValidationMessages extends Component<Props$
|
|
7302
|
+
declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
7299
7303
|
static template: string;
|
|
7300
7304
|
static props: {
|
|
7301
7305
|
messages: ArrayConstructor;
|
|
@@ -7309,10 +7313,10 @@ declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv
|
|
|
7309
7313
|
get alertBoxes(): string[][];
|
|
7310
7314
|
}
|
|
7311
7315
|
|
|
7312
|
-
interface Props$
|
|
7316
|
+
interface Props$1e {
|
|
7313
7317
|
messages: string[];
|
|
7314
7318
|
}
|
|
7315
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7319
|
+
declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
7316
7320
|
static template: string;
|
|
7317
7321
|
static components: {
|
|
7318
7322
|
Section: typeof Section;
|
|
@@ -7326,7 +7330,7 @@ declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv>
|
|
|
7326
7330
|
};
|
|
7327
7331
|
}
|
|
7328
7332
|
|
|
7329
|
-
interface Props$
|
|
7333
|
+
interface Props$1d {
|
|
7330
7334
|
title?: string;
|
|
7331
7335
|
range: string;
|
|
7332
7336
|
isInvalid: boolean;
|
|
@@ -7339,7 +7343,7 @@ interface Props$1a {
|
|
|
7339
7343
|
onChange: (value: boolean) => void;
|
|
7340
7344
|
}>;
|
|
7341
7345
|
}
|
|
7342
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7346
|
+
declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7343
7347
|
static template: string;
|
|
7344
7348
|
static components: {
|
|
7345
7349
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7360,10 +7364,10 @@ declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
7360
7364
|
optional: boolean;
|
|
7361
7365
|
};
|
|
7362
7366
|
};
|
|
7363
|
-
static defaultProps: Partial<Props$
|
|
7367
|
+
static defaultProps: Partial<Props$1d>;
|
|
7364
7368
|
}
|
|
7365
7369
|
|
|
7366
|
-
interface Props$
|
|
7370
|
+
interface Props$1c {
|
|
7367
7371
|
figureId: UID;
|
|
7368
7372
|
definition: ChartWithDataSetDefinition;
|
|
7369
7373
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7373,7 +7377,7 @@ interface ChartPanelState {
|
|
|
7373
7377
|
datasetDispatchResult?: DispatchResult;
|
|
7374
7378
|
labelsDispatchResult?: DispatchResult;
|
|
7375
7379
|
}
|
|
7376
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7380
|
+
declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7377
7381
|
static template: string;
|
|
7378
7382
|
static components: {
|
|
7379
7383
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7442,11 +7446,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7442
7446
|
onUpdateStacked(stacked: boolean): void;
|
|
7443
7447
|
}
|
|
7444
7448
|
|
|
7445
|
-
interface Props$
|
|
7449
|
+
interface Props$1b {
|
|
7446
7450
|
isCollapsed: boolean;
|
|
7447
7451
|
slots: any;
|
|
7448
7452
|
}
|
|
7449
|
-
declare class Collapse extends Component<Props$
|
|
7453
|
+
declare class Collapse extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
7450
7454
|
static template: string;
|
|
7451
7455
|
static props: {
|
|
7452
7456
|
isCollapsed: BooleanConstructor;
|
|
@@ -7485,12 +7489,12 @@ interface Choice$1 {
|
|
|
7485
7489
|
value: string;
|
|
7486
7490
|
label: string;
|
|
7487
7491
|
}
|
|
7488
|
-
interface Props$
|
|
7492
|
+
interface Props$1a {
|
|
7489
7493
|
choices: Choice$1[];
|
|
7490
7494
|
onChange: (value: string) => void;
|
|
7491
7495
|
selectedValue: string;
|
|
7492
7496
|
}
|
|
7493
|
-
declare class BadgeSelection extends Component<Props$
|
|
7497
|
+
declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
7494
7498
|
static template: string;
|
|
7495
7499
|
static props: {
|
|
7496
7500
|
choices: ArrayConstructor;
|
|
@@ -7499,14 +7503,14 @@ declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
7499
7503
|
};
|
|
7500
7504
|
}
|
|
7501
7505
|
|
|
7502
|
-
interface Props$
|
|
7506
|
+
interface Props$19 {
|
|
7503
7507
|
action: ActionSpec;
|
|
7504
7508
|
hasTriangleDownIcon?: boolean;
|
|
7505
7509
|
selectedColor?: string;
|
|
7506
7510
|
class?: string;
|
|
7507
7511
|
onClick?: (ev: MouseEvent) => void;
|
|
7508
7512
|
}
|
|
7509
|
-
declare class ActionButton extends Component<Props$
|
|
7513
|
+
declare class ActionButton extends Component<Props$19, SpreadsheetChildEnv> {
|
|
7510
7514
|
static template: string;
|
|
7511
7515
|
static props: {
|
|
7512
7516
|
action: ObjectConstructor;
|
|
@@ -7693,7 +7697,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7693
7697
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7694
7698
|
}
|
|
7695
7699
|
|
|
7696
|
-
interface Props$
|
|
7700
|
+
interface Props$18 {
|
|
7697
7701
|
currentColor: string | undefined;
|
|
7698
7702
|
toggleColorPicker: () => void;
|
|
7699
7703
|
showColorPicker: boolean;
|
|
@@ -7704,7 +7708,7 @@ interface Props$15 {
|
|
|
7704
7708
|
dropdownMaxHeight?: Pixel;
|
|
7705
7709
|
class?: string;
|
|
7706
7710
|
}
|
|
7707
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7711
|
+
declare class ColorPickerWidget extends Component<Props$18, SpreadsheetChildEnv> {
|
|
7708
7712
|
static template: string;
|
|
7709
7713
|
static props: {
|
|
7710
7714
|
currentColor: {
|
|
@@ -7765,14 +7769,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7765
7769
|
interface State$4 {
|
|
7766
7770
|
isOpen: boolean;
|
|
7767
7771
|
}
|
|
7768
|
-
interface Props$
|
|
7772
|
+
interface Props$17 {
|
|
7769
7773
|
currentFontSize: number;
|
|
7770
7774
|
class: string;
|
|
7771
7775
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7772
7776
|
onToggle?: () => void;
|
|
7773
7777
|
onFocusInput?: () => void;
|
|
7774
7778
|
}
|
|
7775
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7779
|
+
declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
7776
7780
|
static template: string;
|
|
7777
7781
|
static props: {
|
|
7778
7782
|
currentFontSize: NumberConstructor;
|
|
@@ -7810,7 +7814,7 @@ declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
7810
7814
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7811
7815
|
}
|
|
7812
7816
|
|
|
7813
|
-
interface Props$
|
|
7817
|
+
interface Props$16 {
|
|
7814
7818
|
class?: string;
|
|
7815
7819
|
style: ChartStyle;
|
|
7816
7820
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -7819,7 +7823,7 @@ interface Props$13 {
|
|
|
7819
7823
|
hasHorizontalAlign?: boolean;
|
|
7820
7824
|
hasBackgroundColor?: boolean;
|
|
7821
7825
|
}
|
|
7822
|
-
declare class TextStyler extends Component<Props$
|
|
7826
|
+
declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
|
|
7823
7827
|
static template: string;
|
|
7824
7828
|
static components: {
|
|
7825
7829
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7887,7 +7891,7 @@ declare class TextStyler extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
7887
7891
|
get verticalAlignActions(): ActionSpec[];
|
|
7888
7892
|
}
|
|
7889
7893
|
|
|
7890
|
-
interface Props$
|
|
7894
|
+
interface Props$15 {
|
|
7891
7895
|
title?: string;
|
|
7892
7896
|
placeholder?: string;
|
|
7893
7897
|
updateTitle: (title: string) => void;
|
|
@@ -7896,7 +7900,7 @@ interface Props$12 {
|
|
|
7896
7900
|
defaultStyle?: Partial<TitleDesign>;
|
|
7897
7901
|
updateStyle: (style: TitleDesign) => void;
|
|
7898
7902
|
}
|
|
7899
|
-
declare class ChartTitle extends Component<Props$
|
|
7903
|
+
declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
|
|
7900
7904
|
static template: string;
|
|
7901
7905
|
static components: {
|
|
7902
7906
|
Section: typeof Section;
|
|
@@ -7933,13 +7937,13 @@ interface AxisDefinition {
|
|
|
7933
7937
|
id: string;
|
|
7934
7938
|
name: string;
|
|
7935
7939
|
}
|
|
7936
|
-
interface Props$
|
|
7940
|
+
interface Props$14 {
|
|
7937
7941
|
figureId: UID;
|
|
7938
7942
|
definition: ChartWithAxisDefinition;
|
|
7939
7943
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7940
7944
|
axesList: AxisDefinition[];
|
|
7941
7945
|
}
|
|
7942
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7946
|
+
declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
7943
7947
|
static template: string;
|
|
7944
7948
|
static components: {
|
|
7945
7949
|
Section: typeof Section;
|
|
@@ -7971,14 +7975,14 @@ interface Choice {
|
|
|
7971
7975
|
value: unknown;
|
|
7972
7976
|
label: string;
|
|
7973
7977
|
}
|
|
7974
|
-
interface Props$
|
|
7978
|
+
interface Props$13 {
|
|
7975
7979
|
choices: Choice[];
|
|
7976
7980
|
onChange: (value: unknown) => void;
|
|
7977
7981
|
selectedValue: string;
|
|
7978
7982
|
name: string;
|
|
7979
7983
|
direction: "horizontal" | "vertical";
|
|
7980
7984
|
}
|
|
7981
|
-
declare class RadioSelection extends Component<Props$
|
|
7985
|
+
declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7982
7986
|
static template: string;
|
|
7983
7987
|
static props: {
|
|
7984
7988
|
choices: ArrayConstructor;
|
|
@@ -7997,13 +8001,13 @@ declare class RadioSelection extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
7997
8001
|
};
|
|
7998
8002
|
}
|
|
7999
8003
|
|
|
8000
|
-
interface Props
|
|
8004
|
+
interface Props$12 {
|
|
8001
8005
|
currentColor?: string;
|
|
8002
8006
|
onColorPicked: (color: string) => void;
|
|
8003
8007
|
title?: string;
|
|
8004
8008
|
disableNoColor?: boolean;
|
|
8005
8009
|
}
|
|
8006
|
-
declare class RoundColorPicker extends Component<Props
|
|
8010
|
+
declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv> {
|
|
8007
8011
|
static template: string;
|
|
8008
8012
|
static components: {
|
|
8009
8013
|
Section: typeof Section;
|
|
@@ -8036,13 +8040,14 @@ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
|
|
|
8036
8040
|
get buttonStyle(): string;
|
|
8037
8041
|
}
|
|
8038
8042
|
|
|
8039
|
-
interface Props$
|
|
8043
|
+
interface Props$11 {
|
|
8040
8044
|
figureId: UID;
|
|
8041
8045
|
definition: ChartDefinition;
|
|
8042
8046
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8047
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8043
8048
|
defaultChartTitleFontSize?: number;
|
|
8044
8049
|
}
|
|
8045
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8050
|
+
declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
8046
8051
|
static template: string;
|
|
8047
8052
|
static components: {
|
|
8048
8053
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8055,6 +8060,7 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
|
|
|
8055
8060
|
figureId: StringConstructor;
|
|
8056
8061
|
definition: ObjectConstructor;
|
|
8057
8062
|
updateChart: FunctionConstructor;
|
|
8063
|
+
canUpdateChart: FunctionConstructor;
|
|
8058
8064
|
defaultChartTitleFontSize: {
|
|
8059
8065
|
type: NumberConstructor;
|
|
8060
8066
|
optional: boolean;
|
|
@@ -8076,12 +8082,13 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
|
|
|
8076
8082
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8077
8083
|
}
|
|
8078
8084
|
|
|
8079
|
-
interface Props$
|
|
8085
|
+
interface Props$10 {
|
|
8080
8086
|
figureId: UID;
|
|
8081
8087
|
definition: ChartWithDataSetDefinition;
|
|
8082
8088
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8089
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8083
8090
|
}
|
|
8084
|
-
declare class ChartLegend extends Component<Props$
|
|
8091
|
+
declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8085
8092
|
static template: string;
|
|
8086
8093
|
static components: {
|
|
8087
8094
|
Section: typeof Section;
|
|
@@ -8090,17 +8097,18 @@ declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
|
8090
8097
|
figureId: StringConstructor;
|
|
8091
8098
|
definition: ObjectConstructor;
|
|
8092
8099
|
updateChart: FunctionConstructor;
|
|
8100
|
+
canUpdateChart: FunctionConstructor;
|
|
8093
8101
|
};
|
|
8094
8102
|
updateLegendPosition(ev: any): void;
|
|
8095
8103
|
}
|
|
8096
8104
|
|
|
8097
|
-
interface Props
|
|
8105
|
+
interface Props$$ {
|
|
8098
8106
|
figureId: UID;
|
|
8099
8107
|
definition: ChartWithDataSetDefinition;
|
|
8100
8108
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8101
8109
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8102
8110
|
}
|
|
8103
|
-
declare class SeriesDesignEditor extends Component<Props
|
|
8111
|
+
declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
|
|
8104
8112
|
static template: string;
|
|
8105
8113
|
static components: {
|
|
8106
8114
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8128,13 +8136,13 @@ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv>
|
|
|
8128
8136
|
getDataSeriesLabel(): string | undefined;
|
|
8129
8137
|
}
|
|
8130
8138
|
|
|
8131
|
-
interface Props$
|
|
8139
|
+
interface Props$_ {
|
|
8132
8140
|
figureId: UID;
|
|
8133
8141
|
definition: ChartWithDataSetDefinition;
|
|
8134
8142
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8135
8143
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8136
8144
|
}
|
|
8137
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8145
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
|
|
8138
8146
|
static template: string;
|
|
8139
8147
|
static components: {
|
|
8140
8148
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8175,22 +8183,46 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetC
|
|
|
8175
8183
|
updateTrendLineValue(index: number, config: any): void;
|
|
8176
8184
|
}
|
|
8177
8185
|
|
|
8178
|
-
interface Props$
|
|
8186
|
+
interface Props$Z {
|
|
8187
|
+
figureId: UID;
|
|
8188
|
+
definition: ChartWithDataSetDefinition;
|
|
8189
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8190
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8191
|
+
defaultValue?: boolean;
|
|
8192
|
+
}
|
|
8193
|
+
declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
8194
|
+
static template: string;
|
|
8195
|
+
static components: {
|
|
8196
|
+
Checkbox: typeof Checkbox;
|
|
8197
|
+
};
|
|
8198
|
+
static props: {
|
|
8199
|
+
figureId: StringConstructor;
|
|
8200
|
+
definition: ObjectConstructor;
|
|
8201
|
+
updateChart: FunctionConstructor;
|
|
8202
|
+
canUpdateChart: FunctionConstructor;
|
|
8203
|
+
defaultValue: {
|
|
8204
|
+
type: BooleanConstructor;
|
|
8205
|
+
optional: boolean;
|
|
8206
|
+
};
|
|
8207
|
+
};
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
interface Props$Y {
|
|
8179
8211
|
figureId: UID;
|
|
8180
8212
|
definition: ChartWithDataSetDefinition;
|
|
8181
8213
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8182
8214
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8183
8215
|
}
|
|
8184
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8216
|
+
declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Component<P, SpreadsheetChildEnv> {
|
|
8185
8217
|
static template: string;
|
|
8186
8218
|
static components: {
|
|
8187
8219
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
8188
8220
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
8189
8221
|
Section: typeof Section;
|
|
8190
8222
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
8191
|
-
Checkbox: typeof Checkbox;
|
|
8192
8223
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
8193
8224
|
ChartLegend: typeof ChartLegend;
|
|
8225
|
+
ChartShowValues: typeof ChartShowValues;
|
|
8194
8226
|
};
|
|
8195
8227
|
static props: {
|
|
8196
8228
|
figureId: StringConstructor;
|
|
@@ -8201,13 +8233,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Comp
|
|
|
8201
8233
|
get axesList(): AxisDefinition[];
|
|
8202
8234
|
}
|
|
8203
8235
|
|
|
8204
|
-
interface Props$
|
|
8236
|
+
interface Props$X {
|
|
8205
8237
|
figureId: UID;
|
|
8206
8238
|
definition: GaugeChartDefinition;
|
|
8207
8239
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8208
8240
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8209
8241
|
}
|
|
8210
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8242
|
+
declare class GaugeChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
|
|
8211
8243
|
static template: string;
|
|
8212
8244
|
static components: {
|
|
8213
8245
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8272,13 +8304,13 @@ interface EnrichedToken extends Token {
|
|
|
8272
8304
|
isInHoverContext?: boolean;
|
|
8273
8305
|
}
|
|
8274
8306
|
|
|
8275
|
-
interface Props$
|
|
8307
|
+
interface Props$W {
|
|
8276
8308
|
proposals: AutoCompleteProposal[];
|
|
8277
8309
|
selectedIndex: number | undefined;
|
|
8278
8310
|
onValueSelected: (value: string) => void;
|
|
8279
8311
|
onValueHovered: (index: string) => void;
|
|
8280
8312
|
}
|
|
8281
|
-
declare class TextValueProvider extends Component<Props$
|
|
8313
|
+
declare class TextValueProvider extends Component<Props$W> {
|
|
8282
8314
|
static template: string;
|
|
8283
8315
|
static props: {
|
|
8284
8316
|
proposals: ArrayConstructor;
|
|
@@ -8334,11 +8366,11 @@ declare class ContentEditableHelper {
|
|
|
8334
8366
|
getText(): string;
|
|
8335
8367
|
}
|
|
8336
8368
|
|
|
8337
|
-
interface Props$
|
|
8369
|
+
interface Props$V {
|
|
8338
8370
|
functionDescription: FunctionDescription;
|
|
8339
8371
|
argsToFocus: number[];
|
|
8340
8372
|
}
|
|
8341
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8373
|
+
declare class FunctionDescriptionProvider extends Component<Props$V, SpreadsheetChildEnv> {
|
|
8342
8374
|
static template: string;
|
|
8343
8375
|
static props: {
|
|
8344
8376
|
functionDescription: ObjectConstructor;
|
|
@@ -8349,15 +8381,15 @@ declare class FunctionDescriptionProvider extends Component<Props$T, Spreadsheet
|
|
|
8349
8381
|
};
|
|
8350
8382
|
private state;
|
|
8351
8383
|
toggle(): void;
|
|
8352
|
-
getContext(): Props$
|
|
8384
|
+
getContext(): Props$V;
|
|
8353
8385
|
get formulaArgSeparator(): string;
|
|
8354
8386
|
}
|
|
8355
8387
|
|
|
8356
|
-
interface Props$
|
|
8388
|
+
interface Props$U {
|
|
8357
8389
|
anchorRect: Rect;
|
|
8358
8390
|
content: string;
|
|
8359
8391
|
}
|
|
8360
|
-
declare class SpeechBubble extends Component<Props$
|
|
8392
|
+
declare class SpeechBubble extends Component<Props$U, SpreadsheetChildEnv> {
|
|
8361
8393
|
static template: string;
|
|
8362
8394
|
static props: {
|
|
8363
8395
|
content: StringConstructor;
|
|
@@ -8754,7 +8786,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8754
8786
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8755
8787
|
}
|
|
8756
8788
|
|
|
8757
|
-
interface Props$
|
|
8789
|
+
interface Props$T {
|
|
8758
8790
|
onConfirm: (content: string) => void;
|
|
8759
8791
|
composerContent: string;
|
|
8760
8792
|
defaultRangeSheetId: UID;
|
|
@@ -8766,7 +8798,7 @@ interface Props$R {
|
|
|
8766
8798
|
invalid?: boolean;
|
|
8767
8799
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8768
8800
|
}
|
|
8769
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8801
|
+
declare class StandaloneComposer extends Component<Props$T, SpreadsheetChildEnv> {
|
|
8770
8802
|
static template: string;
|
|
8771
8803
|
static props: {
|
|
8772
8804
|
composerContent: {
|
|
@@ -8829,13 +8861,13 @@ interface PanelState {
|
|
|
8829
8861
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8830
8862
|
sectionRule: SectionRule;
|
|
8831
8863
|
}
|
|
8832
|
-
interface Props$
|
|
8864
|
+
interface Props$S {
|
|
8833
8865
|
figureId: UID;
|
|
8834
8866
|
definition: GaugeChartDefinition;
|
|
8835
8867
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8836
8868
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8837
8869
|
}
|
|
8838
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8870
|
+
declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildEnv> {
|
|
8839
8871
|
static template: string;
|
|
8840
8872
|
static components: {
|
|
8841
8873
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8885,13 +8917,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
8885
8917
|
onUpdateCumulative(cumulative: boolean): void;
|
|
8886
8918
|
}
|
|
8887
8919
|
|
|
8888
|
-
interface Props$
|
|
8920
|
+
interface Props$R {
|
|
8889
8921
|
figureId: UID;
|
|
8890
8922
|
definition: ScorecardChartDefinition;
|
|
8891
8923
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8892
8924
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8893
8925
|
}
|
|
8894
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
8926
|
+
declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
|
|
8895
8927
|
static template: string;
|
|
8896
8928
|
static components: {
|
|
8897
8929
|
SelectionInput: typeof SelectionInput;
|
|
@@ -8920,13 +8952,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetCh
|
|
|
8920
8952
|
}
|
|
8921
8953
|
|
|
8922
8954
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
8923
|
-
interface Props$
|
|
8955
|
+
interface Props$Q {
|
|
8924
8956
|
figureId: UID;
|
|
8925
8957
|
definition: ScorecardChartDefinition;
|
|
8926
8958
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8927
8959
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8928
8960
|
}
|
|
8929
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
8961
|
+
declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
8930
8962
|
static template: string;
|
|
8931
8963
|
static components: {
|
|
8932
8964
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9079,11 +9111,11 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
9079
9111
|
private setComposerContent;
|
|
9080
9112
|
}
|
|
9081
9113
|
|
|
9082
|
-
interface Props$
|
|
9114
|
+
interface Props$P {
|
|
9083
9115
|
figureUI: FigureUI;
|
|
9084
9116
|
isFullScreen?: boolean;
|
|
9085
9117
|
}
|
|
9086
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9118
|
+
declare class ChartJsComponent extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9087
9119
|
static template: string;
|
|
9088
9120
|
static props: {
|
|
9089
9121
|
figureUI: ObjectConstructor;
|
|
@@ -9108,10 +9140,10 @@ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9108
9140
|
get animationFigureId(): string;
|
|
9109
9141
|
}
|
|
9110
9142
|
|
|
9111
|
-
interface Props$
|
|
9143
|
+
interface Props$O {
|
|
9112
9144
|
figureUI: FigureUI;
|
|
9113
9145
|
}
|
|
9114
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9146
|
+
declare class ScorecardChart$1 extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9115
9147
|
static template: string;
|
|
9116
9148
|
static props: {
|
|
9117
9149
|
figureUI: ObjectConstructor;
|
|
@@ -9124,7 +9156,7 @@ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9124
9156
|
}
|
|
9125
9157
|
|
|
9126
9158
|
type MenuItemOrSeparator = Action | "separator";
|
|
9127
|
-
interface Props$
|
|
9159
|
+
interface Props$N {
|
|
9128
9160
|
anchorRect: Rect;
|
|
9129
9161
|
popoverPositioning: PopoverPropsPosition;
|
|
9130
9162
|
menuItems: Action[];
|
|
@@ -9144,7 +9176,7 @@ interface MenuState {
|
|
|
9144
9176
|
menuItems: Action[];
|
|
9145
9177
|
isHoveringChild?: boolean;
|
|
9146
9178
|
}
|
|
9147
|
-
declare class Menu extends Component<Props$
|
|
9179
|
+
declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9148
9180
|
static template: string;
|
|
9149
9181
|
static props: {
|
|
9150
9182
|
anchorRect: ObjectConstructor;
|
|
@@ -9224,14 +9256,14 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
9224
9256
|
}
|
|
9225
9257
|
|
|
9226
9258
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9227
|
-
interface Props$
|
|
9259
|
+
interface Props$M {
|
|
9228
9260
|
figureUI: FigureUI;
|
|
9229
9261
|
style: string;
|
|
9230
9262
|
onFigureDeleted: () => void;
|
|
9231
9263
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9232
9264
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9233
9265
|
}
|
|
9234
|
-
declare class FigureComponent extends Component<Props$
|
|
9266
|
+
declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9235
9267
|
static template: string;
|
|
9236
9268
|
static props: {
|
|
9237
9269
|
figureUI: ObjectConstructor;
|
|
@@ -9280,7 +9312,7 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
9280
9312
|
private openContextMenu;
|
|
9281
9313
|
}
|
|
9282
9314
|
|
|
9283
|
-
interface Props$
|
|
9315
|
+
interface Props$L {
|
|
9284
9316
|
figureUI: FigureUI;
|
|
9285
9317
|
}
|
|
9286
9318
|
interface MenuItem {
|
|
@@ -9290,7 +9322,7 @@ interface MenuItem {
|
|
|
9290
9322
|
onClick: () => void;
|
|
9291
9323
|
isSelected?: boolean;
|
|
9292
9324
|
}
|
|
9293
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9325
|
+
declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9294
9326
|
static template: string;
|
|
9295
9327
|
static components: {
|
|
9296
9328
|
Menu: typeof Menu;
|
|
@@ -9312,11 +9344,11 @@ declare class ChartDashboardMenu extends Component<Props$J, SpreadsheetChildEnv>
|
|
|
9312
9344
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9313
9345
|
}
|
|
9314
9346
|
|
|
9315
|
-
interface Props$
|
|
9347
|
+
interface Props$K {
|
|
9316
9348
|
figureUI: FigureUI;
|
|
9317
9349
|
onFigureDeleted: () => void;
|
|
9318
9350
|
}
|
|
9319
|
-
declare class ChartFigure extends Component<Props$
|
|
9351
|
+
declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9320
9352
|
static template: string;
|
|
9321
9353
|
static props: {
|
|
9322
9354
|
figureUI: ObjectConstructor;
|
|
@@ -9339,7 +9371,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9339
9371
|
clear(): "noStateChange" | undefined;
|
|
9340
9372
|
}
|
|
9341
9373
|
|
|
9342
|
-
interface Props$
|
|
9374
|
+
interface Props$J {
|
|
9343
9375
|
isVisible: boolean;
|
|
9344
9376
|
position: Position;
|
|
9345
9377
|
}
|
|
@@ -9351,7 +9383,7 @@ interface State$3 {
|
|
|
9351
9383
|
position: Position;
|
|
9352
9384
|
handler: boolean;
|
|
9353
9385
|
}
|
|
9354
|
-
declare class Autofill extends Component<Props$
|
|
9386
|
+
declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9355
9387
|
static template: string;
|
|
9356
9388
|
static props: {
|
|
9357
9389
|
position: ObjectConstructor;
|
|
@@ -9391,7 +9423,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9391
9423
|
get tagStyle(): string;
|
|
9392
9424
|
}
|
|
9393
9425
|
|
|
9394
|
-
interface Props$
|
|
9426
|
+
interface Props$I {
|
|
9395
9427
|
gridDims: DOMDimension;
|
|
9396
9428
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9397
9429
|
}
|
|
@@ -9399,7 +9431,7 @@ interface Props$G {
|
|
|
9399
9431
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9400
9432
|
* It also applies the style of the cell to the composer input.
|
|
9401
9433
|
*/
|
|
9402
|
-
declare class GridComposer extends Component<Props$
|
|
9434
|
+
declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9403
9435
|
static template: string;
|
|
9404
9436
|
static props: {
|
|
9405
9437
|
gridDims: ObjectConstructor;
|
|
@@ -9442,7 +9474,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9442
9474
|
}
|
|
9443
9475
|
|
|
9444
9476
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9445
|
-
interface Props$
|
|
9477
|
+
interface Props$H {
|
|
9446
9478
|
onFigureDeleted: () => void;
|
|
9447
9479
|
}
|
|
9448
9480
|
interface Container {
|
|
@@ -9522,7 +9554,7 @@ interface DndState {
|
|
|
9522
9554
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9523
9555
|
*
|
|
9524
9556
|
*/
|
|
9525
|
-
declare class FiguresContainer extends Component<Props$
|
|
9557
|
+
declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9526
9558
|
static template: string;
|
|
9527
9559
|
static props: {
|
|
9528
9560
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9558,10 +9590,10 @@ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
9558
9590
|
private getSnapLineStyle;
|
|
9559
9591
|
}
|
|
9560
9592
|
|
|
9561
|
-
interface Props$
|
|
9593
|
+
interface Props$G {
|
|
9562
9594
|
focusGrid: () => void;
|
|
9563
9595
|
}
|
|
9564
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9596
|
+
declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9565
9597
|
static template: string;
|
|
9566
9598
|
static props: {
|
|
9567
9599
|
focusGrid: FunctionConstructor;
|
|
@@ -9614,7 +9646,7 @@ declare class GridCellIconOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
9614
9646
|
get icons(): GridIcon[];
|
|
9615
9647
|
}
|
|
9616
9648
|
|
|
9617
|
-
interface Props$
|
|
9649
|
+
interface Props$F {
|
|
9618
9650
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9619
9651
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
|
|
9620
9652
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9623,7 +9655,7 @@ interface Props$D {
|
|
|
9623
9655
|
gridOverlayDimensions: string;
|
|
9624
9656
|
onFigureDeleted: () => void;
|
|
9625
9657
|
}
|
|
9626
|
-
declare class GridOverlay extends Component<Props$
|
|
9658
|
+
declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
|
|
9627
9659
|
static template: string;
|
|
9628
9660
|
static props: {
|
|
9629
9661
|
onCellDoubleClicked: {
|
|
@@ -9678,12 +9710,12 @@ declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
9678
9710
|
private getCartesianCoordinates;
|
|
9679
9711
|
}
|
|
9680
9712
|
|
|
9681
|
-
interface Props$
|
|
9713
|
+
interface Props$E {
|
|
9682
9714
|
gridRect: Rect;
|
|
9683
9715
|
onClosePopover: () => void;
|
|
9684
9716
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9685
9717
|
}
|
|
9686
|
-
declare class GridPopover extends Component<Props$
|
|
9718
|
+
declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
|
|
9687
9719
|
static template: string;
|
|
9688
9720
|
static props: {
|
|
9689
9721
|
onClosePopover: FunctionConstructor;
|
|
@@ -9699,7 +9731,7 @@ declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
9699
9731
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
9700
9732
|
}
|
|
9701
9733
|
|
|
9702
|
-
interface Props$
|
|
9734
|
+
interface Props$D {
|
|
9703
9735
|
headersGroups: ConsecutiveIndexes[];
|
|
9704
9736
|
offset: number;
|
|
9705
9737
|
headerRange: {
|
|
@@ -9707,7 +9739,7 @@ interface Props$B {
|
|
|
9707
9739
|
end: HeaderIndex;
|
|
9708
9740
|
};
|
|
9709
9741
|
}
|
|
9710
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
9742
|
+
declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
|
|
9711
9743
|
static template: string;
|
|
9712
9744
|
static props: {
|
|
9713
9745
|
headersGroups: ArrayConstructor;
|
|
@@ -9726,7 +9758,7 @@ declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9726
9758
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
9727
9759
|
isVisible(header: HeaderIndex): boolean;
|
|
9728
9760
|
}
|
|
9729
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
9761
|
+
declare class UnhideColumnHeaders extends Component<Props$D, SpreadsheetChildEnv> {
|
|
9730
9762
|
static template: string;
|
|
9731
9763
|
static props: {
|
|
9732
9764
|
headersGroups: ArrayConstructor;
|
|
@@ -9918,13 +9950,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
9918
9950
|
}
|
|
9919
9951
|
|
|
9920
9952
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
9921
|
-
interface Props$
|
|
9953
|
+
interface Props$C {
|
|
9922
9954
|
zone: Zone;
|
|
9923
9955
|
orientation: Orientation$1;
|
|
9924
9956
|
isMoving: boolean;
|
|
9925
9957
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
9926
9958
|
}
|
|
9927
|
-
declare class Border extends Component<Props$
|
|
9959
|
+
declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
|
|
9928
9960
|
static template: string;
|
|
9929
9961
|
static props: {
|
|
9930
9962
|
zone: ObjectConstructor;
|
|
@@ -9937,14 +9969,14 @@ declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
9937
9969
|
}
|
|
9938
9970
|
|
|
9939
9971
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
9940
|
-
interface Props$
|
|
9972
|
+
interface Props$B {
|
|
9941
9973
|
zone: Zone;
|
|
9942
9974
|
color: Color;
|
|
9943
9975
|
orientation: Orientation;
|
|
9944
9976
|
isResizing: boolean;
|
|
9945
9977
|
onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
|
|
9946
9978
|
}
|
|
9947
|
-
declare class Corner extends Component<Props$
|
|
9979
|
+
declare class Corner extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9948
9980
|
static template: string;
|
|
9949
9981
|
static props: {
|
|
9950
9982
|
zone: ObjectConstructor;
|
|
@@ -9959,14 +9991,14 @@ declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
9959
9991
|
onMouseDown(ev: PointerEvent): void;
|
|
9960
9992
|
}
|
|
9961
9993
|
|
|
9962
|
-
interface Props$
|
|
9994
|
+
interface Props$A {
|
|
9963
9995
|
zone: Zone;
|
|
9964
9996
|
color: Color;
|
|
9965
9997
|
}
|
|
9966
9998
|
interface HighlightState {
|
|
9967
9999
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
9968
10000
|
}
|
|
9969
|
-
declare class Highlight extends Component<Props$
|
|
10001
|
+
declare class Highlight extends Component<Props$A, SpreadsheetChildEnv> {
|
|
9970
10002
|
static template: string;
|
|
9971
10003
|
static props: {
|
|
9972
10004
|
zone: ObjectConstructor;
|
|
@@ -9989,7 +10021,7 @@ declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
9989
10021
|
|
|
9990
10022
|
type ScrollDirection = "horizontal" | "vertical";
|
|
9991
10023
|
|
|
9992
|
-
interface Props$
|
|
10024
|
+
interface Props$z {
|
|
9993
10025
|
width: Pixel;
|
|
9994
10026
|
height: Pixel;
|
|
9995
10027
|
direction: ScrollDirection;
|
|
@@ -9997,7 +10029,7 @@ interface Props$x {
|
|
|
9997
10029
|
offset: Pixel;
|
|
9998
10030
|
onScroll: (offset: Pixel) => void;
|
|
9999
10031
|
}
|
|
10000
|
-
declare class ScrollBar extends Component<Props$
|
|
10032
|
+
declare class ScrollBar extends Component<Props$z> {
|
|
10001
10033
|
static props: {
|
|
10002
10034
|
width: {
|
|
10003
10035
|
type: NumberConstructor;
|
|
@@ -10025,10 +10057,10 @@ declare class ScrollBar extends Component<Props$x> {
|
|
|
10025
10057
|
onScroll(ev: any): void;
|
|
10026
10058
|
}
|
|
10027
10059
|
|
|
10028
|
-
interface Props$
|
|
10060
|
+
interface Props$y {
|
|
10029
10061
|
leftOffset: number;
|
|
10030
10062
|
}
|
|
10031
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10063
|
+
declare class HorizontalScrollBar extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10032
10064
|
static props: {
|
|
10033
10065
|
leftOffset: {
|
|
10034
10066
|
type: NumberConstructor;
|
|
@@ -10054,10 +10086,10 @@ declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv
|
|
|
10054
10086
|
onScroll(offset: any): void;
|
|
10055
10087
|
}
|
|
10056
10088
|
|
|
10057
|
-
interface Props$
|
|
10089
|
+
interface Props$x {
|
|
10058
10090
|
topOffset: number;
|
|
10059
10091
|
}
|
|
10060
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10092
|
+
declare class VerticalScrollBar extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10061
10093
|
static props: {
|
|
10062
10094
|
topOffset: {
|
|
10063
10095
|
type: NumberConstructor;
|
|
@@ -10083,13 +10115,13 @@ declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv>
|
|
|
10083
10115
|
onScroll(offset: any): void;
|
|
10084
10116
|
}
|
|
10085
10117
|
|
|
10086
|
-
interface Props$
|
|
10118
|
+
interface Props$w {
|
|
10087
10119
|
table: Table;
|
|
10088
10120
|
}
|
|
10089
10121
|
interface State$2 {
|
|
10090
10122
|
highlightZone: Zone | undefined;
|
|
10091
10123
|
}
|
|
10092
|
-
declare class TableResizer extends Component<Props$
|
|
10124
|
+
declare class TableResizer extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10093
10125
|
static template: string;
|
|
10094
10126
|
static props: {
|
|
10095
10127
|
table: ObjectConstructor;
|
|
@@ -10118,10 +10150,10 @@ declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10118
10150
|
* - a vertical resizer (same, for rows)
|
|
10119
10151
|
*/
|
|
10120
10152
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10121
|
-
interface Props$
|
|
10153
|
+
interface Props$v {
|
|
10122
10154
|
exposeFocus: (focus: () => void) => void;
|
|
10123
10155
|
}
|
|
10124
|
-
declare class Grid extends Component<Props$
|
|
10156
|
+
declare class Grid extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10125
10157
|
static template: string;
|
|
10126
10158
|
static props: {
|
|
10127
10159
|
exposeFocus: FunctionConstructor;
|
|
@@ -10234,7 +10266,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10234
10266
|
private getChartDefinitionFromContextCreation;
|
|
10235
10267
|
}
|
|
10236
10268
|
|
|
10237
|
-
interface Props$
|
|
10269
|
+
interface Props$u {
|
|
10238
10270
|
figureId: UID;
|
|
10239
10271
|
chartPanelStore: MainChartPanelStore;
|
|
10240
10272
|
}
|
|
@@ -10242,7 +10274,7 @@ interface ChartTypePickerState {
|
|
|
10242
10274
|
popoverProps: PopoverProps | undefined;
|
|
10243
10275
|
popoverStyle: string;
|
|
10244
10276
|
}
|
|
10245
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10277
|
+
declare class ChartTypePicker extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10246
10278
|
static template: string;
|
|
10247
10279
|
static components: {
|
|
10248
10280
|
Section: typeof Section;
|
|
@@ -10278,11 +10310,11 @@ declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
10278
10310
|
private closePopover;
|
|
10279
10311
|
}
|
|
10280
10312
|
|
|
10281
|
-
interface Props$
|
|
10313
|
+
interface Props$t {
|
|
10282
10314
|
onCloseSidePanel: () => void;
|
|
10283
10315
|
figureId: UID;
|
|
10284
10316
|
}
|
|
10285
|
-
declare class ChartPanel extends Component<Props$
|
|
10317
|
+
declare class ChartPanel extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10286
10318
|
static template: string;
|
|
10287
10319
|
static components: {
|
|
10288
10320
|
Section: typeof Section;
|
|
@@ -10302,11 +10334,11 @@ declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
10302
10334
|
private getChartDefinition;
|
|
10303
10335
|
}
|
|
10304
10336
|
|
|
10305
|
-
interface Props$
|
|
10337
|
+
interface Props$s {
|
|
10306
10338
|
onValueChange: (value: number) => void;
|
|
10307
10339
|
value: number;
|
|
10308
10340
|
}
|
|
10309
|
-
declare class PieHoleSize extends Component<Props$
|
|
10341
|
+
declare class PieHoleSize extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10310
10342
|
static template: string;
|
|
10311
10343
|
static components: {
|
|
10312
10344
|
Section: typeof Section;
|
|
@@ -10319,19 +10351,19 @@ declare class PieHoleSize extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
10319
10351
|
onChange(value: string): void;
|
|
10320
10352
|
}
|
|
10321
10353
|
|
|
10322
|
-
interface Props$
|
|
10354
|
+
interface Props$r {
|
|
10323
10355
|
figureId: UID;
|
|
10324
10356
|
definition: PieChartDefinition;
|
|
10325
10357
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10326
10358
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10327
10359
|
}
|
|
10328
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10360
|
+
declare class PieChartDesignPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10329
10361
|
static template: string;
|
|
10330
10362
|
static components: {
|
|
10331
10363
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
10332
10364
|
Section: typeof Section;
|
|
10333
|
-
Checkbox: typeof Checkbox;
|
|
10334
10365
|
ChartLegend: typeof ChartLegend;
|
|
10366
|
+
ChartShowValues: typeof ChartShowValues;
|
|
10335
10367
|
PieHoleSize: typeof PieHoleSize;
|
|
10336
10368
|
};
|
|
10337
10369
|
static props: {
|
|
@@ -10346,10 +10378,10 @@ declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv
|
|
|
10346
10378
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
10347
10379
|
}
|
|
10348
10380
|
|
|
10349
|
-
interface Props$
|
|
10381
|
+
interface Props$q {
|
|
10350
10382
|
items: ActionSpec[];
|
|
10351
10383
|
}
|
|
10352
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10384
|
+
declare class CogWheelMenu extends Component<Props$q, SpreadsheetChildEnv> {
|
|
10353
10385
|
static template: string;
|
|
10354
10386
|
static components: {
|
|
10355
10387
|
Menu: typeof Menu;
|
|
@@ -10432,14 +10464,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10432
10464
|
get highlights(): Highlight$1[];
|
|
10433
10465
|
}
|
|
10434
10466
|
|
|
10435
|
-
interface Props$
|
|
10467
|
+
interface Props$p {
|
|
10436
10468
|
deferUpdate: boolean;
|
|
10437
10469
|
isDirty: boolean;
|
|
10438
10470
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10439
10471
|
discard: () => void;
|
|
10440
10472
|
apply: () => void;
|
|
10441
10473
|
}
|
|
10442
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10474
|
+
declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
|
|
10443
10475
|
static template: string;
|
|
10444
10476
|
static props: {
|
|
10445
10477
|
deferUpdate: BooleanConstructor;
|
|
@@ -10456,11 +10488,11 @@ declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
10456
10488
|
get deferUpdatesTooltip(): string;
|
|
10457
10489
|
}
|
|
10458
10490
|
|
|
10459
|
-
interface Props$
|
|
10491
|
+
interface Props$o {
|
|
10460
10492
|
onFieldPicked: (field: string) => void;
|
|
10461
10493
|
fields: PivotField[];
|
|
10462
10494
|
}
|
|
10463
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10495
|
+
declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv> {
|
|
10464
10496
|
static template: string;
|
|
10465
10497
|
static components: {
|
|
10466
10498
|
Popover: typeof Popover;
|
|
@@ -10496,7 +10528,7 @@ declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
10496
10528
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10497
10529
|
}
|
|
10498
10530
|
|
|
10499
|
-
interface Props$
|
|
10531
|
+
interface Props$n {
|
|
10500
10532
|
value: string;
|
|
10501
10533
|
onChange: (value: string) => void;
|
|
10502
10534
|
class?: string;
|
|
@@ -10504,7 +10536,7 @@ interface Props$l {
|
|
|
10504
10536
|
placeholder?: string;
|
|
10505
10537
|
autofocus?: boolean;
|
|
10506
10538
|
}
|
|
10507
|
-
declare class TextInput extends Component<Props$
|
|
10539
|
+
declare class TextInput extends Component<Props$n, SpreadsheetChildEnv> {
|
|
10508
10540
|
static template: string;
|
|
10509
10541
|
static props: {
|
|
10510
10542
|
value: StringConstructor;
|
|
@@ -10534,13 +10566,13 @@ declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
10534
10566
|
onMouseUp(ev: MouseEvent): void;
|
|
10535
10567
|
}
|
|
10536
10568
|
|
|
10537
|
-
interface Props$
|
|
10569
|
+
interface Props$m {
|
|
10538
10570
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10539
10571
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10540
10572
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10541
10573
|
type: "row" | "col" | "measure";
|
|
10542
10574
|
}
|
|
10543
|
-
declare class PivotDimension extends Component<Props$
|
|
10575
|
+
declare class PivotDimension extends Component<Props$m, SpreadsheetChildEnv> {
|
|
10544
10576
|
static template: string;
|
|
10545
10577
|
static props: {
|
|
10546
10578
|
dimension: ObjectConstructor;
|
|
@@ -10564,13 +10596,13 @@ declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
10564
10596
|
updateName(name: string): void;
|
|
10565
10597
|
}
|
|
10566
10598
|
|
|
10567
|
-
interface Props$
|
|
10599
|
+
interface Props$l {
|
|
10568
10600
|
dimension: PivotDimension$1;
|
|
10569
10601
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10570
10602
|
availableGranularities: Set<string>;
|
|
10571
10603
|
allGranularities: string[];
|
|
10572
10604
|
}
|
|
10573
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
10605
|
+
declare class PivotDimensionGranularity extends Component<Props$l, SpreadsheetChildEnv> {
|
|
10574
10606
|
static template: string;
|
|
10575
10607
|
static props: {
|
|
10576
10608
|
dimension: ObjectConstructor;
|
|
@@ -10595,11 +10627,11 @@ declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetCh
|
|
|
10595
10627
|
};
|
|
10596
10628
|
}
|
|
10597
10629
|
|
|
10598
|
-
interface Props$
|
|
10630
|
+
interface Props$k {
|
|
10599
10631
|
dimension: PivotDimension$1;
|
|
10600
10632
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10601
10633
|
}
|
|
10602
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
10634
|
+
declare class PivotDimensionOrder extends Component<Props$k, SpreadsheetChildEnv> {
|
|
10603
10635
|
static template: string;
|
|
10604
10636
|
static props: {
|
|
10605
10637
|
dimension: ObjectConstructor;
|
|
@@ -10635,7 +10667,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10635
10667
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
10636
10668
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
10637
10669
|
|
|
10638
|
-
interface Props$
|
|
10670
|
+
interface Props$j {
|
|
10639
10671
|
pivotId: string;
|
|
10640
10672
|
definition: PivotRuntimeDefinition;
|
|
10641
10673
|
measure: PivotMeasure;
|
|
@@ -10643,7 +10675,7 @@ interface Props$h {
|
|
|
10643
10675
|
onRemoved: () => void;
|
|
10644
10676
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10645
10677
|
}
|
|
10646
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
10678
|
+
declare class PivotMeasureEditor extends Component<Props$j> {
|
|
10647
10679
|
static template: string;
|
|
10648
10680
|
static components: {
|
|
10649
10681
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10668,11 +10700,11 @@ declare class PivotMeasureEditor extends Component<Props$h> {
|
|
|
10668
10700
|
get isCalculatedMeasureInvalid(): boolean;
|
|
10669
10701
|
}
|
|
10670
10702
|
|
|
10671
|
-
interface Props$
|
|
10703
|
+
interface Props$i {
|
|
10672
10704
|
definition: PivotRuntimeDefinition;
|
|
10673
10705
|
pivotId: UID;
|
|
10674
10706
|
}
|
|
10675
|
-
declare class PivotSortSection extends Component<Props$
|
|
10707
|
+
declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
|
|
10676
10708
|
static template: string;
|
|
10677
10709
|
static components: {
|
|
10678
10710
|
Section: typeof Section;
|
|
@@ -10689,7 +10721,7 @@ declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
|
10689
10721
|
}[];
|
|
10690
10722
|
}
|
|
10691
10723
|
|
|
10692
|
-
interface Props$
|
|
10724
|
+
interface Props$h {
|
|
10693
10725
|
definition: PivotRuntimeDefinition;
|
|
10694
10726
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10695
10727
|
unusedGroupableFields: PivotField[];
|
|
@@ -10700,7 +10732,7 @@ interface Props$f {
|
|
|
10700
10732
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10701
10733
|
pivotId: UID;
|
|
10702
10734
|
}
|
|
10703
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
10735
|
+
declare class PivotLayoutConfigurator extends Component<Props$h, SpreadsheetChildEnv> {
|
|
10704
10736
|
static template: string;
|
|
10705
10737
|
static components: {
|
|
10706
10738
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -10791,11 +10823,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10791
10823
|
private areDomainFieldsValid;
|
|
10792
10824
|
}
|
|
10793
10825
|
|
|
10794
|
-
interface Props$
|
|
10826
|
+
interface Props$g {
|
|
10795
10827
|
pivotId: UID;
|
|
10796
10828
|
flipAxis: () => void;
|
|
10797
10829
|
}
|
|
10798
|
-
declare class PivotTitleSection extends Component<Props$
|
|
10830
|
+
declare class PivotTitleSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
10799
10831
|
static template: string;
|
|
10800
10832
|
static components: {
|
|
10801
10833
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -10927,7 +10959,7 @@ interface PivotDialogValue {
|
|
|
10927
10959
|
value: string;
|
|
10928
10960
|
isMissing: boolean;
|
|
10929
10961
|
}
|
|
10930
|
-
interface Props$
|
|
10962
|
+
interface Props$f {
|
|
10931
10963
|
pivotId: UID;
|
|
10932
10964
|
onCellClicked: (formula: string) => void;
|
|
10933
10965
|
}
|
|
@@ -10936,7 +10968,7 @@ interface TableData {
|
|
|
10936
10968
|
rows: PivotDialogRow[];
|
|
10937
10969
|
values: PivotDialogValue[][];
|
|
10938
10970
|
}
|
|
10939
|
-
declare class PivotHTMLRenderer extends Component<Props$
|
|
10971
|
+
declare class PivotHTMLRenderer extends Component<Props$f, SpreadsheetChildEnv> {
|
|
10940
10972
|
static template: string;
|
|
10941
10973
|
static components: {
|
|
10942
10974
|
Checkbox: typeof Checkbox;
|
|
@@ -10993,23 +11025,43 @@ declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv>
|
|
|
10993
11025
|
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
10994
11026
|
}
|
|
10995
11027
|
|
|
10996
|
-
interface Props$
|
|
11028
|
+
interface Props$e {
|
|
11029
|
+
figureId: UID;
|
|
11030
|
+
definition: ChartWithDataSetDefinition;
|
|
11031
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11032
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11033
|
+
}
|
|
11034
|
+
declare class ChartShowDataMarkers extends Component<Props$e, SpreadsheetChildEnv> {
|
|
11035
|
+
static template: string;
|
|
11036
|
+
static components: {
|
|
11037
|
+
Checkbox: typeof Checkbox;
|
|
11038
|
+
};
|
|
11039
|
+
static props: {
|
|
11040
|
+
figureId: StringConstructor;
|
|
11041
|
+
definition: ObjectConstructor;
|
|
11042
|
+
updateChart: FunctionConstructor;
|
|
11043
|
+
canUpdateChart: FunctionConstructor;
|
|
11044
|
+
};
|
|
11045
|
+
}
|
|
11046
|
+
|
|
11047
|
+
interface Props$d {
|
|
10997
11048
|
figureId: UID;
|
|
10998
11049
|
definition: ComboChartDefinition;
|
|
10999
11050
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11000
11051
|
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11001
11052
|
}
|
|
11002
|
-
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11053
|
+
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$d> {
|
|
11003
11054
|
static template: string;
|
|
11004
11055
|
static components: {
|
|
11056
|
+
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11005
11057
|
RadioSelection: typeof RadioSelection;
|
|
11006
11058
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11007
11059
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11008
11060
|
Section: typeof Section;
|
|
11009
11061
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11010
|
-
Checkbox: typeof Checkbox;
|
|
11011
11062
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11012
11063
|
ChartLegend: typeof ChartLegend;
|
|
11064
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11013
11065
|
};
|
|
11014
11066
|
seriesTypeChoices: {
|
|
11015
11067
|
value: string;
|
|
@@ -11019,20 +11071,20 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
|
|
|
11019
11071
|
getDataSeriesType(index: number): "line" | "bar";
|
|
11020
11072
|
}
|
|
11021
11073
|
|
|
11022
|
-
interface Props$
|
|
11074
|
+
interface Props$c {
|
|
11023
11075
|
figureId: UID;
|
|
11024
11076
|
definition: FunnelChartDefinition;
|
|
11025
11077
|
canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11026
11078
|
updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11027
11079
|
}
|
|
11028
|
-
declare class FunnelChartDesignPanel extends Component<Props$
|
|
11080
|
+
declare class FunnelChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
|
|
11029
11081
|
static template: string;
|
|
11030
11082
|
static components: {
|
|
11083
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11031
11084
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11032
11085
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11033
11086
|
RoundColorPicker: typeof RoundColorPicker;
|
|
11034
11087
|
Section: typeof Section;
|
|
11035
|
-
Checkbox: typeof Checkbox;
|
|
11036
11088
|
};
|
|
11037
11089
|
static props: {
|
|
11038
11090
|
figureId: StringConstructor;
|
|
@@ -11047,13 +11099,13 @@ declare class FunnelChartDesignPanel extends Component<Props$b, SpreadsheetChild
|
|
|
11047
11099
|
updateFunnelItemColor(index: number, color: string): void;
|
|
11048
11100
|
}
|
|
11049
11101
|
|
|
11050
|
-
interface Props$
|
|
11102
|
+
interface Props$b {
|
|
11051
11103
|
figureId: UID;
|
|
11052
11104
|
definition: GeoChartDefinition;
|
|
11053
11105
|
canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11054
11106
|
updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11055
11107
|
}
|
|
11056
|
-
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11108
|
+
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$b> {
|
|
11057
11109
|
static template: string;
|
|
11058
11110
|
static components: {
|
|
11059
11111
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -11061,9 +11113,9 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
|
|
|
11061
11113
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11062
11114
|
Section: typeof Section;
|
|
11063
11115
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11064
|
-
Checkbox: typeof Checkbox;
|
|
11065
11116
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11066
11117
|
ChartLegend: typeof ChartLegend;
|
|
11118
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11067
11119
|
};
|
|
11068
11120
|
colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
|
|
11069
11121
|
updateColorScaleType(ev: Event): void;
|
|
@@ -11077,12 +11129,12 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
|
|
|
11077
11129
|
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11078
11130
|
}
|
|
11079
11131
|
|
|
11080
|
-
interface Props$
|
|
11132
|
+
interface Props$a {
|
|
11081
11133
|
figureId: UID;
|
|
11082
11134
|
definition: GeoChartDefinition;
|
|
11083
11135
|
updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11084
11136
|
}
|
|
11085
|
-
declare class GeoChartRegionSelectSection extends Component<Props$
|
|
11137
|
+
declare class GeoChartRegionSelectSection extends Component<Props$a, SpreadsheetChildEnv> {
|
|
11086
11138
|
static template: string;
|
|
11087
11139
|
static components: {
|
|
11088
11140
|
Section: typeof Section;
|
|
@@ -11097,6 +11149,26 @@ declare class GeoChartRegionSelectSection extends Component<Props$9, Spreadsheet
|
|
|
11097
11149
|
get selectedRegion(): string;
|
|
11098
11150
|
}
|
|
11099
11151
|
|
|
11152
|
+
interface Props$9 {
|
|
11153
|
+
figureId: UID;
|
|
11154
|
+
definition: ComboChartDefinition;
|
|
11155
|
+
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11156
|
+
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11157
|
+
}
|
|
11158
|
+
declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
|
|
11159
|
+
static template: string;
|
|
11160
|
+
static components: {
|
|
11161
|
+
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11162
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11163
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11164
|
+
Section: typeof Section;
|
|
11165
|
+
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11166
|
+
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11167
|
+
ChartLegend: typeof ChartLegend;
|
|
11168
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11169
|
+
};
|
|
11170
|
+
}
|
|
11171
|
+
|
|
11100
11172
|
interface Props$8 {
|
|
11101
11173
|
figureId: UID;
|
|
11102
11174
|
definition: RadarChartDefinition;
|
|
@@ -11109,8 +11181,9 @@ declare class RadarChartDesignPanel extends Component<Props$8, SpreadsheetChildE
|
|
|
11109
11181
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11110
11182
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
11111
11183
|
Section: typeof Section;
|
|
11112
|
-
Checkbox: typeof Checkbox;
|
|
11113
11184
|
ChartLegend: typeof ChartLegend;
|
|
11185
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11186
|
+
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11114
11187
|
};
|
|
11115
11188
|
static props: {
|
|
11116
11189
|
figureId: StringConstructor;
|
|
@@ -11130,6 +11203,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$7, SpreadsheetCh
|
|
|
11130
11203
|
static template: string;
|
|
11131
11204
|
static components: {
|
|
11132
11205
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11206
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11133
11207
|
Checkbox: typeof Checkbox;
|
|
11134
11208
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11135
11209
|
Section: typeof Section;
|
|
@@ -11232,7 +11306,7 @@ declare class BarChart extends AbstractChart {
|
|
|
11232
11306
|
readonly horizontal?: boolean;
|
|
11233
11307
|
readonly showValues?: boolean;
|
|
11234
11308
|
constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11235
|
-
static transformDefinition(definition: BarChartDefinition,
|
|
11309
|
+
static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
|
|
11236
11310
|
static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
|
|
11237
11311
|
static getDefinitionFromContextCreation(context: ChartCreationContext): BarChartDefinition;
|
|
11238
11312
|
getContextCreation(): ChartCreationContext;
|
|
@@ -11251,7 +11325,7 @@ declare class GaugeChart extends AbstractChart {
|
|
|
11251
11325
|
readonly type = "gauge";
|
|
11252
11326
|
constructor(definition: GaugeChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11253
11327
|
static validateChartDefinition(validator: Validator, definition: GaugeChartDefinition): CommandResult | CommandResult[];
|
|
11254
|
-
static transformDefinition(definition: GaugeChartDefinition,
|
|
11328
|
+
static transformDefinition(chartSheetId: UID, definition: GaugeChartDefinition, applyChange: RangeAdapter$1): GaugeChartDefinition;
|
|
11255
11329
|
static getDefinitionFromContextCreation(context: ChartCreationContext): GaugeChartDefinition;
|
|
11256
11330
|
duplicateInDuplicatedSheet(newSheetId: UID): GaugeChart;
|
|
11257
11331
|
copyInSheetId(sheetId: UID): GaugeChart;
|
|
@@ -11277,9 +11351,10 @@ declare class LineChart extends AbstractChart {
|
|
|
11277
11351
|
readonly axesDesign?: AxesDesign;
|
|
11278
11352
|
readonly fillArea?: boolean;
|
|
11279
11353
|
readonly showValues?: boolean;
|
|
11354
|
+
readonly hideDataMarkers?: boolean;
|
|
11280
11355
|
constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11281
11356
|
static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
|
|
11282
|
-
static transformDefinition(definition: LineChartDefinition,
|
|
11357
|
+
static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
|
|
11283
11358
|
static getDefinitionFromContextCreation(context: ChartCreationContext): LineChartDefinition;
|
|
11284
11359
|
getDefinition(): LineChartDefinition;
|
|
11285
11360
|
private getDefinitionWithSpecificDataSets;
|
|
@@ -11302,7 +11377,7 @@ declare class PieChart extends AbstractChart {
|
|
|
11302
11377
|
readonly showValues?: boolean;
|
|
11303
11378
|
readonly pieHolePercentage?: number;
|
|
11304
11379
|
constructor(definition: PieChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11305
|
-
static transformDefinition(definition: PieChartDefinition,
|
|
11380
|
+
static transformDefinition(chartSheetId: UID, definition: PieChartDefinition, applyChange: RangeAdapter$1): PieChartDefinition;
|
|
11306
11381
|
static validateChartDefinition(validator: Validator, definition: PieChartDefinition): CommandResult | CommandResult[];
|
|
11307
11382
|
static getDefinitionFromContextCreation(context: ChartCreationContext): PieChartDefinition;
|
|
11308
11383
|
getDefinition(): PieChartDefinition;
|
|
@@ -11330,7 +11405,7 @@ declare class ScorecardChart extends AbstractChart {
|
|
|
11330
11405
|
constructor(definition: ScorecardChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11331
11406
|
static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
|
|
11332
11407
|
static getDefinitionFromContextCreation(context: ChartCreationContext): ScorecardChartDefinition;
|
|
11333
|
-
static transformDefinition(definition: ScorecardChartDefinition,
|
|
11408
|
+
static transformDefinition(chartSheetId: UID, definition: ScorecardChartDefinition, applyChange: RangeAdapter$1): ScorecardChartDefinition;
|
|
11334
11409
|
duplicateInDuplicatedSheet(newSheetId: UID): ScorecardChart;
|
|
11335
11410
|
copyInSheetId(sheetId: UID): ScorecardChart;
|
|
11336
11411
|
getDefinition(): ScorecardChartDefinition;
|
|
@@ -11359,7 +11434,7 @@ declare class WaterfallChart extends AbstractChart {
|
|
|
11359
11434
|
readonly axesDesign?: AxesDesign;
|
|
11360
11435
|
readonly showValues?: boolean;
|
|
11361
11436
|
constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11362
|
-
static transformDefinition(definition: WaterfallChartDefinition,
|
|
11437
|
+
static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
|
|
11363
11438
|
static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
|
|
11364
11439
|
static getDefinitionFromContextCreation(context: ChartCreationContext): WaterfallChartDefinition;
|
|
11365
11440
|
getContextCreation(): ChartCreationContext;
|
|
@@ -12159,6 +12234,7 @@ declare const components: {
|
|
|
12159
12234
|
PieChartDesignPanel: typeof PieChartDesignPanel;
|
|
12160
12235
|
GenericChartConfigPanel: typeof GenericChartConfigPanel;
|
|
12161
12236
|
ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
|
|
12237
|
+
LineChartDesignPanel: typeof LineChartDesignPanel;
|
|
12162
12238
|
GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
|
|
12163
12239
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
12164
12240
|
ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
|
|
@@ -12730,7 +12806,7 @@ declare const chartHelpers: {
|
|
|
12730
12806
|
createDataSets(getters: CoreGetters, customizedDataSets: CustomizedDataSet[], sheetId: UID, dataSetsHaveTitle: boolean): DataSet[];
|
|
12731
12807
|
toExcelDataset(getters: CoreGetters, ds: DataSet): ExcelChartDataset;
|
|
12732
12808
|
toExcelLabelRange(getters: CoreGetters, labelRange: Range | undefined, shouldRemoveFirstLabel?: boolean): string | undefined;
|
|
12733
|
-
transformChartDefinitionWithDataSetsWithZone<T extends ChartWithDataSetDefinition>(definition: T,
|
|
12809
|
+
transformChartDefinitionWithDataSetsWithZone<T extends ChartWithDataSetDefinition>(chartSheetId: UID, definition: T, applyChange: RangeAdapter$1): T;
|
|
12734
12810
|
chartFontColor(backgroundColor: Color | undefined): Color;
|
|
12735
12811
|
chartMutedFontColor(backgroundColor: Color | undefined): Color;
|
|
12736
12812
|
checkDataset(definition: ChartWithDataSetDefinition): CommandResult;
|
|
@@ -12761,7 +12837,7 @@ declare const chartHelpers: {
|
|
|
12761
12837
|
chartFactory(getters: CoreGetters): (id: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
|
|
12762
12838
|
chartRuntimeFactory(getters: Getters): (chart: AbstractChart) => ChartRuntime;
|
|
12763
12839
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
12764
|
-
transformDefinition(definition: ChartDefinition,
|
|
12840
|
+
transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyrange: RangeAdapter$1): ChartDefinition;
|
|
12765
12841
|
getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
|
|
12766
12842
|
chartToImageUrl(runtime: ChartRuntime, figure: Figure, type: ChartType): string | undefined;
|
|
12767
12843
|
chartToImageFile(runtime: ChartRuntime, figure: Figure, type: ChartType): Promise<File | undefined>;
|