@odoo/o-spreadsheet 15.0.24 → 15.0.25
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.
|
@@ -767,6 +767,9 @@ function getPredicate(descr, isQuery) {
|
|
|
767
767
|
return result;
|
|
768
768
|
}
|
|
769
769
|
function operandToRegExp(operand) {
|
|
770
|
+
if (operand === "*") {
|
|
771
|
+
return /.+/;
|
|
772
|
+
}
|
|
770
773
|
let exp = "";
|
|
771
774
|
let predecessor = "";
|
|
772
775
|
for (let char of operand) {
|
|
@@ -790,9 +793,9 @@ function operandToRegExp(operand) {
|
|
|
790
793
|
}
|
|
791
794
|
return new RegExp("^" + exp + "$", "i");
|
|
792
795
|
}
|
|
793
|
-
function evaluatePredicate(value, criterion) {
|
|
796
|
+
function evaluatePredicate(value = "", criterion) {
|
|
794
797
|
const { operator, operand } = criterion;
|
|
795
|
-
if (
|
|
798
|
+
if (operand === undefined) {
|
|
796
799
|
return false;
|
|
797
800
|
}
|
|
798
801
|
if (typeof operand === "number" && operator === "=") {
|
|
@@ -31575,6 +31578,6 @@ exports.registries = registries;
|
|
|
31575
31578
|
exports.setTranslationMethod = setTranslationMethod;
|
|
31576
31579
|
|
|
31577
31580
|
|
|
31578
|
-
__info__.version = '15.0.
|
|
31579
|
-
__info__.date = '2024-07-
|
|
31580
|
-
__info__.hash = '
|
|
31581
|
+
__info__.version = '15.0.25';
|
|
31582
|
+
__info__.date = '2024-07-08T05:35:32.050Z';
|
|
31583
|
+
__info__.hash = '364ec3b';
|
|
@@ -744,6 +744,9 @@ function getPredicate(descr, isQuery) {
|
|
|
744
744
|
return result;
|
|
745
745
|
}
|
|
746
746
|
function operandToRegExp(operand) {
|
|
747
|
+
if (operand === "*") {
|
|
748
|
+
return /.+/;
|
|
749
|
+
}
|
|
747
750
|
let exp = "";
|
|
748
751
|
let predecessor = "";
|
|
749
752
|
for (let char of operand) {
|
|
@@ -767,9 +770,9 @@ function operandToRegExp(operand) {
|
|
|
767
770
|
}
|
|
768
771
|
return new RegExp("^" + exp + "$", "i");
|
|
769
772
|
}
|
|
770
|
-
function evaluatePredicate(value, criterion) {
|
|
773
|
+
function evaluatePredicate(value = "", criterion) {
|
|
771
774
|
const { operator, operand } = criterion;
|
|
772
|
-
if (
|
|
775
|
+
if (operand === undefined) {
|
|
773
776
|
return false;
|
|
774
777
|
}
|
|
775
778
|
if (typeof operand === "number" && operator === "=") {
|
|
@@ -31530,6 +31533,6 @@ const helpers = {
|
|
|
31530
31533
|
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 };
|
|
31531
31534
|
|
|
31532
31535
|
|
|
31533
|
-
__info__.version = '15.0.
|
|
31534
|
-
__info__.date = '2024-07-
|
|
31535
|
-
__info__.hash = '
|
|
31536
|
+
__info__.version = '15.0.25';
|
|
31537
|
+
__info__.date = '2024-07-08T05:35:32.050Z';
|
|
31538
|
+
__info__.hash = '364ec3b';
|
|
@@ -764,6 +764,9 @@
|
|
|
764
764
|
return result;
|
|
765
765
|
}
|
|
766
766
|
function operandToRegExp(operand) {
|
|
767
|
+
if (operand === "*") {
|
|
768
|
+
return /.+/;
|
|
769
|
+
}
|
|
767
770
|
let exp = "";
|
|
768
771
|
let predecessor = "";
|
|
769
772
|
for (let char of operand) {
|
|
@@ -787,9 +790,9 @@
|
|
|
787
790
|
}
|
|
788
791
|
return new RegExp("^" + exp + "$", "i");
|
|
789
792
|
}
|
|
790
|
-
function evaluatePredicate(value, criterion) {
|
|
793
|
+
function evaluatePredicate(value = "", criterion) {
|
|
791
794
|
const { operator, operand } = criterion;
|
|
792
|
-
if (
|
|
795
|
+
if (operand === undefined) {
|
|
793
796
|
return false;
|
|
794
797
|
}
|
|
795
798
|
if (typeof operand === "number" && operator === "=") {
|
|
@@ -31574,9 +31577,9 @@
|
|
|
31574
31577
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
31575
31578
|
|
|
31576
31579
|
|
|
31577
|
-
__info__.version = '15.0.
|
|
31578
|
-
__info__.date = '2024-07-
|
|
31579
|
-
__info__.hash = '
|
|
31580
|
+
__info__.version = '15.0.25';
|
|
31581
|
+
__info__.date = '2024-07-08T05:35:32.050Z';
|
|
31582
|
+
__info__.hash = '364ec3b';
|
|
31580
31583
|
|
|
31581
31584
|
|
|
31582
31585
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|