@odoo/o-spreadsheet 17.3.0-alpha.7 → 17.3.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,51 @@ import { ChartConfiguration } from 'chart.js';
2
2
  import * as _odoo_owl from '@odoo/owl';
3
3
  import { ComponentConstructor, Component } from '@odoo/owl';
4
4
 
5
+ /**
6
+ * This is a generic event bus based on the Owl event bus.
7
+ * This bus however ensures type safety across events and subscription callbacks.
8
+ */
9
+ declare class EventBus<Event extends {
10
+ type: string;
11
+ }> {
12
+ subscriptions: {
13
+ [eventType: string]: Subscription[];
14
+ };
15
+ /**
16
+ * Add a listener for the 'eventType' events.
17
+ *
18
+ * Note that the 'owner' of this event can be anything, but will more likely
19
+ * be a component or a class. The idea is that the callback will be called with
20
+ * the proper owner bound.
21
+ *
22
+ * Also, the owner should be kind of unique. This will be used to remove the
23
+ * listener.
24
+ */
25
+ on<T extends Event["type"], E extends Extract<Event, {
26
+ type: T;
27
+ }>>(type: T, owner: any, callback: (r: Omit<E, "type">) => void): void;
28
+ /**
29
+ * Emit an event of type 'eventType'. Any extra arguments will be passed to
30
+ * the listeners callback.
31
+ */
32
+ trigger<T extends Event["type"], E extends Extract<Event, {
33
+ type: T;
34
+ }>>(type: T, payload?: Omit<E, "type">): void;
35
+ /**
36
+ * Remove a listener
37
+ */
38
+ off<T extends Event["type"]>(eventType: T, owner: any): void;
39
+ /**
40
+ * Remove all subscriptions.
41
+ */
42
+ clear(): void;
43
+ }
44
+ type Callback = (...args: any[]) => void;
45
+ interface Subscription {
46
+ owner: any;
47
+ callback: Callback;
48
+ }
49
+
5
50
  /**
6
51
  * An injectable store constructor
7
52
  */
@@ -22,14 +67,19 @@ type StoreParams<T extends StoreConstructor> = SkipFirst<ConstructorParameters<T
22
67
  /**
23
68
  * A function used to inject dependencies in a store constructor
24
69
  */
25
- type Get = <T extends StoreConstructor<any>>(Store: T) => T extends StoreConstructor<infer I> ? Store<I> : never;
70
+ type Get = <T extends StoreConstructor>(Store: T) => T extends StoreConstructor<infer I> ? Store<I> : never;
26
71
  /**
27
72
  * Remove the first element of a tuple
28
73
  * @example
29
74
  * type A = SkipFirst<[number, string, boolean]> // [string, boolean]
30
75
  */
31
76
  type SkipFirst<T extends any[]> = T extends [any, ...infer U] ? U : never;
32
- type Store<T> = CQS<T>;
77
+ type OmitFunctions<T> = {
78
+ [K in keyof T as T[K] extends Function ? never : K]: T[K];
79
+ };
80
+ type Store<S> = S extends {
81
+ mutators: readonly (keyof S)[];
82
+ } ? CQS<Pick<S, S["mutators"][number]> & OmitFunctions<S>> : CQS<OmitFunctions<S>>;
33
83
  /**
34
84
  * Command Query Separation [1,2] implementation with types.
35
85
  *
@@ -49,20 +99,21 @@ type CQS<T> = {
49
99
  * making it write-only.
50
100
  */
51
101
  type NeverReturns<T> = T extends (...args: any[]) => any ? (...args: Parameters<T>) => void : T;
