igniteui-webcomponents-excel 4.7.2-beta.0 → 4.7.2-beta.1
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/bundles/igniteui-webcomponents-excel.umd.js +346 -295
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/DefaultStyleHelper_combined.js +328 -285
- package/esm2015/lib/Formula_VisitWorksheetVisitor.js +7 -0
- package/esm2015/lib/UltraCalcFunctionFormulaText.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +5 -5
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +4 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/DefaultStyleHelper_combined.js +329 -285
- package/esm5/lib/Formula_VisitWorksheetVisitor.js +7 -0
- package/esm5/lib/UltraCalcFunctionFormulaText.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +5 -5
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +4 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-excel.js +346 -296
- package/fesm5/igniteui-webcomponents-excel.js +346 -296
- package/lib/DefaultStyleHelper_combined.d.ts +67 -50
- package/lib/Formula_VisitWorksheetVisitor.d.ts +1 -0
- package/package.json +2 -2
- package/public_api.d.ts +1 -0
|
@@ -4456,8 +4456,8 @@ var ExcelUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
try {
|
|
4458
4458
|
var t = new TempCellCalcReference(true, b, new WorksheetCellAddress(1, c, d));
|
|
4459
|
-
l.
|
|
4460
|
-
var u = l.
|
|
4459
|
+
l._cz(t, k);
|
|
4460
|
+
var u = l._cg(k, t, false);
|
|
4461
4461
|
var v = typeCast(RefBase.$, u.toReference());
|
|
4462
4462
|
if (v != null) {
|
|
4463
4463
|
var w = v._am();
|
|
@@ -8007,7 +8007,7 @@ var Workbook = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
8007
8007
|
continue;
|
|
8008
8008
|
}
|
|
8009
8009
|
var r = q._formula;
|
|
8010
|
-
if (r != null && r.
|
|
8010
|
+
if (r != null && r._cl) {
|
|
8011
8011
|
a(e, r._i);
|
|
8012
8012
|
}
|
|
8013
8013
|
}
|
|
@@ -24510,14 +24510,14 @@ var Formula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24510
24510
|
var q = void 0;
|
|
24511
24511
|
var r = typeCast(CellCalcReference.$, p);
|
|
24512
24512
|
if (r != null) {
|
|
24513
|
-
if (r._t != n.
|
|
24513
|
+
if (r._t != n._ci._t) {
|
|
24514
24514
|
continue;
|
|
24515
24515
|
}
|
|
24516
24516
|
q = r._w._a7(r._ao)._di;
|
|
24517
24517
|
}
|
|
24518
24518
|
else {
|
|
24519
24519
|
var s = p._am();
|
|
24520
|
-
if (s == null || s.count == 0 || s.item(0).worksheet.workbook != n.
|
|
24520
|
+
if (s == null || s.count == 0 || s.item(0).worksheet.workbook != n._ci._t) {
|
|
24521
24521
|
continue;
|
|
24522
24522
|
}
|
|
24523
24523
|
var t = s.item(0);
|
|
@@ -24979,6 +24979,13 @@ var Formula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24979
24979
|
}
|
|
24980
24980
|
this._ac = true;
|
|
24981
24981
|
};
|
|
24982
|
+
/**
|
|
24983
|
+
* @hidden
|
|
24984
|
+
*/
|
|
24985
|
+
Formula.prototype._cc = function (a) {
|
|
24986
|
+
var b = new FormulaContext(1, this._y, this);
|
|
24987
|
+
Formula_VisitWorksheetVisitor.a2(b, a);
|
|
24988
|
+
};
|
|
24982
24989
|
/**
|
|
24983
24990
|
* @hidden
|
|
24984
24991
|
*/
|
|
@@ -25635,39 +25642,39 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25635
25642
|
var c = _rest[0];
|
|
25636
25643
|
var d = _rest[1];
|
|
25637
25644
|
_this = _super.call(this, 0, c, d) || this;
|
|
25638
|
-
_this.
|
|
25639
|
-
_this.
|
|
25640
|
-
_this.
|
|
25645
|
+
_this._cd = null;
|
|
25646
|
+
_this._cj = null;
|
|
25647
|
+
_this._cm = null;
|
|
25648
|
+
_this._co = 0;
|
|
25641
25649
|
_this._cn = 0;
|
|
25642
|
-
_this.
|
|
25643
|
-
_this.
|
|
25644
|
-
_this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
25650
|
+
_this._ch = null;
|
|
25651
|
+
_this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
25645
25652
|
}
|
|
25646
25653
|
break;
|
|
25647
25654
|
case 1:
|
|
25648
25655
|
{
|
|
25649
25656
|
var c = _rest[0];
|
|
25650
25657
|
_this = _super.call(this, 1, c) || this;
|
|
25651
|
-
_this.
|
|
25652
|
-
_this.
|
|
25653
|
-
_this.
|
|
25658
|
+
_this._cd = null;
|
|
25659
|
+
_this._cj = null;
|
|
25660
|
+
_this._cm = null;
|
|
25661
|
+
_this._co = 0;
|
|
25654
25662
|
_this._cn = 0;
|
|
25655
|
-
_this.
|
|
25656
|
-
_this.
|
|
25657
|
-
_this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
25663
|
+
_this._ch = null;
|
|
25664
|
+
_this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
25658
25665
|
}
|
|
25659
25666
|
break;
|
|
25660
25667
|
case 2:
|
|
25661
25668
|
{
|
|
25662
25669
|
var c = _rest[0];
|
|
25663
25670
|
_this = _super.call(this, 2, c) || this;
|
|
25664
|
-
_this.
|
|
25665
|
-
_this.
|
|
25666
|
-
_this.
|
|
25671
|
+
_this._cd = null;
|
|
25672
|
+
_this._cj = null;
|
|
25673
|
+
_this._cm = null;
|
|
25674
|
+
_this._co = 0;
|
|
25667
25675
|
_this._cn = 0;
|
|
25668
|
-
_this.
|
|
25669
|
-
_this.
|
|
25670
|
-
_this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
25676
|
+
_this._ch = null;
|
|
25677
|
+
_this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
25671
25678
|
}
|
|
25672
25679
|
break;
|
|
25673
25680
|
case 3:
|
|
@@ -25675,13 +25682,13 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25675
25682
|
var c = _rest[0];
|
|
25676
25683
|
var d = _rest[1];
|
|
25677
25684
|
_this = _super.call(this, 3, c, d) || this;
|
|
25678
|
-
_this.
|
|
25679
|
-
_this.
|
|
25680
|
-
_this.
|
|
25685
|
+
_this._cd = null;
|
|
25686
|
+
_this._cj = null;
|
|
25687
|
+
_this._cm = null;
|
|
25688
|
+
_this._co = 0;
|
|
25681
25689
|
_this._cn = 0;
|
|
25682
|
-
_this.
|
|
25683
|
-
_this.
|
|
25684
|
-
_this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
25690
|
+
_this._ch = null;
|
|
25691
|
+
_this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
25685
25692
|
}
|
|
25686
25693
|
break;
|
|
25687
25694
|
}
|
|
@@ -25689,7 +25696,7 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25689
25696
|
}
|
|
25690
25697
|
SingleTargetFormula.prototype.addDynamicReferenceI = function (a) {
|
|
25691
25698
|
var b = null;
|
|
25692
|
-
var c = this.
|
|
25699
|
+
var c = this._ci._t;
|
|
25693
25700
|
if (c != null) {
|
|
25694
25701
|
b = c._w;
|
|
25695
25702
|
}
|
|
@@ -25697,7 +25704,7 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25697
25704
|
};
|
|
25698
25705
|
Object.defineProperty(SingleTargetFormula.prototype, "baseReference", {
|
|
25699
25706
|
get: function () {
|
|
25700
|
-
return this.
|
|
25707
|
+
return this._ci;
|
|
25701
25708
|
},
|
|
25702
25709
|
enumerable: false,
|
|
25703
25710
|
configurable: true
|
|
@@ -25710,7 +25717,7 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25710
25717
|
configurable: true
|
|
25711
25718
|
});
|
|
25712
25719
|
SingleTargetFormula.prototype.evaluate = function (a) {
|
|
25713
|
-
return this.
|
|
25720
|
+
return this._cg(this._ci._t, a, false);
|
|
25714
25721
|
};
|
|
25715
25722
|
Object.defineProperty(SingleTargetFormula.prototype, "formulaString", {
|
|
25716
25723
|
get: function () {
|
|
@@ -25727,17 +25734,17 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25727
25734
|
configurable: true
|
|
25728
25735
|
});
|
|
25729
25736
|
SingleTargetFormula.prototype.getEnumerator = function () {
|
|
25730
|
-
return this.
|
|
25737
|
+
return this._cm.getEnumerator();
|
|
25731
25738
|
};
|
|
25732
25739
|
SingleTargetFormula.prototype.getEnumeratorObject = function () {
|
|
25733
|
-
return this.
|
|
25740
|
+
return this._cm.getEnumerator();
|
|
25734
25741
|
};
|
|
25735
25742
|
SingleTargetFormula.prototype._g = function () {
|
|
25736
25743
|
return new SingleTargetFormula(3, this, false);
|
|
25737
25744
|
};
|
|
25738
25745
|
SingleTargetFormula.prototype.get__z = function () {
|
|
25739
|
-
if (this.
|
|
25740
|
-
var a = this.
|
|
25746
|
+
if (this._ch != null) {
|
|
25747
|
+
var a = this._ch._t;
|
|
25741
25748
|
if (a != null) {
|
|
25742
25749
|
return a.currentFormat;
|
|
25743
25750
|
}
|
|
@@ -25748,11 +25755,11 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25748
25755
|
_super.prototype.set__z.call(this, a);
|
|
25749
25756
|
};
|
|
25750
25757
|
SingleTargetFormula.prototype.get__bb = function () {
|
|
25751
|
-
var a = typeCast(CellCalcReference.$, this.
|
|
25758
|
+
var a = typeCast(CellCalcReference.$, this._ch);
|
|
25752
25759
|
if (a != null) {
|
|
25753
25760
|
return a._ao;
|
|
25754
25761
|
}
|
|
25755
|
-
var b = typeCast(TempCellCalcReference.$, this.
|
|
25762
|
+
var b = typeCast(TempCellCalcReference.$, this._ch);
|
|
25756
25763
|
if (b != null) {
|
|
25757
25764
|
return b._ao;
|
|
25758
25765
|
}
|
|
@@ -25766,11 +25773,11 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25766
25773
|
configurable: true
|
|
25767
25774
|
});
|
|
25768
25775
|
SingleTargetFormula.prototype.get__ab = function () {
|
|
25769
|
-
var a = typeCast(CellCalcReference.$, this.
|
|
25776
|
+
var a = typeCast(CellCalcReference.$, this._ch);
|
|
25770
25777
|
if (a != null) {
|
|
25771
25778
|
return a._w;
|
|
25772
25779
|
}
|
|
25773
|
-
var b = typeCast(TempCellCalcReference.$, this.
|
|
25780
|
+
var b = typeCast(TempCellCalcReference.$, this._ch);
|
|
25774
25781
|
if (b != null && b._as >= 0) {
|
|
25775
25782
|
var c = b._u;
|
|
25776
25783
|
if (c != null) {
|
|
@@ -25787,11 +25794,11 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25787
25794
|
configurable: true
|
|
25788
25795
|
});
|
|
25789
25796
|
SingleTargetFormula.prototype.get__aa = function () {
|
|
25790
|
-
var a = typeCast(CellCalcReference.$, this.
|
|
25797
|
+
var a = typeCast(CellCalcReference.$, this._ch);
|
|
25791
25798
|
if (a != null) {
|
|
25792
25799
|
return new WorksheetCellAddress(1, a._w.index, a._ao);
|
|
25793
25800
|
}
|
|
25794
|
-
var b = typeCast(TempCellCalcReference.$, this.
|
|
25801
|
+
var b = typeCast(TempCellCalcReference.$, this._ch);
|
|
25795
25802
|
if (b != null) {
|
|
25796
25803
|
return new WorksheetCellAddress(1, b._as, b._ao);
|
|
25797
25804
|
}
|
|
@@ -25805,15 +25812,15 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25805
25812
|
configurable: true
|
|
25806
25813
|
});
|
|
25807
25814
|
SingleTargetFormula.prototype._b7 = function () {
|
|
25808
|
-
if (this.
|
|
25809
|
-
this.
|
|
25815
|
+
if (this._ch != null && this._ch._formula == this && this._ab != null) {
|
|
25816
|
+
this._ch._a0(this, false, true);
|
|
25810
25817
|
}
|
|
25811
25818
|
};
|
|
25812
25819
|
SingleTargetFormula.prototype.get__y = function () {
|
|
25813
|
-
return this.
|
|
25820
|
+
return this._ch != null ? this._ch._t : null;
|
|
25814
25821
|
};
|
|
25815
25822
|
SingleTargetFormula.prototype.get__t = function () {
|
|
25816
|
-
return this.
|
|
25823
|
+
return this._ch != null ? this._ch._r : null;
|
|
25817
25824
|
};
|
|
25818
25825
|
Object.defineProperty(SingleTargetFormula.prototype, "_t", {
|
|
25819
25826
|
get: function () {
|
|
@@ -25831,18 +25838,18 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25831
25838
|
return false;
|
|
25832
25839
|
}
|
|
25833
25840
|
var e;
|
|
25834
|
-
for (e = 0; e < this.
|
|
25835
|
-
if (this.
|
|
25841
|
+
for (e = 0; e < this._co; e++) {
|
|
25842
|
+
if (this._cm._inner[e].isSubsetReference(d)) {
|
|
25836
25843
|
return false;
|
|
25837
25844
|
}
|
|
25838
25845
|
}
|
|
25839
|
-
var f = e + this.
|
|
25846
|
+
var f = e + this._cn;
|
|
25840
25847
|
for (; e < f; e++) {
|
|
25841
|
-
if (this.
|
|
25842
|
-
var g = this.
|
|
25843
|
-
if (!this.
|
|
25844
|
-
if (c && Base.equalsStatic(this.
|
|
25845
|
-
this.
|
|
25848
|
+
if (this._cm._inner[e].isSubsetReference(d)) {
|
|
25849
|
+
var g = this._cr(e);
|
|
25850
|
+
if (!this._cj.b(g)) {
|
|
25851
|
+
if (c && Base.equalsStatic(this._cm._inner[e], d)) {
|
|
25852
|
+
this._cy(g);
|
|
25846
25853
|
}
|
|
25847
25854
|
else {
|
|
25848
25855
|
continue;
|
|
@@ -25853,48 +25860,48 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25853
25860
|
}
|
|
25854
25861
|
var h = typeCast(CellCalcReference.$, d);
|
|
25855
25862
|
if (c) {
|
|
25856
|
-
this.
|
|
25857
|
-
this.
|
|
25858
|
-
this.
|
|
25863
|
+
this._cu(a, this._co + this._cn);
|
|
25864
|
+
this._cn++;
|
|
25865
|
+
this._cy(this._cn - 1);
|
|
25859
25866
|
}
|
|
25860
25867
|
else if (h != null) {
|
|
25861
|
-
var i = this.
|
|
25868
|
+
var i = this._cp(h);
|
|
25862
25869
|
if (0 <= i) {
|
|
25863
|
-
this.
|
|
25870
|
+
this._cy(this._cr(i));
|
|
25864
25871
|
return false;
|
|
25865
25872
|
}
|
|
25866
|
-
var j = this.
|
|
25867
|
-
this.
|
|
25873
|
+
var j = this._cu(h, ~i);
|
|
25874
|
+
this._cy(j);
|
|
25868
25875
|
}
|
|
25869
25876
|
else {
|
|
25870
|
-
var k = this.
|
|
25877
|
+
var k = this._cm.count;
|
|
25871
25878
|
for (var l = 0; e < k; e++, l++) {
|
|
25872
|
-
var m = this.
|
|
25879
|
+
var m = this._cm._inner[e];
|
|
25873
25880
|
if (typeCast(CellCalcReference.$, m) !== null) {
|
|
25874
25881
|
continue;
|
|
25875
25882
|
}
|
|
25876
25883
|
if (Base.equalsStatic(m, d)) {
|
|
25877
|
-
this.
|
|
25884
|
+
this._cy(l);
|
|
25878
25885
|
return false;
|
|
25879
25886
|
}
|
|
25880
25887
|
}
|
|
25881
|
-
var n = this.
|
|
25882
|
-
this.
|
|
25883
|
-
this.
|
|
25888
|
+
var n = this._cr(this._cm.count);
|
|
25889
|
+
this._cm.add(d);
|
|
25890
|
+
this._cy(n);
|
|
25884
25891
|
}
|
|
25885
25892
|
if (b != null) {
|
|
25886
|
-
b.ah(d, this.
|
|
25893
|
+
b.ah(d, this._ch);
|
|
25887
25894
|
}
|
|
25888
25895
|
else {
|
|
25889
25896
|
}
|
|
25890
25897
|
return true;
|
|
25891
25898
|
};
|
|
25892
|
-
SingleTargetFormula.prototype.
|
|
25893
|
-
var b = this.
|
|
25894
|
-
var c = this.
|
|
25899
|
+
SingleTargetFormula.prototype._cp = function (a) {
|
|
25900
|
+
var b = this._ct(this._cn);
|
|
25901
|
+
var c = this._cm.count - 1;
|
|
25895
25902
|
while (b <= c) {
|
|
25896
25903
|
var d = b + (intDivide((c - b), 2));
|
|
25897
|
-
var e = SingleTargetFormula.
|
|
25904
|
+
var e = SingleTargetFormula._cq(a, typeCast(CellCalcReference.$, this._cm._inner[d]));
|
|
25898
25905
|
if (e == 0) {
|
|
25899
25906
|
return d;
|
|
25900
25907
|
}
|
|
@@ -25907,25 +25914,25 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25907
25914
|
}
|
|
25908
25915
|
return ~b;
|
|
25909
25916
|
};
|
|
25910
|
-
SingleTargetFormula.prototype.
|
|
25911
|
-
var b = this.
|
|
25912
|
-
if (this.
|
|
25917
|
+
SingleTargetFormula.prototype._cv = function (a) {
|
|
25918
|
+
var b = this._cs();
|
|
25919
|
+
if (this._cj == null || b == 0) {
|
|
25913
25920
|
return;
|
|
25914
25921
|
}
|
|
25915
25922
|
for (var c = b - 1; c >= 0; c--) {
|
|
25916
|
-
if (this.
|
|
25917
|
-
if (c < this.
|
|
25918
|
-
this.
|
|
25923
|
+
if (this._cj.b(c) == false) {
|
|
25924
|
+
if (c < this._cn) {
|
|
25925
|
+
this._cn--;
|
|
25919
25926
|
}
|
|
25920
|
-
var d = this.
|
|
25921
|
-
var e = this.
|
|
25922
|
-
this.
|
|
25923
|
-
a.a0(e, this.
|
|
25927
|
+
var d = this._ct(c);
|
|
25928
|
+
var e = this._cm._inner[d];
|
|
25929
|
+
this._cm.removeAt(d);
|
|
25930
|
+
a.a0(e, this._ch);
|
|
25924
25931
|
}
|
|
25925
25932
|
}
|
|
25926
|
-
this.
|
|
25933
|
+
this._cj.h(false);
|
|
25927
25934
|
};
|
|
25928
|
-
SingleTargetFormula.
|
|
25935
|
+
SingleTargetFormula._cq = function (a, b) {
|
|
25929
25936
|
if (a == b) {
|
|
25930
25937
|
return 0;
|
|
25931
25938
|
}
|
|
@@ -25942,32 +25949,32 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25942
25949
|
}
|
|
25943
25950
|
return b._u._am - a._u._am;
|
|
25944
25951
|
};
|
|
25945
|
-
SingleTargetFormula.prototype.
|
|
25946
|
-
if (this.
|
|
25947
|
-
this.
|
|
25952
|
+
SingleTargetFormula.prototype._cw = function (a) {
|
|
25953
|
+
if (this._cj == null) {
|
|
25954
|
+
this._cj = new SingleTargetFormula_SimpleBitArray(a + 1, false);
|
|
25948
25955
|
}
|
|
25949
|
-
else if (this.
|
|
25950
|
-
this.
|
|
25956
|
+
else if (this._cj.f <= a) {
|
|
25957
|
+
this._cj.f = Math.max(a + 1, this._cj.f * 2);
|
|
25951
25958
|
}
|
|
25952
25959
|
};
|
|
25953
25960
|
SingleTargetFormula.prototype.evaluateCore = function (a) {
|
|
25954
|
-
if (this.
|
|
25961
|
+
if (this._ch._aj) {
|
|
25955
25962
|
return null;
|
|
25956
25963
|
}
|
|
25957
|
-
return this.
|
|
25964
|
+
return this._cg(a, this._ch, false);
|
|
25958
25965
|
};
|
|
25959
|
-
SingleTargetFormula.prototype.
|
|
25966
|
+
SingleTargetFormula.prototype._cg = function (a, b, c) {
|
|
25960
25967
|
if (this._am) {
|
|
25961
|
-
return this.
|
|
25968
|
+
return this._cd;
|
|
25962
25969
|
}
|
|
25963
|
-
if (this.
|
|
25970
|
+
if (this._ci._ai) {
|
|
25964
25971
|
return new ExcelCalcValue(new ExcelCalcErrorValue(7));
|
|
25965
25972
|
}
|
|
25966
25973
|
try {
|
|
25967
25974
|
var d = new ExcelCalcNumberStack(b, this);
|
|
25968
25975
|
d._u = c;
|
|
25969
25976
|
var e = void 0;
|
|
25970
|
-
if (this.
|
|
25977
|
+
if (this._ch == b) {
|
|
25971
25978
|
e = new FormulaContext(1, a, this._i);
|
|
25972
25979
|
}
|
|
25973
25980
|
else {
|
|
@@ -25985,7 +25992,7 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25985
25992
|
}
|
|
25986
25993
|
}
|
|
25987
25994
|
}
|
|
25988
|
-
var h = FormulaEvaluator.a5(e, this.
|
|
25995
|
+
var h = FormulaEvaluator.a5(e, this._ci, d);
|
|
25989
25996
|
h.h();
|
|
25990
25997
|
if (d.count() == 0) {
|
|
25991
25998
|
return new ExcelCalcValue(new ExcelCalcErrorValue(1));
|
|
@@ -26000,44 +26007,44 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26000
26007
|
return new ExcelCalcValue(j);
|
|
26001
26008
|
}
|
|
26002
26009
|
};
|
|
26003
|
-
SingleTargetFormula.prototype.
|
|
26004
|
-
return this.
|
|
26010
|
+
SingleTargetFormula.prototype._cs = function () {
|
|
26011
|
+
return this._cm.count - this._co;
|
|
26005
26012
|
};
|
|
26006
|
-
SingleTargetFormula.prototype.
|
|
26007
|
-
return a - this.
|
|
26013
|
+
SingleTargetFormula.prototype._cr = function (a) {
|
|
26014
|
+
return a - this._co;
|
|
26008
26015
|
};
|
|
26009
|
-
SingleTargetFormula.prototype.
|
|
26010
|
-
return a + this.
|
|
26016
|
+
SingleTargetFormula.prototype._ct = function (a) {
|
|
26017
|
+
return a + this._co;
|
|
26011
26018
|
};
|
|
26012
|
-
SingleTargetFormula.prototype.
|
|
26019
|
+
SingleTargetFormula.prototype._cx = function (a) {
|
|
26013
26020
|
this._b6(a);
|
|
26014
26021
|
var b = new FormulaContext(1, a, this);
|
|
26015
26022
|
var c = SingleTargetFormula_StaticReferenceFinder.a3(b, this);
|
|
26016
26023
|
c.h();
|
|
26017
26024
|
};
|
|
26018
|
-
SingleTargetFormula.prototype.
|
|
26019
|
-
var c = this.
|
|
26020
|
-
if (this.
|
|
26021
|
-
var d = this.
|
|
26022
|
-
this.
|
|
26023
|
-
this.
|
|
26025
|
+
SingleTargetFormula.prototype._cu = function (a, b) {
|
|
26026
|
+
var c = this._cr(b);
|
|
26027
|
+
if (this._cj != null) {
|
|
26028
|
+
var d = this._cs();
|
|
26029
|
+
this._cw(d);
|
|
26030
|
+
this._cj.i(c);
|
|
26024
26031
|
}
|
|
26025
|
-
this.
|
|
26032
|
+
this._cm.insert(b, a);
|
|
26026
26033
|
return c;
|
|
26027
26034
|
};
|
|
26028
|
-
SingleTargetFormula.prototype.
|
|
26029
|
-
this.
|
|
26030
|
-
this.
|
|
26035
|
+
SingleTargetFormula.prototype._cy = function (a) {
|
|
26036
|
+
this._cw(a);
|
|
26037
|
+
this._cj.g(a, true);
|
|
26031
26038
|
};
|
|
26032
|
-
SingleTargetFormula.prototype.
|
|
26039
|
+
SingleTargetFormula.prototype._cz = function (a, b, c) {
|
|
26033
26040
|
if (c === void 0) {
|
|
26034
26041
|
c = false;
|
|
26035
26042
|
}
|
|
26036
|
-
if (this.
|
|
26043
|
+
if (this._ch == a) {
|
|
26037
26044
|
return;
|
|
26038
26045
|
}
|
|
26039
|
-
var d = this.
|
|
26040
|
-
this.
|
|
26046
|
+
var d = this._ch;
|
|
26047
|
+
this._ch = a;
|
|
26041
26048
|
if (d != null) {
|
|
26042
26049
|
if (this._as) {
|
|
26043
26050
|
if (a == null && d._u != null && !c) {
|
|
@@ -26048,13 +26055,13 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26048
26055
|
this._bu();
|
|
26049
26056
|
}
|
|
26050
26057
|
}
|
|
26051
|
-
this.
|
|
26052
|
-
if (this.
|
|
26053
|
-
this.
|
|
26058
|
+
this._cm.clear();
|
|
26059
|
+
if (this._cj != null) {
|
|
26060
|
+
this._cj.h(false);
|
|
26054
26061
|
}
|
|
26055
|
-
if (this.
|
|
26062
|
+
if (this._ch != null) {
|
|
26056
26063
|
if (this._al == false) {
|
|
26057
|
-
this._b5(new FormulaContext(1, this.
|
|
26064
|
+
this._b5(new FormulaContext(1, this._ch._t, this));
|
|
26058
26065
|
}
|
|
26059
26066
|
if (this._i._aq == false) {
|
|
26060
26067
|
var e = new FormulaContext(1, b, this._i);
|
|
@@ -26062,20 +26069,20 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26062
26069
|
f.h();
|
|
26063
26070
|
}
|
|
26064
26071
|
}
|
|
26065
|
-
this.
|
|
26072
|
+
this._co = this._cm.count;
|
|
26066
26073
|
};
|
|
26067
|
-
Object.defineProperty(SingleTargetFormula.prototype, "
|
|
26074
|
+
Object.defineProperty(SingleTargetFormula.prototype, "_ce", {
|
|
26068
26075
|
get: function () {
|
|
26069
|
-
return this.
|
|
26076
|
+
return this._cd;
|
|
26070
26077
|
},
|
|
26071
26078
|
set: function (a) {
|
|
26072
|
-
if (this.
|
|
26073
|
-
this.
|
|
26074
|
-
if (this.
|
|
26079
|
+
if (this._ch != null && this._ch._ad) {
|
|
26080
|
+
this._ch._ad = false;
|
|
26081
|
+
if (this._cd != null && !this._ch._af) {
|
|
26075
26082
|
return;
|
|
26076
26083
|
}
|
|
26077
26084
|
}
|
|
26078
|
-
this.
|
|
26085
|
+
this._cd = a;
|
|
26079
26086
|
},
|
|
26080
26087
|
enumerable: false,
|
|
26081
26088
|
configurable: true
|
|
@@ -26087,19 +26094,19 @@ var SingleTargetFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26087
26094
|
enumerable: false,
|
|
26088
26095
|
configurable: true
|
|
26089
26096
|
});
|
|
26090
|
-
SingleTargetFormula.prototype.
|
|
26097
|
+
SingleTargetFormula.prototype.get__cl = function () {
|
|
26091
26098
|
return true;
|
|
26092
26099
|
};
|
|
26093
|
-
Object.defineProperty(SingleTargetFormula.prototype, "
|
|
26100
|
+
Object.defineProperty(SingleTargetFormula.prototype, "_cl", {
|
|
26094
26101
|
get: function () {
|
|
26095
|
-
return this.
|
|
26102
|
+
return this.get__cl();
|
|
26096
26103
|
},
|
|
26097
26104
|
enumerable: false,
|
|
26098
26105
|
configurable: true
|
|
26099
26106
|
});
|
|
26100
|
-
Object.defineProperty(SingleTargetFormula.prototype, "
|
|
26107
|
+
Object.defineProperty(SingleTargetFormula.prototype, "_ci", {
|
|
26101
26108
|
get: function () {
|
|
26102
|
-
return this.
|
|
26109
|
+
return this._ch;
|
|
26103
26110
|
},
|
|
26104
26111
|
enumerable: false,
|
|
26105
26112
|
configurable: true
|
|
@@ -26969,7 +26976,7 @@ var ChartTextAreaBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26969
26976
|
*/
|
|
26970
26977
|
set: function (a) {
|
|
26971
26978
|
if (a != this._a4) {
|
|
26972
|
-
if (a != null && a.
|
|
26979
|
+
if (a != null && a._ci == null) {
|
|
26973
26980
|
ChartTextAreaBase._a6(this.sheet, a);
|
|
26974
26981
|
}
|
|
26975
26982
|
var b = this._r(ChartTextAreaBase.$, SingleTargetFormula.$, this, 2, this._a4, a);
|
|
@@ -27145,7 +27152,7 @@ var ChartTextAreaBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27145
27152
|
*/
|
|
27146
27153
|
ChartTextAreaBase.prototype.get_text = function () {
|
|
27147
27154
|
if (this._a4 != null) {
|
|
27148
|
-
var a = this._a4.
|
|
27155
|
+
var a = this._a4._cg(this.workbook, null, false);
|
|
27149
27156
|
if (!a.isError) {
|
|
27150
27157
|
var b = a.toString();
|
|
27151
27158
|
if (b != this._b1) {
|
|
@@ -27492,7 +27499,7 @@ var ChartTextAreaBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27492
27499
|
ChartTextAreaBase._a6 = function (a, b) {
|
|
27493
27500
|
if (b != null) {
|
|
27494
27501
|
var c = new TempCellCalcReference(true, a, new WorksheetCellAddress(1, 0, 0));
|
|
27495
|
-
b.
|
|
27502
|
+
b._cz(c, a.workbook);
|
|
27496
27503
|
}
|
|
27497
27504
|
return b;
|
|
27498
27505
|
};
|
|
@@ -38190,33 +38197,33 @@ var ArrayInteriorFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
38190
38197
|
__extends(ArrayInteriorFormula, _super);
|
|
38191
38198
|
function ArrayInteriorFormula(a) {
|
|
38192
38199
|
var _this = _super.call(this, 1, a) || this;
|
|
38193
|
-
_this.
|
|
38194
|
-
_this.
|
|
38200
|
+
_this._c0 = null;
|
|
38201
|
+
_this._c0 = a;
|
|
38195
38202
|
return _this;
|
|
38196
38203
|
}
|
|
38197
38204
|
Object.defineProperty(ArrayInteriorFormula.prototype, "owningValue", {
|
|
38198
38205
|
get: function () {
|
|
38199
|
-
return this.
|
|
38206
|
+
return this._c0;
|
|
38200
38207
|
},
|
|
38201
38208
|
enumerable: false,
|
|
38202
38209
|
configurable: true
|
|
38203
38210
|
});
|
|
38204
38211
|
ArrayInteriorFormula.prototype._g = function () {
|
|
38205
|
-
return new ArrayInteriorFormula(this.
|
|
38212
|
+
return new ArrayInteriorFormula(this._c0);
|
|
38206
38213
|
};
|
|
38207
38214
|
ArrayInteriorFormula.prototype.get__i = function () {
|
|
38208
|
-
return this.
|
|
38215
|
+
return this._c0;
|
|
38209
38216
|
};
|
|
38210
38217
|
ArrayInteriorFormula.prototype.get__ak = function () {
|
|
38211
38218
|
return true;
|
|
38212
38219
|
};
|
|
38213
|
-
ArrayInteriorFormula.prototype.
|
|
38214
|
-
var a = typeCast(CellCalcReference.$, this.
|
|
38215
|
-
return a != null && this.
|
|
38220
|
+
ArrayInteriorFormula.prototype.get__cl = function () {
|
|
38221
|
+
var a = typeCast(CellCalcReference.$, this._ci);
|
|
38222
|
+
return a != null && this._c0.cellRange != null && a._w.index == this._c0.cellRange.firstRow && a._ao == this._c0.cellRange._v;
|
|
38216
38223
|
};
|
|
38217
|
-
Object.defineProperty(ArrayInteriorFormula.prototype, "
|
|
38224
|
+
Object.defineProperty(ArrayInteriorFormula.prototype, "_c1", {
|
|
38218
38225
|
get: function () {
|
|
38219
|
-
return this.
|
|
38226
|
+
return this._c0;
|
|
38220
38227
|
},
|
|
38221
38228
|
enumerable: false,
|
|
38222
38229
|
configurable: true
|
|
@@ -38232,32 +38239,32 @@ var DataTableInteriorFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
38232
38239
|
__extends(DataTableInteriorFormula, _super);
|
|
38233
38240
|
function DataTableInteriorFormula(a) {
|
|
38234
38241
|
var _this = _super.call(this, 2, a) || this;
|
|
38235
|
-
_this.
|
|
38236
|
-
_this.
|
|
38237
|
-
_this.
|
|
38242
|
+
_this._c0 = null;
|
|
38243
|
+
_this._c0 = a;
|
|
38244
|
+
_this._ce = new ExcelCalcValue(0);
|
|
38238
38245
|
return _this;
|
|
38239
38246
|
}
|
|
38240
38247
|
Object.defineProperty(DataTableInteriorFormula.prototype, "owningValue", {
|
|
38241
38248
|
get: function () {
|
|
38242
|
-
return this.
|
|
38249
|
+
return this._c0;
|
|
38243
38250
|
},
|
|
38244
38251
|
enumerable: false,
|
|
38245
38252
|
configurable: true
|
|
38246
38253
|
});
|
|
38247
38254
|
DataTableInteriorFormula.prototype._g = function () {
|
|
38248
|
-
return new DataTableInteriorFormula(this.
|
|
38255
|
+
return new DataTableInteriorFormula(this._c0);
|
|
38249
38256
|
};
|
|
38250
38257
|
DataTableInteriorFormula.prototype.get__am = function () {
|
|
38251
38258
|
return true;
|
|
38252
38259
|
};
|
|
38253
|
-
DataTableInteriorFormula.prototype.
|
|
38254
|
-
var a = typeCast(CellCalcReference.$, this.
|
|
38255
|
-
var b = this.
|
|
38260
|
+
DataTableInteriorFormula.prototype.get__cl = function () {
|
|
38261
|
+
var a = typeCast(CellCalcReference.$, this._ci);
|
|
38262
|
+
var b = this._c0._h;
|
|
38256
38263
|
return a != null && b != null && a._w.index == b.firstRow && a._ao == b._v;
|
|
38257
38264
|
};
|
|
38258
|
-
Object.defineProperty(DataTableInteriorFormula.prototype, "
|
|
38265
|
+
Object.defineProperty(DataTableInteriorFormula.prototype, "_c1", {
|
|
38259
38266
|
get: function () {
|
|
38260
|
-
return this.
|
|
38267
|
+
return this._c0;
|
|
38261
38268
|
},
|
|
38262
38269
|
enumerable: false,
|
|
38263
38270
|
configurable: true
|
|
@@ -39210,7 +39217,7 @@ var WorksheetRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
39210
39217
|
if (c == null) {
|
|
39211
39218
|
return null;
|
|
39212
39219
|
}
|
|
39213
|
-
return c.
|
|
39220
|
+
return c._c1;
|
|
39214
39221
|
};
|
|
39215
39222
|
/**
|
|
39216
39223
|
* Gets the merged cells region which contains the cell at the specified index, or null if the cell is not merged.
|
|
@@ -39451,7 +39458,7 @@ var WorksheetRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
39451
39458
|
return null;
|
|
39452
39459
|
}
|
|
39453
39460
|
if (c._ak) {
|
|
39454
|
-
return c.
|
|
39461
|
+
return c._c1;
|
|
39455
39462
|
}
|
|
39456
39463
|
return c;
|
|
39457
39464
|
};
|
|
@@ -41623,7 +41630,7 @@ var WorksheetRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
41623
41630
|
if (b != null) {
|
|
41624
41631
|
b.addItem(new WorksheetCellAddress(1, this._cx, r._ao), s);
|
|
41625
41632
|
}
|
|
41626
|
-
if (s.
|
|
41633
|
+
if (s._cl) {
|
|
41627
41634
|
s._i._bu();
|
|
41628
41635
|
}
|
|
41629
41636
|
r._a0(null, false);
|
|
@@ -42377,10 +42384,10 @@ var WorksheetRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
42377
42384
|
if (g != null) {
|
|
42378
42385
|
if (g._ak) {
|
|
42379
42386
|
var h = g;
|
|
42380
|
-
if (!h.
|
|
42387
|
+
if (!h._cl) {
|
|
42381
42388
|
return;
|
|
42382
42389
|
}
|
|
42383
|
-
g = h.
|
|
42390
|
+
g = h._c1;
|
|
42384
42391
|
}
|
|
42385
42392
|
var i = this.worksheet._c;
|
|
42386
42393
|
g._ca(a, c, d, i, true);
|
|
@@ -43357,7 +43364,7 @@ var ConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
43357
43364
|
}
|
|
43358
43365
|
if (d != null) {
|
|
43359
43366
|
if (c != null) {
|
|
43360
|
-
d.
|
|
43367
|
+
d._cz(c, a);
|
|
43361
43368
|
}
|
|
43362
43369
|
var e_119 = d.evaluateCore(a);
|
|
43363
43370
|
if (e_119.isError || e_119.isNull) {
|
|
@@ -43380,9 +43387,9 @@ var ConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
43380
43387
|
d = new TempCellCalcReference(true, this.worksheet, new WorksheetCellAddress(1, b, c));
|
|
43381
43388
|
}
|
|
43382
43389
|
if (a._s != 7) {
|
|
43383
|
-
a.
|
|
43390
|
+
a._cz(d, this.workbook);
|
|
43384
43391
|
}
|
|
43385
|
-
var e_120 = a.
|
|
43392
|
+
var e_120 = a._cg(this.workbook, d, false);
|
|
43386
43393
|
if (false == e_120.isError && false == e_120.isNull) {
|
|
43387
43394
|
var f_5;
|
|
43388
43395
|
if (((function () { var g = e_120._toDouble1(f_5); f_5 = g.p0; return g.ret; })())) {
|
|
@@ -43663,7 +43670,7 @@ var ConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
43663
43670
|
if (a != null) {
|
|
43664
43671
|
var b = this._s();
|
|
43665
43672
|
var c = new TempCellCalcReference(true, this.worksheet, b);
|
|
43666
|
-
a.
|
|
43673
|
+
a._cz(c, this.workbook);
|
|
43667
43674
|
}
|
|
43668
43675
|
return a;
|
|
43669
43676
|
};
|
|
@@ -44130,16 +44137,16 @@ var ConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
44130
44137
|
*/
|
|
44131
44138
|
ConditionBase.prototype._bp = function (a, b, c, d, e) {
|
|
44132
44139
|
if (c != null) {
|
|
44133
|
-
var f = c.
|
|
44140
|
+
var f = c._ci;
|
|
44134
44141
|
if (f != null) {
|
|
44135
|
-
c.
|
|
44142
|
+
c._cz(null, this.workbook);
|
|
44136
44143
|
}
|
|
44137
44144
|
var g = c._toString1(1);
|
|
44138
44145
|
if (c._av(this.worksheet, d, 0)) {
|
|
44139
44146
|
a(this, b, g);
|
|
44140
44147
|
}
|
|
44141
44148
|
if (f != null) {
|
|
44142
|
-
c.
|
|
44149
|
+
c._cz(f, this.workbook);
|
|
44143
44150
|
}
|
|
44144
44151
|
}
|
|
44145
44152
|
return {
|
|
@@ -44221,7 +44228,7 @@ var ConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
44221
44228
|
ConditionBase.prototype._a3 = function (a, b) {
|
|
44222
44229
|
var c = b != null ? b._toString2(1, this.workbook._e6) : null;
|
|
44223
44230
|
b = this._o(a, toNullable(CellReferenceMode_$type, 1));
|
|
44224
|
-
if (b != null && b.
|
|
44231
|
+
if (b != null && b._ci == null) {
|
|
44225
44232
|
this._m(b);
|
|
44226
44233
|
}
|
|
44227
44234
|
return {
|
|
@@ -48452,7 +48459,7 @@ var Worksheet = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
48452
48459
|
var _loop_14 = function (ac) {
|
|
48453
48460
|
var ad = f._inner[ac];
|
|
48454
48461
|
var ae;
|
|
48455
|
-
if (((function () { var af = ad.
|
|
48462
|
+
if (((function () { var af = ad._cn(a, p_4, ae); ae = af.p2; return af.ret; })())) {
|
|
48456
48463
|
f.removeAt(ac);
|
|
48457
48464
|
ac--;
|
|
48458
48465
|
}
|
|
@@ -48799,7 +48806,7 @@ var Worksheet = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
48799
48806
|
try {
|
|
48800
48807
|
for (var _41 = __values(fromEnum(f)), _42 = _41.next(); !_42.done; _42 = _41.next()) {
|
|
48801
48808
|
var bc = _42.value;
|
|
48802
|
-
bc.
|
|
48809
|
+
bc._c2(a, c, g.item(bc));
|
|
48803
48810
|
}
|
|
48804
48811
|
}
|
|
48805
48812
|
catch (e_170_1) {
|
|
@@ -49277,7 +49284,7 @@ var Worksheet = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
49277
49284
|
var z = y.owningValue.blockedRegion;
|
|
49278
49285
|
var aa = typeCast(ArrayInteriorFormula.$, y);
|
|
49279
49286
|
if (aa != null) {
|
|
49280
|
-
if (a.s(ArrayFormula.$, e, b, aa.
|
|
49287
|
+
if (a.s(ArrayFormula.$, e, b, aa._c1, z._h) == false) {
|
|
49281
49288
|
return 6;
|
|
49282
49289
|
}
|
|
49283
49290
|
}
|
|
@@ -52554,7 +52561,7 @@ var WorksheetRegion = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
52554
52561
|
*/
|
|
52555
52562
|
WorksheetRegion.prototype.applyArrayFormula = function (value) {
|
|
52556
52563
|
this._ao();
|
|
52557
|
-
var a = ArrayFormula.
|
|
52564
|
+
var a = ArrayFormula._cj(value, this._e.workbook);
|
|
52558
52565
|
a._applyTo3(this);
|
|
52559
52566
|
};
|
|
52560
52567
|
/**
|
|
@@ -60552,14 +60559,14 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60552
60559
|
{
|
|
60553
60560
|
var c = _rest[0];
|
|
60554
60561
|
_this = _super.call(this, 0, c, 1) || this;
|
|
60555
|
-
_this.
|
|
60562
|
+
_this._cl = null;
|
|
60556
60563
|
}
|
|
60557
60564
|
break;
|
|
60558
60565
|
case 1:
|
|
60559
60566
|
{
|
|
60560
60567
|
var c = _rest[0];
|
|
60561
60568
|
_this = _super.call(this, 3, c, false) || this;
|
|
60562
|
-
_this.
|
|
60569
|
+
_this._cl = null;
|
|
60563
60570
|
}
|
|
60564
60571
|
break;
|
|
60565
60572
|
}
|
|
@@ -60587,17 +60594,17 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60587
60594
|
if (a.length != 1) {
|
|
60588
60595
|
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_ArrayFormulaMustHaveSingleRegion"), "regions");
|
|
60589
60596
|
}
|
|
60590
|
-
if (this.
|
|
60597
|
+
if (this._cl != null) {
|
|
60591
60598
|
throw new InvalidOperationException(1, ExcelUtils.eh("LE_InvalidOperationException_ArrayFormulaAlreadyApplied"));
|
|
60592
60599
|
}
|
|
60593
60600
|
var e = a[0];
|
|
60594
|
-
this.
|
|
60601
|
+
this._c0(e);
|
|
60595
60602
|
};
|
|
60596
60603
|
/**
|
|
60597
60604
|
* @hidden
|
|
60598
60605
|
*/
|
|
60599
60606
|
ArrayFormula.prototype._br = function (a, b, c) {
|
|
60600
|
-
this.
|
|
60607
|
+
this._c0(a.worksheet._cx(a.index, b, a.index, b));
|
|
60601
60608
|
};
|
|
60602
60609
|
/**
|
|
60603
60610
|
* @hidden
|
|
@@ -60609,8 +60616,8 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60609
60616
|
* @hidden
|
|
60610
60617
|
*/
|
|
60611
60618
|
ArrayFormula.prototype.get__z = function () {
|
|
60612
|
-
if (this.
|
|
60613
|
-
return this.
|
|
60619
|
+
if (this._cl != null && this._cl.worksheet != null) {
|
|
60620
|
+
return this._cl.worksheet._o;
|
|
60614
60621
|
}
|
|
60615
60622
|
return _super.prototype.get__z.call(this);
|
|
60616
60623
|
};
|
|
@@ -60630,7 +60637,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60630
60637
|
* @hidden
|
|
60631
60638
|
*/
|
|
60632
60639
|
ArrayFormula.prototype.get__bb = function () {
|
|
60633
|
-
return this.
|
|
60640
|
+
return this._cl != null ? this._cl._v : -1;
|
|
60634
60641
|
};
|
|
60635
60642
|
Object.defineProperty(ArrayFormula.prototype, "_bb", {
|
|
60636
60643
|
/**
|
|
@@ -60646,7 +60653,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60646
60653
|
* @hidden
|
|
60647
60654
|
*/
|
|
60648
60655
|
ArrayFormula.prototype.get__ab = function () {
|
|
60649
|
-
return this.
|
|
60656
|
+
return this._cl != null ? this._cl._k : null;
|
|
60650
60657
|
};
|
|
60651
60658
|
Object.defineProperty(ArrayFormula.prototype, "_ab", {
|
|
60652
60659
|
/**
|
|
@@ -60662,7 +60669,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60662
60669
|
* @hidden
|
|
60663
60670
|
*/
|
|
60664
60671
|
ArrayFormula.prototype.get__aa = function () {
|
|
60665
|
-
return this.
|
|
60672
|
+
return this._cl != null ? new WorksheetCellAddress(1, this._cl.firstRow, this._cl._v) : WorksheetCellAddress.b;
|
|
60666
60673
|
};
|
|
60667
60674
|
Object.defineProperty(ArrayFormula.prototype, "_aa", {
|
|
60668
60675
|
/**
|
|
@@ -60683,7 +60690,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60683
60690
|
* @hidden
|
|
60684
60691
|
*/
|
|
60685
60692
|
ArrayFormula.prototype.get__t = function () {
|
|
60686
|
-
return this.
|
|
60693
|
+
return this._cl != null ? this._cl.worksheet : null;
|
|
60687
60694
|
};
|
|
60688
60695
|
Object.defineProperty(ArrayFormula.prototype, "_t", {
|
|
60689
60696
|
/**
|
|
@@ -60724,7 +60731,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60724
60731
|
* @hidden
|
|
60725
60732
|
*/
|
|
60726
60733
|
get: function () {
|
|
60727
|
-
return this.
|
|
60734
|
+
return this._cl;
|
|
60728
60735
|
},
|
|
60729
60736
|
enumerable: false,
|
|
60730
60737
|
configurable: true
|
|
@@ -60736,12 +60743,12 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60736
60743
|
* </p>
|
|
60737
60744
|
*/
|
|
60738
60745
|
ArrayFormula.prototype.clearCellRange = function () {
|
|
60739
|
-
if (this.
|
|
60746
|
+
if (this._cl == null) {
|
|
60740
60747
|
return;
|
|
60741
60748
|
}
|
|
60742
60749
|
var a = this._t;
|
|
60743
|
-
var b = ArrayFormula.
|
|
60744
|
-
var c = this.
|
|
60750
|
+
var b = ArrayFormula._cd[1];
|
|
60751
|
+
var c = this._cl;
|
|
60745
60752
|
var d = new ArrayFormula_FormulaChangeContext(1, this, c);
|
|
60746
60753
|
var e = a != null ? a.workbook : null;
|
|
60747
60754
|
var f = null;
|
|
@@ -60752,14 +60759,14 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60752
60759
|
e._df = true;
|
|
60753
60760
|
}
|
|
60754
60761
|
if (a != null) {
|
|
60755
|
-
for (var h = this.
|
|
60762
|
+
for (var h = this._cl.lastRow; h >= this._cl.firstRow; h--) {
|
|
60756
60763
|
var i = a._rows$i.item(h);
|
|
60757
|
-
for (var j = this.
|
|
60764
|
+
for (var j = this._cl._w; j >= this._cl._v; j--) {
|
|
60758
60765
|
i._d6(j, null, false);
|
|
60759
60766
|
}
|
|
60760
60767
|
}
|
|
60761
60768
|
}
|
|
60762
|
-
this.
|
|
60769
|
+
this._cl = null;
|
|
60763
60770
|
if (e != null) {
|
|
60764
60771
|
e._df = g;
|
|
60765
60772
|
}
|
|
@@ -60771,7 +60778,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60771
60778
|
/**
|
|
60772
60779
|
* @hidden
|
|
60773
60780
|
*/
|
|
60774
|
-
ArrayFormula.
|
|
60781
|
+
ArrayFormula._cj = function (a, b) {
|
|
60775
60782
|
var c;
|
|
60776
60783
|
var d;
|
|
60777
60784
|
var e;
|
|
@@ -60836,7 +60843,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60836
60843
|
ArrayFormula._parse9 = function (a, b, c, d) {
|
|
60837
60844
|
var e;
|
|
60838
60845
|
var f;
|
|
60839
|
-
if (((function () { var g = ArrayFormula.
|
|
60846
|
+
if (((function () { var g = ArrayFormula._ct(a, b, c, d, e, f); e = g.p4; f = g.p5; return g.ret; })())) {
|
|
60840
60847
|
return e;
|
|
60841
60848
|
}
|
|
60842
60849
|
throw f;
|
|
@@ -60844,27 +60851,27 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60844
60851
|
/**
|
|
60845
60852
|
* @hidden
|
|
60846
60853
|
*/
|
|
60847
|
-
ArrayFormula.
|
|
60854
|
+
ArrayFormula._co = function (a, b, c) {
|
|
60848
60855
|
return {
|
|
60849
|
-
ret: ((function () { var d = ArrayFormula.
|
|
60856
|
+
ret: ((function () { var d = ArrayFormula._cv(a, b, ExcelUtils.cs, c); c = d.p3; return d.ret; })()),
|
|
60850
60857
|
p2: c
|
|
60851
60858
|
};
|
|
60852
60859
|
};
|
|
60853
60860
|
/**
|
|
60854
60861
|
* @hidden
|
|
60855
60862
|
*/
|
|
60856
|
-
ArrayFormula.
|
|
60863
|
+
ArrayFormula._cv = function (a, b, c, d) {
|
|
60857
60864
|
return {
|
|
60858
|
-
ret: ((function () { var e = ArrayFormula.
|
|
60865
|
+
ret: ((function () { var e = ArrayFormula._cs(a, b, 2, c, d); d = e.p4; return e.ret; })()),
|
|
60859
60866
|
p3: d
|
|
60860
60867
|
};
|
|
60861
60868
|
};
|
|
60862
60869
|
/**
|
|
60863
60870
|
* @hidden
|
|
60864
60871
|
*/
|
|
60865
|
-
ArrayFormula.
|
|
60872
|
+
ArrayFormula._cp = function (a, b, c, d) {
|
|
60866
60873
|
return {
|
|
60867
|
-
ret: ((function () { var e = ArrayFormula.
|
|
60874
|
+
ret: ((function () { var e = ArrayFormula._cw(a, b, ExcelUtils.cs, c, d); c = e.p3; d = e.p4; return e.ret; })()),
|
|
60868
60875
|
p2: c,
|
|
60869
60876
|
p3: d
|
|
60870
60877
|
};
|
|
@@ -60872,9 +60879,9 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60872
60879
|
/**
|
|
60873
60880
|
* @hidden
|
|
60874
60881
|
*/
|
|
60875
|
-
ArrayFormula.
|
|
60882
|
+
ArrayFormula._cw = function (a, b, c, d, e) {
|
|
60876
60883
|
return {
|
|
60877
|
-
ret: ((function () { var f = ArrayFormula.
|
|
60884
|
+
ret: ((function () { var f = ArrayFormula._ct(a, b, 2, c, d, e); d = f.p4; e = f.p5; return f.ret; })()),
|
|
60878
60885
|
p3: d,
|
|
60879
60886
|
p4: e
|
|
60880
60887
|
};
|
|
@@ -60882,28 +60889,28 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60882
60889
|
/**
|
|
60883
60890
|
* @hidden
|
|
60884
60891
|
*/
|
|
60885
|
-
ArrayFormula.
|
|
60892
|
+
ArrayFormula._cq = function (a, b, c, d) {
|
|
60886
60893
|
return {
|
|
60887
|
-
ret: ((function () { var e = ArrayFormula.
|
|
60894
|
+
ret: ((function () { var e = ArrayFormula._cs(a, b, c, ExcelUtils.cs, d); d = e.p4; return e.ret; })()),
|
|
60888
60895
|
p3: d
|
|
60889
60896
|
};
|
|
60890
60897
|
};
|
|
60891
60898
|
/**
|
|
60892
60899
|
* @hidden
|
|
60893
60900
|
*/
|
|
60894
|
-
ArrayFormula.
|
|
60901
|
+
ArrayFormula._cs = function (a, b, c, d, e) {
|
|
60895
60902
|
var f;
|
|
60896
60903
|
return {
|
|
60897
|
-
ret: ((function () { var g = ArrayFormula.
|
|
60904
|
+
ret: ((function () { var g = ArrayFormula._ct(a, b, c, d, e, f); e = g.p4; f = g.p5; return g.ret; })()),
|
|
60898
60905
|
p4: e
|
|
60899
60906
|
};
|
|
60900
60907
|
};
|
|
60901
60908
|
/**
|
|
60902
60909
|
* @hidden
|
|
60903
60910
|
*/
|
|
60904
|
-
ArrayFormula.
|
|
60911
|
+
ArrayFormula._cr = function (a, b, c, d, e) {
|
|
60905
60912
|
return {
|
|
60906
|
-
ret: ((function () { var f = ArrayFormula.
|
|
60913
|
+
ret: ((function () { var f = ArrayFormula._ct(a, b, c, ExcelUtils.cs, d, e); d = f.p4; e = f.p5; return f.ret; })()),
|
|
60907
60914
|
p3: d,
|
|
60908
60915
|
p4: e
|
|
60909
60916
|
};
|
|
@@ -60911,9 +60918,9 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60911
60918
|
/**
|
|
60912
60919
|
* @hidden
|
|
60913
60920
|
*/
|
|
60914
|
-
ArrayFormula.
|
|
60921
|
+
ArrayFormula._ct = function (a, b, c, d, e, f) {
|
|
60915
60922
|
return {
|
|
60916
|
-
ret: ((function () { var g = ArrayFormula.
|
|
60923
|
+
ret: ((function () { var g = ArrayFormula._cu(a, b, c, d, e, f, null); e = g.p4; f = g.p5; return g.ret; })()),
|
|
60917
60924
|
p4: e,
|
|
60918
60925
|
p5: f
|
|
60919
60926
|
};
|
|
@@ -60921,7 +60928,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60921
60928
|
/**
|
|
60922
60929
|
* @hidden
|
|
60923
60930
|
*/
|
|
60924
|
-
ArrayFormula.
|
|
60931
|
+
ArrayFormula._cu = function (a, b, c, d, e, f, g) {
|
|
60925
60932
|
var h;
|
|
60926
60933
|
var i = ((function () { var j = Formula._a0(a, b, 1, c, d, g, h, f); h = j.p6; f = j.p7; return j.ret; })());
|
|
60927
60934
|
var j = typeCast(ArrayFormula.$, h);
|
|
@@ -60935,7 +60942,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60935
60942
|
/**
|
|
60936
60943
|
* @hidden
|
|
60937
60944
|
*/
|
|
60938
|
-
ArrayFormula.prototype.
|
|
60945
|
+
ArrayFormula.prototype._c2 = function (a, b, c) {
|
|
60939
60946
|
if (c != null) {
|
|
60940
60947
|
c.c(a, this);
|
|
60941
60948
|
}
|
|
@@ -60943,15 +60950,15 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60943
60950
|
/**
|
|
60944
60951
|
* @hidden
|
|
60945
60952
|
*/
|
|
60946
|
-
ArrayFormula.prototype.
|
|
60953
|
+
ArrayFormula.prototype._cn = function (a, b, c) {
|
|
60947
60954
|
c = null;
|
|
60948
|
-
if (this.
|
|
60955
|
+
if (this._cl == null || this._cl.worksheet == null) {
|
|
60949
60956
|
return {
|
|
60950
60957
|
ret: false,
|
|
60951
60958
|
p2: c
|
|
60952
60959
|
};
|
|
60953
60960
|
}
|
|
60954
|
-
if (WorksheetRegionAddress._r(b, toNullable(WorksheetRegionAddress.$, null)) && this.
|
|
60961
|
+
if (WorksheetRegionAddress._r(b, toNullable(WorksheetRegionAddress.$, null)) && this._cl.firstColumn >= b.value._w && this._cl.firstRow >= b.value._ac && this._cl.lastColumn <= b.value._x && this._cl.lastRow <= b.value._ae) {
|
|
60955
60962
|
var d = this._t.workbook;
|
|
60956
60963
|
var e = d._df;
|
|
60957
60964
|
d._df = false;
|
|
@@ -60962,7 +60969,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60962
60969
|
p2: c
|
|
60963
60970
|
};
|
|
60964
60971
|
}
|
|
60965
|
-
if (this.
|
|
60972
|
+
if (this._cl != null && this._cl.worksheet != null) {
|
|
60966
60973
|
c = new ShiftingArrayFormulaInfo(this);
|
|
60967
60974
|
this.clearCellRange();
|
|
60968
60975
|
}
|
|
@@ -60974,13 +60981,13 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60974
60981
|
/**
|
|
60975
60982
|
* @hidden
|
|
60976
60983
|
*/
|
|
60977
|
-
ArrayFormula.prototype.
|
|
60984
|
+
ArrayFormula.prototype._c0 = function (a) {
|
|
60978
60985
|
var b = a.worksheet;
|
|
60979
60986
|
if (b == null) {
|
|
60980
60987
|
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_RegionsShiftedOffWorksheet"), "regions");
|
|
60981
60988
|
}
|
|
60982
|
-
var c = this.
|
|
60983
|
-
var d = ArrayFormula.
|
|
60989
|
+
var c = this._cl;
|
|
60990
|
+
var d = ArrayFormula._cd[0];
|
|
60984
60991
|
var e = new ArrayFormula_FormulaChangeContext(1, this, a);
|
|
60985
60992
|
var f = b != null ? b.workbook : null;
|
|
60986
60993
|
var g = null;
|
|
@@ -60990,7 +60997,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60990
60997
|
try {
|
|
60991
60998
|
WorksheetCellBlock.az(this, a, a);
|
|
60992
60999
|
b._jd(this, a._k, a._v);
|
|
60993
|
-
this.
|
|
61000
|
+
this._cl = a;
|
|
60994
61001
|
for (var h = a.lastRow; h >= a.firstRow; h--) {
|
|
60995
61002
|
var i = b._rows$i.item(h);
|
|
60996
61003
|
for (var j = a._w; j >= a._v; j--) {
|
|
@@ -61008,7 +61015,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61008
61015
|
/**
|
|
61009
61016
|
* @hidden
|
|
61010
61017
|
*/
|
|
61011
|
-
ArrayFormula.
|
|
61018
|
+
ArrayFormula._ck = function ($tValue, a, b, c, d, e, f, g, h) {
|
|
61012
61019
|
if (g === void 0) {
|
|
61013
61020
|
g = true;
|
|
61014
61021
|
}
|
|
@@ -61020,23 +61027,23 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61020
61027
|
/**
|
|
61021
61028
|
* @hidden
|
|
61022
61029
|
*/
|
|
61023
|
-
ArrayFormula.
|
|
61030
|
+
ArrayFormula._ce = function () {
|
|
61024
61031
|
var a = new Array(2);
|
|
61025
|
-
ChangeInfo.f(a, 0, ArrayFormula.
|
|
61026
|
-
ChangeInfo.f(a, 1, ArrayFormula.
|
|
61032
|
+
ChangeInfo.f(a, 0, ArrayFormula._ck(WorksheetRegion.$, "Apply", 0, function (b) { return b.c(); }, function (b, c) { return ArrayFormula._c3(b, c); }, null, 8192));
|
|
61033
|
+
ChangeInfo.f(a, 1, ArrayFormula._ck(WorksheetRegion.$, "Clear", 10, function (b) { return b.c(); }, function (b, c) { return ArrayFormula._c4(b, c); }, null, 8192));
|
|
61027
61034
|
return a;
|
|
61028
61035
|
};
|
|
61029
61036
|
/**
|
|
61030
61037
|
* @hidden
|
|
61031
61038
|
*/
|
|
61032
|
-
ArrayFormula.
|
|
61039
|
+
ArrayFormula._c3 = function (a, b) {
|
|
61033
61040
|
a.a.clearCellRange();
|
|
61034
61041
|
};
|
|
61035
61042
|
/**
|
|
61036
61043
|
* @hidden
|
|
61037
61044
|
*/
|
|
61038
|
-
ArrayFormula.
|
|
61039
|
-
a.a.
|
|
61045
|
+
ArrayFormula._c4 = function (a, b) {
|
|
61046
|
+
a.a._c0(b);
|
|
61040
61047
|
};
|
|
61041
61048
|
Object.defineProperty(ArrayFormula.prototype, "cellRange", {
|
|
61042
61049
|
/**
|
|
@@ -61047,7 +61054,7 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61047
61054
|
* The cells to which the array formula is applied.
|
|
61048
61055
|
*/
|
|
61049
61056
|
get: function () {
|
|
61050
|
-
return this.
|
|
61057
|
+
return this._cl;
|
|
61051
61058
|
},
|
|
61052
61059
|
enumerable: false,
|
|
61053
61060
|
configurable: true
|
|
@@ -61056,19 +61063,19 @@ var ArrayFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61056
61063
|
/**
|
|
61057
61064
|
* @hidden
|
|
61058
61065
|
*/
|
|
61059
|
-
ArrayFormula.
|
|
61066
|
+
ArrayFormula._cx = 0;
|
|
61060
61067
|
/**
|
|
61061
61068
|
* @hidden
|
|
61062
61069
|
*/
|
|
61063
|
-
ArrayFormula.
|
|
61070
|
+
ArrayFormula._cy = 1;
|
|
61064
61071
|
/**
|
|
61065
61072
|
* @hidden
|
|
61066
61073
|
*/
|
|
61067
|
-
ArrayFormula.
|
|
61074
|
+
ArrayFormula._cz = 2;
|
|
61068
61075
|
/**
|
|
61069
61076
|
* @hidden
|
|
61070
61077
|
*/
|
|
61071
|
-
ArrayFormula.
|
|
61078
|
+
ArrayFormula._cd = ArrayFormula._ce();
|
|
61072
61079
|
return ArrayFormula;
|
|
61073
61080
|
}(Formula));
|
|
61074
61081
|
export { ArrayFormula };
|
|
@@ -61118,7 +61125,7 @@ var ShiftingArrayFormulaInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61118
61125
|
var f = this_9.a.worksheet._rows$i.item(d.o);
|
|
61119
61126
|
var g = f._as(d.m)._formula;
|
|
61120
61127
|
if (g != null) {
|
|
61121
|
-
g.
|
|
61128
|
+
g._ce = c.value;
|
|
61122
61129
|
}
|
|
61123
61130
|
else {
|
|
61124
61131
|
}
|
|
@@ -62846,6 +62853,43 @@ var Formula_VerifyFormatLimitsVisitor = /** @class */ /*@__PURE__*/ (function (_
|
|
|
62846
62853
|
return Formula_VerifyFormatLimitsVisitor;
|
|
62847
62854
|
}(FormulaTokenVisitor));
|
|
62848
62855
|
export { Formula_VerifyFormatLimitsVisitor };
|
|
62856
|
+
/**
|
|
62857
|
+
* @hidden
|
|
62858
|
+
*/
|
|
62859
|
+
var Formula_VisitWorksheetVisitor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
62860
|
+
__extends(Formula_VisitWorksheetVisitor, _super);
|
|
62861
|
+
function Formula_VisitWorksheetVisitor() {
|
|
62862
|
+
var _this = _super.call(this) || this;
|
|
62863
|
+
_this.a1 = null;
|
|
62864
|
+
return _this;
|
|
62865
|
+
}
|
|
62866
|
+
Formula_VisitWorksheetVisitor.prototype.g = function () {
|
|
62867
|
+
this.a1 = null;
|
|
62868
|
+
_super.prototype.g.call(this);
|
|
62869
|
+
};
|
|
62870
|
+
Formula_VisitWorksheetVisitor.prototype.aq = function (a) {
|
|
62871
|
+
var b = typeCast(WorksheetReferenceLocal.$, a.o);
|
|
62872
|
+
if (b != null) {
|
|
62873
|
+
this.a1(b.u);
|
|
62874
|
+
}
|
|
62875
|
+
};
|
|
62876
|
+
Formula_VisitWorksheetVisitor.a2 = function (a, b) {
|
|
62877
|
+
var c = Formula_VisitWorksheetVisitor.a0(a, b);
|
|
62878
|
+
c.h();
|
|
62879
|
+
};
|
|
62880
|
+
Formula_VisitWorksheetVisitor.a0 = function (a, b) {
|
|
62881
|
+
if (Formula_VisitWorksheetVisitor.az == null) {
|
|
62882
|
+
Formula_VisitWorksheetVisitor.az = new Formula_VisitWorksheetVisitor();
|
|
62883
|
+
}
|
|
62884
|
+
Formula_VisitWorksheetVisitor.az.b = a;
|
|
62885
|
+
Formula_VisitWorksheetVisitor.az.a1 = b;
|
|
62886
|
+
return Formula_VisitWorksheetVisitor.az;
|
|
62887
|
+
};
|
|
62888
|
+
Formula_VisitWorksheetVisitor.$t = markType(Formula_VisitWorksheetVisitor, 'Formula_VisitWorksheetVisitor', FormulaTokenVisitor.$);
|
|
62889
|
+
Formula_VisitWorksheetVisitor.az = null;
|
|
62890
|
+
return Formula_VisitWorksheetVisitor;
|
|
62891
|
+
}(FormulaTokenVisitor));
|
|
62892
|
+
export { Formula_VisitWorksheetVisitor };
|
|
62849
62893
|
/**
|
|
62850
62894
|
* @hidden
|
|
62851
62895
|
*/
|
|
@@ -63253,7 +63297,7 @@ var NamedReferenceFormula = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
63253
63297
|
return new NamedReferenceFormula(1, this);
|
|
63254
63298
|
};
|
|
63255
63299
|
NamedReferenceFormula.prototype._b7 = function () {
|
|
63256
|
-
var a = this.
|
|
63300
|
+
var a = this._ci;
|
|
63257
63301
|
if (a != null && a._formula == this) {
|
|
63258
63302
|
a._a0(this, false, true);
|
|
63259
63303
|
}
|
|
@@ -63403,12 +63447,12 @@ var SingleTargetFormula_DynamicReferenceCollection = /** @class */ /*@__PURE__*/
|
|
|
63403
63447
|
return __generator(this, function (_0) {
|
|
63404
63448
|
switch (_0.label) {
|
|
63405
63449
|
case 0:
|
|
63406
|
-
a = this._a.
|
|
63450
|
+
a = this._a._co;
|
|
63407
63451
|
_0.label = 1;
|
|
63408
63452
|
case 1:
|
|
63409
|
-
if (!(a < this._a.
|
|
63453
|
+
if (!(a < this._a._cm.count))
|
|
63410
63454
|
return [3 /*break*/, 4];
|
|
63411
|
-
return [4 /*yield*/, this._a.
|
|
63455
|
+
return [4 /*yield*/, this._a._cm._inner[a]];
|
|
63412
63456
|
case 2:
|
|
63413
63457
|
_0.sent();
|
|
63414
63458
|
_0.label = 3;
|
|
@@ -63456,9 +63500,9 @@ var SingleTargetFormula_StaticReferenceCollection = /** @class */ /*@__PURE__*/
|
|
|
63456
63500
|
a = 0;
|
|
63457
63501
|
_0.label = 1;
|
|
63458
63502
|
case 1:
|
|
63459
|
-
if (!(a < this._a.
|
|
63503
|
+
if (!(a < this._a._co))
|
|
63460
63504
|
return [3 /*break*/, 4];
|
|
63461
|
-
return [4 /*yield*/, this._a.
|
|
63505
|
+
return [4 /*yield*/, this._a._cm._inner[a]];
|
|
63462
63506
|
case 2:
|
|
63463
63507
|
_0.sent();
|
|
63464
63508
|
_0.label = 3;
|
|
@@ -63513,7 +63557,7 @@ var SingleTargetFormula_StaticReferenceFinder = /** @class */ /*@__PURE__*/ (fun
|
|
|
63513
63557
|
SingleTargetFormula_StaticReferenceFinder.prototype.f = function () {
|
|
63514
63558
|
var _this = this;
|
|
63515
63559
|
if (this.a5.f != 0) {
|
|
63516
|
-
this.a7(this.a5.e(), true, CalcUtilities.h(this.a1.
|
|
63560
|
+
this.a7(this.a5.e(), true, CalcUtilities.h(this.a1._ci));
|
|
63517
63561
|
}
|
|
63518
63562
|
var _loop_23 = function (a) {
|
|
63519
63563
|
var b;
|
|
@@ -63597,12 +63641,12 @@ var SingleTargetFormula_StaticReferenceFinder = /** @class */ /*@__PURE__*/ (fun
|
|
|
63597
63641
|
}
|
|
63598
63642
|
}
|
|
63599
63643
|
}
|
|
63600
|
-
for (var k = 0; k < this.a1.
|
|
63601
|
-
if (this.a1.
|
|
63644
|
+
for (var k = 0; k < this.a1._cm.count; k++) {
|
|
63645
|
+
if (this.a1._cm._inner[k].containsReference(c)) {
|
|
63602
63646
|
return;
|
|
63603
63647
|
}
|
|
63604
63648
|
}
|
|
63605
|
-
this.a1.
|
|
63649
|
+
this.a1._cm.add(c);
|
|
63606
63650
|
};
|
|
63607
63651
|
SingleTargetFormula_StaticReferenceFinder.a3 = function (a, b) {
|
|
63608
63652
|
if (SingleTargetFormula_StaticReferenceFinder.a2 == null) {
|
|
@@ -63628,7 +63672,7 @@ var SingleTargetFormula_StaticReferenceFinder = /** @class */ /*@__PURE__*/ (fun
|
|
|
63628
63672
|
if (d == null) {
|
|
63629
63673
|
return;
|
|
63630
63674
|
}
|
|
63631
|
-
if (this.a1.
|
|
63675
|
+
if (this.a1._ci._aj && d.p) {
|
|
63632
63676
|
return;
|
|
63633
63677
|
}
|
|
63634
63678
|
var e = typeCast(NameToken.$, d);
|
|
@@ -86625,7 +86669,7 @@ var ExcelCalcEngine = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86625
86669
|
if (a == null) {
|
|
86626
86670
|
return;
|
|
86627
86671
|
}
|
|
86628
|
-
this.a2(a, a.
|
|
86672
|
+
this.a2(a, a._ci, true);
|
|
86629
86673
|
this.h.af(a);
|
|
86630
86674
|
};
|
|
86631
86675
|
ExcelCalcEngine.prototype.v = function () {
|
|
@@ -86742,7 +86786,7 @@ var ExcelCalcEngine = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86742
86786
|
if (a == null) {
|
|
86743
86787
|
return;
|
|
86744
86788
|
}
|
|
86745
|
-
this.a2(a, a.
|
|
86789
|
+
this.a2(a, a._ci, false);
|
|
86746
86790
|
this.h.ax(a);
|
|
86747
86791
|
};
|
|
86748
86792
|
ExcelCalcEngine.prototype.a3 = function () {
|
|
@@ -86775,7 +86819,7 @@ var ExcelCalcEngine = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86775
86819
|
var f = c._as(d);
|
|
86776
86820
|
var g;
|
|
86777
86821
|
if (e._formula != null) {
|
|
86778
|
-
g = e._formula.
|
|
86822
|
+
g = e._formula._ce;
|
|
86779
86823
|
}
|
|
86780
86824
|
else {
|
|
86781
86825
|
g = new ExcelCalcValue(a._getCellValue1(b));
|
|
@@ -86947,7 +86991,7 @@ var ExcelCalcEngine = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86947
86991
|
if (null == b) {
|
|
86948
86992
|
return;
|
|
86949
86993
|
}
|
|
86950
|
-
if (b.
|
|
86994
|
+
if (b._cs() != 0) {
|
|
86951
86995
|
this.ad.add_1(b);
|
|
86952
86996
|
}
|
|
86953
86997
|
var c;
|
|
@@ -87030,7 +87074,7 @@ var ExcelCalcEngine = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
87030
87074
|
try {
|
|
87031
87075
|
for (var _1 = __values(fromEnum(_this.ad)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
87032
87076
|
var d = _2.value;
|
|
87033
|
-
d.
|
|
87077
|
+
d._cv(_this);
|
|
87034
87078
|
}
|
|
87035
87079
|
}
|
|
87036
87080
|
catch (e_275_1) {
|
|
@@ -87301,7 +87345,7 @@ var RefBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
87301
87345
|
if (a == null || e == null) {
|
|
87302
87346
|
return;
|
|
87303
87347
|
}
|
|
87304
|
-
a.
|
|
87348
|
+
a._cz(this, e, d);
|
|
87305
87349
|
this._az(a);
|
|
87306
87350
|
if (this._ak) {
|
|
87307
87351
|
e._g9(a);
|
|
@@ -87367,7 +87411,7 @@ var RefBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
87367
87411
|
if (c != null) {
|
|
87368
87412
|
c._iw(b);
|
|
87369
87413
|
}
|
|
87370
|
-
b.
|
|
87414
|
+
b._cz(null, c, a);
|
|
87371
87415
|
this._az(null);
|
|
87372
87416
|
};
|
|
87373
87417
|
RefBase.prototype._ay = function (a, b) {
|
|
@@ -87901,14 +87945,14 @@ var CellCalcReferenceBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
87901
87945
|
else if (typeCast(HyperlinkResult.$, b) !== null && (typeCast(HyperlinkResult.$, a.value) !== null) == false) {
|
|
87902
87946
|
b = b.toString();
|
|
87903
87947
|
}
|
|
87904
|
-
this._a2.
|
|
87948
|
+
this._a2._ce = new ExcelCalcValue(b);
|
|
87905
87949
|
};
|
|
87906
87950
|
CellCalcReferenceBase.prototype.get__c = function () {
|
|
87907
87951
|
if (this._a3.worksheet.workbook == null) {
|
|
87908
87952
|
return ExcelReferenceError._a2.value;
|
|
87909
87953
|
}
|
|
87910
87954
|
if (this._a2 != null) {
|
|
87911
|
-
return this._a2.
|
|
87955
|
+
return this._a2._ce;
|
|
87912
87956
|
}
|
|
87913
87957
|
return CalcUtilities.c(this._a3._c5(this._a8));
|
|
87914
87958
|
};
|
|
@@ -87932,7 +87976,7 @@ var CellCalcReferenceBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
87932
87976
|
p1: b
|
|
87933
87977
|
};
|
|
87934
87978
|
}
|
|
87935
|
-
var d = c.
|
|
87979
|
+
var d = c._c1.cellRange;
|
|
87936
87980
|
b = this._a3.index - d.firstRow;
|
|
87937
87981
|
a = this._a8 - d.firstColumn;
|
|
87938
87982
|
return {
|
|
@@ -88153,7 +88197,7 @@ var DependencyGraph = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
88153
88197
|
};
|
|
88154
88198
|
DependencyGraph.prototype.af = function (a) {
|
|
88155
88199
|
this.ao();
|
|
88156
|
-
var b = a.
|
|
88200
|
+
var b = a._ci;
|
|
88157
88201
|
if ((typeCast(NamedCalcReferenceBase.$, b) !== null) == false) {
|
|
88158
88202
|
b._ab = true;
|
|
88159
88203
|
}
|
|
@@ -88330,7 +88374,7 @@ var DependencyGraph = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
88330
88374
|
};
|
|
88331
88375
|
DependencyGraph.prototype.ax = function (a) {
|
|
88332
88376
|
this.ao();
|
|
88333
|
-
var b = a.
|
|
88377
|
+
var b = a._ci;
|
|
88334
88378
|
b._ab = false;
|
|
88335
88379
|
this.ap(b);
|
|
88336
88380
|
if (!this.t.remove(b)) {
|
|
@@ -106969,7 +107013,7 @@ var WorksheetCellBlock = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
106969
107013
|
}
|
|
106970
107014
|
if (d != null) {
|
|
106971
107015
|
if (d._formula != null) {
|
|
106972
|
-
var e = d._formula.
|
|
107016
|
+
var e = d._formula._ce;
|
|
106973
107017
|
if (e != null) {
|
|
106974
107018
|
return CalcUtilities.n(e.value, c);
|
|
106975
107019
|
}
|
|
@@ -117991,10 +118035,10 @@ var TempCellCalcReference = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
117991
118035
|
else if (typeCast(HyperlinkResult.$, b) !== null && (typeCast(HyperlinkResult.$, a.value) !== null) == false) {
|
|
117992
118036
|
b = b.toString();
|
|
117993
118037
|
}
|
|
117994
|
-
this._a3.
|
|
118038
|
+
this._a3._ce = new ExcelCalcValue(b);
|
|
117995
118039
|
};
|
|
117996
118040
|
TempCellCalcReference.prototype.get__c = function () {
|
|
117997
|
-
return this._formula.
|
|
118041
|
+
return this._formula._ce;
|
|
117998
118042
|
};
|
|
117999
118043
|
Object.defineProperty(TempCellCalcReference.prototype, "_c", {
|
|
118000
118044
|
get: function () {
|
|
@@ -129349,7 +129393,7 @@ var SortSettings_ShiftFormulaChangeContext$1 = /** @class */ /*@__PURE__*/ (func
|
|
|
129349
129393
|
var b = new CellShiftOperation(1, this.sheet, 3, this.a.l._ac + a, this.a.l._ae + a, this.a.l._w, this.a.l._x, -a);
|
|
129350
129394
|
var c = typeCast(ArrayInteriorFormula.$, this.b);
|
|
129351
129395
|
if (c != null) {
|
|
129352
|
-
var d = c.
|
|
129396
|
+
var d = c._c1.cellRange._d(b, false);
|
|
129353
129397
|
}
|
|
129354
129398
|
this.b._av(this.sheet, b, 1);
|
|
129355
129399
|
SortSettings$1.$t.specialize(this.$t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1(this.$t, 1, b, this.b), null, null);
|
|
@@ -129653,7 +129697,7 @@ var SortSettings$1 = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
129653
129697
|
var p = new CellShiftOperation(1, d, 3, a.index, a.index, e, e, b.index - a.index);
|
|
129654
129698
|
var q = typeCast(ArrayInteriorFormula.$, o);
|
|
129655
129699
|
if (q != null) {
|
|
129656
|
-
var r = q.
|
|
129700
|
+
var r = q._c1.cellRange._d(p, false);
|
|
129657
129701
|
}
|
|
129658
129702
|
o._av(d, p, 1);
|
|
129659
129703
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, p, o), null, null);
|
|
@@ -129663,7 +129707,7 @@ var SortSettings$1 = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
129663
129707
|
var t = new CellShiftOperation(1, d, 3, b.index, b.index, e, e, a.index - b.index);
|
|
129664
129708
|
var u = typeCast(ArrayInteriorFormula.$, s);
|
|
129665
129709
|
if (u != null) {
|
|
129666
|
-
var v = u.
|
|
129710
|
+
var v = u._c1.cellRange._d(t, false);
|
|
129667
129711
|
}
|
|
129668
129712
|
s._av(d, t, 1);
|
|
129669
129713
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, t, s), null, null);
|
|
@@ -129700,7 +129744,7 @@ var SortSettings$1 = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
129700
129744
|
var q = new CellShiftOperation(1, d, 0, a.index, a.index, e, e, f - e);
|
|
129701
129745
|
var r = typeCast(ArrayInteriorFormula.$, p);
|
|
129702
129746
|
if (r != null) {
|
|
129703
|
-
var s = r.
|
|
129747
|
+
var s = r._c1.cellRange._d(q, false);
|
|
129704
129748
|
}
|
|
129705
129749
|
p._av(d, q, 1);
|
|
129706
129750
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, q, p), null, null);
|
|
@@ -129710,7 +129754,7 @@ var SortSettings$1 = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
129710
129754
|
var u = new CellShiftOperation(1, d, 0, a.index, a.index, f, f, e - f);
|
|
129711
129755
|
var v = typeCast(ArrayInteriorFormula.$, t);
|
|
129712
129756
|
if (v != null) {
|
|
129713
|
-
var w = v.
|
|
129757
|
+
var w = v._c1.cellRange._d(u, false);
|
|
129714
129758
|
}
|
|
129715
129759
|
t._av(d, u, 1);
|
|
129716
129760
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, u, t), null, null);
|
|
@@ -138572,7 +138616,7 @@ var DataValidationCalcReference = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
138572
138616
|
return false;
|
|
138573
138617
|
};
|
|
138574
138618
|
DataValidationCalcReference.prototype.get__c = function () {
|
|
138575
|
-
return this._formula.
|
|
138619
|
+
return this._formula._ce;
|
|
138576
138620
|
};
|
|
138577
138621
|
DataValidationCalcReference.$t = markType(DataValidationCalcReference, 'DataValidationCalcReference', CellCalcReferenceBase.$);
|
|
138578
138622
|
return DataValidationCalcReference;
|
|
@@ -147689,7 +147733,7 @@ var ThresholdConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
147689
147733
|
if (this._bx != null) {
|
|
147690
147734
|
var b = this.regions.item(0);
|
|
147691
147735
|
var c = new TempCellCalcReference(true, this.worksheet, new WorksheetCellAddress(1, b.firstRow, b.firstColumn));
|
|
147692
|
-
this._bx.
|
|
147736
|
+
this._bx._cz(c, this.workbook);
|
|
147693
147737
|
a(this.worksheet, this._bx);
|
|
147694
147738
|
}
|
|
147695
147739
|
};
|
|
@@ -147772,7 +147816,7 @@ var ThresholdConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
147772
147816
|
*/
|
|
147773
147817
|
set: function (a) {
|
|
147774
147818
|
if (a != this._bx) {
|
|
147775
|
-
if (a != null && a.
|
|
147819
|
+
if (a != null && a._ci == null) {
|
|
147776
147820
|
this._m(a);
|
|
147777
147821
|
}
|
|
147778
147822
|
var b = ThresholdConditionBase._bt[0].g(ThresholdConditionBase.$, SingleTargetFormula.$, this, this._bx, a);
|
|
@@ -147917,7 +147961,7 @@ var ThresholdConditionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
147917
147961
|
*/
|
|
147918
147962
|
ThresholdConditionBase.prototype._bz = function (a) {
|
|
147919
147963
|
if (this._bx != null && a != null) {
|
|
147920
|
-
var b = this._bx.
|
|
147964
|
+
var b = this._bx._cg(this.workbook, a, false);
|
|
147921
147965
|
return b._al(this.workbook._e6);
|
|
147922
147966
|
}
|
|
147923
147967
|
return true;
|
|
@@ -149390,16 +149434,16 @@ var ConditionValue = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
149390
149434
|
*/
|
|
149391
149435
|
ConditionValue.prototype.shiftFormulas = function (callback, shiftOperation, operationOverride) {
|
|
149392
149436
|
if (this._j != null) {
|
|
149393
|
-
var a = this._j.
|
|
149437
|
+
var a = this._j._ci;
|
|
149394
149438
|
if (a != null) {
|
|
149395
|
-
this._j.
|
|
149439
|
+
this._j._cz(null, this._h.workbook);
|
|
149396
149440
|
}
|
|
149397
149441
|
var b = this._j._toString2(1, this._h.workbook._e6);
|
|
149398
149442
|
if (this._j._av(this._h.worksheet, shiftOperation, 0)) {
|
|
149399
149443
|
callback(this, null, b);
|
|
149400
149444
|
}
|
|
149401
149445
|
if (a != null) {
|
|
149402
|
-
this._j.
|
|
149446
|
+
this._j._cz(a, this._h.workbook);
|
|
149403
149447
|
}
|
|
149404
149448
|
}
|
|
149405
149449
|
};
|
|
@@ -150705,7 +150749,7 @@ var FormulaConditionalFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
150705
150749
|
*/
|
|
150706
150750
|
set: function (a) {
|
|
150707
150751
|
if (a != this._b4) {
|
|
150708
|
-
if (a != null && a.
|
|
150752
|
+
if (a != null && a._ci == null) {
|
|
150709
150753
|
this._m(a);
|
|
150710
150754
|
}
|
|
150711
150755
|
var b = FormulaConditionalFormat._b0[0].g(FormulaConditionalFormat.$, SingleTargetFormula.$, this, this._b4, a);
|
|
@@ -150785,7 +150829,7 @@ var FormulaConditionalFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
150785
150829
|
if (this._b4 != null) {
|
|
150786
150830
|
var b = this.regions.item(0);
|
|
150787
150831
|
var c = new TempCellCalcReference(true, this.worksheet, new WorksheetCellAddress(1, b.firstRow, b.firstColumn));
|
|
150788
|
-
this._b4.
|
|
150832
|
+
this._b4._cz(c, this.workbook);
|
|
150789
150833
|
a(this.worksheet, this._b4);
|
|
150790
150834
|
}
|
|
150791
150835
|
};
|
|
@@ -150796,7 +150840,7 @@ var FormulaConditionalFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
150796
150840
|
if (this._b4 == null) {
|
|
150797
150841
|
return ConditionMatchResult.f;
|
|
150798
150842
|
}
|
|
150799
|
-
var e = this._b4.
|
|
150843
|
+
var e = this._b4._cg(this.workbook, d, false);
|
|
150800
150844
|
return e._al(this.workbook._e6) ? ConditionMatchResult.e : ConditionMatchResult.f;
|
|
150801
150845
|
};
|
|
150802
150846
|
/**
|
|
@@ -152940,13 +152984,13 @@ var OperatorConditionalFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
152940
152984
|
}
|
|
152941
152985
|
if (this._b4 == null) {
|
|
152942
152986
|
if (this._b2 != null) {
|
|
152943
|
-
this._b4 = this._cb.
|
|
152987
|
+
this._b4 = this._cb._cg(this.workbook, d, false);
|
|
152944
152988
|
}
|
|
152945
152989
|
if (this._b3 != null) {
|
|
152946
152990
|
if (this._cc == null) {
|
|
152947
152991
|
return ConditionMatchResult.f;
|
|
152948
152992
|
}
|
|
152949
|
-
this._b5 = this._cc.
|
|
152993
|
+
this._b5 = this._cc._cg(this.workbook, d, false);
|
|
152950
152994
|
}
|
|
152951
152995
|
}
|
|
152952
152996
|
if (this._b4 == null || this._b4.isError) {
|
|
@@ -153104,7 +153148,7 @@ var OperatorConditionalFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
153104
153148
|
*/
|
|
153105
153149
|
set: function (a) {
|
|
153106
153150
|
if (a != this._cb) {
|
|
153107
|
-
if (a != null && a.
|
|
153151
|
+
if (a != null && a._ci == null) {
|
|
153108
153152
|
this._m(a);
|
|
153109
153153
|
}
|
|
153110
153154
|
var b = OperatorConditionalFormat._b0[1].g(OperatorConditionalFormat.$, SingleTargetFormula.$, this, this._cb, a);
|
|
@@ -153163,7 +153207,7 @@ var OperatorConditionalFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
153163
153207
|
*/
|
|
153164
153208
|
set: function (a) {
|
|
153165
153209
|
if (a != this._cc) {
|
|
153166
|
-
if (a != null && a.
|
|
153210
|
+
if (a != null && a._ci == null) {
|
|
153167
153211
|
this._m(a);
|
|
153168
153212
|
}
|
|
153169
153213
|
var b = OperatorConditionalFormat._b0[2].g(OperatorConditionalFormat.$, SingleTargetFormula.$, this, this._cc, a);
|
|
@@ -158011,7 +158055,7 @@ var SeriesDataLabels = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
158011
158055
|
*/
|
|
158012
158056
|
set: function (a) {
|
|
158013
158057
|
if (a != this._d0) {
|
|
158014
|
-
if (a != null && a.
|
|
158058
|
+
if (a != null && a._ci == null) {
|
|
158015
158059
|
SeriesDataLabels._d2(this.sheet, a);
|
|
158016
158060
|
}
|
|
158017
158061
|
var b = this._r(SeriesDataLabels.$, SingleTargetFormula.$, this, 29, this._d0, a);
|
|
@@ -158133,7 +158177,7 @@ var SeriesDataLabels = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
158133
158177
|
SeriesDataLabels._d2 = function (a, b) {
|
|
158134
158178
|
if (b != null) {
|
|
158135
158179
|
var c = new TempCellCalcReference(true, a, new WorksheetCellAddress(1, 0, 0));
|
|
158136
|
-
b.
|
|
158180
|
+
b._cz(c, a.workbook);
|
|
158137
158181
|
}
|
|
158138
158182
|
return b;
|
|
158139
158183
|
};
|
|
@@ -162685,7 +162729,7 @@ var SeriesValuesBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
162685
162729
|
*/
|
|
162686
162730
|
SeriesValuesBase._b = function ($t, a, b, c, d) {
|
|
162687
162731
|
var e = new TempCellCalcReference(false, b, new WorksheetCellAddress(1, 0, 0));
|
|
162688
|
-
var f = a.
|
|
162732
|
+
var f = a._cg(b.workbook, e, false);
|
|
162689
162733
|
if (f.isError) {
|
|
162690
162734
|
return new Array(0);
|
|
162691
162735
|
}
|
|
@@ -162859,7 +162903,7 @@ var SeriesValuesBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
162859
162903
|
SeriesValuesBase.prototype._t = function () {
|
|
162860
162904
|
if (this._h != null) {
|
|
162861
162905
|
var a = new TempCellCalcReference(true, this._g, new WorksheetCellAddress(1, 0, 0));
|
|
162862
|
-
this._h.
|
|
162906
|
+
this._h._cz(a, this._g.workbook);
|
|
162863
162907
|
}
|
|
162864
162908
|
};
|
|
162865
162909
|
/**
|
|
@@ -163092,7 +163136,7 @@ var SeriesName = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
163092
163136
|
_this._c = sheet;
|
|
163093
163137
|
_this._d = formula;
|
|
163094
163138
|
var b = new TempCellCalcReference(true, _this._c, new WorksheetCellAddress(1, 0, 0));
|
|
163095
|
-
_this._d.
|
|
163139
|
+
_this._d._cz(b, _this._c.workbook);
|
|
163096
163140
|
}
|
|
163097
163141
|
break;
|
|
163098
163142
|
default: throw new Error('Invalid arguments');
|
|
@@ -163194,7 +163238,7 @@ var SeriesName = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
163194
163238
|
}
|
|
163195
163239
|
this._d = ConditionBase._n(a, this._c.workbook, b);
|
|
163196
163240
|
var c = new TempCellCalcReference(true, this._c, new WorksheetCellAddress(1, 0, 0));
|
|
163197
|
-
this._d.
|
|
163241
|
+
this._d._cz(c, this._c.workbook);
|
|
163198
163242
|
};
|
|
163199
163243
|
SeriesName.$t = markType(SeriesName, 'SeriesName');
|
|
163200
163244
|
return SeriesName;
|
|
@@ -170978,7 +171022,7 @@ var ExcelCalcNumberStack = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
170978
171022
|
d = new TempCellCalcReference(true, e.worksheet, new WorksheetCellAddress(1, 0, 0));
|
|
170979
171023
|
}
|
|
170980
171024
|
}
|
|
170981
|
-
a = b.
|
|
171025
|
+
a = b._cg(c, d, this._u);
|
|
170982
171026
|
if (a.isReference) {
|
|
170983
171027
|
a._ac = true;
|
|
170984
171028
|
}
|