@odoo/o-spreadsheet 18.1.0-alpha.7 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +1317 -315
- package/dist/o-spreadsheet.d.ts +398 -292
- package/dist/o-spreadsheet.esm.js +1317 -315
- package/dist/o-spreadsheet.iife.js +1317 -315
- package/dist/o-spreadsheet.iife.min.js +515 -515
- package/dist/o_spreadsheet.xml +217 -23
- package/package.json +4 -3
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as chart_js from 'chart.js';
|
|
2
2
|
import { ChartConfiguration, Chart, Color as Color$1, ChartType as ChartType$1 } from 'chart.js';
|
|
3
|
+
import * as ChartGeo from 'chartjs-chart-geo';
|
|
4
|
+
import * as GeoJSON$1 from 'geojson';
|
|
3
5
|
import * as _odoo_owl from '@odoo/owl';
|
|
4
6
|
import { ComponentConstructor, Component } from '@odoo/owl';
|
|
5
7
|
import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
|
|
@@ -132,6 +134,42 @@ interface GaugeChartRuntime {
|
|
|
132
134
|
colors: Color[];
|
|
133
135
|
}
|
|
134
136
|
|
|
137
|
+
interface GeoChartDefinition {
|
|
138
|
+
readonly type: "geo";
|
|
139
|
+
readonly dataSets: CustomizedDataSet[];
|
|
140
|
+
readonly dataSetsHaveTitle: boolean;
|
|
141
|
+
readonly labelRange?: string;
|
|
142
|
+
readonly title: TitleDesign;
|
|
143
|
+
readonly background?: Color;
|
|
144
|
+
readonly legendPosition: LegendPosition;
|
|
145
|
+
readonly axesDesign?: AxesDesign;
|
|
146
|
+
readonly aggregated?: boolean;
|
|
147
|
+
readonly colorScale?: GeoChartColorScale;
|
|
148
|
+
readonly missingValueColor?: Color;
|
|
149
|
+
readonly region?: string;
|
|
150
|
+
}
|
|
151
|
+
type GeoChartRuntime = {
|
|
152
|
+
chartJsConfig: ChartConfiguration;
|
|
153
|
+
background: Color;
|
|
154
|
+
};
|
|
155
|
+
interface GeoChartCustomColorScale {
|
|
156
|
+
minColor: Color;
|
|
157
|
+
midColor?: Color;
|
|
158
|
+
maxColor: Color;
|
|
159
|
+
}
|
|
160
|
+
type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
|
|
161
|
+
type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
|
|
162
|
+
interface GeoChartRegion {
|
|
163
|
+
id: string;
|
|
164
|
+
label: string;
|
|
165
|
+
defaultProjection: GeoChartProjection;
|
|
166
|
+
}
|
|
167
|
+
interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
|
|
168
|
+
availableRegions: GeoChartRegion[];
|
|
169
|
+
getGeoJsonFeatures: (region: string) => GeoJSON.Feature[] | undefined;
|
|
170
|
+
geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
|
|
171
|
+
}
|
|
172
|
+
|
|
135
173
|
interface LineChartDefinition {
|
|
136
174
|
readonly type: "line";
|
|
137
175
|
readonly dataSets: CustomizedDataSet[];
|
|
@@ -259,14 +297,14 @@ type WaterfallChartRuntime = {
|
|
|
259
297
|
background: Color;
|
|
260
298
|
};
|
|
261
299
|
|
|
262
|
-
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar"];
|
|
300
|
+
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo"];
|
|
263
301
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
264
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition;
|
|
302
|
+
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition;
|
|
265
303
|
type ChartWithDataSetDefinition = Extract<ChartDefinition, {
|
|
266
304
|
dataSets: CustomizedDataSet[];
|
|
267
305
|
labelRange?: string;
|
|
268
306
|
}>;
|
|
269
|
-
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime;
|
|
307
|
+
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime;
|
|
270
308
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
271
309
|
interface LabelValues {
|
|
272
310
|
readonly values: string[];
|
|
@@ -692,7 +730,7 @@ type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_
|
|
|
692
730
|
type Granularity = "day" | "week" | "month" | "quarter" | "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
|
|
693
731
|
interface PivotCoreDimension {
|
|
694
732
|
fieldName: string;
|
|
695
|
-
order?:
|
|
733
|
+
order?: SortDirection;
|
|
696
734
|
granularity?: Granularity | string;
|
|
697
735
|
}
|
|
698
736
|
interface PivotCoreMeasure {
|
|
@@ -718,6 +756,12 @@ interface CommonPivotCoreDefinition {
|
|
|
718
756
|
measures: PivotCoreMeasure[];
|
|
719
757
|
name: string;
|
|
720
758
|
deferUpdates?: boolean;
|
|
759
|
+
sortedColumn?: PivotSortedColumn;
|
|
760
|
+
}
|
|
761
|
+
interface PivotSortedColumn {
|
|
762
|
+
order: SortDirection;
|
|
763
|
+
domain: PivotDomain;
|
|
764
|
+
measure: string;
|
|
721
765
|
}
|
|
722
766
|
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
723
767
|
type: "SPREADSHEET";
|
|
@@ -815,6 +859,7 @@ type PivotMeasureDisplayType = "no_calculations" | "%_of_grand_total" | "%_of_co
|
|
|
815
859
|
interface DimensionTreeNode {
|
|
816
860
|
value: CellValue;
|
|
817
861
|
field: string;
|
|
862
|
+
type: string;
|
|
818
863
|
children: DimensionTree;
|
|
819
864
|
width: number;
|
|
820
865
|
}
|
|
@@ -1224,7 +1269,7 @@ declare function colorToRGBA(color: Color): RGBA;
|
|
|
1224
1269
|
declare class ColorGenerator {
|
|
1225
1270
|
private preferredColors;
|
|
1226
1271
|
private currentColorIndex;
|
|
1227
|
-
|
|
1272
|
+
protected palette: Color[];
|
|
1228
1273
|
constructor(paletteSize: number, preferredColors?: (string | undefined)[]);
|
|
1229
1274
|
next(): string;
|
|
1230
1275
|
}
|
|
@@ -1485,7 +1530,6 @@ type StatefulStream<Event, State> = {
|
|
|
1485
1530
|
* Allows to select cells in the grid and update the selection
|
|
1486
1531
|
*/
|
|
1487
1532
|
interface SelectionProcessor {
|
|
1488
|
-
getAnchor(): Immutable<AnchorZone>;
|
|
1489
1533
|
selectZone(anchor: AnchorZone, options?: SelectionEventOptions): DispatchResult;
|
|
1490
1534
|
selectCell(col: number, row: number): DispatchResult;
|
|
1491
1535
|
moveAnchorCell(direction: Direction$1, step: SelectionStep): DispatchResult;
|
|
@@ -1579,6 +1623,12 @@ interface ModelExternalConfig {
|
|
|
1579
1623
|
readonly fileStore?: FileStore;
|
|
1580
1624
|
readonly loadCurrencies?: () => Promise<Currency[]>;
|
|
1581
1625
|
readonly loadLocales?: () => Promise<Locale[]>;
|
|
1626
|
+
readonly geoJsonService?: {
|
|
1627
|
+
getAvailableRegions: () => GeoChartRegion[];
|
|
1628
|
+
getTopoJson: (region: string) => Promise<any>;
|
|
1629
|
+
/** Convert the name of a geographical feature (eg. France) to the id of the corresponding feature in the TopoJSON */
|
|
1630
|
+
geoFeatureNameToId: (region: string, territory: string) => string | undefined;
|
|
1631
|
+
};
|
|
1582
1632
|
}
|
|
1583
1633
|
declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
1584
1634
|
private corePlugins;
|
|
@@ -1816,6 +1866,7 @@ interface UIPluginConfig {
|
|
|
1816
1866
|
readonly session: Session;
|
|
1817
1867
|
readonly defaultCurrency?: Partial<Currency>;
|
|
1818
1868
|
readonly customColors: Color[];
|
|
1869
|
+
readonly external: ModelConfig["external"];
|
|
1819
1870
|
}
|
|
1820
1871
|
interface UIPluginConstructor {
|
|
1821
1872
|
new (config: UIPluginConfig): UIPlugin;
|
|
@@ -2323,12 +2374,12 @@ interface ZoneDependentCommand {
|
|
|
2323
2374
|
}
|
|
2324
2375
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
2325
2376
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
2326
|
-
declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2327
|
-
declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2328
|
-
declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2329
|
-
declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2330
|
-
declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2331
|
-
declare const readonlyAllowedCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2377
|
+
declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2378
|
+
declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2379
|
+
declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2380
|
+
declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2381
|
+
declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2382
|
+
declare const readonlyAllowedCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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">;
|
|
2332
2383
|
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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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">;
|
|
2333
2384
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
2334
2385
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -2723,6 +2774,9 @@ interface ActivateSheetCommand {
|
|
|
2723
2774
|
interface EvaluateCellsCommand {
|
|
2724
2775
|
type: "EVALUATE_CELLS";
|
|
2725
2776
|
}
|
|
2777
|
+
interface EvaluateChartsCommand {
|
|
2778
|
+
type: "EVALUATE_CHARTS";
|
|
2779
|
+
}
|
|
2726
2780
|
interface StartChangeHighlightCommand {
|
|
2727
2781
|
type: "START_CHANGE_HIGHLIGHT";
|
|
2728
2782
|
zone: Zone;
|
|
@@ -2790,7 +2844,6 @@ interface SortCommand {
|
|
|
2790
2844
|
sortDirection: SortDirection;
|
|
2791
2845
|
sortOptions?: SortOptions;
|
|
2792
2846
|
}
|
|
2793
|
-
type SortDirection = "ascending" | "descending";
|
|
2794
2847
|
interface ResizeViewportCommand {
|
|
2795
2848
|
type: "RESIZE_SHEETVIEW";
|
|
2796
2849
|
width: Pixel;
|
|
@@ -2908,7 +2961,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
2908
2961
|
| UpdateLocaleCommand
|
|
2909
2962
|
/** PIVOT */
|
|
2910
2963
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
2911
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | 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;
|
|
2964
|
+
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;
|
|
2912
2965
|
type Command = CoreCommand | LocalCommand;
|
|
2913
2966
|
/**
|
|
2914
2967
|
* Holds the result of a command dispatch.
|
|
@@ -3078,7 +3131,7 @@ interface CoreCommandDispatcher {
|
|
|
3078
3131
|
}
|
|
3079
3132
|
type CommandTypes = Command["type"];
|
|
3080
3133
|
type CoreCommandTypes = CoreCommand["type"];
|
|
3081
|
-
type CoreViewCommand = CoreCommand | EvaluateCellsCommand | UndoCommand | RedoCommand;
|
|
3134
|
+
type CoreViewCommand = CoreCommand | EvaluateCellsCommand | EvaluateChartsCommand | UndoCommand | RedoCommand;
|
|
3082
3135
|
type CoreViewCommandTypes = CoreViewCommand["type"];
|
|
3083
3136
|
|
|
3084
3137
|
declare const functionCache: {
|
|
@@ -3311,6 +3364,7 @@ interface CompiledFormula {
|
|
|
3311
3364
|
tokens: Token[];
|
|
3312
3365
|
dependencies: string[];
|
|
3313
3366
|
isBadExpression: boolean;
|
|
3367
|
+
normalizedFormula: string;
|
|
3314
3368
|
}
|
|
3315
3369
|
interface RangeCompiledFormula extends Omit<CompiledFormula, "dependencies"> {
|
|
3316
3370
|
dependencies: Range[];
|
|
@@ -3471,6 +3525,7 @@ interface GridClickModifiers {
|
|
|
3471
3525
|
}
|
|
3472
3526
|
type ComposerFocusType = "inactive" | "cellFocus" | "contentFocus";
|
|
3473
3527
|
type EditionMode = "editing" | "selecting" | "inactive";
|
|
3528
|
+
type SortDirection = "asc" | "desc";
|
|
3474
3529
|
|
|
3475
3530
|
type LocaleCode = string & Alias;
|
|
3476
3531
|
interface Locale {
|
|
@@ -5079,8 +5134,6 @@ declare class EvaluationConditionalFormatPlugin extends UIPlugin {
|
|
|
5079
5134
|
private applyDataBar;
|
|
5080
5135
|
/** Compute the color scale for the given range and CF rule, and apply in in the given computedStyle object */
|
|
5081
5136
|
private applyColorScale;
|
|
5082
|
-
private computeColorDiffUnits;
|
|
5083
|
-
private colorCell;
|
|
5084
5137
|
/**
|
|
5085
5138
|
* Execute the predicate to know if a conditional formatting rule should be applied to a cell
|
|
5086
5139
|
*/
|
|
@@ -5189,6 +5242,7 @@ declare class PivotRuntimeDefinition {
|
|
|
5189
5242
|
readonly measures: PivotMeasure[];
|
|
5190
5243
|
readonly columns: PivotDimension$1[];
|
|
5191
5244
|
readonly rows: PivotDimension$1[];
|
|
5245
|
+
readonly sortedColumn?: PivotSortedColumn;
|
|
5192
5246
|
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
5193
5247
|
getDimension(nameWithGranularity: string): PivotDimension$1;
|
|
5194
5248
|
getMeasure(id: string): PivotMeasure;
|
|
@@ -5238,7 +5292,7 @@ declare class PivotRuntimeDefinition {
|
|
|
5238
5292
|
*/
|
|
5239
5293
|
declare class SpreadsheetPivotTable {
|
|
5240
5294
|
readonly columns: PivotTableColumn[][];
|
|
5241
|
-
|
|
5295
|
+
rows: PivotTableRow[];
|
|
5242
5296
|
readonly measures: string[];
|
|
5243
5297
|
readonly fieldsType: Record<string, string | undefined>;
|
|
5244
5298
|
readonly maxIndent: number;
|
|
@@ -5247,6 +5301,7 @@ declare class SpreadsheetPivotTable {
|
|
|
5247
5301
|
};
|
|
5248
5302
|
private rowTree;
|
|
5249
5303
|
private colTree;
|
|
5304
|
+
isSorted: boolean;
|
|
5250
5305
|
constructor(columns: PivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>);
|
|
5251
5306
|
/**
|
|
5252
5307
|
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
@@ -5269,6 +5324,8 @@ declare class SpreadsheetPivotTable {
|
|
|
5269
5324
|
measures: string[];
|
|
5270
5325
|
fieldsType: Record<string, string | undefined>;
|
|
5271
5326
|
};
|
|
5327
|
+
sort(measure: string, sortedColumn: PivotSortedColumn, getValue: (measure: string, domain: PivotDomain) => FunctionResultObject): void;
|
|
5328
|
+
private rowTreeToRows;
|
|
5272
5329
|
}
|
|
5273
5330
|
|
|
5274
5331
|
interface InitPivotParams {
|
|
@@ -5497,17 +5554,6 @@ declare class AutomaticSumPlugin extends UIPlugin {
|
|
|
5497
5554
|
private transpose;
|
|
5498
5555
|
}
|
|
5499
5556
|
|
|
5500
|
-
declare class CellComputedStylePlugin extends UIPlugin {
|
|
5501
|
-
static getters: readonly ["getCellComputedBorder", "getCellComputedStyle"];
|
|
5502
|
-
private styles;
|
|
5503
|
-
private borders;
|
|
5504
|
-
handle(cmd: Command): void;
|
|
5505
|
-
getCellComputedBorder(position: CellPosition): Border$1 | null;
|
|
5506
|
-
getCellComputedStyle(position: CellPosition): Style;
|
|
5507
|
-
private computeCellBorder;
|
|
5508
|
-
private computeCellStyle;
|
|
5509
|
-
}
|
|
5510
|
-
|
|
5511
5557
|
interface ClientToDisplay extends Required<Client> {
|
|
5512
5558
|
color: Color;
|
|
5513
5559
|
}
|
|
@@ -5519,7 +5565,6 @@ declare class CollaborativePlugin extends UIPlugin {
|
|
|
5519
5565
|
private session;
|
|
5520
5566
|
constructor(config: UIPluginConfig);
|
|
5521
5567
|
private isPositionValid;
|
|
5522
|
-
private chooseNewColor;
|
|
5523
5568
|
getClient(): Client;
|
|
5524
5569
|
getConnectedClients(): Set<Client>;
|
|
5525
5570
|
isFullySynchronized(): boolean;
|
|
@@ -5531,6 +5576,17 @@ declare class CollaborativePlugin extends UIPlugin {
|
|
|
5531
5576
|
drawLayer(renderingContext: GridRenderingContext): void;
|
|
5532
5577
|
}
|
|
5533
5578
|
|
|
5579
|
+
declare class GeoFeaturePlugin extends UIPlugin {
|
|
5580
|
+
static getters: readonly ["getGeoJsonFeatures", "geoFeatureNameToId", "getGeoChartAvailableRegions"];
|
|
5581
|
+
private readonly geoJsonService;
|
|
5582
|
+
private geoJsonCache;
|
|
5583
|
+
constructor(config: UIPluginConfig);
|
|
5584
|
+
getGeoChartAvailableRegions(): GeoChartRegion[];
|
|
5585
|
+
getGeoJsonFeatures(region: string): GeoJSON$1.Feature[] | undefined;
|
|
5586
|
+
geoFeatureNameToId(region: string, featureName: string): string | undefined;
|
|
5587
|
+
private convertToGeoJson;
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5534
5590
|
declare class HeaderVisibilityUIPlugin extends UIPlugin {
|
|
5535
5591
|
static getters: readonly ["getNextVisibleCellPosition", "findVisibleHeader", "findLastVisibleColRowIndex", "findFirstVisibleColRowIndex", "isRowHidden", "isColHidden", "isHeaderHidden"];
|
|
5536
5592
|
isRowHidden(sheetId: UID, index: number): boolean;
|
|
@@ -5551,42 +5607,6 @@ declare class HeaderVisibilityUIPlugin extends UIPlugin {
|
|
|
5551
5607
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
5552
5608
|
}
|
|
5553
5609
|
|
|
5554
|
-
/**
|
|
5555
|
-
* Local History
|
|
5556
|
-
*
|
|
5557
|
-
* The local history is responsible of tracking the locally state updates
|
|
5558
|
-
* It maintains the local undo and redo stack to allow to undo/redo only local
|
|
5559
|
-
* changes
|
|
5560
|
-
*/
|
|
5561
|
-
declare class HistoryPlugin extends UIPlugin {
|
|
5562
|
-
static getters: readonly ["canUndo", "canRedo"];
|
|
5563
|
-
/**
|
|
5564
|
-
* Ids of the revisions which can be undone
|
|
5565
|
-
*/
|
|
5566
|
-
private undoStack;
|
|
5567
|
-
/**
|
|
5568
|
-
* Ids of the revisions which can be redone
|
|
5569
|
-
*/
|
|
5570
|
-
private redoStack;
|
|
5571
|
-
private session;
|
|
5572
|
-
constructor(config: UIPluginConfig);
|
|
5573
|
-
allowDispatch(cmd: Command): CommandResult;
|
|
5574
|
-
handle(cmd: Command): void;
|
|
5575
|
-
finalize(): void;
|
|
5576
|
-
private requestHistoryChange;
|
|
5577
|
-
canUndo(): boolean;
|
|
5578
|
-
canRedo(): boolean;
|
|
5579
|
-
private drop;
|
|
5580
|
-
private onNewLocalStateUpdate;
|
|
5581
|
-
/**
|
|
5582
|
-
* Fetch the last revision which is not empty and not a repeated command
|
|
5583
|
-
*
|
|
5584
|
-
* Ignore repeated commands (REQUEST_REDO command as root command)
|
|
5585
|
-
* Ignore standard undo/redo revisions (that are empty)
|
|
5586
|
-
*/
|
|
5587
|
-
private getPossibleRevisionToRepeat;
|
|
5588
|
-
}
|
|
5589
|
-
|
|
5590
5610
|
declare class SortPlugin extends UIPlugin {
|
|
5591
5611
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
5592
5612
|
handle(cmd: Command): void;
|
|
@@ -5616,46 +5636,6 @@ declare class SortPlugin extends UIPlugin {
|
|
|
5616
5636
|
private mainCells;
|
|
5617
5637
|
}
|
|
5618
5638
|
|
|
5619
|
-
declare class SplitToColumnsPlugin extends UIPlugin {
|
|
5620
|
-
static getters: readonly ["getAutomaticSeparator"];
|
|
5621
|
-
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
5622
|
-
handle(cmd: Command): void;
|
|
5623
|
-
getAutomaticSeparator(): string;
|
|
5624
|
-
private getAutoSeparatorForString;
|
|
5625
|
-
private splitIntoColumns;
|
|
5626
|
-
private getSplittedCols;
|
|
5627
|
-
private splitAndRemoveTrailingEmpty;
|
|
5628
|
-
private willSplittedColsOverwriteContent;
|
|
5629
|
-
private removeMergesInSplitZone;
|
|
5630
|
-
private addColsToAvoidCollisions;
|
|
5631
|
-
private getColsToAddToAvoidCollision;
|
|
5632
|
-
private addColumnsToNotOverflowSheet;
|
|
5633
|
-
private checkSingleColSelected;
|
|
5634
|
-
private checkNonEmptySelector;
|
|
5635
|
-
private checkNotOverwritingContent;
|
|
5636
|
-
private checkSeparatorInSelection;
|
|
5637
|
-
}
|
|
5638
|
-
|
|
5639
|
-
declare class TableComputedStylePlugin extends UIPlugin {
|
|
5640
|
-
static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
|
|
5641
|
-
private tableStyles;
|
|
5642
|
-
handle(cmd: Command): void;
|
|
5643
|
-
finalize(): void;
|
|
5644
|
-
getCellTableStyle(position: CellPosition): Style | undefined;
|
|
5645
|
-
getCellTableBorder(position: CellPosition): Border$1 | undefined;
|
|
5646
|
-
private computeTableStyle;
|
|
5647
|
-
/**
|
|
5648
|
-
* Get the actual table config that will be used to compute the table style. It is different from
|
|
5649
|
-
* the config of the table because of hidden rows and columns in the sheet. For example remove the
|
|
5650
|
-
* hidden rows from config.numberOfHeaders.
|
|
5651
|
-
*/
|
|
5652
|
-
private getTableRuntimeConfig;
|
|
5653
|
-
/**
|
|
5654
|
-
* Get a mapping: relative col/row position in the table <=> col/row in the sheet
|
|
5655
|
-
*/
|
|
5656
|
-
private getTableMapping;
|
|
5657
|
-
}
|
|
5658
|
-
|
|
5659
5639
|
declare class UIOptionsPlugin extends UIPlugin {
|
|
5660
5640
|
static getters: readonly ["shouldShowFormulas"];
|
|
5661
5641
|
private showFormulas;
|
|
@@ -5706,6 +5686,93 @@ declare class SheetUIPlugin extends UIPlugin {
|
|
|
5706
5686
|
private checkZonesAreInSheet;
|
|
5707
5687
|
}
|
|
5708
5688
|
|
|
5689
|
+
declare class CellComputedStylePlugin extends UIPlugin {
|
|
5690
|
+
static getters: readonly ["getCellComputedBorder", "getCellComputedStyle"];
|
|
5691
|
+
private styles;
|
|
5692
|
+
private borders;
|
|
5693
|
+
handle(cmd: Command): void;
|
|
5694
|
+
getCellComputedBorder(position: CellPosition): Border$1 | null;
|
|
5695
|
+
getCellComputedStyle(position: CellPosition): Style;
|
|
5696
|
+
private computeCellBorder;
|
|
5697
|
+
private computeCellStyle;
|
|
5698
|
+
}
|
|
5699
|
+
|
|
5700
|
+
/**
|
|
5701
|
+
* Local History
|
|
5702
|
+
*
|
|
5703
|
+
* The local history is responsible of tracking the locally state updates
|
|
5704
|
+
* It maintains the local undo and redo stack to allow to undo/redo only local
|
|
5705
|
+
* changes
|
|
5706
|
+
*/
|
|
5707
|
+
declare class HistoryPlugin extends UIPlugin {
|
|
5708
|
+
static getters: readonly ["canUndo", "canRedo"];
|
|
5709
|
+
/**
|
|
5710
|
+
* Ids of the revisions which can be undone
|
|
5711
|
+
*/
|
|
5712
|
+
private undoStack;
|
|
5713
|
+
/**
|
|
5714
|
+
* Ids of the revisions which can be redone
|
|
5715
|
+
*/
|
|
5716
|
+
private redoStack;
|
|
5717
|
+
private session;
|
|
5718
|
+
constructor(config: UIPluginConfig);
|
|
5719
|
+
allowDispatch(cmd: Command): CommandResult;
|
|
5720
|
+
handle(cmd: Command): void;
|
|
5721
|
+
finalize(): void;
|
|
5722
|
+
private requestHistoryChange;
|
|
5723
|
+
canUndo(): boolean;
|
|
5724
|
+
canRedo(): boolean;
|
|
5725
|
+
private drop;
|
|
5726
|
+
private onNewLocalStateUpdate;
|
|
5727
|
+
/**
|
|
5728
|
+
* Fetch the last revision which is not empty and not a repeated command
|
|
5729
|
+
*
|
|
5730
|
+
* Ignore repeated commands (REQUEST_REDO command as root command)
|
|
5731
|
+
* Ignore standard undo/redo revisions (that are empty)
|
|
5732
|
+
*/
|
|
5733
|
+
private getPossibleRevisionToRepeat;
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
declare class SplitToColumnsPlugin extends UIPlugin {
|
|
5737
|
+
static getters: readonly ["getAutomaticSeparator"];
|
|
5738
|
+
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
5739
|
+
handle(cmd: Command): void;
|
|
5740
|
+
getAutomaticSeparator(): string;
|
|
5741
|
+
private getAutoSeparatorForString;
|
|
5742
|
+
private splitIntoColumns;
|
|
5743
|
+
private getSplittedCols;
|
|
5744
|
+
private splitAndRemoveTrailingEmpty;
|
|
5745
|
+
private willSplittedColsOverwriteContent;
|
|
5746
|
+
private removeMergesInSplitZone;
|
|
5747
|
+
private addColsToAvoidCollisions;
|
|
5748
|
+
private getColsToAddToAvoidCollision;
|
|
5749
|
+
private addColumnsToNotOverflowSheet;
|
|
5750
|
+
private checkSingleColSelected;
|
|
5751
|
+
private checkNonEmptySelector;
|
|
5752
|
+
private checkNotOverwritingContent;
|
|
5753
|
+
private checkSeparatorInSelection;
|
|
5754
|
+
}
|
|
5755
|
+
|
|
5756
|
+
declare class TableComputedStylePlugin extends UIPlugin {
|
|
5757
|
+
static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
|
|
5758
|
+
private tableStyles;
|
|
5759
|
+
handle(cmd: Command): void;
|
|
5760
|
+
finalize(): void;
|
|
5761
|
+
getCellTableStyle(position: CellPosition): Style | undefined;
|
|
5762
|
+
getCellTableBorder(position: CellPosition): Border$1 | undefined;
|
|
5763
|
+
private computeTableStyle;
|
|
5764
|
+
/**
|
|
5765
|
+
* Get the actual table config that will be used to compute the table style. It is different from
|
|
5766
|
+
* the config of the table because of hidden rows and columns in the sheet. For example remove the
|
|
5767
|
+
* hidden rows from config.numberOfHeaders.
|
|
5768
|
+
*/
|
|
5769
|
+
private getTableRuntimeConfig;
|
|
5770
|
+
/**
|
|
5771
|
+
* Get a mapping: relative col/row position in the table <=> col/row in the sheet
|
|
5772
|
+
*/
|
|
5773
|
+
private getTableMapping;
|
|
5774
|
+
}
|
|
5775
|
+
|
|
5709
5776
|
declare class HeaderPositionsUIPlugin extends UIPlugin {
|
|
5710
5777
|
static getters: readonly ["getColDimensions", "getRowDimensions", "getColRowOffset"];
|
|
5711
5778
|
private headerPositions;
|
|
@@ -5790,7 +5857,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
5790
5857
|
type Getters = {
|
|
5791
5858
|
isReadonly: () => boolean;
|
|
5792
5859
|
isDashboard: () => boolean;
|
|
5793
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin>;
|
|
5860
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin>;
|
|
5794
5861
|
|
|
5795
5862
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
5796
5863
|
interface ArgDefinition {
|
|
@@ -6057,6 +6124,7 @@ type ScrollDirection$1 = 1 | 0 | -1 | "reset";
|
|
|
6057
6124
|
declare global {
|
|
6058
6125
|
interface Window {
|
|
6059
6126
|
Chart: typeof Chart;
|
|
6127
|
+
ChartGeo: typeof ChartGeo;
|
|
6060
6128
|
}
|
|
6061
6129
|
}
|
|
6062
6130
|
|
|
@@ -6589,7 +6657,7 @@ interface ChartSubtypeProperties {
|
|
|
6589
6657
|
preview: string;
|
|
6590
6658
|
}
|
|
6591
6659
|
|
|
6592
|
-
interface Props$
|
|
6660
|
+
interface Props$1c {
|
|
6593
6661
|
label?: string;
|
|
6594
6662
|
value: boolean;
|
|
6595
6663
|
className?: string;
|
|
@@ -6598,7 +6666,7 @@ interface Props$1b {
|
|
|
6598
6666
|
disabled?: boolean;
|
|
6599
6667
|
onChange: (value: boolean) => void;
|
|
6600
6668
|
}
|
|
6601
|
-
declare class Checkbox extends Component<Props$
|
|
6669
|
+
declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
6602
6670
|
static template: string;
|
|
6603
6671
|
static props: {
|
|
6604
6672
|
label: {
|
|
@@ -6633,10 +6701,10 @@ declare class Checkbox extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
|
6633
6701
|
onChange(ev: InputEvent): void;
|
|
6634
6702
|
}
|
|
6635
6703
|
|
|
6636
|
-
interface Props$
|
|
6704
|
+
interface Props$1b {
|
|
6637
6705
|
class?: string;
|
|
6638
6706
|
}
|
|
6639
|
-
declare class Section extends Component<Props$
|
|
6707
|
+
declare class Section extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
6640
6708
|
static template: string;
|
|
6641
6709
|
static props: {
|
|
6642
6710
|
class: {
|
|
@@ -6769,7 +6837,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6769
6837
|
getIndex(rangeId: number | null): number | null;
|
|
6770
6838
|
}
|
|
6771
6839
|
|
|
6772
|
-
interface Props$
|
|
6840
|
+
interface Props$1a {
|
|
6773
6841
|
ranges: string[];
|
|
6774
6842
|
hasSingleRange?: boolean;
|
|
6775
6843
|
required?: boolean;
|
|
@@ -6792,7 +6860,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
6792
6860
|
* onSelectionChanged is called every time the input value
|
|
6793
6861
|
* changes.
|
|
6794
6862
|
*/
|
|
6795
|
-
declare class SelectionInput extends Component<Props$
|
|
6863
|
+
declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
6796
6864
|
static template: string;
|
|
6797
6865
|
static props: {
|
|
6798
6866
|
ranges: ArrayConstructor;
|
|
@@ -6847,13 +6915,13 @@ declare class SelectionInput extends Component<Props$19, SpreadsheetChildEnv> {
|
|
|
6847
6915
|
confirm(): void;
|
|
6848
6916
|
}
|
|
6849
6917
|
|
|
6850
|
-
interface Props$
|
|
6918
|
+
interface Props$19 {
|
|
6851
6919
|
ranges: CustomizedDataSet[];
|
|
6852
6920
|
hasSingleRange?: boolean;
|
|
6853
6921
|
onSelectionChanged: (ranges: string[]) => void;
|
|
6854
6922
|
onSelectionConfirmed: () => void;
|
|
6855
6923
|
}
|
|
6856
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6924
|
+
declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
|
|
6857
6925
|
static template: string;
|
|
6858
6926
|
static components: {
|
|
6859
6927
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6873,12 +6941,12 @@ declare class ChartDataSeries extends Component<Props$18, SpreadsheetChildEnv> {
|
|
|
6873
6941
|
get title(): string;
|
|
6874
6942
|
}
|
|
6875
6943
|
|
|
6876
|
-
interface Props$
|
|
6944
|
+
interface Props$18 {
|
|
6877
6945
|
messages: string[];
|
|
6878
6946
|
msgType: "warning" | "error" | "info";
|
|
6879
6947
|
singleBox?: boolean;
|
|
6880
6948
|
}
|
|
6881
|
-
declare class ValidationMessages extends Component<Props$
|
|
6949
|
+
declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv> {
|
|
6882
6950
|
static template: string;
|
|
6883
6951
|
static props: {
|
|
6884
6952
|
messages: ArrayConstructor;
|
|
@@ -6892,10 +6960,10 @@ declare class ValidationMessages extends Component<Props$17, SpreadsheetChildEnv
|
|
|
6892
6960
|
get alertBoxes(): string[][];
|
|
6893
6961
|
}
|
|
6894
6962
|
|
|
6895
|
-
interface Props$
|
|
6963
|
+
interface Props$17 {
|
|
6896
6964
|
messages: string[];
|
|
6897
6965
|
}
|
|
6898
|
-
declare class ChartErrorSection extends Component<Props$
|
|
6966
|
+
declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv> {
|
|
6899
6967
|
static template: string;
|
|
6900
6968
|
static components: {
|
|
6901
6969
|
Section: typeof Section;
|
|
@@ -6909,7 +6977,7 @@ declare class ChartErrorSection extends Component<Props$16, SpreadsheetChildEnv>
|
|
|
6909
6977
|
};
|
|
6910
6978
|
}
|
|
6911
6979
|
|
|
6912
|
-
interface Props$
|
|
6980
|
+
interface Props$16 {
|
|
6913
6981
|
title?: string;
|
|
6914
6982
|
range: string;
|
|
6915
6983
|
isInvalid: boolean;
|
|
@@ -6922,7 +6990,7 @@ interface Props$15 {
|
|
|
6922
6990
|
onChange: (value: boolean) => void;
|
|
6923
6991
|
}>;
|
|
6924
6992
|
}
|
|
6925
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6993
|
+
declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
|
|
6926
6994
|
static template: string;
|
|
6927
6995
|
static components: {
|
|
6928
6996
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6943,16 +7011,20 @@ declare class ChartLabelRange extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
6943
7011
|
optional: boolean;
|
|
6944
7012
|
};
|
|
6945
7013
|
};
|
|
6946
|
-
static defaultProps: Partial<Props$
|
|
7014
|
+
static defaultProps: Partial<Props$16>;
|
|
6947
7015
|
}
|
|
6948
7016
|
|
|
6949
|
-
interface Props$
|
|
7017
|
+
interface Props$15 {
|
|
6950
7018
|
figureId: UID;
|
|
6951
7019
|
definition: ChartWithDataSetDefinition;
|
|
6952
7020
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
6953
7021
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
6954
7022
|
}
|
|
6955
|
-
|
|
7023
|
+
interface ChartPanelState {
|
|
7024
|
+
datasetDispatchResult?: DispatchResult;
|
|
7025
|
+
labelsDispatchResult?: DispatchResult;
|
|
7026
|
+
}
|
|
7027
|
+
declare class GenericChartConfigPanel extends Component<Props$15, SpreadsheetChildEnv> {
|
|
6956
7028
|
static template: string;
|
|
6957
7029
|
static components: {
|
|
6958
7030
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -6967,33 +7039,13 @@ declare class GenericChartConfigPanel extends Component<Props$14, SpreadsheetChi
|
|
|
6967
7039
|
updateChart: FunctionConstructor;
|
|
6968
7040
|
canUpdateChart: FunctionConstructor;
|
|
6969
7041
|
};
|
|
6970
|
-
|
|
6971
|
-
|
|
7042
|
+
protected state: ChartPanelState;
|
|
7043
|
+
protected dataSeriesRanges: CustomizedDataSet[];
|
|
6972
7044
|
private labelRange;
|
|
6973
7045
|
protected chartTerms: {
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
StackedLineChart: string;
|
|
6978
|
-
StackedAreaChart: string;
|
|
6979
|
-
StackedColumnChart: string;
|
|
6980
|
-
CumulativeData: string;
|
|
6981
|
-
TreatLabelsAsText: string;
|
|
6982
|
-
AggregatedChart: string;
|
|
6983
|
-
Errors: {
|
|
6984
|
-
Unexpected: string;
|
|
6985
|
-
InvalidDataSet: string;
|
|
6986
|
-
InvalidLabelRange: string;
|
|
6987
|
-
InvalidScorecardKeyValue: string;
|
|
6988
|
-
InvalidScorecardBaseline: string;
|
|
6989
|
-
InvalidGaugeDataRange: string;
|
|
6990
|
-
EmptyGaugeRangeMin: string;
|
|
6991
|
-
GaugeRangeMinNaN: string;
|
|
6992
|
-
EmptyGaugeRangeMax: string;
|
|
6993
|
-
GaugeRangeMaxNaN: string;
|
|
6994
|
-
GaugeRangeMinBiggerThanRangeMax: string;
|
|
6995
|
-
GaugeLowerInflectionPointNaN: string;
|
|
6996
|
-
GaugeUpperInflectionPointNaN: string;
|
|
7046
|
+
[key: string]: any;
|
|
7047
|
+
GeoChart: {
|
|
7048
|
+
ColorScales: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
|
|
6997
7049
|
};
|
|
6998
7050
|
};
|
|
6999
7051
|
setup(): void;
|
|
@@ -7003,7 +7055,7 @@ declare class GenericChartConfigPanel extends Component<Props$14, SpreadsheetChi
|
|
|
7003
7055
|
get dataSetsHaveTitleLabel(): string;
|
|
7004
7056
|
getLabelRangeOptions(): {
|
|
7005
7057
|
name: string;
|
|
7006
|
-
label:
|
|
7058
|
+
label: any;
|
|
7007
7059
|
value: boolean;
|
|
7008
7060
|
onChange: (aggregated: boolean) => void;
|
|
7009
7061
|
}[];
|
|
@@ -7056,12 +7108,12 @@ interface Choice$1 {
|
|
|
7056
7108
|
value: string;
|
|
7057
7109
|
label: string;
|
|
7058
7110
|
}
|
|
7059
|
-
interface Props$
|
|
7111
|
+
interface Props$14 {
|
|
7060
7112
|
choices: Choice$1[];
|
|
7061
7113
|
onChange: (value: string) => void;
|
|
7062
7114
|
selectedValue: string;
|
|
7063
7115
|
}
|
|
7064
|
-
declare class BadgeSelection extends Component<Props$
|
|
7116
|
+
declare class BadgeSelection extends Component<Props$14, SpreadsheetChildEnv> {
|
|
7065
7117
|
static template: string;
|
|
7066
7118
|
static props: {
|
|
7067
7119
|
choices: ArrayConstructor;
|
|
@@ -7218,7 +7270,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7218
7270
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7219
7271
|
}
|
|
7220
7272
|
|
|
7221
|
-
interface Props$
|
|
7273
|
+
interface Props$13 {
|
|
7222
7274
|
currentColor: string | undefined;
|
|
7223
7275
|
toggleColorPicker: () => void;
|
|
7224
7276
|
showColorPicker: boolean;
|
|
@@ -7229,7 +7281,7 @@ interface Props$12 {
|
|
|
7229
7281
|
dropdownMaxHeight?: Pixel;
|
|
7230
7282
|
class?: string;
|
|
7231
7283
|
}
|
|
7232
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7284
|
+
declare class ColorPickerWidget extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7233
7285
|
static template: string;
|
|
7234
7286
|
static props: {
|
|
7235
7287
|
currentColor: {
|
|
@@ -7290,13 +7342,13 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7290
7342
|
interface State$8 {
|
|
7291
7343
|
isOpen: boolean;
|
|
7292
7344
|
}
|
|
7293
|
-
interface Props$
|
|
7345
|
+
interface Props$12 {
|
|
7294
7346
|
currentFontSize: number;
|
|
7295
7347
|
class: string;
|
|
7296
7348
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7297
7349
|
onToggle?: () => void;
|
|
7298
7350
|
}
|
|
7299
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7351
|
+
declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
|
|
7300
7352
|
static template: string;
|
|
7301
7353
|
static props: {
|
|
7302
7354
|
currentFontSize: NumberConstructor;
|
|
@@ -7327,7 +7379,7 @@ declare class FontSizeEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
|
7327
7379
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7328
7380
|
}
|
|
7329
7381
|
|
|
7330
|
-
interface Props$
|
|
7382
|
+
interface Props$11 {
|
|
7331
7383
|
title?: string;
|
|
7332
7384
|
updateTitle: (title: string) => void;
|
|
7333
7385
|
name?: string;
|
|
@@ -7338,7 +7390,7 @@ interface Props$10 {
|
|
|
7338
7390
|
style: TitleDesign;
|
|
7339
7391
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7340
7392
|
}
|
|
7341
|
-
declare class ChartTitle extends Component<Props$
|
|
7393
|
+
declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
|
|
7342
7394
|
static template: string;
|
|
7343
7395
|
static components: {
|
|
7344
7396
|
Section: typeof Section;
|
|
@@ -7401,13 +7453,13 @@ interface AxisDefinition {
|
|
|
7401
7453
|
id: string;
|
|
7402
7454
|
name: string;
|
|
7403
7455
|
}
|
|
7404
|
-
interface Props
|
|
7456
|
+
interface Props$10 {
|
|
7405
7457
|
figureId: UID;
|
|
7406
7458
|
definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
|
|
7407
7459
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
|
|
7408
7460
|
axesList: AxisDefinition[];
|
|
7409
7461
|
}
|
|
7410
|
-
declare class AxisDesignEditor extends Component<Props
|
|
7462
|
+
declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv> {
|
|
7411
7463
|
static template: string;
|
|
7412
7464
|
static components: {
|
|
7413
7465
|
Section: typeof Section;
|
|
@@ -7438,13 +7490,13 @@ declare class AxisDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
|
|
|
7438
7490
|
updateAxisTitle(text: string): void;
|
|
7439
7491
|
}
|
|
7440
7492
|
|
|
7441
|
-
interface Props
|
|
7493
|
+
interface Props$$ {
|
|
7442
7494
|
currentColor?: string;
|
|
7443
7495
|
onColorPicked: (color: string) => void;
|
|
7444
7496
|
title?: string;
|
|
7445
7497
|
disableNoColor?: boolean;
|
|
7446
7498
|
}
|
|
7447
|
-
declare class RoundColorPicker extends Component<Props
|
|
7499
|
+
declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
|
|
7448
7500
|
static template: string;
|
|
7449
7501
|
static components: {
|
|
7450
7502
|
Section: typeof Section;
|
|
@@ -7477,13 +7529,13 @@ declare class RoundColorPicker extends Component<Props$_, SpreadsheetChildEnv> {
|
|
|
7477
7529
|
get buttonStyle(): string;
|
|
7478
7530
|
}
|
|
7479
7531
|
|
|
7480
|
-
interface Props$
|
|
7532
|
+
interface Props$_ {
|
|
7481
7533
|
figureId: UID;
|
|
7482
7534
|
definition: ChartDefinition;
|
|
7483
7535
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7484
7536
|
defaultChartTitleFontSize?: number;
|
|
7485
7537
|
}
|
|
7486
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
7538
|
+
declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
|
|
7487
7539
|
static template: string;
|
|
7488
7540
|
static components: {
|
|
7489
7541
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7521,12 +7573,12 @@ declare class GeneralDesignEditor extends Component<Props$Z, SpreadsheetChildEnv
|
|
|
7521
7573
|
updateChartTitleAlignment(align: "left" | "center" | "right"): void;
|
|
7522
7574
|
}
|
|
7523
7575
|
|
|
7524
|
-
interface Props$
|
|
7576
|
+
interface Props$Z {
|
|
7525
7577
|
figureId: UID;
|
|
7526
7578
|
definition: ChartWithDataSetDefinition;
|
|
7527
7579
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7528
7580
|
}
|
|
7529
|
-
declare class ChartLegend extends Component<Props$
|
|
7581
|
+
declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
7530
7582
|
static template: string;
|
|
7531
7583
|
static components: {
|
|
7532
7584
|
Section: typeof Section;
|
|
@@ -7543,14 +7595,14 @@ interface Choice {
|
|
|
7543
7595
|
value: unknown;
|
|
7544
7596
|
label: string;
|
|
7545
7597
|
}
|
|
7546
|
-
interface Props$
|
|
7598
|
+
interface Props$Y {
|
|
7547
7599
|
choices: Choice[];
|
|
7548
7600
|
onChange: (value: unknown) => void;
|
|
7549
7601
|
selectedValue: string;
|
|
7550
7602
|
name: string;
|
|
7551
7603
|
direction: "horizontal" | "vertical";
|
|
7552
7604
|
}
|
|
7553
|
-
declare class RadioSelection extends Component<Props$
|
|
7605
|
+
declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
7554
7606
|
static template: string;
|
|
7555
7607
|
static props: {
|
|
7556
7608
|
choices: ArrayConstructor;
|
|
@@ -7569,13 +7621,13 @@ declare class RadioSelection extends Component<Props$X, SpreadsheetChildEnv> {
|
|
|
7569
7621
|
};
|
|
7570
7622
|
}
|
|
7571
7623
|
|
|
7572
|
-
interface Props$
|
|
7624
|
+
interface Props$X {
|
|
7573
7625
|
figureId: UID;
|
|
7574
7626
|
definition: ChartWithDataSetDefinition;
|
|
7575
7627
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7576
7628
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7577
7629
|
}
|
|
7578
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
7630
|
+
declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
|
|
7579
7631
|
static template: string;
|
|
7580
7632
|
static components: {
|
|
7581
7633
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7603,13 +7655,13 @@ declare class SeriesDesignEditor extends Component<Props$W, SpreadsheetChildEnv>
|
|
|
7603
7655
|
getDataSerieLabel(): string | undefined;
|
|
7604
7656
|
}
|
|
7605
7657
|
|
|
7606
|
-
interface Props$
|
|
7658
|
+
interface Props$W {
|
|
7607
7659
|
figureId: UID;
|
|
7608
7660
|
definition: ChartWithDataSetDefinition;
|
|
7609
7661
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7610
7662
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7611
7663
|
}
|
|
7612
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
7664
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
|
|
7613
7665
|
static template: string;
|
|
7614
7666
|
static components: {
|
|
7615
7667
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -7650,13 +7702,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$V, SpreadsheetC
|
|
|
7650
7702
|
updateTrendLineValue(index: number, config: any): void;
|
|
7651
7703
|
}
|
|
7652
7704
|
|
|
7653
|
-
interface Props$
|
|
7705
|
+
interface Props$V {
|
|
7654
7706
|
figureId: UID;
|
|
7655
7707
|
definition: ChartWithDataSetDefinition;
|
|
7656
7708
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7657
7709
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7658
7710
|
}
|
|
7659
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
7711
|
+
declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Component<P, SpreadsheetChildEnv> {
|
|
7660
7712
|
static template: string;
|
|
7661
7713
|
static components: {
|
|
7662
7714
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7676,13 +7728,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$U = Props$U> extends Comp
|
|
|
7676
7728
|
get axesList(): AxisDefinition[];
|
|
7677
7729
|
}
|
|
7678
7730
|
|
|
7679
|
-
interface Props$
|
|
7731
|
+
interface Props$U {
|
|
7680
7732
|
figureId: UID;
|
|
7681
7733
|
definition: GaugeChartDefinition;
|
|
7682
7734
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7683
7735
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7684
7736
|
}
|
|
7685
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
7737
|
+
declare class GaugeChartConfigPanel extends Component<Props$U, SpreadsheetChildEnv> {
|
|
7686
7738
|
static template: string;
|
|
7687
7739
|
static components: {
|
|
7688
7740
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -7707,13 +7759,13 @@ interface PanelState {
|
|
|
7707
7759
|
sectionRuleDispatchResult?: DispatchResult;
|
|
7708
7760
|
sectionRule: SectionRule;
|
|
7709
7761
|
}
|
|
7710
|
-
interface Props$
|
|
7762
|
+
interface Props$T {
|
|
7711
7763
|
figureId: UID;
|
|
7712
7764
|
definition: GaugeChartDefinition;
|
|
7713
7765
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7714
7766
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7715
7767
|
}
|
|
7716
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
7768
|
+
declare class GaugeChartDesignPanel extends Component<Props$T, SpreadsheetChildEnv> {
|
|
7717
7769
|
static template: string;
|
|
7718
7770
|
static components: {
|
|
7719
7771
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7749,7 +7801,7 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
7749
7801
|
get stackedLabel(): string;
|
|
7750
7802
|
getLabelRangeOptions(): {
|
|
7751
7803
|
name: string;
|
|
7752
|
-
label:
|
|
7804
|
+
label: any;
|
|
7753
7805
|
value: boolean;
|
|
7754
7806
|
onChange: (aggregated: boolean) => void;
|
|
7755
7807
|
}[];
|
|
@@ -7758,13 +7810,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
7758
7810
|
onUpdateCumulative(cumulative: boolean): void;
|
|
7759
7811
|
}
|
|
7760
7812
|
|
|
7761
|
-
interface Props$
|
|
7813
|
+
interface Props$S {
|
|
7762
7814
|
figureId: UID;
|
|
7763
7815
|
definition: ScorecardChartDefinition;
|
|
7764
7816
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7765
7817
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7766
7818
|
}
|
|
7767
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
7819
|
+
declare class ScorecardChartConfigPanel extends Component<Props$S, SpreadsheetChildEnv> {
|
|
7768
7820
|
static template: string;
|
|
7769
7821
|
static components: {
|
|
7770
7822
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7793,13 +7845,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
|
|
|
7793
7845
|
}
|
|
7794
7846
|
|
|
7795
7847
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
7796
|
-
interface Props$
|
|
7848
|
+
interface Props$R {
|
|
7797
7849
|
figureId: UID;
|
|
7798
7850
|
definition: ScorecardChartDefinition;
|
|
7799
7851
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7800
7852
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7801
7853
|
}
|
|
7802
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
7854
|
+
declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
|
|
7803
7855
|
static template: string;
|
|
7804
7856
|
static components: {
|
|
7805
7857
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7962,13 +8014,13 @@ interface EnrichedToken extends Token {
|
|
|
7962
8014
|
isParenthesisLinkedToCursor?: boolean;
|
|
7963
8015
|
}
|
|
7964
8016
|
|
|
7965
|
-
interface Props$
|
|
8017
|
+
interface Props$Q {
|
|
7966
8018
|
proposals: AutoCompleteProposal[];
|
|
7967
8019
|
selectedIndex: number | undefined;
|
|
7968
8020
|
onValueSelected: (value: string) => void;
|
|
7969
8021
|
onValueHovered: (index: string) => void;
|
|
7970
8022
|
}
|
|
7971
|
-
declare class TextValueProvider extends Component<Props$
|
|
8023
|
+
declare class TextValueProvider extends Component<Props$Q> {
|
|
7972
8024
|
static template: string;
|
|
7973
8025
|
static props: {
|
|
7974
8026
|
proposals: ArrayConstructor;
|
|
@@ -8054,19 +8106,19 @@ declare class ContentEditableHelper {
|
|
|
8054
8106
|
getText(): string;
|
|
8055
8107
|
}
|
|
8056
8108
|
|
|
8057
|
-
interface Props$
|
|
8109
|
+
interface Props$P {
|
|
8058
8110
|
functionName: string;
|
|
8059
8111
|
functionDescription: FunctionDescription;
|
|
8060
8112
|
argToFocus: number;
|
|
8061
8113
|
}
|
|
8062
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8114
|
+
declare class FunctionDescriptionProvider extends Component<Props$P, SpreadsheetChildEnv> {
|
|
8063
8115
|
static template: string;
|
|
8064
8116
|
static props: {
|
|
8065
8117
|
functionName: StringConstructor;
|
|
8066
8118
|
functionDescription: ObjectConstructor;
|
|
8067
8119
|
argToFocus: NumberConstructor;
|
|
8068
8120
|
};
|
|
8069
|
-
getContext(): Props$
|
|
8121
|
+
getContext(): Props$P;
|
|
8070
8122
|
get formulaArgSeparator(): string;
|
|
8071
8123
|
}
|
|
8072
8124
|
|
|
@@ -8383,6 +8435,7 @@ interface AutoCompleteProposal {
|
|
|
8383
8435
|
* Key to use for fuzzy search.
|
|
8384
8436
|
*/
|
|
8385
8437
|
fuzzySearchKey?: string;
|
|
8438
|
+
alwaysExpanded?: boolean;
|
|
8386
8439
|
}
|
|
8387
8440
|
interface AutoCompleteProvider {
|
|
8388
8441
|
proposals: AutoCompleteProposal[];
|
|
@@ -8444,10 +8497,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
8444
8497
|
private setComposerContent;
|
|
8445
8498
|
}
|
|
8446
8499
|
|
|
8447
|
-
interface Props$
|
|
8500
|
+
interface Props$O {
|
|
8448
8501
|
figure: Figure;
|
|
8449
8502
|
}
|
|
8450
|
-
declare class ChartJsComponent extends Component<Props$
|
|
8503
|
+
declare class ChartJsComponent extends Component<Props$O, SpreadsheetChildEnv> {
|
|
8451
8504
|
static template: string;
|
|
8452
8505
|
static props: {
|
|
8453
8506
|
figure: ObjectConstructor;
|
|
@@ -8463,10 +8516,10 @@ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
8463
8516
|
private updateChartJs;
|
|
8464
8517
|
}
|
|
8465
8518
|
|
|
8466
|
-
interface Props$
|
|
8519
|
+
interface Props$N {
|
|
8467
8520
|
figure: Figure;
|
|
8468
8521
|
}
|
|
8469
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
8522
|
+
declare class ScorecardChart$1 extends Component<Props$N, SpreadsheetChildEnv> {
|
|
8470
8523
|
static template: string;
|
|
8471
8524
|
static props: {
|
|
8472
8525
|
figure: ObjectConstructor;
|
|
@@ -8479,7 +8532,7 @@ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
8479
8532
|
}
|
|
8480
8533
|
|
|
8481
8534
|
type MenuItemOrSeparator = Action | "separator";
|
|
8482
|
-
interface Props$
|
|
8535
|
+
interface Props$M {
|
|
8483
8536
|
position: DOMCoordinates;
|
|
8484
8537
|
menuItems: Action[];
|
|
8485
8538
|
depth: number;
|
|
@@ -8498,7 +8551,7 @@ interface MenuState {
|
|
|
8498
8551
|
menuItems: Action[];
|
|
8499
8552
|
isHoveringChild?: boolean;
|
|
8500
8553
|
}
|
|
8501
|
-
declare class Menu extends Component<Props$
|
|
8554
|
+
declare class Menu extends Component<Props$M, SpreadsheetChildEnv> {
|
|
8502
8555
|
static template: string;
|
|
8503
8556
|
static props: {
|
|
8504
8557
|
position: ObjectConstructor;
|
|
@@ -8574,14 +8627,14 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
8574
8627
|
}
|
|
8575
8628
|
|
|
8576
8629
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
8577
|
-
interface Props$
|
|
8630
|
+
interface Props$L {
|
|
8578
8631
|
figure: Figure;
|
|
8579
8632
|
style: string;
|
|
8580
8633
|
onFigureDeleted: () => void;
|
|
8581
8634
|
onMouseDown: (ev: MouseEvent) => void;
|
|
8582
8635
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
8583
8636
|
}
|
|
8584
|
-
declare class FigureComponent extends Component<Props$
|
|
8637
|
+
declare class FigureComponent extends Component<Props$L, SpreadsheetChildEnv> {
|
|
8585
8638
|
static template: string;
|
|
8586
8639
|
static props: {
|
|
8587
8640
|
figure: ObjectConstructor;
|
|
@@ -8630,11 +8683,11 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
8630
8683
|
private openContextMenu;
|
|
8631
8684
|
}
|
|
8632
8685
|
|
|
8633
|
-
interface Props$
|
|
8686
|
+
interface Props$K {
|
|
8634
8687
|
figure: Figure;
|
|
8635
8688
|
onFigureDeleted: () => void;
|
|
8636
8689
|
}
|
|
8637
|
-
declare class ChartFigure extends Component<Props$
|
|
8690
|
+
declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
|
|
8638
8691
|
static template: string;
|
|
8639
8692
|
static props: {
|
|
8640
8693
|
figure: ObjectConstructor;
|
|
@@ -8646,7 +8699,7 @@ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
8646
8699
|
get chartComponent(): new (...args: any) => Component;
|
|
8647
8700
|
}
|
|
8648
8701
|
|
|
8649
|
-
interface Props$
|
|
8702
|
+
interface Props$J {
|
|
8650
8703
|
isVisible: boolean;
|
|
8651
8704
|
position: Position;
|
|
8652
8705
|
}
|
|
@@ -8658,7 +8711,7 @@ interface State$7 {
|
|
|
8658
8711
|
position: Position;
|
|
8659
8712
|
handler: boolean;
|
|
8660
8713
|
}
|
|
8661
|
-
declare class Autofill extends Component<Props$
|
|
8714
|
+
declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
|
|
8662
8715
|
static template: string;
|
|
8663
8716
|
static props: {
|
|
8664
8717
|
position: ObjectConstructor;
|
|
@@ -8692,7 +8745,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
8692
8745
|
get tagStyle(): string;
|
|
8693
8746
|
}
|
|
8694
8747
|
|
|
8695
|
-
interface Props$
|
|
8748
|
+
interface Props$I {
|
|
8696
8749
|
gridDims: DOMDimension;
|
|
8697
8750
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
8698
8751
|
}
|
|
@@ -8700,7 +8753,7 @@ interface Props$H {
|
|
|
8700
8753
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
8701
8754
|
* It also applies the style of the cell to the composer input.
|
|
8702
8755
|
*/
|
|
8703
|
-
declare class GridComposer extends Component<Props$
|
|
8756
|
+
declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
|
|
8704
8757
|
static template: string;
|
|
8705
8758
|
static props: {
|
|
8706
8759
|
gridDims: ObjectConstructor;
|
|
@@ -8758,10 +8811,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
8758
8811
|
isPositionVisible(position: CellPosition): boolean;
|
|
8759
8812
|
}
|
|
8760
8813
|
|
|
8761
|
-
interface Props$
|
|
8814
|
+
interface Props$H {
|
|
8762
8815
|
cellPosition: CellPosition;
|
|
8763
8816
|
}
|
|
8764
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
8817
|
+
declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChildEnv> {
|
|
8765
8818
|
static template: string;
|
|
8766
8819
|
static components: {
|
|
8767
8820
|
Checkbox: typeof Checkbox;
|
|
@@ -8774,10 +8827,10 @@ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChild
|
|
|
8774
8827
|
get isDisabled(): boolean;
|
|
8775
8828
|
}
|
|
8776
8829
|
|
|
8777
|
-
interface Props$
|
|
8830
|
+
interface Props$G {
|
|
8778
8831
|
cellPosition: CellPosition;
|
|
8779
8832
|
}
|
|
8780
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
8833
|
+
declare class DataValidationListIcon extends Component<Props$G, SpreadsheetChildEnv> {
|
|
8781
8834
|
static template: string;
|
|
8782
8835
|
static props: {
|
|
8783
8836
|
cellPosition: ObjectConstructor;
|
|
@@ -8807,7 +8860,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
8807
8860
|
}
|
|
8808
8861
|
|
|
8809
8862
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
8810
|
-
interface Props$
|
|
8863
|
+
interface Props$F {
|
|
8811
8864
|
onFigureDeleted: () => void;
|
|
8812
8865
|
}
|
|
8813
8866
|
interface Container {
|
|
@@ -8825,6 +8878,7 @@ interface DndState {
|
|
|
8825
8878
|
draggedFigure?: Figure;
|
|
8826
8879
|
horizontalSnap?: Snap<HFigureAxisType>;
|
|
8827
8880
|
verticalSnap?: Snap<VFigureAxisType>;
|
|
8881
|
+
cancelDnd: (() => void) | undefined;
|
|
8828
8882
|
}
|
|
8829
8883
|
/**
|
|
8830
8884
|
* Each figure ⭐ is positioned inside a container `div` placed and sized
|
|
@@ -8886,7 +8940,7 @@ interface DndState {
|
|
|
8886
8940
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
8887
8941
|
*
|
|
8888
8942
|
*/
|
|
8889
|
-
declare class FiguresContainer extends Component<Props$
|
|
8943
|
+
declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
8890
8944
|
static template: string;
|
|
8891
8945
|
static props: {
|
|
8892
8946
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -8921,10 +8975,10 @@ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
8921
8975
|
private getSnapLineStyle;
|
|
8922
8976
|
}
|
|
8923
8977
|
|
|
8924
|
-
interface Props$
|
|
8978
|
+
interface Props$E {
|
|
8925
8979
|
cellPosition: CellPosition;
|
|
8926
8980
|
}
|
|
8927
|
-
declare class FilterIcon extends Component<Props$
|
|
8981
|
+
declare class FilterIcon extends Component<Props$E, SpreadsheetChildEnv> {
|
|
8928
8982
|
static template: string;
|
|
8929
8983
|
static props: {
|
|
8930
8984
|
cellPosition: ObjectConstructor;
|
|
@@ -8946,10 +9000,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
8946
9000
|
getFilterHeadersPositions(): CellPosition[];
|
|
8947
9001
|
}
|
|
8948
9002
|
|
|
8949
|
-
interface Props$
|
|
9003
|
+
interface Props$D {
|
|
8950
9004
|
focusGrid: () => void;
|
|
8951
9005
|
}
|
|
8952
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9006
|
+
declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv> {
|
|
8953
9007
|
static template: string;
|
|
8954
9008
|
static props: {
|
|
8955
9009
|
focusGrid: FunctionConstructor;
|
|
@@ -8973,7 +9027,7 @@ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv>
|
|
|
8973
9027
|
private onExternalClick;
|
|
8974
9028
|
}
|
|
8975
9029
|
|
|
8976
|
-
interface Props$
|
|
9030
|
+
interface Props$C {
|
|
8977
9031
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
8978
9032
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
8979
9033
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -8983,7 +9037,7 @@ interface Props$B {
|
|
|
8983
9037
|
gridOverlayDimensions: string;
|
|
8984
9038
|
onFigureDeleted: () => void;
|
|
8985
9039
|
}
|
|
8986
|
-
declare class GridOverlay extends Component<Props$
|
|
9040
|
+
declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
|
|
8987
9041
|
static template: string;
|
|
8988
9042
|
static props: {
|
|
8989
9043
|
onCellHovered: {
|
|
@@ -9041,12 +9095,12 @@ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9041
9095
|
private getCartesianCoordinates;
|
|
9042
9096
|
}
|
|
9043
9097
|
|
|
9044
|
-
interface Props$
|
|
9098
|
+
interface Props$B {
|
|
9045
9099
|
gridRect: Rect;
|
|
9046
9100
|
onClosePopover: () => void;
|
|
9047
9101
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9048
9102
|
}
|
|
9049
|
-
declare class GridPopover extends Component<Props$
|
|
9103
|
+
declare class GridPopover extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9050
9104
|
static template: string;
|
|
9051
9105
|
static props: {
|
|
9052
9106
|
onClosePopover: FunctionConstructor;
|
|
@@ -9189,13 +9243,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
9189
9243
|
}
|
|
9190
9244
|
|
|
9191
9245
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
9192
|
-
interface Props$
|
|
9246
|
+
interface Props$A {
|
|
9193
9247
|
zone: Zone;
|
|
9194
9248
|
orientation: Orientation$1;
|
|
9195
9249
|
isMoving: boolean;
|
|
9196
9250
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
9197
9251
|
}
|
|
9198
|
-
declare class Border extends Component<Props$
|
|
9252
|
+
declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
9199
9253
|
static template: string;
|
|
9200
9254
|
static props: {
|
|
9201
9255
|
zone: ObjectConstructor;
|
|
@@ -9208,14 +9262,14 @@ declare class Border extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
9208
9262
|
}
|
|
9209
9263
|
|
|
9210
9264
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
9211
|
-
interface Props$
|
|
9265
|
+
interface Props$z {
|
|
9212
9266
|
zone: Zone;
|
|
9213
9267
|
color: Color;
|
|
9214
9268
|
orientation: Orientation;
|
|
9215
9269
|
isResizing: boolean;
|
|
9216
9270
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
9217
9271
|
}
|
|
9218
|
-
declare class Corner extends Component<Props$
|
|
9272
|
+
declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
9219
9273
|
static template: string;
|
|
9220
9274
|
static props: {
|
|
9221
9275
|
zone: ObjectConstructor;
|
|
@@ -9230,14 +9284,14 @@ declare class Corner extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
9230
9284
|
onMouseDown(ev: MouseEvent): void;
|
|
9231
9285
|
}
|
|
9232
9286
|
|
|
9233
|
-
interface Props$
|
|
9287
|
+
interface Props$y {
|
|
9234
9288
|
zone: Zone;
|
|
9235
9289
|
color: Color;
|
|
9236
9290
|
}
|
|
9237
9291
|
interface HighlightState {
|
|
9238
9292
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
9239
9293
|
}
|
|
9240
|
-
declare class Highlight extends Component<Props$
|
|
9294
|
+
declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
|
|
9241
9295
|
static template: string;
|
|
9242
9296
|
static props: {
|
|
9243
9297
|
zone: ObjectConstructor;
|
|
@@ -9254,7 +9308,7 @@ declare class Highlight extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
9254
9308
|
|
|
9255
9309
|
type ScrollDirection = "horizontal" | "vertical";
|
|
9256
9310
|
|
|
9257
|
-
interface Props$
|
|
9311
|
+
interface Props$x {
|
|
9258
9312
|
width: Pixel;
|
|
9259
9313
|
height: Pixel;
|
|
9260
9314
|
direction: ScrollDirection;
|
|
@@ -9262,7 +9316,7 @@ interface Props$w {
|
|
|
9262
9316
|
offset: Pixel;
|
|
9263
9317
|
onScroll: (offset: Pixel) => void;
|
|
9264
9318
|
}
|
|
9265
|
-
declare class ScrollBar extends Component<Props$
|
|
9319
|
+
declare class ScrollBar extends Component<Props$x> {
|
|
9266
9320
|
static props: {
|
|
9267
9321
|
width: {
|
|
9268
9322
|
type: NumberConstructor;
|
|
@@ -9290,10 +9344,10 @@ declare class ScrollBar extends Component<Props$w> {
|
|
|
9290
9344
|
onScroll(ev: any): void;
|
|
9291
9345
|
}
|
|
9292
9346
|
|
|
9293
|
-
interface Props$
|
|
9347
|
+
interface Props$w {
|
|
9294
9348
|
leftOffset: number;
|
|
9295
9349
|
}
|
|
9296
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
9350
|
+
declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
|
|
9297
9351
|
static props: {
|
|
9298
9352
|
leftOffset: {
|
|
9299
9353
|
type: NumberConstructor;
|
|
@@ -9319,10 +9373,10 @@ declare class HorizontalScrollBar extends Component<Props$v, SpreadsheetChildEnv
|
|
|
9319
9373
|
onScroll(offset: any): void;
|
|
9320
9374
|
}
|
|
9321
9375
|
|
|
9322
|
-
interface Props$
|
|
9376
|
+
interface Props$v {
|
|
9323
9377
|
topOffset: number;
|
|
9324
9378
|
}
|
|
9325
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
9379
|
+
declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv> {
|
|
9326
9380
|
static props: {
|
|
9327
9381
|
topOffset: {
|
|
9328
9382
|
type: NumberConstructor;
|
|
@@ -9348,13 +9402,13 @@ declare class VerticalScrollBar extends Component<Props$u, SpreadsheetChildEnv>
|
|
|
9348
9402
|
onScroll(offset: any): void;
|
|
9349
9403
|
}
|
|
9350
9404
|
|
|
9351
|
-
interface Props$
|
|
9405
|
+
interface Props$u {
|
|
9352
9406
|
table: Table;
|
|
9353
9407
|
}
|
|
9354
9408
|
interface State$6 {
|
|
9355
9409
|
highlightZone: Zone | undefined;
|
|
9356
9410
|
}
|
|
9357
|
-
declare class TableResizer extends Component<Props$
|
|
9411
|
+
declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
|
|
9358
9412
|
static template: string;
|
|
9359
9413
|
static props: {
|
|
9360
9414
|
table: ObjectConstructor;
|
|
@@ -9386,10 +9440,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
9386
9440
|
* - a vertical resizer (same, for rows)
|
|
9387
9441
|
*/
|
|
9388
9442
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
9389
|
-
interface Props$
|
|
9443
|
+
interface Props$t {
|
|
9390
9444
|
exposeFocus: (focus: () => void) => void;
|
|
9391
9445
|
}
|
|
9392
|
-
declare class Grid extends Component<Props$
|
|
9446
|
+
declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
9393
9447
|
static template: string;
|
|
9394
9448
|
static props: {
|
|
9395
9449
|
exposeFocus: FunctionConstructor;
|
|
@@ -9498,7 +9552,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
9498
9552
|
private getChartDefinitionFromContextCreation;
|
|
9499
9553
|
}
|
|
9500
9554
|
|
|
9501
|
-
interface Props$
|
|
9555
|
+
interface Props$s {
|
|
9502
9556
|
figureId: UID;
|
|
9503
9557
|
chartPanelStore: MainChartPanelStore;
|
|
9504
9558
|
}
|
|
@@ -9506,7 +9560,7 @@ interface ChartTypePickerState {
|
|
|
9506
9560
|
popoverProps: PopoverProps | undefined;
|
|
9507
9561
|
popoverStyle: string;
|
|
9508
9562
|
}
|
|
9509
|
-
declare class ChartTypePicker extends Component<Props$
|
|
9563
|
+
declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
|
|
9510
9564
|
static template: string;
|
|
9511
9565
|
static components: {
|
|
9512
9566
|
Section: typeof Section;
|
|
@@ -9541,11 +9595,11 @@ declare class ChartTypePicker extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
9541
9595
|
private closePopover;
|
|
9542
9596
|
}
|
|
9543
9597
|
|
|
9544
|
-
interface Props$
|
|
9598
|
+
interface Props$r {
|
|
9545
9599
|
onCloseSidePanel: () => void;
|
|
9546
9600
|
figureId: UID;
|
|
9547
9601
|
}
|
|
9548
|
-
declare class ChartPanel extends Component<Props$
|
|
9602
|
+
declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
9549
9603
|
static template: string;
|
|
9550
9604
|
static components: {
|
|
9551
9605
|
Section: typeof Section;
|
|
@@ -9565,13 +9619,13 @@ declare class ChartPanel extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
9565
9619
|
private getChartDefinition;
|
|
9566
9620
|
}
|
|
9567
9621
|
|
|
9568
|
-
interface Props$
|
|
9622
|
+
interface Props$q {
|
|
9569
9623
|
figureId: UID;
|
|
9570
9624
|
definition: PieChartDefinition;
|
|
9571
9625
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
9572
9626
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
9573
9627
|
}
|
|
9574
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
9628
|
+
declare class PieChartDesignPanel extends Component<Props$q, SpreadsheetChildEnv> {
|
|
9575
9629
|
static template: string;
|
|
9576
9630
|
static components: {
|
|
9577
9631
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9590,10 +9644,10 @@ declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv
|
|
|
9590
9644
|
};
|
|
9591
9645
|
}
|
|
9592
9646
|
|
|
9593
|
-
interface Props$
|
|
9647
|
+
interface Props$p {
|
|
9594
9648
|
items: ActionSpec[];
|
|
9595
9649
|
}
|
|
9596
|
-
declare class CogWheelMenu extends Component<Props$
|
|
9650
|
+
declare class CogWheelMenu extends Component<Props$p, SpreadsheetChildEnv> {
|
|
9597
9651
|
static template: string;
|
|
9598
9652
|
static components: {
|
|
9599
9653
|
Menu: typeof Menu;
|
|
@@ -9676,14 +9730,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
9676
9730
|
get highlights(): Highlight$1[];
|
|
9677
9731
|
}
|
|
9678
9732
|
|
|
9679
|
-
interface Props$
|
|
9733
|
+
interface Props$o {
|
|
9680
9734
|
deferUpdate: boolean;
|
|
9681
9735
|
isDirty: boolean;
|
|
9682
9736
|
toggleDeferUpdate: (value: boolean) => void;
|
|
9683
9737
|
discard: () => void;
|
|
9684
9738
|
apply: () => void;
|
|
9685
9739
|
}
|
|
9686
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
9740
|
+
declare class PivotDeferUpdate extends Component<Props$o, SpreadsheetChildEnv> {
|
|
9687
9741
|
static template: string;
|
|
9688
9742
|
static props: {
|
|
9689
9743
|
deferUpdate: BooleanConstructor;
|
|
@@ -9700,11 +9754,11 @@ declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
9700
9754
|
get deferUpdatesTooltip(): string;
|
|
9701
9755
|
}
|
|
9702
9756
|
|
|
9703
|
-
interface Props$
|
|
9757
|
+
interface Props$n {
|
|
9704
9758
|
onFieldPicked: (field: string) => void;
|
|
9705
9759
|
fields: PivotField[];
|
|
9706
9760
|
}
|
|
9707
|
-
declare class AddDimensionButton extends Component<Props$
|
|
9761
|
+
declare class AddDimensionButton extends Component<Props$n, SpreadsheetChildEnv> {
|
|
9708
9762
|
static template: string;
|
|
9709
9763
|
static components: {
|
|
9710
9764
|
Popover: typeof Popover;
|
|
@@ -9740,14 +9794,14 @@ declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
9740
9794
|
onKeyDown(ev: KeyboardEvent): void;
|
|
9741
9795
|
}
|
|
9742
9796
|
|
|
9743
|
-
interface Props$
|
|
9797
|
+
interface Props$m {
|
|
9744
9798
|
value: string;
|
|
9745
9799
|
onChange: (value: string) => void;
|
|
9746
9800
|
class?: string;
|
|
9747
9801
|
id?: string;
|
|
9748
9802
|
placeholder?: string;
|
|
9749
9803
|
}
|
|
9750
|
-
declare class TextInput extends Component<Props$
|
|
9804
|
+
declare class TextInput extends Component<Props$m, SpreadsheetChildEnv> {
|
|
9751
9805
|
static template: string;
|
|
9752
9806
|
static props: {
|
|
9753
9807
|
value: StringConstructor;
|
|
@@ -9772,13 +9826,13 @@ declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
9772
9826
|
focusInputAndSelectContent(): void;
|
|
9773
9827
|
}
|
|
9774
9828
|
|
|
9775
|
-
interface Props$
|
|
9829
|
+
interface Props$l {
|
|
9776
9830
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
9777
9831
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
9778
9832
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
9779
9833
|
type: "row" | "col" | "measure";
|
|
9780
9834
|
}
|
|
9781
|
-
declare class PivotDimension extends Component<Props$
|
|
9835
|
+
declare class PivotDimension extends Component<Props$l, SpreadsheetChildEnv> {
|
|
9782
9836
|
static template: string;
|
|
9783
9837
|
static props: {
|
|
9784
9838
|
dimension: ObjectConstructor;
|
|
@@ -9802,13 +9856,13 @@ declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
9802
9856
|
updateName(name: string): void;
|
|
9803
9857
|
}
|
|
9804
9858
|
|
|
9805
|
-
interface Props$
|
|
9859
|
+
interface Props$k {
|
|
9806
9860
|
dimension: PivotDimension$1;
|
|
9807
9861
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
9808
9862
|
availableGranularities: Set<string>;
|
|
9809
9863
|
allGranularities: string[];
|
|
9810
9864
|
}
|
|
9811
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
9865
|
+
declare class PivotDimensionGranularity extends Component<Props$k, SpreadsheetChildEnv> {
|
|
9812
9866
|
static template: string;
|
|
9813
9867
|
static props: {
|
|
9814
9868
|
dimension: ObjectConstructor;
|
|
@@ -9833,11 +9887,11 @@ declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetCh
|
|
|
9833
9887
|
};
|
|
9834
9888
|
}
|
|
9835
9889
|
|
|
9836
|
-
interface Props$
|
|
9890
|
+
interface Props$j {
|
|
9837
9891
|
dimension: PivotDimension$1;
|
|
9838
9892
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
9839
9893
|
}
|
|
9840
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
9894
|
+
declare class PivotDimensionOrder extends Component<Props$j, SpreadsheetChildEnv> {
|
|
9841
9895
|
static template: string;
|
|
9842
9896
|
static props: {
|
|
9843
9897
|
dimension: ObjectConstructor;
|
|
@@ -9872,7 +9926,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
9872
9926
|
*/
|
|
9873
9927
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
9874
9928
|
|
|
9875
|
-
interface Props$
|
|
9929
|
+
interface Props$i {
|
|
9876
9930
|
onConfirm: (content: string) => void;
|
|
9877
9931
|
composerContent: string;
|
|
9878
9932
|
defaultRangeSheetId: UID;
|
|
@@ -9882,7 +9936,7 @@ interface Props$h {
|
|
|
9882
9936
|
invalid?: boolean;
|
|
9883
9937
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
9884
9938
|
}
|
|
9885
|
-
declare class StandaloneComposer extends Component<Props$
|
|
9939
|
+
declare class StandaloneComposer extends Component<Props$i, SpreadsheetChildEnv> {
|
|
9886
9940
|
static template: string;
|
|
9887
9941
|
static props: {
|
|
9888
9942
|
composerContent: {
|
|
@@ -9932,7 +9986,7 @@ declare class StandaloneComposer extends Component<Props$h, SpreadsheetChildEnv>
|
|
|
9932
9986
|
onFocus(selection: ComposerSelection): void;
|
|
9933
9987
|
}
|
|
9934
9988
|
|
|
9935
|
-
interface Props$
|
|
9989
|
+
interface Props$h {
|
|
9936
9990
|
pivotId: string;
|
|
9937
9991
|
definition: PivotRuntimeDefinition;
|
|
9938
9992
|
measure: PivotMeasure;
|
|
@@ -9940,7 +9994,7 @@ interface Props$g {
|
|
|
9940
9994
|
onRemoved: () => void;
|
|
9941
9995
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
9942
9996
|
}
|
|
9943
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
9997
|
+
declare class PivotMeasureEditor extends Component<Props$h> {
|
|
9944
9998
|
static template: string;
|
|
9945
9999
|
static components: {
|
|
9946
10000
|
PivotDimension: typeof PivotDimension;
|
|
@@ -9964,6 +10018,27 @@ declare class PivotMeasureEditor extends Component<Props$g> {
|
|
|
9964
10018
|
getColoredSymbolToken(token: Token): Color | undefined;
|
|
9965
10019
|
}
|
|
9966
10020
|
|
|
10021
|
+
interface Props$g {
|
|
10022
|
+
definition: PivotRuntimeDefinition;
|
|
10023
|
+
pivotId: UID;
|
|
10024
|
+
}
|
|
10025
|
+
declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
10026
|
+
static template: string;
|
|
10027
|
+
static components: {
|
|
10028
|
+
Section: typeof Section;
|
|
10029
|
+
};
|
|
10030
|
+
static props: {
|
|
10031
|
+
definition: ObjectConstructor;
|
|
10032
|
+
pivotId: StringConstructor;
|
|
10033
|
+
};
|
|
10034
|
+
get hasValidSort(): boolean;
|
|
10035
|
+
get sortDescription(): string;
|
|
10036
|
+
get sortValuesAndFields(): {
|
|
10037
|
+
field?: string | undefined;
|
|
10038
|
+
value: string;
|
|
10039
|
+
}[];
|
|
10040
|
+
}
|
|
10041
|
+
|
|
9967
10042
|
interface Props$f {
|
|
9968
10043
|
definition: PivotRuntimeDefinition;
|
|
9969
10044
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
@@ -9982,6 +10057,7 @@ declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChil
|
|
|
9982
10057
|
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
9983
10058
|
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
9984
10059
|
PivotMeasureEditor: typeof PivotMeasureEditor;
|
|
10060
|
+
PivotSortSection: typeof PivotSortSection;
|
|
9985
10061
|
};
|
|
9986
10062
|
static props: {
|
|
9987
10063
|
definition: ObjectConstructor;
|
|
@@ -10017,7 +10093,7 @@ declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChil
|
|
|
10017
10093
|
private getMeasureId;
|
|
10018
10094
|
private getDefaultMeasureAggregator;
|
|
10019
10095
|
addCalculatedMeasure(): void;
|
|
10020
|
-
updateOrder(updateDimension: PivotDimension$1, order?:
|
|
10096
|
+
updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
|
|
10021
10097
|
updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
|
|
10022
10098
|
getMeasureDescription(measure: PivotMeasure): string;
|
|
10023
10099
|
}
|
|
@@ -10048,6 +10124,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10048
10124
|
private isDynamicPivotInViewport;
|
|
10049
10125
|
private addDefaultDateTimeGranularity;
|
|
10050
10126
|
private getUnusedGranularities;
|
|
10127
|
+
/**
|
|
10128
|
+
* Check if we want to keep the sorted column when updating the pivot definition. We should remove it if either
|
|
10129
|
+
* the measure is not in the new definition or the columns have changed.
|
|
10130
|
+
*/
|
|
10131
|
+
private shouldKeepSortedColumn;
|
|
10051
10132
|
}
|
|
10052
10133
|
|
|
10053
10134
|
interface Props$e {
|
|
@@ -10248,7 +10329,7 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
|
|
|
10248
10329
|
type: string;
|
|
10249
10330
|
isValid: boolean;
|
|
10250
10331
|
fieldName: string;
|
|
10251
|
-
order?:
|
|
10332
|
+
order?: SortDirection | undefined;
|
|
10252
10333
|
granularity?: string | undefined;
|
|
10253
10334
|
}[];
|
|
10254
10335
|
get doesDisplayNeedsValue(): boolean;
|
|
@@ -10933,6 +11014,37 @@ declare namespace ACTION_EDIT {
|
|
|
10933
11014
|
};
|
|
10934
11015
|
}
|
|
10935
11016
|
|
|
11017
|
+
declare class PositionMap<T> {
|
|
11018
|
+
private map;
|
|
11019
|
+
constructor(entries?: Iterable<readonly [CellPosition, T]>);
|
|
11020
|
+
set({ sheetId, col, row }: CellPosition, value: T): void;
|
|
11021
|
+
get({ sheetId, col, row }: CellPosition): T | undefined;
|
|
11022
|
+
getSheet(sheetId: UID): Record<number, Record<number, T>> | undefined;
|
|
11023
|
+
has({ sheetId, col, row }: CellPosition): boolean;
|
|
11024
|
+
delete({ sheetId, col, row }: CellPosition): void;
|
|
11025
|
+
keys(): CellPosition[];
|
|
11026
|
+
keysForSheet(sheetId: UID): CellPosition[];
|
|
11027
|
+
entries(): IterableIterator<[CellPosition, T]>;
|
|
11028
|
+
}
|
|
11029
|
+
|
|
11030
|
+
declare class FormulaFingerprintStore extends SpreadsheetStore {
|
|
11031
|
+
mutators: readonly ["enable", "disable"];
|
|
11032
|
+
private isInvalidated;
|
|
11033
|
+
private fingerprintColors;
|
|
11034
|
+
isEnabled: boolean;
|
|
11035
|
+
colors: PositionMap<Color>;
|
|
11036
|
+
handle(cmd: Command): void;
|
|
11037
|
+
finalize(): void;
|
|
11038
|
+
enable(): void;
|
|
11039
|
+
disable(): void;
|
|
11040
|
+
private computeFingerprints;
|
|
11041
|
+
private colorSpreadZone;
|
|
11042
|
+
private assignColors;
|
|
11043
|
+
private computeFingerprint;
|
|
11044
|
+
private computeFormulaFingerprint;
|
|
11045
|
+
private getLiteralFingerprint;
|
|
11046
|
+
}
|
|
11047
|
+
|
|
10936
11048
|
interface Props$4 {
|
|
10937
11049
|
action: ActionSpec;
|
|
10938
11050
|
hasTriangleDownIcon?: boolean;
|
|
@@ -11257,6 +11369,7 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
|
|
|
11257
11369
|
formatNumberMenuItemSpec: ActionSpec;
|
|
11258
11370
|
isntToolbarMenu: boolean;
|
|
11259
11371
|
composerFocusStore: Store<ComposerFocusStore>;
|
|
11372
|
+
fingerprints: Store<FormulaFingerprintStore>;
|
|
11260
11373
|
setup(): void;
|
|
11261
11374
|
get topbarComponents(): TopbarComponent[];
|
|
11262
11375
|
get currentFontSize(): number;
|
|
@@ -11365,7 +11478,6 @@ declare const SPREADSHEET_DIMENSIONS: {
|
|
|
11365
11478
|
MIN_COL_WIDTH: number;
|
|
11366
11479
|
HEADER_HEIGHT: number;
|
|
11367
11480
|
HEADER_WIDTH: number;
|
|
11368
|
-
TOPBAR_HEIGHT: number;
|
|
11369
11481
|
BOTTOMBAR_HEIGHT: number;
|
|
11370
11482
|
DEFAULT_CELL_WIDTH: number;
|
|
11371
11483
|
DEFAULT_CELL_HEIGHT: number;
|
|
@@ -11420,7 +11532,7 @@ declare const registries: {
|
|
|
11420
11532
|
clipboardHandlersRegistries: {
|
|
11421
11533
|
figureHandlers: Registry<{
|
|
11422
11534
|
new (getters: Getters, dispatch: {
|
|
11423
|
-
<T extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C extends Extract<UpdateCellCommand, {
|
|
11535
|
+
<T extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C extends Extract<UpdateCellCommand, {
|
|
11424
11536
|
type: T;
|
|
11425
11537
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11426
11538
|
type: T;
|
|
@@ -11580,6 +11692,8 @@ declare const registries: {
|
|
|
11580
11692
|
type: T;
|
|
11581
11693
|
}> | Extract<EvaluateCellsCommand, {
|
|
11582
11694
|
type: T;
|
|
11695
|
+
}> | Extract<EvaluateChartsCommand, {
|
|
11696
|
+
type: T;
|
|
11583
11697
|
}> | Extract<StartChangeHighlightCommand, {
|
|
11584
11698
|
type: T;
|
|
11585
11699
|
}> | Extract<StartCommand, {
|
|
@@ -11647,7 +11761,7 @@ declare const registries: {
|
|
|
11647
11761
|
}> | Extract<PaintFormat, {
|
|
11648
11762
|
type: T;
|
|
11649
11763
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
11650
|
-
<T_1 extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C_1 extends Extract<UpdateCellCommand, {
|
|
11764
|
+
<T_1 extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C_1 extends Extract<UpdateCellCommand, {
|
|
11651
11765
|
type: T_1;
|
|
11652
11766
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11653
11767
|
type: T_1;
|
|
@@ -11807,6 +11921,8 @@ declare const registries: {
|
|
|
11807
11921
|
type: T_1;
|
|
11808
11922
|
}> | Extract<EvaluateCellsCommand, {
|
|
11809
11923
|
type: T_1;
|
|
11924
|
+
}> | Extract<EvaluateChartsCommand, {
|
|
11925
|
+
type: T_1;
|
|
11810
11926
|
}> | Extract<StartChangeHighlightCommand, {
|
|
11811
11927
|
type: T_1;
|
|
11812
11928
|
}> | Extract<StartCommand, {
|
|
@@ -11878,7 +11994,7 @@ declare const registries: {
|
|
|
11878
11994
|
}>;
|
|
11879
11995
|
cellHandlers: Registry<{
|
|
11880
11996
|
new (getters: Getters, dispatch: {
|
|
11881
|
-
<T extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C extends Extract<UpdateCellCommand, {
|
|
11997
|
+
<T extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C extends Extract<UpdateCellCommand, {
|
|
11882
11998
|
type: T;
|
|
11883
11999
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11884
12000
|
type: T;
|
|
@@ -12038,6 +12154,8 @@ declare const registries: {
|
|
|
12038
12154
|
type: T;
|
|
12039
12155
|
}> | Extract<EvaluateCellsCommand, {
|
|
12040
12156
|
type: T;
|
|
12157
|
+
}> | Extract<EvaluateChartsCommand, {
|
|
12158
|
+
type: T;
|
|
12041
12159
|
}> | Extract<StartChangeHighlightCommand, {
|
|
12042
12160
|
type: T;
|
|
12043
12161
|
}> | Extract<StartCommand, {
|
|
@@ -12105,7 +12223,7 @@ declare const registries: {
|
|
|
12105
12223
|
}> | Extract<PaintFormat, {
|
|
12106
12224
|
type: T;
|
|
12107
12225
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
12108
|
-
<T_1 extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C_1 extends Extract<UpdateCellCommand, {
|
|
12226
|
+
<T_1 extends "ACTIVATE_SHEET" | "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" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_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" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "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", C_1 extends Extract<UpdateCellCommand, {
|
|
12109
12227
|
type: T_1;
|
|
12110
12228
|
}> | Extract<UpdateCellPositionCommand, {
|
|
12111
12229
|
type: T_1;
|
|
@@ -12265,6 +12383,8 @@ declare const registries: {
|
|
|
12265
12383
|
type: T_1;
|
|
12266
12384
|
}> | Extract<EvaluateCellsCommand, {
|
|
12267
12385
|
type: T_1;
|
|
12386
|
+
}> | Extract<EvaluateChartsCommand, {
|
|
12387
|
+
type: T_1;
|
|
12268
12388
|
}> | Extract<StartChangeHighlightCommand, {
|
|
12269
12389
|
type: T_1;
|
|
12270
12390
|
}> | Extract<StartCommand, {
|
|
@@ -12496,29 +12616,9 @@ declare const constants: {
|
|
|
12496
12616
|
automaticAutofill: boolean;
|
|
12497
12617
|
};
|
|
12498
12618
|
ChartTerms: {
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
12502
|
-
StackedLineChart: string;
|
|
12503
|
-
StackedAreaChart: string;
|
|
12504
|
-
StackedColumnChart: string;
|
|
12505
|
-
CumulativeData: string;
|
|
12506
|
-
TreatLabelsAsText: string;
|
|
12507
|
-
AggregatedChart: string;
|
|
12508
|
-
Errors: {
|
|
12509
|
-
Unexpected: string;
|
|
12510
|
-
InvalidDataSet: string;
|
|
12511
|
-
InvalidLabelRange: string;
|
|
12512
|
-
InvalidScorecardKeyValue: string;
|
|
12513
|
-
InvalidScorecardBaseline: string;
|
|
12514
|
-
InvalidGaugeDataRange: string;
|
|
12515
|
-
EmptyGaugeRangeMin: string;
|
|
12516
|
-
GaugeRangeMinNaN: string;
|
|
12517
|
-
EmptyGaugeRangeMax: string;
|
|
12518
|
-
GaugeRangeMaxNaN: string;
|
|
12519
|
-
GaugeRangeMinBiggerThanRangeMax: string;
|
|
12520
|
-
GaugeLowerInflectionPointNaN: string;
|
|
12521
|
-
GaugeUpperInflectionPointNaN: string;
|
|
12619
|
+
[key: string]: any;
|
|
12620
|
+
GeoChart: {
|
|
12621
|
+
ColorScales: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
|
|
12522
12622
|
};
|
|
12523
12623
|
};
|
|
12524
12624
|
};
|
|
@@ -12528,6 +12628,7 @@ declare const chartHelpers: {
|
|
|
12528
12628
|
getLineChartData(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
12529
12629
|
getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
12530
12630
|
getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
12631
|
+
getGeoChartData(definition: GeoChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): GeoChartRuntimeGenerationArgs;
|
|
12531
12632
|
getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): (number | null)[] | undefined;
|
|
12532
12633
|
getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): (number | null)[] | undefined;
|
|
12533
12634
|
canChartParseLabels(labelRange: Range | undefined, getters: Getters): boolean;
|
|
@@ -12543,6 +12644,7 @@ declare const chartHelpers: {
|
|
|
12543
12644
|
getPieChartDatasets(definition: GenericDefinition<PieChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"pie">[];
|
|
12544
12645
|
getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line" | "bar">[];
|
|
12545
12646
|
getRadarChartDatasets(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"radar">[];
|
|
12647
|
+
getGeoChartDatasets(definition: GenericDefinition<GeoChartDefinition>, args: GeoChartRuntimeGenerationArgs): chart_js.ChartDataset[];
|
|
12546
12648
|
getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
|
|
12547
12649
|
autoPadding: boolean;
|
|
12548
12650
|
padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
|
|
@@ -12561,10 +12663,10 @@ declare const chartHelpers: {
|
|
|
12561
12663
|
};
|
|
12562
12664
|
getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
12563
12665
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
12564
|
-
}
|
|
12666
|
+
}>;
|
|
12565
12667
|
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
12566
12668
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
12567
|
-
}
|
|
12669
|
+
}>;
|
|
12568
12670
|
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): {
|
|
12569
12671
|
x: {
|
|
12570
12672
|
grid: {
|
|
@@ -12957,13 +13059,16 @@ declare const chartHelpers: {
|
|
|
12957
13059
|
};
|
|
12958
13060
|
getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
12959
13061
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
12960
|
-
}
|
|
13062
|
+
}>;
|
|
12961
13063
|
getPyramidChartScales(definition: PyramidChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
12962
13064
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
12963
|
-
}
|
|
13065
|
+
}>;
|
|
12964
13066
|
getRadarChartScales(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
12965
13067
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
12966
|
-
}
|
|
13068
|
+
}>;
|
|
13069
|
+
getGeoChartScales(definition: GeoChartDefinition, args: GeoChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13070
|
+
[key: string]: chart_js.ScaleOptionsByType<"projection" | keyof chart_js.ColorScaleTypeRegistry>;
|
|
13071
|
+
}>;
|
|
12967
13072
|
getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
12968
13073
|
getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
|
|
12969
13074
|
getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
@@ -12972,6 +13077,7 @@ declare const chartHelpers: {
|
|
|
12972
13077
|
getWaterfallChartTooltip(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
12973
13078
|
getPyramidChartTooltip(definition: PyramidChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
12974
13079
|
getRadarChartTooltip(definition: RadarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13080
|
+
getGeoChartTooltip(definition: GeoChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
12975
13081
|
AbstractChart: typeof AbstractChart;
|
|
12976
13082
|
createBarChartRuntime(chart: BarChart, getters: Getters): BarChartRuntime;
|
|
12977
13083
|
BarChart: typeof BarChart;
|
|
@@ -13026,4 +13132,4 @@ declare const chartHelpers: {
|
|
|
13026
13132
|
WaterfallChart: typeof WaterfallChart;
|
|
13027
13133
|
};
|
|
13028
13134
|
|
|
13029
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, 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, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, 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 };
|
|
13135
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, 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, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, 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 };
|