52
- declare class ReactiveStore {
102
+ declare class DisposableStore implements Disposable {
53
103
  protected get: Get;
54
- constructor(get: Get);
55
- }
56
- declare class DisposableStore extends ReactiveStore implements Disposable {
57
104
  private disposeCallbacks;
105
+ constructor(get: Get);
58
106
  protected onDispose(callback: () => void): void;
59
107
  dispose(): void;
60
108
  }
61
109
 
110
+ interface StoreUpdateEvent {
111
+ type: "store-updated";
112
+ }
62
113
  /**
63
114
  * A type-safe dependency container
64
115
  */
65
- declare class DependencyContainer {
116
+ declare class DependencyContainer extends EventBus<StoreUpdateEvent> {
66
117
  private dependencies;
67
118
  private factory;
68
119
  /**
@@ -87,52 +138,7 @@ declare function useStoreProvider(): DependencyContainer;
87
138
  * Get the instance of a store.
88
139
  */
89
140
  declare function useStore<T extends StoreConstructor>(Store: T): Store<InstanceType<T>>;
90
- declare function useLocalStore<T extends LocalStoreConstructor<any>>(Store: T, ...args: StoreParams<T>): Store<InstanceType<T>>;
91
-
92
- /**
93
- * This is a generic event bus based on the Owl event bus.
94
- * This bus however ensures type safety across events and subscription callbacks.
95
- */
96
- declare class EventBus<Event extends {
97
- type: string;
98
- }> {
99
- subscriptions: {
100
- [eventType: string]: Subscription[];
101
- };
102
- /**
103
- * Add a listener for the 'eventType' events.
104
- *
105
- * Note that the 'owner' of this event can be anything, but will more likely
106
- * be a component or a class. The idea is that the callback will be called with
107
- * the proper owner bound.
108
- *
109
- * Also, the owner should be kind of unique. This will be used to remove the
110
- * listener.
111
- */
112
- on<T extends Event["type"], E extends Extract<Event, {
113
- type: T;
114
- }>>(type: T, owner: any, callback: (r: Omit<E, "type">) => void): void;
115
- /**
116
- * Emit an event of type 'eventType'. Any extra arguments will be passed to
117
- * the listeners callback.
118
- */
119
- trigger<T extends Event["type"], E extends Extract<Event, {
120
- type: T;
121
- }>>(type: T, payload?: Omit<E, "type">): void;
122
- /**
123
- * Remove a listener
124
- */
125
- off<T extends Event["type"]>(eventType: T, owner: any): void;
126
- /**
127
- * Remove all subscriptions.
128
- */
129
- clear(): void;
130
- }
131
- type Callback = (...args: any[]) => void;
132
- interface Subscription {
133
- owner: any;
134
- callback: Callback;
135
- }
141
+ declare function useLocalStore<T extends LocalStoreConstructor<any>>(Store: T, ...args: StoreParams<T> extends never ? [] : StoreParams<T>): Store<InstanceType<T>>;
136
142
 
137
143
  interface Figure {
138
144
  id: UID;
@@ -457,7 +463,7 @@ interface SearchOptions {
457
463
  }
458
464
 
459
465
  type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
460
- type Granularity = "day" | "week" | "month" | "quarter" | "year";
466
+ type Granularity = "day" | "week" | "month" | "quarter" | "year" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number" | "year_number";
461
467
  interface PivotCoreDimension {
462
468
  name: string;
463
469
  order?: "asc" | "desc";
@@ -475,48 +481,54 @@ interface CommonPivotCoreDefinition {
475
481
  }
476
482
  interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
477
483
  type: "SPREADSHEET";
484
+ dataSet?: {
485
+ sheetId: UID;
486
+ zone: Zone;
487
+ };
488
+ }
489
+ interface FakePivotDefinition extends CommonPivotCoreDefinition {
490
+ type: "FAKE";
478
491
  }
479
- type PivotCoreDefinition = SpreadsheetPivotCoreDefinition;
492
+ type PivotCoreDefinition = SpreadsheetPivotCoreDefinition | FakePivotDefinition;
493
+ type TechnicalName = string;
480
494
  interface PivotField {
481
- name: string;
495
+ name: TechnicalName;
482
496
  type: string;
483
497
  string: string;
484
- relation?: string;
485
- searchable?: boolean;
486
498
  aggregator?: string;
487
- store?: boolean;
488
- groupable?: boolean;
489
499
  help?: string;
490
500
  }
491
- type PivotFields = Record<string, PivotField | undefined>;
501
+ type PivotFields = Record<TechnicalName, PivotField | undefined>;
492
502
  interface PivotMeasure extends PivotCoreMeasure {
493
503
  nameWithAggregator: string;
494
504
  displayName: string;
495
505
  type: string;
506
+ isValid: boolean;
496
507
  }
497
508
  interface PivotDimension$1 extends PivotCoreDimension {
498
509
  nameWithGranularity: string;
499
510
  displayName: string;
500
511
  type: string;
512
+ isValid: boolean;
501
513
  }
502
- interface SPTableColumn {
514
+ interface PivotTableColumn {
503
515
  fields: string[];
504
516
  values: string[];
505
517
  width: number;
506
518
  offset: number;
507
519
  }
508
- interface SPTableRow {
520
+ interface PivotTableRow {
509
521
  fields: string[];
510
522
  values: string[];
511
523
  indent: number;
512
524
  }
513
- interface SPTableData {
514
- cols: SPTableColumn[][];
515
- rows: SPTableRow[];
525
+ interface PivotTableData {
526
+ cols: PivotTableColumn[][];
527
+ rows: PivotTableRow[];
516
528
  measures: string[];
517
529
  rowTitle?: string;
518
530
  }
519
- interface SPTableCell {
531
+ interface PivotTableCell {
520
532
  isHeader: boolean;
521
533
  domain?: string[];
522
534
  content?: string;
@@ -528,6 +540,11 @@ interface PivotTimeAdapter<T> {
528
540
  getFormat: (locale?: Locale) => Format | undefined;
529
541
  toCellValue: (normalizedValue: T) => CellValue;
530
542
  }
543
+ interface DomainArg {
544
+ field: string;
545
+ value: string;
546
+ }
547
+ type StringDomainArgs = string[];
531
548
 
532
549
  interface Table {
533
550
  readonly id: TableId;
@@ -644,11 +661,11 @@ interface ZoneDependentCommand {
644
661
  }
645
662
  declare function isZoneDependent(cmd: CoreCommand): boolean;
646
663
  declare function isPositionDependent(cmd: CoreCommand): boolean;
647
- declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
648
- declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
649
- declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
650
- declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
651
- declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
664
+ declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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">;
665
+ declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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">;
666
+ declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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">;
667
+ declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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">;
668
+ declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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">;
652
669
  declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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">;
653
670
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
654
671
  declare function canExecuteInReadonly(cmd: Command): boolean;
@@ -902,7 +919,7 @@ interface UpdatePivotCommand {
902
919
  interface InsertPivotCommand extends PositionDependentCommand {
903
920
  type: "INSERT_PIVOT";
904
921
  pivotId: UID;
905
- table: SPTableData;
922
+ table: PivotTableData;
906
923
  }
907
924
  interface RenamePivotCommand {
908
925
  type: "RENAME_PIVOT";
@@ -1164,13 +1181,15 @@ interface SplitTextIntoColumnsCommand {
1164
1181
  addNewColumns: boolean;
1165
1182
  force?: boolean;
1166
1183
  }
1167
- interface RenderCanvasCommand {
1168
- type: "RENDER_CANVAS";
1169
- }
1170
1184
  interface RefreshPivotCommand {
1171
1185
  type: "REFRESH_PIVOT";
1172
1186
  id: UID;
1173
1187
  }
1188
+ interface InsertNewPivotCommand {
1189
+ type: "INSERT_NEW_PIVOT";
1190
+ pivotId: UID;
1191
+ newSheetId: UID;
1192
+ }
1174
1193
  type CoreCommand =
1175
1194
  /** CELLS */
1176
1195
  UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContentCommand
@@ -1202,7 +1221,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
1202
1221
  | UpdateLocaleCommand
1203
1222
  /** PIVOT */
1204
1223
  | AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
1205
- type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | RenderCanvasCommand | ResizeTableCommand | RefreshPivotCommand;
1224
+ type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand;
1206
1225
  type Command = CoreCommand | LocalCommand;
1207
1226
  /**
1208
1227
  * Holds the result of a command dispatch.
@@ -1296,6 +1315,7 @@ declare const enum CommandResult {
1296
1315
  Readonly = "Readonly",
1297
1316
  InvalidViewportSize = "InvalidViewportSize",
1298
1317
  InvalidScrollingDirection = "InvalidScrollingDirection",
1318
+ ViewportScrollLimitsReached = "ViewportScrollLimitsReached",
1299
1319
  FigureDoesNotExist = "FigureDoesNotExist",
1300
1320
  InvalidConditionalFormatId = "InvalidConditionalFormatId",
1301
1321
  InvalidCellPopover = "InvalidCellPopover",
@@ -1629,7 +1649,6 @@ interface PixelPosition {
1629
1649
  }
1630
1650
  interface Merge extends Zone {
1631
1651
  id: number;
1632
- topLeft: Position$1;
1633
1652
  }
1634
1653
  interface Highlight$1 {
1635
1654
  zone: Zone;
@@ -2240,6 +2259,7 @@ interface SpreadsheetChildEnv extends SpreadsheetEnv {
2240
2259
  getStore: Get;
2241
2260
  }
2242
2261
 
2262
+ type HistoryPath = [any, ...(number | string)[]];
2243
2263
  declare class StateObserver {
2244
2264
  private changes;
2245
2265
  private commands;
@@ -2252,7 +2272,7 @@ declare class StateObserver {
2252
2272
  commands: CoreCommand[];
2253
2273
  };
2254
2274
  addCommand(command: CoreCommand): void;
2255
- addChange(...args: [...HistoryChange["path"], any]): void;
2275
+ addChange(...args: [...HistoryPath, any]): void;
2256
2276
  }
2257
2277
 
2258
2278
  interface Validator {
@@ -2336,7 +2356,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
2336
2356
  private getters;
2337
2357
  private providers;
2338
2358
  constructor(getters: CoreGetters);
2339
- static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid"];
2359
+ static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
2340
2360
  allowDispatch(cmd: Command): CommandResult;
2341
2361
  beforeHandle(command: Command): void;
2342
2362
  handle(cmd: Command): void;
@@ -2360,6 +2380,10 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
2360
2380
  */
2361
2381
  addRangeProvider(provider: RangeProvider["adaptRanges"]): void;
2362
2382
  createAdaptedRanges(ranges: Range[], offsetX: number, offsetY: number, sheetId: UID): Range[];
2383
+ /**
2384
+ * Remove the sheet name prefix if a range is part of the given sheet.
2385
+ */
2386
+ removeRangesSheetPrefix(sheetId: UID, ranges: Range[]): Range[];
2363
2387
  extendRange(range: Range, dimension: Dimension, quantity: number): Range;
2364
2388
  /**
2365
2389
  * Creates a range from a XC reference that can contain a sheet reference
@@ -2569,7 +2593,7 @@ interface CoreState$1 {
2569
2593
  * cell and sheet content.
2570
2594
  */
2571
2595
  declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1 {
2572
- static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellStyle", "getCellById"];
2596
+ static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellStyle", "getCellById", "getFormulaMovedInSheet"];
2573
2597
  readonly nextId = 1;
2574
2598
  readonly cells: {
2575
2599
  [sheetId: string]: {
@@ -2609,6 +2633,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
2609
2633
  getCellById(cellId: UID): Cell | undefined;
2610
2634
  private getFormulaCellContent;
2611
2635
  getTranslatedCellFormula(sheetId: UID, offsetX: number, offsetY: number, compiledFormula: RangeCompiledFormula): string;
2636
+ getFormulaMovedInSheet(targetSheetId: UID, compiledFormula: RangeCompiledFormula): string;
2612
2637
  getCellStyle(position: CellPosition): Style;
2613
2638
  /**
2614
2639
  * Converts a zone to a XC coordinate system
@@ -3082,29 +3107,23 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
3082
3107
  exportForExcel(data: ExcelWorkbookData): void;
3083
3108
  }
3084
3109
 
3085
- interface LocalPivot extends PivotCoreDefinition {
3086
- /**
3087
- * The formula id is the id that is used in the formula to identify the pivot.
3088
- * It's different from the pivot id, which is the id of the pivot in the state.
3089
- * The formula id is a readable id, auto-incremented. The pivotId is a UID.
3090
- * We need this distinction to be assured that the pivotId is unique in a
3091
- * context of collaboration.
3092
- */
3110
+ interface Pivot$1 {
3111
+ definition: PivotCoreDefinition;
3093
3112
  formulaId: string;
3094
3113
  }
3095
3114
  interface CoreState {
3096
3115
  nextFormulaId: number;
3097
- pivots: Record<UID, LocalPivot | undefined>;
3116
+ pivots: Record<UID, Pivot$1 | undefined>;
3098
3117
  formulaIds: Record<UID, string | undefined>;
3099
3118
  }
3100
3119
  declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
3101
3120
  static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getPivotName", "isExistingPivot"];
3102
3121
  readonly nextFormulaId: number;
3103
3122
  readonly pivots: {
3104
- [key: UID]: LocalPivot;
3123
+ [pivotId: UID]: Pivot$1 | undefined;
3105
3124
  };
3106
3125
  readonly formulaIds: {
3107
- [key: UID]: string;
3126
+ [formulaId: UID]: UID | undefined;
3108
3127
  };
3109
3128
  allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName;
3110
3129
  handle(cmd: CoreCommand): void;
@@ -3119,7 +3138,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
3119
3138
  /**
3120
3139
  * Get the pivot ID (UID) from the formula ID (the one used in the formula)
3121
3140
  */
3122
- getPivotId(formulaId: string): string;
3141
+ getPivotId(formulaId: string): UID | undefined;
3123
3142
  getPivotFormulaId(pivotId: UID): string;
3124
3143
  getPivotIds(): UID[];
3125
3144
  isExistingPivot(pivotId: UID): boolean;
@@ -3127,6 +3146,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
3127
3146
  private insertPivot;
3128
3147
  private resizeSheet;
3129
3148
  private addPivotFormula;
3149
+ private getPivotCore;
3130
3150
  /**
3131
3151
  * Import the pivots
3132
3152
  */
@@ -3497,9 +3517,9 @@ interface SheetData {
3497
3517
  interface WorkbookSettings {
3498
3518
  locale: Locale;
3499
3519
  }
3500
- interface PivotData extends PivotCoreDefinition {
3520
+ type PivotData = {
3501
3521
  formulaId: string;
3502
- }
3522
+ } & PivotCoreDefinition;
3503
3523
  interface WorkbookData {
3504
3524
  version: number;
3505
3525
  sheets: SheetData[];
@@ -4081,6 +4101,8 @@ declare class PivotRuntimeDefinition {
4081
4101
  readonly columns: PivotDimension$1[];
4082
4102
  readonly rows: PivotDimension$1[];
4083
4103
  constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
4104
+ getDimension(nameWithGranularity: string): PivotDimension$1;
4105
+ getMeasure(name: string): PivotMeasure;
4084
4106
  }
4085
4107
 
4086
4108
  /**
@@ -4126,20 +4148,20 @@ declare class PivotRuntimeDefinition {
4126
4148
  *
4127
4149
  */
4128
4150
  declare class SpreadsheetPivotTable {
4129
- readonly columns: SPTableColumn[][];
4130
- readonly rows: SPTableRow[];
4151
+ readonly columns: PivotTableColumn[][];
4152
+ readonly rows: PivotTableRow[];
4131
4153
  readonly measures: string[];
4132
4154
  readonly rowTitle?: string;
4133
4155
  readonly maxIndent: number;
4134
4156
  readonly pivotCells: {
4135
- [key: string]: SPTableCell[][];
4157
+ [key: string]: PivotTableCell[][];
4136
4158
  };
4137
- constructor(columns: SPTableColumn[][], rows: SPTableRow[], measures: string[], rowTitle?: string);
4159
+ constructor(columns: PivotTableColumn[][], rows: PivotTableRow[], measures: string[], rowTitle?: string);
4138
4160
  /**
4139
4161
  * Get the number of columns leafs (i.e. the number of the last row of columns)
4140
4162
  */
4141
4163
  getNumberOfDataColumns(): number;
4142
- getPivotCells(includeTotal?: boolean, includeColumnHeaders?: boolean): SPTableCell[][];
4164
+ getPivotCells(includeTotal?: boolean, includeColumnHeaders?: boolean): PivotTableCell[][];
4143
4165
  private isTotalRow;
4144
4166
  private getPivotCell;
4145
4167
  private getColHeaderDomain;
@@ -4147,32 +4169,34 @@ declare class SpreadsheetPivotTable {
4147
4169
  private getColMeasure;
4148
4170
  private getRowDomain;
4149
4171
  export(): {
4150
- cols: SPTableColumn[][];
4151
- rows: SPTableRow[];
4172
+ cols: PivotTableColumn[][];
4173
+ rows: PivotTableRow[];
4152
4174
  measures: string[];
4153
4175
  rowTitle: string | undefined;
4154
4176
  };
4155
4177
  }
4156
4178
 
4179
+ interface InitPivotParams {
4180
+ reload?: boolean;
4181
+ }
4157
4182
  interface Pivot<T = PivotRuntimeDefinition> {
4183
+ type: PivotCoreDefinition["type"];
4158
4184
  definition: T;
4159
- getMeasure: (name: string) => PivotMeasure;
4160
- computePivotHeaderValue(domain: Array<string | number>): string | boolean | number;
4161
- getLastPivotGroupValue(domain: Array<string | number>): string | boolean | number;
4185
+ init(params?: InitPivotParams): void;
4186
+ isValid(): boolean;
4162
4187
  getTableStructure(): SpreadsheetPivotTable;
4163
- getPivotCellValue(measure: string, domain: Array<string | number>): string | boolean | number;
4164
- getPivotFieldFormat(name: string): string;
4165
- getPivotMeasureFormat(name: string): string | undefined;
4188
+ getFields(): PivotFields | undefined;
4189
+ getPivotHeaderValueAndFormat(domain: StringDomainArgs): FPayload;
4190
+ getPivotCellValueAndFormat(measure: string, domain: StringDomainArgs): FPayload;
4191
+ getMeasure: (name: string) => PivotMeasure;
4166
4192
  assertIsValid({ throwOnError }: {
4167
4193
  throwOnError: boolean;
4168
4194
  }): FPayload | undefined;
4169
- load(params: unknown): Promise<void>;
4170
- getFields(): PivotFields | undefined;
4171
- isLoadedAndValid(): boolean;
4172
4195
  getPossibleFieldValues(groupBy: string): {
4173
4196
  value: string | boolean | number;
4174
4197
  label: string;
4175
4198
  }[];
4199
+ needsReevaluation: boolean;
4176
4200
  }
4177
4201
 
4178
4202
  declare class PivotUIPlugin extends UIPlugin {
@@ -4187,7 +4211,7 @@ declare class PivotUIPlugin extends UIPlugin {
4187
4211
  * Get the id of the pivot at the given position. Returns undefined if there
4188
4212
  * is no pivot at this position
4189
4213
  */
4190
- getPivotIdFromPosition(position: CellPosition): string | undefined;
4214
+ getPivotIdFromPosition(position: CellPosition): "" | UID | undefined;
4191
4215
  getFirstPivotFunction(tokens: Token[]): {
4192
4216
  functionName: string;
4193
4217
  args: (CellValue | Matrix<CellValue> | undefined)[];
@@ -4207,7 +4231,6 @@ declare class PivotUIPlugin extends UIPlugin {
4207
4231
  */
4208
4232
  getPivotDomainArgsFromPosition(position: CellPosition): (CellValue | Matrix<CellValue> | undefined)[] | undefined;
4209
4233
  getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
4210
- getPivotDataSourceId(pivotId: UID): string;
4211
4234
  isPivotUnused(pivotId: UID): boolean;
4212
4235
  /**
4213
4236
  * Check if the fields in the domain part of
@@ -4812,6 +4835,7 @@ declare class InternalViewport {
4812
4835
  adjustPosition(position: Position$1): void;
4813
4836
  private adjustPositionX;
4814
4837
  private adjustPositionY;
4838
+ willNewOffsetScrollViewport(offsetX: Pixel, offsetY: Pixel): boolean;
4815
4839
  setViewportOffset(offsetX: Pixel, offsetY: Pixel): void;
4816
4840
  adjustViewportZone(): void;
4817
4841
  /**
@@ -4980,6 +5004,7 @@ declare class SheetViewPlugin extends UIPlugin {
4980
5004
  private checkPositiveDimension;
4981
5005
  private checkValuesAreDifferent;
4982
5006
  private checkScrollingDirection;
5007
+ private checkIfViewportsWillChange;
4983
5008
  private getMainViewport;
4984
5009
  private getMainInternalViewport;
4985
5010
  /** gets rid of deprecated sheetIds */
@@ -5188,9 +5213,9 @@ interface CreateRevisionOptions {
5188
5213
  pending?: boolean;
5189
5214
  }
5190
5215
  interface HistoryChange {
5191
- path: [any, ...(number | string)[]];
5216
+ key: string;
5217
+ target: any;
5192
5218
  before: any;
5193
- after: any;
5194
5219
  }
5195
5220
  interface WorkbookHistory<Plugin> {
5196
5221
  update<T extends keyof Plugin>(key: T, val: Plugin[T]): void;
@@ -5389,6 +5414,7 @@ declare class DateTime {
5389
5414
  getHours(): number;
5390
5415
  getMinutes(): number;
5391
5416
  getSeconds(): number;
5417
+ getIsoWeek(): number;
5392
5418
  setFullYear(year: number): number;
5393
5419
  setMonth(month: number): number;
5394
5420
  setDate(date: number): number;
@@ -5772,15 +5798,24 @@ declare class Registry<T> {
5772
5798
  remove(key: string): void;
5773
5799
  }
5774
5800
 
5801
+ interface PivotRegistryItem$1 {
5802
+ editor: new (...args: any) => Component;
5803
+ }
5804
+
5775
5805
  interface PivotParams {
5776
5806
  definition: PivotCoreDefinition;
5777
5807
  getters: Getters;
5778
5808
  }
5779
- type PivotConstructor = new (custom: ModelConfig["custom"], params: PivotParams) => Pivot;
5780
- type PivotDefinitionConstructor = new (definition: PivotCoreDefinition, fields: PivotFields) => PivotRuntimeDefinition;
5809
+ type PivotUIConstructor = new (custom: ModelConfig["custom"], params: PivotParams) => Pivot;
5810
+ type PivotDefinitionConstructor = new (definition: PivotCoreDefinition, fields: PivotFields, getters: Getters) => PivotRuntimeDefinition;
5781
5811
  interface PivotRegistryItem {
5782
- cls: PivotConstructor;
5812
+ ui: PivotUIConstructor;
5783
5813
  definition: PivotDefinitionConstructor;
5814
+ externalData: boolean;
5815
+ onIterationEndEvaluation: (pivot: Pivot) => void;
5816
+ granularities: string[];
5817
+ isMeasureCandidate: (field: PivotField) => boolean;
5818
+ isGroupable: (field: PivotField) => boolean;
5784
5819
  }
5785
5820
 
5786
5821
  declare class ClipboardHandler<T> {
@@ -6134,7 +6169,7 @@ declare class OTRegistry extends Registry<Map<CoreCommandTypes, TransformationFu
6134
6169
  }
6135
6170
 
6136
6171
  interface CellClickableItem {
6137
- condition: (position: CellPosition, env: SpreadsheetChildEnv) => boolean;
6172
+ condition: (position: CellPosition, getters: Getters) => boolean;
6138
6173
  execute: (position: CellPosition, env: SpreadsheetChildEnv) => void;
6139
6174
  sequence: number;
6140
6175
  }
@@ -6177,6 +6212,7 @@ interface HighlightProvider {
6177
6212
  highlights: Highlight$1[];
6178
6213
  }
6179
6214
  declare class HighlightStore extends SpreadsheetStore {
6215
+ mutators: readonly ["register", "unRegister"];
6180
6216
  private providers;
6181
6217
  constructor(get: Get);
6182
6218
  get renderingLayers(): readonly ["Highlights"];
@@ -6201,17 +6237,17 @@ interface RangeInputValue {
6201
6237
  declare class SelectionInputStore extends SpreadsheetStore {
6202
6238
  private initialRanges;
6203
6239
  private readonly inputHasSingleRange;
6240
+ mutators: readonly ["resetWithRanges", "focusById", "unfocus", "addEmptyRange", "removeRange", "changeRange", "reset", "confirm"];
6204
6241
  ranges: RangeInputValue[];
6205
6242
  focusedRangeIndex: number | null;
6206
6243
  private inputSheetId;
6207
6244
  private focusStore;
6208
6245
  protected highlightStore: {
6209
- readonly renderingLayers: readonly ["Highlights"];
6210
- readonly highlights: Highlight$1[];
6211
6246
  readonly register: (highlightProvider: HighlightProvider) => void;
6212
6247
  readonly unRegister: (highlightProvider: HighlightProvider) => void;
6213
- readonly drawLayer: (ctx: GridRenderingContext, layer: "Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers") => void;
6214
- readonly dispose: () => void;
6248
+ readonly mutators: readonly ["register", "unRegister"];
6249
+ readonly renderingLayers: readonly ["Highlights"];
6250
+ readonly highlights: Highlight$1[];
6215
6251
  };
6216
6252
  constructor(get: Get, initialRanges?: string[], inputHasSingleRange?: boolean);
6217
6253
  handleEvent(event: SelectionEvent): void;
@@ -7014,6 +7050,7 @@ interface ClosedSidePanel {
7014
7050
  }
7015
7051
  type SidePanelState = OpenSidePanel | ClosedSidePanel;
7016
7052
  declare class SidePanelStore extends SpreadsheetStore {
7053
+ mutators: readonly ["open", "toggle", "close"];
7017
7054
  initialPanelProps: SidePanelProps;
7018
7055
  componentTag: string;
7019
7056
  get isOpen(): boolean;
@@ -7026,7 +7063,7 @@ declare class SidePanelStore extends SpreadsheetStore {
7026
7063
  }
7027
7064
 
7028
7065
  interface SidePanelContent {
7029
- title: string | ((env: SpreadsheetChildEnv) => string);
7066
+ title: string | ((env: SpreadsheetChildEnv, props: object) => string);
7030
7067
  Body: any;
7031
7068
  Footer?: any;
7032
7069
  /**
@@ -7127,12 +7164,24 @@ declare class TextValueProvider extends Component<Props$H> {
7127
7164
  setup(): void;
7128
7165
  }
7129
7166
 
7167
+ declare class AutoCompleteStore extends SpreadsheetStore {
7168
+ mutators: readonly ["useProvider", "moveSelection", "hide", "selectIndex"];
7169
+ selectedIndex: number | undefined;
7170
+ provider: AutoCompleteProvider | undefined;
7171
+ get selectedProposal(): AutoCompleteProposal | undefined;
7172
+ useProvider(provider: AutoCompleteProvider): void;
7173
+ hide(): void;
7174
+ selectIndex(index: number): void;
7175
+ moveSelection(direction: "previous" | "next"): void;
7176
+ }
7177
+
7130
7178
  type EditionMode = "editing" | "selecting" | "inactive";
7131
7179
  interface ComposerSelection {
7132
7180
  start: number;
7133
7181
  end: number;
7134
7182
  }
7135
7183
  declare class ComposerStore extends SpreadsheetStore {
7184
+ mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "changeComposerCursorSelection", "replaceComposerCursorSelection"];
7136
7185
  private col;
7137
7186
  private row;
7138
7187
  editionMode: EditionMode;
@@ -7239,6 +7288,7 @@ declare class ComposerStore extends SpreadsheetStore {
7239
7288
 
7240
7289
  type ComposerFocusType = "inactive" | "cellFocus" | "contentFocus";
7241
7290
  declare class ComposerFocusStore extends SpreadsheetStore {
7291
+ mutators: readonly ["focusTopBarComposer", "focusGridComposerContent", "focusGridComposerCell"];
7242
7292
  private composerStore;
7243
7293
  private topBarFocus;
7244
7294
  private gridFocusMode;
@@ -7366,10 +7416,6 @@ interface ComposerState {
7366
7416
  positionStart: number;
7367
7417
  positionEnd: number;
7368
7418
  }
7369
- interface AutoCompleteState {
7370
- provider: AutoCompleteProvider | undefined;
7371
- selectedIndex: number | undefined;
7372
- }
7373
7419
  interface FunctionDescriptionState {
7374
7420
  showDescription: boolean;
7375
7421
  functionName: string;
@@ -7423,7 +7469,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
7423
7469
  };
7424
7470
  contentHelper: ContentEditableHelper;
7425
7471
  composerState: ComposerState;
7426
- autoCompleteState: AutoCompleteState;
7472
+ autoCompleteState: Store<AutoCompleteStore>;
7427
7473
  functionDescriptionState: FunctionDescriptionState;
7428
7474
  private compositionActive;
7429
7475
  get assistantStyle(): string;
@@ -7450,7 +7496,6 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
7450
7496
  onPaste(ev: ClipboardEvent): void;
7451
7497
  onInput(ev: InputEvent): void;
7452
7498
  onKeyup(ev: KeyboardEvent): void;
7453
- showAutoComplete(provider: AutoCompleteProvider): void;
7454
7499
  updateAutoCompleteIndex(index: number): void;
7455
7500
  /**
7456
7501
  * This is required to ensure the content helper selection is
@@ -7993,16 +8038,15 @@ declare class FiguresContainer extends Component<Props$w, SpreadsheetChildEnv> {
7993
8038
  }
7994
8039
 
7995
8040
  declare class CellPopoverStore extends SpreadsheetStore {
8041
+ mutators: readonly ["open", "close"];
7996
8042
  private persistentPopover?;
7997
8043
  protected hoveredCell: {
8044
+ readonly clear: () => void;
8045
+ readonly hover: (position: Position$1) => void;
8046
+ readonly mutators: readonly ["clear", "hover"];
7998
8047
  readonly col: number | undefined;
7999
8048
  readonly row: number | undefined;
8000
- readonly handle: (cmd: Command) => void;
8001
- readonly hover: (position: Position$1) => void;
8002
- readonly clear: () => void;
8003
8049
  readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
8004
- readonly drawLayer: (ctx: GridRenderingContext, layer: "Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers") => void;
8005
- readonly dispose: () => void;
8006
8050
  };
8007
8051
  handle(cmd: Command): void;
8008
8052
  open({ col, row }: Position$1, type: CellPopoverType): void;
@@ -8464,6 +8508,7 @@ declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
8464
8508
  }
8465
8509
 
8466
8510
  declare class HoveredCellStore extends SpreadsheetStore {
8511
+ mutators: readonly ["clear", "hover"];
8467
8512
  col: number | undefined;
8468
8513
  row: number | undefined;
8469
8514
  handle(cmd: Command): void;
@@ -8587,6 +8632,7 @@ declare function useHighlightsOnHover(ref: Ref<HTMLElement>, highlightProvider:
8587
8632
  declare function useHighlights(highlightProvider: HighlightProvider): void;
8588
8633
 
8589
8634
  declare class MainChartPanelStore extends SpreadsheetStore {
8635
+ mutators: readonly ["activatePanel", "changeChartType"];
8590
8636
  panel: "configuration" | "design";
8591
8637
  private creationContext;
8592
8638
  activatePanel(panel: "configuration" | "design"): void;
@@ -8618,6 +8664,7 @@ declare class ChartPanel extends Component<Props$i, SpreadsheetChildEnv> {
8618
8664
  }
8619
8665
 
8620
8666
  declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightProvider {
8667
+ mutators: readonly ["updateSearchOptions", "updateSearchContent", "searchFormulas", "selectPreviousMatch", "selectNextMatch", "replace"];
8621
8668
  private allSheetsMatches;
8622
8669
  private activeSheetMatches;
8623
8670
  private specificRangeMatches;
@@ -8678,25 +8725,6 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
8678
8725
  get highlights(): Highlight$1[];
8679
8726
  }
8680
8727
 
8681
- declare class PivotPreview extends Component {
8682
- static template: string;
8683
- static props: {
8684
- pivotId: StringConstructor;
8685
- };
8686
- setup(): void;
8687
- selectPivot(): void;
8688
- get highlights(): Highlight$1[];
8689
- }
8690
- declare class AllPivotsSidePanel extends Component {
8691
- static template: string;
8692
- static components: {
8693
- PivotPreview: typeof PivotPreview;
8694
- };
8695
- static props: {
8696
- onCloseSidePanel: FunctionConstructor;
8697
- };
8698
- }
8699
-
8700
8728
  /** @odoo-module */
8701
8729
 
8702
8730
  interface Props$h {
@@ -8725,6 +8753,7 @@ declare class AddDimensionButton extends Component<Props$g, SpreadsheetChildEnv>
8725
8753
  static template: string;
8726
8754
  static components: {
8727
8755
  Popover: typeof Popover;
8756
+ TextValueProvider: typeof TextValueProvider;
8728
8757
  };
8729
8758
  static props: {
8730
8759
  onFieldPicked: FunctionConstructor;
@@ -8733,12 +8762,20 @@ declare class AddDimensionButton extends Component<Props$g, SpreadsheetChildEnv>
8733
8762
  private buttonRef;
8734
8763
  private popover;
8735
8764
  private search;
8765
+ private autoComplete;
8736
8766
  setup(): void;
8737
- get filteredFields(): PivotField[];
8767
+ getProvider(): AutoCompleteProvider;
8768
+ get proposals(): AutoCompleteProposal[];
8738
8769
  get popoverProps(): {
8739
- anchorRect: DOMRect;
8770
+ anchorRect: {
8771
+ x: number;
8772
+ y: number;
8773
+ width: number;
8774
+ height: number;
8775
+ };
8740
8776
  positioning: string;
8741
8777
  };
8778
+ updateSearch(searchInput: string): void;
8742
8779
  pickField(field: PivotField): void;
8743
8780
  togglePopover(): void;
8744
8781
  onKeyDown(ev: KeyboardEvent): void;
@@ -8767,6 +8804,7 @@ interface Props$e {
8767
8804
  dimension: PivotDimension$1;
8768
8805
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
8769
8806
  availableGranularities: Set<string>;
8807
+ allGranularities: string[];
8770
8808
  }
8771
8809
  declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetChildEnv> {
8772
8810
  static template: string;
@@ -8774,6 +8812,7 @@ declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetCh
8774
8812
  dimension: ObjectConstructor;
8775
8813
  onUpdated: FunctionConstructor;
8776
8814
  availableGranularities: SetConstructor;
8815
+ allGranularities: ArrayConstructor;
8777
8816
  };
8778
8817
  periods: {
8779
8818
  year: string;
@@ -8781,8 +8820,12 @@ declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetCh
8781
8820
  month: string;
8782
8821
  week: string;
8783
8822
  day: string;
8823
+ year_number: string;
8824
+ quarter_number: string;
8825
+ month_number: string;
8826
+ iso_week_number: string;
8827
+ day_of_month: string;
8784
8828
  };
8785
- allGranularities: string[];
8786
8829
  }
8787
8830
 
8788
8831
  interface Props$d {
@@ -8830,7 +8873,7 @@ declare function isDateField(field: PivotField): boolean;
8830
8873
  * Create a proposal entry for the compose autocomplete
8831
8874
  * to insert a field name string in a formula.
8832
8875
  */
8833
- declare function makeFieldProposal(field: PivotField): {
8876
+ declare function makeFieldProposal(field: PivotField, granularity?: Granularity): {
8834
8877
  text: string;
8835
8878
  description: string;
8836
8879
  htmlContent: {
@@ -8864,8 +8907,9 @@ interface Props$c {
8864
8907
  unusedGroupableFields: PivotField[];
8865
8908
  unusedMeasureFields: PivotField[];
8866
8909
  unusedDateTimeGranularities: Record<string, Set<string>>;
8910
+ allGranularities: string[];
8867
8911
  }
8868
- declare class PivotDimensions extends Component<Props$c, SpreadsheetChildEnv> {
8912
+ declare class PivotLayoutConfigurator extends Component<Props$c, SpreadsheetChildEnv> {
8869
8913
  static template: string;
8870
8914
  static components: {
8871
8915
  AddDimensionButton: typeof AddDimensionButton;
@@ -8879,6 +8923,7 @@ declare class PivotDimensions extends Component<Props$c, SpreadsheetChildEnv> {
8879
8923
  unusedGroupableFields: ArrayConstructor;
8880
8924
  unusedMeasureFields: ArrayConstructor;
8881
8925
  unusedDateTimeGranularities: ObjectConstructor;
8926
+ allGranularities: ArrayConstructor;
8882
8927
  };
8883
8928
  private dimensionsRef;
8884
8929
  private dragAndDrop;
@@ -8902,6 +8947,31 @@ declare class PivotDimensions extends Component<Props$c, SpreadsheetChildEnv> {
8902
8947
  updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
8903
8948
  }
8904
8949
 
8950
+ declare class PivotSidePanelStore extends SpreadsheetStore {
8951
+ private pivotId;
8952
+ mutators: readonly ["applyUpdate", "renamePivot", "update"];
8953
+ private updatesAreDeferred;
8954
+ private draft;
8955
+ constructor(get: Get, pivotId: UID);
8956
+ handle(cmd: Command): void;
8957
+ get fields(): PivotFields;
8958
+ get pivot(): Pivot<PivotRuntimeDefinition>;
8959
+ get definition(): PivotRuntimeDefinition;
8960
+ get isDirty(): boolean;
8961
+ get unusedMeasureFields(): PivotField[];
8962
+ get unusedGroupableFields(): PivotField[];
8963
+ get allGranularities(): string[];
8964
+ get unusedDateTimeGranularities(): {};
8965
+ reset(pivotId: UID): void;
8966
+ deferUpdates(shouldDefer: boolean): void;
8967
+ applyUpdate(): void;
8968
+ discardPendingUpdate(): void;
8969
+ renamePivot(name: string): void;
8970
+ update(definitionUpdate: Partial<PivotCoreDefinition>): void;
8971
+ private addDefaultDateTimeGranularity;
8972
+ private getUnusedDateTimeGranularities;
8973
+ }
8974
+
8905
8975
  declare function isEvaluationError(error: Maybe<CellValue>): error is string;
8906
8976
  declare function toNumber(data: FPayload | CellValue | undefined, locale: Locale): number;
8907
8977
  declare function toString(data: FPayload | CellValue | undefined): string;
@@ -8961,38 +9031,19 @@ declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetDa
8961
9031
  declare function genericRepeat<T extends Command>(getters: Getters, command: T): T;
8962
9032
 
8963
9033
  interface NotificationStore {
9034
+ mutators: readonly ["notifyUser", "raiseError", "askConfirmation"];
8964
9035
  notifyUser: (notification: InformationNotification) => any;
8965
9036
  raiseError: (text: string, callback?: () => void) => any;
8966
9037
  askConfirmation: (content: string, confirm: () => any, cancel?: () => any) => any;
8967
9038
  }
8968
9039
  declare const NotificationStore: StoreConstructor<NotificationStore, any[]>;
8969
9040
 
8970
- declare class PivotSidePanelStore extends SpreadsheetStore {
8971
- private pivotId;
8972
- private updatesAreDeferred;
8973
- private draft;
8974
- constructor(get: Get, pivotId: UID);
8975
- get fields(): PivotFields;
8976
- get pivot(): Pivot<PivotRuntimeDefinition>;
8977
- get definition(): PivotRuntimeDefinition;
8978
- get isDirty(): boolean;
8979
- get unusedMeasureFields(): PivotField[];
8980
- get unusedGroupableFields(): PivotField[];
8981
- get unusedDateTimeGranularities(): {};
8982
- reset(pivotId: UID): void;
8983
- deferUpdates(shouldDefer: boolean): void;
8984
- applyUpdate(): void;
8985
- discardPendingUpdate(): void;
8986
- update(definitionUpdate: Partial<PivotCoreDefinition>): void;
8987
- private addDefaultDateTimeGranularity;
8988
- private getUnusedDateTimeGranularities;
8989
- }
8990
-
8991
9041
  interface Renderer {
8992
9042
  drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
8993
9043
  renderingLayers: Readonly<LayerName[]>;
8994
9044
  }
8995
- declare class RendererStore extends ReactiveStore {
9045
+ declare class RendererStore {
9046
+ mutators: readonly ["register", "unRegister"];
8996
9047
  private renderers;
8997
9048
  register(renderer: Renderer): void;
8998
9049
  unRegister(renderer: Renderer): void;
@@ -9240,13 +9291,22 @@ declare class BottomBar extends Component<Props$9, SpreadsheetChildEnv> {
9240
9291
  get sheetListMaxScroll(): number;
9241
9292
  }
9242
9293
 
9243
- interface Props$8 {
9244
- }
9245
9294
  interface ClickableCell {
9246
9295
  coordinates: Rect;
9247
- position: Position$1;
9296
+ position: CellPosition;
9248
9297
  action: (position: CellPosition, env: SpreadsheetChildEnv) => void;
9249
9298
  }
9299
+ declare class ClickableCellsStore extends SpreadsheetStore {
9300
+ private _clickableCells;
9301
+ private _registryItems;
9302
+ handle(cmd: Command): void;
9303
+ private getClickableAction;
9304
+ private findClickableAction;
9305
+ get clickableCells(): ClickableCell[];
9306
+ }
9307
+
9308
+ interface Props$8 {
9309
+ }
9250
9310
  declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEnv> {
9251
9311
  static template: string;
9252
9312
  static props: {};
@@ -9261,6 +9321,7 @@ declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEn
9261
9321
  onMouseWheel: (ev: WheelEvent) => void;
9262
9322
  canvasPosition: DOMCoordinates;
9263
9323
  hoveredCell: Store<HoveredCellStore>;
9324
+ clickableCellsStore: Store<ClickableCellsStore>;
9264
9325
  setup(): void;
9265
9326
  onCellHovered({ col, row }: {
9266
9327
  col: any;
@@ -9276,7 +9337,6 @@ declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEn
9276
9337
  *
9277
9338
  */
9278
9339
  getClickableCells(): ClickableCell[];
9279
- getClickableAction(position: CellPosition): false | ((position: CellPosition, env: SpreadsheetChildEnv) => void);
9280
9340
  selectClickableCell(clickableCell: ClickableCell): void;
9281
9341
  onClosePopover(): void;
9282
9342
  onGridResized({ height, width }: DOMDimension): void;
@@ -9967,7 +10027,7 @@ declare const registries: {
9967
10027
  clipboardHandlersRegistries: {
9968
10028
  figureHandlers: Registry<{
9969
10029
  new (getters: Getters, dispatch: {
9970
- <T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C extends Extract<UpdateCellCommand, {
10030
+ <T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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", C extends Extract<UpdateCellCommand, {
9971
10031
  type: T;
9972
10032
  }> | Extract<UpdateCellPositionCommand, {
9973
10033
  type: T;
@@ -10177,14 +10237,14 @@ declare const registries: {
10177
10237
  type: T;
10178
10238
  }> | Extract<TrimWhitespaceCommand, {
10179
10239
  type: T;
10180
- }> | Extract<RenderCanvasCommand, {
10181
- type: T;
10182
10240
  }> | Extract<ResizeTableCommand, {
10183
10241
  type: T;
10184
10242
  }> | Extract<RefreshPivotCommand, {
10185
10243
  type: T;
10244
+ }> | Extract<InsertNewPivotCommand, {
10245
+ type: T;
10186
10246
  }>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
10187
- <T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C_1 extends Extract<UpdateCellCommand, {
10247
+ <T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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", C_1 extends Extract<UpdateCellCommand, {
10188
10248
  type: T_1;
10189
10249
  }> | Extract<UpdateCellPositionCommand, {
10190
10250
  type: T_1;
@@ -10394,18 +10454,18 @@ declare const registries: {
10394
10454
  type: T_1;
10395
10455
  }> | Extract<TrimWhitespaceCommand, {
10396
10456
  type: T_1;
10397
- }> | Extract<RenderCanvasCommand, {
10398
- type: T_1;
10399
10457
  }> | Extract<ResizeTableCommand, {
10400
10458
  type: T_1;
10401
10459
  }> | Extract<RefreshPivotCommand, {
10402
10460
  type: T_1;
10461
+ }> | Extract<InsertNewPivotCommand, {
10462
+ type: T_1;
10403
10463
  }>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
10404
10464
  }): AbstractFigureClipboardHandler<any>;
10405
10465
  }>;
10406
10466
  cellHandlers: Registry<{
10407
10467
  new (getters: Getters, dispatch: {
10408
- <T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C extends Extract<UpdateCellCommand, {
10468
+ <T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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", C extends Extract<UpdateCellCommand, {
10409
10469
  type: T;
10410
10470
  }> | Extract<UpdateCellPositionCommand, {
10411
10471
  type: T;
@@ -10615,14 +10675,14 @@ declare const registries: {
10615
10675
  type: T;
10616
10676
  }> | Extract<TrimWhitespaceCommand, {
10617
10677
  type: T;
10618
- }> | Extract<RenderCanvasCommand, {
10619
- type: T;
10620
10678
  }> | Extract<ResizeTableCommand, {
10621
10679
  type: T;
10622
10680
  }> | Extract<RefreshPivotCommand, {
10623
10681
  type: T;
10682
+ }> | Extract<InsertNewPivotCommand, {
10683
+ type: T;
10624
10684
  }>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
10625
- <T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C_1 extends Extract<UpdateCellCommand, {
10685
+ <T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "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" | "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", C_1 extends Extract<UpdateCellCommand, {
10626
10686
  type: T_1;
10627
10687
  }> | Extract<UpdateCellPositionCommand, {
10628
10688
  type: T_1;
@@ -10832,18 +10892,20 @@ declare const registries: {
10832
10892
  type: T_1;
10833
10893
  }> | Extract<TrimWhitespaceCommand, {
10834
10894
  type: T_1;
10835
- }> | Extract<RenderCanvasCommand, {
10836
- type: T_1;
10837
10895
  }> | Extract<ResizeTableCommand, {
10838
10896
  type: T_1;
10839
10897
  }> | Extract<RefreshPivotCommand, {
10840
10898
  type: T_1;
10899
+ }> | Extract<InsertNewPivotCommand, {
10900
+ type: T_1;
10841
10901
  }>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
10842
10902
  }): AbstractCellClipboardHandler<any, any>;
10843
10903
  }>;
10844
10904
  };
10845
10905
  pivotRegistry: Registry<PivotRegistryItem>;
10846
10906
  pivotTimeAdapterRegistry: Registry<PivotTimeAdapter<string | number | false>>;
10907
+ pivotSidePanelRegistry: Registry<PivotRegistryItem$1>;
10908
+ supportedPivotExplodedFormulaRegistry: Registry<boolean>;
10847
10909
  };
10848
10910
  declare const helpers: {
10849
10911
  arg: typeof arg;
@@ -10940,9 +11002,8 @@ declare const components: {
10940
11002
  PivotDimensionGranularity: typeof PivotDimensionGranularity;
10941
11003
  PivotDimensionOrder: typeof PivotDimensionOrder;
10942
11004
  PivotDimension: typeof PivotDimension;
10943
- PivotDimensions: typeof PivotDimensions;
11005
+ PivotLayoutConfigurator: typeof PivotLayoutConfigurator;
10944
11006
  EditableName: typeof EditableName;
10945
- AllPivotsSidePanel: typeof AllPivotsSidePanel;
10946
11007
  };
10947
11008
  declare const hooks: {
10948
11009
  useDragAndDropListItems: typeof useDragAndDropListItems;
@@ -10987,4 +11048,4 @@ declare const constants: {
10987
11048
  };
10988
11049
  };
10989
11050
 
10990
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, 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, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, Getters, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InsertCellCommand, InsertPivotCommand, 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, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, PivotRuntimeDefinition, 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, RenderCanvasCommand, 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, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, 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, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
11051
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, 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, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, 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, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DomainArg, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, 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, 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, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotField, PivotFields, PivotMeasure, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, 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, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, StringDomainArgs, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, 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, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };