@odoo/o-spreadsheet 19.1.0-alpha.8 → 19.1.1
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 +147 -55
- package/dist/o-spreadsheet-engine.esm.js +11583 -10642
- package/dist/o-spreadsheet-engine.iife.js +11583 -10641
- package/dist/o-spreadsheet-engine.min.iife.js +313 -313
- package/dist/o-spreadsheet.d.ts +869 -944
- package/dist/o_spreadsheet.css +3293 -0
- package/dist/o_spreadsheet.esm.js +48683 -38639
- package/dist/o_spreadsheet.iife.js +97911 -87867
- package/dist/o_spreadsheet.min.iife.js +335 -317
- package/dist/o_spreadsheet.xml +958 -544
- package/package.json +14 -14
- package/readme.md +1 -0
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ interface CellAttributes {
|
|
|
36
36
|
* Raw cell content
|
|
37
37
|
*/
|
|
38
38
|
readonly content: string;
|
|
39
|
-
readonly style?: Style;
|
|
40
39
|
readonly format?: Format;
|
|
41
40
|
}
|
|
42
41
|
interface LiteralCell extends CellAttributes {
|
|
@@ -92,13 +91,27 @@ declare enum CellValueType {
|
|
|
92
91
|
error = "error"
|
|
93
92
|
}
|
|
94
93
|
|
|
95
|
-
type TokenType = "OPERATOR" | "NUMBER" | "STRING" | "SYMBOL" | "SPACE" | "DEBUGGER" | "ARG_SEPARATOR" | "LEFT_PAREN" | "RIGHT_PAREN" | "REFERENCE" | "INVALID_REFERENCE" | "UNKNOWN";
|
|
94
|
+
type TokenType = "OPERATOR" | "NUMBER" | "STRING" | "SYMBOL" | "SPACE" | "DEBUGGER" | "ARG_SEPARATOR" | "ARRAY_ROW_SEPARATOR" | "LEFT_PAREN" | "RIGHT_PAREN" | "LEFT_BRACE" | "RIGHT_BRACE" | "REFERENCE" | "INVALID_REFERENCE" | "UNKNOWN";
|
|
96
95
|
interface Token {
|
|
97
96
|
readonly type: TokenType;
|
|
98
97
|
readonly value: string;
|
|
99
98
|
}
|
|
100
99
|
declare function tokenize(str: string, locale?: Locale): Token[];
|
|
101
100
|
|
|
101
|
+
interface GenericCriterion {
|
|
102
|
+
type: GenericCriterionType;
|
|
103
|
+
values: string[];
|
|
104
|
+
}
|
|
105
|
+
type GenericDateCriterion = GenericCriterion & {
|
|
106
|
+
dateValue: DateCriterionValue;
|
|
107
|
+
};
|
|
108
|
+
type GenericCriterionType = "containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula" | "beginsWithText" | "endsWithText" | "isNotEmpty" | "isEmpty";
|
|
109
|
+
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
110
|
+
type EvaluatedCriterion<T extends GenericCriterion = GenericCriterion> = Omit<T, "values"> & {
|
|
111
|
+
values: CellValue[];
|
|
112
|
+
};
|
|
113
|
+
type EvaluatedDateCriterion = EvaluatedCriterion<GenericDateCriterion>;
|
|
114
|
+
|
|
102
115
|
interface RangePart {
|
|
103
116
|
readonly colFixed: boolean;
|
|
104
117
|
readonly rowFixed: boolean;
|
|
@@ -154,6 +167,7 @@ interface CellIsRule extends SingleColorRule {
|
|
|
154
167
|
type: "CellIsRule";
|
|
155
168
|
operator: ConditionalFormattingOperatorValues;
|
|
156
169
|
values: string[];
|
|
170
|
+
dateValue?: DateCriterionValue;
|
|
157
171
|
}
|
|
158
172
|
interface ExpressionRule extends SingleColorRule {
|
|
159
173
|
type: "ExpressionRule";
|
|
@@ -238,7 +252,8 @@ interface Top10Rule extends SingleColorRule {
|
|
|
238
252
|
bottom: boolean;
|
|
239
253
|
rank: number;
|
|
240
254
|
}
|
|
241
|
-
|
|
255
|
+
declare const cfOperators: readonly ["containsText", "notContainsText", "isGreaterThan", "isGreaterOrEqualTo", "isLessThan", "isLessOrEqualTo", "isBetween", "isNotBetween", "beginsWithText", "endsWithText", "isNotEmpty", "isEmpty", "isNotEqual", "isEqual", "customFormula", "dateIs", "dateIsBefore", "dateIsAfter", "dateIsOnOrBefore", "dateIsOnOrAfter"];
|
|
256
|
+
type ConditionalFormattingOperatorValues = (typeof cfOperators)[number];
|
|
242
257
|
declare const availableConditionalFormatOperators: Set<ConditionalFormattingOperatorValues>;
|
|
243
258
|
|
|
244
259
|
declare const functionCache: {
|
|
@@ -289,11 +304,15 @@ interface ASTSymbol extends ASTBase {
|
|
|
289
304
|
type: "SYMBOL";
|
|
290
305
|
value: string;
|
|
291
306
|
}
|
|
307
|
+
interface ASTArray extends ASTBase {
|
|
308
|
+
type: "ARRAY";
|
|
309
|
+
value: AST[][];
|
|
310
|
+
}
|
|
292
311
|
interface ASTEmpty extends ASTBase {
|
|
293
312
|
type: "EMPTY";
|
|
294
313
|
value: "";
|
|
295
314
|
}
|
|
296
|
-
type AST = ASTOperation | ASTUnaryOperation | ASTFuncall | ASTSymbol | ASTNumber | ASTBoolean | ASTString | ASTReference | ASTEmpty;
|
|
315
|
+
type AST = ASTOperation | ASTUnaryOperation | ASTFuncall | ASTSymbol | ASTArray | ASTNumber | ASTBoolean | ASTString | ASTReference | ASTEmpty;
|
|
297
316
|
/**
|
|
298
317
|
* Parse an expression (as a string) into an AST.
|
|
299
318
|
*/
|
|
@@ -360,7 +379,7 @@ type FunctionDescription = AddFunctionDescription & {
|
|
|
360
379
|
minArgRequired: number;
|
|
361
380
|
maxArgPossible: number;
|
|
362
381
|
nbrArgRepeating: number;
|
|
363
|
-
|
|
382
|
+
nbrOptionalNonRepeatingArgs: number;
|
|
364
383
|
};
|
|
365
384
|
type EvalContext = {
|
|
366
385
|
__originSheetId: UID;
|
|
@@ -444,6 +463,7 @@ declare function getUniqueText(text: string, texts: string[], options?: {
|
|
|
444
463
|
start?: number;
|
|
445
464
|
computeFirstOne?: boolean;
|
|
446
465
|
}): string;
|
|
466
|
+
declare function isFormula(content: string): boolean;
|
|
447
467
|
|
|
448
468
|
/**
|
|
449
469
|
* Return true if the argument is a "number string".
|
|
@@ -697,7 +717,7 @@ interface CoreState$1 {
|
|
|
697
717
|
* cell and sheet content.
|
|
698
718
|
*/
|
|
699
719
|
declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1 {
|
|
700
|
-
static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "
|
|
720
|
+
static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellById", "getFormulaString", "getFormulaMovedInSheet"];
|
|
701
721
|
readonly nextId = 1;
|
|
702
722
|
readonly cells: {
|
|
703
723
|
[sheetId: string]: {
|
|
@@ -721,14 +741,13 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
|
|
|
721
741
|
*/
|
|
722
742
|
private clearCells;
|
|
723
743
|
/**
|
|
724
|
-
* Copy the
|
|
744
|
+
* Copy the format of the reference column/row to the new columns/rows.
|
|
725
745
|
*/
|
|
726
746
|
private handleAddColumnsRows;
|
|
727
747
|
import(data: WorkbookData): void;
|
|
728
748
|
export(data: WorkbookData): void;
|
|
729
|
-
importCell(sheetId: UID, content?: string,
|
|
749
|
+
importCell(sheetId: UID, content?: string, format?: Format): Cell;
|
|
730
750
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
731
|
-
private removeDefaultStyleValues;
|
|
732
751
|
getCells(sheetId: UID): Record<UID, Cell>;
|
|
733
752
|
/**
|
|
734
753
|
* get a cell by ID. Used in evaluation when evaluating an async cell, we need to be able to find it back after
|
|
@@ -738,7 +757,6 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
|
|
|
738
757
|
getFormulaString(sheetId: UID, tokens: Token[], dependencies: Range[], useBoundedReference?: boolean): string;
|
|
739
758
|
getTranslatedCellFormula(sheetId: UID, offsetX: number, offsetY: number, tokens: Token[]): string;
|
|
740
759
|
getFormulaMovedInSheet(originSheetId: UID, targetSheetId: UID, tokens: Token[]): string;
|
|
741
|
-
getCellStyle(position: CellPosition): Style;
|
|
742
760
|
/**
|
|
743
761
|
* Converts a zone to a XC coordinate system
|
|
744
762
|
*
|
|
@@ -756,17 +774,16 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
|
|
|
756
774
|
* {top:1,left:0,right:1,bottom:3} ==> A1:A5
|
|
757
775
|
*/
|
|
758
776
|
zoneToXC(sheetId: UID, zone: Zone, fixedParts?: RangePart[]): string;
|
|
759
|
-
private setStyle;
|
|
760
777
|
/**
|
|
761
|
-
* Copy the
|
|
778
|
+
* Copy the format of one column to other columns.
|
|
762
779
|
*/
|
|
763
|
-
private
|
|
780
|
+
private copyColumnFormat;
|
|
764
781
|
/**
|
|
765
|
-
* Copy the
|
|
782
|
+
* Copy the format of one row to other rows.
|
|
766
783
|
*/
|
|
767
|
-
private
|
|
784
|
+
private copyRowFormat;
|
|
768
785
|
/**
|
|
769
|
-
* gets the currently used style
|
|
786
|
+
* gets the currently used style and format of a cell based on it's coordinates
|
|
770
787
|
*/
|
|
771
788
|
private getFormat;
|
|
772
789
|
private getNextUid;
|
|
@@ -951,20 +968,6 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
|
|
|
951
968
|
private changeCFPriority;
|
|
952
969
|
}
|
|
953
970
|
|
|
954
|
-
interface GenericCriterion {
|
|
955
|
-
type: GenericCriterionType;
|
|
956
|
-
values: string[];
|
|
957
|
-
}
|
|
958
|
-
type GenericDateCriterion = GenericCriterion & {
|
|
959
|
-
dateValue: DateCriterionValue;
|
|
960
|
-
};
|
|
961
|
-
type GenericCriterionType = "containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula" | "beginsWithText" | "endsWithText" | "isNotEmpty" | "isEmpty";
|
|
962
|
-
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
963
|
-
type EvaluatedCriterion<T extends GenericCriterion = GenericCriterion> = Omit<T, "values"> & {
|
|
964
|
-
values: CellValue[];
|
|
965
|
-
};
|
|
966
|
-
type EvaluatedDateCriterion = EvaluatedCriterion<GenericDateCriterion>;
|
|
967
|
-
|
|
968
971
|
interface DataValidationRule {
|
|
969
972
|
id: UID;
|
|
970
973
|
criterion: DataValidationCriterion;
|
|
@@ -1402,7 +1405,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
|
|
|
1402
1405
|
}
|
|
1403
1406
|
|
|
1404
1407
|
type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
|
|
1405
|
-
type Granularity = "day" | "
|
|
1408
|
+
type Granularity = "day" | "month" | "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
|
|
1406
1409
|
interface PivotCoreDimension {
|
|
1407
1410
|
fieldName: string;
|
|
1408
1411
|
order?: SortDirection;
|
|
@@ -1635,6 +1638,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
1635
1638
|
declare class RangeAdapter$1 implements CommandHandler<CoreCommand> {
|
|
1636
1639
|
private getters;
|
|
1637
1640
|
private providers;
|
|
1641
|
+
private isAdaptingRanges;
|
|
1638
1642
|
constructor(getters: CoreGetters);
|
|
1639
1643
|
static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
|
|
1640
1644
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
@@ -1728,6 +1732,7 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
|
|
|
1728
1732
|
readonly sheets: Record<UID, Sheet | undefined>;
|
|
1729
1733
|
readonly cellPosition: Record<UID, CellPosition | undefined>;
|
|
1730
1734
|
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
1735
|
+
beforeHandle(cmd: CoreCommand): void;
|
|
1731
1736
|
handle(cmd: CoreCommand): void;
|
|
1732
1737
|
import(data: WorkbookData): void;
|
|
1733
1738
|
private exportSheets;
|
|
@@ -1861,6 +1866,37 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
|
|
|
1861
1866
|
private checkZonesAreInSheet;
|
|
1862
1867
|
}
|
|
1863
1868
|
|
|
1869
|
+
type ZoneStyle = {
|
|
1870
|
+
zone: UnboundedZone;
|
|
1871
|
+
style: Style;
|
|
1872
|
+
};
|
|
1873
|
+
interface StylePluginState {
|
|
1874
|
+
readonly styles: Record<UID, ZoneStyle[] | undefined>;
|
|
1875
|
+
}
|
|
1876
|
+
declare class StylePlugin extends CorePlugin<StylePluginState> implements StylePluginState {
|
|
1877
|
+
static getters: readonly ["getCellStyle", "getCellStyleInZone", "getZoneStyles", "getStyleColors"];
|
|
1878
|
+
readonly styles: Record<UID, ZoneStyle[] | undefined>;
|
|
1879
|
+
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
1880
|
+
handle(cmd: CoreCommand): void;
|
|
1881
|
+
adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
|
|
1882
|
+
private handleAddColumnn;
|
|
1883
|
+
private handleAddRows;
|
|
1884
|
+
private styleIsDefault;
|
|
1885
|
+
private removeDefaultStyleValues;
|
|
1886
|
+
private onMerge;
|
|
1887
|
+
private setStyles;
|
|
1888
|
+
private setStyle;
|
|
1889
|
+
private clearStyle;
|
|
1890
|
+
getCellStyle(cellPosition: CellPosition): Style | undefined;
|
|
1891
|
+
getCellStyleInZone(sheetId: UID, zone: Zone): PositionMap<Style>;
|
|
1892
|
+
getZoneStyles(sheetId: UID, zone: Zone): ZoneStyle[];
|
|
1893
|
+
getStyleColors(sheetId: UID): Color[];
|
|
1894
|
+
import(data: WorkbookData): void;
|
|
1895
|
+
export(data: WorkbookData): void;
|
|
1896
|
+
exportForExcel(data: ExcelWorkbookData): void;
|
|
1897
|
+
private checkUselessSetFormatting;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1864
1900
|
interface Table {
|
|
1865
1901
|
readonly id: TableId;
|
|
1866
1902
|
readonly range: Range;
|
|
@@ -2051,7 +2087,7 @@ type PluginGetters<Plugin extends {
|
|
|
2051
2087
|
getters: readonly string[];
|
|
2052
2088
|
}> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
|
|
2053
2089
|
type RangeAdapterGetters = Pick<RangeAdapter$1, GetterNames<typeof RangeAdapter$1>>;
|
|
2054
|
-
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
2090
|
+
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof StylePlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
2055
2091
|
|
|
2056
2092
|
type XLSXExportFile = XLSXExportImageFile | XLSXExportXMLFile;
|
|
2057
2093
|
interface XLSXExportXMLFile {
|
|
@@ -2074,6 +2110,16 @@ interface XLSXExport {
|
|
|
2074
2110
|
*/
|
|
2075
2111
|
type XlsxHexColor = string & Alias;
|
|
2076
2112
|
|
|
2113
|
+
declare const CALENDAR_CHART_GRANULARITIES: ("year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number")[];
|
|
2114
|
+
type CalendarChartGranularity = (typeof CALENDAR_CHART_GRANULARITIES)[number];
|
|
2115
|
+
interface CalendarChartDefinition extends CommonChartDefinition {
|
|
2116
|
+
readonly type: "calendar";
|
|
2117
|
+
readonly horizontalGroupBy: CalendarChartGranularity;
|
|
2118
|
+
readonly verticalGroupBy: CalendarChartGranularity;
|
|
2119
|
+
readonly colorScale?: ChartColorScale;
|
|
2120
|
+
readonly missingValueColor?: Color;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2077
2123
|
type VerticalAxisPosition = "left" | "right";
|
|
2078
2124
|
type LegendPosition = "top" | "bottom" | "left" | "right" | "none";
|
|
2079
2125
|
interface CommonChartDefinition {
|
|
@@ -2179,8 +2225,8 @@ interface LineChartDefinition extends CommonChartDefinition {
|
|
|
2179
2225
|
readonly zoomable?: boolean;
|
|
2180
2226
|
}
|
|
2181
2227
|
type LineChartRuntime = {
|
|
2182
|
-
chartJsConfig: ChartConfiguration
|
|
2183
|
-
masterChartConfig?: ChartConfiguration
|
|
2228
|
+
chartJsConfig: ChartConfiguration<"line">;
|
|
2229
|
+
masterChartConfig?: ChartConfiguration<"line">;
|
|
2184
2230
|
background: Color;
|
|
2185
2231
|
};
|
|
2186
2232
|
|
|
@@ -2196,7 +2242,7 @@ type PieChartRuntime = {
|
|
|
2196
2242
|
background: Color;
|
|
2197
2243
|
};
|
|
2198
2244
|
|
|
2199
|
-
interface PyramidChartDefinition extends Omit<BarChartDefinition, "type"> {
|
|
2245
|
+
interface PyramidChartDefinition extends Omit<BarChartDefinition, "type" | "zoomable"> {
|
|
2200
2246
|
readonly type: "pyramid";
|
|
2201
2247
|
}
|
|
2202
2248
|
type PyramidChartRuntime = {
|
|
@@ -2449,14 +2495,20 @@ type WaterfallChartRuntime = {
|
|
|
2449
2495
|
background: Color;
|
|
2450
2496
|
};
|
|
2451
2497
|
|
|
2452
|
-
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap"];
|
|
2498
|
+
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap", "calendar"];
|
|
2453
2499
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
2454
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition;
|
|
2500
|
+
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition | CalendarChartDefinition;
|
|
2455
2501
|
type ChartWithDataSetDefinition = Extract<ChartDefinition, {
|
|
2456
2502
|
dataSets: CustomizedDataSet[];
|
|
2457
2503
|
labelRange?: string;
|
|
2458
2504
|
humanize?: boolean;
|
|
2459
2505
|
}>;
|
|
2506
|
+
type ChartWithColorScaleDefinition = Extract<ChartDefinition, {
|
|
2507
|
+
colorScale?: ChartColorScale;
|
|
2508
|
+
}>;
|
|
2509
|
+
type ChartWithTitleDefinition = Extract<ChartDefinition, {
|
|
2510
|
+
title?: TitleDesign;
|
|
2511
|
+
}>;
|
|
2460
2512
|
type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
|
|
2461
2513
|
axesDesign?: AxesDesign;
|
|
2462
2514
|
}>;
|
|
@@ -2608,30 +2660,24 @@ interface ChartRuntimeGenerationArgs {
|
|
|
2608
2660
|
type GenericDefinition<T extends ChartWithDataSetDefinition> = Partial<Omit<T, "dataSets" | "type">> & {
|
|
2609
2661
|
dataSets?: Omit<T["dataSets"][number], "dataRange">[];
|
|
2610
2662
|
};
|
|
2663
|
+
interface ChartColorScale {
|
|
2664
|
+
minColor: Color;
|
|
2665
|
+
midColor?: Color;
|
|
2666
|
+
maxColor: Color;
|
|
2667
|
+
}
|
|
2668
|
+
declare function schemeToColorScale(scheme: string): ChartColorScale | undefined;
|
|
2611
2669
|
|
|
2612
|
-
interface GeoChartDefinition {
|
|
2670
|
+
interface GeoChartDefinition extends CommonChartDefinition {
|
|
2613
2671
|
readonly type: "geo";
|
|
2614
|
-
readonly
|
|
2615
|
-
readonly dataSetsHaveTitle: boolean;
|
|
2616
|
-
readonly labelRange?: string;
|
|
2617
|
-
readonly title: TitleDesign;
|
|
2618
|
-
readonly background?: Color;
|
|
2619
|
-
readonly legendPosition: LegendPosition;
|
|
2620
|
-
readonly colorScale?: GeoChartColorScale;
|
|
2672
|
+
readonly colorScale?: ChartColorScale;
|
|
2621
2673
|
readonly missingValueColor?: Color;
|
|
2622
2674
|
readonly region?: string;
|
|
2623
|
-
readonly
|
|
2675
|
+
readonly showColorBar?: boolean;
|
|
2624
2676
|
}
|
|
2625
2677
|
type GeoChartRuntime = {
|
|
2626
2678
|
chartJsConfig: ChartConfiguration;
|
|
2627
2679
|
background: Color;
|
|
2628
2680
|
};
|
|
2629
|
-
interface GeoChartCustomColorScale {
|
|
2630
|
-
minColor: Color;
|
|
2631
|
-
midColor?: Color;
|
|
2632
|
-
maxColor: Color;
|
|
2633
|
-
}
|
|
2634
|
-
type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
|
|
2635
2681
|
type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
|
|
2636
2682
|
interface GeoChartRegion {
|
|
2637
2683
|
id: string;
|
|
@@ -3131,7 +3177,7 @@ type SelectionEventOptions = {
|
|
|
3131
3177
|
interface SelectionEvent {
|
|
3132
3178
|
anchor: AnchorZone;
|
|
3133
3179
|
previousAnchor: AnchorZone;
|
|
3134
|
-
mode: "newAnchor" | "overrideSelection" | "updateAnchor";
|
|
3180
|
+
mode: "newAnchor" | "overrideSelection" | "updateAnchor" | "commitSelection";
|
|
3135
3181
|
options: SelectionEventOptions;
|
|
3136
3182
|
}
|
|
3137
3183
|
|
|
@@ -3141,6 +3187,7 @@ type StatefulStream<Event, State> = {
|
|
|
3141
3187
|
resetDefaultAnchor: (owner: unknown, state: State) => void;
|
|
3142
3188
|
resetAnchor: (owner: unknown, state: State) => void;
|
|
3143
3189
|
observe: (owner: unknown, callbacks: StreamCallbacks<Event>) => void;
|
|
3190
|
+
unobserve: (owner: unknown) => void;
|
|
3144
3191
|
release: (owner: unknown) => void;
|
|
3145
3192
|
getBackToDefault(): void;
|
|
3146
3193
|
};
|
|
@@ -3159,6 +3206,7 @@ interface SelectionProcessor {
|
|
|
3159
3206
|
selectAll(): DispatchResult;
|
|
3160
3207
|
loopSelection(): DispatchResult;
|
|
3161
3208
|
selectTableAroundSelection(): DispatchResult;
|
|
3209
|
+
commitSelection(): DispatchResult;
|
|
3162
3210
|
isListening(owner: unknown): boolean;
|
|
3163
3211
|
}
|
|
3164
3212
|
type SelectionStreamProcessor = SelectionProcessor & StatefulStream<SelectionEvent, AnchorZone>;
|
|
@@ -3303,7 +3351,7 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
|
3303
3351
|
drawLayer(context: GridRenderingContext, layer: LayerName): void;
|
|
3304
3352
|
/**
|
|
3305
3353
|
* As the name of this method strongly implies, it is useful when we need to
|
|
3306
|
-
* export
|
|
3354
|
+
* export data out of the model.
|
|
3307
3355
|
*/
|
|
3308
3356
|
exportData(): WorkbookData;
|
|
3309
3357
|
updateMode(mode: Mode): void;
|
|
@@ -3331,6 +3379,11 @@ type TranslationFunction = (string: string, ...values: SprintfValues) => string;
|
|
|
3331
3379
|
*/
|
|
3332
3380
|
declare function setTranslationMethod(tfn: TranslationFunction, loaded?: () => boolean): void;
|
|
3333
3381
|
|
|
3382
|
+
type GlobalChart = typeof chart_js & typeof chart_js.Chart;
|
|
3383
|
+
declare global {
|
|
3384
|
+
var Chart: GlobalChart | undefined;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3334
3387
|
declare const CellErrorType: {
|
|
3335
3388
|
readonly NotAvailable: "#N/A";
|
|
3336
3389
|
readonly InvalidReference: "#REF";
|
|
@@ -3338,6 +3391,7 @@ declare const CellErrorType: {
|
|
|
3338
3391
|
readonly CircularDependency: "#CYCLE";
|
|
3339
3392
|
readonly UnknownFunction: "#NAME?";
|
|
3340
3393
|
readonly DivisionByZero: "#DIV/0!";
|
|
3394
|
+
readonly InvalidNumber: "#NUM!";
|
|
3341
3395
|
readonly SpilledBlocked: "#SPILL!";
|
|
3342
3396
|
readonly GenericError: "#ERROR";
|
|
3343
3397
|
readonly NullError: "#NULL!";
|
|
@@ -3370,6 +3424,9 @@ declare class SplillBlockedError extends EvaluationError {
|
|
|
3370
3424
|
declare class DivisionByZeroError extends EvaluationError {
|
|
3371
3425
|
constructor(message?: string);
|
|
3372
3426
|
}
|
|
3427
|
+
declare class NumberTooLargeError extends EvaluationError {
|
|
3428
|
+
constructor(message?: string);
|
|
3429
|
+
}
|
|
3373
3430
|
|
|
3374
3431
|
interface TableStylesState {
|
|
3375
3432
|
readonly styles: {
|
|
@@ -3623,7 +3680,7 @@ declare class CoreViewPlugin<State = any> extends BasePlugin<State, Command> {
|
|
|
3623
3680
|
}
|
|
3624
3681
|
|
|
3625
3682
|
declare class EvaluationPlugin extends CoreViewPlugin {
|
|
3626
|
-
static getters: readonly ["evaluateFormula", "evaluateFormulaResult", "evaluateCompiledFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getEvaluatedCellsPositions", "getSpreadZone", "getArrayFormulaSpreadingOn", "isEmpty"];
|
|
3683
|
+
static getters: readonly ["evaluateFormula", "evaluateFormulaResult", "evaluateCompiledFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getEvaluatedCellsPositionInZone", "getEvaluatedCellsPositions", "getSpreadZone", "getArrayFormulaSpreadingOn", "isArrayFormulaSpillBlocked", "isEmpty"];
|
|
3627
3684
|
private shouldRebuildDependenciesGraph;
|
|
3628
3685
|
private evaluator;
|
|
3629
3686
|
private positionsToUpdate;
|
|
@@ -3650,6 +3707,7 @@ declare class EvaluationPlugin extends CoreViewPlugin {
|
|
|
3650
3707
|
getEvaluatedCells(sheetId: UID): EvaluatedCell[];
|
|
3651
3708
|
getEvaluatedCellsPositions(sheetId: UID): CellPosition[];
|
|
3652
3709
|
getEvaluatedCellsInZone(sheetId: UID, zone: Zone): EvaluatedCell[];
|
|
3710
|
+
getEvaluatedCellsPositionInZone(sheetId: UID, zone: Zone): [CellPosition, EvaluatedCell][];
|
|
3653
3711
|
/**
|
|
3654
3712
|
* Return the spread zone the position is part of, if any
|
|
3655
3713
|
*/
|
|
@@ -3657,6 +3715,7 @@ declare class EvaluationPlugin extends CoreViewPlugin {
|
|
|
3657
3715
|
ignoreSpillError: boolean;
|
|
3658
3716
|
}): Zone | undefined;
|
|
3659
3717
|
getArrayFormulaSpreadingOn(position: CellPosition): CellPosition | undefined;
|
|
3718
|
+
isArrayFormulaSpillBlocked(position: CellPosition): boolean;
|
|
3660
3719
|
/**
|
|
3661
3720
|
* Check if a zone only contains empty cells
|
|
3662
3721
|
*/
|
|
@@ -3860,6 +3919,7 @@ declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> impleme
|
|
|
3860
3919
|
getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
|
|
3861
3920
|
getMaxAnchorOffset(sheetId: UID, height: Pixel, width: Pixel): AnchorOffset;
|
|
3862
3921
|
getHeaderSize(sheetId: UID, dimension: Dimension, index: HeaderIndex): Pixel;
|
|
3922
|
+
private updateRowSizeForZoneChange;
|
|
3863
3923
|
private updateRowSizeForCellChange;
|
|
3864
3924
|
private initializeSheet;
|
|
3865
3925
|
/**
|
|
@@ -4023,7 +4083,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
4023
4083
|
declare class PivotUIPlugin extends CoreViewPlugin {
|
|
4024
4084
|
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotCellSortDirection", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
|
|
4025
4085
|
private pivots;
|
|
4026
|
-
private
|
|
4086
|
+
private unusedPivotsInFormulas?;
|
|
4027
4087
|
private custom;
|
|
4028
4088
|
constructor(config: CoreViewPluginConfig);
|
|
4029
4089
|
beforeHandle(cmd: Command): void;
|
|
@@ -4063,7 +4123,7 @@ declare class PivotUIPlugin extends CoreViewPlugin {
|
|
|
4063
4123
|
setupPivot(pivotId: UID, { recreate }?: {
|
|
4064
4124
|
recreate: boolean;
|
|
4065
4125
|
}): void;
|
|
4066
|
-
|
|
4126
|
+
private _getUnusedPivotsInFormulas;
|
|
4067
4127
|
}
|
|
4068
4128
|
|
|
4069
4129
|
/**
|
|
@@ -4119,6 +4179,7 @@ interface AutofillData {
|
|
|
4119
4179
|
row: number;
|
|
4120
4180
|
sheetId: UID;
|
|
4121
4181
|
border?: Border$1;
|
|
4182
|
+
style?: Style;
|
|
4122
4183
|
}
|
|
4123
4184
|
interface AutofillResult {
|
|
4124
4185
|
cellData: AutofillCellData;
|
|
@@ -4232,13 +4293,13 @@ declare class AutofillPlugin extends UIPlugin {
|
|
|
4232
4293
|
}
|
|
4233
4294
|
|
|
4234
4295
|
interface AutomaticSum {
|
|
4235
|
-
position: Position
|
|
4296
|
+
position: Position;
|
|
4236
4297
|
zone: Zone;
|
|
4237
4298
|
}
|
|
4238
4299
|
declare class AutomaticSumPlugin extends UIPlugin {
|
|
4239
4300
|
static getters: readonly ["getAutomaticSums"];
|
|
4240
4301
|
handle(cmd: Command): void;
|
|
4241
|
-
getAutomaticSums(sheetId: UID, zone: Zone, anchor: Position
|
|
4302
|
+
getAutomaticSums(sheetId: UID, zone: Zone, anchor: Position): AutomaticSum[];
|
|
4242
4303
|
private sumData;
|
|
4243
4304
|
private sumAdjacentData;
|
|
4244
4305
|
/**
|
|
@@ -4337,8 +4398,8 @@ declare class CellComputedStylePlugin extends UIPlugin {
|
|
|
4337
4398
|
handle(cmd: Command): void;
|
|
4338
4399
|
getCellComputedBorder(position: CellPosition, precomputeZone?: Zone): Border$1 | null;
|
|
4339
4400
|
private precomputeCellBorders;
|
|
4340
|
-
getCellComputedStyle(position: CellPosition): Style;
|
|
4341
|
-
private
|
|
4401
|
+
getCellComputedStyle(position: CellPosition, precomputeZone?: Zone): Style;
|
|
4402
|
+
private precomputeCellStyle;
|
|
4342
4403
|
}
|
|
4343
4404
|
|
|
4344
4405
|
declare class CheckboxTogglePlugin extends UIPlugin {
|
|
@@ -4520,11 +4581,12 @@ declare class SubtotalEvaluationPlugin extends UIPlugin {
|
|
|
4520
4581
|
}
|
|
4521
4582
|
|
|
4522
4583
|
declare class TableComputedStylePlugin extends UIPlugin {
|
|
4523
|
-
static getters: readonly ["getCellTableStyle", "getCellTableBorder", "getCellTableBorderZone"];
|
|
4584
|
+
static getters: readonly ["getCellTableStyle", "getCellTableBorder", "getCellTableBorderZone", "getCellTableStyleZone"];
|
|
4524
4585
|
private tableStyles;
|
|
4525
4586
|
handle(cmd: Command): void;
|
|
4526
4587
|
finalize(): void;
|
|
4527
4588
|
getCellTableStyle(position: CellPosition): Style | undefined;
|
|
4589
|
+
getCellTableStyleZone(sheetId: UID, zone: Zone): PositionMap<Style>;
|
|
4528
4590
|
getCellTableBorder(position: CellPosition): Border$1 | undefined;
|
|
4529
4591
|
getCellTableBorderZone(sheetId: UID, zone: Zone): PositionMap<Border$1>;
|
|
4530
4592
|
private computeTableStyle;
|
|
@@ -4548,12 +4610,16 @@ declare class UIOptionsPlugin extends UIPlugin {
|
|
|
4548
4610
|
}
|
|
4549
4611
|
|
|
4550
4612
|
declare class SheetUIPlugin extends UIPlugin {
|
|
4551
|
-
static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone", "computeTextYCoordinate"];
|
|
4613
|
+
static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getMultilineTextSize", "getContiguousZone", "computeTextYCoordinate"];
|
|
4552
4614
|
private ctx;
|
|
4553
4615
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
4554
4616
|
handle(cmd: Command): void;
|
|
4555
4617
|
getCellWidth(position: CellPosition): number;
|
|
4556
4618
|
getTextWidth(text: string, style: Style): Pixel;
|
|
4619
|
+
getMultilineTextSize(text: string[], style: Style): {
|
|
4620
|
+
width: number;
|
|
4621
|
+
height: number;
|
|
4622
|
+
};
|
|
4557
4623
|
getCellText(position: CellPosition, args?: {
|
|
4558
4624
|
showFormula?: boolean;
|
|
4559
4625
|
availableWidth?: number;
|
|
@@ -4608,6 +4674,7 @@ declare class CarouselUIPlugin extends UIPlugin {
|
|
|
4608
4674
|
private fixWrongCarouselState;
|
|
4609
4675
|
private addNewChartToCarousel;
|
|
4610
4676
|
private addFigureChartToCarousel;
|
|
4677
|
+
private duplicateCarouselChart;
|
|
4611
4678
|
private getCarouselItemId;
|
|
4612
4679
|
}
|
|
4613
4680
|
|
|
@@ -4840,7 +4907,7 @@ declare class InternalViewport {
|
|
|
4840
4907
|
* the pane that is actually displayed on the client. We therefore adjust the offset of the pane
|
|
4841
4908
|
* until it contains the cell completely.
|
|
4842
4909
|
*/
|
|
4843
|
-
adjustPosition(position: Position
|
|
4910
|
+
adjustPosition(position: Position): void;
|
|
4844
4911
|
private adjustPositionX;
|
|
4845
4912
|
private adjustPositionY;
|
|
4846
4913
|
willNewOffsetScrollViewport(offsetX: Pixel, offsetY: Pixel): boolean;
|
|
@@ -4924,7 +4991,7 @@ declare class InternalViewport {
|
|
|
4924
4991
|
*
|
|
4925
4992
|
*/
|
|
4926
4993
|
declare class SheetViewPlugin extends UIPlugin {
|
|
4927
|
-
static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset", "getGridOffset"];
|
|
4994
|
+
static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleRectWithZoom", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset", "getGridOffset", "getViewportZoomLevel", "getScrollBarWidth", "getMaximumSheetOffset"];
|
|
4928
4995
|
private viewports;
|
|
4929
4996
|
/**
|
|
4930
4997
|
* The viewport dimensions are usually set by one of the components
|
|
@@ -4936,6 +5003,7 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
4936
5003
|
private sheetViewHeight;
|
|
4937
5004
|
private gridOffsetX;
|
|
4938
5005
|
private gridOffsetY;
|
|
5006
|
+
private zoomLevel;
|
|
4939
5007
|
private sheetsWithDirtyViewports;
|
|
4940
5008
|
private shouldAdjustViewports;
|
|
4941
5009
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
@@ -4975,18 +5043,26 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
4975
5043
|
* Return the main viewport maximum size relative to the client size.
|
|
4976
5044
|
*/
|
|
4977
5045
|
getMainViewportRect(): Rect;
|
|
4978
|
-
|
|
5046
|
+
getMaximumSheetOffset(): {
|
|
5047
|
+
maxOffsetX: Pixel;
|
|
5048
|
+
maxOffsetY: Pixel;
|
|
5049
|
+
};
|
|
4979
5050
|
getColRowOffsetInViewport(dimension: Dimension, referenceHeaderIndex: HeaderIndex, targetHeaderIndex: HeaderIndex): Pixel;
|
|
4980
5051
|
/**
|
|
4981
5052
|
* Check if a given position is visible in the viewport.
|
|
4982
5053
|
*/
|
|
4983
5054
|
isVisibleInViewport({ sheetId, col, row }: CellPosition): boolean;
|
|
5055
|
+
getScrollBarWidth(): Pixel;
|
|
4984
5056
|
getEdgeScrollCol(x: number, previousX: number, startingX: number): EdgeScrollInfo;
|
|
4985
5057
|
getEdgeScrollRow(y: number, previousY: number, startingY: number): EdgeScrollInfo;
|
|
4986
5058
|
/**
|
|
4987
5059
|
* Computes the coordinates and size to draw the zone on the canvas
|
|
4988
5060
|
*/
|
|
4989
5061
|
getVisibleRect(zone: Zone): Rect;
|
|
5062
|
+
/**
|
|
5063
|
+
* Computes the coordinates and size to draw the zone on the canvas after it has been zoomed
|
|
5064
|
+
*/
|
|
5065
|
+
getVisibleRectWithZoom(zone: Zone): Rect;
|
|
4990
5066
|
/**
|
|
4991
5067
|
* Computes the coordinates and size to draw the zone without taking the grid offset into account
|
|
4992
5068
|
*/
|
|
@@ -5021,6 +5097,7 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
5021
5097
|
zone: Zone;
|
|
5022
5098
|
rect: Rect;
|
|
5023
5099
|
}[];
|
|
5100
|
+
getViewportZoomLevel(): number;
|
|
5024
5101
|
private ensureMainViewportExist;
|
|
5025
5102
|
private getSubViewports;
|
|
5026
5103
|
private checkPositiveDimension;
|
|
@@ -5241,6 +5318,8 @@ type Rect = DOMCoordinates & DOMDimension;
|
|
|
5241
5318
|
interface BoxTextContent {
|
|
5242
5319
|
textLines: string[];
|
|
5243
5320
|
width: Pixel;
|
|
5321
|
+
textHeight: Pixel;
|
|
5322
|
+
textWidth: Pixel;
|
|
5244
5323
|
align: Align;
|
|
5245
5324
|
fontSizePx: number;
|
|
5246
5325
|
x: Pixel;
|
|
@@ -5500,13 +5579,13 @@ interface ZoneDependentCommand {
|
|
|
5500
5579
|
zone: Zone;
|
|
5501
5580
|
}
|
|
5502
5581
|
declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
|
|
5503
|
-
declare const invalidateEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5504
|
-
declare const invalidateChartEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5505
|
-
declare const invalidateDependenciesCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5506
|
-
declare const invalidateCFEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5507
|
-
declare const invalidateBordersCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5508
|
-
declare const invalidSubtotalFormulasCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5509
|
-
declare const readonlyAllowedCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5582
|
+
declare const invalidateEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5583
|
+
declare const invalidateChartEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5584
|
+
declare const invalidateDependenciesCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5585
|
+
declare const invalidateCFEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5586
|
+
declare const invalidateBordersCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5587
|
+
declare const invalidSubtotalFormulasCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5588
|
+
declare const readonlyAllowedCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SET_ZOOM" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "DUPLICATE_CAROUSEL_CHART" | "UPDATE_CAROUSEL_ACTIVE_ITEM" | "POPOUT_CHART_FROM_CAROUSEL">;
|
|
5510
5589
|
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
|
|
5511
5590
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
5512
5591
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -5708,6 +5787,12 @@ interface AddFigureChartToCarouselCommand extends SheetDependentCommand {
|
|
|
5708
5787
|
carouselFigureId: UID;
|
|
5709
5788
|
chartFigureId: UID;
|
|
5710
5789
|
}
|
|
5790
|
+
interface DuplicateCarouselChartCommand extends SheetDependentCommand {
|
|
5791
|
+
type: "DUPLICATE_CAROUSEL_CHART";
|
|
5792
|
+
carouselId: UID;
|
|
5793
|
+
chartId: UID;
|
|
5794
|
+
duplicatedChartId: UID;
|
|
5795
|
+
}
|
|
5711
5796
|
interface UpdateCarouselActiveItemCommand extends SheetDependentCommand {
|
|
5712
5797
|
type: "UPDATE_CAROUSEL_ACTIVE_ITEM";
|
|
5713
5798
|
figureId: UID;
|
|
@@ -6029,6 +6114,10 @@ interface SetViewportOffsetCommand {
|
|
|
6029
6114
|
offsetX: Pixel;
|
|
6030
6115
|
offsetY: Pixel;
|
|
6031
6116
|
}
|
|
6117
|
+
interface SetZoomCommand {
|
|
6118
|
+
type: "SET_ZOOM";
|
|
6119
|
+
zoom: number;
|
|
6120
|
+
}
|
|
6032
6121
|
/**
|
|
6033
6122
|
* Shift the viewport down by the viewport height
|
|
6034
6123
|
*/
|
|
@@ -6147,7 +6236,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
6147
6236
|
| UpdateLocaleCommand
|
|
6148
6237
|
/** PIVOT */
|
|
6149
6238
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
6150
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand | AddNewChartToCarouselCommand | AddFigureChartToCarouselCommand | UpdateCarouselActiveItemCommand | PopOutChartFromCarouselCommand;
|
|
6239
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SetZoomCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand | AddNewChartToCarouselCommand | AddFigureChartToCarouselCommand | DuplicateCarouselChartCommand | UpdateCarouselActiveItemCommand | PopOutChartFromCarouselCommand;
|
|
6151
6240
|
type Command = CoreCommand | LocalCommand;
|
|
6152
6241
|
/**
|
|
6153
6242
|
* Holds the result of a command dispatch.
|
|
@@ -6288,6 +6377,7 @@ declare const enum CommandResult {
|
|
|
6288
6377
|
SheetIsHidden = "SheetIsHidden",
|
|
6289
6378
|
InvalidTableResize = "InvalidTableResize",
|
|
6290
6379
|
PivotIdNotFound = "PivotIdNotFound",
|
|
6380
|
+
PivotIdTaken = "PivotIdTaken",
|
|
6291
6381
|
PivotInError = "PivotInError",
|
|
6292
6382
|
EmptyName = "EmptyName",
|
|
6293
6383
|
ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula",
|
|
@@ -6372,7 +6462,7 @@ interface Zone {
|
|
|
6372
6462
|
}
|
|
6373
6463
|
interface AnchorZone {
|
|
6374
6464
|
zone: Zone;
|
|
6375
|
-
cell: Position
|
|
6465
|
+
cell: Position;
|
|
6376
6466
|
}
|
|
6377
6467
|
interface Selection$1 {
|
|
6378
6468
|
anchor: AnchorZone;
|
|
@@ -6415,6 +6505,7 @@ interface Style {
|
|
|
6415
6505
|
fillColor?: Color;
|
|
6416
6506
|
textColor?: Color;
|
|
6417
6507
|
fontSize?: number;
|
|
6508
|
+
rotation?: number;
|
|
6418
6509
|
}
|
|
6419
6510
|
interface DataBarFill {
|
|
6420
6511
|
color: Color;
|
|
@@ -6506,7 +6597,7 @@ interface HeaderDimensions {
|
|
|
6506
6597
|
interface Row {
|
|
6507
6598
|
cells: Record<number, UID | undefined>;
|
|
6508
6599
|
}
|
|
6509
|
-
interface Position
|
|
6600
|
+
interface Position {
|
|
6510
6601
|
col: HeaderIndex;
|
|
6511
6602
|
row: HeaderIndex;
|
|
6512
6603
|
}
|
|
@@ -6646,8 +6737,8 @@ interface BarChartDefinition extends CommonChartDefinition {
|
|
|
6646
6737
|
readonly zoomable?: boolean;
|
|
6647
6738
|
}
|
|
6648
6739
|
type BarChartRuntime = {
|
|
6649
|
-
chartJsConfig: ChartConfiguration
|
|
6650
|
-
masterChartConfig?: ChartConfiguration
|
|
6740
|
+
chartJsConfig: ChartConfiguration<"bar" | "line">;
|
|
6741
|
+
masterChartConfig?: ChartConfiguration<"bar">;
|
|
6651
6742
|
background: Color;
|
|
6652
6743
|
};
|
|
6653
6744
|
|
|
@@ -6703,7 +6794,6 @@ type ScorecardChartConfig = {
|
|
|
6703
6794
|
|
|
6704
6795
|
declare global {
|
|
6705
6796
|
interface Window {
|
|
6706
|
-
Chart: typeof chart_js & typeof chart_js.Chart;
|
|
6707
6797
|
ChartGeo: typeof ChartGeo;
|
|
6708
6798
|
}
|
|
6709
6799
|
}
|
|
@@ -6721,8 +6811,9 @@ declare module "chart.js" {
|
|
|
6721
6811
|
}
|
|
6722
6812
|
|
|
6723
6813
|
interface ChartShowValuesPluginOptions {
|
|
6814
|
+
type: ChartType;
|
|
6724
6815
|
showValues: boolean;
|
|
6725
|
-
background
|
|
6816
|
+
background: (value: number | string, dataset: ChartMeta, index: number) => Color | undefined;
|
|
6726
6817
|
horizontal?: boolean;
|
|
6727
6818
|
callback: (value: number | string, dataset: ChartMeta, index: number) => string;
|
|
6728
6819
|
}
|
|
@@ -6732,6 +6823,20 @@ declare module "chart.js" {
|
|
|
6732
6823
|
}
|
|
6733
6824
|
}
|
|
6734
6825
|
|
|
6826
|
+
interface ChartColorScalePluginOptions {
|
|
6827
|
+
position: "left" | "right" | "none";
|
|
6828
|
+
colorScale: Color[];
|
|
6829
|
+
fontColor?: Color;
|
|
6830
|
+
minValue: number;
|
|
6831
|
+
maxValue: number;
|
|
6832
|
+
locale: Locale;
|
|
6833
|
+
}
|
|
6834
|
+
declare module "chart.js" {
|
|
6835
|
+
interface PluginOptionsByType<TType extends ChartType$1> {
|
|
6836
|
+
chartColorScalePlugin?: ChartColorScalePluginOptions;
|
|
6837
|
+
}
|
|
6838
|
+
}
|
|
6839
|
+
|
|
6735
6840
|
interface MigrationStep {
|
|
6736
6841
|
migrate: (data: any) => any;
|
|
6737
6842
|
}
|
|
@@ -6749,12 +6854,13 @@ type PivotDefinitionConstructor = new (definition: PivotCoreDefinition, fields:
|
|
|
6749
6854
|
interface PivotRegistryItem {
|
|
6750
6855
|
ui: PivotUIConstructor;
|
|
6751
6856
|
definition: PivotDefinitionConstructor;
|
|
6752
|
-
externalData: boolean;
|
|
6753
6857
|
dateGranularities: string[];
|
|
6754
6858
|
datetimeGranularities: string[];
|
|
6755
6859
|
isMeasureCandidate: (field: PivotField) => boolean;
|
|
6756
6860
|
isGroupable: (field: PivotField) => boolean;
|
|
6757
6861
|
canHaveCustomGroup: (field: PivotField) => boolean;
|
|
6862
|
+
isPivotUnused: (getters: Getters, pivotId: UID) => boolean;
|
|
6863
|
+
adaptRanges?: (getters: CoreGetters, definition: PivotCoreDefinition, applyChange: ApplyRangeChange) => PivotCoreDefinition;
|
|
6758
6864
|
}
|
|
6759
6865
|
|
|
6760
6866
|
declare class ClipboardHandler<T> {
|
|
@@ -6978,6 +7084,18 @@ declare class ColorGenerator {
|
|
|
6978
7084
|
constructor(paletteSize: number, preferredColors?: (Color | undefined | null)[]);
|
|
6979
7085
|
next(): string;
|
|
6980
7086
|
}
|
|
7087
|
+
declare const COLORSCHEMES: {
|
|
7088
|
+
readonly greys: readonly ["#ffffff", "#808080", "#000000"];
|
|
7089
|
+
readonly blues: readonly ["#f7fbff", "#6aaed6", "#08306b"];
|
|
7090
|
+
readonly reds: readonly ["#fff5f0", "#fb694a", "#67000d"];
|
|
7091
|
+
readonly greens: readonly ["#f7fcf5", "#73c476", "#00441b"];
|
|
7092
|
+
readonly oranges: readonly ["#fff5eb", "#fd8c3b", "#7f2704"];
|
|
7093
|
+
readonly purples: readonly ["#fcfbfd", "#9e9ac8", "#3f007d"];
|
|
7094
|
+
readonly viridis: readonly ["#440154", "#21918c", "#fde725"];
|
|
7095
|
+
readonly cividis: readonly ["#00224e", "#7d7c78", "#fee838"];
|
|
7096
|
+
readonly rainbow: readonly ["#B41DB4", "#FFFF00", "#00FFFF"];
|
|
7097
|
+
};
|
|
7098
|
+
type ColorScale = keyof typeof COLORSCHEMES;
|
|
6981
7099
|
|
|
6982
7100
|
/**
|
|
6983
7101
|
* Convert a (col) number to the corresponding letter.
|
|
@@ -6999,7 +7117,7 @@ declare function lettersToNumber(letters: string): number;
|
|
|
6999
7117
|
*
|
|
7000
7118
|
* Note: it also accepts lowercase coordinates, but not fixed references
|
|
7001
7119
|
*/
|
|
7002
|
-
declare function toCartesian(xc: string): Position
|
|
7120
|
+
declare function toCartesian(xc: string): Position;
|
|
7003
7121
|
/**
|
|
7004
7122
|
* Convert from cartesian coordinate to the "XC" coordinate system.
|
|
7005
7123
|
*
|
|
@@ -7042,6 +7160,8 @@ declare class DateTime {
|
|
|
7042
7160
|
setSeconds(seconds: number): number;
|
|
7043
7161
|
}
|
|
7044
7162
|
declare function isDateTime(str: string, locale: Locale): boolean;
|
|
7163
|
+
declare function numberToJsDate(value: number): DateTime;
|
|
7164
|
+
declare function jsDateToNumber(date: DateTime): number;
|
|
7045
7165
|
|
|
7046
7166
|
interface FormatWidth {
|
|
7047
7167
|
availableWidth: number;
|
|
@@ -7055,7 +7175,7 @@ declare function formatValue(value: CellValue, { format, locale, formatWidth }:
|
|
|
7055
7175
|
}): FormattedValue;
|
|
7056
7176
|
declare function createCurrencyFormat(currency: Partial<Currency>): Format;
|
|
7057
7177
|
|
|
7058
|
-
declare function computeTextWidth(context: Canvas2DContext, text: string, style
|
|
7178
|
+
declare function computeTextWidth(context: Canvas2DContext, text: string, style?: Style, fontUnit?: "px" | "pt"): number;
|
|
7059
7179
|
|
|
7060
7180
|
/**
|
|
7061
7181
|
* Convert from a cartesian reference to a (possibly unbounded) Zone
|
|
@@ -7104,13 +7224,13 @@ declare function union(...zones: Zone[]): Zone;
|
|
|
7104
7224
|
* Return true if two zones overlap, false otherwise.
|
|
7105
7225
|
*/
|
|
7106
7226
|
declare function overlap(z1: UnboundedZone, z2: UnboundedZone): boolean;
|
|
7107
|
-
declare function isInside(col: number, row: number, zone:
|
|
7227
|
+
declare function isInside(col: number, row: number, zone: UnboundedZone): boolean;
|
|
7108
7228
|
/**
|
|
7109
7229
|
* This function will compare the modifications of selection to determine
|
|
7110
7230
|
* a cell that is part of the new zone and not the previous one.
|
|
7111
7231
|
*/
|
|
7112
|
-
declare function findCellInNewZone(oldZone: Zone, currentZone: Zone): Position
|
|
7113
|
-
declare function positionToZone(position: Position
|
|
7232
|
+
declare function findCellInNewZone(oldZone: Zone, currentZone: Zone): Position;
|
|
7233
|
+
declare function positionToZone(position: Position): Zone;
|
|
7114
7234
|
/**
|
|
7115
7235
|
* Merge contiguous and overlapping zones that are in the array into bigger zones
|
|
7116
7236
|
*/
|
|
@@ -7165,7 +7285,7 @@ interface ChartBuilder {
|
|
|
7165
7285
|
dataSeriesLimit?: number;
|
|
7166
7286
|
}
|
|
7167
7287
|
|
|
7168
|
-
interface Props$
|
|
7288
|
+
interface Props$1d {
|
|
7169
7289
|
label?: string;
|
|
7170
7290
|
value: boolean;
|
|
7171
7291
|
className?: string;
|
|
@@ -7174,7 +7294,7 @@ interface Props$1s {
|
|
|
7174
7294
|
disabled?: boolean;
|
|
7175
7295
|
onChange: (value: boolean) => void;
|
|
7176
7296
|
}
|
|
7177
|
-
declare class Checkbox extends Component<Props$
|
|
7297
|
+
declare class Checkbox extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7178
7298
|
static template: string;
|
|
7179
7299
|
static props: {
|
|
7180
7300
|
label: {
|
|
@@ -7209,10 +7329,10 @@ declare class Checkbox extends Component<Props$1s, SpreadsheetChildEnv> {
|
|
|
7209
7329
|
onChange(ev: InputEvent): void;
|
|
7210
7330
|
}
|
|
7211
7331
|
|
|
7212
|
-
interface Props$
|
|
7332
|
+
interface Props$1c {
|
|
7213
7333
|
class?: string;
|
|
7214
7334
|
}
|
|
7215
|
-
declare class Section extends Component<Props$
|
|
7335
|
+
declare class Section extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7216
7336
|
static template: string;
|
|
7217
7337
|
static props: {
|
|
7218
7338
|
class: {
|
|
@@ -7227,6 +7347,13 @@ declare class Section extends Component<Props$1r, SpreadsheetChildEnv> {
|
|
|
7227
7347
|
};
|
|
7228
7348
|
}
|
|
7229
7349
|
|
|
7350
|
+
interface ChartSidePanelProps<T extends ChartDefinition> {
|
|
7351
|
+
chartId: UID;
|
|
7352
|
+
definition: T;
|
|
7353
|
+
canUpdateChart: (chartId: UID, definition: Partial<T>) => DispatchResult;
|
|
7354
|
+
updateChart: (chartId: UID, definition: Partial<T>) => DispatchResult;
|
|
7355
|
+
}
|
|
7356
|
+
|
|
7230
7357
|
interface StoreUpdateEvent {
|
|
7231
7358
|
type: "store-updated";
|
|
7232
7359
|
}
|
|
@@ -7406,10 +7533,11 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7406
7533
|
getIndex(rangeId: number | null): number | null;
|
|
7407
7534
|
}
|
|
7408
7535
|
|
|
7409
|
-
interface Props$
|
|
7536
|
+
interface Props$1b {
|
|
7410
7537
|
ranges: string[];
|
|
7411
7538
|
hasSingleRange?: boolean;
|
|
7412
7539
|
required?: boolean;
|
|
7540
|
+
autofocus?: boolean;
|
|
7413
7541
|
isInvalid?: boolean;
|
|
7414
7542
|
class?: string;
|
|
7415
7543
|
onSelectionChanged?: (ranges: string[]) => void;
|
|
@@ -7434,7 +7562,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7434
7562
|
* onSelectionChanged is called every time the input value
|
|
7435
7563
|
* changes.
|
|
7436
7564
|
*/
|
|
7437
|
-
declare class SelectionInput extends Component<Props$
|
|
7565
|
+
declare class SelectionInput extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
7438
7566
|
static template: string;
|
|
7439
7567
|
static props: {
|
|
7440
7568
|
ranges: ArrayConstructor;
|
|
@@ -7446,6 +7574,10 @@ declare class SelectionInput extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
|
7446
7574
|
type: BooleanConstructor;
|
|
7447
7575
|
optional: boolean;
|
|
7448
7576
|
};
|
|
7577
|
+
autofocus: {
|
|
7578
|
+
type: BooleanConstructor;
|
|
7579
|
+
optional: boolean;
|
|
7580
|
+
};
|
|
7449
7581
|
isInvalid: {
|
|
7450
7582
|
type: BooleanConstructor;
|
|
7451
7583
|
optional: boolean;
|
|
@@ -7511,7 +7643,7 @@ declare class SelectionInput extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
|
7511
7643
|
confirm(): void;
|
|
7512
7644
|
}
|
|
7513
7645
|
|
|
7514
|
-
interface Props$
|
|
7646
|
+
interface Props$1a {
|
|
7515
7647
|
ranges: CustomizedDataSet[];
|
|
7516
7648
|
hasSingleRange?: boolean;
|
|
7517
7649
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7524,7 +7656,7 @@ interface Props$1p {
|
|
|
7524
7656
|
canChangeDatasetOrientation?: boolean;
|
|
7525
7657
|
onFlipAxis?: (structure: string) => void;
|
|
7526
7658
|
}
|
|
7527
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7659
|
+
declare class ChartDataSeries extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
7528
7660
|
static template: string;
|
|
7529
7661
|
static components: {
|
|
7530
7662
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7573,12 +7705,12 @@ declare class ChartDataSeries extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
|
7573
7705
|
get title(): string;
|
|
7574
7706
|
}
|
|
7575
7707
|
|
|
7576
|
-
interface Props$
|
|
7708
|
+
interface Props$19 {
|
|
7577
7709
|
messages: string[];
|
|
7578
7710
|
msgType: "warning" | "error" | "info";
|
|
7579
7711
|
singleBox?: boolean;
|
|
7580
7712
|
}
|
|
7581
|
-
declare class ValidationMessages extends Component<Props$
|
|
7713
|
+
declare class ValidationMessages extends Component<Props$19, SpreadsheetChildEnv> {
|
|
7582
7714
|
static template: string;
|
|
7583
7715
|
static props: {
|
|
7584
7716
|
messages: ArrayConstructor;
|
|
@@ -7592,10 +7724,10 @@ declare class ValidationMessages extends Component<Props$1o, SpreadsheetChildEnv
|
|
|
7592
7724
|
get alertBoxes(): string[][];
|
|
7593
7725
|
}
|
|
7594
7726
|
|
|
7595
|
-
interface Props$
|
|
7727
|
+
interface Props$18 {
|
|
7596
7728
|
messages: string[];
|
|
7597
7729
|
}
|
|
7598
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7730
|
+
declare class ChartErrorSection extends Component<Props$18, SpreadsheetChildEnv> {
|
|
7599
7731
|
static template: string;
|
|
7600
7732
|
static components: {
|
|
7601
7733
|
Section: typeof Section;
|
|
@@ -7609,7 +7741,7 @@ declare class ChartErrorSection extends Component<Props$1n, SpreadsheetChildEnv>
|
|
|
7609
7741
|
};
|
|
7610
7742
|
}
|
|
7611
7743
|
|
|
7612
|
-
interface Props$
|
|
7744
|
+
interface Props$17 {
|
|
7613
7745
|
title?: string;
|
|
7614
7746
|
range: string;
|
|
7615
7747
|
isInvalid: boolean;
|
|
@@ -7622,7 +7754,7 @@ interface Props$1m {
|
|
|
7622
7754
|
onChange: (value: boolean) => void;
|
|
7623
7755
|
}>;
|
|
7624
7756
|
}
|
|
7625
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7757
|
+
declare class ChartLabelRange extends Component<Props$17, SpreadsheetChildEnv> {
|
|
7626
7758
|
static template: string;
|
|
7627
7759
|
static components: {
|
|
7628
7760
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7643,20 +7775,14 @@ declare class ChartLabelRange extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
|
7643
7775
|
optional: boolean;
|
|
7644
7776
|
};
|
|
7645
7777
|
};
|
|
7646
|
-
static defaultProps: Partial<Props$
|
|
7778
|
+
static defaultProps: Partial<Props$17>;
|
|
7647
7779
|
}
|
|
7648
7780
|
|
|
7649
|
-
interface Props$1l {
|
|
7650
|
-
chartId: UID;
|
|
7651
|
-
definition: ChartWithDataSetDefinition;
|
|
7652
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7653
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7654
|
-
}
|
|
7655
7781
|
interface ChartPanelState {
|
|
7656
7782
|
datasetDispatchResult?: DispatchResult;
|
|
7657
7783
|
labelsDispatchResult?: DispatchResult;
|
|
7658
7784
|
}
|
|
7659
|
-
declare class GenericChartConfigPanel extends Component<
|
|
7785
|
+
declare class GenericChartConfigPanel<P extends ChartSidePanelProps<ChartWithDataSetDefinition> = ChartSidePanelProps<ChartWithDataSetDefinition>> extends Component<P, SpreadsheetChildEnv> {
|
|
7660
7786
|
static template: string;
|
|
7661
7787
|
static components: {
|
|
7662
7788
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7668,8 +7794,8 @@ declare class GenericChartConfigPanel extends Component<Props$1l, SpreadsheetChi
|
|
|
7668
7794
|
static props: {
|
|
7669
7795
|
chartId: StringConstructor;
|
|
7670
7796
|
definition: ObjectConstructor;
|
|
7671
|
-
updateChart: FunctionConstructor;
|
|
7672
7797
|
canUpdateChart: FunctionConstructor;
|
|
7798
|
+
updateChart: FunctionConstructor;
|
|
7673
7799
|
};
|
|
7674
7800
|
protected state: ChartPanelState;
|
|
7675
7801
|
protected dataSets: CustomizedDataSet[];
|
|
@@ -7677,9 +7803,7 @@ declare class GenericChartConfigPanel extends Component<Props$1l, SpreadsheetChi
|
|
|
7677
7803
|
private datasetOrientation;
|
|
7678
7804
|
protected chartTerms: {
|
|
7679
7805
|
[key: string]: any;
|
|
7680
|
-
|
|
7681
|
-
ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
|
|
7682
|
-
};
|
|
7806
|
+
ColorScales: Record<Extract<ChartColorScale, string>, string>;
|
|
7683
7807
|
};
|
|
7684
7808
|
setup(): void;
|
|
7685
7809
|
get errorMessages(): string[];
|
|
@@ -7725,11 +7849,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7725
7849
|
onUpdateStacked(stacked: boolean): void;
|
|
7726
7850
|
}
|
|
7727
7851
|
|
|
7728
|
-
interface Props$
|
|
7852
|
+
interface Props$16 {
|
|
7729
7853
|
isCollapsed: boolean;
|
|
7730
7854
|
slots: any;
|
|
7731
7855
|
}
|
|
7732
|
-
declare class Collapse extends Component<Props$
|
|
7856
|
+
declare class Collapse extends Component<Props$16, SpreadsheetChildEnv> {
|
|
7733
7857
|
static template: string;
|
|
7734
7858
|
static props: {
|
|
7735
7859
|
isCollapsed: BooleanConstructor;
|
|
@@ -7768,12 +7892,12 @@ interface Choice$1 {
|
|
|
7768
7892
|
value: string;
|
|
7769
7893
|
label: string;
|
|
7770
7894
|
}
|
|
7771
|
-
interface Props$
|
|
7895
|
+
interface Props$15 {
|
|
7772
7896
|
choices: Choice$1[];
|
|
7773
7897
|
onChange: (value: string) => void;
|
|
7774
7898
|
selectedValue: string;
|
|
7775
7899
|
}
|
|
7776
|
-
declare class BadgeSelection extends Component<Props$
|
|
7900
|
+
declare class BadgeSelection extends Component<Props$15, SpreadsheetChildEnv> {
|
|
7777
7901
|
static template: string;
|
|
7778
7902
|
static props: {
|
|
7779
7903
|
choices: ArrayConstructor;
|
|
@@ -7782,14 +7906,104 @@ declare class BadgeSelection extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
|
7782
7906
|
};
|
|
7783
7907
|
}
|
|
7784
7908
|
|
|
7785
|
-
interface
|
|
7909
|
+
interface GenericInputProps {
|
|
7910
|
+
value: string | number;
|
|
7911
|
+
onChange: (value: string) => void;
|
|
7912
|
+
class?: string;
|
|
7913
|
+
id?: string;
|
|
7914
|
+
placeholder?: string;
|
|
7915
|
+
autofocus?: boolean;
|
|
7916
|
+
selectContentOnFocus?: boolean;
|
|
7917
|
+
}
|
|
7918
|
+
declare class GenericInput<T extends GenericInputProps> extends Component<T, SpreadsheetChildEnv> {
|
|
7919
|
+
static props: {
|
|
7920
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
7921
|
+
onChange: FunctionConstructor;
|
|
7922
|
+
class: {
|
|
7923
|
+
type: StringConstructor;
|
|
7924
|
+
optional: boolean;
|
|
7925
|
+
};
|
|
7926
|
+
id: {
|
|
7927
|
+
type: StringConstructor;
|
|
7928
|
+
optional: boolean;
|
|
7929
|
+
};
|
|
7930
|
+
placeholder: {
|
|
7931
|
+
type: StringConstructor;
|
|
7932
|
+
optional: boolean;
|
|
7933
|
+
};
|
|
7934
|
+
autofocus: {
|
|
7935
|
+
type: BooleanConstructor;
|
|
7936
|
+
optional: boolean;
|
|
7937
|
+
};
|
|
7938
|
+
alwaysShowBorder: {
|
|
7939
|
+
type: BooleanConstructor;
|
|
7940
|
+
optional: boolean;
|
|
7941
|
+
};
|
|
7942
|
+
selectContentOnFocus: {
|
|
7943
|
+
type: BooleanConstructor;
|
|
7944
|
+
optional: boolean;
|
|
7945
|
+
};
|
|
7946
|
+
};
|
|
7947
|
+
protected refName: string;
|
|
7948
|
+
protected inputRef: Ref<HTMLInputElement>;
|
|
7949
|
+
setup(): void;
|
|
7950
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
7951
|
+
save(keepFocus?: boolean): void;
|
|
7952
|
+
onMouseDown(ev: MouseEvent): void;
|
|
7953
|
+
onMouseUp(ev: MouseEvent): void;
|
|
7954
|
+
}
|
|
7955
|
+
|
|
7956
|
+
interface Props$14 extends GenericInputProps {
|
|
7957
|
+
alwaysShowBorder?: boolean;
|
|
7958
|
+
value: string;
|
|
7959
|
+
errorMessage?: string;
|
|
7960
|
+
}
|
|
7961
|
+
declare class TextInput extends GenericInput<Props$14> {
|
|
7962
|
+
static template: string;
|
|
7963
|
+
static components: {};
|
|
7964
|
+
static props: {
|
|
7965
|
+
errorMessage: {
|
|
7966
|
+
type: StringConstructor;
|
|
7967
|
+
optional: boolean;
|
|
7968
|
+
};
|
|
7969
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
7970
|
+
onChange: FunctionConstructor;
|
|
7971
|
+
class: {
|
|
7972
|
+
type: StringConstructor;
|
|
7973
|
+
optional: boolean;
|
|
7974
|
+
};
|
|
7975
|
+
id: {
|
|
7976
|
+
type: StringConstructor;
|
|
7977
|
+
optional: boolean;
|
|
7978
|
+
};
|
|
7979
|
+
placeholder: {
|
|
7980
|
+
type: StringConstructor;
|
|
7981
|
+
optional: boolean;
|
|
7982
|
+
};
|
|
7983
|
+
autofocus: {
|
|
7984
|
+
type: BooleanConstructor;
|
|
7985
|
+
optional: boolean;
|
|
7986
|
+
};
|
|
7987
|
+
alwaysShowBorder: {
|
|
7988
|
+
type: BooleanConstructor;
|
|
7989
|
+
optional: boolean;
|
|
7990
|
+
};
|
|
7991
|
+
selectContentOnFocus: {
|
|
7992
|
+
type: BooleanConstructor;
|
|
7993
|
+
optional: boolean;
|
|
7994
|
+
};
|
|
7995
|
+
};
|
|
7996
|
+
get inputClass(): string;
|
|
7997
|
+
}
|
|
7998
|
+
|
|
7999
|
+
interface Props$13 {
|
|
7786
8000
|
action: ActionSpec;
|
|
7787
8001
|
hasTriangleDownIcon?: boolean;
|
|
7788
8002
|
selectedColor?: string;
|
|
7789
8003
|
class?: string;
|
|
7790
8004
|
onClick?: (ev: MouseEvent) => void;
|
|
7791
8005
|
}
|
|
7792
|
-
declare class ActionButton extends Component<Props$
|
|
8006
|
+
declare class ActionButton extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7793
8007
|
static template: string;
|
|
7794
8008
|
static props: {
|
|
7795
8009
|
action: ObjectConstructor;
|
|
@@ -7955,7 +8169,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7955
8169
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7956
8170
|
}
|
|
7957
8171
|
|
|
7958
|
-
interface Props$
|
|
8172
|
+
interface Props$12 {
|
|
7959
8173
|
currentColor: string | undefined;
|
|
7960
8174
|
toggleColorPicker: () => void;
|
|
7961
8175
|
showColorPicker: boolean;
|
|
@@ -7966,7 +8180,7 @@ interface Props$1h {
|
|
|
7966
8180
|
dropdownMaxHeight?: Pixel;
|
|
7967
8181
|
class?: string;
|
|
7968
8182
|
}
|
|
7969
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
8183
|
+
declare class ColorPickerWidget extends Component<Props$12, SpreadsheetChildEnv> {
|
|
7970
8184
|
static template: string;
|
|
7971
8185
|
static props: {
|
|
7972
8186
|
currentColor: {
|
|
@@ -8009,7 +8223,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
8009
8223
|
col: number | undefined;
|
|
8010
8224
|
row: number | undefined;
|
|
8011
8225
|
handle(cmd: Command): void;
|
|
8012
|
-
hover(position: Partial<Position
|
|
8226
|
+
hover(position: Partial<Position>): "noStateChange" | undefined;
|
|
8013
8227
|
clear(): "noStateChange" | undefined;
|
|
8014
8228
|
}
|
|
8015
8229
|
|
|
@@ -8018,7 +8232,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
8018
8232
|
private persistentPopover?;
|
|
8019
8233
|
protected hoveredCell: CQS<Pick<DelayedHoveredCellStore, "clear" | "hover"> & OmitFunctions<DelayedHoveredCellStore>>;
|
|
8020
8234
|
handle(cmd: Command): void;
|
|
8021
|
-
open({ col, row }: Position
|
|
8235
|
+
open({ col, row }: Position, type: CellPopoverType): void;
|
|
8022
8236
|
close(): "noStateChange" | undefined;
|
|
8023
8237
|
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
8024
8238
|
get isOpen(): boolean;
|
|
@@ -8029,18 +8243,23 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
8029
8243
|
interface State$5 {
|
|
8030
8244
|
isOpen: boolean;
|
|
8031
8245
|
}
|
|
8032
|
-
interface Props$
|
|
8033
|
-
|
|
8246
|
+
interface Props$11 {
|
|
8247
|
+
currentValue: number;
|
|
8034
8248
|
class: string;
|
|
8035
|
-
|
|
8249
|
+
onValueChange: (fontSize: number) => void;
|
|
8036
8250
|
onToggle?: () => void;
|
|
8037
8251
|
onFocusInput?: () => void;
|
|
8252
|
+
valueIcon?: String;
|
|
8253
|
+
min: number;
|
|
8254
|
+
max: number;
|
|
8255
|
+
title: String;
|
|
8256
|
+
valueList: number[];
|
|
8038
8257
|
}
|
|
8039
|
-
declare class
|
|
8258
|
+
declare class NumberEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
8040
8259
|
static template: string;
|
|
8041
8260
|
static props: {
|
|
8042
|
-
|
|
8043
|
-
|
|
8261
|
+
currentValue: NumberConstructor;
|
|
8262
|
+
onValueChange: FunctionConstructor;
|
|
8044
8263
|
onToggle: {
|
|
8045
8264
|
type: FunctionConstructor;
|
|
8046
8265
|
optional: boolean;
|
|
@@ -8050,6 +8269,29 @@ declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
8050
8269
|
optional: boolean;
|
|
8051
8270
|
};
|
|
8052
8271
|
class: StringConstructor;
|
|
8272
|
+
valueIcon: {
|
|
8273
|
+
type: StringConstructor;
|
|
8274
|
+
optional: boolean;
|
|
8275
|
+
};
|
|
8276
|
+
min: NumberConstructor;
|
|
8277
|
+
max: NumberConstructor;
|
|
8278
|
+
title: StringConstructor;
|
|
8279
|
+
valueList: {
|
|
8280
|
+
(arrayLength: number): Number[];
|
|
8281
|
+
(...items: Number[]): Number[];
|
|
8282
|
+
new (arrayLength: number): Number[];
|
|
8283
|
+
new (...items: Number[]): Number[];
|
|
8284
|
+
isArray(arg: any): arg is any[];
|
|
8285
|
+
readonly prototype: any[];
|
|
8286
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
8287
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
8288
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
8289
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
8290
|
+
of<T>(...items: T[]): T[];
|
|
8291
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
8292
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
8293
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
8294
|
+
};
|
|
8053
8295
|
};
|
|
8054
8296
|
static defaultProps: {
|
|
8055
8297
|
onFocusInput: () => void;
|
|
@@ -8057,24 +8299,56 @@ declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
8057
8299
|
static components: {
|
|
8058
8300
|
Popover: typeof Popover;
|
|
8059
8301
|
};
|
|
8060
|
-
fontSizes: number[];
|
|
8061
8302
|
dropdown: State$5;
|
|
8062
8303
|
private inputRef;
|
|
8063
8304
|
private rootEditorRef;
|
|
8064
|
-
private
|
|
8305
|
+
private valueListRef;
|
|
8306
|
+
private DOMFocusableElementStore;
|
|
8065
8307
|
setup(): void;
|
|
8066
8308
|
get popoverProps(): PopoverProps;
|
|
8067
8309
|
onExternalClick(ev: MouseEvent): void;
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
private
|
|
8071
|
-
|
|
8072
|
-
|
|
8310
|
+
toggleList(): void;
|
|
8311
|
+
closeList(): void;
|
|
8312
|
+
private setValue;
|
|
8313
|
+
setValueFromInput(ev: InputEvent): void;
|
|
8314
|
+
setValueFromList(valueStr: string): void;
|
|
8315
|
+
get currentValue(): string;
|
|
8073
8316
|
onInputFocused(ev: InputEvent): void;
|
|
8074
8317
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
8075
8318
|
}
|
|
8076
8319
|
|
|
8077
|
-
interface Props$
|
|
8320
|
+
interface Props$10 {
|
|
8321
|
+
currentFontSize: number;
|
|
8322
|
+
class: string;
|
|
8323
|
+
onFontSizeChanged: (fontSize: number) => void;
|
|
8324
|
+
onToggle?: () => void;
|
|
8325
|
+
onFocusInput?: () => void;
|
|
8326
|
+
}
|
|
8327
|
+
declare class FontSizeEditor extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8328
|
+
static template: string;
|
|
8329
|
+
static components: {
|
|
8330
|
+
NumberEditor: typeof NumberEditor;
|
|
8331
|
+
};
|
|
8332
|
+
static props: {
|
|
8333
|
+
currentFontSize: NumberConstructor;
|
|
8334
|
+
onFontSizeChanged: FunctionConstructor;
|
|
8335
|
+
onToggle: {
|
|
8336
|
+
type: FunctionConstructor;
|
|
8337
|
+
optional: boolean;
|
|
8338
|
+
};
|
|
8339
|
+
onFocusInput: {
|
|
8340
|
+
type: FunctionConstructor;
|
|
8341
|
+
optional: boolean;
|
|
8342
|
+
};
|
|
8343
|
+
class: StringConstructor;
|
|
8344
|
+
};
|
|
8345
|
+
static defaultProps: {
|
|
8346
|
+
onFocusInput: () => void;
|
|
8347
|
+
};
|
|
8348
|
+
fontSizes: number[];
|
|
8349
|
+
}
|
|
8350
|
+
|
|
8351
|
+
interface Props$$ {
|
|
8078
8352
|
class?: string;
|
|
8079
8353
|
style: ChartStyle;
|
|
8080
8354
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -8083,7 +8357,7 @@ interface Props$1f {
|
|
|
8083
8357
|
hasHorizontalAlign?: boolean;
|
|
8084
8358
|
hasBackgroundColor?: boolean;
|
|
8085
8359
|
}
|
|
8086
|
-
declare class TextStyler extends Component<Props
|
|
8360
|
+
declare class TextStyler extends Component<Props$$, SpreadsheetChildEnv> {
|
|
8087
8361
|
static template: string;
|
|
8088
8362
|
static components: {
|
|
8089
8363
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -8151,7 +8425,7 @@ declare class TextStyler extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
|
8151
8425
|
get verticalAlignActions(): ActionSpec[];
|
|
8152
8426
|
}
|
|
8153
8427
|
|
|
8154
|
-
interface Props$
|
|
8428
|
+
interface Props$_ {
|
|
8155
8429
|
title?: string;
|
|
8156
8430
|
placeholder?: string;
|
|
8157
8431
|
updateTitle: (title: string) => void;
|
|
@@ -8160,11 +8434,12 @@ interface Props$1e {
|
|
|
8160
8434
|
defaultStyle?: Partial<TitleDesign>;
|
|
8161
8435
|
updateStyle: (style: TitleDesign) => void;
|
|
8162
8436
|
}
|
|
8163
|
-
declare class ChartTitle extends Component<Props$
|
|
8437
|
+
declare class ChartTitle extends Component<Props$_, SpreadsheetChildEnv> {
|
|
8164
8438
|
static template: string;
|
|
8165
8439
|
static components: {
|
|
8166
8440
|
Section: typeof Section;
|
|
8167
8441
|
TextStyler: typeof TextStyler;
|
|
8442
|
+
TextInput: typeof TextInput;
|
|
8168
8443
|
};
|
|
8169
8444
|
static props: {
|
|
8170
8445
|
title: {
|
|
@@ -8190,20 +8465,20 @@ declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
8190
8465
|
title: string;
|
|
8191
8466
|
placeholder: string;
|
|
8192
8467
|
};
|
|
8193
|
-
updateTitle(
|
|
8468
|
+
updateTitle(value: string): void;
|
|
8194
8469
|
}
|
|
8195
8470
|
|
|
8196
8471
|
interface AxisDefinition {
|
|
8197
8472
|
id: string;
|
|
8198
8473
|
name: string;
|
|
8199
8474
|
}
|
|
8200
|
-
interface Props$
|
|
8475
|
+
interface Props$Z {
|
|
8201
8476
|
chartId: UID;
|
|
8202
8477
|
definition: ChartWithAxisDefinition;
|
|
8203
8478
|
updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
8204
8479
|
axesList: AxisDefinition[];
|
|
8205
8480
|
}
|
|
8206
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
8481
|
+
declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
8207
8482
|
static template: string;
|
|
8208
8483
|
static components: {
|
|
8209
8484
|
Section: typeof Section;
|
|
@@ -8235,14 +8510,14 @@ interface Choice {
|
|
|
8235
8510
|
value: unknown;
|
|
8236
8511
|
label: string;
|
|
8237
8512
|
}
|
|
8238
|
-
interface Props$
|
|
8513
|
+
interface Props$Y {
|
|
8239
8514
|
choices: Choice[];
|
|
8240
8515
|
onChange: (value: unknown) => void;
|
|
8241
8516
|
selectedValue: string;
|
|
8242
8517
|
name: string;
|
|
8243
8518
|
direction: "horizontal" | "vertical";
|
|
8244
8519
|
}
|
|
8245
|
-
declare class RadioSelection extends Component<Props$
|
|
8520
|
+
declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
8246
8521
|
static template: string;
|
|
8247
8522
|
static props: {
|
|
8248
8523
|
choices: ArrayConstructor;
|
|
@@ -8261,13 +8536,13 @@ declare class RadioSelection extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
|
8261
8536
|
};
|
|
8262
8537
|
}
|
|
8263
8538
|
|
|
8264
|
-
interface Props$
|
|
8539
|
+
interface Props$X {
|
|
8265
8540
|
currentColor?: string;
|
|
8266
8541
|
onColorPicked: (color: string) => void;
|
|
8267
8542
|
title?: string;
|
|
8268
8543
|
disableNoColor?: boolean;
|
|
8269
8544
|
}
|
|
8270
|
-
declare class RoundColorPicker extends Component<Props$
|
|
8545
|
+
declare class RoundColorPicker extends Component<Props$X, SpreadsheetChildEnv> {
|
|
8271
8546
|
static template: string;
|
|
8272
8547
|
static components: {
|
|
8273
8548
|
Section: typeof Section;
|
|
@@ -8300,14 +8575,11 @@ declare class RoundColorPicker extends Component<Props$1b, SpreadsheetChildEnv>
|
|
|
8300
8575
|
get buttonStyle(): string;
|
|
8301
8576
|
}
|
|
8302
8577
|
|
|
8303
|
-
interface Props$
|
|
8304
|
-
chartId: UID;
|
|
8305
|
-
definition: ChartDefinition;
|
|
8306
|
-
updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8307
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8578
|
+
interface Props$W extends ChartSidePanelProps<ChartDefinition> {
|
|
8308
8579
|
defaultChartTitleFontSize?: number;
|
|
8580
|
+
slots?: object;
|
|
8309
8581
|
}
|
|
8310
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8582
|
+
declare class GeneralDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
|
|
8311
8583
|
static template: string;
|
|
8312
8584
|
static components: {
|
|
8313
8585
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8317,10 +8589,6 @@ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEn
|
|
|
8317
8589
|
RadioSelection: typeof RadioSelection;
|
|
8318
8590
|
};
|
|
8319
8591
|
static props: {
|
|
8320
|
-
chartId: StringConstructor;
|
|
8321
|
-
definition: ObjectConstructor;
|
|
8322
|
-
updateChart: FunctionConstructor;
|
|
8323
|
-
canUpdateChart: FunctionConstructor;
|
|
8324
8592
|
defaultChartTitleFontSize: {
|
|
8325
8593
|
type: NumberConstructor;
|
|
8326
8594
|
optional: boolean;
|
|
@@ -8329,8 +8597,12 @@ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEn
|
|
|
8329
8597
|
type: ObjectConstructor;
|
|
8330
8598
|
optional: boolean;
|
|
8331
8599
|
};
|
|
8332
|
-
|
|
8333
|
-
|
|
8600
|
+
chartId: StringConstructor;
|
|
8601
|
+
definition: ObjectConstructor;
|
|
8602
|
+
canUpdateChart: FunctionConstructor;
|
|
8603
|
+
updateChart: FunctionConstructor;
|
|
8604
|
+
};
|
|
8605
|
+
static defaultProps: {
|
|
8334
8606
|
defaultChartTitleFontSize: number;
|
|
8335
8607
|
};
|
|
8336
8608
|
private state;
|
|
@@ -8342,13 +8614,7 @@ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEn
|
|
|
8342
8614
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8343
8615
|
}
|
|
8344
8616
|
|
|
8345
|
-
|
|
8346
|
-
chartId: UID;
|
|
8347
|
-
definition: ChartWithDataSetDefinition;
|
|
8348
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8349
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8350
|
-
}
|
|
8351
|
-
declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildEnv> {
|
|
8617
|
+
declare class ChartHumanizeNumbers extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
|
|
8352
8618
|
static template: string;
|
|
8353
8619
|
static components: {
|
|
8354
8620
|
Checkbox: typeof Checkbox;
|
|
@@ -8356,18 +8622,13 @@ declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildE
|
|
|
8356
8622
|
static props: {
|
|
8357
8623
|
chartId: StringConstructor;
|
|
8358
8624
|
definition: ObjectConstructor;
|
|
8359
|
-
updateChart: FunctionConstructor;
|
|
8360
8625
|
canUpdateChart: FunctionConstructor;
|
|
8626
|
+
updateChart: FunctionConstructor;
|
|
8361
8627
|
};
|
|
8628
|
+
get title(): string;
|
|
8362
8629
|
}
|
|
8363
8630
|
|
|
8364
|
-
|
|
8365
|
-
chartId: UID;
|
|
8366
|
-
definition: ChartWithDataSetDefinition;
|
|
8367
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8368
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8369
|
-
}
|
|
8370
|
-
declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
|
|
8631
|
+
declare class ChartLegend extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
|
|
8371
8632
|
static template: string;
|
|
8372
8633
|
static components: {
|
|
8373
8634
|
Section: typeof Section;
|
|
@@ -8375,19 +8636,66 @@ declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
|
|
|
8375
8636
|
static props: {
|
|
8376
8637
|
chartId: StringConstructor;
|
|
8377
8638
|
definition: ObjectConstructor;
|
|
8378
|
-
updateChart: FunctionConstructor;
|
|
8379
8639
|
canUpdateChart: FunctionConstructor;
|
|
8640
|
+
updateChart: FunctionConstructor;
|
|
8380
8641
|
};
|
|
8381
8642
|
updateLegendPosition(ev: any): void;
|
|
8382
8643
|
}
|
|
8383
8644
|
|
|
8384
|
-
interface Props$
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8645
|
+
interface Props$V extends GenericInputProps {
|
|
8646
|
+
alwaysShowBorder?: boolean;
|
|
8647
|
+
min?: number;
|
|
8648
|
+
max?: number;
|
|
8649
|
+
value: number;
|
|
8389
8650
|
}
|
|
8390
|
-
declare class
|
|
8651
|
+
declare class NumberInput extends GenericInput<Props$V> {
|
|
8652
|
+
static template: string;
|
|
8653
|
+
static components: {};
|
|
8654
|
+
static props: {
|
|
8655
|
+
min: {
|
|
8656
|
+
type: NumberConstructor;
|
|
8657
|
+
optional: boolean;
|
|
8658
|
+
};
|
|
8659
|
+
max: {
|
|
8660
|
+
type: NumberConstructor;
|
|
8661
|
+
optional: boolean;
|
|
8662
|
+
};
|
|
8663
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
8664
|
+
onChange: FunctionConstructor;
|
|
8665
|
+
class: {
|
|
8666
|
+
type: StringConstructor;
|
|
8667
|
+
optional: boolean;
|
|
8668
|
+
};
|
|
8669
|
+
id: {
|
|
8670
|
+
type: StringConstructor;
|
|
8671
|
+
optional: boolean;
|
|
8672
|
+
};
|
|
8673
|
+
placeholder: {
|
|
8674
|
+
type: StringConstructor;
|
|
8675
|
+
optional: boolean;
|
|
8676
|
+
};
|
|
8677
|
+
autofocus: {
|
|
8678
|
+
type: BooleanConstructor;
|
|
8679
|
+
optional: boolean;
|
|
8680
|
+
};
|
|
8681
|
+
alwaysShowBorder: {
|
|
8682
|
+
type: BooleanConstructor;
|
|
8683
|
+
optional: boolean;
|
|
8684
|
+
};
|
|
8685
|
+
selectContentOnFocus: {
|
|
8686
|
+
type: BooleanConstructor;
|
|
8687
|
+
optional: boolean;
|
|
8688
|
+
};
|
|
8689
|
+
};
|
|
8690
|
+
debouncedOnChange: DebouncedFunction<(value: string) => void>;
|
|
8691
|
+
save(): void;
|
|
8692
|
+
get inputClass(): string;
|
|
8693
|
+
}
|
|
8694
|
+
|
|
8695
|
+
interface Props$U extends ChartSidePanelProps<ChartWithDataSetDefinition> {
|
|
8696
|
+
slots?: object;
|
|
8697
|
+
}
|
|
8698
|
+
declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
|
|
8391
8699
|
static template: string;
|
|
8392
8700
|
static components: {
|
|
8393
8701
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8395,14 +8703,14 @@ declare class SeriesDesignEditor extends Component<Props$17, SpreadsheetChildEnv
|
|
|
8395
8703
|
RoundColorPicker: typeof RoundColorPicker;
|
|
8396
8704
|
};
|
|
8397
8705
|
static props: {
|
|
8398
|
-
chartId: StringConstructor;
|
|
8399
|
-
definition: ObjectConstructor;
|
|
8400
|
-
updateChart: FunctionConstructor;
|
|
8401
|
-
canUpdateChart: FunctionConstructor;
|
|
8402
8706
|
slots: {
|
|
8403
8707
|
type: ObjectConstructor;
|
|
8404
8708
|
optional: boolean;
|
|
8405
8709
|
};
|
|
8710
|
+
chartId: StringConstructor;
|
|
8711
|
+
definition: ObjectConstructor;
|
|
8712
|
+
canUpdateChart: FunctionConstructor;
|
|
8713
|
+
updateChart: FunctionConstructor;
|
|
8406
8714
|
};
|
|
8407
8715
|
protected state: {
|
|
8408
8716
|
index: number;
|
|
@@ -8415,13 +8723,10 @@ declare class SeriesDesignEditor extends Component<Props$17, SpreadsheetChildEnv
|
|
|
8415
8723
|
getDataSeriesLabel(): string | undefined;
|
|
8416
8724
|
}
|
|
8417
8725
|
|
|
8418
|
-
interface Props$
|
|
8419
|
-
|
|
8420
|
-
definition: ChartWithDataSetDefinition;
|
|
8421
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8422
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8726
|
+
interface Props$T extends ChartSidePanelProps<ChartWithDataSetDefinition> {
|
|
8727
|
+
slots?: object;
|
|
8423
8728
|
}
|
|
8424
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8729
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
|
|
8425
8730
|
static template: string;
|
|
8426
8731
|
static components: {
|
|
8427
8732
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8429,16 +8734,17 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$16, Spreadsheet
|
|
|
8429
8734
|
RadioSelection: typeof RadioSelection;
|
|
8430
8735
|
Section: typeof Section;
|
|
8431
8736
|
RoundColorPicker: typeof RoundColorPicker;
|
|
8737
|
+
NumberInput: typeof NumberInput;
|
|
8432
8738
|
};
|
|
8433
8739
|
static props: {
|
|
8434
|
-
chartId: StringConstructor;
|
|
8435
|
-
definition: ObjectConstructor;
|
|
8436
|
-
canUpdateChart: FunctionConstructor;
|
|
8437
|
-
updateChart: FunctionConstructor;
|
|
8438
8740
|
slots: {
|
|
8439
8741
|
type: ObjectConstructor;
|
|
8440
8742
|
optional: boolean;
|
|
8441
8743
|
};
|
|
8744
|
+
chartId: StringConstructor;
|
|
8745
|
+
definition: ObjectConstructor;
|
|
8746
|
+
canUpdateChart: FunctionConstructor;
|
|
8747
|
+
updateChart: FunctionConstructor;
|
|
8442
8748
|
};
|
|
8443
8749
|
axisChoices: {
|
|
8444
8750
|
value: string;
|
|
@@ -8455,44 +8761,34 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$16, Spreadsheet
|
|
|
8455
8761
|
onChangePolynomialDegree(index: number, ev: InputEvent): void;
|
|
8456
8762
|
getMaxPolynomialDegree(index: any): number;
|
|
8457
8763
|
get defaultWindowSize(): number;
|
|
8458
|
-
onChangeMovingAverageWindow(index: number,
|
|
8764
|
+
onChangeMovingAverageWindow(index: number, value: string): void;
|
|
8459
8765
|
getDataSeriesColor(index: number): "" | Color;
|
|
8460
8766
|
getTrendLineColor(index: number): string;
|
|
8461
8767
|
updateTrendLineColor(index: number, color: Color): void;
|
|
8462
8768
|
updateTrendLineValue(index: number, config: any): void;
|
|
8463
8769
|
}
|
|
8464
8770
|
|
|
8465
|
-
interface Props$
|
|
8466
|
-
chartId: UID;
|
|
8467
|
-
definition: ChartWithDataSetDefinition;
|
|
8468
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8469
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8771
|
+
interface Props$S extends ChartSidePanelProps<ChartWithDataSetDefinition> {
|
|
8470
8772
|
defaultValue?: boolean;
|
|
8471
8773
|
}
|
|
8472
|
-
declare class ChartShowValues extends Component<Props$
|
|
8774
|
+
declare class ChartShowValues extends Component<Props$S, SpreadsheetChildEnv> {
|
|
8473
8775
|
static template: string;
|
|
8474
8776
|
static components: {
|
|
8475
8777
|
Checkbox: typeof Checkbox;
|
|
8476
8778
|
};
|
|
8477
8779
|
static props: {
|
|
8478
|
-
chartId: StringConstructor;
|
|
8479
|
-
definition: ObjectConstructor;
|
|
8480
|
-
updateChart: FunctionConstructor;
|
|
8481
|
-
canUpdateChart: FunctionConstructor;
|
|
8482
8780
|
defaultValue: {
|
|
8483
8781
|
type: BooleanConstructor;
|
|
8484
8782
|
optional: boolean;
|
|
8485
8783
|
};
|
|
8784
|
+
chartId: StringConstructor;
|
|
8785
|
+
definition: ObjectConstructor;
|
|
8786
|
+
canUpdateChart: FunctionConstructor;
|
|
8787
|
+
updateChart: FunctionConstructor;
|
|
8486
8788
|
};
|
|
8487
8789
|
}
|
|
8488
8790
|
|
|
8489
|
-
|
|
8490
|
-
chartId: UID;
|
|
8491
|
-
definition: ChartWithDataSetDefinition;
|
|
8492
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8493
|
-
updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8494
|
-
}
|
|
8495
|
-
declare class ChartWithAxisDesignPanel<P extends Props$14 = Props$14> extends Component<P, SpreadsheetChildEnv> {
|
|
8791
|
+
declare class ChartWithAxisDesignPanel<P extends ChartSidePanelProps<ChartWithDataSetDefinition>> extends Component<P, SpreadsheetChildEnv> {
|
|
8496
8792
|
static template: string;
|
|
8497
8793
|
static components: {
|
|
8498
8794
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8513,13 +8809,7 @@ declare class ChartWithAxisDesignPanel<P extends Props$14 = Props$14> extends Co
|
|
|
8513
8809
|
get axesList(): AxisDefinition[];
|
|
8514
8810
|
}
|
|
8515
8811
|
|
|
8516
|
-
|
|
8517
|
-
chartId: UID;
|
|
8518
|
-
definition: GaugeChartDefinition;
|
|
8519
|
-
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8520
|
-
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8521
|
-
}
|
|
8522
|
-
declare class GaugeChartConfigPanel extends Component<Props$13, SpreadsheetChildEnv> {
|
|
8812
|
+
declare class GaugeChartConfigPanel extends Component<ChartSidePanelProps<GaugeChartDefinition>, SpreadsheetChildEnv> {
|
|
8523
8813
|
static template: string;
|
|
8524
8814
|
static components: {
|
|
8525
8815
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8528,8 +8818,8 @@ declare class GaugeChartConfigPanel extends Component<Props$13, SpreadsheetChild
|
|
|
8528
8818
|
static props: {
|
|
8529
8819
|
chartId: StringConstructor;
|
|
8530
8820
|
definition: ObjectConstructor;
|
|
8531
|
-
updateChart: FunctionConstructor;
|
|
8532
8821
|
canUpdateChart: FunctionConstructor;
|
|
8822
|
+
updateChart: FunctionConstructor;
|
|
8533
8823
|
};
|
|
8534
8824
|
private state;
|
|
8535
8825
|
private dataRange;
|
|
@@ -8584,13 +8874,13 @@ interface EnrichedToken extends Token {
|
|
|
8584
8874
|
isInHoverContext?: boolean;
|
|
8585
8875
|
}
|
|
8586
8876
|
|
|
8587
|
-
interface Props$
|
|
8877
|
+
interface Props$R {
|
|
8588
8878
|
proposals: AutoCompleteProposal[];
|
|
8589
8879
|
selectedIndex: number | undefined;
|
|
8590
8880
|
onValueSelected: (value: string) => void;
|
|
8591
8881
|
onValueHovered: (index: string) => void;
|
|
8592
8882
|
}
|
|
8593
|
-
declare class TextValueProvider extends Component<Props$
|
|
8883
|
+
declare class TextValueProvider extends Component<Props$R> {
|
|
8594
8884
|
static template: string;
|
|
8595
8885
|
static props: {
|
|
8596
8886
|
proposals: ArrayConstructor;
|
|
@@ -8647,30 +8937,38 @@ declare class ContentEditableHelper {
|
|
|
8647
8937
|
getText(): string;
|
|
8648
8938
|
}
|
|
8649
8939
|
|
|
8650
|
-
interface Props$
|
|
8940
|
+
interface Props$Q {
|
|
8651
8941
|
functionDescription: FunctionDescription;
|
|
8652
8942
|
argsToFocus: number[];
|
|
8943
|
+
repeatingArgGroupIndex: number | undefined;
|
|
8653
8944
|
}
|
|
8654
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8945
|
+
declare class FunctionDescriptionProvider extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
8655
8946
|
static template: string;
|
|
8656
8947
|
static props: {
|
|
8657
8948
|
functionDescription: ObjectConstructor;
|
|
8658
8949
|
argsToFocus: ArrayConstructor;
|
|
8950
|
+
repeatingArgGroupIndex: {
|
|
8951
|
+
type: NumberConstructor;
|
|
8952
|
+
optional: boolean;
|
|
8953
|
+
};
|
|
8659
8954
|
};
|
|
8660
8955
|
static components: {
|
|
8661
8956
|
Collapse: typeof Collapse;
|
|
8662
8957
|
};
|
|
8663
8958
|
private state;
|
|
8664
8959
|
toggle(): void;
|
|
8665
|
-
getContext(): Props$
|
|
8666
|
-
get
|
|
8960
|
+
getContext(): Props$Q;
|
|
8961
|
+
get formulaHeaderContent(): {
|
|
8962
|
+
content: string;
|
|
8963
|
+
focused?: boolean;
|
|
8964
|
+
}[];
|
|
8667
8965
|
}
|
|
8668
8966
|
|
|
8669
|
-
interface Props$
|
|
8967
|
+
interface Props$P {
|
|
8670
8968
|
anchorRect: Rect;
|
|
8671
8969
|
content: string;
|
|
8672
8970
|
}
|
|
8673
|
-
declare class SpeechBubble extends Component<Props$
|
|
8971
|
+
declare class SpeechBubble extends Component<Props$P, SpreadsheetChildEnv> {
|
|
8674
8972
|
static template: string;
|
|
8675
8973
|
static props: {
|
|
8676
8974
|
content: StringConstructor;
|
|
@@ -8743,8 +9041,6 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
|
8743
9041
|
toggleEditionMode(): void;
|
|
8744
9042
|
hoverToken(tokenIndex: number | undefined): void;
|
|
8745
9043
|
private getRelatedTokens;
|
|
8746
|
-
private evaluationResultToDisplayString;
|
|
8747
|
-
private cellValueToDisplayString;
|
|
8748
9044
|
private captureSelection;
|
|
8749
9045
|
private isSelectionValid;
|
|
8750
9046
|
/**
|
|
@@ -8815,7 +9111,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
|
8815
9111
|
private updateAutoCompleteProvider;
|
|
8816
9112
|
private findAutocompleteProvider;
|
|
8817
9113
|
hideHelp(): void;
|
|
8818
|
-
autoCompleteOrStop(direction: Direction$1): void;
|
|
9114
|
+
autoCompleteOrStop(direction: Direction$1, assistantForcedClosed?: boolean): void;
|
|
8819
9115
|
insertAutoCompleteValue(value: string): void;
|
|
8820
9116
|
selectAutoCompleteIndex(index: number): void;
|
|
8821
9117
|
moveAutoCompleteSelection(direction: "previous" | "next"): void;
|
|
@@ -8856,6 +9152,7 @@ type HtmlContent = {
|
|
|
8856
9152
|
onHover?: (rect: Rect) => void;
|
|
8857
9153
|
onStopHover?: () => void;
|
|
8858
9154
|
color?: Color;
|
|
9155
|
+
opacity?: number;
|
|
8859
9156
|
backgroundColor?: Color;
|
|
8860
9157
|
classes?: string[];
|
|
8861
9158
|
};
|
|
@@ -8882,6 +9179,7 @@ interface FunctionDescriptionState {
|
|
|
8882
9179
|
showDescription: boolean;
|
|
8883
9180
|
functionDescription: FunctionDescription;
|
|
8884
9181
|
argsToFocus: number[];
|
|
9182
|
+
repeatingArgGroupIndex: number | undefined;
|
|
8885
9183
|
}
|
|
8886
9184
|
declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv> {
|
|
8887
9185
|
static template: string;
|
|
@@ -8943,6 +9241,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
8943
9241
|
composerRef: {
|
|
8944
9242
|
el: HTMLElement | null;
|
|
8945
9243
|
};
|
|
9244
|
+
containerRef: {
|
|
9245
|
+
el: HTMLElement | null;
|
|
9246
|
+
};
|
|
8946
9247
|
contentHelper: ContentEditableHelper;
|
|
8947
9248
|
composerState: ComposerState;
|
|
8948
9249
|
functionDescriptionState: FunctionDescriptionState;
|
|
@@ -9016,6 +9317,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
9016
9317
|
* the autocomplete engine otherwise we initialize the formula assistant.
|
|
9017
9318
|
*/
|
|
9018
9319
|
private processTokenAtCursor;
|
|
9320
|
+
private getRepeatingArgGroupIndex;
|
|
9019
9321
|
/**
|
|
9020
9322
|
* Compute the arguments to focus depending on the current value position.
|
|
9021
9323
|
*
|
|
@@ -9081,7 +9383,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
9081
9383
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
9082
9384
|
}
|
|
9083
9385
|
|
|
9084
|
-
interface Props
|
|
9386
|
+
interface Props$O {
|
|
9085
9387
|
onConfirm: (content: string) => void;
|
|
9086
9388
|
composerContent: string;
|
|
9087
9389
|
defaultRangeSheetId: UID;
|
|
@@ -9091,9 +9393,10 @@ interface Props$$ {
|
|
|
9091
9393
|
title?: string;
|
|
9092
9394
|
class?: string;
|
|
9093
9395
|
invalid?: boolean;
|
|
9396
|
+
autofocus?: boolean;
|
|
9094
9397
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9095
9398
|
}
|
|
9096
|
-
declare class StandaloneComposer extends Component<Props
|
|
9399
|
+
declare class StandaloneComposer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9097
9400
|
static template: string;
|
|
9098
9401
|
static props: {
|
|
9099
9402
|
composerContent: {
|
|
@@ -9129,6 +9432,10 @@ declare class StandaloneComposer extends Component<Props$$, SpreadsheetChildEnv>
|
|
|
9129
9432
|
type: BooleanConstructor;
|
|
9130
9433
|
optional: boolean;
|
|
9131
9434
|
};
|
|
9435
|
+
autofocus: {
|
|
9436
|
+
type: BooleanConstructor;
|
|
9437
|
+
optional: boolean;
|
|
9438
|
+
};
|
|
9132
9439
|
getContextualColoredSymbolToken: {
|
|
9133
9440
|
type: FunctionConstructor;
|
|
9134
9441
|
optional: boolean;
|
|
@@ -9156,13 +9463,7 @@ interface PanelState {
|
|
|
9156
9463
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
9157
9464
|
sectionRule: SectionRule;
|
|
9158
9465
|
}
|
|
9159
|
-
|
|
9160
|
-
chartId: UID;
|
|
9161
|
-
definition: GaugeChartDefinition;
|
|
9162
|
-
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9163
|
-
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9164
|
-
}
|
|
9165
|
-
declare class GaugeChartDesignPanel extends Component<Props$_, SpreadsheetChildEnv> {
|
|
9466
|
+
declare class GaugeChartDesignPanel extends Component<ChartSidePanelProps<GaugeChartDefinition>, SpreadsheetChildEnv> {
|
|
9166
9467
|
static template: string;
|
|
9167
9468
|
static components: {
|
|
9168
9469
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -9176,11 +9477,8 @@ declare class GaugeChartDesignPanel extends Component<Props$_, SpreadsheetChildE
|
|
|
9176
9477
|
static props: {
|
|
9177
9478
|
chartId: StringConstructor;
|
|
9178
9479
|
definition: ObjectConstructor;
|
|
9480
|
+
canUpdateChart: FunctionConstructor;
|
|
9179
9481
|
updateChart: FunctionConstructor;
|
|
9180
|
-
canUpdateChart: {
|
|
9181
|
-
type: FunctionConstructor;
|
|
9182
|
-
optional: boolean;
|
|
9183
|
-
};
|
|
9184
9482
|
};
|
|
9185
9483
|
protected state: PanelState;
|
|
9186
9484
|
setup(): void;
|
|
@@ -9213,13 +9511,7 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9213
9511
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9214
9512
|
}
|
|
9215
9513
|
|
|
9216
|
-
|
|
9217
|
-
chartId: UID;
|
|
9218
|
-
definition: ScorecardChartDefinition;
|
|
9219
|
-
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9220
|
-
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9221
|
-
}
|
|
9222
|
-
declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
9514
|
+
declare class ScorecardChartConfigPanel extends Component<ChartSidePanelProps<ScorecardChartDefinition>, SpreadsheetChildEnv> {
|
|
9223
9515
|
static template: string;
|
|
9224
9516
|
static components: {
|
|
9225
9517
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9229,8 +9521,8 @@ declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetCh
|
|
|
9229
9521
|
static props: {
|
|
9230
9522
|
chartId: StringConstructor;
|
|
9231
9523
|
definition: ObjectConstructor;
|
|
9232
|
-
updateChart: FunctionConstructor;
|
|
9233
9524
|
canUpdateChart: FunctionConstructor;
|
|
9525
|
+
updateChart: FunctionConstructor;
|
|
9234
9526
|
};
|
|
9235
9527
|
private state;
|
|
9236
9528
|
private keyValue;
|
|
@@ -9248,13 +9540,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetCh
|
|
|
9248
9540
|
}
|
|
9249
9541
|
|
|
9250
9542
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9251
|
-
|
|
9252
|
-
chartId: UID;
|
|
9253
|
-
definition: ScorecardChartDefinition;
|
|
9254
|
-
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9255
|
-
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9256
|
-
}
|
|
9257
|
-
declare class ScorecardChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
9543
|
+
declare class ScorecardChartDesignPanel extends Component<ChartSidePanelProps<ScorecardChartDefinition>, SpreadsheetChildEnv> {
|
|
9258
9544
|
static template: string;
|
|
9259
9545
|
static components: {
|
|
9260
9546
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9268,11 +9554,8 @@ declare class ScorecardChartDesignPanel extends Component<Props$Y, SpreadsheetCh
|
|
|
9268
9554
|
static props: {
|
|
9269
9555
|
chartId: StringConstructor;
|
|
9270
9556
|
definition: ObjectConstructor;
|
|
9557
|
+
canUpdateChart: FunctionConstructor;
|
|
9271
9558
|
updateChart: FunctionConstructor;
|
|
9272
|
-
canUpdateChart: {
|
|
9273
|
-
type: FunctionConstructor;
|
|
9274
|
-
optional: boolean;
|
|
9275
|
-
};
|
|
9276
9559
|
};
|
|
9277
9560
|
get colorsSectionTitle(): string;
|
|
9278
9561
|
get defaultScorecardTitleFontSize(): number;
|
|
@@ -9299,7 +9582,7 @@ interface ChartSidePanel {
|
|
|
9299
9582
|
*/
|
|
9300
9583
|
interface FigureContent {
|
|
9301
9584
|
Component: any;
|
|
9302
|
-
menuBuilder: (figureId: UID,
|
|
9585
|
+
menuBuilder: (figureId: UID, env: SpreadsheetChildEnv) => Action[];
|
|
9303
9586
|
SidePanelComponent?: string;
|
|
9304
9587
|
keepRatio?: boolean;
|
|
9305
9588
|
minFigSize?: number;
|
|
@@ -9327,7 +9610,7 @@ interface ClosedSidePanel {
|
|
|
9327
9610
|
}
|
|
9328
9611
|
type SidePanelState = OpenSidePanel | ClosedSidePanel;
|
|
9329
9612
|
interface PanelInfo {
|
|
9330
|
-
|
|
9613
|
+
currentPanelProps: SidePanelComponentProps;
|
|
9331
9614
|
componentTag: string;
|
|
9332
9615
|
size: number;
|
|
9333
9616
|
isCollapsed?: boolean;
|
|
@@ -9350,8 +9633,8 @@ declare class SidePanelStore extends SpreadsheetStore {
|
|
|
9350
9633
|
get totalPanelSize(): number;
|
|
9351
9634
|
private getPanelProps;
|
|
9352
9635
|
private getPanelKey;
|
|
9353
|
-
open(componentTag: string,
|
|
9354
|
-
replace(componentTag: string, currentPanelKey: string,
|
|
9636
|
+
open(componentTag: string, currentPanelProps?: SidePanelComponentProps): void;
|
|
9637
|
+
replace(componentTag: string, currentPanelKey: string, currentPanelProps?: SidePanelComponentProps): void;
|
|
9355
9638
|
private _openPanel;
|
|
9356
9639
|
toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
|
|
9357
9640
|
close(): void;
|
|
@@ -9453,11 +9736,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
|
|
|
9453
9736
|
enableAnimationForChart(chartId: UID): string;
|
|
9454
9737
|
}
|
|
9455
9738
|
|
|
9456
|
-
interface Props$
|
|
9739
|
+
interface Props$N {
|
|
9457
9740
|
chartId: UID;
|
|
9458
9741
|
isFullScreen?: boolean;
|
|
9459
9742
|
}
|
|
9460
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9743
|
+
declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9461
9744
|
static template: string;
|
|
9462
9745
|
static props: {
|
|
9463
9746
|
chartId: StringConstructor;
|
|
@@ -9493,11 +9776,11 @@ declare class ChartJsComponent extends Component<Props$X, SpreadsheetChildEnv> {
|
|
|
9493
9776
|
get animationChartId(): string;
|
|
9494
9777
|
}
|
|
9495
9778
|
|
|
9496
|
-
interface Props$
|
|
9779
|
+
interface Props$M {
|
|
9497
9780
|
chartId: UID;
|
|
9498
9781
|
isFullScreen?: Boolean;
|
|
9499
9782
|
}
|
|
9500
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9783
|
+
declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9501
9784
|
static template: string;
|
|
9502
9785
|
static props: {
|
|
9503
9786
|
chartId: StringConstructor;
|
|
@@ -9571,14 +9854,14 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9571
9854
|
getName(menu: Action): string;
|
|
9572
9855
|
isRoot(menu: Action): boolean;
|
|
9573
9856
|
private hasVisibleChildren;
|
|
9574
|
-
isEnabled(menu: Action):
|
|
9857
|
+
isEnabled(menu: Action): any;
|
|
9575
9858
|
get menuStyle(): string;
|
|
9576
9859
|
onMouseEnter(menu: Action, ev: PointerEvent): void;
|
|
9577
9860
|
onMouseLeave(menu: Action, ev: PointerEvent): void;
|
|
9578
9861
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9579
9862
|
}
|
|
9580
9863
|
|
|
9581
|
-
interface Props$
|
|
9864
|
+
interface Props$L {
|
|
9582
9865
|
anchorRect: Rect;
|
|
9583
9866
|
popoverPositioning: PopoverPropsPosition;
|
|
9584
9867
|
menuItems: Action[];
|
|
@@ -9598,7 +9881,7 @@ interface MenuState {
|
|
|
9598
9881
|
menuItems: Action[];
|
|
9599
9882
|
isHoveringChild?: boolean;
|
|
9600
9883
|
}
|
|
9601
|
-
declare class MenuPopover extends Component<Props$
|
|
9884
|
+
declare class MenuPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9602
9885
|
static template: string;
|
|
9603
9886
|
static props: {
|
|
9604
9887
|
anchorRect: ObjectConstructor;
|
|
@@ -9678,15 +9961,14 @@ declare class MenuPopover extends Component<Props$V, SpreadsheetChildEnv> {
|
|
|
9678
9961
|
}
|
|
9679
9962
|
|
|
9680
9963
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9681
|
-
interface Props$
|
|
9964
|
+
interface Props$K {
|
|
9682
9965
|
figureUI: FigureUI;
|
|
9683
9966
|
style: string;
|
|
9684
9967
|
class: string;
|
|
9685
|
-
onFigureDeleted: () => void;
|
|
9686
9968
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9687
9969
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9688
9970
|
}
|
|
9689
|
-
declare class FigureComponent extends Component<Props$
|
|
9971
|
+
declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9690
9972
|
static template: string;
|
|
9691
9973
|
static props: {
|
|
9692
9974
|
figureUI: ObjectConstructor;
|
|
@@ -9698,10 +9980,6 @@ declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9698
9980
|
type: StringConstructor;
|
|
9699
9981
|
optional: boolean;
|
|
9700
9982
|
};
|
|
9701
|
-
onFigureDeleted: {
|
|
9702
|
-
type: FunctionConstructor;
|
|
9703
|
-
optional: boolean;
|
|
9704
|
-
};
|
|
9705
9983
|
onMouseDown: {
|
|
9706
9984
|
type: FunctionConstructor;
|
|
9707
9985
|
optional: boolean;
|
|
@@ -9715,7 +9993,6 @@ declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9715
9993
|
MenuPopover: typeof MenuPopover;
|
|
9716
9994
|
};
|
|
9717
9995
|
static defaultProps: {
|
|
9718
|
-
onFigureDeleted: () => void;
|
|
9719
9996
|
onMouseDown: () => void;
|
|
9720
9997
|
onClickAnchor: () => void;
|
|
9721
9998
|
};
|
|
@@ -9742,7 +10019,7 @@ declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
|
|
|
9742
10019
|
editWrapperStyle(properties: CSSProperties): void;
|
|
9743
10020
|
}
|
|
9744
10021
|
|
|
9745
|
-
interface Props$
|
|
10022
|
+
interface Props$J {
|
|
9746
10023
|
chartId: UID;
|
|
9747
10024
|
hasFullScreenButton: boolean;
|
|
9748
10025
|
}
|
|
@@ -9753,7 +10030,7 @@ interface MenuItem {
|
|
|
9753
10030
|
onClick: () => void;
|
|
9754
10031
|
preview?: string;
|
|
9755
10032
|
}
|
|
9756
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
10033
|
+
declare class ChartDashboardMenu extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9757
10034
|
static template: string;
|
|
9758
10035
|
static components: {
|
|
9759
10036
|
MenuPopover: typeof MenuPopover;
|
|
@@ -9777,18 +10054,16 @@ declare class ChartDashboardMenu extends Component<Props$T, SpreadsheetChildEnv>
|
|
|
9777
10054
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9778
10055
|
}
|
|
9779
10056
|
|
|
9780
|
-
interface Props$
|
|
10057
|
+
interface Props$I {
|
|
9781
10058
|
figureUI: FigureUI;
|
|
9782
|
-
onFigureDeleted: () => void;
|
|
9783
10059
|
editFigureStyle?: (properties: CSSProperties) => void;
|
|
9784
10060
|
isFullScreen?: boolean;
|
|
9785
10061
|
openContextMenu?: (anchorRect: Rect, onClose?: () => void) => void;
|
|
9786
10062
|
}
|
|
9787
|
-
declare class ChartFigure extends Component<Props$
|
|
10063
|
+
declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9788
10064
|
static template: string;
|
|
9789
10065
|
static props: {
|
|
9790
10066
|
figureUI: ObjectConstructor;
|
|
9791
|
-
onFigureDeleted: FunctionConstructor;
|
|
9792
10067
|
editFigureStyle: {
|
|
9793
10068
|
type: FunctionConstructor;
|
|
9794
10069
|
optional: boolean;
|
|
@@ -9813,19 +10088,15 @@ declare class ChartFigure extends Component<Props$S, SpreadsheetChildEnv> {
|
|
|
9813
10088
|
|
|
9814
10089
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9815
10090
|
|
|
9816
|
-
interface Props$
|
|
10091
|
+
interface Props$H {
|
|
9817
10092
|
isVisible: boolean;
|
|
9818
|
-
position:
|
|
9819
|
-
}
|
|
9820
|
-
interface Position {
|
|
9821
|
-
top: HeaderIndex;
|
|
9822
|
-
left: HeaderIndex;
|
|
10093
|
+
position: DOMCoordinates;
|
|
9823
10094
|
}
|
|
9824
10095
|
interface State$4 {
|
|
9825
|
-
position:
|
|
10096
|
+
position: DOMCoordinates;
|
|
9826
10097
|
handler: boolean;
|
|
9827
10098
|
}
|
|
9828
|
-
declare class Autofill extends Component<Props$
|
|
10099
|
+
declare class Autofill extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9829
10100
|
static template: string;
|
|
9830
10101
|
static props: {
|
|
9831
10102
|
position: ObjectConstructor;
|
|
@@ -9865,7 +10136,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9865
10136
|
get tagStyle(): string;
|
|
9866
10137
|
}
|
|
9867
10138
|
|
|
9868
|
-
interface Props$
|
|
10139
|
+
interface Props$G {
|
|
9869
10140
|
gridDims: DOMDimension;
|
|
9870
10141
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9871
10142
|
}
|
|
@@ -9873,7 +10144,7 @@ interface Props$Q {
|
|
|
9873
10144
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9874
10145
|
* It also applies the style of the cell to the composer input.
|
|
9875
10146
|
*/
|
|
9876
|
-
declare class GridComposer extends Component<Props$
|
|
10147
|
+
declare class GridComposer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9877
10148
|
static template: string;
|
|
9878
10149
|
static props: {
|
|
9879
10150
|
gridDims: ObjectConstructor;
|
|
@@ -9917,8 +10188,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9917
10188
|
}
|
|
9918
10189
|
|
|
9919
10190
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9920
|
-
interface Props$
|
|
9921
|
-
onFigureDeleted: () => void;
|
|
10191
|
+
interface Props$F {
|
|
9922
10192
|
}
|
|
9923
10193
|
interface Container {
|
|
9924
10194
|
type: ContainerType;
|
|
@@ -9998,11 +10268,9 @@ interface DndState {
|
|
|
9998
10268
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9999
10269
|
*
|
|
10000
10270
|
*/
|
|
10001
|
-
declare class FiguresContainer extends Component<Props$
|
|
10271
|
+
declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10002
10272
|
static template: string;
|
|
10003
|
-
static props: {
|
|
10004
|
-
onFigureDeleted: FunctionConstructor;
|
|
10005
|
-
};
|
|
10273
|
+
static props: {};
|
|
10006
10274
|
static components: {
|
|
10007
10275
|
FigureComponent: typeof FigureComponent;
|
|
10008
10276
|
};
|
|
@@ -10036,17 +10304,15 @@ declare class FiguresContainer extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
10036
10304
|
private getCarouselOverlappingChart;
|
|
10037
10305
|
}
|
|
10038
10306
|
|
|
10039
|
-
interface Props$
|
|
10040
|
-
focusGrid: () => void;
|
|
10307
|
+
interface Props$E {
|
|
10041
10308
|
}
|
|
10042
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
10309
|
+
declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10043
10310
|
static template: string;
|
|
10044
|
-
static props: {
|
|
10045
|
-
focusGrid: FunctionConstructor;
|
|
10046
|
-
};
|
|
10311
|
+
static props: {};
|
|
10047
10312
|
static components: {
|
|
10048
10313
|
ValidationMessages: typeof ValidationMessages;
|
|
10049
10314
|
};
|
|
10315
|
+
private DOMFocusableElementStore;
|
|
10050
10316
|
inputRef: {
|
|
10051
10317
|
el: HTMLInputElement | null;
|
|
10052
10318
|
};
|
|
@@ -10061,22 +10327,30 @@ declare class GridAddRowsFooter extends Component<Props$O, SpreadsheetChildEnv>
|
|
|
10061
10327
|
onInput(ev: InputEvent): void;
|
|
10062
10328
|
onConfirm(): void;
|
|
10063
10329
|
private onExternalClick;
|
|
10330
|
+
private focusDefaultElement;
|
|
10064
10331
|
}
|
|
10065
10332
|
|
|
10066
|
-
|
|
10333
|
+
type ZoomedMouseEvent<T extends MouseEvent | PointerEvent> = {
|
|
10334
|
+
clientX: Pixel;
|
|
10335
|
+
clientY: Pixel;
|
|
10336
|
+
offsetX: Pixel;
|
|
10337
|
+
offsetY: Pixel;
|
|
10338
|
+
ev: T;
|
|
10339
|
+
};
|
|
10340
|
+
|
|
10341
|
+
interface Props$D {
|
|
10067
10342
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
10068
|
-
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers,
|
|
10343
|
+
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, zoomedMouseEvent: ZoomedMouseEvent<MouseEvent | PointerEvent>) => void;
|
|
10069
10344
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
10070
10345
|
onGridResized: (dimension: Rect) => void;
|
|
10071
10346
|
onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
|
|
10072
10347
|
gridOverlayDimensions: string;
|
|
10073
|
-
onFigureDeleted: () => void;
|
|
10074
10348
|
getGridSize: () => {
|
|
10075
10349
|
width: number;
|
|
10076
10350
|
height: number;
|
|
10077
10351
|
};
|
|
10078
10352
|
}
|
|
10079
|
-
declare class GridOverlay extends Component<Props$
|
|
10353
|
+
declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10080
10354
|
static template: string;
|
|
10081
10355
|
static props: {
|
|
10082
10356
|
onCellDoubleClicked: {
|
|
@@ -10095,10 +10369,6 @@ declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
10095
10369
|
type: FunctionConstructor;
|
|
10096
10370
|
optional: boolean;
|
|
10097
10371
|
};
|
|
10098
|
-
onFigureDeleted: {
|
|
10099
|
-
type: FunctionConstructor;
|
|
10100
|
-
optional: boolean;
|
|
10101
|
-
};
|
|
10102
10372
|
onGridMoved: FunctionConstructor;
|
|
10103
10373
|
gridOverlayDimensions: StringConstructor;
|
|
10104
10374
|
slots: {
|
|
@@ -10116,7 +10386,6 @@ declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
10116
10386
|
onCellClicked: () => void;
|
|
10117
10387
|
onCellRightClicked: () => void;
|
|
10118
10388
|
onGridResized: () => void;
|
|
10119
|
-
onFigureDeleted: () => void;
|
|
10120
10389
|
};
|
|
10121
10390
|
private gridOverlay;
|
|
10122
10391
|
private cellPopovers;
|
|
@@ -10129,19 +10398,19 @@ declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
10129
10398
|
onPointerMove(ev: MouseEvent): void;
|
|
10130
10399
|
onPointerDown(ev: PointerEvent): void;
|
|
10131
10400
|
onClick(ev: MouseEvent): void;
|
|
10132
|
-
onCellClicked(
|
|
10401
|
+
onCellClicked(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent | PointerEvent>): void;
|
|
10133
10402
|
onDoubleClick(ev: MouseEvent): void;
|
|
10134
10403
|
onContextMenu(ev: MouseEvent): void;
|
|
10135
10404
|
private getCartesianCoordinates;
|
|
10136
10405
|
private getInteractiveIconAtEvent;
|
|
10137
10406
|
}
|
|
10138
10407
|
|
|
10139
|
-
interface Props$
|
|
10408
|
+
interface Props$C {
|
|
10140
10409
|
gridRect: Rect;
|
|
10141
10410
|
onClosePopover: () => void;
|
|
10142
10411
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10143
10412
|
}
|
|
10144
|
-
declare class GridPopover extends Component<Props$
|
|
10413
|
+
declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10145
10414
|
static template: string;
|
|
10146
10415
|
static props: {
|
|
10147
10416
|
onClosePopover: FunctionConstructor;
|
|
@@ -10156,7 +10425,7 @@ declare class GridPopover extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
10156
10425
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10157
10426
|
}
|
|
10158
10427
|
|
|
10159
|
-
interface Props$
|
|
10428
|
+
interface Props$B {
|
|
10160
10429
|
headersGroups: ConsecutiveIndexes[];
|
|
10161
10430
|
offset: number;
|
|
10162
10431
|
headerRange: {
|
|
@@ -10164,7 +10433,7 @@ interface Props$L {
|
|
|
10164
10433
|
end: HeaderIndex;
|
|
10165
10434
|
};
|
|
10166
10435
|
}
|
|
10167
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10436
|
+
declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10168
10437
|
static template: string;
|
|
10169
10438
|
static props: {
|
|
10170
10439
|
headersGroups: ArrayConstructor;
|
|
@@ -10183,7 +10452,7 @@ declare class UnhideRowHeaders extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10183
10452
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
10184
10453
|
isVisible(header: HeaderIndex): boolean;
|
|
10185
10454
|
}
|
|
10186
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10455
|
+
declare class UnhideColumnHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10187
10456
|
static template: string;
|
|
10188
10457
|
static props: {
|
|
10189
10458
|
headersGroups: ArrayConstructor;
|
|
@@ -10236,9 +10505,9 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
|
|
|
10236
10505
|
clientY: number;
|
|
10237
10506
|
}, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: DnDDirection) => void;
|
|
10238
10507
|
};
|
|
10239
|
-
abstract _getEvOffset(
|
|
10508
|
+
abstract _getEvOffset(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): Pixel;
|
|
10240
10509
|
abstract _getViewportOffset(): Pixel;
|
|
10241
|
-
abstract _getClientPosition(
|
|
10510
|
+
abstract _getClientPosition(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): Pixel;
|
|
10242
10511
|
abstract _getElementIndex(position: Pixel): HeaderIndex;
|
|
10243
10512
|
abstract _getSelectedZoneStart(): HeaderIndex;
|
|
10244
10513
|
abstract _getSelectedZoneEnd(): HeaderIndex;
|
|
@@ -10255,9 +10524,9 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
|
|
|
10255
10524
|
abstract _getActiveElements(): Set<HeaderIndex>;
|
|
10256
10525
|
abstract _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
|
|
10257
10526
|
setup(): void;
|
|
10258
|
-
_computeHandleDisplay(
|
|
10259
|
-
_computeGrabDisplay(
|
|
10260
|
-
onMouseMove(ev:
|
|
10527
|
+
_computeHandleDisplay(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): void;
|
|
10528
|
+
_computeGrabDisplay(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): void;
|
|
10529
|
+
onMouseMove(ev: MouseEvent): void;
|
|
10261
10530
|
onMouseLeave(): void;
|
|
10262
10531
|
onDblClick(ev: MouseEvent): void;
|
|
10263
10532
|
onMouseDown(ev: MouseEvent): void;
|
|
@@ -10265,7 +10534,6 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
|
|
|
10265
10534
|
select(ev: PointerEvent): void;
|
|
10266
10535
|
private startMovement;
|
|
10267
10536
|
private startSelection;
|
|
10268
|
-
onMouseUp(ev: MouseEvent): void;
|
|
10269
10537
|
onContextMenu(ev: MouseEvent): void;
|
|
10270
10538
|
}
|
|
10271
10539
|
declare class ColResizer extends AbstractResizer {
|
|
@@ -10279,9 +10547,9 @@ declare class ColResizer extends AbstractResizer {
|
|
|
10279
10547
|
private colResizerRef;
|
|
10280
10548
|
setup(): void;
|
|
10281
10549
|
get sheetId(): UID;
|
|
10282
|
-
_getEvOffset(
|
|
10550
|
+
_getEvOffset(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): Pixel;
|
|
10283
10551
|
_getViewportOffset(): Pixel;
|
|
10284
|
-
_getClientPosition(
|
|
10552
|
+
_getClientPosition(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): Pixel;
|
|
10285
10553
|
_getElementIndex(position: Pixel): HeaderIndex;
|
|
10286
10554
|
_getSelectedZoneStart(): HeaderIndex;
|
|
10287
10555
|
_getSelectedZoneEnd(): HeaderIndex;
|
|
@@ -10327,9 +10595,9 @@ declare class RowResizer extends AbstractResizer {
|
|
|
10327
10595
|
setup(): void;
|
|
10328
10596
|
private rowResizerRef;
|
|
10329
10597
|
get sheetId(): UID;
|
|
10330
|
-
_getEvOffset(
|
|
10598
|
+
_getEvOffset(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): Pixel;
|
|
10331
10599
|
_getViewportOffset(): Pixel;
|
|
10332
|
-
_getClientPosition(
|
|
10600
|
+
_getClientPosition(zoomedMouseEvent: ZoomedMouseEvent<MouseEvent>): Pixel;
|
|
10333
10601
|
_getElementIndex(position: Pixel): HeaderIndex;
|
|
10334
10602
|
_getSelectedZoneStart(): HeaderIndex;
|
|
10335
10603
|
_getSelectedZoneEnd(): HeaderIndex;
|
|
@@ -10376,13 +10644,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10376
10644
|
}
|
|
10377
10645
|
|
|
10378
10646
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10379
|
-
interface Props$
|
|
10647
|
+
interface Props$A {
|
|
10380
10648
|
zone: Zone;
|
|
10381
10649
|
orientation: Orientation$1;
|
|
10382
10650
|
isMoving: boolean;
|
|
10383
10651
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10384
10652
|
}
|
|
10385
|
-
declare class Border extends Component<Props$
|
|
10653
|
+
declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10386
10654
|
static template: string;
|
|
10387
10655
|
static props: {
|
|
10388
10656
|
zone: ObjectConstructor;
|
|
@@ -10395,14 +10663,14 @@ declare class Border extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
10395
10663
|
}
|
|
10396
10664
|
|
|
10397
10665
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10398
|
-
interface Props$
|
|
10666
|
+
interface Props$z {
|
|
10399
10667
|
zone: Zone;
|
|
10400
10668
|
color: Color;
|
|
10401
10669
|
orientation: Orientation;
|
|
10402
10670
|
isResizing: boolean;
|
|
10403
10671
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10404
10672
|
}
|
|
10405
|
-
declare class Corner extends Component<Props$
|
|
10673
|
+
declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10406
10674
|
static template: string;
|
|
10407
10675
|
static props: {
|
|
10408
10676
|
zone: ObjectConstructor;
|
|
@@ -10451,7 +10719,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10451
10719
|
|
|
10452
10720
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10453
10721
|
|
|
10454
|
-
interface Props$
|
|
10722
|
+
interface Props$y {
|
|
10455
10723
|
width: Pixel;
|
|
10456
10724
|
height: Pixel;
|
|
10457
10725
|
direction: ScrollDirection;
|
|
@@ -10459,7 +10727,7 @@ interface Props$I {
|
|
|
10459
10727
|
offset: Pixel;
|
|
10460
10728
|
onScroll: (offset: Pixel) => void;
|
|
10461
10729
|
}
|
|
10462
|
-
declare class ScrollBar extends Component<Props$
|
|
10730
|
+
declare class ScrollBar extends Component<Props$y> {
|
|
10463
10731
|
static props: {
|
|
10464
10732
|
width: {
|
|
10465
10733
|
type: NumberConstructor;
|
|
@@ -10487,10 +10755,10 @@ declare class ScrollBar extends Component<Props$I> {
|
|
|
10487
10755
|
onScroll(ev: any): void;
|
|
10488
10756
|
}
|
|
10489
10757
|
|
|
10490
|
-
interface Props$
|
|
10758
|
+
interface Props$x {
|
|
10491
10759
|
leftOffset: number;
|
|
10492
10760
|
}
|
|
10493
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10761
|
+
declare class HorizontalScrollBar extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10494
10762
|
static props: {
|
|
10495
10763
|
leftOffset: {
|
|
10496
10764
|
type: NumberConstructor;
|
|
@@ -10516,10 +10784,10 @@ declare class HorizontalScrollBar extends Component<Props$H, SpreadsheetChildEnv
|
|
|
10516
10784
|
onScroll(offset: any): void;
|
|
10517
10785
|
}
|
|
10518
10786
|
|
|
10519
|
-
interface Props$
|
|
10787
|
+
interface Props$w {
|
|
10520
10788
|
topOffset: number;
|
|
10521
10789
|
}
|
|
10522
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10790
|
+
declare class VerticalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10523
10791
|
static props: {
|
|
10524
10792
|
topOffset: {
|
|
10525
10793
|
type: NumberConstructor;
|
|
@@ -10554,13 +10822,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10554
10822
|
get highlightProps(): HighlightProps;
|
|
10555
10823
|
}
|
|
10556
10824
|
|
|
10557
|
-
interface Props$
|
|
10825
|
+
interface Props$v {
|
|
10558
10826
|
table: Table;
|
|
10559
10827
|
}
|
|
10560
10828
|
interface State$3 {
|
|
10561
10829
|
highlightZone: Zone | undefined;
|
|
10562
10830
|
}
|
|
10563
|
-
declare class TableResizer extends Component<Props$
|
|
10831
|
+
declare class TableResizer extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10564
10832
|
static template: string;
|
|
10565
10833
|
static props: {
|
|
10566
10834
|
table: ObjectConstructor;
|
|
@@ -10589,11 +10857,11 @@ declare class TableResizer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
10589
10857
|
* - a vertical resizer (same, for rows)
|
|
10590
10858
|
*/
|
|
10591
10859
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10592
|
-
interface Props$
|
|
10860
|
+
interface Props$u {
|
|
10593
10861
|
exposeFocus: (focus: () => void) => void;
|
|
10594
10862
|
getGridSize: () => DOMDimension;
|
|
10595
10863
|
}
|
|
10596
|
-
declare class Grid extends Component<Props$
|
|
10864
|
+
declare class Grid extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10597
10865
|
static template: string;
|
|
10598
10866
|
static props: {
|
|
10599
10867
|
exposeFocus: FunctionConstructor;
|
|
@@ -10641,8 +10909,8 @@ declare class Grid extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
10641
10909
|
focusDefaultElement(): void;
|
|
10642
10910
|
get gridEl(): HTMLElement;
|
|
10643
10911
|
getAutofillPosition(): {
|
|
10644
|
-
|
|
10645
|
-
|
|
10912
|
+
x: number;
|
|
10913
|
+
y: number;
|
|
10646
10914
|
};
|
|
10647
10915
|
get isAutofillVisible(): boolean;
|
|
10648
10916
|
onGridResized({ height, width }: DOMDimension): void;
|
|
@@ -10652,12 +10920,15 @@ declare class Grid extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
10652
10920
|
isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
|
|
10653
10921
|
get focusedClients(): Set<string>;
|
|
10654
10922
|
private getGridRect;
|
|
10655
|
-
onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers,
|
|
10923
|
+
onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, zoomedMouseEvent: ZoomedMouseEvent<PointerEvent>): void;
|
|
10656
10924
|
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
|
|
10657
10925
|
processArrows(ev: KeyboardEvent): void;
|
|
10658
10926
|
onKeydown(ev: KeyboardEvent): void;
|
|
10659
10927
|
onInputContextMenu(ev: MouseEvent): void;
|
|
10660
10928
|
onCellRightClicked(col: HeaderIndex, row: HeaderIndex, { x, y }: DOMCoordinates): void;
|
|
10929
|
+
/**
|
|
10930
|
+
* expects x and y coordinates in true pixels (not zoomed)
|
|
10931
|
+
*/
|
|
10661
10932
|
toggleContextMenu(type: ContextMenuType, x: Pixel, y: Pixel): void;
|
|
10662
10933
|
copy(cut: boolean, ev: ClipboardEvent): Promise<void>;
|
|
10663
10934
|
paste(ev: ClipboardEvent): Promise<void>;
|
|
@@ -10709,7 +10980,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10709
10980
|
private getChartDefinitionFromContextCreation;
|
|
10710
10981
|
}
|
|
10711
10982
|
|
|
10712
|
-
interface Props$
|
|
10983
|
+
interface Props$t {
|
|
10713
10984
|
chartId: UID;
|
|
10714
10985
|
chartPanelStore: MainChartPanelStore;
|
|
10715
10986
|
}
|
|
@@ -10717,7 +10988,7 @@ interface ChartTypePickerState {
|
|
|
10717
10988
|
popoverProps: PopoverProps | undefined;
|
|
10718
10989
|
popoverStyle: string;
|
|
10719
10990
|
}
|
|
10720
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10991
|
+
declare class ChartTypePicker extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10721
10992
|
static template: string;
|
|
10722
10993
|
static components: {
|
|
10723
10994
|
Section: typeof Section;
|
|
@@ -10753,11 +11024,11 @@ declare class ChartTypePicker extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
10753
11024
|
private closePopover;
|
|
10754
11025
|
}
|
|
10755
11026
|
|
|
10756
|
-
interface Props$
|
|
11027
|
+
interface Props$s {
|
|
10757
11028
|
onCloseSidePanel: () => void;
|
|
10758
11029
|
chartId: UID;
|
|
10759
11030
|
}
|
|
10760
|
-
declare class ChartPanel extends Component<Props$
|
|
11031
|
+
declare class ChartPanel extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10761
11032
|
static template: string;
|
|
10762
11033
|
static components: {
|
|
10763
11034
|
Section: typeof Section;
|
|
@@ -10780,30 +11051,24 @@ declare class ChartPanel extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
10780
11051
|
private getChartDefinition;
|
|
10781
11052
|
}
|
|
10782
11053
|
|
|
10783
|
-
interface Props$
|
|
11054
|
+
interface Props$r {
|
|
10784
11055
|
onValueChange: (value: number) => void;
|
|
10785
11056
|
value: number;
|
|
10786
11057
|
}
|
|
10787
|
-
declare class PieHoleSize extends Component<Props$
|
|
11058
|
+
declare class PieHoleSize extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10788
11059
|
static template: string;
|
|
10789
11060
|
static components: {
|
|
10790
11061
|
Section: typeof Section;
|
|
11062
|
+
NumberInput: typeof NumberInput;
|
|
10791
11063
|
};
|
|
10792
11064
|
static props: {
|
|
10793
11065
|
onValueChange: FunctionConstructor;
|
|
10794
11066
|
value: NumberConstructor;
|
|
10795
11067
|
};
|
|
10796
|
-
debouncedOnChange: DebouncedFunction<(value: string) => void>;
|
|
10797
11068
|
onChange(value: string): void;
|
|
10798
11069
|
}
|
|
10799
11070
|
|
|
10800
|
-
|
|
10801
|
-
chartId: UID;
|
|
10802
|
-
definition: PieChartDefinition;
|
|
10803
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10804
|
-
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10805
|
-
}
|
|
10806
|
-
declare class PieChartDesignPanel extends Component<Props$A, SpreadsheetChildEnv> {
|
|
11071
|
+
declare class PieChartDesignPanel extends Component<ChartSidePanelProps<PieChartDefinition>, SpreadsheetChildEnv> {
|
|
10807
11072
|
static template: string;
|
|
10808
11073
|
static components: {
|
|
10809
11074
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10817,20 +11082,17 @@ declare class PieChartDesignPanel extends Component<Props$A, SpreadsheetChildEnv
|
|
|
10817
11082
|
static props: {
|
|
10818
11083
|
chartId: StringConstructor;
|
|
10819
11084
|
definition: ObjectConstructor;
|
|
11085
|
+
canUpdateChart: FunctionConstructor;
|
|
10820
11086
|
updateChart: FunctionConstructor;
|
|
10821
|
-
canUpdateChart: {
|
|
10822
|
-
type: FunctionConstructor;
|
|
10823
|
-
optional: boolean;
|
|
10824
|
-
};
|
|
10825
11087
|
};
|
|
10826
11088
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
10827
11089
|
get defaultHoleSize(): number;
|
|
10828
11090
|
}
|
|
10829
11091
|
|
|
10830
|
-
interface Props$
|
|
11092
|
+
interface Props$q {
|
|
10831
11093
|
items: ActionSpec[];
|
|
10832
11094
|
}
|
|
10833
|
-
declare class CogWheelMenu extends Component<Props$
|
|
11095
|
+
declare class CogWheelMenu extends Component<Props$q, SpreadsheetChildEnv> {
|
|
10834
11096
|
static template: string;
|
|
10835
11097
|
static components: {
|
|
10836
11098
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10913,14 +11175,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10913
11175
|
get highlights(): Highlight$1[];
|
|
10914
11176
|
}
|
|
10915
11177
|
|
|
10916
|
-
interface Props$
|
|
11178
|
+
interface Props$p {
|
|
10917
11179
|
deferUpdate: boolean;
|
|
10918
11180
|
isDirty: boolean;
|
|
10919
11181
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10920
11182
|
discard: () => void;
|
|
10921
11183
|
apply: () => void;
|
|
10922
11184
|
}
|
|
10923
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
11185
|
+
declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
|
|
10924
11186
|
static template: string;
|
|
10925
11187
|
static props: {
|
|
10926
11188
|
deferUpdate: BooleanConstructor;
|
|
@@ -10937,11 +11199,11 @@ declare class PivotDeferUpdate extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
10937
11199
|
get deferUpdatesTooltip(): string;
|
|
10938
11200
|
}
|
|
10939
11201
|
|
|
10940
|
-
interface Props$
|
|
11202
|
+
interface Props$o {
|
|
10941
11203
|
onFieldPicked: (field: string) => void;
|
|
10942
11204
|
fields: PivotField[];
|
|
10943
11205
|
}
|
|
10944
|
-
declare class AddDimensionButton extends Component<Props$
|
|
11206
|
+
declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv> {
|
|
10945
11207
|
static template: string;
|
|
10946
11208
|
static components: {
|
|
10947
11209
|
Popover: typeof Popover;
|
|
@@ -10977,57 +11239,13 @@ declare class AddDimensionButton extends Component<Props$x, SpreadsheetChildEnv>
|
|
|
10977
11239
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10978
11240
|
}
|
|
10979
11241
|
|
|
10980
|
-
interface Props$
|
|
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
|
-
interface Props$v {
|
|
11242
|
+
interface Props$n {
|
|
11025
11243
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
11026
11244
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
11027
11245
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
11028
11246
|
type: "row" | "col" | "measure";
|
|
11029
11247
|
}
|
|
11030
|
-
declare class PivotDimension extends Component<Props$
|
|
11248
|
+
declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
|
|
11031
11249
|
static template: string;
|
|
11032
11250
|
static props: {
|
|
11033
11251
|
dimension: ObjectConstructor;
|
|
@@ -11051,13 +11269,13 @@ declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
11051
11269
|
updateName(name: string): void;
|
|
11052
11270
|
}
|
|
11053
11271
|
|
|
11054
|
-
interface Props$
|
|
11272
|
+
interface Props$m {
|
|
11055
11273
|
dimension: PivotDimension$1;
|
|
11056
11274
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11057
11275
|
availableGranularities: Set<string>;
|
|
11058
11276
|
allGranularities: string[];
|
|
11059
11277
|
}
|
|
11060
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
11278
|
+
declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetChildEnv> {
|
|
11061
11279
|
static template: string;
|
|
11062
11280
|
static props: {
|
|
11063
11281
|
dimension: ObjectConstructor;
|
|
@@ -11082,11 +11300,11 @@ declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetCh
|
|
|
11082
11300
|
};
|
|
11083
11301
|
}
|
|
11084
11302
|
|
|
11085
|
-
interface Props$
|
|
11303
|
+
interface Props$l {
|
|
11086
11304
|
dimension: PivotDimension$1;
|
|
11087
11305
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
11088
11306
|
}
|
|
11089
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
11307
|
+
declare class PivotDimensionOrder extends Component<Props$l, SpreadsheetChildEnv> {
|
|
11090
11308
|
static template: string;
|
|
11091
11309
|
static props: {
|
|
11092
11310
|
dimension: ObjectConstructor;
|
|
@@ -11123,12 +11341,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
|
|
|
11123
11341
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
11124
11342
|
declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
|
|
11125
11343
|
|
|
11126
|
-
interface Props$
|
|
11344
|
+
interface Props$k {
|
|
11127
11345
|
pivotId: UID;
|
|
11128
11346
|
customField: PivotCustomGroupedField;
|
|
11129
11347
|
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11130
11348
|
}
|
|
11131
|
-
declare class PivotCustomGroupsCollapsible extends Component<Props$
|
|
11349
|
+
declare class PivotCustomGroupsCollapsible extends Component<Props$k, SpreadsheetChildEnv> {
|
|
11132
11350
|
static template: string;
|
|
11133
11351
|
static props: {
|
|
11134
11352
|
pivotId: StringConstructor;
|
|
@@ -11148,7 +11366,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$s, Spreadshee
|
|
|
11148
11366
|
private updateCustomField;
|
|
11149
11367
|
}
|
|
11150
11368
|
|
|
11151
|
-
interface Props$
|
|
11369
|
+
interface Props$j {
|
|
11152
11370
|
pivotId: string;
|
|
11153
11371
|
definition: PivotRuntimeDefinition;
|
|
11154
11372
|
measure: PivotMeasure;
|
|
@@ -11156,7 +11374,7 @@ interface Props$r {
|
|
|
11156
11374
|
onRemoved: () => void;
|
|
11157
11375
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
11158
11376
|
}
|
|
11159
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
11377
|
+
declare class PivotMeasureEditor extends Component<Props$j> {
|
|
11160
11378
|
static template: string;
|
|
11161
11379
|
static components: {
|
|
11162
11380
|
PivotDimension: typeof PivotDimension;
|
|
@@ -11181,11 +11399,11 @@ declare class PivotMeasureEditor extends Component<Props$r> {
|
|
|
11181
11399
|
get isCalculatedMeasureInvalid(): boolean;
|
|
11182
11400
|
}
|
|
11183
11401
|
|
|
11184
|
-
interface Props$
|
|
11402
|
+
interface Props$i {
|
|
11185
11403
|
definition: PivotRuntimeDefinition;
|
|
11186
11404
|
pivotId: UID;
|
|
11187
11405
|
}
|
|
11188
|
-
declare class PivotSortSection extends Component<Props$
|
|
11406
|
+
declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
|
|
11189
11407
|
static template: string;
|
|
11190
11408
|
static components: {
|
|
11191
11409
|
Section: typeof Section;
|
|
@@ -11202,7 +11420,7 @@ declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
11202
11420
|
}[];
|
|
11203
11421
|
}
|
|
11204
11422
|
|
|
11205
|
-
interface Props$
|
|
11423
|
+
interface Props$h {
|
|
11206
11424
|
definition: PivotRuntimeDefinition;
|
|
11207
11425
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11208
11426
|
unusedGroupableFields: PivotField[];
|
|
@@ -11213,7 +11431,7 @@ interface Props$p {
|
|
|
11213
11431
|
getScrollableContainerEl?: () => HTMLElement;
|
|
11214
11432
|
pivotId: UID;
|
|
11215
11433
|
}
|
|
11216
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
11434
|
+
declare class PivotLayoutConfigurator extends Component<Props$h, SpreadsheetChildEnv> {
|
|
11217
11435
|
static template: string;
|
|
11218
11436
|
static components: {
|
|
11219
11437
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -11310,11 +11528,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11310
11528
|
private areDomainFieldsValid;
|
|
11311
11529
|
}
|
|
11312
11530
|
|
|
11313
|
-
interface Props$
|
|
11531
|
+
interface Props$g {
|
|
11314
11532
|
pivotId: UID;
|
|
11315
11533
|
flipAxis: () => void;
|
|
11316
11534
|
}
|
|
11317
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11535
|
+
declare class PivotTitleSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
11318
11536
|
static template: string;
|
|
11319
11537
|
static components: {
|
|
11320
11538
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11381,11 +11599,11 @@ declare function createEmptySheet(sheetId: UID, name: string): SheetData;
|
|
|
11381
11599
|
declare function createEmptyWorkbookData(sheetName?: string): WorkbookData;
|
|
11382
11600
|
declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetData;
|
|
11383
11601
|
|
|
11384
|
-
interface Props$
|
|
11602
|
+
interface Props$f {
|
|
11385
11603
|
position: CellPosition;
|
|
11386
11604
|
sortDirection: SortDirection | "none";
|
|
11387
11605
|
}
|
|
11388
|
-
declare class ClickableCellSortIcon extends Component<Props$
|
|
11606
|
+
declare class ClickableCellSortIcon extends Component<Props$f, SpreadsheetChildEnv> {
|
|
11389
11607
|
static template: string;
|
|
11390
11608
|
static props: {
|
|
11391
11609
|
position: ObjectConstructor;
|
|
@@ -11409,14 +11627,17 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11409
11627
|
private chartId;
|
|
11410
11628
|
private datasetBoundaries;
|
|
11411
11629
|
private removeEventListeners;
|
|
11630
|
+
private isMasterChartAllowed;
|
|
11412
11631
|
setup(): void;
|
|
11413
11632
|
protected unmount(): void;
|
|
11414
11633
|
get containerStyle(): string;
|
|
11634
|
+
get masterChartContainerStyle(): "" | "opacity: 0.3;";
|
|
11415
11635
|
get sliceable(): boolean;
|
|
11416
11636
|
get axisOffset(): number;
|
|
11417
11637
|
private getMasterChartConfiguration;
|
|
11418
11638
|
private getDetailChartConfiguration;
|
|
11419
11639
|
private getAxisLimitsFromDataset;
|
|
11640
|
+
private setMasterChartCursor;
|
|
11420
11641
|
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
11421
11642
|
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
11422
11643
|
private resetAxesLimits;
|
|
@@ -11425,18 +11646,44 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
|
11425
11646
|
get lowerBound(): number | undefined;
|
|
11426
11647
|
private computePosition;
|
|
11427
11648
|
private computeCoordinate;
|
|
11649
|
+
/**
|
|
11650
|
+
* Compute min and max from the store, adjusting them if needed for non linear scales.
|
|
11651
|
+
* Getting the value from the store, we have to ensure that the values are integers for
|
|
11652
|
+
* non linear scales (bar and category). To select a bar in the chart, we have to include
|
|
11653
|
+
* the whole bar, which means that for the i-th bar, the selected min should be <= i and
|
|
11654
|
+
* the selected max should be >= i, so using the Math.floor and Math.ceil functions is
|
|
11655
|
+
* the right way to do it.
|
|
11656
|
+
* Sometimes, we can get a minimal value > the maximal value, which arise when the user
|
|
11657
|
+
* select a very small area in the master chart, and hasn't selected the middle of a bar
|
|
11658
|
+
* or a group of bars (in case of more than one data series).
|
|
11659
|
+
* Assuming we have to select the middle of a bar/a groupe of bars, we will reject the
|
|
11660
|
+
* coming value afterward. In this case, we do not update the chart because it would lead
|
|
11661
|
+
* to an empty chart.
|
|
11662
|
+
*/
|
|
11663
|
+
private getStoredBoundaries;
|
|
11664
|
+
/**
|
|
11665
|
+
* Adjust the min and max values of an axis if needed for non linear scales.
|
|
11666
|
+
* Here, after rounding (see docstring of getStoredBoundaries), we adjust the min by
|
|
11667
|
+
* substracting the axis offset, and we add it to the max, because when computing from the
|
|
11668
|
+
* scale, chartJs use integer values as the limits for non linear scales. If we have a min
|
|
11669
|
+
* value of 1, it means we want to start displaying from 0.5, and if we have a max value of
|
|
11670
|
+
* 4, it means we want to display until 4.5.
|
|
11671
|
+
* Here, we don't have to check if min > max because we are computing from the scale, and
|
|
11672
|
+
* chartJs ensures that this won't happen, even after our adjustments.
|
|
11673
|
+
*/
|
|
11674
|
+
private adjustBoundaries;
|
|
11428
11675
|
private updateAxisLimits;
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11676
|
+
onMasterChartPointerDown(ev: PointerEvent): void;
|
|
11677
|
+
onMasterChartPointerMove(ev: PointerEvent): void;
|
|
11678
|
+
onMasterChartMouseLeave(ev: PointerEvent): void;
|
|
11679
|
+
onMasterChartDoubleClick(ev: PointerEvent): void;
|
|
11433
11680
|
}
|
|
11434
11681
|
|
|
11435
|
-
interface Props$
|
|
11682
|
+
interface Props$e {
|
|
11436
11683
|
chartId: UID;
|
|
11437
11684
|
isFullScreen?: boolean;
|
|
11438
11685
|
}
|
|
11439
|
-
declare class GaugeChartComponent extends Component<Props$
|
|
11686
|
+
declare class GaugeChartComponent extends Component<Props$e, SpreadsheetChildEnv> {
|
|
11440
11687
|
static template: string;
|
|
11441
11688
|
static props: {
|
|
11442
11689
|
chartId: StringConstructor;
|
|
@@ -11505,7 +11752,7 @@ interface PivotDialogValue {
|
|
|
11505
11752
|
value: string;
|
|
11506
11753
|
isMissing: boolean;
|
|
11507
11754
|
}
|
|
11508
|
-
interface Props$
|
|
11755
|
+
interface Props$d {
|
|
11509
11756
|
pivotId: UID;
|
|
11510
11757
|
onCellClicked: (formula: string) => void;
|
|
11511
11758
|
}
|
|
@@ -11514,7 +11761,7 @@ interface TableData {
|
|
|
11514
11761
|
rows: PivotDialogRow[];
|
|
11515
11762
|
values: PivotDialogValue[][];
|
|
11516
11763
|
}
|
|
11517
|
-
declare class PivotHTMLRenderer extends Component<Props$
|
|
11764
|
+
declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv> {
|
|
11518
11765
|
static template: string;
|
|
11519
11766
|
static components: {
|
|
11520
11767
|
Checkbox: typeof Checkbox;
|
|
@@ -11571,13 +11818,7 @@ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv>
|
|
|
11571
11818
|
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
11572
11819
|
}
|
|
11573
11820
|
|
|
11574
|
-
|
|
11575
|
-
chartId: UID;
|
|
11576
|
-
definition: ChartWithDataSetDefinition;
|
|
11577
|
-
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11578
|
-
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11579
|
-
}
|
|
11580
|
-
declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
|
|
11821
|
+
declare class ChartShowDataMarkers extends Component<ChartSidePanelProps<ChartWithDataSetDefinition>, SpreadsheetChildEnv> {
|
|
11581
11822
|
static template: string;
|
|
11582
11823
|
static components: {
|
|
11583
11824
|
Checkbox: typeof Checkbox;
|
|
@@ -11585,18 +11826,14 @@ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEn
|
|
|
11585
11826
|
static props: {
|
|
11586
11827
|
chartId: StringConstructor;
|
|
11587
11828
|
definition: ObjectConstructor;
|
|
11588
|
-
updateChart: FunctionConstructor;
|
|
11589
11829
|
canUpdateChart: FunctionConstructor;
|
|
11830
|
+
updateChart: FunctionConstructor;
|
|
11590
11831
|
};
|
|
11591
11832
|
}
|
|
11592
11833
|
|
|
11593
|
-
interface Props$
|
|
11594
|
-
chartId: UID;
|
|
11595
|
-
definition: ZoomableChartDefinition;
|
|
11596
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
|
|
11597
|
-
updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
|
|
11834
|
+
interface Props$c extends ChartSidePanelProps<ZoomableChartDefinition> {
|
|
11598
11835
|
}
|
|
11599
|
-
declare class GenericZoomableChartDesignPanel<P extends Props$
|
|
11836
|
+
declare class GenericZoomableChartDesignPanel<P extends Props$c = Props$c> extends ChartWithAxisDesignPanel<P> {
|
|
11600
11837
|
static template: string;
|
|
11601
11838
|
static components: {
|
|
11602
11839
|
Checkbox: typeof Checkbox;
|
|
@@ -11612,13 +11849,7 @@ declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> exten
|
|
|
11612
11849
|
onToggleZoom(zoomable: boolean): void;
|
|
11613
11850
|
}
|
|
11614
11851
|
|
|
11615
|
-
|
|
11616
|
-
chartId: UID;
|
|
11617
|
-
definition: ComboChartDefinition;
|
|
11618
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11619
|
-
updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11620
|
-
}
|
|
11621
|
-
declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
|
|
11852
|
+
declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<ChartSidePanelProps<ComboChartDefinition>> {
|
|
11622
11853
|
static template: string;
|
|
11623
11854
|
static components: {
|
|
11624
11855
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
@@ -11641,13 +11872,7 @@ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Prop
|
|
|
11641
11872
|
getDataSeriesType(index: number): "line" | "bar";
|
|
11642
11873
|
}
|
|
11643
11874
|
|
|
11644
|
-
|
|
11645
|
-
chartId: UID;
|
|
11646
|
-
definition: FunnelChartDefinition;
|
|
11647
|
-
canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11648
|
-
updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11649
|
-
}
|
|
11650
|
-
declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
|
|
11875
|
+
declare class FunnelChartDesignPanel extends Component<ChartSidePanelProps<FunnelChartDefinition>, SpreadsheetChildEnv> {
|
|
11651
11876
|
static template: string;
|
|
11652
11877
|
static components: {
|
|
11653
11878
|
ChartShowValues: typeof ChartShowValues;
|
|
@@ -11670,16 +11895,54 @@ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChild
|
|
|
11670
11895
|
updateFunnelItemColor(index: number, color: string): void;
|
|
11671
11896
|
}
|
|
11672
11897
|
|
|
11673
|
-
interface Props$
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11898
|
+
interface Props$b {
|
|
11899
|
+
definition: {
|
|
11900
|
+
colorScale: ChartColorScale;
|
|
11901
|
+
};
|
|
11902
|
+
onUpdateColorScale: (colorscale: ChartColorScale) => void;
|
|
11903
|
+
}
|
|
11904
|
+
interface ColorScalePickerState {
|
|
11905
|
+
popoverProps: PopoverProps | undefined;
|
|
11906
|
+
popoverStyle: string;
|
|
11678
11907
|
}
|
|
11679
|
-
declare class
|
|
11908
|
+
declare class ColorScalePicker extends Component<Props$b, SpreadsheetChildEnv> {
|
|
11680
11909
|
static template: string;
|
|
11681
11910
|
static components: {
|
|
11911
|
+
Section: typeof Section;
|
|
11682
11912
|
RoundColorPicker: typeof RoundColorPicker;
|
|
11913
|
+
Popover: typeof Popover;
|
|
11914
|
+
};
|
|
11915
|
+
static props: {
|
|
11916
|
+
definition: ObjectConstructor;
|
|
11917
|
+
onUpdateColorScale: FunctionConstructor;
|
|
11918
|
+
};
|
|
11919
|
+
colorScales: {
|
|
11920
|
+
value: string;
|
|
11921
|
+
label: any;
|
|
11922
|
+
className: string;
|
|
11923
|
+
}[];
|
|
11924
|
+
state: ColorScalePickerState;
|
|
11925
|
+
popoverRef: {
|
|
11926
|
+
el: HTMLElement | null;
|
|
11927
|
+
};
|
|
11928
|
+
setup(): void;
|
|
11929
|
+
get currentColorScale(): ChartColorScale;
|
|
11930
|
+
get currentColorScaleStyle(): string | undefined;
|
|
11931
|
+
colorScalePreviewStyle(colorScale: ColorScale): string;
|
|
11932
|
+
get currentColorScaleLabel(): string;
|
|
11933
|
+
onColorScaleChange(value: string): void;
|
|
11934
|
+
onPointerDown(ev: PointerEvent): void;
|
|
11935
|
+
private closePopover;
|
|
11936
|
+
get selectedColorScale(): string;
|
|
11937
|
+
getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
|
|
11938
|
+
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11939
|
+
}
|
|
11940
|
+
|
|
11941
|
+
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<ChartSidePanelProps<GeoChartDefinition>> {
|
|
11942
|
+
static template: string;
|
|
11943
|
+
static components: {
|
|
11944
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11945
|
+
ColorScalePicker: typeof ColorScalePicker;
|
|
11683
11946
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11684
11947
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11685
11948
|
Section: typeof Section;
|
|
@@ -11689,24 +11952,18 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
|
|
|
11689
11952
|
ChartShowValues: typeof ChartShowValues;
|
|
11690
11953
|
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11691
11954
|
};
|
|
11692
|
-
|
|
11693
|
-
updateColorScaleType(ev: Event): void;
|
|
11694
|
-
updateColorScale(colorScale: GeoChartColorScale): void;
|
|
11955
|
+
updateColorScale(colorScale: ChartColorScale | undefined): void;
|
|
11695
11956
|
updateMissingValueColor(color: Color): void;
|
|
11696
11957
|
updateLegendPosition(ev: Event): void;
|
|
11697
|
-
get selectedColorScale(): "custom" | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
|
|
11698
11958
|
get selectedMissingValueColor(): Color | "#ffffff";
|
|
11699
|
-
get customColorScale(): GeoChartCustomColorScale | undefined;
|
|
11700
|
-
getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
|
|
11701
|
-
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11702
11959
|
}
|
|
11703
11960
|
|
|
11704
|
-
interface Props$
|
|
11961
|
+
interface Props$a {
|
|
11705
11962
|
chartId: UID;
|
|
11706
11963
|
definition: GeoChartDefinition;
|
|
11707
11964
|
updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11708
11965
|
}
|
|
11709
|
-
declare class GeoChartRegionSelectSection extends Component<Props$
|
|
11966
|
+
declare class GeoChartRegionSelectSection extends Component<Props$a, SpreadsheetChildEnv> {
|
|
11710
11967
|
static template: string;
|
|
11711
11968
|
static components: {
|
|
11712
11969
|
Section: typeof Section;
|
|
@@ -11721,13 +11978,7 @@ declare class GeoChartRegionSelectSection extends Component<Props$f, Spreadsheet
|
|
|
11721
11978
|
get selectedRegion(): string;
|
|
11722
11979
|
}
|
|
11723
11980
|
|
|
11724
|
-
|
|
11725
|
-
chartId: UID;
|
|
11726
|
-
definition: LineChartDefinition;
|
|
11727
|
-
canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
|
|
11728
|
-
updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
|
|
11729
|
-
}
|
|
11730
|
-
declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
|
|
11981
|
+
declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<ChartSidePanelProps<LineChartDefinition>> {
|
|
11731
11982
|
static template: string;
|
|
11732
11983
|
static components: {
|
|
11733
11984
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
@@ -11743,13 +11994,7 @@ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props
|
|
|
11743
11994
|
};
|
|
11744
11995
|
}
|
|
11745
11996
|
|
|
11746
|
-
|
|
11747
|
-
chartId: UID;
|
|
11748
|
-
definition: RadarChartDefinition;
|
|
11749
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11750
|
-
updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11751
|
-
}
|
|
11752
|
-
declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
|
|
11997
|
+
declare class RadarChartDesignPanel extends Component<ChartSidePanelProps<RadarChartDefinition>, SpreadsheetChildEnv> {
|
|
11753
11998
|
static template: string;
|
|
11754
11999
|
static components: {
|
|
11755
12000
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11769,13 +12014,7 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
|
|
|
11769
12014
|
};
|
|
11770
12015
|
}
|
|
11771
12016
|
|
|
11772
|
-
|
|
11773
|
-
chartId: UID;
|
|
11774
|
-
definition: SunburstChartDefinition;
|
|
11775
|
-
canUpdateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11776
|
-
updateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11777
|
-
}
|
|
11778
|
-
declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
|
|
12017
|
+
declare class SunburstChartDesignPanel extends Component<ChartSidePanelProps<SunburstChartDefinition>, SpreadsheetChildEnv> {
|
|
11779
12018
|
static template: string;
|
|
11780
12019
|
static components: {
|
|
11781
12020
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11787,15 +12026,13 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
|
|
|
11787
12026
|
RoundColorPicker: typeof RoundColorPicker;
|
|
11788
12027
|
ChartLegend: typeof ChartLegend;
|
|
11789
12028
|
PieHoleSize: typeof PieHoleSize;
|
|
12029
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11790
12030
|
};
|
|
11791
12031
|
static props: {
|
|
11792
12032
|
chartId: StringConstructor;
|
|
11793
12033
|
definition: ObjectConstructor;
|
|
12034
|
+
canUpdateChart: FunctionConstructor;
|
|
11794
12035
|
updateChart: FunctionConstructor;
|
|
11795
|
-
canUpdateChart: {
|
|
11796
|
-
type: FunctionConstructor;
|
|
11797
|
-
optional: boolean;
|
|
11798
|
-
};
|
|
11799
12036
|
};
|
|
11800
12037
|
defaults: {
|
|
11801
12038
|
showValues: boolean;
|
|
@@ -11812,12 +12049,12 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
|
|
|
11812
12049
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
11813
12050
|
}
|
|
11814
12051
|
|
|
11815
|
-
interface Props$
|
|
12052
|
+
interface Props$9 {
|
|
11816
12053
|
chartId: UID;
|
|
11817
12054
|
definition: TreeMapChartDefinition;
|
|
11818
12055
|
onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
|
|
11819
12056
|
}
|
|
11820
|
-
declare class TreeMapCategoryColors extends Component<Props$
|
|
12057
|
+
declare class TreeMapCategoryColors extends Component<Props$9, SpreadsheetChildEnv> {
|
|
11821
12058
|
static template: string;
|
|
11822
12059
|
static components: {
|
|
11823
12060
|
Checkbox: typeof Checkbox;
|
|
@@ -11834,12 +12071,12 @@ declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildE
|
|
|
11834
12071
|
useValueBasedGradient(useValueBasedGradient: boolean): void;
|
|
11835
12072
|
}
|
|
11836
12073
|
|
|
11837
|
-
interface Props$
|
|
12074
|
+
interface Props$8 {
|
|
11838
12075
|
chartId: UID;
|
|
11839
12076
|
definition: TreeMapChartDefinition;
|
|
11840
12077
|
onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
|
|
11841
12078
|
}
|
|
11842
|
-
declare class TreeMapColorScale extends Component<Props$
|
|
12079
|
+
declare class TreeMapColorScale extends Component<Props$8, SpreadsheetChildEnv> {
|
|
11843
12080
|
static template: string;
|
|
11844
12081
|
static components: {
|
|
11845
12082
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -11853,13 +12090,7 @@ declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv>
|
|
|
11853
12090
|
setColorScaleColor(point: "minColor" | "midColor" | "maxColor", color: string): void;
|
|
11854
12091
|
}
|
|
11855
12092
|
|
|
11856
|
-
|
|
11857
|
-
chartId: UID;
|
|
11858
|
-
definition: TreeMapChartDefinition;
|
|
11859
|
-
canUpdateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
11860
|
-
updateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
11861
|
-
}
|
|
11862
|
-
declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
|
|
12093
|
+
declare class TreeMapChartDesignPanel extends Component<ChartSidePanelProps<TreeMapChartDefinition>, SpreadsheetChildEnv> {
|
|
11863
12094
|
static template: string;
|
|
11864
12095
|
static components: {
|
|
11865
12096
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11872,15 +12103,13 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
|
|
|
11872
12103
|
BadgeSelection: typeof BadgeSelection;
|
|
11873
12104
|
TreeMapCategoryColors: typeof TreeMapCategoryColors;
|
|
11874
12105
|
TreeMapColorScale: typeof TreeMapColorScale;
|
|
12106
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11875
12107
|
};
|
|
11876
12108
|
static props: {
|
|
11877
12109
|
chartId: StringConstructor;
|
|
11878
12110
|
definition: ObjectConstructor;
|
|
12111
|
+
canUpdateChart: FunctionConstructor;
|
|
11879
12112
|
updateChart: FunctionConstructor;
|
|
11880
|
-
canUpdateChart: {
|
|
11881
|
-
type: FunctionConstructor;
|
|
11882
|
-
optional: boolean;
|
|
11883
|
-
};
|
|
11884
12113
|
};
|
|
11885
12114
|
private savedColors;
|
|
11886
12115
|
defaults: {
|
|
@@ -11904,13 +12133,7 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
|
|
|
11904
12133
|
}[];
|
|
11905
12134
|
}
|
|
11906
12135
|
|
|
11907
|
-
|
|
11908
|
-
chartId: UID;
|
|
11909
|
-
definition: WaterfallChartDefinition;
|
|
11910
|
-
canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
11911
|
-
updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
11912
|
-
}
|
|
11913
|
-
declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
|
|
12136
|
+
declare class WaterfallChartDesignPanel extends Component<ChartSidePanelProps<WaterfallChartDefinition>, SpreadsheetChildEnv> {
|
|
11914
12137
|
static template: string;
|
|
11915
12138
|
static components: {
|
|
11916
12139
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11927,11 +12150,8 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
|
|
|
11927
12150
|
static props: {
|
|
11928
12151
|
chartId: StringConstructor;
|
|
11929
12152
|
definition: ObjectConstructor;
|
|
12153
|
+
canUpdateChart: FunctionConstructor;
|
|
11930
12154
|
updateChart: FunctionConstructor;
|
|
11931
|
-
canUpdateChart: {
|
|
11932
|
-
type: FunctionConstructor;
|
|
11933
|
-
optional: boolean;
|
|
11934
|
-
};
|
|
11935
12155
|
};
|
|
11936
12156
|
axisChoices: {
|
|
11937
12157
|
value: string;
|
|
@@ -11990,7 +12210,7 @@ declare class HoveredTableStore extends SpreadsheetStore {
|
|
|
11990
12210
|
row: number | undefined;
|
|
11991
12211
|
overlayColors: PositionMap<Color>;
|
|
11992
12212
|
handle(cmd: Command): void;
|
|
11993
|
-
hover(position: Partial<Position
|
|
12213
|
+
hover(position: Partial<Position>): "noStateChange" | undefined;
|
|
11994
12214
|
clear(): void;
|
|
11995
12215
|
private computeOverlay;
|
|
11996
12216
|
}
|
|
@@ -12179,6 +12399,7 @@ declare class GridRenderer extends SpreadsheetStore {
|
|
|
12179
12399
|
private animations;
|
|
12180
12400
|
constructor(get: Get);
|
|
12181
12401
|
handle(cmd: Command): void;
|
|
12402
|
+
finalize(): void;
|
|
12182
12403
|
get renderingLayers(): readonly ["Background", "Headers"];
|
|
12183
12404
|
drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
|
|
12184
12405
|
private drawGlobalBackground;
|
|
@@ -12489,6 +12710,7 @@ declare class ClickableCellsStore extends SpreadsheetStore {
|
|
|
12489
12710
|
private getClickableItem;
|
|
12490
12711
|
private findClickableItem;
|
|
12491
12712
|
get clickableCells(): ClickableCell[];
|
|
12713
|
+
private getClickableCellRect;
|
|
12492
12714
|
}
|
|
12493
12715
|
|
|
12494
12716
|
interface Props$4 {
|
|
@@ -12849,6 +13071,7 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
|
|
|
12849
13071
|
|
|
12850
13072
|
interface SpreadsheetProps extends Partial<NotificationStoreMethods> {
|
|
12851
13073
|
model: Model;
|
|
13074
|
+
colorScheme?: "dark" | "light";
|
|
12852
13075
|
}
|
|
12853
13076
|
declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEnv> {
|
|
12854
13077
|
static template: string;
|
|
@@ -12866,6 +13089,10 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12866
13089
|
type: FunctionConstructor;
|
|
12867
13090
|
optional: boolean;
|
|
12868
13091
|
};
|
|
13092
|
+
colorScheme: {
|
|
13093
|
+
type: StringConstructor;
|
|
13094
|
+
optional: boolean;
|
|
13095
|
+
};
|
|
12869
13096
|
};
|
|
12870
13097
|
static components: {
|
|
12871
13098
|
TopBar: typeof TopBar;
|
|
@@ -12901,8 +13128,77 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12901
13128
|
width: number;
|
|
12902
13129
|
height: number;
|
|
12903
13130
|
};
|
|
13131
|
+
getSpreadSheetClasses(): string;
|
|
13132
|
+
}
|
|
13133
|
+
|
|
13134
|
+
interface DigitToken {
|
|
13135
|
+
type: "DIGIT";
|
|
13136
|
+
value: "0" | "#";
|
|
13137
|
+
}
|
|
13138
|
+
interface StringToken {
|
|
13139
|
+
type: "STRING";
|
|
13140
|
+
value: string;
|
|
13141
|
+
}
|
|
13142
|
+
interface CharToken {
|
|
13143
|
+
type: "CHAR";
|
|
13144
|
+
value: string;
|
|
13145
|
+
}
|
|
13146
|
+
interface PercentToken {
|
|
13147
|
+
type: "PERCENT";
|
|
13148
|
+
value: "%";
|
|
13149
|
+
}
|
|
13150
|
+
interface ScientificToken {
|
|
13151
|
+
type: "SCIENTIFIC";
|
|
13152
|
+
value: "e";
|
|
13153
|
+
}
|
|
13154
|
+
interface ThousandsSeparatorToken {
|
|
13155
|
+
type: "THOUSANDS_SEPARATOR";
|
|
13156
|
+
value: ",";
|
|
13157
|
+
}
|
|
13158
|
+
interface TextPlaceholderToken {
|
|
13159
|
+
type: "TEXT_PLACEHOLDER";
|
|
13160
|
+
value: "@";
|
|
13161
|
+
}
|
|
13162
|
+
interface DatePartToken {
|
|
13163
|
+
type: "DATE_PART";
|
|
13164
|
+
value: string;
|
|
13165
|
+
}
|
|
13166
|
+
interface RepeatCharToken {
|
|
13167
|
+
type: "REPEATED_CHAR";
|
|
13168
|
+
value: string;
|
|
12904
13169
|
}
|
|
12905
13170
|
|
|
13171
|
+
interface MultiPartInternalFormat {
|
|
13172
|
+
positive: NumberInternalFormat | DateInternalFormat | TextInternalFormat;
|
|
13173
|
+
negative?: NumberInternalFormat | DateInternalFormat;
|
|
13174
|
+
zero?: NumberInternalFormat | DateInternalFormat;
|
|
13175
|
+
text?: TextInternalFormat;
|
|
13176
|
+
}
|
|
13177
|
+
interface DateInternalFormat {
|
|
13178
|
+
type: "date";
|
|
13179
|
+
tokens: (DatePartToken | StringToken | CharToken | RepeatCharToken)[];
|
|
13180
|
+
}
|
|
13181
|
+
interface NumberInternalFormat {
|
|
13182
|
+
type: "number";
|
|
13183
|
+
readonly integerPart: (DigitToken | StringToken | CharToken | PercentToken | ScientificToken | ThousandsSeparatorToken | RepeatCharToken)[];
|
|
13184
|
+
readonly percentSymbols: number;
|
|
13185
|
+
readonly thousandsSeparator: boolean;
|
|
13186
|
+
readonly scientific: boolean;
|
|
13187
|
+
/** A thousand separator after the last digit in the format means that we divide the number by a thousand */
|
|
13188
|
+
readonly magnitude: number;
|
|
13189
|
+
/**
|
|
13190
|
+
* optional because we need to differentiate a number
|
|
13191
|
+
* with a dot but no decimals with a number without any decimals.
|
|
13192
|
+
* i.e. '5.' !=== '5' !=== '5.0'
|
|
13193
|
+
*/
|
|
13194
|
+
readonly decimalPart?: (DigitToken | StringToken | CharToken | PercentToken | ScientificToken | ThousandsSeparatorToken | RepeatCharToken)[];
|
|
13195
|
+
}
|
|
13196
|
+
interface TextInternalFormat {
|
|
13197
|
+
type: "text";
|
|
13198
|
+
tokens: (StringToken | CharToken | TextPlaceholderToken | RepeatCharToken)[];
|
|
13199
|
+
}
|
|
13200
|
+
declare function parseFormat(formatString: Format): MultiPartInternalFormat;
|
|
13201
|
+
|
|
12906
13202
|
/**
|
|
12907
13203
|
* Get the first Pivot function description of the given formula.
|
|
12908
13204
|
*/
|
|
@@ -12997,9 +13293,9 @@ declare const registries: {
|
|
|
12997
13293
|
supportedPivotPositionalFormulaRegistry: Registry<boolean>;
|
|
12998
13294
|
pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
|
|
12999
13295
|
migrationStepRegistry: Registry$1<MigrationStep>;
|
|
13000
|
-
chartJsExtensionRegistry: Registry<{
|
|
13001
|
-
register: (chart:
|
|
13002
|
-
unregister: (chart:
|
|
13296
|
+
chartJsExtensionRegistry: Registry$1<{
|
|
13297
|
+
register: (chart: GlobalChart) => void;
|
|
13298
|
+
unregister: (chart: GlobalChart) => void;
|
|
13003
13299
|
}>;
|
|
13004
13300
|
};
|
|
13005
13301
|
|
|
@@ -13065,6 +13361,13 @@ declare const helpers: {
|
|
|
13065
13361
|
isNumber: typeof isNumber;
|
|
13066
13362
|
isDateTime: typeof isDateTime;
|
|
13067
13363
|
createCustomFields: typeof createCustomFields;
|
|
13364
|
+
schemeToColorScale: typeof schemeToColorScale;
|
|
13365
|
+
isDateTimeFormat: (format: Format) => boolean;
|
|
13366
|
+
jsDateToNumber: typeof jsDateToNumber;
|
|
13367
|
+
numberToJsDate: typeof numberToJsDate;
|
|
13368
|
+
DateTime: typeof DateTime;
|
|
13369
|
+
parseFormat: typeof parseFormat;
|
|
13370
|
+
isFormula: typeof isFormula;
|
|
13068
13371
|
};
|
|
13069
13372
|
declare const links: {
|
|
13070
13373
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -13129,6 +13432,9 @@ declare const components: {
|
|
|
13129
13432
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
13130
13433
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
13131
13434
|
FullScreenFigure: typeof FullScreenFigure;
|
|
13435
|
+
NumberInput: typeof NumberInput;
|
|
13436
|
+
TopBar: typeof TopBar;
|
|
13437
|
+
Composer: typeof Composer;
|
|
13132
13438
|
};
|
|
13133
13439
|
declare const hooks: {
|
|
13134
13440
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -13178,9 +13484,7 @@ declare const constants: {
|
|
|
13178
13484
|
};
|
|
13179
13485
|
ChartTerms: {
|
|
13180
13486
|
[key: string]: any;
|
|
13181
|
-
|
|
13182
|
-
ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
|
|
13183
|
-
};
|
|
13487
|
+
ColorScales: Record<Extract<ChartColorScale, string>, string>;
|
|
13184
13488
|
};
|
|
13185
13489
|
FIGURE_ID_SPLITTER: string;
|
|
13186
13490
|
GRID_ICON_EDGE_LENGTH: number;
|
|
@@ -13188,6 +13492,7 @@ declare const constants: {
|
|
|
13188
13492
|
};
|
|
13189
13493
|
declare const chartHelpers: {
|
|
13190
13494
|
getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
13495
|
+
getCalendarChartData(definition: GenericDefinition<CalendarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
13191
13496
|
getPyramidChartData(definition: PyramidChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
13192
13497
|
getLineChartData(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
13193
13498
|
getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
@@ -13203,6 +13508,10 @@ declare const chartHelpers: {
|
|
|
13203
13508
|
makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
|
|
13204
13509
|
getTopPaddingForDashboard(definition: GenericDefinition<PieChartDefinition | LineChartDefinition | BarChartDefinition>, getters: Getters): 0 | 30;
|
|
13205
13510
|
getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
|
|
13511
|
+
getCalendarChartDatasetAndLabels(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): {
|
|
13512
|
+
datasets: chart_js.ChartDataset<"calendar">[];
|
|
13513
|
+
labels: string[];
|
|
13514
|
+
};
|
|
13206
13515
|
getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
|
|
13207
13516
|
datasets: chart_js.ChartDataset[];
|
|
13208
13517
|
labels: string[];
|
|
@@ -13223,6 +13532,10 @@ declare const chartHelpers: {
|
|
|
13223
13532
|
autoPadding: boolean;
|
|
13224
13533
|
padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
|
|
13225
13534
|
}>> | undefined;
|
|
13535
|
+
getCalendarChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<Partial<{
|
|
13536
|
+
autoPadding: boolean;
|
|
13537
|
+
padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
|
|
13538
|
+
}>> | undefined;
|
|
13226
13539
|
getBarChartLegend(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
|
|
13227
13540
|
getLineChartLegend(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
|
|
13228
13541
|
getPieChartLegend(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
|
|
@@ -13236,402 +13549,11 @@ declare const chartHelpers: {
|
|
|
13236
13549
|
onLeave: (event: any) => void;
|
|
13237
13550
|
onClick: (event: any, legendItem: any, legend: any) => void;
|
|
13238
13551
|
};
|
|
13239
|
-
getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.
|
|
13243
|
-
|
|
13244
|
-
}>;
|
|
13245
|
-
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): {
|
|
13246
|
-
x: {
|
|
13247
|
-
grid: {
|
|
13248
|
-
display: boolean;
|
|
13249
|
-
};
|
|
13250
|
-
} | {
|
|
13251
|
-
grid: {
|
|
13252
|
-
display: boolean;
|
|
13253
|
-
};
|
|
13254
|
-
type?: "time" | undefined;
|
|
13255
|
-
reverse?: boolean | undefined;
|
|
13256
|
-
offset?: boolean | undefined;
|
|
13257
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13258
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13259
|
-
clip?: boolean | undefined;
|
|
13260
|
-
display?: boolean | "auto" | undefined;
|
|
13261
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13262
|
-
[scale: string]: number;
|
|
13263
|
-
}> | undefined;
|
|
13264
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13265
|
-
display: boolean;
|
|
13266
|
-
align: chart_js.Align;
|
|
13267
|
-
text: string | string[];
|
|
13268
|
-
color: chart_js.Color;
|
|
13269
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13270
|
-
padding: number | {
|
|
13271
|
-
top: number;
|
|
13272
|
-
bottom: number;
|
|
13273
|
-
y: number;
|
|
13274
|
-
};
|
|
13275
|
-
}> | undefined;
|
|
13276
|
-
stack?: string | undefined;
|
|
13277
|
-
weight?: number | undefined;
|
|
13278
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13279
|
-
stackWeight?: number | undefined;
|
|
13280
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13281
|
-
stacked?: boolean | "single" | undefined;
|
|
13282
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13283
|
-
sampleSize: number;
|
|
13284
|
-
align: chart_js.Align | "inner";
|
|
13285
|
-
autoSkip: boolean;
|
|
13286
|
-
autoSkipPadding: number;
|
|
13287
|
-
crossAlign: "near" | "center" | "far";
|
|
13288
|
-
includeBounds: boolean;
|
|
13289
|
-
labelOffset: number;
|
|
13290
|
-
minRotation: number;
|
|
13291
|
-
maxRotation: number;
|
|
13292
|
-
mirror: boolean;
|
|
13293
|
-
padding: number;
|
|
13294
|
-
maxTicksLimit: number;
|
|
13295
|
-
} & chart_js.TimeScaleTickOptions> | undefined;
|
|
13296
|
-
alignToPixels?: boolean | undefined;
|
|
13297
|
-
suggestedMin?: string | number | undefined;
|
|
13298
|
-
suggestedMax?: string | number | undefined;
|
|
13299
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13300
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13301
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13302
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13303
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13304
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13305
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13306
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13307
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13308
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13309
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13310
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13311
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13312
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13313
|
-
min?: string | number | undefined;
|
|
13314
|
-
max?: string | number | undefined;
|
|
13315
|
-
offsetAfterAutoskip?: boolean | undefined;
|
|
13316
|
-
adapters?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13317
|
-
date: unknown;
|
|
13318
|
-
}> | undefined;
|
|
13319
|
-
time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
|
|
13320
|
-
} | {
|
|
13321
|
-
grid: {
|
|
13322
|
-
display: boolean;
|
|
13323
|
-
};
|
|
13324
|
-
type?: "linear" | undefined;
|
|
13325
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13326
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13327
|
-
[scale: string]: number;
|
|
13328
|
-
}> | undefined;
|
|
13329
|
-
stack?: string | undefined;
|
|
13330
|
-
stackWeight?: number | undefined;
|
|
13331
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13332
|
-
min?: number | undefined;
|
|
13333
|
-
max?: number | undefined;
|
|
13334
|
-
offset?: boolean | undefined;
|
|
13335
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13336
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13337
|
-
display: boolean;
|
|
13338
|
-
align: chart_js.Align;
|
|
13339
|
-
text: string | string[];
|
|
13340
|
-
color: chart_js.Color;
|
|
13341
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13342
|
-
padding: number | {
|
|
13343
|
-
top: number;
|
|
13344
|
-
bottom: number;
|
|
13345
|
-
y: number;
|
|
13346
|
-
};
|
|
13347
|
-
}> | undefined;
|
|
13348
|
-
stacked?: boolean | "single" | undefined;
|
|
13349
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13350
|
-
sampleSize: number;
|
|
13351
|
-
align: chart_js.Align | "inner";
|
|
13352
|
-
autoSkip: boolean;
|
|
13353
|
-
autoSkipPadding: number;
|
|
13354
|
-
crossAlign: "near" | "center" | "far";
|
|
13355
|
-
includeBounds: boolean;
|
|
13356
|
-
labelOffset: number;
|
|
13357
|
-
minRotation: number;
|
|
13358
|
-
maxRotation: number;
|
|
13359
|
-
mirror: boolean;
|
|
13360
|
-
padding: number;
|
|
13361
|
-
maxTicksLimit: number;
|
|
13362
|
-
} & {
|
|
13363
|
-
format: Intl.NumberFormatOptions;
|
|
13364
|
-
precision: number;
|
|
13365
|
-
stepSize: number;
|
|
13366
|
-
count: number;
|
|
13367
|
-
}> | undefined;
|
|
13368
|
-
display?: boolean | "auto" | undefined;
|
|
13369
|
-
alignToPixels?: boolean | undefined;
|
|
13370
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13371
|
-
reverse?: boolean | undefined;
|
|
13372
|
-
clip?: boolean | undefined;
|
|
13373
|
-
weight?: number | undefined;
|
|
13374
|
-
suggestedMin?: number | undefined;
|
|
13375
|
-
suggestedMax?: number | undefined;
|
|
13376
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13377
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13378
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13379
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13380
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13381
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13382
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13383
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13384
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13385
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13386
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13387
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13388
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13389
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13390
|
-
beginAtZero?: boolean | undefined;
|
|
13391
|
-
grace?: string | number | undefined;
|
|
13392
|
-
} | {
|
|
13393
|
-
grid: {
|
|
13394
|
-
display: boolean;
|
|
13395
|
-
};
|
|
13396
|
-
type?: "logarithmic" | undefined;
|
|
13397
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13398
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13399
|
-
[scale: string]: number;
|
|
13400
|
-
}> | undefined;
|
|
13401
|
-
stack?: string | undefined;
|
|
13402
|
-
stackWeight?: number | undefined;
|
|
13403
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13404
|
-
min?: number | undefined;
|
|
13405
|
-
max?: number | undefined;
|
|
13406
|
-
offset?: boolean | undefined;
|
|
13407
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13408
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13409
|
-
display: boolean;
|
|
13410
|
-
align: chart_js.Align;
|
|
13411
|
-
text: string | string[];
|
|
13412
|
-
color: chart_js.Color;
|
|
13413
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13414
|
-
padding: number | {
|
|
13415
|
-
top: number;
|
|
13416
|
-
bottom: number;
|
|
13417
|
-
y: number;
|
|
13418
|
-
};
|
|
13419
|
-
}> | undefined;
|
|
13420
|
-
stacked?: boolean | "single" | undefined;
|
|
13421
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13422
|
-
sampleSize: number;
|
|
13423
|
-
align: chart_js.Align | "inner";
|
|
13424
|
-
autoSkip: boolean;
|
|
13425
|
-
autoSkipPadding: number;
|
|
13426
|
-
crossAlign: "near" | "center" | "far";
|
|
13427
|
-
includeBounds: boolean;
|
|
13428
|
-
labelOffset: number;
|
|
13429
|
-
minRotation: number;
|
|
13430
|
-
maxRotation: number;
|
|
13431
|
-
mirror: boolean;
|
|
13432
|
-
padding: number;
|
|
13433
|
-
maxTicksLimit: number;
|
|
13434
|
-
} & {
|
|
13435
|
-
format: Intl.NumberFormatOptions;
|
|
13436
|
-
}> | undefined;
|
|
13437
|
-
display?: boolean | "auto" | undefined;
|
|
13438
|
-
alignToPixels?: boolean | undefined;
|
|
13439
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13440
|
-
reverse?: boolean | undefined;
|
|
13441
|
-
clip?: boolean | undefined;
|
|
13442
|
-
weight?: number | undefined;
|
|
13443
|
-
suggestedMin?: number | undefined;
|
|
13444
|
-
suggestedMax?: number | undefined;
|
|
13445
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13446
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13447
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13448
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13449
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13450
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13451
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13452
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13453
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13454
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13455
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13456
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13457
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13458
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13459
|
-
} | {
|
|
13460
|
-
grid: {
|
|
13461
|
-
display: boolean;
|
|
13462
|
-
};
|
|
13463
|
-
type?: "category" | undefined;
|
|
13464
|
-
reverse?: boolean | undefined;
|
|
13465
|
-
offset?: boolean | undefined;
|
|
13466
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13467
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13468
|
-
clip?: boolean | undefined;
|
|
13469
|
-
display?: boolean | "auto" | undefined;
|
|
13470
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13471
|
-
[scale: string]: number;
|
|
13472
|
-
}> | undefined;
|
|
13473
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13474
|
-
display: boolean;
|
|
13475
|
-
align: chart_js.Align;
|
|
13476
|
-
text: string | string[];
|
|
13477
|
-
color: chart_js.Color;
|
|
13478
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13479
|
-
padding: number | {
|
|
13480
|
-
top: number;
|
|
13481
|
-
bottom: number;
|
|
13482
|
-
y: number;
|
|
13483
|
-
};
|
|
13484
|
-
}> | undefined;
|
|
13485
|
-
stack?: string | undefined;
|
|
13486
|
-
weight?: number | undefined;
|
|
13487
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13488
|
-
stackWeight?: number | undefined;
|
|
13489
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13490
|
-
stacked?: boolean | "single" | undefined;
|
|
13491
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.CartesianTickOptions> | undefined;
|
|
13492
|
-
alignToPixels?: boolean | undefined;
|
|
13493
|
-
suggestedMin?: unknown;
|
|
13494
|
-
suggestedMax?: unknown;
|
|
13495
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13496
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13497
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13498
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13499
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13500
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13501
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13502
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13503
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13504
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13505
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13506
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13507
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13508
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13509
|
-
min?: string | number | undefined;
|
|
13510
|
-
max?: string | number | undefined;
|
|
13511
|
-
labels?: chart_js_dist_types_utils._DeepPartialArray<string> | chart_js_dist_types_utils._DeepPartialArray<string[]> | undefined;
|
|
13512
|
-
} | {
|
|
13513
|
-
grid: {
|
|
13514
|
-
display: boolean;
|
|
13515
|
-
};
|
|
13516
|
-
type?: "timeseries" | undefined;
|
|
13517
|
-
reverse?: boolean | undefined;
|
|
13518
|
-
offset?: boolean | undefined;
|
|
13519
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13520
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13521
|
-
clip?: boolean | undefined;
|
|
13522
|
-
display?: boolean | "auto" | undefined;
|
|
13523
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13524
|
-
[scale: string]: number;
|
|
13525
|
-
}> | undefined;
|
|
13526
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13527
|
-
display: boolean;
|
|
13528
|
-
align: chart_js.Align;
|
|
13529
|
-
text: string | string[];
|
|
13530
|
-
color: chart_js.Color;
|
|
13531
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13532
|
-
padding: number | {
|
|
13533
|
-
top: number;
|
|
13534
|
-
bottom: number;
|
|
13535
|
-
y: number;
|
|
13536
|
-
};
|
|
13537
|
-
}> | undefined;
|
|
13538
|
-
stack?: string | undefined;
|
|
13539
|
-
weight?: number | undefined;
|
|
13540
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13541
|
-
stackWeight?: number | undefined;
|
|
13542
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13543
|
-
stacked?: boolean | "single" | undefined;
|
|
13544
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13545
|
-
sampleSize: number;
|
|
13546
|
-
align: chart_js.Align | "inner";
|
|
13547
|
-
autoSkip: boolean;
|
|
13548
|
-
autoSkipPadding: number;
|
|
13549
|
-
crossAlign: "near" | "center" | "far";
|
|
13550
|
-
includeBounds: boolean;
|
|
13551
|
-
labelOffset: number;
|
|
13552
|
-
minRotation: number;
|
|
13553
|
-
maxRotation: number;
|
|
13554
|
-
mirror: boolean;
|
|
13555
|
-
padding: number;
|
|
13556
|
-
maxTicksLimit: number;
|
|
13557
|
-
} & chart_js.TimeScaleTickOptions> | undefined;
|
|
13558
|
-
alignToPixels?: boolean | undefined;
|
|
13559
|
-
suggestedMin?: string | number | undefined;
|
|
13560
|
-
suggestedMax?: string | number | undefined;
|
|
13561
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13562
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13563
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13564
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13565
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13566
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13567
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13568
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13569
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13570
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13571
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13572
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13573
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13574
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13575
|
-
min?: string | number | undefined;
|
|
13576
|
-
max?: string | number | undefined;
|
|
13577
|
-
offsetAfterAutoskip?: boolean | undefined;
|
|
13578
|
-
adapters?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13579
|
-
date: unknown;
|
|
13580
|
-
}> | undefined;
|
|
13581
|
-
time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
|
|
13582
|
-
} | {
|
|
13583
|
-
grid: {
|
|
13584
|
-
display: boolean;
|
|
13585
|
-
};
|
|
13586
|
-
type?: "radialLinear" | undefined;
|
|
13587
|
-
display?: boolean | "auto" | undefined;
|
|
13588
|
-
alignToPixels?: boolean | undefined;
|
|
13589
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13590
|
-
reverse?: boolean | undefined;
|
|
13591
|
-
clip?: boolean | undefined;
|
|
13592
|
-
weight?: number | undefined;
|
|
13593
|
-
min?: number | undefined;
|
|
13594
|
-
max?: number | undefined;
|
|
13595
|
-
suggestedMin?: number | undefined;
|
|
13596
|
-
suggestedMax?: number | undefined;
|
|
13597
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13598
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13599
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13600
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13601
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13602
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13603
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13604
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13605
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13606
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13607
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13608
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13609
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13610
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13611
|
-
animate?: boolean | undefined;
|
|
13612
|
-
startAngle?: number | undefined;
|
|
13613
|
-
angleLines?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13614
|
-
display: boolean;
|
|
13615
|
-
color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScaleContext>;
|
|
13616
|
-
lineWidth: chart_js.Scriptable<number, chart_js.ScriptableScaleContext>;
|
|
13617
|
-
borderDash: chart_js.Scriptable<number[], chart_js.ScriptableScaleContext>;
|
|
13618
|
-
borderDashOffset: chart_js.Scriptable<number, chart_js.ScriptableScaleContext>;
|
|
13619
|
-
}> | undefined;
|
|
13620
|
-
beginAtZero?: boolean | undefined;
|
|
13621
|
-
pointLabels?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13622
|
-
backdropColor: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
|
|
13623
|
-
backdropPadding: chart_js.Scriptable<number | chart_js.ChartArea, chart_js.ScriptableScalePointLabelContext>;
|
|
13624
|
-
borderRadius: chart_js.Scriptable<number | chart_js.BorderRadius, chart_js.ScriptableScalePointLabelContext>;
|
|
13625
|
-
display: boolean | "auto";
|
|
13626
|
-
color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
|
|
13627
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableScalePointLabelContext>;
|
|
13628
|
-
callback: (label: string, index: number) => string | string[] | number | number[];
|
|
13629
|
-
padding: chart_js.Scriptable<number, chart_js.ScriptableScalePointLabelContext>;
|
|
13630
|
-
centerPointLabels: boolean;
|
|
13631
|
-
}> | undefined;
|
|
13632
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.RadialTickOptions> | undefined;
|
|
13633
|
-
};
|
|
13634
|
-
};
|
|
13552
|
+
getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line" | "bar">["scales"]>;
|
|
13553
|
+
getCalendarChartScales(definition: GenericDefinition<BarChartDefinition>, datasets: chart_js.ChartDataset[]): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"calendar">["scales"]>;
|
|
13554
|
+
getCalendarColorScale(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): ChartColorScalePluginOptions | undefined;
|
|
13555
|
+
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13556
|
+
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13635
13557
|
getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13636
13558
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
13637
13559
|
}>;
|
|
@@ -13647,12 +13569,15 @@ declare const chartHelpers: {
|
|
|
13647
13569
|
getFunnelChartScales(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13648
13570
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
13649
13571
|
}>;
|
|
13572
|
+
getRuntimeColorScale(colorScale: ChartColorScale, minValue?: number, maxValue?: number): (value: number) => Color;
|
|
13650
13573
|
getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13574
|
+
getCalendarChartShowValues(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13651
13575
|
getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
|
|
13652
13576
|
getPyramidChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13653
13577
|
getWaterfallChartShowValues(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13654
13578
|
getChartTitle(definition: ChartWithDataSetDefinition, getters: Getters): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
|
|
13655
13579
|
getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13580
|
+
getCalendarChartTooltip(definition: CalendarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13656
13581
|
getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13657
13582
|
getPieChartTooltip(definition: PieChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13658
13583
|
getWaterfallChartTooltip(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
@@ -13737,4 +13662,4 @@ declare const chartHelpers: {
|
|
|
13737
13662
|
WaterfallChart: typeof WaterfallChart;
|
|
13738
13663
|
};
|
|
13739
13664
|
|
|
13740
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CircularDependencyError, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DivisionByZeroError, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position$1 as Position, PositionDependentCommand, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
13665
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartColorScale, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithColorScaleDefinition, ChartWithDataSetDefinition, ChartWithTitleDefinition, CircularDependencyError, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DivisionByZeroError, DuplicateCarouselChartCommand, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, NumberTooLargeError, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|