@odoo/o-spreadsheet 15.0.3 → 15.0.4
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.
|
@@ -370,7 +370,7 @@ function formatJSTime(jsDate, format) {
|
|
|
370
370
|
* - it does not accept "," as thousand separator, because when we tokenize a
|
|
371
371
|
* formula, commas are used to separate arguments
|
|
372
372
|
*/
|
|
373
|
-
const formulaNumberRegexp =
|
|
373
|
+
const formulaNumberRegexp = /(^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?)(?!\w|!)/;
|
|
374
374
|
const numberRegexp = /^-?\d+(,\d+)*(\.?\d*(e\d+)?)?(\s*%)?$|^-?\.\d+(\s*%)?$/;
|
|
375
375
|
/**
|
|
376
376
|
* Return true if the argument is a "number string".
|
|
@@ -31369,6 +31369,6 @@ exports.registries = registries;
|
|
|
31369
31369
|
exports.setTranslationMethod = setTranslationMethod;
|
|
31370
31370
|
|
|
31371
31371
|
|
|
31372
|
-
__info__.version = '15.0.
|
|
31373
|
-
__info__.date = '2023-
|
|
31374
|
-
__info__.hash = '
|
|
31372
|
+
__info__.version = '15.0.4';
|
|
31373
|
+
__info__.date = '2023-04-13T08:14:04.472Z';
|
|
31374
|
+
__info__.hash = 'f66eddd';
|
|
@@ -347,7 +347,7 @@ function formatJSTime(jsDate, format) {
|
|
|
347
347
|
* - it does not accept "," as thousand separator, because when we tokenize a
|
|
348
348
|
* formula, commas are used to separate arguments
|
|
349
349
|
*/
|
|
350
|
-
const formulaNumberRegexp =
|
|
350
|
+
const formulaNumberRegexp = /(^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?)(?!\w|!)/;
|
|
351
351
|
const numberRegexp = /^-?\d+(,\d+)*(\.?\d*(e\d+)?)?(\s*%)?$|^-?\.\d+(\s*%)?$/;
|
|
352
352
|
/**
|
|
353
353
|
* Return true if the argument is a "number string".
|
|
@@ -31324,6 +31324,6 @@ const helpers = {
|
|
|
31324
31324
|
export { CommandResult, CorePlugin, DATETIME_FORMAT, DataSource, DispatchResult, Model, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, DEBUG as __DEBUG__, __info__, astToFormula, cellTypes, convertAstNodes, coreTypes, functionCache, helpers, invalidateEvaluationCommands, normalize, parse, readonlyAllowedCommands, registries, setTranslationMethod };
|
|
31325
31325
|
|
|
31326
31326
|
|
|
31327
|
-
__info__.version = '15.0.
|
|
31328
|
-
__info__.date = '2023-
|
|
31329
|
-
__info__.hash = '
|
|
31327
|
+
__info__.version = '15.0.4';
|
|
31328
|
+
__info__.date = '2023-04-13T08:14:04.472Z';
|
|
31329
|
+
__info__.hash = 'f66eddd';
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
* - it does not accept "," as thousand separator, because when we tokenize a
|
|
368
368
|
* formula, commas are used to separate arguments
|
|
369
369
|
*/
|
|
370
|
-
const formulaNumberRegexp =
|
|
370
|
+
const formulaNumberRegexp = /(^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?)(?!\w|!)/;
|
|
371
371
|
const numberRegexp = /^-?\d+(,\d+)*(\.?\d*(e\d+)?)?(\s*%)?$|^-?\.\d+(\s*%)?$/;
|
|
372
372
|
/**
|
|
373
373
|
* Return true if the argument is a "number string".
|
|
@@ -31368,9 +31368,9 @@
|
|
|
31368
31368
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
31369
31369
|
|
|
31370
31370
|
|
|
31371
|
-
__info__.version = '15.0.
|
|
31372
|
-
__info__.date = '2023-
|
|
31373
|
-
__info__.hash = '
|
|
31371
|
+
__info__.version = '15.0.4';
|
|
31372
|
+
__info__.date = '2023-04-13T08:14:04.472Z';
|
|
31373
|
+
__info__.hash = 'f66eddd';
|
|
31374
31374
|
|
|
31375
31375
|
|
|
31376
31376
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|