@odoo/o-spreadsheet 16.4.18 → 16.4.19
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.
|
@@ -451,7 +451,7 @@ function isBoolean(str) {
|
|
|
451
451
|
const upperCased = str.toUpperCase();
|
|
452
452
|
return upperCased === "TRUE" || upperCased === "FALSE";
|
|
453
453
|
}
|
|
454
|
-
const MARKDOWN_LINK_REGEX = /^\[(
|
|
454
|
+
const MARKDOWN_LINK_REGEX = /^\[(.+)\]\((.+)\)$/;
|
|
455
455
|
//link must start with http or https
|
|
456
456
|
//https://stackoverflow.com/a/3809435/4760614
|
|
457
457
|
const WEB_LINK_REGEX = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
|
|
@@ -34522,9 +34522,9 @@ class RangeAdapter {
|
|
|
34522
34522
|
* Get a Xc string that represent a part of a range
|
|
34523
34523
|
*/
|
|
34524
34524
|
getRangePartString(range, part) {
|
|
34525
|
-
const colFixed = range.parts && range.parts[part]
|
|
34525
|
+
const colFixed = range.parts && range.parts[part]?.colFixed ? "$" : "";
|
|
34526
34526
|
const col = part === 0 ? numberToLetters(range.zone.left) : numberToLetters(range.zone.right);
|
|
34527
|
-
const rowFixed = range.parts && range.parts[part]
|
|
34527
|
+
const rowFixed = range.parts && range.parts[part]?.rowFixed ? "$" : "";
|
|
34528
34528
|
const row = part === 0 ? String(range.zone.top + 1) : String(range.zone.bottom + 1);
|
|
34529
34529
|
let str = "";
|
|
34530
34530
|
if (range.isFullCol) {
|
|
@@ -51597,6 +51597,6 @@ exports.setTranslationMethod = setTranslationMethod;
|
|
|
51597
51597
|
exports.tokenize = tokenize;
|
|
51598
51598
|
|
|
51599
51599
|
|
|
51600
|
-
__info__.version = '16.4.
|
|
51601
|
-
__info__.date = '2024-01-
|
|
51602
|
-
__info__.hash = '
|
|
51600
|
+
__info__.version = '16.4.19';
|
|
51601
|
+
__info__.date = '2024-01-17T10:27:33.027Z';
|
|
51602
|
+
__info__.hash = 'fe01e7b';
|
|
@@ -447,7 +447,7 @@ function isBoolean(str) {
|
|
|
447
447
|
const upperCased = str.toUpperCase();
|
|
448
448
|
return upperCased === "TRUE" || upperCased === "FALSE";
|
|
449
449
|
}
|
|
450
|
-
const MARKDOWN_LINK_REGEX = /^\[(
|
|
450
|
+
const MARKDOWN_LINK_REGEX = /^\[(.+)\]\((.+)\)$/;
|
|
451
451
|
//link must start with http or https
|
|
452
452
|
//https://stackoverflow.com/a/3809435/4760614
|
|
453
453
|
const WEB_LINK_REGEX = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
|
|
@@ -34518,9 +34518,9 @@ class RangeAdapter {
|
|
|
34518
34518
|
* Get a Xc string that represent a part of a range
|
|
34519
34519
|
*/
|
|
34520
34520
|
getRangePartString(range, part) {
|
|
34521
|
-
const colFixed = range.parts && range.parts[part]
|
|
34521
|
+
const colFixed = range.parts && range.parts[part]?.colFixed ? "$" : "";
|
|
34522
34522
|
const col = part === 0 ? numberToLetters(range.zone.left) : numberToLetters(range.zone.right);
|
|
34523
|
-
const rowFixed = range.parts && range.parts[part]
|
|
34523
|
+
const rowFixed = range.parts && range.parts[part]?.rowFixed ? "$" : "";
|
|
34524
34524
|
const row = part === 0 ? String(range.zone.top + 1) : String(range.zone.bottom + 1);
|
|
34525
34525
|
let str = "";
|
|
34526
34526
|
if (range.isFullCol) {
|
|
@@ -51561,6 +51561,6 @@ const constants = {
|
|
|
51561
51561
|
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 };
|
|
51562
51562
|
|
|
51563
51563
|
|
|
51564
|
-
__info__.version = '16.4.
|
|
51565
|
-
__info__.date = '2024-01-
|
|
51566
|
-
__info__.hash = '
|
|
51564
|
+
__info__.version = '16.4.19';
|
|
51565
|
+
__info__.date = '2024-01-17T10:27:33.027Z';
|
|
51566
|
+
__info__.hash = 'fe01e7b';
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
const upperCased = str.toUpperCase();
|
|
449
449
|
return upperCased === "TRUE" || upperCased === "FALSE";
|
|
450
450
|
}
|
|
451
|
-
const MARKDOWN_LINK_REGEX = /^\[(
|
|
451
|
+
const MARKDOWN_LINK_REGEX = /^\[(.+)\]\((.+)\)$/;
|
|
452
452
|
//link must start with http or https
|
|
453
453
|
//https://stackoverflow.com/a/3809435/4760614
|
|
454
454
|
const WEB_LINK_REGEX = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
|
|
@@ -34519,9 +34519,9 @@
|
|
|
34519
34519
|
* Get a Xc string that represent a part of a range
|
|
34520
34520
|
*/
|
|
34521
34521
|
getRangePartString(range, part) {
|
|
34522
|
-
const colFixed = range.parts && range.parts[part]
|
|
34522
|
+
const colFixed = range.parts && range.parts[part]?.colFixed ? "$" : "";
|
|
34523
34523
|
const col = part === 0 ? numberToLetters(range.zone.left) : numberToLetters(range.zone.right);
|
|
34524
|
-
const rowFixed = range.parts && range.parts[part]
|
|
34524
|
+
const rowFixed = range.parts && range.parts[part]?.rowFixed ? "$" : "";
|
|
34525
34525
|
const row = part === 0 ? String(range.zone.top + 1) : String(range.zone.bottom + 1);
|
|
34526
34526
|
let str = "";
|
|
34527
34527
|
if (range.isFullCol) {
|
|
@@ -51596,9 +51596,9 @@
|
|
|
51596
51596
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
51597
51597
|
|
|
51598
51598
|
|
|
51599
|
-
__info__.version = '16.4.
|
|
51600
|
-
__info__.date = '2024-01-
|
|
51601
|
-
__info__.hash = '
|
|
51599
|
+
__info__.version = '16.4.19';
|
|
51600
|
+
__info__.date = '2024-01-17T10:27:33.027Z';
|
|
51601
|
+
__info__.hash = 'fe01e7b';
|
|
51602
51602
|
|
|
51603
51603
|
|
|
51604
51604
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|