@progress/kendo-spreadsheet-common 1.2.7-develop.1 → 1.2.7-develop.3
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/index-esm.js +8 -2
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index-esm.js
CHANGED
|
@@ -21676,7 +21676,7 @@ function dynamicFilterType(type) {
|
|
|
21676
21676
|
|
|
21677
21677
|
function getFilterVal(val) {
|
|
21678
21678
|
let tmp = parseFloat(val);
|
|
21679
|
-
if (!isNaN(tmp) && tmp
|
|
21679
|
+
if (!isNaN(tmp) && tmp == val) {
|
|
21680
21680
|
return tmp;
|
|
21681
21681
|
}
|
|
21682
21682
|
return val;
|
|
@@ -28573,6 +28573,9 @@ defineBuiltinFunction('product', false, function () {
|
|
|
28573
28573
|
resolve: resolve
|
|
28574
28574
|
};
|
|
28575
28575
|
}(), function (numbers) {
|
|
28576
|
+
if (numbers.length === 0) {
|
|
28577
|
+
return 0;
|
|
28578
|
+
}
|
|
28576
28579
|
return numbers.reduce(function (prod, num) {
|
|
28577
28580
|
return prod * num;
|
|
28578
28581
|
}, 1);
|
|
@@ -34197,6 +34200,9 @@ defineBuiltinFunction('workday', false, function () {
|
|
|
34197
34200
|
while (n > 0) {
|
|
34198
34201
|
date += inc;
|
|
34199
34202
|
dow = (dow + inc) % 7;
|
|
34203
|
+
if (dow < 0) {
|
|
34204
|
+
dow += 7;
|
|
34205
|
+
}
|
|
34200
34206
|
if (dow > 0 && dow < 6 && holidays.indexOf(date) < 0) {
|
|
34201
34207
|
--n;
|
|
34202
34208
|
}
|
|
@@ -37126,7 +37132,7 @@ function Hyperlink(link, text) {
|
|
|
37126
37132
|
this.text = text;
|
|
37127
37133
|
}
|
|
37128
37134
|
Hyperlink.prototype.toString = function() {
|
|
37129
|
-
return this.text;
|
|
37135
|
+
return this.text || this.link;
|
|
37130
37136
|
};
|
|
37131
37137
|
|
|
37132
37138
|
defineBuiltinFunction('hyperlink', false, function () {
|
package/dist/index.js
CHANGED
|
@@ -21677,7 +21677,7 @@
|
|
|
21677
21677
|
|
|
21678
21678
|
function getFilterVal(val) {
|
|
21679
21679
|
let tmp = parseFloat(val);
|
|
21680
|
-
if (!isNaN(tmp) && tmp
|
|
21680
|
+
if (!isNaN(tmp) && tmp == val) {
|
|
21681
21681
|
return tmp;
|
|
21682
21682
|
}
|
|
21683
21683
|
return val;
|
|
@@ -28574,6 +28574,9 @@
|
|
|
28574
28574
|
resolve: resolve
|
|
28575
28575
|
};
|
|
28576
28576
|
}(), function (numbers) {
|
|
28577
|
+
if (numbers.length === 0) {
|
|
28578
|
+
return 0;
|
|
28579
|
+
}
|
|
28577
28580
|
return numbers.reduce(function (prod, num) {
|
|
28578
28581
|
return prod * num;
|
|
28579
28582
|
}, 1);
|
|
@@ -34198,6 +34201,9 @@
|
|
|
34198
34201
|
while (n > 0) {
|
|
34199
34202
|
date += inc;
|
|
34200
34203
|
dow = (dow + inc) % 7;
|
|
34204
|
+
if (dow < 0) {
|
|
34205
|
+
dow += 7;
|
|
34206
|
+
}
|
|
34201
34207
|
if (dow > 0 && dow < 6 && holidays.indexOf(date) < 0) {
|
|
34202
34208
|
--n;
|
|
34203
34209
|
}
|
|
@@ -37127,7 +37133,7 @@
|
|
|
37127
37133
|
this.text = text;
|
|
37128
37134
|
}
|
|
37129
37135
|
Hyperlink.prototype.toString = function() {
|
|
37130
|
-
return this.text;
|
|
37136
|
+
return this.text || this.link;
|
|
37131
37137
|
};
|
|
37132
37138
|
|
|
37133
37139
|
defineBuiltinFunction('hyperlink', false, function () {
|