@syncfusion/ej2-calculate 35.1.40 → 35.1.41

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 35.1.40
3
+ * version : 35.1.41
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-calculate",
3
- "version": "35.1.40",
3
+ "version": "35.1.41",
4
4
  "description": "JavaScript formula calculation engine for Syncfusion Spreadsheet and compatible workbook/xlsx hosts",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -92,7 +92,7 @@ var LogicalFormulas = /** @class */ (function (_super) {
92
92
  var condUpper = condition.toUpperCase();
93
93
  var parsedVal = this.parent.parseFloat(condition);
94
94
  if (condUpper === this.parent.trueValue || (parsedVal < 0 || parsedVal > 0)) {
95
- if (nestedFormula && argArr[1].includes(':')) {
95
+ if (nestedFormula && argArr[1].includes(':') && this.parent.isCellReference(argArr[1])) {
96
96
  cellValues = this.parent.getCellCollection(argArr[1]);
97
97
  for (var i = 0; i < cellValues.length; i++) {
98
98
  cellVal = this.parent.getValueFromArg(cellValues[i]);
@@ -108,7 +108,7 @@ var LogicalFormulas = /** @class */ (function (_super) {
108
108
  if (isNullOrUndefined(argArr[2])) {
109
109
  return this.parent.falseValue;
110
110
  }
111
- if (nestedFormula && argArr[2].includes(':')) {
111
+ if (nestedFormula && argArr[2].includes(':') && this.parent.isCellReference(argArr[2])) {
112
112
  cellValues = this.parent.getCellCollection(argArr[2]);
113
113
  for (var i = 0; i < cellValues.length; i++) {
114
114
  cellVal = this.parent.getValueFromArg(cellValues[i]);