@odoo/o-spreadsheet 18.0.43 → 18.0.45
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 +84 -47
- package/dist/o-spreadsheet.d.ts +4 -3
- package/dist/o-spreadsheet.esm.js +84 -47
- package/dist/o-spreadsheet.iife.js +84 -47
- package/dist/o-spreadsheet.iife.min.js +7 -7
- package/dist/o_spreadsheet.xml +10 -7
- package/package.json +15 -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.0.
|
|
6
|
-
* @date 2025-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.0.45
|
|
6
|
+
* @date 2025-09-19T07:24:19.143Z
|
|
7
|
+
* @hash 54e799a
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -856,8 +856,19 @@ function memoize(func) {
|
|
|
856
856
|
},
|
|
857
857
|
}[funcName];
|
|
858
858
|
}
|
|
859
|
+
/**
|
|
860
|
+
* Removes the specified indexes from the array.
|
|
861
|
+
* Sparse (empty) elements are transformed to undefined (unless their index is explicitly removed).
|
|
862
|
+
*/
|
|
859
863
|
function removeIndexesFromArray(array, indexes) {
|
|
860
|
-
|
|
864
|
+
const toRemove = new Set(indexes);
|
|
865
|
+
const newArray = [];
|
|
866
|
+
for (let i = 0; i < array.length; i++) {
|
|
867
|
+
if (!toRemove.has(i)) {
|
|
868
|
+
newArray.push(array[i]);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
return newArray;
|
|
861
872
|
}
|
|
862
873
|
function insertItemsAtIndex(array, items, index) {
|
|
863
874
|
const newArray = [...array];
|
|
@@ -6741,7 +6752,7 @@ class ClipboardHandler {
|
|
|
6741
6752
|
this.getters = getters;
|
|
6742
6753
|
this.dispatch = dispatch;
|
|
6743
6754
|
}
|
|
6744
|
-
copy(data) {
|
|
6755
|
+
copy(data, mode = "copyPaste") {
|
|
6745
6756
|
return;
|
|
6746
6757
|
}
|
|
6747
6758
|
paste(target, clippedContent, options) { }
|
|
@@ -6760,7 +6771,7 @@ class ClipboardHandler {
|
|
|
6760
6771
|
}
|
|
6761
6772
|
|
|
6762
6773
|
class AbstractCellClipboardHandler extends ClipboardHandler {
|
|
6763
|
-
copy(data) {
|
|
6774
|
+
copy(data, mode = "copyPaste") {
|
|
6764
6775
|
return;
|
|
6765
6776
|
}
|
|
6766
6777
|
pasteFromCopy(sheetId, target, content, options) {
|
|
@@ -8429,7 +8440,7 @@ class CellClipboardHandler extends AbstractCellClipboardHandler {
|
|
|
8429
8440
|
}
|
|
8430
8441
|
return "Success" /* CommandResult.Success */;
|
|
8431
8442
|
}
|
|
8432
|
-
copy(data) {
|
|
8443
|
+
copy(data, mode = "copyPaste") {
|
|
8433
8444
|
const sheetId = data.sheetId;
|
|
8434
8445
|
const { clippedZones, rowsIndexes, columnsIndexes } = data;
|
|
8435
8446
|
const clippedCells = [];
|
|
@@ -8442,7 +8453,7 @@ class CellClipboardHandler extends AbstractCellClipboardHandler {
|
|
|
8442
8453
|
const evaluatedCell = this.getters.getEvaluatedCell(position);
|
|
8443
8454
|
const pivotId = this.getters.getPivotIdFromPosition(position);
|
|
8444
8455
|
const spreader = this.getters.getArrayFormulaSpreadingOn(position);
|
|
8445
|
-
if (pivotId && spreader) {
|
|
8456
|
+
if (mode !== "shiftCells" && pivotId && spreader) {
|
|
8446
8457
|
const pivotZone = this.getters.getSpreadZone(spreader);
|
|
8447
8458
|
if ((!deepEquals(spreader, position) || !isCopyingOneCell) &&
|
|
8448
8459
|
pivotZone &&
|
|
@@ -8460,7 +8471,7 @@ class CellClipboardHandler extends AbstractCellClipboardHandler {
|
|
|
8460
8471
|
};
|
|
8461
8472
|
}
|
|
8462
8473
|
}
|
|
8463
|
-
else {
|
|
8474
|
+
else if (mode !== "shiftCells") {
|
|
8464
8475
|
if (spreader && !deepEquals(spreader, position)) {
|
|
8465
8476
|
const isSpreaderCopied = rowsIndexes.includes(spreader.row) && columnsIndexes.includes(spreader.col);
|
|
8466
8477
|
const content = isSpreaderCopied
|
|
@@ -9153,7 +9164,7 @@ class SheetClipboardHandler extends AbstractCellClipboardHandler {
|
|
|
9153
9164
|
}
|
|
9154
9165
|
|
|
9155
9166
|
class TableClipboardHandler extends AbstractCellClipboardHandler {
|
|
9156
|
-
copy(data) {
|
|
9167
|
+
copy(data, mode = "copyPaste") {
|
|
9157
9168
|
const sheetId = data.sheetId;
|
|
9158
9169
|
const { rowsIndexes, columnsIndexes, zones } = data;
|
|
9159
9170
|
const copiedTablesIds = new Set();
|
|
@@ -9187,11 +9198,13 @@ class TableClipboardHandler extends AbstractCellClipboardHandler {
|
|
|
9187
9198
|
type: coreTable.type,
|
|
9188
9199
|
};
|
|
9189
9200
|
}
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9201
|
+
if (mode !== "shiftCells") {
|
|
9202
|
+
tableCellsInRow.push({
|
|
9203
|
+
table: copiedTable,
|
|
9204
|
+
style: this.getTableStyleToCopy(position),
|
|
9205
|
+
isWholeTableCopied: copiedTablesIds.has(table.id),
|
|
9206
|
+
});
|
|
9207
|
+
}
|
|
9195
9208
|
}
|
|
9196
9209
|
}
|
|
9197
9210
|
return {
|
|
@@ -15097,8 +15110,9 @@ function interactiveSortSelection(env, sheetId, anchor, zone, sortDirection) {
|
|
|
15097
15110
|
}
|
|
15098
15111
|
|
|
15099
15112
|
function sortMatrix(matrix, locale, ...criteria) {
|
|
15100
|
-
for (
|
|
15101
|
-
|
|
15113
|
+
for (let i = 0; i < criteria.length; i++) {
|
|
15114
|
+
const param = i % 2 === 0 ? "sort_column" : "is_ascending";
|
|
15115
|
+
assert(() => criteria[i] !== undefined, _t("Value for parameter %s is missing in [[FUNCTION_NAME]].", param));
|
|
15102
15116
|
}
|
|
15103
15117
|
const sortingOrders = [];
|
|
15104
15118
|
const sortColumns = [];
|
|
@@ -20789,7 +20803,7 @@ const SUPPORTED_HORIZONTAL_ALIGNMENTS = [
|
|
|
20789
20803
|
];
|
|
20790
20804
|
const SUPPORTED_VERTICAL_ALIGNMENTS = ["top", "center", "bottom"];
|
|
20791
20805
|
const SUPPORTED_FONTS = ["Arial"];
|
|
20792
|
-
const SUPPORTED_FILL_PATTERNS = ["solid"];
|
|
20806
|
+
const SUPPORTED_FILL_PATTERNS = ["solid", "none"];
|
|
20793
20807
|
const SUPPORTED_CF_TYPES = [
|
|
20794
20808
|
"expression",
|
|
20795
20809
|
"cellIs",
|
|
@@ -20974,7 +20988,7 @@ const SUBTOTAL_FUNCTION_CONVERSION_MAP = {
|
|
|
20974
20988
|
};
|
|
20975
20989
|
/** Mapping between Excel format indexes (see XLSX_FORMAT_MAP) and some supported formats */
|
|
20976
20990
|
const XLSX_FORMATS_CONVERSION_MAP = {
|
|
20977
|
-
0: "",
|
|
20991
|
+
0: "General",
|
|
20978
20992
|
1: "0",
|
|
20979
20993
|
2: "0.00",
|
|
20980
20994
|
3: "#,#00",
|
|
@@ -21300,11 +21314,11 @@ const XLSX_DATE_FORMAT_REGEX = /^(yy|yyyy|m{1,5}|d{1,4}|h{1,2}|s{1,2}|am\/pm|a\/
|
|
|
21300
21314
|
* Excel format are defined in openXML §18.8.31
|
|
21301
21315
|
*/
|
|
21302
21316
|
function convertXlsxFormat(numFmtId, formats, warningManager) {
|
|
21303
|
-
if (numFmtId === 0) {
|
|
21304
|
-
return undefined;
|
|
21305
|
-
}
|
|
21306
21317
|
// Format is either defined in the imported data, or the formatId is defined in openXML §18.8.30
|
|
21307
21318
|
let format = XLSX_FORMATS_CONVERSION_MAP[numFmtId] || formats.find((f) => f.id === numFmtId)?.format;
|
|
21319
|
+
if (format === "General") {
|
|
21320
|
+
return undefined;
|
|
21321
|
+
}
|
|
21308
21322
|
if (format) {
|
|
21309
21323
|
try {
|
|
21310
21324
|
let convertedFormat = format.replace(/\[(.*)-[A-Z0-9]{3}\]/g, "[$1]"); // remove currency and locale/date system/number system info (ECMA §18.8.31)
|
|
@@ -24262,10 +24276,11 @@ class XlsxSheetExtractor extends XlsxBaseExtractor {
|
|
|
24262
24276
|
});
|
|
24263
24277
|
}
|
|
24264
24278
|
extractRows(worksheet) {
|
|
24279
|
+
const spilledCells = new Set();
|
|
24265
24280
|
return this.mapOnElements({ parent: worksheet, query: "sheetData row" }, (rowElement) => {
|
|
24266
24281
|
return {
|
|
24267
24282
|
index: this.extractAttr(rowElement, "r", { required: true })?.asNum(),
|
|
24268
|
-
cells: this.extractCells(rowElement),
|
|
24283
|
+
cells: this.extractCells(rowElement, spilledCells),
|
|
24269
24284
|
height: this.extractAttr(rowElement, "ht")?.asNum(),
|
|
24270
24285
|
customHeight: this.extractAttr(rowElement, "customHeight")?.asBool(),
|
|
24271
24286
|
hidden: this.extractAttr(rowElement, "hidden")?.asBool(),
|
|
@@ -24275,14 +24290,26 @@ class XlsxSheetExtractor extends XlsxBaseExtractor {
|
|
|
24275
24290
|
};
|
|
24276
24291
|
});
|
|
24277
24292
|
}
|
|
24278
|
-
extractCells(row) {
|
|
24293
|
+
extractCells(row, spilledCells) {
|
|
24279
24294
|
return this.mapOnElements({ parent: row, query: "c" }, (cellElement) => {
|
|
24295
|
+
const xc = this.extractAttr(cellElement, "r", { required: true })?.asString();
|
|
24296
|
+
const formula = this.extractCellFormula(cellElement);
|
|
24297
|
+
if (formula?.ref && formula.sharedIndex === undefined) {
|
|
24298
|
+
const zone = toZone(formula.ref);
|
|
24299
|
+
for (const { col, row } of positions(zone)) {
|
|
24300
|
+
const followerXc = toXC(col, row);
|
|
24301
|
+
if (followerXc !== xc) {
|
|
24302
|
+
spilledCells.add(followerXc);
|
|
24303
|
+
}
|
|
24304
|
+
}
|
|
24305
|
+
}
|
|
24306
|
+
const isSpilled = spilledCells.has(xc);
|
|
24280
24307
|
return {
|
|
24281
|
-
xc
|
|
24308
|
+
xc,
|
|
24282
24309
|
styleIndex: this.extractAttr(cellElement, "s")?.asNum(),
|
|
24283
24310
|
type: CELL_TYPE_CONVERSION_MAP[this.extractAttr(cellElement, "t", { default: "n" })?.asString()],
|
|
24284
|
-
value: this.extractChildTextContent(cellElement, "v"),
|
|
24285
|
-
formula:
|
|
24311
|
+
value: isSpilled ? undefined : this.extractChildTextContent(cellElement, "v") ?? undefined,
|
|
24312
|
+
formula: isSpilled ? undefined : formula,
|
|
24286
24313
|
};
|
|
24287
24314
|
});
|
|
24288
24315
|
}
|
|
@@ -24290,11 +24317,14 @@ class XlsxSheetExtractor extends XlsxBaseExtractor {
|
|
|
24290
24317
|
const formulaElement = this.querySelector(cellElement, "f");
|
|
24291
24318
|
if (!formulaElement)
|
|
24292
24319
|
return undefined;
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
-
|
|
24296
|
-
|
|
24297
|
-
|
|
24320
|
+
const content = this.extractTextContent(formulaElement);
|
|
24321
|
+
const sharedIndex = this.extractAttr(formulaElement, "si")?.asNum();
|
|
24322
|
+
const ref = this.extractAttr(formulaElement, "ref")?.asString();
|
|
24323
|
+
// This is the case of spilled cells of array formulas where <f> is empty
|
|
24324
|
+
if ((content === undefined || content.trim() === "") && sharedIndex === undefined) {
|
|
24325
|
+
return undefined;
|
|
24326
|
+
}
|
|
24327
|
+
return { content, sharedIndex, ref };
|
|
24298
24328
|
}
|
|
24299
24329
|
extractHyperLinks(worksheet) {
|
|
24300
24330
|
return this.mapOnElements({ parent: worksheet, query: "hyperlink" }, (linkElement) => {
|
|
@@ -43447,7 +43477,7 @@ class PivotMeasureEditor extends owl.Component {
|
|
|
43447
43477
|
});
|
|
43448
43478
|
}
|
|
43449
43479
|
get isCalculatedMeasureInvalid() {
|
|
43450
|
-
return
|
|
43480
|
+
return compile(this.props.measure.computedBy?.formula ?? "").isBadExpression;
|
|
43451
43481
|
}
|
|
43452
43482
|
}
|
|
43453
43483
|
|
|
@@ -43642,12 +43672,13 @@ class PivotLayoutConfigurator extends owl.Component {
|
|
|
43642
43672
|
addCalculatedMeasure() {
|
|
43643
43673
|
const { measures } = this.props.definition;
|
|
43644
43674
|
const measureName = this.env.model.getters.generateNewCalculatedMeasureName(measures);
|
|
43675
|
+
const aggregator = "sum";
|
|
43645
43676
|
this.props.onDimensionsUpdated({
|
|
43646
43677
|
measures: measures.concat([
|
|
43647
43678
|
{
|
|
43648
|
-
id: this.getMeasureId(measureName),
|
|
43679
|
+
id: this.getMeasureId(measureName, aggregator),
|
|
43649
43680
|
fieldName: measureName,
|
|
43650
|
-
aggregator
|
|
43681
|
+
aggregator,
|
|
43651
43682
|
computedBy: {
|
|
43652
43683
|
sheetId: this.env.model.getters.getActiveSheetId(),
|
|
43653
43684
|
formula: "=0",
|
|
@@ -60710,7 +60741,7 @@ function withPivotPresentationLayer (PivotClass) {
|
|
|
60710
60741
|
return { value: 0 };
|
|
60711
60742
|
}
|
|
60712
60743
|
const { columns, rows } = super.definition;
|
|
60713
|
-
if (columns.length + rows.length !== domain.length) {
|
|
60744
|
+
if (measure.aggregator && columns.length + rows.length !== domain.length) {
|
|
60714
60745
|
const values = this.getValuesToAggregate(measure, domain);
|
|
60715
60746
|
const aggregator = AGGREGATORS_FN[measure.aggregator];
|
|
60716
60747
|
if (!aggregator) {
|
|
@@ -60729,11 +60760,17 @@ function withPivotPresentationLayer (PivotClass) {
|
|
|
60729
60760
|
if (columns.find((col) => col.nameWithGranularity === symbolName)) {
|
|
60730
60761
|
const { colDomain } = domainToColRowDomain(this, domain);
|
|
60731
60762
|
const symbolIndex = colDomain.findIndex((node) => node.field === symbolName);
|
|
60763
|
+
if (symbolIndex === -1) {
|
|
60764
|
+
return new NotAvailableError();
|
|
60765
|
+
}
|
|
60732
60766
|
return this.getPivotHeaderValueAndFormat(colDomain.slice(0, symbolIndex + 1));
|
|
60733
60767
|
}
|
|
60734
60768
|
if (rows.find((row) => row.nameWithGranularity === symbolName)) {
|
|
60735
60769
|
const { rowDomain } = domainToColRowDomain(this, domain);
|
|
60736
60770
|
const symbolIndex = rowDomain.findIndex((row) => row.field === symbolName);
|
|
60771
|
+
if (symbolIndex === -1) {
|
|
60772
|
+
return new NotAvailableError();
|
|
60773
|
+
}
|
|
60737
60774
|
return this.getPivotHeaderValueAndFormat(rowDomain.slice(0, symbolIndex + 1));
|
|
60738
60775
|
}
|
|
60739
60776
|
return this.getPivotCellValueAndFormat(symbolName, domain);
|
|
@@ -65168,12 +65205,12 @@ class ClipboardPlugin extends UIPlugin {
|
|
|
65168
65205
|
}
|
|
65169
65206
|
case "INSERT_CELL": {
|
|
65170
65207
|
const { cut, paste } = this.getInsertCellsTargets(cmd.zone, cmd.shiftDimension);
|
|
65171
|
-
const copiedData = this.copy(cut);
|
|
65208
|
+
const copiedData = this.copy(cut, "shiftCells");
|
|
65172
65209
|
return this.isPasteAllowed(paste, copiedData, { isCutOperation: true });
|
|
65173
65210
|
}
|
|
65174
65211
|
case "DELETE_CELL": {
|
|
65175
65212
|
const { cut, paste } = this.getDeleteCellsTargets(cmd.zone, cmd.shiftDimension);
|
|
65176
|
-
const copiedData = this.copy(cut);
|
|
65213
|
+
const copiedData = this.copy(cut, "shiftCells");
|
|
65177
65214
|
return this.isPasteAllowed(paste, copiedData, { isCutOperation: true });
|
|
65178
65215
|
}
|
|
65179
65216
|
}
|
|
@@ -65263,13 +65300,13 @@ class ClipboardPlugin extends UIPlugin {
|
|
|
65263
65300
|
});
|
|
65264
65301
|
break;
|
|
65265
65302
|
}
|
|
65266
|
-
const copiedData = this.copy(cut);
|
|
65303
|
+
const copiedData = this.copy(cut, "shiftCells");
|
|
65267
65304
|
this.paste(paste, copiedData, { isCutOperation: true });
|
|
65268
65305
|
break;
|
|
65269
65306
|
}
|
|
65270
65307
|
case "INSERT_CELL": {
|
|
65271
65308
|
const { cut, paste } = this.getInsertCellsTargets(cmd.zone, cmd.shiftDimension);
|
|
65272
|
-
const copiedData = this.copy(cut);
|
|
65309
|
+
const copiedData = this.copy(cut, "shiftCells");
|
|
65273
65310
|
this.paste(paste, copiedData, { isCutOperation: true });
|
|
65274
65311
|
break;
|
|
65275
65312
|
}
|
|
@@ -65384,11 +65421,11 @@ class ClipboardPlugin extends UIPlugin {
|
|
|
65384
65421
|
}
|
|
65385
65422
|
return false;
|
|
65386
65423
|
}
|
|
65387
|
-
copy(zones) {
|
|
65424
|
+
copy(zones, mode = "copyPaste") {
|
|
65388
65425
|
let copiedData = {};
|
|
65389
65426
|
const clipboardData = this.getClipboardData(zones);
|
|
65390
65427
|
for (const { handlerName, handler } of this.selectClipboardHandlers(clipboardData)) {
|
|
65391
|
-
const data = handler.copy(clipboardData);
|
|
65428
|
+
const data = handler.copy(clipboardData, mode);
|
|
65392
65429
|
copiedData[handlerName] = data;
|
|
65393
65430
|
const minimalKeys = ["sheetId", "cells", "zones", "figureId"];
|
|
65394
65431
|
for (const key of minimalKeys) {
|
|
@@ -66259,7 +66296,7 @@ class GridSelectionPlugin extends UIPlugin {
|
|
|
66259
66296
|
];
|
|
66260
66297
|
for (const Handler of clipboardHandlersRegistries.cellHandlers.getAll()) {
|
|
66261
66298
|
const handler = new Handler(this.getters, this.dispatch);
|
|
66262
|
-
const data = handler.copy(getClipboardDataPositions(sheetId, target));
|
|
66299
|
+
const data = handler.copy(getClipboardDataPositions(sheetId, target), "shiftCells");
|
|
66263
66300
|
if (!data) {
|
|
66264
66301
|
continue;
|
|
66265
66302
|
}
|
|
@@ -73998,7 +74035,7 @@ class Model extends EventBus {
|
|
|
73998
74035
|
handlers = [];
|
|
73999
74036
|
uiHandlers = [];
|
|
74000
74037
|
coreHandlers = [];
|
|
74001
|
-
constructor(data = {}, config = {}, stateUpdateMessages = [], uuidGenerator = new UuidGenerator(), verboseImport =
|
|
74038
|
+
constructor(data = {}, config = {}, stateUpdateMessages = [], uuidGenerator = new UuidGenerator(), verboseImport = false) {
|
|
74002
74039
|
const start = performance.now();
|
|
74003
74040
|
console.debug("##### Model creation #####");
|
|
74004
74041
|
super();
|
|
@@ -74711,6 +74748,6 @@ exports.tokenColors = tokenColors;
|
|
|
74711
74748
|
exports.tokenize = tokenize;
|
|
74712
74749
|
|
|
74713
74750
|
|
|
74714
|
-
__info__.version = "18.0.
|
|
74715
|
-
__info__.date = "2025-09-
|
|
74716
|
-
__info__.hash = "
|
|
74751
|
+
__info__.version = "18.0.45";
|
|
74752
|
+
__info__.date = "2025-09-19T07:24:19.143Z";
|
|
74753
|
+
__info__.hash = "54e799a";
|
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1871,6 +1871,7 @@ interface ClipboardOptions {
|
|
|
1871
1871
|
selectTarget?: boolean;
|
|
1872
1872
|
}
|
|
1873
1873
|
type ClipboardPasteOptions = "onlyFormat" | "asValue";
|
|
1874
|
+
type ClipboardCopyOptions = "copyPaste" | "shiftCells";
|
|
1874
1875
|
type ClipboardOperation = "CUT" | "COPY";
|
|
1875
1876
|
type ClipboardCellData = {
|
|
1876
1877
|
sheetId: UID;
|
|
@@ -6199,7 +6200,7 @@ declare class ClipboardHandler<T> {
|
|
|
6199
6200
|
protected getters: Getters;
|
|
6200
6201
|
protected dispatch: CommandDispatcher["dispatch"];
|
|
6201
6202
|
constructor(getters: Getters, dispatch: CommandDispatcher["dispatch"]);
|
|
6202
|
-
copy(data: ClipboardData): T | undefined;
|
|
6203
|
+
copy(data: ClipboardData, mode?: ClipboardCopyOptions): T | undefined;
|
|
6203
6204
|
paste(target: ClipboardPasteTarget, clippedContent: T, options: ClipboardOptions): void;
|
|
6204
6205
|
isPasteAllowed(sheetId: UID, target: Zone[], content: T, option: ClipboardOptions): CommandResult;
|
|
6205
6206
|
isCutAllowed(data: ClipboardData): CommandResult;
|
|
@@ -6208,7 +6209,7 @@ declare class ClipboardHandler<T> {
|
|
|
6208
6209
|
}
|
|
6209
6210
|
|
|
6210
6211
|
declare class AbstractCellClipboardHandler<T, T1> extends ClipboardHandler<T> {
|
|
6211
|
-
copy(data: ClipboardCellData): T | undefined;
|
|
6212
|
+
copy(data: ClipboardCellData, mode?: ClipboardCopyOptions): T | undefined;
|
|
6212
6213
|
pasteFromCopy(sheetId: UID, target: Zone[], content: T1[][], options?: ClipboardOptions): void;
|
|
6213
6214
|
protected pasteZone(sheetId: UID, col: HeaderIndex, row: HeaderIndex, data: T1[][], clipboardOptions?: ClipboardOptions): void;
|
|
6214
6215
|
}
|
|
@@ -12445,4 +12446,4 @@ declare const constants: {
|
|
|
12445
12446
|
};
|
|
12446
12447
|
};
|
|
12447
12448
|
|
|
12448
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, 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, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, 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, 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, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotStartPresenceTracking, PivotStopPresenceTracking, 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, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$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, 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 };
|
|
12449
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, 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, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, 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, 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, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotStartPresenceTracking, PivotStopPresenceTracking, 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, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$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, 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 };
|