@odoo/o-spreadsheet 17.0.46 → 17.0.47
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 +14 -16
- package/dist/o-spreadsheet.esm.js +14 -16
- package/dist/o-spreadsheet.iife.js +14 -16
- package/dist/o-spreadsheet.iife.min.js +3 -3
- 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.0.
|
|
6
|
-
* @date 2025-01-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.0.47
|
|
6
|
+
* @date 2025-01-31T07:56:50.980Z
|
|
7
|
+
* @hash a22bce2
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -1847,11 +1847,11 @@ const getInvaluableSymbolsRegexp = memoize(function getInvaluableSymbolsRegexp(l
|
|
|
1847
1847
|
* number from the point of view of the isNumber function.
|
|
1848
1848
|
*/
|
|
1849
1849
|
function parseNumber(str, locale) {
|
|
1850
|
+
// remove invaluable characters
|
|
1851
|
+
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1850
1852
|
if (locale.decimalSeparator !== ".") {
|
|
1851
1853
|
str = str.replace(locale.decimalSeparator, ".");
|
|
1852
1854
|
}
|
|
1853
|
-
// remove invaluable characters
|
|
1854
|
-
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1855
1855
|
let n = Number(str);
|
|
1856
1856
|
if (isNaN(n) && str.includes("%")) {
|
|
1857
1857
|
n = Number(str.split("%")[0]);
|
|
@@ -47651,14 +47651,12 @@ class SheetUIPlugin extends UIPlugin {
|
|
|
47651
47651
|
}
|
|
47652
47652
|
break;
|
|
47653
47653
|
case "AUTORESIZE_ROWS":
|
|
47654
|
-
|
|
47655
|
-
|
|
47656
|
-
|
|
47657
|
-
|
|
47658
|
-
|
|
47659
|
-
|
|
47660
|
-
});
|
|
47661
|
-
}
|
|
47654
|
+
this.dispatch("RESIZE_COLUMNS_ROWS", {
|
|
47655
|
+
elements: cmd.rows,
|
|
47656
|
+
dimension: "ROW",
|
|
47657
|
+
size: null,
|
|
47658
|
+
sheetId: cmd.sheetId,
|
|
47659
|
+
});
|
|
47662
47660
|
break;
|
|
47663
47661
|
}
|
|
47664
47662
|
}
|
|
@@ -57806,6 +57804,6 @@ exports.setTranslationMethod = setTranslationMethod;
|
|
|
57806
57804
|
exports.tokenize = tokenize;
|
|
57807
57805
|
|
|
57808
57806
|
|
|
57809
|
-
__info__.version = "17.0.
|
|
57810
|
-
__info__.date = "2025-01-
|
|
57811
|
-
__info__.hash = "
|
|
57807
|
+
__info__.version = "17.0.47";
|
|
57808
|
+
__info__.date = "2025-01-31T07:56:50.980Z";
|
|
57809
|
+
__info__.hash = "a22bce2";
|
|
@@ -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.0.
|
|
6
|
-
* @date 2025-01-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.0.47
|
|
6
|
+
* @date 2025-01-31T07:56:50.980Z
|
|
7
|
+
* @hash a22bce2
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { Component, useRef, onMounted, useEffect, onWillPatch, useState, onWillUpdateProps, onPatched, useComponent, useExternalListener, onWillUnmount, onWillStart, xml, useChildSubEnv, useSubEnv, markRaw } from '@odoo/owl';
|
|
@@ -1845,11 +1845,11 @@ const getInvaluableSymbolsRegexp = memoize(function getInvaluableSymbolsRegexp(l
|
|
|
1845
1845
|
* number from the point of view of the isNumber function.
|
|
1846
1846
|
*/
|
|
1847
1847
|
function parseNumber(str, locale) {
|
|
1848
|
+
// remove invaluable characters
|
|
1849
|
+
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1848
1850
|
if (locale.decimalSeparator !== ".") {
|
|
1849
1851
|
str = str.replace(locale.decimalSeparator, ".");
|
|
1850
1852
|
}
|
|
1851
|
-
// remove invaluable characters
|
|
1852
|
-
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1853
1853
|
let n = Number(str);
|
|
1854
1854
|
if (isNaN(n) && str.includes("%")) {
|
|
1855
1855
|
n = Number(str.split("%")[0]);
|
|
@@ -47649,14 +47649,12 @@ class SheetUIPlugin extends UIPlugin {
|
|
|
47649
47649
|
}
|
|
47650
47650
|
break;
|
|
47651
47651
|
case "AUTORESIZE_ROWS":
|
|
47652
|
-
|
|
47653
|
-
|
|
47654
|
-
|
|
47655
|
-
|
|
47656
|
-
|
|
47657
|
-
|
|
47658
|
-
});
|
|
47659
|
-
}
|
|
47652
|
+
this.dispatch("RESIZE_COLUMNS_ROWS", {
|
|
47653
|
+
elements: cmd.rows,
|
|
47654
|
+
dimension: "ROW",
|
|
47655
|
+
size: null,
|
|
47656
|
+
sheetId: cmd.sheetId,
|
|
47657
|
+
});
|
|
47660
47658
|
break;
|
|
47661
47659
|
}
|
|
47662
47660
|
}
|
|
@@ -57769,6 +57767,6 @@ const constants = {
|
|
|
57769
57767
|
export { AbstractChart, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
|
|
57770
57768
|
|
|
57771
57769
|
|
|
57772
|
-
__info__.version = "17.0.
|
|
57773
|
-
__info__.date = "2025-01-
|
|
57774
|
-
__info__.hash = "
|
|
57770
|
+
__info__.version = "17.0.47";
|
|
57771
|
+
__info__.date = "2025-01-31T07:56:50.980Z";
|
|
57772
|
+
__info__.hash = "a22bce2";
|
|
@@ -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.0.
|
|
6
|
-
* @date 2025-01-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.0.47
|
|
6
|
+
* @date 2025-01-31T07:56:50.980Z
|
|
7
|
+
* @hash a22bce2
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -1846,11 +1846,11 @@
|
|
|
1846
1846
|
* number from the point of view of the isNumber function.
|
|
1847
1847
|
*/
|
|
1848
1848
|
function parseNumber(str, locale) {
|
|
1849
|
+
// remove invaluable characters
|
|
1850
|
+
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1849
1851
|
if (locale.decimalSeparator !== ".") {
|
|
1850
1852
|
str = str.replace(locale.decimalSeparator, ".");
|
|
1851
1853
|
}
|
|
1852
|
-
// remove invaluable characters
|
|
1853
|
-
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1854
1854
|
let n = Number(str);
|
|
1855
1855
|
if (isNaN(n) && str.includes("%")) {
|
|
1856
1856
|
n = Number(str.split("%")[0]);
|
|
@@ -47650,14 +47650,12 @@
|
|
|
47650
47650
|
}
|
|
47651
47651
|
break;
|
|
47652
47652
|
case "AUTORESIZE_ROWS":
|
|
47653
|
-
|
|
47654
|
-
|
|
47655
|
-
|
|
47656
|
-
|
|
47657
|
-
|
|
47658
|
-
|
|
47659
|
-
});
|
|
47660
|
-
}
|
|
47653
|
+
this.dispatch("RESIZE_COLUMNS_ROWS", {
|
|
47654
|
+
elements: cmd.rows,
|
|
47655
|
+
dimension: "ROW",
|
|
47656
|
+
size: null,
|
|
47657
|
+
sheetId: cmd.sheetId,
|
|
47658
|
+
});
|
|
47661
47659
|
break;
|
|
47662
47660
|
}
|
|
47663
47661
|
}
|
|
@@ -57805,9 +57803,9 @@
|
|
|
57805
57803
|
exports.tokenize = tokenize;
|
|
57806
57804
|
|
|
57807
57805
|
|
|
57808
|
-
__info__.version = "17.0.
|
|
57809
|
-
__info__.date = "2025-01-
|
|
57810
|
-
__info__.hash = "
|
|
57806
|
+
__info__.version = "17.0.47";
|
|
57807
|
+
__info__.date = "2025-01-31T07:56:50.980Z";
|
|
57808
|
+
__info__.hash = "a22bce2";
|
|
57811
57809
|
|
|
57812
57810
|
|
|
57813
57811
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|