@odoo/o-spreadsheet 19.1.0-alpha.8 → 19.1.0-alpha.9
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-engine.d.ts +11 -2
- package/dist/o-spreadsheet-engine.esm.js +22 -13
- package/dist/o-spreadsheet-engine.iife.js +22 -13
- package/dist/o-spreadsheet-engine.min.iife.js +2 -2
- package/dist/o-spreadsheet.d.ts +242 -148
- package/dist/o_spreadsheet.esm.js +114 -59
- package/dist/o_spreadsheet.iife.js +114 -59
- package/dist/o_spreadsheet.min.iife.js +2 -2
- package/dist/o_spreadsheet.xml +52 -31
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -7165,7 +7165,7 @@ interface ChartBuilder {
|
|
|
7165
7165
|
dataSeriesLimit?: number;
|
|
7166
7166
|
}
|
|
7167
7167
|
|
|
7168
|
-
interface Props$
|
|
7168
|
+
interface Props$1t {
|
|
7169
7169
|
label?: string;
|
|
7170
7170
|
value: boolean;
|
|
7171
7171
|
className?: string;
|
|
@@ -7174,7 +7174,7 @@ interface Props$1s {
|
|
|
7174
7174
|
disabled?: boolean;
|
|
7175
7175
|
onChange: (value: boolean) => void;
|
|
7176
7176
|
}
|
|
7177
|
-
declare class Checkbox extends Component<Props$
|
|
7177
|
+
declare class Checkbox extends Component<Props$1t, SpreadsheetChildEnv> {
|
|
7178
7178
|
static template: string;
|
|
7179
7179
|
static props: {
|
|
7180
7180
|
label: {
|
|
@@ -7209,10 +7209,10 @@ declare class Checkbox extends Component<Props$1s, SpreadsheetChildEnv> {
|
|
|
7209
7209
|
onChange(ev: InputEvent): void;
|
|
7210
7210
|
}
|
|
7211
7211
|
|
|
7212
|
-
interface Props$
|
|
7212
|
+
interface Props$1s {
|
|
7213
7213
|
class?: string;
|
|
7214
7214
|
}
|
|
7215
|
-
declare class Section extends Component<Props$
|
|
7215
|
+
declare class Section extends Component<Props$1s, SpreadsheetChildEnv> {
|
|
7216
7216
|
static template: string;
|
|
7217
7217
|
static props: {
|
|
7218
7218
|
class: {
|
|
@@ -7406,7 +7406,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7406
7406
|
getIndex(rangeId: number | null): number | null;
|
|
7407
7407
|
}
|
|
7408
7408
|
|
|
7409
|
-
interface Props$
|
|
7409
|
+
interface Props$1r {
|
|
7410
7410
|
ranges: string[];
|
|
7411
7411
|
hasSingleRange?: boolean;
|
|
7412
7412
|
required?: boolean;
|
|
@@ -7434,7 +7434,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7434
7434
|
* onSelectionChanged is called every time the input value
|
|
7435
7435
|
* changes.
|
|
7436
7436
|
*/
|
|
7437
|
-
declare class SelectionInput extends Component<Props$
|
|
7437
|
+
declare class SelectionInput extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
7438
7438
|
static template: string;
|
|
7439
7439
|
static props: {
|
|
7440
7440
|
ranges: ArrayConstructor;
|
|
@@ -7511,7 +7511,7 @@ declare class SelectionInput extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
|
7511
7511
|
confirm(): void;
|
|
7512
7512
|
}
|
|
7513
7513
|
|
|
7514
|
-
interface Props$
|
|
7514
|
+
interface Props$1q {
|
|
7515
7515
|
ranges: CustomizedDataSet[];
|
|
7516
7516
|
hasSingleRange?: boolean;
|
|
7517
7517
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7524,7 +7524,7 @@ interface Props$1p {
|
|
|
7524
7524
|
canChangeDatasetOrientation?: boolean;
|
|
7525
7525
|
onFlipAxis?: (structure: string) => void;
|
|
7526
7526
|
}
|
|
7527
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7527
|
+
declare class ChartDataSeries extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
7528
7528
|
static template: string;
|
|
7529
7529
|
static components: {
|
|
7530
7530
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7573,12 +7573,12 @@ declare class ChartDataSeries extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
|
7573
7573
|
get title(): string;
|
|
7574
7574
|
}
|
|
7575
7575
|
|
|
7576
|
-
interface Props$
|
|
7576
|
+
interface Props$1p {
|
|
7577
7577
|
messages: string[];
|
|
7578
7578
|
msgType: "warning" | "error" | "info";
|
|
7579
7579
|
singleBox?: boolean;
|
|
7580
7580
|
}
|
|
7581
|
-
declare class ValidationMessages extends Component<Props$
|
|
7581
|
+
declare class ValidationMessages extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
7582
7582
|
static template: string;
|
|
7583
7583
|
static props: {
|
|
7584
7584
|
messages: ArrayConstructor;
|
|
@@ -7592,10 +7592,10 @@ declare class ValidationMessages extends Component<Props$1o, SpreadsheetChildEnv
|
|
|
7592
7592
|
get alertBoxes(): string[][];
|
|
7593
7593
|
}
|
|
7594
7594
|
|
|
7595
|
-
interface Props$
|
|
7595
|
+
interface Props$1o {
|
|
7596
7596
|
messages: string[];
|
|
7597
7597
|
}
|
|
7598
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7598
|
+
declare class ChartErrorSection extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
7599
7599
|
static template: string;
|
|
7600
7600
|
static components: {
|
|
7601
7601
|
Section: typeof Section;
|
|
@@ -7609,7 +7609,7 @@ declare class ChartErrorSection extends Component<Props$1n, SpreadsheetChildEnv>
|
|
|
7609
7609
|
};
|
|
7610
7610
|
}
|
|
7611
7611
|
|
|
7612
|
-
interface Props$
|
|
7612
|
+
interface Props$1n {
|
|
7613
7613
|
title?: string;
|
|
7614
7614
|
range: string;
|
|
7615
7615
|
isInvalid: boolean;
|
|
@@ -7622,7 +7622,7 @@ interface Props$1m {
|
|
|
7622
7622
|
onChange: (value: boolean) => void;
|
|
7623
7623
|
}>;
|
|
7624
7624
|
}
|
|
7625
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7625
|
+
declare class ChartLabelRange extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
7626
7626
|
static template: string;
|
|
7627
7627
|
static components: {
|
|
7628
7628
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7643,10 +7643,10 @@ declare class ChartLabelRange extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
|
7643
7643
|
optional: boolean;
|
|
7644
7644
|
};
|
|
7645
7645
|
};
|
|
7646
|
-
static defaultProps: Partial<Props$
|
|
7646
|
+
static defaultProps: Partial<Props$1n>;
|
|
7647
7647
|
}
|
|
7648
7648
|
|
|
7649
|
-
interface Props$
|
|
7649
|
+
interface Props$1m {
|
|
7650
7650
|
chartId: UID;
|
|
7651
7651
|
definition: ChartWithDataSetDefinition;
|
|
7652
7652
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7656,7 +7656,7 @@ interface ChartPanelState {
|
|
|
7656
7656
|
datasetDispatchResult?: DispatchResult;
|
|
7657
7657
|
labelsDispatchResult?: DispatchResult;
|
|
7658
7658
|
}
|
|
7659
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7659
|
+
declare class GenericChartConfigPanel extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
7660
7660
|
static template: string;
|
|
7661
7661
|
static components: {
|
|
7662
7662
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7725,11 +7725,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7725
7725
|
onUpdateStacked(stacked: boolean): void;
|
|
7726
7726
|
}
|
|
7727
7727
|
|
|
7728
|
-
interface Props$
|
|
7728
|
+
interface Props$1l {
|
|
7729
7729
|
isCollapsed: boolean;
|
|
7730
7730
|
slots: any;
|
|
7731
7731
|
}
|
|
7732
|
-
declare class Collapse extends Component<Props$
|
|
7732
|
+
declare class Collapse extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
7733
7733
|
static template: string;
|
|
7734
7734
|
static props: {
|
|
7735
7735
|
isCollapsed: BooleanConstructor;
|
|
@@ -7768,12 +7768,12 @@ interface Choice$1 {
|
|
|
7768
7768
|
value: string;
|
|
7769
7769
|
label: string;
|
|
7770
7770
|
}
|
|
7771
|
-
interface Props$
|
|
7771
|
+
interface Props$1k {
|
|
7772
7772
|
choices: Choice$1[];
|
|
7773
7773
|
onChange: (value: string) => void;
|
|
7774
7774
|
selectedValue: string;
|
|
7775
7775
|
}
|
|
7776
|
-
declare class BadgeSelection extends Component<Props$
|
|
7776
|
+
declare class BadgeSelection extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
7777
7777
|
static template: string;
|
|
7778
7778
|
static props: {
|
|
7779
7779
|
choices: ArrayConstructor;
|
|
@@ -7782,6 +7782,91 @@ declare class BadgeSelection extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
|
7782
7782
|
};
|
|
7783
7783
|
}
|
|
7784
7784
|
|
|
7785
|
+
interface GenericInputProps {
|
|
7786
|
+
value: string | number;
|
|
7787
|
+
onChange: (value: string) => void;
|
|
7788
|
+
class?: string;
|
|
7789
|
+
id?: string;
|
|
7790
|
+
placeholder?: string;
|
|
7791
|
+
autofocus?: boolean;
|
|
7792
|
+
selectContentOnFocus?: boolean;
|
|
7793
|
+
}
|
|
7794
|
+
declare class GenericInput<T extends GenericInputProps> extends Component<T, SpreadsheetChildEnv> {
|
|
7795
|
+
static props: {
|
|
7796
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
7797
|
+
onChange: FunctionConstructor;
|
|
7798
|
+
class: {
|
|
7799
|
+
type: StringConstructor;
|
|
7800
|
+
optional: boolean;
|
|
7801
|
+
};
|
|
7802
|
+
id: {
|
|
7803
|
+
type: StringConstructor;
|
|
7804
|
+
optional: boolean;
|
|
7805
|
+
};
|
|
7806
|
+
placeholder: {
|
|
7807
|
+
type: StringConstructor;
|
|
7808
|
+
optional: boolean;
|
|
7809
|
+
};
|
|
7810
|
+
autofocus: {
|
|
7811
|
+
type: BooleanConstructor;
|
|
7812
|
+
optional: boolean;
|
|
7813
|
+
};
|
|
7814
|
+
alwaysShowBorder: {
|
|
7815
|
+
type: BooleanConstructor;
|
|
7816
|
+
optional: boolean;
|
|
7817
|
+
};
|
|
7818
|
+
selectContentOnFocus: {
|
|
7819
|
+
type: BooleanConstructor;
|
|
7820
|
+
optional: boolean;
|
|
7821
|
+
};
|
|
7822
|
+
};
|
|
7823
|
+
protected refName: string;
|
|
7824
|
+
protected inputRef: Ref<HTMLInputElement>;
|
|
7825
|
+
setup(): void;
|
|
7826
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
7827
|
+
save(keepFocus?: boolean): void;
|
|
7828
|
+
onMouseDown(ev: MouseEvent): void;
|
|
7829
|
+
onMouseUp(ev: MouseEvent): void;
|
|
7830
|
+
}
|
|
7831
|
+
|
|
7832
|
+
interface Props$1j extends GenericInputProps {
|
|
7833
|
+
alwaysShowBorder?: boolean;
|
|
7834
|
+
value: string;
|
|
7835
|
+
}
|
|
7836
|
+
declare class TextInput extends GenericInput<Props$1j> {
|
|
7837
|
+
static template: string;
|
|
7838
|
+
static components: {};
|
|
7839
|
+
static props: {
|
|
7840
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
7841
|
+
onChange: FunctionConstructor;
|
|
7842
|
+
class: {
|
|
7843
|
+
type: StringConstructor;
|
|
7844
|
+
optional: boolean;
|
|
7845
|
+
};
|
|
7846
|
+
id: {
|
|
7847
|
+
type: StringConstructor;
|
|
7848
|
+
optional: boolean;
|
|
7849
|
+
};
|
|
7850
|
+
placeholder: {
|
|
7851
|
+
type: StringConstructor;
|
|
7852
|
+
optional: boolean;
|
|
7853
|
+
};
|
|
7854
|
+
autofocus: {
|
|
7855
|
+
type: BooleanConstructor;
|
|
7856
|
+
optional: boolean;
|
|
7857
|
+
};
|
|
7858
|
+
alwaysShowBorder: {
|
|
7859
|
+
type: BooleanConstructor;
|
|
7860
|
+
optional: boolean;
|
|
7861
|
+
};
|
|
7862
|
+
selectContentOnFocus: {
|
|
7863
|
+
type: BooleanConstructor;
|
|
7864
|
+
optional: boolean;
|
|
7865
|
+
};
|
|
7866
|
+
};
|
|
7867
|
+
get inputClass(): string;
|
|
7868
|
+
}
|
|
7869
|
+
|
|
7785
7870
|
interface Props$1i {
|
|
7786
7871
|
action: ActionSpec;
|
|
7787
7872
|
hasTriangleDownIcon?: boolean;
|
|
@@ -8165,6 +8250,7 @@ declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
8165
8250
|
static components: {
|
|
8166
8251
|
Section: typeof Section;
|
|
8167
8252
|
TextStyler: typeof TextStyler;
|
|
8253
|
+
TextInput: typeof TextInput;
|
|
8168
8254
|
};
|
|
8169
8255
|
static props: {
|
|
8170
8256
|
title: {
|
|
@@ -8190,7 +8276,7 @@ declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
8190
8276
|
title: string;
|
|
8191
8277
|
placeholder: string;
|
|
8192
8278
|
};
|
|
8193
|
-
updateTitle(
|
|
8279
|
+
updateTitle(value: string): void;
|
|
8194
8280
|
}
|
|
8195
8281
|
|
|
8196
8282
|
interface AxisDefinition {
|
|
@@ -8381,13 +8467,63 @@ declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
|
|
|
8381
8467
|
updateLegendPosition(ev: any): void;
|
|
8382
8468
|
}
|
|
8383
8469
|
|
|
8384
|
-
interface Props$17 {
|
|
8470
|
+
interface Props$17 extends GenericInputProps {
|
|
8471
|
+
alwaysShowBorder?: boolean;
|
|
8472
|
+
min?: number;
|
|
8473
|
+
max?: number;
|
|
8474
|
+
value: number;
|
|
8475
|
+
}
|
|
8476
|
+
declare class NumberInput extends GenericInput<Props$17> {
|
|
8477
|
+
static template: string;
|
|
8478
|
+
static components: {};
|
|
8479
|
+
static props: {
|
|
8480
|
+
min: {
|
|
8481
|
+
type: NumberConstructor;
|
|
8482
|
+
optional: boolean;
|
|
8483
|
+
};
|
|
8484
|
+
max: {
|
|
8485
|
+
type: NumberConstructor;
|
|
8486
|
+
optional: boolean;
|
|
8487
|
+
};
|
|
8488
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
8489
|
+
onChange: FunctionConstructor;
|
|
8490
|
+
class: {
|
|
8491
|
+
type: StringConstructor;
|
|
8492
|
+
optional: boolean;
|
|
8493
|
+
};
|
|
8494
|
+
id: {
|
|
8495
|
+
type: StringConstructor;
|
|
8496
|
+
optional: boolean;
|
|
8497
|
+
};
|
|
8498
|
+
placeholder: {
|
|
8499
|
+
type: StringConstructor;
|
|
8500
|
+
optional: boolean;
|
|
8501
|
+
};
|
|
8502
|
+
autofocus: {
|
|
8503
|
+
type: BooleanConstructor;
|
|
8504
|
+
optional: boolean;
|
|
8505
|
+
};
|
|
8506
|
+
alwaysShowBorder: {
|
|
8507
|
+
type: BooleanConstructor;
|
|
8508
|
+
optional: boolean;
|
|
8509
|
+
};
|
|
8510
|
+
selectContentOnFocus: {
|
|
8511
|
+
type: BooleanConstructor;
|
|
8512
|
+
optional: boolean;
|
|
8513
|
+
};
|
|
8514
|
+
};
|
|
8515
|
+
debouncedOnChange: DebouncedFunction<(value: string) => void>;
|
|
8516
|
+
save(): void;
|
|
8517
|
+
get inputClass(): string;
|
|
8518
|
+
}
|
|
8519
|
+
|
|
8520
|
+
interface Props$16 {
|
|
8385
8521
|
chartId: UID;
|
|
8386
8522
|
definition: ChartWithDataSetDefinition;
|
|
8387
8523
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8388
8524
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8389
8525
|
}
|
|
8390
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
8526
|
+
declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
|
|
8391
8527
|
static template: string;
|
|
8392
8528
|
static components: {
|
|
8393
8529
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8415,13 +8551,13 @@ declare class SeriesDesignEditor extends Component<Props$17, SpreadsheetChildEnv
|
|
|
8415
8551
|
getDataSeriesLabel(): string | undefined;
|
|
8416
8552
|
}
|
|
8417
8553
|
|
|
8418
|
-
interface Props$
|
|
8554
|
+
interface Props$15 {
|
|
8419
8555
|
chartId: UID;
|
|
8420
8556
|
definition: ChartWithDataSetDefinition;
|
|
8421
8557
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8422
8558
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8423
8559
|
}
|
|
8424
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8560
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
|
|
8425
8561
|
static template: string;
|
|
8426
8562
|
static components: {
|
|
8427
8563
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8429,6 +8565,7 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$16, Spreadsheet
|
|
|
8429
8565
|
RadioSelection: typeof RadioSelection;
|
|
8430
8566
|
Section: typeof Section;
|
|
8431
8567
|
RoundColorPicker: typeof RoundColorPicker;
|
|
8568
|
+
NumberInput: typeof NumberInput;
|
|
8432
8569
|
};
|
|
8433
8570
|
static props: {
|
|
8434
8571
|
chartId: StringConstructor;
|
|
@@ -8455,21 +8592,21 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$16, Spreadsheet
|
|
|
8455
8592
|
onChangePolynomialDegree(index: number, ev: InputEvent): void;
|
|
8456
8593
|
getMaxPolynomialDegree(index: any): number;
|
|
8457
8594
|
get defaultWindowSize(): number;
|
|
8458
|
-
onChangeMovingAverageWindow(index: number,
|
|
8595
|
+
onChangeMovingAverageWindow(index: number, value: string): void;
|
|
8459
8596
|
getDataSeriesColor(index: number): "" | Color;
|
|
8460
8597
|
getTrendLineColor(index: number): string;
|
|
8461
8598
|
updateTrendLineColor(index: number, color: Color): void;
|
|
8462
8599
|
updateTrendLineValue(index: number, config: any): void;
|
|
8463
8600
|
}
|
|
8464
8601
|
|
|
8465
|
-
interface Props$
|
|
8602
|
+
interface Props$14 {
|
|
8466
8603
|
chartId: UID;
|
|
8467
8604
|
definition: ChartWithDataSetDefinition;
|
|
8468
8605
|
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8469
8606
|
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8470
8607
|
defaultValue?: boolean;
|
|
8471
8608
|
}
|
|
8472
|
-
declare class ChartShowValues extends Component<Props$
|
|
8609
|
+
declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
|
|
8473
8610
|
static template: string;
|
|
8474
8611
|
static components: {
|
|
8475
8612
|
Checkbox: typeof Checkbox;
|
|
@@ -8486,13 +8623,13 @@ declare class ChartShowValues extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
8486
8623
|
};
|
|
8487
8624
|
}
|
|
8488
8625
|
|
|
8489
|
-
interface Props$
|
|
8626
|
+
interface Props$13 {
|
|
8490
8627
|
chartId: UID;
|
|
8491
8628
|
definition: ChartWithDataSetDefinition;
|
|
8492
8629
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8493
8630
|
updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8494
8631
|
}
|
|
8495
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8632
|
+
declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Component<P, SpreadsheetChildEnv> {
|
|
8496
8633
|
static template: string;
|
|
8497
8634
|
static components: {
|
|
8498
8635
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8513,13 +8650,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$14 = Props$14> extends Co
|
|
|
8513
8650
|
get axesList(): AxisDefinition[];
|
|
8514
8651
|
}
|
|
8515
8652
|
|
|
8516
|
-
interface Props$
|
|
8653
|
+
interface Props$12 {
|
|
8517
8654
|
chartId: UID;
|
|
8518
8655
|
definition: GaugeChartDefinition;
|
|
8519
8656
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8520
8657
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8521
8658
|
}
|
|
8522
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8659
|
+
declare class GaugeChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
|
|
8523
8660
|
static template: string;
|
|
8524
8661
|
static components: {
|
|
8525
8662
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8584,13 +8721,13 @@ interface EnrichedToken extends Token {
|
|
|
8584
8721
|
isInHoverContext?: boolean;
|
|
8585
8722
|
}
|
|
8586
8723
|
|
|
8587
|
-
interface Props$
|
|
8724
|
+
interface Props$11 {
|
|
8588
8725
|
proposals: AutoCompleteProposal[];
|
|
8589
8726
|
selectedIndex: number | undefined;
|
|
8590
8727
|
onValueSelected: (value: string) => void;
|
|
8591
8728
|
onValueHovered: (index: string) => void;
|
|
8592
8729
|
}
|
|
8593
|
-
declare class TextValueProvider extends Component<Props$
|
|
8730
|
+
declare class TextValueProvider extends Component<Props$11> {
|
|
8594
8731
|
static template: string;
|
|
8595
8732
|
static props: {
|
|
8596
8733
|
proposals: ArrayConstructor;
|
|
@@ -8647,11 +8784,11 @@ declare class ContentEditableHelper {
|
|
|
8647
8784
|
getText(): string;
|
|
8648
8785
|
}
|
|
8649
8786
|
|
|
8650
|
-
interface Props$
|
|
8787
|
+
interface Props$10 {
|
|
8651
8788
|
functionDescription: FunctionDescription;
|
|
8652
8789
|
argsToFocus: number[];
|
|
8653
8790
|
}
|
|
8654
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8791
|
+
declare class FunctionDescriptionProvider extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8655
8792
|
static template: string;
|
|
8656
8793
|
static props: {
|
|
8657
8794
|
functionDescription: ObjectConstructor;
|
|
@@ -8662,15 +8799,15 @@ declare class FunctionDescriptionProvider extends Component<Props$11, Spreadshee
|
|
|
8662
8799
|
};
|
|
8663
8800
|
private state;
|
|
8664
8801
|
toggle(): void;
|
|
8665
|
-
getContext(): Props$
|
|
8802
|
+
getContext(): Props$10;
|
|
8666
8803
|
get formulaArgSeparator(): string;
|
|
8667
8804
|
}
|
|
8668
8805
|
|
|
8669
|
-
interface Props
|
|
8806
|
+
interface Props$$ {
|
|
8670
8807
|
anchorRect: Rect;
|
|
8671
8808
|
content: string;
|
|
8672
8809
|
}
|
|
8673
|
-
declare class SpeechBubble extends Component<Props
|
|
8810
|
+
declare class SpeechBubble extends Component<Props$$, SpreadsheetChildEnv> {
|
|
8674
8811
|
static template: string;
|
|
8675
8812
|
static props: {
|
|
8676
8813
|
content: StringConstructor;
|
|
@@ -9081,7 +9218,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
9081
9218
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
9082
9219
|
}
|
|
9083
9220
|
|
|
9084
|
-
interface Props
|
|
9221
|
+
interface Props$_ {
|
|
9085
9222
|
onConfirm: (content: string) => void;
|
|
9086
9223
|
composerContent: string;
|
|
9087
9224
|
defaultRangeSheetId: UID;
|
|
@@ -9093,7 +9230,7 @@ interface Props$$ {
|
|
|
9093
9230
|
invalid?: boolean;
|
|
9094
9231
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9095
9232
|
}
|
|
9096
|
-
declare class StandaloneComposer extends Component<Props
|
|
9233
|
+
declare class StandaloneComposer extends Component<Props$_, SpreadsheetChildEnv> {
|
|
9097
9234
|
static template: string;
|
|
9098
9235
|
static props: {
|
|
9099
9236
|
composerContent: {
|
|
@@ -9156,13 +9293,13 @@ interface PanelState {
|
|
|
9156
9293
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
9157
9294
|
sectionRule: SectionRule;
|
|
9158
9295
|
}
|
|
9159
|
-
interface Props$
|
|
9296
|
+
interface Props$Z {
|
|
9160
9297
|
chartId: UID;
|
|
9161
9298
|
definition: GaugeChartDefinition;
|
|
9162
9299
|
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9163
9300
|
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9164
9301
|
}
|
|
9165
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
9302
|
+
declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
9166
9303
|
static template: string;
|
|
9167
9304
|
static components: {
|
|
9168
9305
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9213,13 +9350,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9213
9350
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9214
9351
|
}
|
|
9215
9352
|
|
|
9216
|
-
interface Props$
|
|
9353
|
+
interface Props$Y {
|
|
9217
9354
|
chartId: UID;
|
|
9218
9355
|
definition: ScorecardChartDefinition;
|
|
9219
9356
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9220
9357
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9221
9358
|
}
|
|
9222
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
9359
|
+
declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
9223
9360
|
static template: string;
|
|
9224
9361
|
static components: {
|
|
9225
9362
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9248,13 +9385,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetCh
|
|
|
9248
9385
|
}
|
|
9249
9386
|
|
|
9250
9387
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9251
|
-
interface Props$
|
|
9388
|
+
interface Props$X {
|
|
9252
9389
|
chartId: UID;
|
|
9253
9390
|
definition: ScorecardChartDefinition;
|
|
9254
9391
|
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9255
9392
|
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9256
9393
|
}
|
|
9257
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
9394
|
+
declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
|
|
9258
9395
|
static template: string;
|
|
9259
9396
|
static components: {
|
|
9260
9397
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9453,11 +9590,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
|
|
|
9453
9590
|
enableAnimationForChart(chartId: UID): string;
|
|
9454
9591
|
}
|
|
9455
9592
|
|
|
9456
|
-
interface Props$
|
|
9593
|
+
interface Props$W {
|
|
9457
9594
|
chartId: UID;
|
|
9458
9595
|
isFullScreen?: boolean;
|
|
9459
9596
|
}
|
|
9460
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9597
|
+
declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
|
|
9461
9598
|
static template: string;
|
|
9462
9599
|
static props: {
|
|
9463
9600
|
chartId: StringConstructor;
|
|
@@ -9493,11 +9630,11 @@ declare class ChartJsComponent extends Component<Props$X, SpreadsheetChildEnv> {
|
|
|
9493
9630
|
get animationChartId(): string;
|
|
9494
9631
|
}
|
|
9495
9632
|
|
|
9496
|
-
interface Props$
|
|
9633
|
+
interface Props$V {
|
|
9497
9634
|
chartId: UID;
|
|
9498
9635
|
isFullScreen?: Boolean;
|
|
9499
9636
|
}
|
|
9500
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9637
|
+
declare class ScorecardChart$1 extends Component<Props$V, SpreadsheetChildEnv> {
|
|
9501
9638
|
static template: string;
|
|
9502
9639
|
static props: {
|
|
9503
9640
|
chartId: StringConstructor;
|
|
@@ -9578,7 +9715,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9578
9715
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9579
9716
|
}
|
|
9580
9717
|
|
|
9581
|
-
interface Props$
|
|
9718
|
+
interface Props$U {
|
|
9582
9719
|
anchorRect: Rect;
|
|
9583
9720
|
popoverPositioning: PopoverPropsPosition;
|
|
9584
9721
|
menuItems: Action[];
|
|
@@ -9598,7 +9735,7 @@ interface MenuState {
|
|
|
9598
9735
|
menuItems: Action[];
|
|
9599
9736
|
isHoveringChild?: boolean;
|
|
9600
9737
|
}
|
|
9601
|
-
declare class MenuPopover extends Component<Props$
|
|
9738
|
+
declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
|
|
9602
9739
|
static template: string;
|
|
9603
9740
|
static props: {
|
|
9604
9741
|
anchorRect: ObjectConstructor;
|
|
@@ -9678,7 +9815,7 @@ declare class MenuPopover extends Component<Props$V, SpreadsheetChildEnv> {
|
|
|
9678
9815
|
}
|
|
9679
9816
|
|
|
9680
9817
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9681
|
-
interface Props$
|
|
9818
|
+
interface Props$T {
|
|
9682
9819
|
figureUI: FigureUI;
|
|
9683
9820
|
style: string;
|
|
9684
9821
|
class: string;
|
|
@@ -9686,7 +9823,7 @@ interface Props$U {
|
|
|
9686
9823
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9687
9824
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9688
9825
|
}
|
|
9689
|
-
declare class FigureComponent extends Component<Props$
|
|
9826
|
+
declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
|
|
9690
9827
|
static template: string;
|
|
9691
9828
|
static props: {
|
|
9692
9829
|
figureUI: ObjectConstructor;
|
|
@@ -9742,7 +9879,7 @@ declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9742
9879
|
editWrapperStyle(properties: CSSProperties): void;
|
|
9743
9880
|
}
|
|
9744
9881
|
|
|
9745
|
-
interface Props$
|
|
9882
|
+
interface Props$S {
|
|
9746
9883
|
chartId: UID;
|
|
9747
9884
|
hasFullScreenButton: boolean;
|
|
9748
9885
|
}
|
|
@@ -9753,7 +9890,7 @@ interface MenuItem {
|
|
|
9753
9890
|
onClick: () => void;
|
|
9754
9891
|
preview?: string;
|
|
9755
9892
|
}
|
|
9756
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9893
|
+
declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv> {
|
|
9757
9894
|
static template: string;
|
|
9758
9895
|
static components: {
|
|
9759
9896
|
MenuPopover: typeof MenuPopover;
|
|
@@ -9777,14 +9914,14 @@ declare class ChartDashboardMenu extends Component<Props$T, SpreadsheetChildEnv>
|
|
|
9777
9914
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9778
9915
|
}
|
|
9779
9916
|
|
|
9780
|
-
interface Props$
|
|
9917
|
+
interface Props$R {
|
|
9781
9918
|
figureUI: FigureUI;
|
|
9782
9919
|
onFigureDeleted: () => void;
|
|
9783
9920
|
editFigureStyle?: (properties: CSSProperties) => void;
|
|
9784
9921
|
isFullScreen?: boolean;
|
|
9785
9922
|
openContextMenu?: (anchorRect: Rect, onClose?: () => void) => void;
|
|
9786
9923
|
}
|
|
9787
|
-
declare class ChartFigure extends Component<Props$
|
|
9924
|
+
declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
|
|
9788
9925
|
static template: string;
|
|
9789
9926
|
static props: {
|
|
9790
9927
|
figureUI: ObjectConstructor;
|
|
@@ -9813,7 +9950,7 @@ declare class ChartFigure extends Component<Props$S, SpreadsheetChildEnv> {
|
|
|
9813
9950
|
|
|
9814
9951
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9815
9952
|
|
|
9816
|
-
interface Props$
|
|
9953
|
+
interface Props$Q {
|
|
9817
9954
|
isVisible: boolean;
|
|
9818
9955
|
position: Position;
|
|
9819
9956
|
}
|
|
@@ -9825,7 +9962,7 @@ interface State$4 {
|
|
|
9825
9962
|
position: Position;
|
|
9826
9963
|
handler: boolean;
|
|
9827
9964
|
}
|
|
9828
|
-
declare class Autofill extends Component<Props$
|
|
9965
|
+
declare class Autofill extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
9829
9966
|
static template: string;
|
|
9830
9967
|
static props: {
|
|
9831
9968
|
position: ObjectConstructor;
|
|
@@ -9865,7 +10002,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9865
10002
|
get tagStyle(): string;
|
|
9866
10003
|
}
|
|
9867
10004
|
|
|
9868
|
-
interface Props$
|
|
10005
|
+
interface Props$P {
|
|
9869
10006
|
gridDims: DOMDimension;
|
|
9870
10007
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9871
10008
|
}
|
|
@@ -9873,7 +10010,7 @@ interface Props$Q {
|
|
|
9873
10010
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9874
10011
|
* It also applies the style of the cell to the composer input.
|
|
9875
10012
|
*/
|
|
9876
|
-
declare class GridComposer extends Component<Props$
|
|
10013
|
+
declare class GridComposer extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9877
10014
|
static template: string;
|
|
9878
10015
|
static props: {
|
|
9879
10016
|
gridDims: ObjectConstructor;
|
|
@@ -9917,7 +10054,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9917
10054
|
}
|
|
9918
10055
|
|
|
9919
10056
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9920
|
-
interface Props$
|
|
10057
|
+
interface Props$O {
|
|
9921
10058
|
onFigureDeleted: () => void;
|
|
9922
10059
|
}
|
|
9923
10060
|
interface Container {
|
|
@@ -9998,7 +10135,7 @@ interface DndState {
|
|
|
9998
10135
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9999
10136
|
*
|
|
10000
10137
|
*/
|
|
10001
|
-
declare class FiguresContainer extends Component<Props$
|
|
10138
|
+
declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
10002
10139
|
static template: string;
|
|
10003
10140
|
static props: {
|
|
10004
10141
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -10036,10 +10173,10 @@ declare class FiguresContainer extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
10036
10173
|
private getCarouselOverlappingChart;
|
|
10037
10174
|
}
|
|
10038
10175
|
|
|
10039
|
-
interface Props$
|
|
10176
|
+
interface Props$N {
|
|
10040
10177
|
focusGrid: () => void;
|
|
10041
10178
|
}
|
|
10042
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
10179
|
+
declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv> {
|
|
10043
10180
|
static template: string;
|
|
10044
10181
|
static props: {
|
|
10045
10182
|
focusGrid: FunctionConstructor;
|
|
@@ -10063,7 +10200,7 @@ declare class GridAddRowsFooter extends Component<Props$O, SpreadsheetChildEnv>
|
|
|
10063
10200
|
private onExternalClick;
|
|
10064
10201
|
}
|
|
10065
10202
|
|
|
10066
|
-
interface Props$
|
|
10203
|
+
interface Props$M {
|
|
10067
10204
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
10068
10205
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
|
|
10069
10206
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -10076,7 +10213,7 @@ interface Props$N {
|
|
|
10076
10213
|
height: number;
|
|
10077
10214
|
};
|
|
10078
10215
|
}
|
|
10079
|
-
declare class GridOverlay extends Component<Props$
|
|
10216
|
+
declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
|
|
10080
10217
|
static template: string;
|
|
10081
10218
|
static props: {
|
|
10082
10219
|
onCellDoubleClicked: {
|
|
@@ -10136,12 +10273,12 @@ declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
10136
10273
|
private getInteractiveIconAtEvent;
|
|
10137
10274
|
}
|
|
10138
10275
|
|
|
10139
|
-
interface Props$
|
|
10276
|
+
interface Props$L {
|
|
10140
10277
|
gridRect: Rect;
|
|
10141
10278
|
onClosePopover: () => void;
|
|
10142
10279
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10143
10280
|
}
|
|
10144
|
-
declare class GridPopover extends Component<Props$
|
|
10281
|
+
declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
10145
10282
|
static template: string;
|
|
10146
10283
|
static props: {
|
|
10147
10284
|
onClosePopover: FunctionConstructor;
|
|
@@ -10156,7 +10293,7 @@ declare class GridPopover extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
10156
10293
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10157
10294
|
}
|
|
10158
10295
|
|
|
10159
|
-
interface Props$
|
|
10296
|
+
interface Props$K {
|
|
10160
10297
|
headersGroups: ConsecutiveIndexes[];
|
|
10161
10298
|
offset: number;
|
|
10162
10299
|
headerRange: {
|
|
@@ -10164,7 +10301,7 @@ interface Props$L {
|
|
|
10164
10301
|
end: HeaderIndex;
|
|
10165
10302
|
};
|
|
10166
10303
|
}
|
|
10167
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10304
|
+
declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
10168
10305
|
static template: string;
|
|
10169
10306
|
static props: {
|
|
10170
10307
|
headersGroups: ArrayConstructor;
|
|
@@ -10183,7 +10320,7 @@ declare class UnhideRowHeaders extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10183
10320
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
10184
10321
|
isVisible(header: HeaderIndex): boolean;
|
|
10185
10322
|
}
|
|
10186
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10323
|
+
declare class UnhideColumnHeaders extends Component<Props$K, SpreadsheetChildEnv> {
|
|
10187
10324
|
static template: string;
|
|
10188
10325
|
static props: {
|
|
10189
10326
|
headersGroups: ArrayConstructor;
|
|
@@ -10376,13 +10513,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10376
10513
|
}
|
|
10377
10514
|
|
|
10378
10515
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10379
|
-
interface Props$
|
|
10516
|
+
interface Props$J {
|
|
10380
10517
|
zone: Zone;
|
|
10381
10518
|
orientation: Orientation$1;
|
|
10382
10519
|
isMoving: boolean;
|
|
10383
10520
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10384
10521
|
}
|
|
10385
|
-
declare class Border extends Component<Props$
|
|
10522
|
+
declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
|
|
10386
10523
|
static template: string;
|
|
10387
10524
|
static props: {
|
|
10388
10525
|
zone: ObjectConstructor;
|
|
@@ -10395,14 +10532,14 @@ declare class Border extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
10395
10532
|
}
|
|
10396
10533
|
|
|
10397
10534
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10398
|
-
interface Props$
|
|
10535
|
+
interface Props$I {
|
|
10399
10536
|
zone: Zone;
|
|
10400
10537
|
color: Color;
|
|
10401
10538
|
orientation: Orientation;
|
|
10402
10539
|
isResizing: boolean;
|
|
10403
10540
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10404
10541
|
}
|
|
10405
|
-
declare class Corner extends Component<Props$
|
|
10542
|
+
declare class Corner extends Component<Props$I, SpreadsheetChildEnv> {
|
|
10406
10543
|
static template: string;
|
|
10407
10544
|
static props: {
|
|
10408
10545
|
zone: ObjectConstructor;
|
|
@@ -10451,7 +10588,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10451
10588
|
|
|
10452
10589
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10453
10590
|
|
|
10454
|
-
interface Props$
|
|
10591
|
+
interface Props$H {
|
|
10455
10592
|
width: Pixel;
|
|
10456
10593
|
height: Pixel;
|
|
10457
10594
|
direction: ScrollDirection;
|
|
@@ -10459,7 +10596,7 @@ interface Props$I {
|
|
|
10459
10596
|
offset: Pixel;
|
|
10460
10597
|
onScroll: (offset: Pixel) => void;
|
|
10461
10598
|
}
|
|
10462
|
-
declare class ScrollBar extends Component<Props$
|
|
10599
|
+
declare class ScrollBar extends Component<Props$H> {
|
|
10463
10600
|
static props: {
|
|
10464
10601
|
width: {
|
|
10465
10602
|
type: NumberConstructor;
|
|
@@ -10487,10 +10624,10 @@ declare class ScrollBar extends Component<Props$I> {
|
|
|
10487
10624
|
onScroll(ev: any): void;
|
|
10488
10625
|
}
|
|
10489
10626
|
|
|
10490
|
-
interface Props$
|
|
10627
|
+
interface Props$G {
|
|
10491
10628
|
leftOffset: number;
|
|
10492
10629
|
}
|
|
10493
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10630
|
+
declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
|
|
10494
10631
|
static props: {
|
|
10495
10632
|
leftOffset: {
|
|
10496
10633
|
type: NumberConstructor;
|
|
@@ -10516,10 +10653,10 @@ declare class HorizontalScrollBar extends Component<Props$H, SpreadsheetChildEnv
|
|
|
10516
10653
|
onScroll(offset: any): void;
|
|
10517
10654
|
}
|
|
10518
10655
|
|
|
10519
|
-
interface Props$
|
|
10656
|
+
interface Props$F {
|
|
10520
10657
|
topOffset: number;
|
|
10521
10658
|
}
|
|
10522
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10659
|
+
declare class VerticalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10523
10660
|
static props: {
|
|
10524
10661
|
topOffset: {
|
|
10525
10662
|
type: NumberConstructor;
|
|
@@ -10554,13 +10691,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10554
10691
|
get highlightProps(): HighlightProps;
|
|
10555
10692
|
}
|
|
10556
10693
|
|
|
10557
|
-
interface Props$
|
|
10694
|
+
interface Props$E {
|
|
10558
10695
|
table: Table;
|
|
10559
10696
|
}
|
|
10560
10697
|
interface State$3 {
|
|
10561
10698
|
highlightZone: Zone | undefined;
|
|
10562
10699
|
}
|
|
10563
|
-
declare class TableResizer extends Component<Props$
|
|
10700
|
+
declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10564
10701
|
static template: string;
|
|
10565
10702
|
static props: {
|
|
10566
10703
|
table: ObjectConstructor;
|
|
@@ -10589,11 +10726,11 @@ declare class TableResizer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
10589
10726
|
* - a vertical resizer (same, for rows)
|
|
10590
10727
|
*/
|
|
10591
10728
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10592
|
-
interface Props$
|
|
10729
|
+
interface Props$D {
|
|
10593
10730
|
exposeFocus: (focus: () => void) => void;
|
|
10594
10731
|
getGridSize: () => DOMDimension;
|
|
10595
10732
|
}
|
|
10596
|
-
declare class Grid extends Component<Props$
|
|
10733
|
+
declare class Grid extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10597
10734
|
static template: string;
|
|
10598
10735
|
static props: {
|
|
10599
10736
|
exposeFocus: FunctionConstructor;
|
|
@@ -10709,7 +10846,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10709
10846
|
private getChartDefinitionFromContextCreation;
|
|
10710
10847
|
}
|
|
10711
10848
|
|
|
10712
|
-
interface Props$
|
|
10849
|
+
interface Props$C {
|
|
10713
10850
|
chartId: UID;
|
|
10714
10851
|
chartPanelStore: MainChartPanelStore;
|
|
10715
10852
|
}
|
|
@@ -10717,7 +10854,7 @@ interface ChartTypePickerState {
|
|
|
10717
10854
|
popoverProps: PopoverProps | undefined;
|
|
10718
10855
|
popoverStyle: string;
|
|
10719
10856
|
}
|
|
10720
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10857
|
+
declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10721
10858
|
static template: string;
|
|
10722
10859
|
static components: {
|
|
10723
10860
|
Section: typeof Section;
|
|
@@ -10753,11 +10890,11 @@ declare class ChartTypePicker extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
10753
10890
|
private closePopover;
|
|
10754
10891
|
}
|
|
10755
10892
|
|
|
10756
|
-
interface Props$
|
|
10893
|
+
interface Props$B {
|
|
10757
10894
|
onCloseSidePanel: () => void;
|
|
10758
10895
|
chartId: UID;
|
|
10759
10896
|
}
|
|
10760
|
-
declare class ChartPanel extends Component<Props$
|
|
10897
|
+
declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10761
10898
|
static template: string;
|
|
10762
10899
|
static components: {
|
|
10763
10900
|
Section: typeof Section;
|
|
@@ -10780,30 +10917,30 @@ declare class ChartPanel extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
10780
10917
|
private getChartDefinition;
|
|
10781
10918
|
}
|
|
10782
10919
|
|
|
10783
|
-
interface Props$
|
|
10920
|
+
interface Props$A {
|
|
10784
10921
|
onValueChange: (value: number) => void;
|
|
10785
10922
|
value: number;
|
|
10786
10923
|
}
|
|
10787
|
-
declare class PieHoleSize extends Component<Props$
|
|
10924
|
+
declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10788
10925
|
static template: string;
|
|
10789
10926
|
static components: {
|
|
10790
10927
|
Section: typeof Section;
|
|
10928
|
+
NumberInput: typeof NumberInput;
|
|
10791
10929
|
};
|
|
10792
10930
|
static props: {
|
|
10793
10931
|
onValueChange: FunctionConstructor;
|
|
10794
10932
|
value: NumberConstructor;
|
|
10795
10933
|
};
|
|
10796
|
-
debouncedOnChange: DebouncedFunction<(value: string) => void>;
|
|
10797
10934
|
onChange(value: string): void;
|
|
10798
10935
|
}
|
|
10799
10936
|
|
|
10800
|
-
interface Props$
|
|
10937
|
+
interface Props$z {
|
|
10801
10938
|
chartId: UID;
|
|
10802
10939
|
definition: PieChartDefinition;
|
|
10803
10940
|
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10804
10941
|
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10805
10942
|
}
|
|
10806
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10943
|
+
declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10807
10944
|
static template: string;
|
|
10808
10945
|
static components: {
|
|
10809
10946
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10827,10 +10964,10 @@ declare class PieChartDesignPanel extends Component<Props$A, SpreadsheetChildEnv
|
|
|
10827
10964
|
get defaultHoleSize(): number;
|
|
10828
10965
|
}
|
|
10829
10966
|
|
|
10830
|
-
interface Props$
|
|
10967
|
+
interface Props$y {
|
|
10831
10968
|
items: ActionSpec[];
|
|
10832
10969
|
}
|
|
10833
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10970
|
+
declare class CogWheelMenu extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10834
10971
|
static template: string;
|
|
10835
10972
|
static components: {
|
|
10836
10973
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10913,14 +11050,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10913
11050
|
get highlights(): Highlight$1[];
|
|
10914
11051
|
}
|
|
10915
11052
|
|
|
10916
|
-
interface Props$
|
|
11053
|
+
interface Props$x {
|
|
10917
11054
|
deferUpdate: boolean;
|
|
10918
11055
|
isDirty: boolean;
|
|
10919
11056
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10920
11057
|
discard: () => void;
|
|
10921
11058
|
apply: () => void;
|
|
10922
11059
|
}
|
|
10923
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
11060
|
+
declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10924
11061
|
static template: string;
|
|
10925
11062
|
static props: {
|
|
10926
11063
|
deferUpdate: BooleanConstructor;
|
|
@@ -10937,11 +11074,11 @@ declare class PivotDeferUpdate extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
10937
11074
|
get deferUpdatesTooltip(): string;
|
|
10938
11075
|
}
|
|
10939
11076
|
|
|
10940
|
-
interface Props$
|
|
11077
|
+
interface Props$w {
|
|
10941
11078
|
onFieldPicked: (field: string) => void;
|
|
10942
11079
|
fields: PivotField[];
|
|
10943
11080
|
}
|
|
10944
|
-
declare class AddDimensionButton extends Component<Props$
|
|
11081
|
+
declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10945
11082
|
static template: string;
|
|
10946
11083
|
static components: {
|
|
10947
11084
|
Popover: typeof Popover;
|
|
@@ -10977,50 +11114,6 @@ declare class AddDimensionButton extends Component<Props$x, SpreadsheetChildEnv>
|
|
|
10977
11114
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10978
11115
|
}
|
|
10979
11116
|
|
|
10980
|
-
interface Props$w {
|
|
10981
|
-
value: string;
|
|
10982
|
-
onChange: (value: string) => void;
|
|
10983
|
-
class?: string;
|
|
10984
|
-
id?: string;
|
|
10985
|
-
placeholder?: string;
|
|
10986
|
-
autofocus?: boolean;
|
|
10987
|
-
alwaysShowBorder?: boolean;
|
|
10988
|
-
}
|
|
10989
|
-
declare class TextInput extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10990
|
-
static template: string;
|
|
10991
|
-
static props: {
|
|
10992
|
-
value: StringConstructor;
|
|
10993
|
-
onChange: FunctionConstructor;
|
|
10994
|
-
class: {
|
|
10995
|
-
type: StringConstructor;
|
|
10996
|
-
optional: boolean;
|
|
10997
|
-
};
|
|
10998
|
-
id: {
|
|
10999
|
-
type: StringConstructor;
|
|
11000
|
-
optional: boolean;
|
|
11001
|
-
};
|
|
11002
|
-
placeholder: {
|
|
11003
|
-
type: StringConstructor;
|
|
11004
|
-
optional: boolean;
|
|
11005
|
-
};
|
|
11006
|
-
autofocus: {
|
|
11007
|
-
type: BooleanConstructor;
|
|
11008
|
-
optional: boolean;
|
|
11009
|
-
};
|
|
11010
|
-
alwaysShowBorder: {
|
|
11011
|
-
type: BooleanConstructor;
|
|
11012
|
-
optional: boolean;
|
|
11013
|
-
};
|
|
11014
|
-
};
|
|
11015
|
-
private inputRef;
|
|
11016
|
-
setup(): void;
|
|
11017
|
-
onKeyDown(ev: KeyboardEvent): void;
|
|
11018
|
-
save(): void;
|
|
11019
|
-
onMouseDown(ev: MouseEvent): void;
|
|
11020
|
-
onMouseUp(ev: MouseEvent): void;
|
|
11021
|
-
get inputClass(): string;
|
|
11022
|
-
}
|
|
11023
|
-
|
|
11024
11117
|
interface Props$v {
|
|
11025
11118
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
11026
11119
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
@@ -13129,6 +13222,7 @@ declare const components: {
|
|
|
13129
13222
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
13130
13223
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
13131
13224
|
FullScreenFigure: typeof FullScreenFigure;
|
|
13225
|
+
NumberInput: typeof NumberInput;
|
|
13132
13226
|
};
|
|
13133
13227
|
declare const hooks: {
|
|
13134
13228
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|