@odoo/o-spreadsheet 18.3.9 → 18.3.11
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 +142 -82
- package/dist/o-spreadsheet.d.ts +8 -8
- package/dist/o-spreadsheet.esm.js +142 -82
- package/dist/o-spreadsheet.iife.js +142 -82
- package/dist/o-spreadsheet.iife.min.js +179 -179
- package/dist/o_spreadsheet.xml +3 -3
- package/package.json +2 -2
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
4
4
|
* @see https://github.com/odoo/o-spreadsheet
|
|
5
|
-
* @version 18.3.
|
|
6
|
-
* @date 2025-06-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.3.11
|
|
6
|
+
* @date 2025-06-27T09:13:07.206Z
|
|
7
|
+
* @hash 460d5d0
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -143,6 +143,7 @@ const FROZEN_PANE_HEADER_BORDER_COLOR = "#BCBCBC";
|
|
|
143
143
|
const FROZEN_PANE_BORDER_COLOR = "#DADFE8";
|
|
144
144
|
const COMPOSER_ASSISTANT_COLOR = "#9B359B";
|
|
145
145
|
const COLOR_TRANSPARENT = "#00000000";
|
|
146
|
+
const TABLE_HOVER_BACKGROUND_COLOR = "#017E8414";
|
|
146
147
|
const CHART_WATERFALL_POSITIVE_COLOR = "#4EA7F2";
|
|
147
148
|
const CHART_WATERFALL_NEGATIVE_COLOR = "#EA6175";
|
|
148
149
|
const CHART_WATERFALL_SUBTOTAL_COLOR = "#AAAAAA";
|
|
@@ -7122,6 +7123,63 @@ function parseOSClipboardContent(content, clipboardId) {
|
|
|
7122
7123
|
};
|
|
7123
7124
|
return osClipboardContent;
|
|
7124
7125
|
}
|
|
7126
|
+
/**
|
|
7127
|
+
* Applies each clipboard handler to paste its corresponding data into the target.
|
|
7128
|
+
*/
|
|
7129
|
+
const applyClipboardHandlersPaste = (handlers, copiedData, target, options) => {
|
|
7130
|
+
handlers.forEach(({ handlerName, handler }) => {
|
|
7131
|
+
const data = copiedData[handlerName];
|
|
7132
|
+
if (data) {
|
|
7133
|
+
handler.paste(target, data, options);
|
|
7134
|
+
}
|
|
7135
|
+
});
|
|
7136
|
+
};
|
|
7137
|
+
/**
|
|
7138
|
+
* Returns the paste target based on clipboard handlers.
|
|
7139
|
+
* Also includes the full affected zone and the list of pasted zones for selection.
|
|
7140
|
+
*/
|
|
7141
|
+
function getPasteTargetFromHandlers(sheetId, zones, copiedData, handlers, options) {
|
|
7142
|
+
let zone = undefined;
|
|
7143
|
+
let selectedZones = [];
|
|
7144
|
+
let target = {
|
|
7145
|
+
sheetId,
|
|
7146
|
+
zones,
|
|
7147
|
+
};
|
|
7148
|
+
for (const { handlerName, handler } of handlers) {
|
|
7149
|
+
const handlerData = copiedData[handlerName];
|
|
7150
|
+
if (!handlerData) {
|
|
7151
|
+
continue;
|
|
7152
|
+
}
|
|
7153
|
+
const currentTarget = handler.getPasteTarget(sheetId, zones, handlerData, options);
|
|
7154
|
+
if (currentTarget.figureId) {
|
|
7155
|
+
target.figureId = currentTarget.figureId;
|
|
7156
|
+
}
|
|
7157
|
+
for (const targetZone of currentTarget.zones) {
|
|
7158
|
+
selectedZones.push(targetZone);
|
|
7159
|
+
if (zone === undefined) {
|
|
7160
|
+
zone = targetZone;
|
|
7161
|
+
continue;
|
|
7162
|
+
}
|
|
7163
|
+
zone = union(zone, targetZone);
|
|
7164
|
+
}
|
|
7165
|
+
}
|
|
7166
|
+
return {
|
|
7167
|
+
target,
|
|
7168
|
+
zone,
|
|
7169
|
+
selectedZones,
|
|
7170
|
+
};
|
|
7171
|
+
}
|
|
7172
|
+
/**
|
|
7173
|
+
* Updates the selection after a paste operation.
|
|
7174
|
+
*/
|
|
7175
|
+
const selectPastedZone = (selection, sourceZones, pastedZones) => {
|
|
7176
|
+
const anchorCell = {
|
|
7177
|
+
col: sourceZones[0].left,
|
|
7178
|
+
row: sourceZones[0].top,
|
|
7179
|
+
};
|
|
7180
|
+
selection.getBackToDefault();
|
|
7181
|
+
selection.selectZone({ cell: anchorCell, zone: union(...pastedZones) }, { scrollIntoView: false });
|
|
7182
|
+
};
|
|
7125
7183
|
|
|
7126
7184
|
class ClipboardHandler {
|
|
7127
7185
|
getters;
|
|
@@ -23039,7 +23097,7 @@ class AbstractComposerStore extends SpreadsheetStore {
|
|
|
23039
23097
|
}
|
|
23040
23098
|
captureSelection(zone, col, row) {
|
|
23041
23099
|
this.model.selection.capture(this, {
|
|
23042
|
-
cell: { col: col
|
|
23100
|
+
cell: { col: col ?? zone.left, row: row ?? zone.right },
|
|
23043
23101
|
zone,
|
|
23044
23102
|
}, {
|
|
23045
23103
|
handleEvent: this.handleEvent.bind(this),
|
|
@@ -45800,6 +45858,9 @@ class ConditionalFormattingPanel extends owl.Component {
|
|
|
45800
45858
|
this.switchToList();
|
|
45801
45859
|
}
|
|
45802
45860
|
}
|
|
45861
|
+
else if (!this.editedCF) {
|
|
45862
|
+
this.switchToList();
|
|
45863
|
+
}
|
|
45803
45864
|
});
|
|
45804
45865
|
}
|
|
45805
45866
|
get conditionalFormats() {
|
|
@@ -49823,7 +49884,7 @@ class SpreadsheetPivot {
|
|
|
49823
49884
|
}
|
|
49824
49885
|
getTypeFromZone(sheetId, zone) {
|
|
49825
49886
|
const cells = this.getters.getEvaluatedCellsInZone(sheetId, zone);
|
|
49826
|
-
const nonEmptyCells = cells.filter((cell) => cell.type
|
|
49887
|
+
const nonEmptyCells = cells.filter((cell) => !(cell.type === CellValueType.empty || cell.value === ""));
|
|
49827
49888
|
if (nonEmptyCells.length === 0) {
|
|
49828
49889
|
return "integer";
|
|
49829
49890
|
}
|
|
@@ -53540,15 +53601,16 @@ class GridAddRowsFooter extends owl.Component {
|
|
|
53540
53601
|
}
|
|
53541
53602
|
}
|
|
53542
53603
|
|
|
53604
|
+
const PAINT_FORMAT_HANDLER_KEYS = [
|
|
53605
|
+
"cell",
|
|
53606
|
+
"border",
|
|
53607
|
+
"table",
|
|
53608
|
+
"conditionalFormat",
|
|
53609
|
+
"merge",
|
|
53610
|
+
];
|
|
53543
53611
|
class PaintFormatStore extends SpreadsheetStore {
|
|
53544
53612
|
mutators = ["activate", "cancel", "pasteFormat"];
|
|
53545
53613
|
highlightStore = this.get(HighlightStore);
|
|
53546
|
-
clipboardHandlers = [
|
|
53547
|
-
new CellClipboardHandler(this.getters, this.model.dispatch),
|
|
53548
|
-
new BorderClipboardHandler(this.getters, this.model.dispatch),
|
|
53549
|
-
new TableClipboardHandler(this.getters, this.model.dispatch),
|
|
53550
|
-
new ConditionalFormatClipboardHandler(this.getters, this.model.dispatch),
|
|
53551
|
-
];
|
|
53552
53614
|
status = "inactive";
|
|
53553
53615
|
copiedData;
|
|
53554
53616
|
constructor(get) {
|
|
@@ -53579,24 +53641,38 @@ class PaintFormatStore extends SpreadsheetStore {
|
|
|
53579
53641
|
get isActive() {
|
|
53580
53642
|
return this.status !== "inactive";
|
|
53581
53643
|
}
|
|
53644
|
+
get clipboardHandlers() {
|
|
53645
|
+
return PAINT_FORMAT_HANDLER_KEYS.map((handlerName) => {
|
|
53646
|
+
const HandlerClass = clipboardHandlersRegistries.cellHandlers.get(handlerName);
|
|
53647
|
+
return {
|
|
53648
|
+
handlerName,
|
|
53649
|
+
handler: new HandlerClass(this.getters, this.model.dispatch),
|
|
53650
|
+
};
|
|
53651
|
+
});
|
|
53652
|
+
}
|
|
53582
53653
|
copyFormats() {
|
|
53583
53654
|
const sheetId = this.getters.getActiveSheetId();
|
|
53584
53655
|
const zones = this.getters.getSelectedZones();
|
|
53585
|
-
const copiedData = {};
|
|
53586
|
-
for (const handler of this.clipboardHandlers) {
|
|
53587
|
-
|
|
53656
|
+
const copiedData = { zones, sheetId };
|
|
53657
|
+
for (const { handlerName, handler } of this.clipboardHandlers) {
|
|
53658
|
+
const handlerResult = handler.copy(getClipboardDataPositions(sheetId, zones), false);
|
|
53659
|
+
if (handlerResult !== undefined) {
|
|
53660
|
+
copiedData[handlerName] = handlerResult;
|
|
53661
|
+
}
|
|
53588
53662
|
}
|
|
53589
53663
|
return copiedData;
|
|
53590
53664
|
}
|
|
53591
53665
|
paintFormat(sheetId, target) {
|
|
53592
|
-
if (this.copiedData) {
|
|
53593
|
-
|
|
53594
|
-
handler.paste({ zones: target, sheetId }, this.copiedData, {
|
|
53595
|
-
isCutOperation: false,
|
|
53596
|
-
pasteOption: "onlyFormat",
|
|
53597
|
-
});
|
|
53598
|
-
}
|
|
53666
|
+
if (!this.copiedData) {
|
|
53667
|
+
return;
|
|
53599
53668
|
}
|
|
53669
|
+
const options = {
|
|
53670
|
+
isCutOperation: false,
|
|
53671
|
+
pasteOption: "onlyFormat",
|
|
53672
|
+
};
|
|
53673
|
+
const { target: pasteTarget, selectedZones } = getPasteTargetFromHandlers(sheetId, target, this.copiedData, this.clipboardHandlers, options);
|
|
53674
|
+
applyClipboardHandlersPaste(this.clipboardHandlers, this.copiedData, pasteTarget, options);
|
|
53675
|
+
selectPastedZone(this.model.selection, target, selectedZones);
|
|
53600
53676
|
if (this.status === "oneOff") {
|
|
53601
53677
|
this.cancel();
|
|
53602
53678
|
}
|
|
@@ -53643,12 +53719,8 @@ class HoveredTableStore extends SpreadsheetStore {
|
|
|
53643
53719
|
this.row = undefined;
|
|
53644
53720
|
}
|
|
53645
53721
|
computeOverlay() {
|
|
53646
|
-
if (!this.getters.isDashboard()) {
|
|
53647
|
-
return;
|
|
53648
|
-
}
|
|
53649
53722
|
this.overlayColors = new PositionMap();
|
|
53650
|
-
const col = this
|
|
53651
|
-
const row = this.row;
|
|
53723
|
+
const { col, row } = this;
|
|
53652
53724
|
if (col === undefined || row === undefined) {
|
|
53653
53725
|
return;
|
|
53654
53726
|
}
|
|
@@ -53657,9 +53729,16 @@ class HoveredTableStore extends SpreadsheetStore {
|
|
|
53657
53729
|
if (!table) {
|
|
53658
53730
|
return;
|
|
53659
53731
|
}
|
|
53660
|
-
const { left, right } = table.range.zone;
|
|
53661
|
-
|
|
53662
|
-
|
|
53732
|
+
const { left, right, top } = table.range.zone;
|
|
53733
|
+
const isTableHeader = row < top + table.config.numberOfHeaders;
|
|
53734
|
+
const doesTableRowHaveContent = range(left, right + 1).some((col) => {
|
|
53735
|
+
return (!this.getters.isColHidden(sheetId, col) &&
|
|
53736
|
+
this.getters.getEvaluatedCell({ sheetId, col, row }).formattedValue);
|
|
53737
|
+
});
|
|
53738
|
+
if (!isTableHeader && doesTableRowHaveContent) {
|
|
53739
|
+
for (let col = left; col <= right; col++) {
|
|
53740
|
+
this.overlayColors.set({ sheetId, col, row }, TABLE_HOVER_BACKGROUND_COLOR);
|
|
53741
|
+
}
|
|
53663
53742
|
}
|
|
53664
53743
|
}
|
|
53665
53744
|
}
|
|
@@ -59006,7 +59085,7 @@ class DataValidationPlugin extends CorePlugin {
|
|
|
59006
59085
|
else if (newRule.criterion.type === "isValueInList") {
|
|
59007
59086
|
newRule.criterion.values = Array.from(new Set(newRule.criterion.values));
|
|
59008
59087
|
}
|
|
59009
|
-
const adaptedRules = this.removeRangesFromRules(sheetId, newRule.ranges, rules);
|
|
59088
|
+
const adaptedRules = this.removeRangesFromRules(sheetId, newRule.ranges, rules, newRule.id);
|
|
59010
59089
|
const ruleIndex = adaptedRules.findIndex((rule) => rule.id === newRule.id);
|
|
59011
59090
|
if (ruleIndex !== -1) {
|
|
59012
59091
|
adaptedRules[ruleIndex] = newRule;
|
|
@@ -59016,9 +59095,12 @@ class DataValidationPlugin extends CorePlugin {
|
|
|
59016
59095
|
this.history.update("rules", sheetId, [...adaptedRules, newRule]);
|
|
59017
59096
|
}
|
|
59018
59097
|
}
|
|
59019
|
-
removeRangesFromRules(sheetId, ranges, rules) {
|
|
59098
|
+
removeRangesFromRules(sheetId, ranges, rules, editingRuleId) {
|
|
59020
59099
|
rules = deepCopy(rules);
|
|
59021
59100
|
for (const rule of rules) {
|
|
59101
|
+
if (rule.id === editingRuleId) {
|
|
59102
|
+
continue; // Skip the rule being edited to preserve its place in the list
|
|
59103
|
+
}
|
|
59022
59104
|
rule.ranges = this.getters.recomputeRanges(rule.ranges, ranges);
|
|
59023
59105
|
}
|
|
59024
59106
|
return rules.filter((rule) => rule.ranges.length > 0);
|
|
@@ -70846,49 +70928,17 @@ class ClipboardPlugin extends UIPlugin {
|
|
|
70846
70928
|
if (!copiedData) {
|
|
70847
70929
|
return;
|
|
70848
70930
|
}
|
|
70849
|
-
let zone = undefined;
|
|
70850
|
-
let selectedZones = [];
|
|
70851
70931
|
const sheetId = this.getters.getActiveSheetId();
|
|
70852
|
-
let target = {
|
|
70853
|
-
sheetId,
|
|
70854
|
-
zones,
|
|
70855
|
-
};
|
|
70856
70932
|
const handlers = this.selectClipboardHandlers(copiedData);
|
|
70857
|
-
|
|
70858
|
-
const handlerData = copiedData[handlerName];
|
|
70859
|
-
if (!handlerData) {
|
|
70860
|
-
continue;
|
|
70861
|
-
}
|
|
70862
|
-
const currentTarget = handler.getPasteTarget(sheetId, zones, handlerData, options);
|
|
70863
|
-
if (currentTarget.figureId) {
|
|
70864
|
-
target.figureId = currentTarget.figureId;
|
|
70865
|
-
}
|
|
70866
|
-
for (const targetZone of currentTarget.zones) {
|
|
70867
|
-
selectedZones.push(targetZone);
|
|
70868
|
-
if (zone === undefined) {
|
|
70869
|
-
zone = targetZone;
|
|
70870
|
-
continue;
|
|
70871
|
-
}
|
|
70872
|
-
zone = union(zone, targetZone);
|
|
70873
|
-
}
|
|
70874
|
-
}
|
|
70933
|
+
const { target, zone, selectedZones } = getPasteTargetFromHandlers(sheetId, zones, copiedData, handlers, options);
|
|
70875
70934
|
if (zone !== undefined) {
|
|
70876
|
-
this.addMissingDimensions(
|
|
70935
|
+
this.addMissingDimensions(sheetId, zone.right - zone.left + 1, zone.bottom - zone.top + 1, zone.left, zone.top);
|
|
70877
70936
|
}
|
|
70878
|
-
handlers
|
|
70879
|
-
const handlerData = copiedData[handlerName];
|
|
70880
|
-
if (handlerData) {
|
|
70881
|
-
handler.paste(target, handlerData, options);
|
|
70882
|
-
}
|
|
70883
|
-
});
|
|
70937
|
+
applyClipboardHandlersPaste(handlers, copiedData, target, options);
|
|
70884
70938
|
if (!options?.selectTarget) {
|
|
70885
70939
|
return;
|
|
70886
70940
|
}
|
|
70887
|
-
|
|
70888
|
-
const col = selection.left;
|
|
70889
|
-
const row = selection.top;
|
|
70890
|
-
this.selection.getBackToDefault();
|
|
70891
|
-
this.selection.selectZone({ cell: { col, row }, zone: union(...selectedZones) }, { scrollIntoView: false });
|
|
70941
|
+
selectPastedZone(this.selection, zones, selectedZones);
|
|
70892
70942
|
}
|
|
70893
70943
|
/**
|
|
70894
70944
|
* Add columns and/or rows to ensure that col + width and row + height are still
|
|
@@ -77295,26 +77345,28 @@ class SelectionStreamProcessorImpl {
|
|
|
77295
77345
|
bottom: Math.min(this.getters.getNumberRows(sheetId) - 1, bottom),
|
|
77296
77346
|
};
|
|
77297
77347
|
};
|
|
77298
|
-
const {
|
|
77348
|
+
const { cell: refCell, zone: refZone } = this.getReferenceAnchor();
|
|
77349
|
+
const { col: refCol, row: refRow } = refCell;
|
|
77299
77350
|
// check if we can shrink selection
|
|
77300
77351
|
let n = 0;
|
|
77301
77352
|
while (result !== null) {
|
|
77302
77353
|
n++;
|
|
77303
77354
|
if (deltaCol < 0) {
|
|
77304
77355
|
const newRight = this.getNextAvailableCol(deltaCol, right - (n - 1), refRow);
|
|
77305
|
-
result =
|
|
77356
|
+
result = refZone.right <= right - n ? expand({ top, left, bottom, right: newRight }) : null;
|
|
77306
77357
|
}
|
|
77307
77358
|
if (deltaCol > 0) {
|
|
77308
77359
|
const newLeft = this.getNextAvailableCol(deltaCol, left + (n - 1), refRow);
|
|
77309
|
-
result = left + n <=
|
|
77360
|
+
result = left + n <= refZone.left ? expand({ top, left: newLeft, bottom, right }) : null;
|
|
77310
77361
|
}
|
|
77311
77362
|
if (deltaRow < 0) {
|
|
77312
77363
|
const newBottom = this.getNextAvailableRow(deltaRow, refCol, bottom - (n - 1));
|
|
77313
|
-
result =
|
|
77364
|
+
result =
|
|
77365
|
+
refZone.bottom <= bottom - n ? expand({ top, left, bottom: newBottom, right }) : null;
|
|
77314
77366
|
}
|
|
77315
77367
|
if (deltaRow > 0) {
|
|
77316
77368
|
const newTop = this.getNextAvailableRow(deltaRow, refCol, top + (n - 1));
|
|
77317
|
-
result = top + n <=
|
|
77369
|
+
result = top + n <= refZone.top ? expand({ top: newTop, left, bottom, right }) : null;
|
|
77318
77370
|
}
|
|
77319
77371
|
result = result ? reorderZone(result) : result;
|
|
77320
77372
|
if (result && !isEqual(result, anchor.zone)) {
|
|
@@ -77544,18 +77596,26 @@ class SelectionStreamProcessorImpl {
|
|
|
77544
77596
|
* If the anchor is hidden, browses from left to right and top to bottom to
|
|
77545
77597
|
* find a visible cell.
|
|
77546
77598
|
*/
|
|
77547
|
-
|
|
77599
|
+
getReferenceAnchor() {
|
|
77548
77600
|
const sheetId = this.getters.getActiveSheetId();
|
|
77549
77601
|
const anchor = this.anchor;
|
|
77550
77602
|
const { left, right, top, bottom } = anchor.zone;
|
|
77551
77603
|
const { col: anchorCol, row: anchorRow } = anchor.cell;
|
|
77604
|
+
const col = this.getters.isColHidden(sheetId, anchorCol)
|
|
77605
|
+
? this.getters.findVisibleHeader(sheetId, "COL", left, right) || anchorCol
|
|
77606
|
+
: anchorCol;
|
|
77607
|
+
const row = this.getters.isRowHidden(sheetId, anchorRow)
|
|
77608
|
+
? this.getters.findVisibleHeader(sheetId, "ROW", top, bottom) || anchorRow
|
|
77609
|
+
: anchorRow;
|
|
77610
|
+
const zone = this.getters.expandZone(sheetId, {
|
|
77611
|
+
left: col,
|
|
77612
|
+
right: col,
|
|
77613
|
+
top: row,
|
|
77614
|
+
bottom: row,
|
|
77615
|
+
});
|
|
77552
77616
|
return {
|
|
77553
|
-
|
|
77554
|
-
|
|
77555
|
-
: anchorCol,
|
|
77556
|
-
row: this.getters.isRowHidden(sheetId, anchorRow)
|
|
77557
|
-
? this.getters.findVisibleHeader(sheetId, "ROW", top, bottom) || anchorRow
|
|
77558
|
-
: anchorRow,
|
|
77617
|
+
cell: { col, row },
|
|
77618
|
+
zone,
|
|
77559
77619
|
};
|
|
77560
77620
|
}
|
|
77561
77621
|
deltaToTarget(position, direction, step) {
|
|
@@ -80711,6 +80771,6 @@ exports.tokenColors = tokenColors;
|
|
|
80711
80771
|
exports.tokenize = tokenize;
|
|
80712
80772
|
|
|
80713
80773
|
|
|
80714
|
-
__info__.version = "18.3.
|
|
80715
|
-
__info__.date = "2025-06-
|
|
80716
|
-
__info__.hash = "
|
|
80774
|
+
__info__.version = "18.3.11";
|
|
80775
|
+
__info__.date = "2025-06-27T09:13:07.206Z";
|
|
80776
|
+
__info__.hash = "460d5d0";
|
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -2102,13 +2102,6 @@ declare class UIPlugin<State = any> extends BasePlugin<State, Command> {
|
|
|
2102
2102
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
2103
2103
|
}
|
|
2104
2104
|
|
|
2105
|
-
type MinimalClipboardData = {
|
|
2106
|
-
sheetId?: UID;
|
|
2107
|
-
cells?: ClipboardCell[][];
|
|
2108
|
-
zones?: Zone[];
|
|
2109
|
-
figureId?: UID;
|
|
2110
|
-
[key: string]: unknown;
|
|
2111
|
-
};
|
|
2112
2105
|
interface SpreadsheetClipboardData extends MinimalClipboardData {
|
|
2113
2106
|
version?: string;
|
|
2114
2107
|
clipboardId?: string;
|
|
@@ -2582,6 +2575,13 @@ type ClipboardPasteTarget = {
|
|
|
2582
2575
|
zones: Zone[];
|
|
2583
2576
|
figureId?: UID;
|
|
2584
2577
|
};
|
|
2578
|
+
type MinimalClipboardData = {
|
|
2579
|
+
sheetId?: UID;
|
|
2580
|
+
cells?: ClipboardCell[][];
|
|
2581
|
+
zones?: Zone[];
|
|
2582
|
+
figureId?: UID;
|
|
2583
|
+
[key: string]: unknown;
|
|
2584
|
+
};
|
|
2585
2585
|
|
|
2586
2586
|
/**
|
|
2587
2587
|
* There are two kinds of commands: CoreCommands and LocalCommands
|
|
@@ -12595,4 +12595,4 @@ declare const chartHelpers: {
|
|
|
12595
12595
|
WaterfallChart: typeof WaterfallChart;
|
|
12596
12596
|
};
|
|
12597
12597
|
|
|
12598
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, 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, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, 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, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
12598
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, 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, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, 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, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|