@odoo/o-spreadsheet 16.0.49 → 16.0.51
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.
|
@@ -18725,7 +18725,7 @@ function parse(str) {
|
|
|
18725
18725
|
}
|
|
18726
18726
|
function parseTokens(tokens) {
|
|
18727
18727
|
tokens = tokens.filter((x) => x.type !== "SPACE");
|
|
18728
|
-
if (tokens[0].type === "OPERATOR" && tokens[0].value === "=") {
|
|
18728
|
+
if (tokens[0] && tokens[0].type === "OPERATOR" && tokens[0].value === "=") {
|
|
18729
18729
|
tokens.splice(0, 1);
|
|
18730
18730
|
}
|
|
18731
18731
|
const result = parseExpression(tokens, 0);
|
|
@@ -40673,7 +40673,7 @@ class RangeAdapter {
|
|
|
40673
40673
|
* @param sheetXC the string description of a range, in the form SheetName!XC:XC
|
|
40674
40674
|
*/
|
|
40675
40675
|
getRangeFromSheetXC(defaultSheetId, sheetXC) {
|
|
40676
|
-
if (!rangeReference.test(sheetXC)) {
|
|
40676
|
+
if (!rangeReference.test(sheetXC) || !this.getters.tryGetSheet(defaultSheetId)) {
|
|
40677
40677
|
return new RangeImpl({
|
|
40678
40678
|
sheetId: "",
|
|
40679
40679
|
zone: { left: -1, top: -1, right: -1, bottom: -1 },
|
|
@@ -43441,6 +43441,6 @@ exports.setTranslationMethod = setTranslationMethod;
|
|
|
43441
43441
|
exports.tokenize = tokenize;
|
|
43442
43442
|
|
|
43443
43443
|
|
|
43444
|
-
__info__.version = '16.0.
|
|
43445
|
-
__info__.date = '2024-08-
|
|
43446
|
-
__info__.hash = '
|
|
43444
|
+
__info__.version = '16.0.51';
|
|
43445
|
+
__info__.date = '2024-08-19T08:08:50.605Z';
|
|
43446
|
+
__info__.hash = '2b60022';
|
|
@@ -18721,7 +18721,7 @@ function parse(str) {
|
|
|
18721
18721
|
}
|
|
18722
18722
|
function parseTokens(tokens) {
|
|
18723
18723
|
tokens = tokens.filter((x) => x.type !== "SPACE");
|
|
18724
|
-
if (tokens[0].type === "OPERATOR" && tokens[0].value === "=") {
|
|
18724
|
+
if (tokens[0] && tokens[0].type === "OPERATOR" && tokens[0].value === "=") {
|
|
18725
18725
|
tokens.splice(0, 1);
|
|
18726
18726
|
}
|
|
18727
18727
|
const result = parseExpression(tokens, 0);
|
|
@@ -40669,7 +40669,7 @@ class RangeAdapter {
|
|
|
40669
40669
|
* @param sheetXC the string description of a range, in the form SheetName!XC:XC
|
|
40670
40670
|
*/
|
|
40671
40671
|
getRangeFromSheetXC(defaultSheetId, sheetXC) {
|
|
40672
|
-
if (!rangeReference.test(sheetXC)) {
|
|
40672
|
+
if (!rangeReference.test(sheetXC) || !this.getters.tryGetSheet(defaultSheetId)) {
|
|
40673
40673
|
return new RangeImpl({
|
|
40674
40674
|
sheetId: "",
|
|
40675
40675
|
zone: { left: -1, top: -1, right: -1, bottom: -1 },
|
|
@@ -43409,6 +43409,6 @@ function addFunction(functionName, functionDescription) {
|
|
|
43409
43409
|
export { AbstractChart, CommandResult, CorePlugin, DATETIME_FORMAT, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, cellTypes, compile, components, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateEvaluationCommands, load, parse, readonlyAllowedCommands, registries, setTranslationMethod, tokenize };
|
|
43410
43410
|
|
|
43411
43411
|
|
|
43412
|
-
__info__.version = '16.0.
|
|
43413
|
-
__info__.date = '2024-08-
|
|
43414
|
-
__info__.hash = '
|
|
43412
|
+
__info__.version = '16.0.51';
|
|
43413
|
+
__info__.date = '2024-08-19T08:08:50.605Z';
|
|
43414
|
+
__info__.hash = '2b60022';
|
|
@@ -18722,7 +18722,7 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
|
|
|
18722
18722
|
}
|
|
18723
18723
|
function parseTokens(tokens) {
|
|
18724
18724
|
tokens = tokens.filter((x) => x.type !== "SPACE");
|
|
18725
|
-
if (tokens[0].type === "OPERATOR" && tokens[0].value === "=") {
|
|
18725
|
+
if (tokens[0] && tokens[0].type === "OPERATOR" && tokens[0].value === "=") {
|
|
18726
18726
|
tokens.splice(0, 1);
|
|
18727
18727
|
}
|
|
18728
18728
|
const result = parseExpression(tokens, 0);
|
|
@@ -40670,7 +40670,7 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
|
|
|
40670
40670
|
* @param sheetXC the string description of a range, in the form SheetName!XC:XC
|
|
40671
40671
|
*/
|
|
40672
40672
|
getRangeFromSheetXC(defaultSheetId, sheetXC) {
|
|
40673
|
-
if (!rangeReference.test(sheetXC)) {
|
|
40673
|
+
if (!rangeReference.test(sheetXC) || !this.getters.tryGetSheet(defaultSheetId)) {
|
|
40674
40674
|
return new RangeImpl({
|
|
40675
40675
|
sheetId: "",
|
|
40676
40676
|
zone: { left: -1, top: -1, right: -1, bottom: -1 },
|
|
@@ -43440,9 +43440,9 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
|
|
|
43440
43440
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
43441
43441
|
|
|
43442
43442
|
|
|
43443
|
-
__info__.version = '16.0.
|
|
43444
|
-
__info__.date = '2024-08-
|
|
43445
|
-
__info__.hash = '
|
|
43443
|
+
__info__.version = '16.0.51';
|
|
43444
|
+
__info__.date = '2024-08-19T08:08:50.605Z';
|
|
43445
|
+
__info__.hash = '2b60022';
|
|
43446
43446
|
|
|
43447
43447
|
|
|
43448
43448
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|