@odoo/o-spreadsheet 16.4.31 → 16.4.33
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.
|
@@ -14838,7 +14838,7 @@ const machine = {
|
|
|
14838
14838
|
function matchReference(tokens) {
|
|
14839
14839
|
let head = 0;
|
|
14840
14840
|
let transitions = machine[State.LeftRef];
|
|
14841
|
-
|
|
14841
|
+
let matchedTokens = "";
|
|
14842
14842
|
while (transitions !== undefined) {
|
|
14843
14843
|
const token = tokens[head++];
|
|
14844
14844
|
if (!token) {
|
|
@@ -14850,15 +14850,15 @@ function matchReference(tokens) {
|
|
|
14850
14850
|
case undefined:
|
|
14851
14851
|
return null;
|
|
14852
14852
|
case State.Found:
|
|
14853
|
-
matchedTokens.
|
|
14853
|
+
matchedTokens += token.value;
|
|
14854
14854
|
tokens.splice(0, head);
|
|
14855
14855
|
return {
|
|
14856
14856
|
type: "REFERENCE",
|
|
14857
|
-
value:
|
|
14857
|
+
value: matchedTokens,
|
|
14858
14858
|
};
|
|
14859
14859
|
default:
|
|
14860
14860
|
transitions = machine[nextState];
|
|
14861
|
-
matchedTokens.
|
|
14861
|
+
matchedTokens += token.value;
|
|
14862
14862
|
break;
|
|
14863
14863
|
}
|
|
14864
14864
|
}
|
|
@@ -37653,7 +37653,7 @@ class EvaluationPlugin extends UIPlugin {
|
|
|
37653
37653
|
? getItemId(newFormat, data.formats)
|
|
37654
37654
|
: exportedCellData.format;
|
|
37655
37655
|
let content;
|
|
37656
|
-
if (formulaCell instanceof FormulaCellWithDependencies) {
|
|
37656
|
+
if (isExported && formulaCell instanceof FormulaCellWithDependencies) {
|
|
37657
37657
|
content = this.getters.buildFormulaContent(exportedSheetData.id, formulaCell, formulaCell.dependencies, true);
|
|
37658
37658
|
}
|
|
37659
37659
|
else {
|
|
@@ -52127,6 +52127,6 @@ exports.setTranslationMethod = setTranslationMethod;
|
|
|
52127
52127
|
exports.tokenize = tokenize;
|
|
52128
52128
|
|
|
52129
52129
|
|
|
52130
|
-
__info__.version = '16.4.
|
|
52131
|
-
__info__.date = '2024-
|
|
52132
|
-
__info__.hash = '
|
|
52130
|
+
__info__.version = '16.4.33';
|
|
52131
|
+
__info__.date = '2024-05-15T09:17:20.683Z';
|
|
52132
|
+
__info__.hash = '53b07e5';
|
|
@@ -14834,7 +14834,7 @@ const machine = {
|
|
|
14834
14834
|
function matchReference(tokens) {
|
|
14835
14835
|
let head = 0;
|
|
14836
14836
|
let transitions = machine[State.LeftRef];
|
|
14837
|
-
|
|
14837
|
+
let matchedTokens = "";
|
|
14838
14838
|
while (transitions !== undefined) {
|
|
14839
14839
|
const token = tokens[head++];
|
|
14840
14840
|
if (!token) {
|
|
@@ -14846,15 +14846,15 @@ function matchReference(tokens) {
|
|
|
14846
14846
|
case undefined:
|
|
14847
14847
|
return null;
|
|
14848
14848
|
case State.Found:
|
|
14849
|
-
matchedTokens.
|
|
14849
|
+
matchedTokens += token.value;
|
|
14850
14850
|
tokens.splice(0, head);
|
|
14851
14851
|
return {
|
|
14852
14852
|
type: "REFERENCE",
|
|
14853
|
-
value:
|
|
14853
|
+
value: matchedTokens,
|
|
14854
14854
|
};
|
|
14855
14855
|
default:
|
|
14856
14856
|
transitions = machine[nextState];
|
|
14857
|
-
matchedTokens.
|
|
14857
|
+
matchedTokens += token.value;
|
|
14858
14858
|
break;
|
|
14859
14859
|
}
|
|
14860
14860
|
}
|
|
@@ -37649,7 +37649,7 @@ class EvaluationPlugin extends UIPlugin {
|
|
|
37649
37649
|
? getItemId(newFormat, data.formats)
|
|
37650
37650
|
: exportedCellData.format;
|
|
37651
37651
|
let content;
|
|
37652
|
-
if (formulaCell instanceof FormulaCellWithDependencies) {
|
|
37652
|
+
if (isExported && formulaCell instanceof FormulaCellWithDependencies) {
|
|
37653
37653
|
content = this.getters.buildFormulaContent(exportedSheetData.id, formulaCell, formulaCell.dependencies, true);
|
|
37654
37654
|
}
|
|
37655
37655
|
else {
|
|
@@ -52091,6 +52091,6 @@ const constants = {
|
|
|
52091
52091
|
export { AbstractChart, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, compile, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
|
|
52092
52092
|
|
|
52093
52093
|
|
|
52094
|
-
__info__.version = '16.4.
|
|
52095
|
-
__info__.date = '2024-
|
|
52096
|
-
__info__.hash = '
|
|
52094
|
+
__info__.version = '16.4.33';
|
|
52095
|
+
__info__.date = '2024-05-15T09:17:20.683Z';
|
|
52096
|
+
__info__.hash = '53b07e5';
|
|
@@ -14835,7 +14835,7 @@
|
|
|
14835
14835
|
function matchReference(tokens) {
|
|
14836
14836
|
let head = 0;
|
|
14837
14837
|
let transitions = machine[State.LeftRef];
|
|
14838
|
-
|
|
14838
|
+
let matchedTokens = "";
|
|
14839
14839
|
while (transitions !== undefined) {
|
|
14840
14840
|
const token = tokens[head++];
|
|
14841
14841
|
if (!token) {
|
|
@@ -14847,15 +14847,15 @@
|
|
|
14847
14847
|
case undefined:
|
|
14848
14848
|
return null;
|
|
14849
14849
|
case State.Found:
|
|
14850
|
-
matchedTokens.
|
|
14850
|
+
matchedTokens += token.value;
|
|
14851
14851
|
tokens.splice(0, head);
|
|
14852
14852
|
return {
|
|
14853
14853
|
type: "REFERENCE",
|
|
14854
|
-
value:
|
|
14854
|
+
value: matchedTokens,
|
|
14855
14855
|
};
|
|
14856
14856
|
default:
|
|
14857
14857
|
transitions = machine[nextState];
|
|
14858
|
-
matchedTokens.
|
|
14858
|
+
matchedTokens += token.value;
|
|
14859
14859
|
break;
|
|
14860
14860
|
}
|
|
14861
14861
|
}
|
|
@@ -37650,7 +37650,7 @@
|
|
|
37650
37650
|
? getItemId(newFormat, data.formats)
|
|
37651
37651
|
: exportedCellData.format;
|
|
37652
37652
|
let content;
|
|
37653
|
-
if (formulaCell instanceof FormulaCellWithDependencies) {
|
|
37653
|
+
if (isExported && formulaCell instanceof FormulaCellWithDependencies) {
|
|
37654
37654
|
content = this.getters.buildFormulaContent(exportedSheetData.id, formulaCell, formulaCell.dependencies, true);
|
|
37655
37655
|
}
|
|
37656
37656
|
else {
|
|
@@ -52126,9 +52126,9 @@
|
|
|
52126
52126
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
52127
52127
|
|
|
52128
52128
|
|
|
52129
|
-
__info__.version = '16.4.
|
|
52130
|
-
__info__.date = '2024-
|
|
52131
|
-
__info__.hash = '
|
|
52129
|
+
__info__.version = '16.4.33';
|
|
52130
|
+
__info__.date = '2024-05-15T09:17:20.683Z';
|
|
52131
|
+
__info__.hash = '53b07e5';
|
|
52132
52132
|
|
|
52133
52133
|
|
|
52134
52134
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|