@progress/kendo-spreadsheet-common 1.2.5-develop.2 → 1.2.5-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 +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index-esm.js
CHANGED
|
@@ -9667,7 +9667,7 @@ function findSeries(properties) {
|
|
|
9667
9667
|
}
|
|
9668
9668
|
values = linearRegression(values);
|
|
9669
9669
|
f = function(N, i) {
|
|
9670
|
-
return data[i].replace(/^(
|
|
9670
|
+
return data[i].replace(/^(.*\D0*)\d+$/, "$1" + values(N, i));
|
|
9671
9671
|
};
|
|
9672
9672
|
} else {
|
|
9673
9673
|
f = function() { return null; };
|
|
@@ -9725,9 +9725,9 @@ function getType(el) {
|
|
|
9725
9725
|
if (lst) {
|
|
9726
9726
|
return lst;
|
|
9727
9727
|
}
|
|
9728
|
-
var m = /^(.*\
|
|
9728
|
+
var m = /^(.*\D0*)(\d+)$/.exec(el);
|
|
9729
9729
|
if (m) {
|
|
9730
|
-
el = el.replace(/^(.*\
|
|
9730
|
+
el = el.replace(/^(.*\D0*)\d+$/, "$1-######");
|
|
9731
9731
|
return { type: el, match: m, number: parseFloat(m[2]) };
|
|
9732
9732
|
}
|
|
9733
9733
|
return { type: "string" };
|
package/dist/index.js
CHANGED
|
@@ -9668,7 +9668,7 @@
|
|
|
9668
9668
|
}
|
|
9669
9669
|
values = linearRegression(values);
|
|
9670
9670
|
f = function(N, i) {
|
|
9671
|
-
return data[i].replace(/^(
|
|
9671
|
+
return data[i].replace(/^(.*\D0*)\d+$/, "$1" + values(N, i));
|
|
9672
9672
|
};
|
|
9673
9673
|
} else {
|
|
9674
9674
|
f = function() { return null; };
|
|
@@ -9726,9 +9726,9 @@
|
|
|
9726
9726
|
if (lst) {
|
|
9727
9727
|
return lst;
|
|
9728
9728
|
}
|
|
9729
|
-
var m = /^(.*\
|
|
9729
|
+
var m = /^(.*\D0*)(\d+)$/.exec(el);
|
|
9730
9730
|
if (m) {
|
|
9731
|
-
el = el.replace(/^(.*\
|
|
9731
|
+
el = el.replace(/^(.*\D0*)\d+$/, "$1-######");
|
|
9732
9732
|
return { type: el, match: m, number: parseFloat(m[2]) };
|
|
9733
9733
|
}
|
|
9734
9734
|
return { type: "string" };
|