@odoo/o-spreadsheet 17.4.30 → 17.4.31
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 +17 -12
- package/dist/o-spreadsheet.esm.js +17 -12
- package/dist/o-spreadsheet.iife.js +17 -12
- package/dist/o-spreadsheet.iife.min.js +347 -347
- package/dist/o_spreadsheet.xml +3 -3
- package/package.json +1 -1
|
@@ -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 17.4.
|
|
6
|
-
* @date 2025-04-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.31
|
|
6
|
+
* @date 2025-04-18T16:24:47.716Z
|
|
7
|
+
* @hash 7991032
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -5828,6 +5828,12 @@ function tokenizeString(chars) {
|
|
|
5828
5828
|
}
|
|
5829
5829
|
return null;
|
|
5830
5830
|
}
|
|
5831
|
+
/**
|
|
5832
|
+
- \p{L} is for any letter (from any language)
|
|
5833
|
+
- \p{N} is for any number
|
|
5834
|
+
- the u flag at the end is for unicode, which enables the `\p{...}` syntax
|
|
5835
|
+
*/
|
|
5836
|
+
const unicodeSymbolCharRegexp = /\p{L}|\p{N}|_|\.|!|\$/u;
|
|
5831
5837
|
const SYMBOL_CHARS = new Set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.!$");
|
|
5832
5838
|
/**
|
|
5833
5839
|
* A "Symbol" is just basically any word-like element that can appear in a
|
|
@@ -5868,7 +5874,8 @@ function tokenizeSymbol(chars) {
|
|
|
5868
5874
|
};
|
|
5869
5875
|
}
|
|
5870
5876
|
}
|
|
5871
|
-
while (chars.current &&
|
|
5877
|
+
while (chars.current &&
|
|
5878
|
+
(SYMBOL_CHARS.has(chars.current) || chars.current.match(unicodeSymbolCharRegexp))) {
|
|
5872
5879
|
result += chars.shift();
|
|
5873
5880
|
}
|
|
5874
5881
|
if (result.length) {
|
|
@@ -7555,7 +7562,7 @@ function transformZone(zone, executed) {
|
|
|
7555
7562
|
if (executed.type === "ADD_COLUMNS_ROWS") {
|
|
7556
7563
|
return expandZoneOnInsertion(zone, executed.dimension === "COL" ? "left" : "top", executed.base, executed.position, executed.quantity);
|
|
7557
7564
|
}
|
|
7558
|
-
return
|
|
7565
|
+
return zone;
|
|
7559
7566
|
}
|
|
7560
7567
|
function transformRangeData(range, executed) {
|
|
7561
7568
|
const deletedSheet = executed.type === "DELETE_SHEET" && executed.sheetId;
|
|
@@ -57384,10 +57391,8 @@ function mergeTransformation(toTransform, executed) {
|
|
|
57384
57391
|
}
|
|
57385
57392
|
const target = [];
|
|
57386
57393
|
for (const zone1 of toTransform.target) {
|
|
57387
|
-
|
|
57388
|
-
|
|
57389
|
-
target.push({ ...zone1 });
|
|
57390
|
-
}
|
|
57394
|
+
if (executed.target.every((zone2) => !overlap(zone1, zone2))) {
|
|
57395
|
+
target.push(zone1);
|
|
57391
57396
|
}
|
|
57392
57397
|
}
|
|
57393
57398
|
if (target.length) {
|
|
@@ -69376,6 +69381,6 @@ exports.tokenColors = tokenColors;
|
|
|
69376
69381
|
exports.tokenize = tokenize;
|
|
69377
69382
|
|
|
69378
69383
|
|
|
69379
|
-
__info__.version = "17.4.
|
|
69380
|
-
__info__.date = "2025-04-
|
|
69381
|
-
__info__.hash = "
|
|
69384
|
+
__info__.version = "17.4.31";
|
|
69385
|
+
__info__.date = "2025-04-18T16:24:47.716Z";
|
|
69386
|
+
__info__.hash = "7991032";
|
|
@@ -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 17.4.
|
|
6
|
-
* @date 2025-04-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.31
|
|
6
|
+
* @date 2025-04-18T16:24:47.716Z
|
|
7
|
+
* @hash 7991032
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
|
|
@@ -5826,6 +5826,12 @@ function tokenizeString(chars) {
|
|
|
5826
5826
|
}
|
|
5827
5827
|
return null;
|
|
5828
5828
|
}
|
|
5829
|
+
/**
|
|
5830
|
+
- \p{L} is for any letter (from any language)
|
|
5831
|
+
- \p{N} is for any number
|
|
5832
|
+
- the u flag at the end is for unicode, which enables the `\p{...}` syntax
|
|
5833
|
+
*/
|
|
5834
|
+
const unicodeSymbolCharRegexp = /\p{L}|\p{N}|_|\.|!|\$/u;
|
|
5829
5835
|
const SYMBOL_CHARS = new Set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.!$");
|
|
5830
5836
|
/**
|
|
5831
5837
|
* A "Symbol" is just basically any word-like element that can appear in a
|
|
@@ -5866,7 +5872,8 @@ function tokenizeSymbol(chars) {
|
|
|
5866
5872
|
};
|
|
5867
5873
|
}
|
|
5868
5874
|
}
|
|
5869
|
-
while (chars.current &&
|
|
5875
|
+
while (chars.current &&
|
|
5876
|
+
(SYMBOL_CHARS.has(chars.current) || chars.current.match(unicodeSymbolCharRegexp))) {
|
|
5870
5877
|
result += chars.shift();
|
|
5871
5878
|
}
|
|
5872
5879
|
if (result.length) {
|
|
@@ -7553,7 +7560,7 @@ function transformZone(zone, executed) {
|
|
|
7553
7560
|
if (executed.type === "ADD_COLUMNS_ROWS") {
|
|
7554
7561
|
return expandZoneOnInsertion(zone, executed.dimension === "COL" ? "left" : "top", executed.base, executed.position, executed.quantity);
|
|
7555
7562
|
}
|
|
7556
|
-
return
|
|
7563
|
+
return zone;
|
|
7557
7564
|
}
|
|
7558
7565
|
function transformRangeData(range, executed) {
|
|
7559
7566
|
const deletedSheet = executed.type === "DELETE_SHEET" && executed.sheetId;
|
|
@@ -57382,10 +57389,8 @@ function mergeTransformation(toTransform, executed) {
|
|
|
57382
57389
|
}
|
|
57383
57390
|
const target = [];
|
|
57384
57391
|
for (const zone1 of toTransform.target) {
|
|
57385
|
-
|
|
57386
|
-
|
|
57387
|
-
target.push({ ...zone1 });
|
|
57388
|
-
}
|
|
57392
|
+
if (executed.target.every((zone2) => !overlap(zone1, zone2))) {
|
|
57393
|
+
target.push(zone1);
|
|
57389
57394
|
}
|
|
57390
57395
|
}
|
|
57391
57396
|
if (target.length) {
|
|
@@ -69331,6 +69336,6 @@ const constants = {
|
|
|
69331
69336
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
69332
69337
|
|
|
69333
69338
|
|
|
69334
|
-
__info__.version = "17.4.
|
|
69335
|
-
__info__.date = "2025-04-
|
|
69336
|
-
__info__.hash = "
|
|
69339
|
+
__info__.version = "17.4.31";
|
|
69340
|
+
__info__.date = "2025-04-18T16:24:47.716Z";
|
|
69341
|
+
__info__.hash = "7991032";
|
|
@@ -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 17.4.
|
|
6
|
-
* @date 2025-04-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.31
|
|
6
|
+
* @date 2025-04-18T16:24:47.716Z
|
|
7
|
+
* @hash 7991032
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -5827,6 +5827,12 @@
|
|
|
5827
5827
|
}
|
|
5828
5828
|
return null;
|
|
5829
5829
|
}
|
|
5830
|
+
/**
|
|
5831
|
+
- \p{L} is for any letter (from any language)
|
|
5832
|
+
- \p{N} is for any number
|
|
5833
|
+
- the u flag at the end is for unicode, which enables the `\p{...}` syntax
|
|
5834
|
+
*/
|
|
5835
|
+
const unicodeSymbolCharRegexp = /\p{L}|\p{N}|_|\.|!|\$/u;
|
|
5830
5836
|
const SYMBOL_CHARS = new Set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.!$");
|
|
5831
5837
|
/**
|
|
5832
5838
|
* A "Symbol" is just basically any word-like element that can appear in a
|
|
@@ -5867,7 +5873,8 @@
|
|
|
5867
5873
|
};
|
|
5868
5874
|
}
|
|
5869
5875
|
}
|
|
5870
|
-
while (chars.current &&
|
|
5876
|
+
while (chars.current &&
|
|
5877
|
+
(SYMBOL_CHARS.has(chars.current) || chars.current.match(unicodeSymbolCharRegexp))) {
|
|
5871
5878
|
result += chars.shift();
|
|
5872
5879
|
}
|
|
5873
5880
|
if (result.length) {
|
|
@@ -7554,7 +7561,7 @@
|
|
|
7554
7561
|
if (executed.type === "ADD_COLUMNS_ROWS") {
|
|
7555
7562
|
return expandZoneOnInsertion(zone, executed.dimension === "COL" ? "left" : "top", executed.base, executed.position, executed.quantity);
|
|
7556
7563
|
}
|
|
7557
|
-
return
|
|
7564
|
+
return zone;
|
|
7558
7565
|
}
|
|
7559
7566
|
function transformRangeData(range, executed) {
|
|
7560
7567
|
const deletedSheet = executed.type === "DELETE_SHEET" && executed.sheetId;
|
|
@@ -57383,10 +57390,8 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
57383
57390
|
}
|
|
57384
57391
|
const target = [];
|
|
57385
57392
|
for (const zone1 of toTransform.target) {
|
|
57386
|
-
|
|
57387
|
-
|
|
57388
|
-
target.push({ ...zone1 });
|
|
57389
|
-
}
|
|
57393
|
+
if (executed.target.every((zone2) => !overlap(zone1, zone2))) {
|
|
57394
|
+
target.push(zone1);
|
|
57390
57395
|
}
|
|
57391
57396
|
}
|
|
57392
57397
|
if (target.length) {
|
|
@@ -69375,9 +69380,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
69375
69380
|
exports.tokenize = tokenize;
|
|
69376
69381
|
|
|
69377
69382
|
|
|
69378
|
-
__info__.version = "17.4.
|
|
69379
|
-
__info__.date = "2025-04-
|
|
69380
|
-
__info__.hash = "
|
|
69383
|
+
__info__.version = "17.4.31";
|
|
69384
|
+
__info__.date = "2025-04-18T16:24:47.716Z";
|
|
69385
|
+
__info__.hash = "7991032";
|
|
69381
69386
|
|
|
69382
69387
|
|
|
69383
69388
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|