@odoo/o-spreadsheet 17.2.33 → 17.2.34
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
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
5
5
|
* @see https://github.com/odoo/o-spreadsheet
|
|
6
|
-
* @version 17.2.
|
|
7
|
-
* @date 2025-01-
|
|
8
|
-
* @hash
|
|
6
|
+
* @version 17.2.34
|
|
7
|
+
* @date 2025-01-31T07:58:03.953Z
|
|
8
|
+
* @hash 0bffee9
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
@@ -1784,11 +1784,11 @@ const getInvaluableSymbolsRegexp = memoize(function getInvaluableSymbolsRegexp(l
|
|
|
1784
1784
|
* number from the point of view of the isNumber function.
|
|
1785
1785
|
*/
|
|
1786
1786
|
function parseNumber(str, locale) {
|
|
1787
|
+
// remove invaluable characters
|
|
1788
|
+
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1787
1789
|
if (locale.decimalSeparator !== ".") {
|
|
1788
1790
|
str = str.replace(locale.decimalSeparator, ".");
|
|
1789
1791
|
}
|
|
1790
|
-
// remove invaluable characters
|
|
1791
|
-
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1792
1792
|
let n = Number(str);
|
|
1793
1793
|
if (isNaN(n) && str.includes("%")) {
|
|
1794
1794
|
n = Number(str.split("%")[0]);
|
|
@@ -51465,14 +51465,12 @@ class SheetUIPlugin extends UIPlugin {
|
|
|
51465
51465
|
}
|
|
51466
51466
|
break;
|
|
51467
51467
|
case "AUTORESIZE_ROWS":
|
|
51468
|
-
|
|
51469
|
-
|
|
51470
|
-
|
|
51471
|
-
|
|
51472
|
-
|
|
51473
|
-
|
|
51474
|
-
});
|
|
51475
|
-
}
|
|
51468
|
+
this.dispatch("RESIZE_COLUMNS_ROWS", {
|
|
51469
|
+
elements: cmd.rows,
|
|
51470
|
+
dimension: "ROW",
|
|
51471
|
+
size: null,
|
|
51472
|
+
sheetId: cmd.sheetId,
|
|
51473
|
+
});
|
|
51476
51474
|
break;
|
|
51477
51475
|
}
|
|
51478
51476
|
}
|
|
@@ -61136,6 +61134,6 @@ exports.tokenColors = tokenColors;
|
|
|
61136
61134
|
exports.tokenize = tokenize;
|
|
61137
61135
|
|
|
61138
61136
|
|
|
61139
|
-
__info__.version = "17.2.
|
|
61140
|
-
__info__.date = "2025-01-
|
|
61141
|
-
__info__.hash = "
|
|
61137
|
+
__info__.version = "17.2.34";
|
|
61138
|
+
__info__.date = "2025-01-31T07:58:03.953Z";
|
|
61139
|
+
__info__.hash = "0bffee9";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
5
5
|
* @see https://github.com/odoo/o-spreadsheet
|
|
6
|
-
* @version 17.2.
|
|
7
|
-
* @date 2025-01-
|
|
8
|
-
* @hash
|
|
6
|
+
* @version 17.2.34
|
|
7
|
+
* @date 2025-01-31T07:58:03.953Z
|
|
8
|
+
* @hash 0bffee9
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw } from '@odoo/owl';
|
|
@@ -1782,11 +1782,11 @@ const getInvaluableSymbolsRegexp = memoize(function getInvaluableSymbolsRegexp(l
|
|
|
1782
1782
|
* number from the point of view of the isNumber function.
|
|
1783
1783
|
*/
|
|
1784
1784
|
function parseNumber(str, locale) {
|
|
1785
|
+
// remove invaluable characters
|
|
1786
|
+
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1785
1787
|
if (locale.decimalSeparator !== ".") {
|
|
1786
1788
|
str = str.replace(locale.decimalSeparator, ".");
|
|
1787
1789
|
}
|
|
1788
|
-
// remove invaluable characters
|
|
1789
|
-
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1790
1790
|
let n = Number(str);
|
|
1791
1791
|
if (isNaN(n) && str.includes("%")) {
|
|
1792
1792
|
n = Number(str.split("%")[0]);
|
|
@@ -51463,14 +51463,12 @@ class SheetUIPlugin extends UIPlugin {
|
|
|
51463
51463
|
}
|
|
51464
51464
|
break;
|
|
51465
51465
|
case "AUTORESIZE_ROWS":
|
|
51466
|
-
|
|
51467
|
-
|
|
51468
|
-
|
|
51469
|
-
|
|
51470
|
-
|
|
51471
|
-
|
|
51472
|
-
});
|
|
51473
|
-
}
|
|
51466
|
+
this.dispatch("RESIZE_COLUMNS_ROWS", {
|
|
51467
|
+
elements: cmd.rows,
|
|
51468
|
+
dimension: "ROW",
|
|
51469
|
+
size: null,
|
|
51470
|
+
sheetId: cmd.sheetId,
|
|
51471
|
+
});
|
|
51474
51472
|
break;
|
|
51475
51473
|
}
|
|
51476
51474
|
}
|
|
@@ -61093,6 +61091,6 @@ const constants = {
|
|
|
61093
61091
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, 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 };
|
|
61094
61092
|
|
|
61095
61093
|
|
|
61096
|
-
__info__.version = "17.2.
|
|
61097
|
-
__info__.date = "2025-01-
|
|
61098
|
-
__info__.hash = "
|
|
61094
|
+
__info__.version = "17.2.34";
|
|
61095
|
+
__info__.date = "2025-01-31T07:58:03.953Z";
|
|
61096
|
+
__info__.hash = "0bffee9";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
5
5
|
* @see https://github.com/odoo/o-spreadsheet
|
|
6
|
-
* @version 17.2.
|
|
7
|
-
* @date 2025-01-
|
|
8
|
-
* @hash
|
|
6
|
+
* @version 17.2.34
|
|
7
|
+
* @date 2025-01-31T07:58:03.953Z
|
|
8
|
+
* @hash 0bffee9
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function (exports, owl) {
|
|
@@ -1783,11 +1783,11 @@
|
|
|
1783
1783
|
* number from the point of view of the isNumber function.
|
|
1784
1784
|
*/
|
|
1785
1785
|
function parseNumber(str, locale) {
|
|
1786
|
+
// remove invaluable characters
|
|
1787
|
+
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1786
1788
|
if (locale.decimalSeparator !== ".") {
|
|
1787
1789
|
str = str.replace(locale.decimalSeparator, ".");
|
|
1788
1790
|
}
|
|
1789
|
-
// remove invaluable characters
|
|
1790
|
-
str = str.replace(getInvaluableSymbolsRegexp(locale), "");
|
|
1791
1791
|
let n = Number(str);
|
|
1792
1792
|
if (isNaN(n) && str.includes("%")) {
|
|
1793
1793
|
n = Number(str.split("%")[0]);
|
|
@@ -51464,14 +51464,12 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
51464
51464
|
}
|
|
51465
51465
|
break;
|
|
51466
51466
|
case "AUTORESIZE_ROWS":
|
|
51467
|
-
|
|
51468
|
-
|
|
51469
|
-
|
|
51470
|
-
|
|
51471
|
-
|
|
51472
|
-
|
|
51473
|
-
});
|
|
51474
|
-
}
|
|
51467
|
+
this.dispatch("RESIZE_COLUMNS_ROWS", {
|
|
51468
|
+
elements: cmd.rows,
|
|
51469
|
+
dimension: "ROW",
|
|
51470
|
+
size: null,
|
|
51471
|
+
sheetId: cmd.sheetId,
|
|
51472
|
+
});
|
|
51475
51473
|
break;
|
|
51476
51474
|
}
|
|
51477
51475
|
}
|
|
@@ -61135,9 +61133,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
61135
61133
|
exports.tokenize = tokenize;
|
|
61136
61134
|
|
|
61137
61135
|
|
|
61138
|
-
__info__.version = "17.2.
|
|
61139
|
-
__info__.date = "2025-01-
|
|
61140
|
-
__info__.hash = "
|
|
61136
|
+
__info__.version = "17.2.34";
|
|
61137
|
+
__info__.date = "2025-01-31T07:58:03.953Z";
|
|
61138
|
+
__info__.hash = "0bffee9";
|
|
61141
61139
|
|
|
61142
61140
|
|
|
61143
61141
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|