igniteui-webcomponents-excel 4.7.2 → 4.8.1-alpha.0

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.
@@ -74932,7 +74932,22 @@ export let CellCalcReference = /*@__PURE__*/ (() => {
74932
74932
  return Base.getHashCodeStatic(this._a3) ^ (this._a8 << 16);
74933
74933
  }
74934
74934
  isSubsetReference(a) {
74935
- return this.containsReference(a);
74935
+ let b = typeCast(RefBase.$, ExcelCalcEngine.i(a));
74936
+ if (b == null || typeCast(NamedCalcReferenceBase.$, b) !== null) {
74937
+ return false;
74938
+ }
74939
+ let c = typeCast(CellCalcReference.$, b);
74940
+ if (c != null) {
74941
+ return this == c;
74942
+ }
74943
+ let d = CalcUtilities.l(b);
74944
+ for (let e = 0; e < d.count; e++) {
74945
+ let f = d.item(e);
74946
+ if (!f._u || f._k != this._a3 || f._v != this._a8) {
74947
+ return false;
74948
+ }
74949
+ }
74950
+ return d.count > 0;
74936
74951
  }
74937
74952
  _bf() {
74938
74953
  let a = this._t;
@@ -5,10 +5,9 @@ https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
7
  import { Base, typeCast, String_$type, markType } from "igniteui-webcomponents-core";
8
- import { MathUtilities } from "./MathUtilities";
9
- import { ExcelUtils } from "./ExcelUtils";
10
8
  import { ExcelCalcValue } from "./ExcelCalcValue";
11
9
  import { CalculationContext } from "./CalculationContext";
10
+ import { ExcelUtils } from "./ExcelUtils";
12
11
  import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
13
12
  import { stringIsNullOrEmpty, stringContains } from "igniteui-webcomponents-core";
14
13
  /**
@@ -72,7 +71,9 @@ export let UltraCalcConditionalFunctionBase_CriteriaEvaluator = /*@__PURE__*/ ((
72
71
  }
73
72
  this.f = g;
74
73
  let h;
75
- if (((() => { let i = MathUtilities.c(g.trim(), c, h); h = i.p2; return i.ret; })())) {
74
+ let i = new ExcelCalcValue(g.trim());
75
+ i._q = new CalculationContext(1, a, 64);
76
+ if (!i.isNull && ((() => { let j = i._toDouble1(h); h = j.p0; return j.ret; })())) {
76
77
  d = h;
77
78
  if (f == false) {
78
79
  this.f = null;
@@ -80,8 +81,8 @@ export let UltraCalcConditionalFunctionBase_CriteriaEvaluator = /*@__PURE__*/ ((
80
81
  }
81
82
  else {
82
83
  if (stringContains(g, "*") || stringContains(g, "?")) {
83
- let i;
84
- this.g = ((() => { let j = ExcelUtils.er(g, i); i = j.p1; return j.ret; })());
84
+ let j;
85
+ this.g = ((() => { let k = ExcelUtils.er(g, j); j = k.p1; return k.ret; })());
85
86
  }
86
87
  d = g;
87
88
  }
@@ -88060,7 +88060,22 @@ var CellCalcReference = /** @class */ /*@__PURE__*/ (function (_super) {
88060
88060
  return Base.getHashCodeStatic(this._a3) ^ (this._a8 << 16);
88061
88061
  };
88062
88062
  CellCalcReference.prototype.isSubsetReference = function (a) {
88063
- return this.containsReference(a);
88063
+ var b = typeCast(RefBase.$, ExcelCalcEngine.i(a));
88064
+ if (b == null || typeCast(NamedCalcReferenceBase.$, b) !== null) {
88065
+ return false;
88066
+ }
88067
+ var c = typeCast(CellCalcReference.$, b);
88068
+ if (c != null) {
88069
+ return this == c;
88070
+ }
88071
+ var d = CalcUtilities.l(b);
88072
+ for (var e = 0; e < d.count; e++) {
88073
+ var f = d.item(e);
88074
+ if (!f._u || f._k != this._a3 || f._v != this._a8) {
88075
+ return false;
88076
+ }
88077
+ }
88078
+ return d.count > 0;
88064
88079
  };
88065
88080
  CellCalcReference.prototype._bf = function () {
88066
88081
  var a = this._t;
@@ -6,10 +6,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
6
6
  */
7
7
  import { __extends } from "tslib";
8
8
  import { Base, typeCast, String_$type, markType } from "igniteui-webcomponents-core";
9
- import { MathUtilities } from "./MathUtilities";
10
- import { ExcelUtils } from "./ExcelUtils";
11
9
  import { ExcelCalcValue } from "./ExcelCalcValue";
12
10
  import { CalculationContext } from "./CalculationContext";
11
+ import { ExcelUtils } from "./ExcelUtils";
13
12
  import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
14
13
  import { stringIsNullOrEmpty, stringContains } from "igniteui-webcomponents-core";
15
14
  /**
@@ -73,7 +72,9 @@ var UltraCalcConditionalFunctionBase_CriteriaEvaluator = /** @class */ /*@__PURE
73
72
  }
74
73
  _this.f = g_1;
75
74
  var h_1;
76
- if (((function () { var i = MathUtilities.c(g_1.trim(), c, h_1); h_1 = i.p2; return i.ret; })())) {
75
+ var i_1 = new ExcelCalcValue(g_1.trim());
76
+ i_1._q = new CalculationContext(1, a, 64);
77
+ if (!i_1.isNull && ((function () { var j = i_1._toDouble1(h_1); h_1 = j.p0; return j.ret; })())) {
77
78
  d = h_1;
78
79
  if (f == false) {
79
80
  _this.f = null;
@@ -81,8 +82,8 @@ var UltraCalcConditionalFunctionBase_CriteriaEvaluator = /** @class */ /*@__PURE
81
82
  }
82
83
  else {
83
84
  if (stringContains(g_1, "*") || stringContains(g_1, "?")) {
84
- var i_1;
85
- _this.g = ((function () { var j = ExcelUtils.er(g_1, i_1); i_1 = j.p1; return j.ret; })());
85
+ var j_1;
86
+ _this.g = ((function () { var k = ExcelUtils.er(g_1, j_1); j_1 = k.p1; return k.ret; })());
86
87
  }
87
88
  d = g_1;
88
89
  }
@@ -132157,7 +132157,22 @@ let CellCalcReference = /*@__PURE__*/ (() => {
132157
132157
  return Base.getHashCodeStatic(this._a3) ^ (this._a8 << 16);
132158
132158
  }
132159
132159
  isSubsetReference(a) {
132160
- return this.containsReference(a);
132160
+ let b = typeCast(RefBase.$, ExcelCalcEngine.i(a));
132161
+ if (b == null || typeCast(NamedCalcReferenceBase.$, b) !== null) {
132162
+ return false;
132163
+ }
132164
+ let c = typeCast(CellCalcReference.$, b);
132165
+ if (c != null) {
132166
+ return this == c;
132167
+ }
132168
+ let d = CalcUtilities.l(b);
132169
+ for (let e = 0; e < d.count; e++) {
132170
+ let f = d.item(e);
132171
+ if (!f._u || f._k != this._a3 || f._v != this._a8) {
132172
+ return false;
132173
+ }
132174
+ }
132175
+ return d.count > 0;
132161
132176
  }
132162
132177
  _bf() {
132163
132178
  let a = this._t;
@@ -207043,7 +207058,9 @@ let UltraCalcConditionalFunctionBase_CriteriaEvaluator = /*@__PURE__*/ (() => {
207043
207058
  }
207044
207059
  this.f = g;
207045
207060
  let h;
207046
- if (((() => { let i = MathUtilities.c(g.trim(), c, h); h = i.p2; return i.ret; })())) {
207061
+ let i = new ExcelCalcValue(g.trim());
207062
+ i._q = new CalculationContext(1, a, 64);
207063
+ if (!i.isNull && ((() => { let j = i._toDouble1(h); h = j.p0; return j.ret; })())) {
207047
207064
  d = h;
207048
207065
  if (f == false) {
207049
207066
  this.f = null;
@@ -207051,8 +207068,8 @@ let UltraCalcConditionalFunctionBase_CriteriaEvaluator = /*@__PURE__*/ (() => {
207051
207068
  }
207052
207069
  else {
207053
207070
  if (stringContains(g, "*") || stringContains(g, "?")) {
207054
- let i;
207055
- this.g = ((() => { let j = ExcelUtils.er(g, i); i = j.p1; return j.ret; })());
207071
+ let j;
207072
+ this.g = ((() => { let k = ExcelUtils.er(g, j); j = k.p1; return k.ret; })());
207056
207073
  }
207057
207074
  d = g;
207058
207075
  }
@@ -154164,7 +154164,22 @@ var CellCalcReference = /** @class */ /*@__PURE__*/ (function (_super) {
154164
154164
  return Base.getHashCodeStatic(this._a3) ^ (this._a8 << 16);
154165
154165
  };
154166
154166
  CellCalcReference.prototype.isSubsetReference = function (a) {
154167
- return this.containsReference(a);
154167
+ var b = typeCast(RefBase.$, ExcelCalcEngine.i(a));
154168
+ if (b == null || typeCast(NamedCalcReferenceBase.$, b) !== null) {
154169
+ return false;
154170
+ }
154171
+ var c = typeCast(CellCalcReference.$, b);
154172
+ if (c != null) {
154173
+ return this == c;
154174
+ }
154175
+ var d = CalcUtilities.l(b);
154176
+ for (var e = 0; e < d.count; e++) {
154177
+ var f = d.item(e);
154178
+ if (!f._u || f._k != this._a3 || f._v != this._a8) {
154179
+ return false;
154180
+ }
154181
+ }
154182
+ return d.count > 0;
154168
154183
  };
154169
154184
  CellCalcReference.prototype._bf = function () {
154170
154185
  var a = this._t;
@@ -244397,7 +244412,9 @@ var UltraCalcConditionalFunctionBase_CriteriaEvaluator = /** @class */ /*@__PURE
244397
244412
  }
244398
244413
  _this.f = g_1;
244399
244414
  var h_1;
244400
- if (((function () { var i = MathUtilities.c(g_1.trim(), c, h_1); h_1 = i.p2; return i.ret; })())) {
244415
+ var i_1 = new ExcelCalcValue(g_1.trim());
244416
+ i_1._q = new CalculationContext(1, a, 64);
244417
+ if (!i_1.isNull && ((function () { var j = i_1._toDouble1(h_1); h_1 = j.p0; return j.ret; })())) {
244401
244418
  d = h_1;
244402
244419
  if (f == false) {
244403
244420
  _this.f = null;
@@ -244405,8 +244422,8 @@ var UltraCalcConditionalFunctionBase_CriteriaEvaluator = /** @class */ /*@__PURE
244405
244422
  }
244406
244423
  else {
244407
244424
  if (stringContains(g_1, "*") || stringContains(g_1, "?")) {
244408
- var i_1;
244409
- _this.g = ((function () { var j = ExcelUtils.er(g_1, i_1); i_1 = j.p1; return j.ret; })());
244425
+ var j_1;
244426
+ _this.g = ((function () { var k = ExcelUtils.er(g_1, j_1); j_1 = k.p1; return k.ret; })());
244410
244427
  }
244411
244428
  d = g_1;
244412
244429
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-excel",
3
- "version": "4.7.2",
3
+ "version": "4.8.1-alpha.0",
4
4
  "description": "Ignite UI Web Components excel component for creating, loading and saving Microsoft Excel workbooks for modern web apps.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-excel",
6
6
  "keywords": [
@@ -19,7 +19,7 @@
19
19
  "tslib": "^2.3.1"
20
20
  },
21
21
  "peerDependencies": {
22
- "igniteui-webcomponents-core": "4.7.2"
22
+ "igniteui-webcomponents-core": "4.8.1-alpha.0"
23
23
  },
24
24
  "sideEffects": false,
25
25
  "typings": "igniteui-webcomponents-excel.d.ts",