@odoo/o-spreadsheet 17.4.22 → 17.4.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +6234 -6132
- package/dist/o-spreadsheet.d.ts +52 -47
- package/dist/o-spreadsheet.esm.js +6234 -6132
- package/dist/o-spreadsheet.iife.js +6397 -6295
- package/dist/o-spreadsheet.iife.min.js +184 -188
- package/dist/o_spreadsheet.xml +31 -31
- package/package.json +3 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -711,33 +711,33 @@ type TableStyleTemplateName = "none" | "lightColoredText" | "lightAllBorders" |
|
|
|
711
711
|
interface SheetDependentCommand {
|
|
712
712
|
sheetId: UID;
|
|
713
713
|
}
|
|
714
|
-
declare function isSheetDependent(cmd: CoreCommand):
|
|
714
|
+
declare function isSheetDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, SheetDependentCommand>;
|
|
715
715
|
interface HeadersDependentCommand {
|
|
716
716
|
sheetId: UID;
|
|
717
717
|
dimension: Dimension;
|
|
718
718
|
elements: HeaderIndex[];
|
|
719
719
|
}
|
|
720
|
-
declare function isHeadersDependant(cmd: CoreCommand):
|
|
720
|
+
declare function isHeadersDependant(cmd: CoreCommand): cmd is Extract<CoreCommand, HeadersDependentCommand>;
|
|
721
721
|
interface TargetDependentCommand {
|
|
722
722
|
sheetId: UID;
|
|
723
723
|
target: Zone[];
|
|
724
724
|
}
|
|
725
|
-
declare function isTargetDependent(cmd: CoreCommand):
|
|
725
|
+
declare function isTargetDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, TargetDependentCommand>;
|
|
726
726
|
interface RangesDependentCommand {
|
|
727
727
|
ranges: RangeData[];
|
|
728
728
|
}
|
|
729
|
-
declare function isRangeDependant(cmd: CoreCommand):
|
|
729
|
+
declare function isRangeDependant(cmd: CoreCommand): cmd is Extract<CoreCommand, RangesDependentCommand>;
|
|
730
730
|
interface PositionDependentCommand {
|
|
731
731
|
sheetId: UID;
|
|
732
732
|
col: number;
|
|
733
733
|
row: number;
|
|
734
734
|
}
|
|
735
|
+
declare function isPositionDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, PositionDependentCommand>;
|
|
735
736
|
interface ZoneDependentCommand {
|
|
736
737
|
sheetId: UID;
|
|
737
738
|
zone: Zone;
|
|
738
739
|
}
|
|
739
|
-
declare function isZoneDependent(cmd: CoreCommand):
|
|
740
|
-
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
740
|
+
declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
|
|
741
741
|
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "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" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
742
742
|
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "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" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
743
743
|
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "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" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
@@ -1369,6 +1369,7 @@ declare const enum CommandResult {
|
|
|
1369
1369
|
InvalidRange = "InvalidRange",
|
|
1370
1370
|
InvalidZones = "InvalidZones",
|
|
1371
1371
|
InvalidSheetId = "InvalidSheetId",
|
|
1372
|
+
InvalidCellId = "InvalidCellId",
|
|
1372
1373
|
InvalidFigureId = "InvalidFigureId",
|
|
1373
1374
|
InputAlreadyFocused = "InputAlreadyFocused",
|
|
1374
1375
|
MaximumRangesReached = "MaximumRangesReached",
|
|
@@ -2044,14 +2045,10 @@ interface NewLocalStateUpdateEvent {
|
|
|
2044
2045
|
type: "new-local-state-update";
|
|
2045
2046
|
id: UID;
|
|
2046
2047
|
}
|
|
2047
|
-
interface RevisionsDroppedEvent {
|
|
2048
|
-
type: "pending-revisions-dropped";
|
|
2049
|
-
revisionIds: UID[];
|
|
2050
|
-
}
|
|
2051
2048
|
interface SnapshotEvent {
|
|
2052
2049
|
type: "snapshot";
|
|
2053
2050
|
}
|
|
2054
|
-
type CollaborativeEvent = NewLocalStateUpdateEvent | UnexpectedRevisionIdEvent | RemoteRevisionReceivedEvent | RevisionAcknowledgedEvent | RevisionUndone | RevisionRedone |
|
|
2051
|
+
type CollaborativeEvent = NewLocalStateUpdateEvent | UnexpectedRevisionIdEvent | RemoteRevisionReceivedEvent | RevisionAcknowledgedEvent | RevisionUndone | RevisionRedone | SnapshotEvent | CollaborativeEventReceived;
|
|
2055
2052
|
type CollaborativeEventTypes = CollaborativeEvent["type"];
|
|
2056
2053
|
|
|
2057
2054
|
interface RevisionData {
|
|
@@ -2695,7 +2692,7 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
|
|
|
2695
2692
|
}
|
|
2696
2693
|
|
|
2697
2694
|
interface CoreState$1 {
|
|
2698
|
-
cells: Record<UID, Record<UID, Cell | undefined
|
|
2695
|
+
cells: Record<UID, Record<UID, Cell | undefined> | undefined>;
|
|
2699
2696
|
nextId: number;
|
|
2700
2697
|
}
|
|
2701
2698
|
/**
|
|
@@ -2971,12 +2968,14 @@ interface FigureState {
|
|
|
2971
2968
|
readonly figures: {
|
|
2972
2969
|
[sheet: string]: Record<UID, Figure | undefined> | undefined;
|
|
2973
2970
|
};
|
|
2971
|
+
readonly insertionOrders: UID[];
|
|
2974
2972
|
}
|
|
2975
2973
|
declare class FigurePlugin extends CorePlugin<FigureState> implements FigureState {
|
|
2976
2974
|
static getters: readonly ["getFigures", "getFigure", "getFigureSheetId"];
|
|
2977
2975
|
readonly figures: {
|
|
2978
2976
|
[sheet: string]: Record<UID, Figure | undefined> | undefined;
|
|
2979
2977
|
};
|
|
2978
|
+
readonly insertionOrders: UID[];
|
|
2980
2979
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
2981
2980
|
beforeHandle(cmd: CoreCommand): void;
|
|
2982
2981
|
handle(cmd: CoreCommand): void;
|
|
@@ -3451,10 +3450,12 @@ declare class TableStylePlugin extends CorePlugin<TableStylesState> implements T
|
|
|
3451
3450
|
|
|
3452
3451
|
interface TableState {
|
|
3453
3452
|
tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3453
|
+
insertionOrders: Record<UID, TableId[] | undefined>;
|
|
3454
3454
|
}
|
|
3455
3455
|
declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
3456
3456
|
static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
|
|
3457
3457
|
readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3458
|
+
readonly insertionOrders: Record<UID, TableId[] | undefined>;
|
|
3458
3459
|
adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
|
|
3459
3460
|
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
3460
3461
|
handle(cmd: CoreCommand): void;
|
|
@@ -3562,7 +3563,7 @@ declare class SelectiveHistory<T = unknown> {
|
|
|
3562
3563
|
* @param insertAfter the id of the operation after which to insert the redo
|
|
3563
3564
|
*/
|
|
3564
3565
|
redo(operationId: UID, redoId: UID, insertAfter: UID): void;
|
|
3565
|
-
|
|
3566
|
+
rebase(operationId: UID): void;
|
|
3566
3567
|
/**
|
|
3567
3568
|
* Revert the state as it was *before* the given operation was executed.
|
|
3568
3569
|
*/
|
|
@@ -4597,7 +4598,6 @@ declare class HistoryPlugin extends UIPlugin {
|
|
|
4597
4598
|
private requestHistoryChange;
|
|
4598
4599
|
canUndo(): boolean;
|
|
4599
4600
|
canRedo(): boolean;
|
|
4600
|
-
private drop;
|
|
4601
4601
|
private onNewLocalStateUpdate;
|
|
4602
4602
|
/**
|
|
4603
4603
|
* Fetch the last revision which is not empty and not a repeated command
|
|
@@ -4884,6 +4884,7 @@ declare class GridSelectionPlugin extends UIPlugin {
|
|
|
4884
4884
|
private onAddElements;
|
|
4885
4885
|
private onMoveElements;
|
|
4886
4886
|
private isMoveElementAllowed;
|
|
4887
|
+
private fallbackToVisibleSheet;
|
|
4887
4888
|
/**
|
|
4888
4889
|
* Clip the selection if it spans outside the sheet
|
|
4889
4890
|
*/
|
|
@@ -5642,6 +5643,20 @@ declare class UuidGenerator {
|
|
|
5642
5643
|
private isFastIdStrategy;
|
|
5643
5644
|
private fastIdStart;
|
|
5644
5645
|
setIsFastStrategy(isFast: boolean): void;
|
|
5646
|
+
/**
|
|
5647
|
+
* Generates a custom UUID using a simple 36^12 method (8-character alphanumeric string with lowercase letters)
|
|
5648
|
+
* This has a higher chance of collision than a UUIDv4, but not only faster to generate than an UUIDV4,
|
|
5649
|
+
* it also has a smaller size, which is preferable to alleviate the overall data size.
|
|
5650
|
+
*
|
|
5651
|
+
* This method is preferable when generating uuids for the core data (sheetId, figureId, etc)
|
|
5652
|
+
* as they will appear several times in the revisions and local history.
|
|
5653
|
+
*
|
|
5654
|
+
*/
|
|
5655
|
+
smallUuid(): string;
|
|
5656
|
+
/**
|
|
5657
|
+
* Generates an UUIDV4, has astronomically low chance of collision, but is larger in size than the smallUuid.
|
|
5658
|
+
* This method should be used when you need to avoid collisions at all costs, like the id of a revision.
|
|
5659
|
+
*/
|
|
5645
5660
|
uuidv4(): string;
|
|
5646
5661
|
}
|
|
5647
5662
|
|
|
@@ -7508,6 +7523,26 @@ interface EnrichedToken extends Token {
|
|
|
7508
7523
|
functionContext?: FunctionContext;
|
|
7509
7524
|
}
|
|
7510
7525
|
|
|
7526
|
+
declare class CellPopoverStore extends SpreadsheetStore {
|
|
7527
|
+
mutators: readonly ["open", "close"];
|
|
7528
|
+
private persistentPopover?;
|
|
7529
|
+
protected hoveredCell: {
|
|
7530
|
+
readonly clear: () => void;
|
|
7531
|
+
readonly hover: (position: Position$1) => void;
|
|
7532
|
+
readonly mutators: readonly ["clear", "hover"];
|
|
7533
|
+
readonly col: number | undefined;
|
|
7534
|
+
readonly row: number | undefined;
|
|
7535
|
+
readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
|
|
7536
|
+
};
|
|
7537
|
+
handle(cmd: Command): void;
|
|
7538
|
+
open({ col, row }: Position$1, type: CellPopoverType): void;
|
|
7539
|
+
close(): void;
|
|
7540
|
+
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
7541
|
+
get isOpen(): boolean;
|
|
7542
|
+
get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
|
|
7543
|
+
private computePopoverAnchorRect;
|
|
7544
|
+
}
|
|
7545
|
+
|
|
7511
7546
|
interface Props$L {
|
|
7512
7547
|
proposals: AutoCompleteProposal[];
|
|
7513
7548
|
selectedIndex: number | undefined;
|
|
@@ -7770,8 +7805,6 @@ declare const tokenColors: {
|
|
|
7770
7805
|
interface ComposerProps {
|
|
7771
7806
|
focus: ComposerFocusType;
|
|
7772
7807
|
inputStyle?: string;
|
|
7773
|
-
rect?: Rect;
|
|
7774
|
-
delimitation?: DOMDimension;
|
|
7775
7808
|
onComposerContentFocused: () => void;
|
|
7776
7809
|
onComposerCellFocused?: (content: String) => void;
|
|
7777
7810
|
onInputContextMenu?: (event: MouseEvent) => void;
|
|
@@ -7797,14 +7830,6 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
7797
7830
|
type: StringConstructor;
|
|
7798
7831
|
optional: boolean;
|
|
7799
7832
|
};
|
|
7800
|
-
rect: {
|
|
7801
|
-
type: ObjectConstructor;
|
|
7802
|
-
optional: boolean;
|
|
7803
|
-
};
|
|
7804
|
-
delimitation: {
|
|
7805
|
-
type: ObjectConstructor;
|
|
7806
|
-
optional: boolean;
|
|
7807
|
-
};
|
|
7808
7833
|
onComposerCellFocused: {
|
|
7809
7834
|
type: FunctionConstructor;
|
|
7810
7835
|
optional: boolean;
|
|
@@ -7822,6 +7847,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
7822
7847
|
static components: {
|
|
7823
7848
|
TextValueProvider: typeof TextValueProvider;
|
|
7824
7849
|
FunctionDescriptionProvider: typeof FunctionDescriptionProvider;
|
|
7850
|
+
Popover: typeof Popover;
|
|
7825
7851
|
};
|
|
7826
7852
|
static defaultProps: {
|
|
7827
7853
|
inputStyle: string;
|
|
@@ -7837,7 +7863,6 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
7837
7863
|
autoCompleteState: Store<AutoCompleteStore>;
|
|
7838
7864
|
functionDescriptionState: FunctionDescriptionState;
|
|
7839
7865
|
private compositionActive;
|
|
7840
|
-
private spreadsheetRect;
|
|
7841
7866
|
get assistantStyle(): string;
|
|
7842
7867
|
shouldProcessInputEvents: boolean;
|
|
7843
7868
|
tokens: EnrichedToken[];
|
|
@@ -7895,6 +7920,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
7895
7920
|
*/
|
|
7896
7921
|
private processTokenAtCursor;
|
|
7897
7922
|
private autoComplete;
|
|
7923
|
+
get popoverProps(): PopoverProps;
|
|
7898
7924
|
}
|
|
7899
7925
|
|
|
7900
7926
|
interface AutoCompleteProposal {
|
|
@@ -8405,26 +8431,6 @@ declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
8405
8431
|
private getSnapLineStyle;
|
|
8406
8432
|
}
|
|
8407
8433
|
|
|
8408
|
-
declare class CellPopoverStore extends SpreadsheetStore {
|
|
8409
|
-
mutators: readonly ["open", "close"];
|
|
8410
|
-
private persistentPopover?;
|
|
8411
|
-
protected hoveredCell: {
|
|
8412
|
-
readonly clear: () => void;
|
|
8413
|
-
readonly hover: (position: Position$1) => void;
|
|
8414
|
-
readonly mutators: readonly ["clear", "hover"];
|
|
8415
|
-
readonly col: number | undefined;
|
|
8416
|
-
readonly row: number | undefined;
|
|
8417
|
-
readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
|
|
8418
|
-
};
|
|
8419
|
-
handle(cmd: Command): void;
|
|
8420
|
-
open({ col, row }: Position$1, type: CellPopoverType): void;
|
|
8421
|
-
close(): void;
|
|
8422
|
-
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
8423
|
-
get isOpen(): boolean;
|
|
8424
|
-
get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
|
|
8425
|
-
private computePopoverAnchorRect;
|
|
8426
|
-
}
|
|
8427
|
-
|
|
8428
8434
|
interface Props$z {
|
|
8429
8435
|
cellPosition: CellPosition;
|
|
8430
8436
|
}
|
|
@@ -10237,7 +10243,6 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
10237
10243
|
get focus(): Omit<ComposerFocusType, "cellFocus">;
|
|
10238
10244
|
get composerStyle(): string;
|
|
10239
10245
|
get containerStyle(): string;
|
|
10240
|
-
get delimitation(): DOMDimension;
|
|
10241
10246
|
onFocus(selection: ComposerSelection): void;
|
|
10242
10247
|
}
|
|
10243
10248
|
|
|
@@ -11683,4 +11688,4 @@ declare const constants: {
|
|
|
11683
11688
|
};
|
|
11684
11689
|
};
|
|
11685
11690
|
|
|
11686
|
-
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, AxesDesign, AxisDesign, 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, ClearCellsCommand, 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, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage,
|
|
11691
|
+
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, AxesDesign, AxisDesign, 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, ClearCellsCommand, 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, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, 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, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, 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 };
|