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
|
@@ -4210,8 +4210,8 @@ export let ExcelUtils = /*@__PURE__*/ (() => {
|
|
|
4210
4210
|
}
|
|
4211
4211
|
try {
|
|
4212
4212
|
let t = new TempCellCalcReference(true, b, new WorksheetCellAddress(1, c, d));
|
|
4213
|
-
l.
|
|
4214
|
-
let u = l.
|
|
4213
|
+
l._cz(t, k);
|
|
4214
|
+
let u = l._cg(k, t, false);
|
|
4215
4215
|
let v = typeCast(RefBase.$, u.toReference());
|
|
4216
4216
|
if (v != null) {
|
|
4217
4217
|
let w = v._am();
|
|
@@ -7422,7 +7422,7 @@ export let Workbook = /*@__PURE__*/ (() => {
|
|
|
7422
7422
|
continue;
|
|
7423
7423
|
}
|
|
7424
7424
|
let r = q._formula;
|
|
7425
|
-
if (r != null && r.
|
|
7425
|
+
if (r != null && r._cl) {
|
|
7426
7426
|
a(e, r._i);
|
|
7427
7427
|
}
|
|
7428
7428
|
}
|
|
@@ -21314,14 +21314,14 @@ export let Formula = /*@__PURE__*/ (() => {
|
|
|
21314
21314
|
let q;
|
|
21315
21315
|
let r = typeCast(CellCalcReference.$, p);
|
|
21316
21316
|
if (r != null) {
|
|
21317
|
-
if (r._t != n.
|
|
21317
|
+
if (r._t != n._ci._t) {
|
|
21318
21318
|
continue;
|
|
21319
21319
|
}
|
|
21320
21320
|
q = r._w._a7(r._ao)._di;
|
|
21321
21321
|
}
|
|
21322
21322
|
else {
|
|
21323
21323
|
let s = p._am();
|
|
21324
|
-
if (s == null || s.count == 0 || s.item(0).worksheet.workbook != n.
|
|
21324
|
+
if (s == null || s.count == 0 || s.item(0).worksheet.workbook != n._ci._t) {
|
|
21325
21325
|
continue;
|
|
21326
21326
|
}
|
|
21327
21327
|
let t = s.item(0);
|
|
@@ -21756,6 +21756,13 @@ export let Formula = /*@__PURE__*/ (() => {
|
|
|
21756
21756
|
}
|
|
21757
21757
|
this._ac = true;
|
|
21758
21758
|
}
|
|
21759
|
+
/**
|
|
21760
|
+
* @hidden
|
|
21761
|
+
*/
|
|
21762
|
+
_cc(a) {
|
|
21763
|
+
let b = new FormulaContext(1, this._y, this);
|
|
21764
|
+
Formula_VisitWorksheetVisitor.a2(b, a);
|
|
21765
|
+
}
|
|
21759
21766
|
/**
|
|
21760
21767
|
* @hidden
|
|
21761
21768
|
*/
|
|
@@ -22320,39 +22327,39 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22320
22327
|
let c = _rest[0];
|
|
22321
22328
|
let d = _rest[1];
|
|
22322
22329
|
super(0, c, d);
|
|
22323
|
-
this.
|
|
22324
|
-
this.
|
|
22325
|
-
this.
|
|
22330
|
+
this._cd = null;
|
|
22331
|
+
this._cj = null;
|
|
22332
|
+
this._cm = null;
|
|
22333
|
+
this._co = 0;
|
|
22326
22334
|
this._cn = 0;
|
|
22327
|
-
this.
|
|
22328
|
-
this.
|
|
22329
|
-
this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
22335
|
+
this._ch = null;
|
|
22336
|
+
this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
22330
22337
|
}
|
|
22331
22338
|
break;
|
|
22332
22339
|
case 1:
|
|
22333
22340
|
{
|
|
22334
22341
|
let c = _rest[0];
|
|
22335
22342
|
super(1, c);
|
|
22336
|
-
this.
|
|
22337
|
-
this.
|
|
22338
|
-
this.
|
|
22343
|
+
this._cd = null;
|
|
22344
|
+
this._cj = null;
|
|
22345
|
+
this._cm = null;
|
|
22346
|
+
this._co = 0;
|
|
22339
22347
|
this._cn = 0;
|
|
22340
|
-
this.
|
|
22341
|
-
this.
|
|
22342
|
-
this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
22348
|
+
this._ch = null;
|
|
22349
|
+
this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
22343
22350
|
}
|
|
22344
22351
|
break;
|
|
22345
22352
|
case 2:
|
|
22346
22353
|
{
|
|
22347
22354
|
let c = _rest[0];
|
|
22348
22355
|
super(2, c);
|
|
22349
|
-
this.
|
|
22350
|
-
this.
|
|
22351
|
-
this.
|
|
22356
|
+
this._cd = null;
|
|
22357
|
+
this._cj = null;
|
|
22358
|
+
this._cm = null;
|
|
22359
|
+
this._co = 0;
|
|
22352
22360
|
this._cn = 0;
|
|
22353
|
-
this.
|
|
22354
|
-
this.
|
|
22355
|
-
this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
22361
|
+
this._ch = null;
|
|
22362
|
+
this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
22356
22363
|
}
|
|
22357
22364
|
break;
|
|
22358
22365
|
case 3:
|
|
@@ -22360,33 +22367,33 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22360
22367
|
let c = _rest[0];
|
|
22361
22368
|
let d = _rest[1];
|
|
22362
22369
|
super(3, c, d);
|
|
22363
|
-
this.
|
|
22364
|
-
this.
|
|
22365
|
-
this.
|
|
22370
|
+
this._cd = null;
|
|
22371
|
+
this._cj = null;
|
|
22372
|
+
this._cm = null;
|
|
22373
|
+
this._co = 0;
|
|
22366
22374
|
this._cn = 0;
|
|
22367
|
-
this.
|
|
22368
|
-
this.
|
|
22369
|
-
this._cl = new List$1(IExcelCalcReference_$type, 0);
|
|
22375
|
+
this._ch = null;
|
|
22376
|
+
this._cm = new List$1(IExcelCalcReference_$type, 0);
|
|
22370
22377
|
}
|
|
22371
22378
|
break;
|
|
22372
22379
|
}
|
|
22373
22380
|
}
|
|
22374
22381
|
addDynamicReferenceI(a) {
|
|
22375
22382
|
let b = null;
|
|
22376
|
-
let c = this.
|
|
22383
|
+
let c = this._ci._t;
|
|
22377
22384
|
if (c != null) {
|
|
22378
22385
|
b = c._w;
|
|
22379
22386
|
}
|
|
22380
22387
|
return this._addDynamicReference1(a, b);
|
|
22381
22388
|
}
|
|
22382
22389
|
get baseReference() {
|
|
22383
|
-
return this.
|
|
22390
|
+
return this._ci;
|
|
22384
22391
|
}
|
|
22385
22392
|
get dynamicReferences() {
|
|
22386
22393
|
return new SingleTargetFormula_DynamicReferenceCollection(this);
|
|
22387
22394
|
}
|
|
22388
22395
|
evaluate(a) {
|
|
22389
|
-
return this.
|
|
22396
|
+
return this._cg(this._ci._t, a, false);
|
|
22390
22397
|
}
|
|
22391
22398
|
get formulaString() {
|
|
22392
22399
|
return this._toString();
|
|
@@ -22395,17 +22402,17 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22395
22402
|
return new SingleTargetFormula_StaticReferenceCollection(this);
|
|
22396
22403
|
}
|
|
22397
22404
|
getEnumerator() {
|
|
22398
|
-
return this.
|
|
22405
|
+
return this._cm.getEnumerator();
|
|
22399
22406
|
}
|
|
22400
22407
|
getEnumeratorObject() {
|
|
22401
|
-
return this.
|
|
22408
|
+
return this._cm.getEnumerator();
|
|
22402
22409
|
}
|
|
22403
22410
|
_g() {
|
|
22404
22411
|
return new SingleTargetFormula(3, this, false);
|
|
22405
22412
|
}
|
|
22406
22413
|
get__z() {
|
|
22407
|
-
if (this.
|
|
22408
|
-
let a = this.
|
|
22414
|
+
if (this._ch != null) {
|
|
22415
|
+
let a = this._ch._t;
|
|
22409
22416
|
if (a != null) {
|
|
22410
22417
|
return a.currentFormat;
|
|
22411
22418
|
}
|
|
@@ -22416,11 +22423,11 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22416
22423
|
super.set__z(a);
|
|
22417
22424
|
}
|
|
22418
22425
|
get__bb() {
|
|
22419
|
-
let a = typeCast(CellCalcReference.$, this.
|
|
22426
|
+
let a = typeCast(CellCalcReference.$, this._ch);
|
|
22420
22427
|
if (a != null) {
|
|
22421
22428
|
return a._ao;
|
|
22422
22429
|
}
|
|
22423
|
-
let b = typeCast(TempCellCalcReference.$, this.
|
|
22430
|
+
let b = typeCast(TempCellCalcReference.$, this._ch);
|
|
22424
22431
|
if (b != null) {
|
|
22425
22432
|
return b._ao;
|
|
22426
22433
|
}
|
|
@@ -22430,11 +22437,11 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22430
22437
|
return this.get__bb();
|
|
22431
22438
|
}
|
|
22432
22439
|
get__ab() {
|
|
22433
|
-
let a = typeCast(CellCalcReference.$, this.
|
|
22440
|
+
let a = typeCast(CellCalcReference.$, this._ch);
|
|
22434
22441
|
if (a != null) {
|
|
22435
22442
|
return a._w;
|
|
22436
22443
|
}
|
|
22437
|
-
let b = typeCast(TempCellCalcReference.$, this.
|
|
22444
|
+
let b = typeCast(TempCellCalcReference.$, this._ch);
|
|
22438
22445
|
if (b != null && b._as >= 0) {
|
|
22439
22446
|
let c = b._u;
|
|
22440
22447
|
if (c != null) {
|
|
@@ -22447,11 +22454,11 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22447
22454
|
return this.get__ab();
|
|
22448
22455
|
}
|
|
22449
22456
|
get__aa() {
|
|
22450
|
-
let a = typeCast(CellCalcReference.$, this.
|
|
22457
|
+
let a = typeCast(CellCalcReference.$, this._ch);
|
|
22451
22458
|
if (a != null) {
|
|
22452
22459
|
return new WorksheetCellAddress(1, a._w.index, a._ao);
|
|
22453
22460
|
}
|
|
22454
|
-
let b = typeCast(TempCellCalcReference.$, this.
|
|
22461
|
+
let b = typeCast(TempCellCalcReference.$, this._ch);
|
|
22455
22462
|
if (b != null) {
|
|
22456
22463
|
return new WorksheetCellAddress(1, b._as, b._ao);
|
|
22457
22464
|
}
|
|
@@ -22461,15 +22468,15 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22461
22468
|
return this.get__aa();
|
|
22462
22469
|
}
|
|
22463
22470
|
_b7() {
|
|
22464
|
-
if (this.
|
|
22465
|
-
this.
|
|
22471
|
+
if (this._ch != null && this._ch._formula == this && this._ab != null) {
|
|
22472
|
+
this._ch._a0(this, false, true);
|
|
22466
22473
|
}
|
|
22467
22474
|
}
|
|
22468
22475
|
get__y() {
|
|
22469
|
-
return this.
|
|
22476
|
+
return this._ch != null ? this._ch._t : null;
|
|
22470
22477
|
}
|
|
22471
22478
|
get__t() {
|
|
22472
|
-
return this.
|
|
22479
|
+
return this._ch != null ? this._ch._r : null;
|
|
22473
22480
|
}
|
|
22474
22481
|
get _t() {
|
|
22475
22482
|
return this.get__t();
|
|
@@ -22480,18 +22487,18 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22480
22487
|
return false;
|
|
22481
22488
|
}
|
|
22482
22489
|
let e;
|
|
22483
|
-
for (e = 0; e < this.
|
|
22484
|
-
if (this.
|
|
22490
|
+
for (e = 0; e < this._co; e++) {
|
|
22491
|
+
if (this._cm._inner[e].isSubsetReference(d)) {
|
|
22485
22492
|
return false;
|
|
22486
22493
|
}
|
|
22487
22494
|
}
|
|
22488
|
-
let f = e + this.
|
|
22495
|
+
let f = e + this._cn;
|
|
22489
22496
|
for (; e < f; e++) {
|
|
22490
|
-
if (this.
|
|
22491
|
-
let g = this.
|
|
22492
|
-
if (!this.
|
|
22493
|
-
if (c && Base.equalsStatic(this.
|
|
22494
|
-
this.
|
|
22497
|
+
if (this._cm._inner[e].isSubsetReference(d)) {
|
|
22498
|
+
let g = this._cr(e);
|
|
22499
|
+
if (!this._cj.b(g)) {
|
|
22500
|
+
if (c && Base.equalsStatic(this._cm._inner[e], d)) {
|
|
22501
|
+
this._cy(g);
|
|
22495
22502
|
}
|
|
22496
22503
|
else {
|
|
22497
22504
|
continue;
|
|
@@ -22502,48 +22509,48 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22502
22509
|
}
|
|
22503
22510
|
let h = typeCast(CellCalcReference.$, d);
|
|
22504
22511
|
if (c) {
|
|
22505
|
-
this.
|
|
22506
|
-
this.
|
|
22507
|
-
this.
|
|
22512
|
+
this._cu(a, this._co + this._cn);
|
|
22513
|
+
this._cn++;
|
|
22514
|
+
this._cy(this._cn - 1);
|
|
22508
22515
|
}
|
|
22509
22516
|
else if (h != null) {
|
|
22510
|
-
let i = this.
|
|
22517
|
+
let i = this._cp(h);
|
|
22511
22518
|
if (0 <= i) {
|
|
22512
|
-
this.
|
|
22519
|
+
this._cy(this._cr(i));
|
|
22513
22520
|
return false;
|
|
22514
22521
|
}
|
|
22515
|
-
let j = this.
|
|
22516
|
-
this.
|
|
22522
|
+
let j = this._cu(h, ~i);
|
|
22523
|
+
this._cy(j);
|
|
22517
22524
|
}
|
|
22518
22525
|
else {
|
|
22519
|
-
let k = this.
|
|
22526
|
+
let k = this._cm.count;
|
|
22520
22527
|
for (let l = 0; e < k; e++, l++) {
|
|
22521
|
-
let m = this.
|
|
22528
|
+
let m = this._cm._inner[e];
|
|
22522
22529
|
if (typeCast(CellCalcReference.$, m) !== null) {
|
|
22523
22530
|
continue;
|
|
22524
22531
|
}
|
|
22525
22532
|
if (Base.equalsStatic(m, d)) {
|
|
22526
|
-
this.
|
|
22533
|
+
this._cy(l);
|
|
22527
22534
|
return false;
|
|
22528
22535
|
}
|
|
22529
22536
|
}
|
|
22530
|
-
let n = this.
|
|
22531
|
-
this.
|
|
22532
|
-
this.
|
|
22537
|
+
let n = this._cr(this._cm.count);
|
|
22538
|
+
this._cm.add(d);
|
|
22539
|
+
this._cy(n);
|
|
22533
22540
|
}
|
|
22534
22541
|
if (b != null) {
|
|
22535
|
-
b.ah(d, this.
|
|
22542
|
+
b.ah(d, this._ch);
|
|
22536
22543
|
}
|
|
22537
22544
|
else {
|
|
22538
22545
|
}
|
|
22539
22546
|
return true;
|
|
22540
22547
|
}
|
|
22541
|
-
|
|
22542
|
-
let b = this.
|
|
22543
|
-
let c = this.
|
|
22548
|
+
_cp(a) {
|
|
22549
|
+
let b = this._ct(this._cn);
|
|
22550
|
+
let c = this._cm.count - 1;
|
|
22544
22551
|
while (b <= c) {
|
|
22545
22552
|
let d = b + (intDivide((c - b), 2));
|
|
22546
|
-
let e = SingleTargetFormula.
|
|
22553
|
+
let e = SingleTargetFormula._cq(a, typeCast(CellCalcReference.$, this._cm._inner[d]));
|
|
22547
22554
|
if (e == 0) {
|
|
22548
22555
|
return d;
|
|
22549
22556
|
}
|
|
@@ -22556,25 +22563,25 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22556
22563
|
}
|
|
22557
22564
|
return ~b;
|
|
22558
22565
|
}
|
|
22559
|
-
|
|
22560
|
-
let b = this.
|
|
22561
|
-
if (this.
|
|
22566
|
+
_cv(a) {
|
|
22567
|
+
let b = this._cs();
|
|
22568
|
+
if (this._cj == null || b == 0) {
|
|
22562
22569
|
return;
|
|
22563
22570
|
}
|
|
22564
22571
|
for (let c = b - 1; c >= 0; c--) {
|
|
22565
|
-
if (this.
|
|
22566
|
-
if (c < this.
|
|
22567
|
-
this.
|
|
22572
|
+
if (this._cj.b(c) == false) {
|
|
22573
|
+
if (c < this._cn) {
|
|
22574
|
+
this._cn--;
|
|
22568
22575
|
}
|
|
22569
|
-
let d = this.
|
|
22570
|
-
let e = this.
|
|
22571
|
-
this.
|
|
22572
|
-
a.a0(e, this.
|
|
22576
|
+
let d = this._ct(c);
|
|
22577
|
+
let e = this._cm._inner[d];
|
|
22578
|
+
this._cm.removeAt(d);
|
|
22579
|
+
a.a0(e, this._ch);
|
|
22573
22580
|
}
|
|
22574
22581
|
}
|
|
22575
|
-
this.
|
|
22582
|
+
this._cj.h(false);
|
|
22576
22583
|
}
|
|
22577
|
-
static
|
|
22584
|
+
static _cq(a, b) {
|
|
22578
22585
|
if (a == b) {
|
|
22579
22586
|
return 0;
|
|
22580
22587
|
}
|
|
@@ -22591,32 +22598,32 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22591
22598
|
}
|
|
22592
22599
|
return b._u._am - a._u._am;
|
|
22593
22600
|
}
|
|
22594
|
-
|
|
22595
|
-
if (this.
|
|
22596
|
-
this.
|
|
22601
|
+
_cw(a) {
|
|
22602
|
+
if (this._cj == null) {
|
|
22603
|
+
this._cj = new SingleTargetFormula_SimpleBitArray(a + 1, false);
|
|
22597
22604
|
}
|
|
22598
|
-
else if (this.
|
|
22599
|
-
this.
|
|
22605
|
+
else if (this._cj.f <= a) {
|
|
22606
|
+
this._cj.f = Math.max(a + 1, this._cj.f * 2);
|
|
22600
22607
|
}
|
|
22601
22608
|
}
|
|
22602
22609
|
evaluateCore(a) {
|
|
22603
|
-
if (this.
|
|
22610
|
+
if (this._ch._aj) {
|
|
22604
22611
|
return null;
|
|
22605
22612
|
}
|
|
22606
|
-
return this.
|
|
22613
|
+
return this._cg(a, this._ch, false);
|
|
22607
22614
|
}
|
|
22608
|
-
|
|
22615
|
+
_cg(a, b, c) {
|
|
22609
22616
|
if (this._am) {
|
|
22610
|
-
return this.
|
|
22617
|
+
return this._cd;
|
|
22611
22618
|
}
|
|
22612
|
-
if (this.
|
|
22619
|
+
if (this._ci._ai) {
|
|
22613
22620
|
return new ExcelCalcValue(new ExcelCalcErrorValue(7));
|
|
22614
22621
|
}
|
|
22615
22622
|
try {
|
|
22616
22623
|
let d = new ExcelCalcNumberStack(b, this);
|
|
22617
22624
|
d._u = c;
|
|
22618
22625
|
let e;
|
|
22619
|
-
if (this.
|
|
22626
|
+
if (this._ch == b) {
|
|
22620
22627
|
e = new FormulaContext(1, a, this._i);
|
|
22621
22628
|
}
|
|
22622
22629
|
else {
|
|
@@ -22634,7 +22641,7 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22634
22641
|
}
|
|
22635
22642
|
}
|
|
22636
22643
|
}
|
|
22637
|
-
let h = FormulaEvaluator.a5(e, this.
|
|
22644
|
+
let h = FormulaEvaluator.a5(e, this._ci, d);
|
|
22638
22645
|
h.h();
|
|
22639
22646
|
if (d.count() == 0) {
|
|
22640
22647
|
return new ExcelCalcValue(new ExcelCalcErrorValue(1));
|
|
@@ -22649,41 +22656,41 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22649
22656
|
return new ExcelCalcValue(j);
|
|
22650
22657
|
}
|
|
22651
22658
|
}
|
|
22652
|
-
|
|
22653
|
-
return this.
|
|
22659
|
+
_cs() {
|
|
22660
|
+
return this._cm.count - this._co;
|
|
22654
22661
|
}
|
|
22655
|
-
|
|
22656
|
-
return a - this.
|
|
22662
|
+
_cr(a) {
|
|
22663
|
+
return a - this._co;
|
|
22657
22664
|
}
|
|
22658
|
-
|
|
22659
|
-
return a + this.
|
|
22665
|
+
_ct(a) {
|
|
22666
|
+
return a + this._co;
|
|
22660
22667
|
}
|
|
22661
|
-
|
|
22668
|
+
_cx(a) {
|
|
22662
22669
|
this._b6(a);
|
|
22663
22670
|
let b = new FormulaContext(1, a, this);
|
|
22664
22671
|
let c = SingleTargetFormula_StaticReferenceFinder.a3(b, this);
|
|
22665
22672
|
c.h();
|
|
22666
22673
|
}
|
|
22667
|
-
|
|
22668
|
-
let c = this.
|
|
22669
|
-
if (this.
|
|
22670
|
-
let d = this.
|
|
22671
|
-
this.
|
|
22672
|
-
this.
|
|
22674
|
+
_cu(a, b) {
|
|
22675
|
+
let c = this._cr(b);
|
|
22676
|
+
if (this._cj != null) {
|
|
22677
|
+
let d = this._cs();
|
|
22678
|
+
this._cw(d);
|
|
22679
|
+
this._cj.i(c);
|
|
22673
22680
|
}
|
|
22674
|
-
this.
|
|
22681
|
+
this._cm.insert(b, a);
|
|
22675
22682
|
return c;
|
|
22676
22683
|
}
|
|
22677
|
-
|
|
22678
|
-
this.
|
|
22679
|
-
this.
|
|
22684
|
+
_cy(a) {
|
|
22685
|
+
this._cw(a);
|
|
22686
|
+
this._cj.g(a, true);
|
|
22680
22687
|
}
|
|
22681
|
-
|
|
22682
|
-
if (this.
|
|
22688
|
+
_cz(a, b, c = false) {
|
|
22689
|
+
if (this._ch == a) {
|
|
22683
22690
|
return;
|
|
22684
22691
|
}
|
|
22685
|
-
let d = this.
|
|
22686
|
-
this.
|
|
22692
|
+
let d = this._ch;
|
|
22693
|
+
this._ch = a;
|
|
22687
22694
|
if (d != null) {
|
|
22688
22695
|
if (this._as) {
|
|
22689
22696
|
if (a == null && d._u != null && !c) {
|
|
@@ -22694,13 +22701,13 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22694
22701
|
this._bu();
|
|
22695
22702
|
}
|
|
22696
22703
|
}
|
|
22697
|
-
this.
|
|
22698
|
-
if (this.
|
|
22699
|
-
this.
|
|
22704
|
+
this._cm.clear();
|
|
22705
|
+
if (this._cj != null) {
|
|
22706
|
+
this._cj.h(false);
|
|
22700
22707
|
}
|
|
22701
|
-
if (this.
|
|
22708
|
+
if (this._ch != null) {
|
|
22702
22709
|
if (this._al == false) {
|
|
22703
|
-
this._b5(new FormulaContext(1, this.
|
|
22710
|
+
this._b5(new FormulaContext(1, this._ch._t, this));
|
|
22704
22711
|
}
|
|
22705
22712
|
if (this._i._aq == false) {
|
|
22706
22713
|
let e = new FormulaContext(1, b, this._i);
|
|
@@ -22708,31 +22715,31 @@ export let SingleTargetFormula = /*@__PURE__*/ (() => {
|
|
|
22708
22715
|
f.h();
|
|
22709
22716
|
}
|
|
22710
22717
|
}
|
|
22711
|
-
this.
|
|
22718
|
+
this._co = this._cm.count;
|
|
22712
22719
|
}
|
|
22713
|
-
get
|
|
22714
|
-
return this.
|
|
22720
|
+
get _ce() {
|
|
22721
|
+
return this._cd;
|
|
22715
22722
|
}
|
|
22716
|
-
set
|
|
22717
|
-
if (this.
|
|
22718
|
-
this.
|
|
22719
|
-
if (this.
|
|
22723
|
+
set _ce(a) {
|
|
22724
|
+
if (this._ch != null && this._ch._ad) {
|
|
22725
|
+
this._ch._ad = false;
|
|
22726
|
+
if (this._cd != null && !this._ch._af) {
|
|
22720
22727
|
return;
|
|
22721
22728
|
}
|
|
22722
22729
|
}
|
|
22723
|
-
this.
|
|
22730
|
+
this._cd = a;
|
|
22724
22731
|
}
|
|
22725
22732
|
get hasAlwaysDirty() {
|
|
22726
22733
|
return this._ax;
|
|
22727
22734
|
}
|
|
22728
|
-
|
|
22735
|
+
get__cl() {
|
|
22729
22736
|
return true;
|
|
22730
22737
|
}
|
|
22731
|
-
get
|
|
22732
|
-
return this.
|
|
22738
|
+
get _cl() {
|
|
22739
|
+
return this.get__cl();
|
|
22733
22740
|
}
|
|
22734
|
-
get
|
|
22735
|
-
return this.
|
|
22741
|
+
get _ci() {
|
|
22742
|
+
return this._ch;
|
|
22736
22743
|
}
|
|
22737
22744
|
}
|
|
22738
22745
|
SingleTargetFormula.$t = /*@__PURE__*/ markType(SingleTargetFormula, 'SingleTargetFormula', Formula.$, [IExcelCalcFormula_$type, IExcelCalcReferenceCollectionEx_$type]);
|
|
@@ -23474,7 +23481,7 @@ export let ChartTextAreaBase = /*@__PURE__*/ (() => {
|
|
|
23474
23481
|
*/
|
|
23475
23482
|
set _a5(a) {
|
|
23476
23483
|
if (a != this._a4) {
|
|
23477
|
-
if (a != null && a.
|
|
23484
|
+
if (a != null && a._ci == null) {
|
|
23478
23485
|
ChartTextAreaBase._a6(this.sheet, a);
|
|
23479
23486
|
}
|
|
23480
23487
|
let b = this._r(ChartTextAreaBase.$, SingleTargetFormula.$, this, 2, this._a4, a);
|
|
@@ -23623,7 +23630,7 @@ export let ChartTextAreaBase = /*@__PURE__*/ (() => {
|
|
|
23623
23630
|
*/
|
|
23624
23631
|
get_text() {
|
|
23625
23632
|
if (this._a4 != null) {
|
|
23626
|
-
let a = this._a4.
|
|
23633
|
+
let a = this._a4._cg(this.workbook, null, false);
|
|
23627
23634
|
if (!a.isError) {
|
|
23628
23635
|
let b = a.toString();
|
|
23629
23636
|
if (b != this._b1) {
|
|
@@ -23911,7 +23918,7 @@ export let ChartTextAreaBase = /*@__PURE__*/ (() => {
|
|
|
23911
23918
|
static _a6(a, b) {
|
|
23912
23919
|
if (b != null) {
|
|
23913
23920
|
let c = new TempCellCalcReference(true, a, new WorksheetCellAddress(1, 0, 0));
|
|
23914
|
-
b.
|
|
23921
|
+
b._cz(c, a.workbook);
|
|
23915
23922
|
}
|
|
23916
23923
|
return b;
|
|
23917
23924
|
}
|
|
@@ -33084,27 +33091,27 @@ export let ArrayInteriorFormula = /*@__PURE__*/ (() => {
|
|
|
33084
33091
|
class ArrayInteriorFormula extends SingleTargetFormula {
|
|
33085
33092
|
constructor(a) {
|
|
33086
33093
|
super(1, a);
|
|
33087
|
-
this.
|
|
33088
|
-
this.
|
|
33094
|
+
this._c0 = null;
|
|
33095
|
+
this._c0 = a;
|
|
33089
33096
|
}
|
|
33090
33097
|
get owningValue() {
|
|
33091
|
-
return this.
|
|
33098
|
+
return this._c0;
|
|
33092
33099
|
}
|
|
33093
33100
|
_g() {
|
|
33094
|
-
return new ArrayInteriorFormula(this.
|
|
33101
|
+
return new ArrayInteriorFormula(this._c0);
|
|
33095
33102
|
}
|
|
33096
33103
|
get__i() {
|
|
33097
|
-
return this.
|
|
33104
|
+
return this._c0;
|
|
33098
33105
|
}
|
|
33099
33106
|
get__ak() {
|
|
33100
33107
|
return true;
|
|
33101
33108
|
}
|
|
33102
|
-
|
|
33103
|
-
let a = typeCast(CellCalcReference.$, this.
|
|
33104
|
-
return a != null && this.
|
|
33109
|
+
get__cl() {
|
|
33110
|
+
let a = typeCast(CellCalcReference.$, this._ci);
|
|
33111
|
+
return a != null && this._c0.cellRange != null && a._w.index == this._c0.cellRange.firstRow && a._ao == this._c0.cellRange._v;
|
|
33105
33112
|
}
|
|
33106
|
-
get
|
|
33107
|
-
return this.
|
|
33113
|
+
get _c1() {
|
|
33114
|
+
return this._c0;
|
|
33108
33115
|
}
|
|
33109
33116
|
}
|
|
33110
33117
|
ArrayInteriorFormula.$t = /*@__PURE__*/ markType(ArrayInteriorFormula, 'ArrayInteriorFormula', SingleTargetFormula.$, [IRegionBlockingSingleCellComponent_$type]);
|
|
@@ -33117,26 +33124,26 @@ export let DataTableInteriorFormula = /*@__PURE__*/ (() => {
|
|
|
33117
33124
|
class DataTableInteriorFormula extends SingleTargetFormula {
|
|
33118
33125
|
constructor(a) {
|
|
33119
33126
|
super(2, a);
|
|
33120
|
-
this.
|
|
33121
|
-
this.
|
|
33122
|
-
this.
|
|
33127
|
+
this._c0 = null;
|
|
33128
|
+
this._c0 = a;
|
|
33129
|
+
this._ce = new ExcelCalcValue(0);
|
|
33123
33130
|
}
|
|
33124
33131
|
get owningValue() {
|
|
33125
|
-
return this.
|
|
33132
|
+
return this._c0;
|
|
33126
33133
|
}
|
|
33127
33134
|
_g() {
|
|
33128
|
-
return new DataTableInteriorFormula(this.
|
|
33135
|
+
return new DataTableInteriorFormula(this._c0);
|
|
33129
33136
|
}
|
|
33130
33137
|
get__am() {
|
|
33131
33138
|
return true;
|
|
33132
33139
|
}
|
|
33133
|
-
|
|
33134
|
-
let a = typeCast(CellCalcReference.$, this.
|
|
33135
|
-
let b = this.
|
|
33140
|
+
get__cl() {
|
|
33141
|
+
let a = typeCast(CellCalcReference.$, this._ci);
|
|
33142
|
+
let b = this._c0._h;
|
|
33136
33143
|
return a != null && b != null && a._w.index == b.firstRow && a._ao == b._v;
|
|
33137
33144
|
}
|
|
33138
|
-
get
|
|
33139
|
-
return this.
|
|
33145
|
+
get _c1() {
|
|
33146
|
+
return this._c0;
|
|
33140
33147
|
}
|
|
33141
33148
|
}
|
|
33142
33149
|
DataTableInteriorFormula.$t = /*@__PURE__*/ markType(DataTableInteriorFormula, 'DataTableInteriorFormula', SingleTargetFormula.$, [IRegionBlockingSingleCellComponent_$type]);
|
|
@@ -33894,7 +33901,7 @@ export let WorksheetRow = /*@__PURE__*/ (() => {
|
|
|
33894
33901
|
if (c == null) {
|
|
33895
33902
|
return null;
|
|
33896
33903
|
}
|
|
33897
|
-
return c.
|
|
33904
|
+
return c._c1;
|
|
33898
33905
|
}
|
|
33899
33906
|
/**
|
|
33900
33907
|
* Gets the merged cells region which contains the cell at the specified index, or null if the cell is not merged.
|
|
@@ -34134,7 +34141,7 @@ export let WorksheetRow = /*@__PURE__*/ (() => {
|
|
|
34134
34141
|
return null;
|
|
34135
34142
|
}
|
|
34136
34143
|
if (c._ak) {
|
|
34137
|
-
return c.
|
|
34144
|
+
return c._c1;
|
|
34138
34145
|
}
|
|
34139
34146
|
return c;
|
|
34140
34147
|
}
|
|
@@ -35933,7 +35940,7 @@ export let WorksheetRow = /*@__PURE__*/ (() => {
|
|
|
35933
35940
|
if (b != null) {
|
|
35934
35941
|
b.addItem(new WorksheetCellAddress(1, this._cx, r._ao), s);
|
|
35935
35942
|
}
|
|
35936
|
-
if (s.
|
|
35943
|
+
if (s._cl) {
|
|
35937
35944
|
s._i._bu();
|
|
35938
35945
|
}
|
|
35939
35946
|
r._a0(null, false);
|
|
@@ -36635,10 +36642,10 @@ export let WorksheetRow = /*@__PURE__*/ (() => {
|
|
|
36635
36642
|
if (g != null) {
|
|
36636
36643
|
if (g._ak) {
|
|
36637
36644
|
let h = g;
|
|
36638
|
-
if (!h.
|
|
36645
|
+
if (!h._cl) {
|
|
36639
36646
|
return;
|
|
36640
36647
|
}
|
|
36641
|
-
g = h.
|
|
36648
|
+
g = h._c1;
|
|
36642
36649
|
}
|
|
36643
36650
|
let i = this.worksheet._c;
|
|
36644
36651
|
g._ca(a, c, d, i, true);
|
|
@@ -37393,7 +37400,7 @@ export let ConditionBase = /*@__PURE__*/ (() => {
|
|
|
37393
37400
|
}
|
|
37394
37401
|
if (d != null) {
|
|
37395
37402
|
if (c != null) {
|
|
37396
|
-
d.
|
|
37403
|
+
d._cz(c, a);
|
|
37397
37404
|
}
|
|
37398
37405
|
let e = d.evaluateCore(a);
|
|
37399
37406
|
if (e.isError || e.isNull) {
|
|
@@ -37416,9 +37423,9 @@ export let ConditionBase = /*@__PURE__*/ (() => {
|
|
|
37416
37423
|
d = new TempCellCalcReference(true, this.worksheet, new WorksheetCellAddress(1, b, c));
|
|
37417
37424
|
}
|
|
37418
37425
|
if (a._s != 7) {
|
|
37419
|
-
a.
|
|
37426
|
+
a._cz(d, this.workbook);
|
|
37420
37427
|
}
|
|
37421
|
-
let e = a.
|
|
37428
|
+
let e = a._cg(this.workbook, d, false);
|
|
37422
37429
|
if (false == e.isError && false == e.isNull) {
|
|
37423
37430
|
let f;
|
|
37424
37431
|
if (((() => { let g = e._toDouble1(f); f = g.p0; return g.ret; })())) {
|
|
@@ -37649,7 +37656,7 @@ export let ConditionBase = /*@__PURE__*/ (() => {
|
|
|
37649
37656
|
if (a != null) {
|
|
37650
37657
|
let b = this._s();
|
|
37651
37658
|
let c = new TempCellCalcReference(true, this.worksheet, b);
|
|
37652
|
-
a.
|
|
37659
|
+
a._cz(c, this.workbook);
|
|
37653
37660
|
}
|
|
37654
37661
|
return a;
|
|
37655
37662
|
}
|
|
@@ -38081,16 +38088,16 @@ export let ConditionBase = /*@__PURE__*/ (() => {
|
|
|
38081
38088
|
*/
|
|
38082
38089
|
_bp(a, b, c, d, e) {
|
|
38083
38090
|
if (c != null) {
|
|
38084
|
-
let f = c.
|
|
38091
|
+
let f = c._ci;
|
|
38085
38092
|
if (f != null) {
|
|
38086
|
-
c.
|
|
38093
|
+
c._cz(null, this.workbook);
|
|
38087
38094
|
}
|
|
38088
38095
|
let g = c._toString1(1);
|
|
38089
38096
|
if (c._av(this.worksheet, d, 0)) {
|
|
38090
38097
|
a(this, b, g);
|
|
38091
38098
|
}
|
|
38092
38099
|
if (f != null) {
|
|
38093
|
-
c.
|
|
38100
|
+
c._cz(f, this.workbook);
|
|
38094
38101
|
}
|
|
38095
38102
|
}
|
|
38096
38103
|
return {
|
|
@@ -38151,7 +38158,7 @@ export let ConditionBase = /*@__PURE__*/ (() => {
|
|
|
38151
38158
|
_a3(a, b) {
|
|
38152
38159
|
let c = b != null ? b._toString2(1, this.workbook._e6) : null;
|
|
38153
38160
|
b = this._o(a, toNullable(CellReferenceMode_$type, 1));
|
|
38154
|
-
if (b != null && b.
|
|
38161
|
+
if (b != null && b._ci == null) {
|
|
38155
38162
|
this._m(b);
|
|
38156
38163
|
}
|
|
38157
38164
|
return {
|
|
@@ -41452,7 +41459,7 @@ export let Worksheet = /*@__PURE__*/ (() => {
|
|
|
41452
41459
|
for (let ac = 0; ac < f.count; ac++) {
|
|
41453
41460
|
let ad = f._inner[ac];
|
|
41454
41461
|
let ae;
|
|
41455
|
-
if (((() => { let af = ad.
|
|
41462
|
+
if (((() => { let af = ad._cn(a, p, ae); ae = af.p2; return af.ret; })())) {
|
|
41456
41463
|
f.removeAt(ac);
|
|
41457
41464
|
ac--;
|
|
41458
41465
|
}
|
|
@@ -41647,7 +41654,7 @@ export let Worksheet = /*@__PURE__*/ (() => {
|
|
|
41647
41654
|
let bb = ba._bk(a, c, c == null || false == c.shiftsColumns || !c.isUndoOperation);
|
|
41648
41655
|
}
|
|
41649
41656
|
for (let bc of fromEnum(f)) {
|
|
41650
|
-
bc.
|
|
41657
|
+
bc._c2(a, c, g.item(bc));
|
|
41651
41658
|
}
|
|
41652
41659
|
k = new WorksheetCellShiftResult(1, 0, h);
|
|
41653
41660
|
if (this.workbook != null) {
|
|
@@ -41981,7 +41988,7 @@ export let Worksheet = /*@__PURE__*/ (() => {
|
|
|
41981
41988
|
let z = y.owningValue.blockedRegion;
|
|
41982
41989
|
let aa = typeCast(ArrayInteriorFormula.$, y);
|
|
41983
41990
|
if (aa != null) {
|
|
41984
|
-
if (a.s(ArrayFormula.$, e, b, aa.
|
|
41991
|
+
if (a.s(ArrayFormula.$, e, b, aa._c1, z._h) == false) {
|
|
41985
41992
|
return 6;
|
|
41986
41993
|
}
|
|
41987
41994
|
}
|
|
@@ -44648,7 +44655,7 @@ export let WorksheetRegion = /*@__PURE__*/ (() => {
|
|
|
44648
44655
|
*/
|
|
44649
44656
|
applyArrayFormula(value) {
|
|
44650
44657
|
this._ao();
|
|
44651
|
-
let a = ArrayFormula.
|
|
44658
|
+
let a = ArrayFormula._cj(value, this._e.workbook);
|
|
44652
44659
|
a._applyTo3(this);
|
|
44653
44660
|
}
|
|
44654
44661
|
/**
|
|
@@ -51602,14 +51609,14 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51602
51609
|
{
|
|
51603
51610
|
let c = _rest[0];
|
|
51604
51611
|
super(0, c, 1);
|
|
51605
|
-
this.
|
|
51612
|
+
this._cl = null;
|
|
51606
51613
|
}
|
|
51607
51614
|
break;
|
|
51608
51615
|
case 1:
|
|
51609
51616
|
{
|
|
51610
51617
|
let c = _rest[0];
|
|
51611
51618
|
super(3, c, false);
|
|
51612
|
-
this.
|
|
51619
|
+
this._cl = null;
|
|
51613
51620
|
}
|
|
51614
51621
|
break;
|
|
51615
51622
|
}
|
|
@@ -51630,17 +51637,17 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51630
51637
|
if (a.length != 1) {
|
|
51631
51638
|
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_ArrayFormulaMustHaveSingleRegion"), "regions");
|
|
51632
51639
|
}
|
|
51633
|
-
if (this.
|
|
51640
|
+
if (this._cl != null) {
|
|
51634
51641
|
throw new InvalidOperationException(1, ExcelUtils.eh("LE_InvalidOperationException_ArrayFormulaAlreadyApplied"));
|
|
51635
51642
|
}
|
|
51636
51643
|
let e = a[0];
|
|
51637
|
-
this.
|
|
51644
|
+
this._c0(e);
|
|
51638
51645
|
}
|
|
51639
51646
|
/**
|
|
51640
51647
|
* @hidden
|
|
51641
51648
|
*/
|
|
51642
51649
|
_br(a, b, c) {
|
|
51643
|
-
this.
|
|
51650
|
+
this._c0(a.worksheet._cx(a.index, b, a.index, b));
|
|
51644
51651
|
}
|
|
51645
51652
|
/**
|
|
51646
51653
|
* @hidden
|
|
@@ -51652,8 +51659,8 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51652
51659
|
* @hidden
|
|
51653
51660
|
*/
|
|
51654
51661
|
get__z() {
|
|
51655
|
-
if (this.
|
|
51656
|
-
return this.
|
|
51662
|
+
if (this._cl != null && this._cl.worksheet != null) {
|
|
51663
|
+
return this._cl.worksheet._o;
|
|
51657
51664
|
}
|
|
51658
51665
|
return super.get__z();
|
|
51659
51666
|
}
|
|
@@ -51673,7 +51680,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51673
51680
|
* @hidden
|
|
51674
51681
|
*/
|
|
51675
51682
|
get__bb() {
|
|
51676
|
-
return this.
|
|
51683
|
+
return this._cl != null ? this._cl._v : -1;
|
|
51677
51684
|
}
|
|
51678
51685
|
/**
|
|
51679
51686
|
* @hidden
|
|
@@ -51685,7 +51692,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51685
51692
|
* @hidden
|
|
51686
51693
|
*/
|
|
51687
51694
|
get__ab() {
|
|
51688
|
-
return this.
|
|
51695
|
+
return this._cl != null ? this._cl._k : null;
|
|
51689
51696
|
}
|
|
51690
51697
|
/**
|
|
51691
51698
|
* @hidden
|
|
@@ -51697,7 +51704,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51697
51704
|
* @hidden
|
|
51698
51705
|
*/
|
|
51699
51706
|
get__aa() {
|
|
51700
|
-
return this.
|
|
51707
|
+
return this._cl != null ? new WorksheetCellAddress(1, this._cl.firstRow, this._cl._v) : WorksheetCellAddress.b;
|
|
51701
51708
|
}
|
|
51702
51709
|
/**
|
|
51703
51710
|
* @hidden
|
|
@@ -51714,7 +51721,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51714
51721
|
* @hidden
|
|
51715
51722
|
*/
|
|
51716
51723
|
get__t() {
|
|
51717
|
-
return this.
|
|
51724
|
+
return this._cl != null ? this._cl.worksheet : null;
|
|
51718
51725
|
}
|
|
51719
51726
|
/**
|
|
51720
51727
|
* @hidden
|
|
@@ -51750,7 +51757,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51750
51757
|
* @hidden
|
|
51751
51758
|
*/
|
|
51752
51759
|
get blockedRegion() {
|
|
51753
|
-
return this.
|
|
51760
|
+
return this._cl;
|
|
51754
51761
|
}
|
|
51755
51762
|
/**
|
|
51756
51763
|
* Removes this array formula as the formula for the cells to which it was applied.
|
|
@@ -51759,12 +51766,12 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51759
51766
|
* </p>
|
|
51760
51767
|
*/
|
|
51761
51768
|
clearCellRange() {
|
|
51762
|
-
if (this.
|
|
51769
|
+
if (this._cl == null) {
|
|
51763
51770
|
return;
|
|
51764
51771
|
}
|
|
51765
51772
|
let a = this._t;
|
|
51766
|
-
let b = ArrayFormula.
|
|
51767
|
-
let c = this.
|
|
51773
|
+
let b = ArrayFormula._cd[1];
|
|
51774
|
+
let c = this._cl;
|
|
51768
51775
|
let d = new ArrayFormula_FormulaChangeContext(1, this, c);
|
|
51769
51776
|
let e = a != null ? a.workbook : null;
|
|
51770
51777
|
let f = null;
|
|
@@ -51775,14 +51782,14 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51775
51782
|
e._df = true;
|
|
51776
51783
|
}
|
|
51777
51784
|
if (a != null) {
|
|
51778
|
-
for (let h = this.
|
|
51785
|
+
for (let h = this._cl.lastRow; h >= this._cl.firstRow; h--) {
|
|
51779
51786
|
let i = a._rows$i.item(h);
|
|
51780
|
-
for (let j = this.
|
|
51787
|
+
for (let j = this._cl._w; j >= this._cl._v; j--) {
|
|
51781
51788
|
i._d6(j, null, false);
|
|
51782
51789
|
}
|
|
51783
51790
|
}
|
|
51784
51791
|
}
|
|
51785
|
-
this.
|
|
51792
|
+
this._cl = null;
|
|
51786
51793
|
if (e != null) {
|
|
51787
51794
|
e._df = g;
|
|
51788
51795
|
}
|
|
@@ -51794,7 +51801,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51794
51801
|
/**
|
|
51795
51802
|
* @hidden
|
|
51796
51803
|
*/
|
|
51797
|
-
static
|
|
51804
|
+
static _cj(a, b) {
|
|
51798
51805
|
let c;
|
|
51799
51806
|
let d;
|
|
51800
51807
|
let e;
|
|
@@ -51859,7 +51866,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51859
51866
|
static _parse9(a, b, c, d) {
|
|
51860
51867
|
let e;
|
|
51861
51868
|
let f;
|
|
51862
|
-
if (((() => { let g = ArrayFormula.
|
|
51869
|
+
if (((() => { let g = ArrayFormula._ct(a, b, c, d, e, f); e = g.p4; f = g.p5; return g.ret; })())) {
|
|
51863
51870
|
return e;
|
|
51864
51871
|
}
|
|
51865
51872
|
throw f;
|
|
@@ -51867,27 +51874,27 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51867
51874
|
/**
|
|
51868
51875
|
* @hidden
|
|
51869
51876
|
*/
|
|
51870
|
-
static
|
|
51877
|
+
static _co(a, b, c) {
|
|
51871
51878
|
return {
|
|
51872
|
-
ret: ((() => { let d = ArrayFormula.
|
|
51879
|
+
ret: ((() => { let d = ArrayFormula._cv(a, b, ExcelUtils.cs, c); c = d.p3; return d.ret; })()),
|
|
51873
51880
|
p2: c
|
|
51874
51881
|
};
|
|
51875
51882
|
}
|
|
51876
51883
|
/**
|
|
51877
51884
|
* @hidden
|
|
51878
51885
|
*/
|
|
51879
|
-
static
|
|
51886
|
+
static _cv(a, b, c, d) {
|
|
51880
51887
|
return {
|
|
51881
|
-
ret: ((() => { let e = ArrayFormula.
|
|
51888
|
+
ret: ((() => { let e = ArrayFormula._cs(a, b, 2, c, d); d = e.p4; return e.ret; })()),
|
|
51882
51889
|
p3: d
|
|
51883
51890
|
};
|
|
51884
51891
|
}
|
|
51885
51892
|
/**
|
|
51886
51893
|
* @hidden
|
|
51887
51894
|
*/
|
|
51888
|
-
static
|
|
51895
|
+
static _cp(a, b, c, d) {
|
|
51889
51896
|
return {
|
|
51890
|
-
ret: ((() => { let e = ArrayFormula.
|
|
51897
|
+
ret: ((() => { let e = ArrayFormula._cw(a, b, ExcelUtils.cs, c, d); c = e.p3; d = e.p4; return e.ret; })()),
|
|
51891
51898
|
p2: c,
|
|
51892
51899
|
p3: d
|
|
51893
51900
|
};
|
|
@@ -51895,9 +51902,9 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51895
51902
|
/**
|
|
51896
51903
|
* @hidden
|
|
51897
51904
|
*/
|
|
51898
|
-
static
|
|
51905
|
+
static _cw(a, b, c, d, e) {
|
|
51899
51906
|
return {
|
|
51900
|
-
ret: ((() => { let f = ArrayFormula.
|
|
51907
|
+
ret: ((() => { let f = ArrayFormula._ct(a, b, 2, c, d, e); d = f.p4; e = f.p5; return f.ret; })()),
|
|
51901
51908
|
p3: d,
|
|
51902
51909
|
p4: e
|
|
51903
51910
|
};
|
|
@@ -51905,28 +51912,28 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51905
51912
|
/**
|
|
51906
51913
|
* @hidden
|
|
51907
51914
|
*/
|
|
51908
|
-
static
|
|
51915
|
+
static _cq(a, b, c, d) {
|
|
51909
51916
|
return {
|
|
51910
|
-
ret: ((() => { let e = ArrayFormula.
|
|
51917
|
+
ret: ((() => { let e = ArrayFormula._cs(a, b, c, ExcelUtils.cs, d); d = e.p4; return e.ret; })()),
|
|
51911
51918
|
p3: d
|
|
51912
51919
|
};
|
|
51913
51920
|
}
|
|
51914
51921
|
/**
|
|
51915
51922
|
* @hidden
|
|
51916
51923
|
*/
|
|
51917
|
-
static
|
|
51924
|
+
static _cs(a, b, c, d, e) {
|
|
51918
51925
|
let f;
|
|
51919
51926
|
return {
|
|
51920
|
-
ret: ((() => { let g = ArrayFormula.
|
|
51927
|
+
ret: ((() => { let g = ArrayFormula._ct(a, b, c, d, e, f); e = g.p4; f = g.p5; return g.ret; })()),
|
|
51921
51928
|
p4: e
|
|
51922
51929
|
};
|
|
51923
51930
|
}
|
|
51924
51931
|
/**
|
|
51925
51932
|
* @hidden
|
|
51926
51933
|
*/
|
|
51927
|
-
static
|
|
51934
|
+
static _cr(a, b, c, d, e) {
|
|
51928
51935
|
return {
|
|
51929
|
-
ret: ((() => { let f = ArrayFormula.
|
|
51936
|
+
ret: ((() => { let f = ArrayFormula._ct(a, b, c, ExcelUtils.cs, d, e); d = f.p4; e = f.p5; return f.ret; })()),
|
|
51930
51937
|
p3: d,
|
|
51931
51938
|
p4: e
|
|
51932
51939
|
};
|
|
@@ -51934,9 +51941,9 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51934
51941
|
/**
|
|
51935
51942
|
* @hidden
|
|
51936
51943
|
*/
|
|
51937
|
-
static
|
|
51944
|
+
static _ct(a, b, c, d, e, f) {
|
|
51938
51945
|
return {
|
|
51939
|
-
ret: ((() => { let g = ArrayFormula.
|
|
51946
|
+
ret: ((() => { let g = ArrayFormula._cu(a, b, c, d, e, f, null); e = g.p4; f = g.p5; return g.ret; })()),
|
|
51940
51947
|
p4: e,
|
|
51941
51948
|
p5: f
|
|
51942
51949
|
};
|
|
@@ -51944,7 +51951,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51944
51951
|
/**
|
|
51945
51952
|
* @hidden
|
|
51946
51953
|
*/
|
|
51947
|
-
static
|
|
51954
|
+
static _cu(a, b, c, d, e, f, g) {
|
|
51948
51955
|
let h;
|
|
51949
51956
|
let i = ((() => { let j = Formula._a0(a, b, 1, c, d, g, h, f); h = j.p6; f = j.p7; return j.ret; })());
|
|
51950
51957
|
let j = typeCast(ArrayFormula.$, h);
|
|
@@ -51958,7 +51965,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51958
51965
|
/**
|
|
51959
51966
|
* @hidden
|
|
51960
51967
|
*/
|
|
51961
|
-
|
|
51968
|
+
_c2(a, b, c) {
|
|
51962
51969
|
if (c != null) {
|
|
51963
51970
|
c.c(a, this);
|
|
51964
51971
|
}
|
|
@@ -51966,15 +51973,15 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51966
51973
|
/**
|
|
51967
51974
|
* @hidden
|
|
51968
51975
|
*/
|
|
51969
|
-
|
|
51976
|
+
_cn(a, b, c) {
|
|
51970
51977
|
c = null;
|
|
51971
|
-
if (this.
|
|
51978
|
+
if (this._cl == null || this._cl.worksheet == null) {
|
|
51972
51979
|
return {
|
|
51973
51980
|
ret: false,
|
|
51974
51981
|
p2: c
|
|
51975
51982
|
};
|
|
51976
51983
|
}
|
|
51977
|
-
if (WorksheetRegionAddress._r(b, toNullable(WorksheetRegionAddress.$, null)) && this.
|
|
51984
|
+
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) {
|
|
51978
51985
|
let d = this._t.workbook;
|
|
51979
51986
|
let e = d._df;
|
|
51980
51987
|
d._df = false;
|
|
@@ -51985,7 +51992,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51985
51992
|
p2: c
|
|
51986
51993
|
};
|
|
51987
51994
|
}
|
|
51988
|
-
if (this.
|
|
51995
|
+
if (this._cl != null && this._cl.worksheet != null) {
|
|
51989
51996
|
c = new ShiftingArrayFormulaInfo(this);
|
|
51990
51997
|
this.clearCellRange();
|
|
51991
51998
|
}
|
|
@@ -51997,13 +52004,13 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
51997
52004
|
/**
|
|
51998
52005
|
* @hidden
|
|
51999
52006
|
*/
|
|
52000
|
-
|
|
52007
|
+
_c0(a) {
|
|
52001
52008
|
let b = a.worksheet;
|
|
52002
52009
|
if (b == null) {
|
|
52003
52010
|
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_RegionsShiftedOffWorksheet"), "regions");
|
|
52004
52011
|
}
|
|
52005
|
-
let c = this.
|
|
52006
|
-
let d = ArrayFormula.
|
|
52012
|
+
let c = this._cl;
|
|
52013
|
+
let d = ArrayFormula._cd[0];
|
|
52007
52014
|
let e = new ArrayFormula_FormulaChangeContext(1, this, a);
|
|
52008
52015
|
let f = b != null ? b.workbook : null;
|
|
52009
52016
|
let g = null;
|
|
@@ -52013,7 +52020,7 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
52013
52020
|
try {
|
|
52014
52021
|
WorksheetCellBlock.az(this, a, a);
|
|
52015
52022
|
b._jd(this, a._k, a._v);
|
|
52016
|
-
this.
|
|
52023
|
+
this._cl = a;
|
|
52017
52024
|
for (let h = a.lastRow; h >= a.firstRow; h--) {
|
|
52018
52025
|
let i = b._rows$i.item(h);
|
|
52019
52026
|
for (let j = a._w; j >= a._v; j--) {
|
|
@@ -52031,29 +52038,29 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
52031
52038
|
/**
|
|
52032
52039
|
* @hidden
|
|
52033
52040
|
*/
|
|
52034
|
-
static
|
|
52041
|
+
static _ck($tValue, a, b, c, d, e, f, g = true, h = true) {
|
|
52035
52042
|
return new ChangeInfo$2(ArrayFormula_FormulaChangeContext.$, $tValue, a, b, c, d, e, g, f, h, null, null);
|
|
52036
52043
|
}
|
|
52037
52044
|
/**
|
|
52038
52045
|
* @hidden
|
|
52039
52046
|
*/
|
|
52040
|
-
static
|
|
52047
|
+
static _ce() {
|
|
52041
52048
|
let a = new Array(2);
|
|
52042
|
-
ChangeInfo.f(a, 0, ArrayFormula.
|
|
52043
|
-
ChangeInfo.f(a, 1, ArrayFormula.
|
|
52049
|
+
ChangeInfo.f(a, 0, ArrayFormula._ck(WorksheetRegion.$, "Apply", 0, (b) => b.c(), (b, c) => ArrayFormula._c3(b, c), null, 8192));
|
|
52050
|
+
ChangeInfo.f(a, 1, ArrayFormula._ck(WorksheetRegion.$, "Clear", 10, (b) => b.c(), (b, c) => ArrayFormula._c4(b, c), null, 8192));
|
|
52044
52051
|
return a;
|
|
52045
52052
|
}
|
|
52046
52053
|
/**
|
|
52047
52054
|
* @hidden
|
|
52048
52055
|
*/
|
|
52049
|
-
static
|
|
52056
|
+
static _c3(a, b) {
|
|
52050
52057
|
a.a.clearCellRange();
|
|
52051
52058
|
}
|
|
52052
52059
|
/**
|
|
52053
52060
|
* @hidden
|
|
52054
52061
|
*/
|
|
52055
|
-
static
|
|
52056
|
-
a.a.
|
|
52062
|
+
static _c4(a, b) {
|
|
52063
|
+
a.a._c0(b);
|
|
52057
52064
|
}
|
|
52058
52065
|
/**
|
|
52059
52066
|
* Gets the cells to which the array formula is applied.
|
|
@@ -52063,26 +52070,26 @@ export let ArrayFormula = /*@__PURE__*/ (() => {
|
|
|
52063
52070
|
* The cells to which the array formula is applied.
|
|
52064
52071
|
*/
|
|
52065
52072
|
get cellRange() {
|
|
52066
|
-
return this.
|
|
52073
|
+
return this._cl;
|
|
52067
52074
|
}
|
|
52068
52075
|
}
|
|
52069
52076
|
ArrayFormula.$t = /*@__PURE__*/ markType(ArrayFormula, 'ArrayFormula', Formula.$, [IRegionBlockingValue_$type]);
|
|
52070
52077
|
/**
|
|
52071
52078
|
* @hidden
|
|
52072
52079
|
*/
|
|
52073
|
-
ArrayFormula.
|
|
52080
|
+
ArrayFormula._cx = 0;
|
|
52074
52081
|
/**
|
|
52075
52082
|
* @hidden
|
|
52076
52083
|
*/
|
|
52077
|
-
ArrayFormula.
|
|
52084
|
+
ArrayFormula._cy = 1;
|
|
52078
52085
|
/**
|
|
52079
52086
|
* @hidden
|
|
52080
52087
|
*/
|
|
52081
|
-
ArrayFormula.
|
|
52088
|
+
ArrayFormula._cz = 2;
|
|
52082
52089
|
/**
|
|
52083
52090
|
* @hidden
|
|
52084
52091
|
*/
|
|
52085
|
-
ArrayFormula.
|
|
52092
|
+
ArrayFormula._cd = /*@__PURE__*/ ArrayFormula._ce();
|
|
52086
52093
|
return ArrayFormula;
|
|
52087
52094
|
})();
|
|
52088
52095
|
/**
|
|
@@ -52112,7 +52119,7 @@ export let ShiftingArrayFormulaInfo = /*@__PURE__*/ (() => {
|
|
|
52112
52119
|
let f = this.a.worksheet._rows$i.item(d.o);
|
|
52113
52120
|
let g = f._as(d.m)._formula;
|
|
52114
52121
|
if (g != null) {
|
|
52115
|
-
g.
|
|
52122
|
+
g._ce = c.value;
|
|
52116
52123
|
}
|
|
52117
52124
|
else {
|
|
52118
52125
|
}
|
|
@@ -53749,6 +53756,42 @@ export let Formula_VerifyFormatLimitsVisitor = /*@__PURE__*/ (() => {
|
|
|
53749
53756
|
Formula_VerifyFormatLimitsVisitor.a0 = null;
|
|
53750
53757
|
return Formula_VerifyFormatLimitsVisitor;
|
|
53751
53758
|
})();
|
|
53759
|
+
/**
|
|
53760
|
+
* @hidden
|
|
53761
|
+
*/
|
|
53762
|
+
export let Formula_VisitWorksheetVisitor = /*@__PURE__*/ (() => {
|
|
53763
|
+
class Formula_VisitWorksheetVisitor extends FormulaTokenVisitor {
|
|
53764
|
+
constructor() {
|
|
53765
|
+
super();
|
|
53766
|
+
this.a1 = null;
|
|
53767
|
+
}
|
|
53768
|
+
g() {
|
|
53769
|
+
this.a1 = null;
|
|
53770
|
+
super.g();
|
|
53771
|
+
}
|
|
53772
|
+
aq(a) {
|
|
53773
|
+
let b = typeCast(WorksheetReferenceLocal.$, a.o);
|
|
53774
|
+
if (b != null) {
|
|
53775
|
+
this.a1(b.u);
|
|
53776
|
+
}
|
|
53777
|
+
}
|
|
53778
|
+
static a2(a, b) {
|
|
53779
|
+
let c = Formula_VisitWorksheetVisitor.a0(a, b);
|
|
53780
|
+
c.h();
|
|
53781
|
+
}
|
|
53782
|
+
static a0(a, b) {
|
|
53783
|
+
if (Formula_VisitWorksheetVisitor.az == null) {
|
|
53784
|
+
Formula_VisitWorksheetVisitor.az = new Formula_VisitWorksheetVisitor();
|
|
53785
|
+
}
|
|
53786
|
+
Formula_VisitWorksheetVisitor.az.b = a;
|
|
53787
|
+
Formula_VisitWorksheetVisitor.az.a1 = b;
|
|
53788
|
+
return Formula_VisitWorksheetVisitor.az;
|
|
53789
|
+
}
|
|
53790
|
+
}
|
|
53791
|
+
Formula_VisitWorksheetVisitor.$t = /*@__PURE__*/ markType(Formula_VisitWorksheetVisitor, 'Formula_VisitWorksheetVisitor', FormulaTokenVisitor.$);
|
|
53792
|
+
Formula_VisitWorksheetVisitor.az = null;
|
|
53793
|
+
return Formula_VisitWorksheetVisitor;
|
|
53794
|
+
})();
|
|
53752
53795
|
/**
|
|
53753
53796
|
* @hidden
|
|
53754
53797
|
*/
|
|
@@ -54126,7 +54169,7 @@ export let NamedReferenceFormula = /*@__PURE__*/ (() => {
|
|
|
54126
54169
|
return new NamedReferenceFormula(1, this);
|
|
54127
54170
|
}
|
|
54128
54171
|
_b7() {
|
|
54129
|
-
let a = this.
|
|
54172
|
+
let a = this._ci;
|
|
54130
54173
|
if (a != null && a._formula == this) {
|
|
54131
54174
|
a._a0(this, false, true);
|
|
54132
54175
|
}
|
|
@@ -54265,8 +54308,8 @@ export let SingleTargetFormula_DynamicReferenceCollection = /*@__PURE__*/ (() =>
|
|
|
54265
54308
|
this._a = a;
|
|
54266
54309
|
}
|
|
54267
54310
|
*_getEnumeratorObject() {
|
|
54268
|
-
for (let a = this._a.
|
|
54269
|
-
yield this._a.
|
|
54311
|
+
for (let a = this._a._co; a < this._a._cm.count; a++) {
|
|
54312
|
+
yield this._a._cm._inner[a];
|
|
54270
54313
|
}
|
|
54271
54314
|
}
|
|
54272
54315
|
getEnumeratorObject() {
|
|
@@ -54297,8 +54340,8 @@ export let SingleTargetFormula_StaticReferenceCollection = /*@__PURE__*/ (() =>
|
|
|
54297
54340
|
this._a = a;
|
|
54298
54341
|
}
|
|
54299
54342
|
*_getEnumeratorObject() {
|
|
54300
|
-
for (let a = 0; a < this._a.
|
|
54301
|
-
yield this._a.
|
|
54343
|
+
for (let a = 0; a < this._a._co; a++) {
|
|
54344
|
+
yield this._a._cm._inner[a];
|
|
54302
54345
|
}
|
|
54303
54346
|
}
|
|
54304
54347
|
getEnumeratorObject() {
|
|
@@ -54342,7 +54385,7 @@ export let SingleTargetFormula_StaticReferenceFinder = /*@__PURE__*/ (() => {
|
|
|
54342
54385
|
}
|
|
54343
54386
|
f() {
|
|
54344
54387
|
if (this.a5.f != 0) {
|
|
54345
|
-
this.a7(this.a5.e(), true, CalcUtilities.h(this.a1.
|
|
54388
|
+
this.a7(this.a5.e(), true, CalcUtilities.h(this.a1._ci));
|
|
54346
54389
|
}
|
|
54347
54390
|
for (let a = 0; a < this.az.length; a++) {
|
|
54348
54391
|
let b;
|
|
@@ -54422,12 +54465,12 @@ export let SingleTargetFormula_StaticReferenceFinder = /*@__PURE__*/ (() => {
|
|
|
54422
54465
|
}
|
|
54423
54466
|
}
|
|
54424
54467
|
}
|
|
54425
|
-
for (let k = 0; k < this.a1.
|
|
54426
|
-
if (this.a1.
|
|
54468
|
+
for (let k = 0; k < this.a1._cm.count; k++) {
|
|
54469
|
+
if (this.a1._cm._inner[k].containsReference(c)) {
|
|
54427
54470
|
return;
|
|
54428
54471
|
}
|
|
54429
54472
|
}
|
|
54430
|
-
this.a1.
|
|
54473
|
+
this.a1._cm.add(c);
|
|
54431
54474
|
}
|
|
54432
54475
|
static a3(a, b) {
|
|
54433
54476
|
if (SingleTargetFormula_StaticReferenceFinder.a2 == null) {
|
|
@@ -54453,7 +54496,7 @@ export let SingleTargetFormula_StaticReferenceFinder = /*@__PURE__*/ (() => {
|
|
|
54453
54496
|
if (d == null) {
|
|
54454
54497
|
return;
|
|
54455
54498
|
}
|
|
54456
|
-
if (this.a1.
|
|
54499
|
+
if (this.a1._ci._aj && d.p) {
|
|
54457
54500
|
return;
|
|
54458
54501
|
}
|
|
54459
54502
|
let e = typeCast(NameToken.$, d);
|
|
@@ -73739,7 +73782,7 @@ export let ExcelCalcEngine = /*@__PURE__*/ (() => {
|
|
|
73739
73782
|
if (a == null) {
|
|
73740
73783
|
return;
|
|
73741
73784
|
}
|
|
73742
|
-
this.a2(a, a.
|
|
73785
|
+
this.a2(a, a._ci, true);
|
|
73743
73786
|
this.h.af(a);
|
|
73744
73787
|
}
|
|
73745
73788
|
v() {
|
|
@@ -73852,7 +73895,7 @@ export let ExcelCalcEngine = /*@__PURE__*/ (() => {
|
|
|
73852
73895
|
if (a == null) {
|
|
73853
73896
|
return;
|
|
73854
73897
|
}
|
|
73855
|
-
this.a2(a, a.
|
|
73898
|
+
this.a2(a, a._ci, false);
|
|
73856
73899
|
this.h.ax(a);
|
|
73857
73900
|
}
|
|
73858
73901
|
a3() {
|
|
@@ -73885,7 +73928,7 @@ export let ExcelCalcEngine = /*@__PURE__*/ (() => {
|
|
|
73885
73928
|
let f = c._as(d);
|
|
73886
73929
|
let g;
|
|
73887
73930
|
if (e._formula != null) {
|
|
73888
|
-
g = e._formula.
|
|
73931
|
+
g = e._formula._ce;
|
|
73889
73932
|
}
|
|
73890
73933
|
else {
|
|
73891
73934
|
g = new ExcelCalcValue(a._getCellValue1(b));
|
|
@@ -74031,7 +74074,7 @@ export let ExcelCalcEngine = /*@__PURE__*/ (() => {
|
|
|
74031
74074
|
if (null == b) {
|
|
74032
74075
|
return;
|
|
74033
74076
|
}
|
|
74034
|
-
if (b.
|
|
74077
|
+
if (b._cs() != 0) {
|
|
74035
74078
|
this.ad.add_1(b);
|
|
74036
74079
|
}
|
|
74037
74080
|
let c;
|
|
@@ -74108,7 +74151,7 @@ export let ExcelCalcEngine = /*@__PURE__*/ (() => {
|
|
|
74108
74151
|
}, () => this.c(e.current)), () => this.s = false);
|
|
74109
74152
|
}), () => WorkItemExtensions.a(this.a(), () => {
|
|
74110
74153
|
for (let d of fromEnum(this.ad)) {
|
|
74111
|
-
d.
|
|
74154
|
+
d._cv(this);
|
|
74112
74155
|
}
|
|
74113
74156
|
}));
|
|
74114
74157
|
}, () => {
|
|
@@ -74331,7 +74374,7 @@ export let RefBase = /*@__PURE__*/ (() => {
|
|
|
74331
74374
|
if (a == null || e == null) {
|
|
74332
74375
|
return;
|
|
74333
74376
|
}
|
|
74334
|
-
a.
|
|
74377
|
+
a._cz(this, e, d);
|
|
74335
74378
|
this._az(a);
|
|
74336
74379
|
if (this._ak) {
|
|
74337
74380
|
e._g9(a);
|
|
@@ -74394,7 +74437,7 @@ export let RefBase = /*@__PURE__*/ (() => {
|
|
|
74394
74437
|
if (c != null) {
|
|
74395
74438
|
c._iw(b);
|
|
74396
74439
|
}
|
|
74397
|
-
b.
|
|
74440
|
+
b._cz(null, c, a);
|
|
74398
74441
|
this._az(null);
|
|
74399
74442
|
}
|
|
74400
74443
|
_ay(a, b) {
|
|
@@ -74794,14 +74837,14 @@ export let CellCalcReferenceBase = /*@__PURE__*/ (() => {
|
|
|
74794
74837
|
else if (typeCast(HyperlinkResult.$, b) !== null && (typeCast(HyperlinkResult.$, a.value) !== null) == false) {
|
|
74795
74838
|
b = b.toString();
|
|
74796
74839
|
}
|
|
74797
|
-
this._a2.
|
|
74840
|
+
this._a2._ce = new ExcelCalcValue(b);
|
|
74798
74841
|
}
|
|
74799
74842
|
get__c() {
|
|
74800
74843
|
if (this._a3.worksheet.workbook == null) {
|
|
74801
74844
|
return ExcelReferenceError._a2.value;
|
|
74802
74845
|
}
|
|
74803
74846
|
if (this._a2 != null) {
|
|
74804
|
-
return this._a2.
|
|
74847
|
+
return this._a2._ce;
|
|
74805
74848
|
}
|
|
74806
74849
|
return CalcUtilities.c(this._a3._c5(this._a8));
|
|
74807
74850
|
}
|
|
@@ -74821,7 +74864,7 @@ export let CellCalcReferenceBase = /*@__PURE__*/ (() => {
|
|
|
74821
74864
|
p1: b
|
|
74822
74865
|
};
|
|
74823
74866
|
}
|
|
74824
|
-
let d = c.
|
|
74867
|
+
let d = c._c1.cellRange;
|
|
74825
74868
|
b = this._a3.index - d.firstRow;
|
|
74826
74869
|
a = this._a8 - d.firstColumn;
|
|
74827
74870
|
return {
|
|
@@ -74992,7 +75035,7 @@ export let DependencyGraph = /*@__PURE__*/ (() => {
|
|
|
74992
75035
|
}
|
|
74993
75036
|
af(a) {
|
|
74994
75037
|
this.ao();
|
|
74995
|
-
let b = a.
|
|
75038
|
+
let b = a._ci;
|
|
74996
75039
|
if ((typeCast(NamedCalcReferenceBase.$, b) !== null) == false) {
|
|
74997
75040
|
b._ab = true;
|
|
74998
75041
|
}
|
|
@@ -75084,7 +75127,7 @@ export let DependencyGraph = /*@__PURE__*/ (() => {
|
|
|
75084
75127
|
}
|
|
75085
75128
|
ax(a) {
|
|
75086
75129
|
this.ao();
|
|
75087
|
-
let b = a.
|
|
75130
|
+
let b = a._ci;
|
|
75088
75131
|
b._ab = false;
|
|
75089
75132
|
this.ap(b);
|
|
75090
75133
|
if (!this.t.remove(b)) {
|
|
@@ -89246,7 +89289,7 @@ export let WorksheetCellBlock = /*@__PURE__*/ (() => {
|
|
|
89246
89289
|
}
|
|
89247
89290
|
if (d != null) {
|
|
89248
89291
|
if (d._formula != null) {
|
|
89249
|
-
let e = d._formula.
|
|
89292
|
+
let e = d._formula._ce;
|
|
89250
89293
|
if (e != null) {
|
|
89251
89294
|
return CalcUtilities.n(e.value, c);
|
|
89252
89295
|
}
|
|
@@ -98681,10 +98724,10 @@ export let TempCellCalcReference = /*@__PURE__*/ (() => {
|
|
|
98681
98724
|
else if (typeCast(HyperlinkResult.$, b) !== null && (typeCast(HyperlinkResult.$, a.value) !== null) == false) {
|
|
98682
98725
|
b = b.toString();
|
|
98683
98726
|
}
|
|
98684
|
-
this._a3.
|
|
98727
|
+
this._a3._ce = new ExcelCalcValue(b);
|
|
98685
98728
|
}
|
|
98686
98729
|
get__c() {
|
|
98687
|
-
return this._formula.
|
|
98730
|
+
return this._formula._ce;
|
|
98688
98731
|
}
|
|
98689
98732
|
get _c() {
|
|
98690
98733
|
return this.get__c();
|
|
@@ -108253,7 +108296,7 @@ export let SortSettings_ShiftFormulaChangeContext$1 = /*@__PURE__*/ (() => {
|
|
|
108253
108296
|
let 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);
|
|
108254
108297
|
let c = typeCast(ArrayInteriorFormula.$, this.b);
|
|
108255
108298
|
if (c != null) {
|
|
108256
|
-
let d = c.
|
|
108299
|
+
let d = c._c1.cellRange._d(b, false);
|
|
108257
108300
|
}
|
|
108258
108301
|
this.b._av(this.sheet, b, 1);
|
|
108259
108302
|
SortSettings$1.$t.specialize(this.$t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1(this.$t, 1, b, this.b), null, null);
|
|
@@ -108515,7 +108558,7 @@ export let SortSettings$1 = /*@__PURE__*/ (() => {
|
|
|
108515
108558
|
let p = new CellShiftOperation(1, d, 3, a.index, a.index, e, e, b.index - a.index);
|
|
108516
108559
|
let q = typeCast(ArrayInteriorFormula.$, o);
|
|
108517
108560
|
if (q != null) {
|
|
108518
|
-
let r = q.
|
|
108561
|
+
let r = q._c1.cellRange._d(p, false);
|
|
108519
108562
|
}
|
|
108520
108563
|
o._av(d, p, 1);
|
|
108521
108564
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, p, o), null, null);
|
|
@@ -108525,7 +108568,7 @@ export let SortSettings$1 = /*@__PURE__*/ (() => {
|
|
|
108525
108568
|
let t = new CellShiftOperation(1, d, 3, b.index, b.index, e, e, a.index - b.index);
|
|
108526
108569
|
let u = typeCast(ArrayInteriorFormula.$, s);
|
|
108527
108570
|
if (u != null) {
|
|
108528
|
-
let v = u.
|
|
108571
|
+
let v = u._c1.cellRange._d(t, false);
|
|
108529
108572
|
}
|
|
108530
108573
|
s._av(d, t, 1);
|
|
108531
108574
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, t, s), null, null);
|
|
@@ -108562,7 +108605,7 @@ export let SortSettings$1 = /*@__PURE__*/ (() => {
|
|
|
108562
108605
|
let q = new CellShiftOperation(1, d, 0, a.index, a.index, e, e, f - e);
|
|
108563
108606
|
let r = typeCast(ArrayInteriorFormula.$, p);
|
|
108564
108607
|
if (r != null) {
|
|
108565
|
-
let s = r.
|
|
108608
|
+
let s = r._c1.cellRange._d(q, false);
|
|
108566
108609
|
}
|
|
108567
108610
|
p._av(d, q, 1);
|
|
108568
108611
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, q, p), null, null);
|
|
@@ -108572,7 +108615,7 @@ export let SortSettings$1 = /*@__PURE__*/ (() => {
|
|
|
108572
108615
|
let u = new CellShiftOperation(1, d, 0, a.index, a.index, f, f, e - f);
|
|
108573
108616
|
let v = typeCast(ArrayInteriorFormula.$, t);
|
|
108574
108617
|
if (v != null) {
|
|
108575
|
-
let w = v.
|
|
108618
|
+
let w = v._c1.cellRange._d(u, false);
|
|
108576
108619
|
}
|
|
108577
108620
|
t._av(d, u, 1);
|
|
108578
108621
|
SortSettings$1.$.specialize($t).specialize($t).getStaticFields()._a[1].x(new SortSettings_ShiftFormulaChangeContext$1($t, 1, u, t), null, null);
|
|
@@ -116117,7 +116160,7 @@ export let DataValidationCalcReference = /*@__PURE__*/ (() => {
|
|
|
116117
116160
|
return false;
|
|
116118
116161
|
}
|
|
116119
116162
|
get__c() {
|
|
116120
|
-
return this._formula.
|
|
116163
|
+
return this._formula._ce;
|
|
116121
116164
|
}
|
|
116122
116165
|
}
|
|
116123
116166
|
DataValidationCalcReference.$t = /*@__PURE__*/ markType(DataValidationCalcReference, 'DataValidationCalcReference', CellCalcReferenceBase.$);
|
|
@@ -123579,7 +123622,7 @@ export let ThresholdConditionBase = /*@__PURE__*/ (() => {
|
|
|
123579
123622
|
if (this._bx != null) {
|
|
123580
123623
|
let b = this.regions.item(0);
|
|
123581
123624
|
let c = new TempCellCalcReference(true, this.worksheet, new WorksheetCellAddress(1, b.firstRow, b.firstColumn));
|
|
123582
|
-
this._bx.
|
|
123625
|
+
this._bx._cz(c, this.workbook);
|
|
123583
123626
|
a(this.worksheet, this._bx);
|
|
123584
123627
|
}
|
|
123585
123628
|
}
|
|
@@ -123656,7 +123699,7 @@ export let ThresholdConditionBase = /*@__PURE__*/ (() => {
|
|
|
123656
123699
|
*/
|
|
123657
123700
|
set _by(a) {
|
|
123658
123701
|
if (a != this._bx) {
|
|
123659
|
-
if (a != null && a.
|
|
123702
|
+
if (a != null && a._ci == null) {
|
|
123660
123703
|
this._m(a);
|
|
123661
123704
|
}
|
|
123662
123705
|
let b = ThresholdConditionBase._bt[0].g(ThresholdConditionBase.$, SingleTargetFormula.$, this, this._bx, a);
|
|
@@ -123785,7 +123828,7 @@ export let ThresholdConditionBase = /*@__PURE__*/ (() => {
|
|
|
123785
123828
|
*/
|
|
123786
123829
|
_bz(a) {
|
|
123787
123830
|
if (this._bx != null && a != null) {
|
|
123788
|
-
let b = this._bx.
|
|
123831
|
+
let b = this._bx._cg(this.workbook, a, false);
|
|
123789
123832
|
return b._al(this.workbook._e6);
|
|
123790
123833
|
}
|
|
123791
123834
|
return true;
|
|
@@ -125112,16 +125155,16 @@ export let ConditionValue = /*@__PURE__*/ (() => {
|
|
|
125112
125155
|
*/
|
|
125113
125156
|
shiftFormulas(callback, shiftOperation, operationOverride) {
|
|
125114
125157
|
if (this._j != null) {
|
|
125115
|
-
let a = this._j.
|
|
125158
|
+
let a = this._j._ci;
|
|
125116
125159
|
if (a != null) {
|
|
125117
|
-
this._j.
|
|
125160
|
+
this._j._cz(null, this._h.workbook);
|
|
125118
125161
|
}
|
|
125119
125162
|
let b = this._j._toString2(1, this._h.workbook._e6);
|
|
125120
125163
|
if (this._j._av(this._h.worksheet, shiftOperation, 0)) {
|
|
125121
125164
|
callback(this, null, b);
|
|
125122
125165
|
}
|
|
125123
125166
|
if (a != null) {
|
|
125124
|
-
this._j.
|
|
125167
|
+
this._j._cz(a, this._h.workbook);
|
|
125125
125168
|
}
|
|
125126
125169
|
}
|
|
125127
125170
|
}
|
|
@@ -126289,7 +126332,7 @@ export let FormulaConditionalFormat = /*@__PURE__*/ (() => {
|
|
|
126289
126332
|
*/
|
|
126290
126333
|
set _b5(a) {
|
|
126291
126334
|
if (a != this._b4) {
|
|
126292
|
-
if (a != null && a.
|
|
126335
|
+
if (a != null && a._ci == null) {
|
|
126293
126336
|
this._m(a);
|
|
126294
126337
|
}
|
|
126295
126338
|
let b = FormulaConditionalFormat._b0[0].g(FormulaConditionalFormat.$, SingleTargetFormula.$, this, this._b4, a);
|
|
@@ -126357,7 +126400,7 @@ export let FormulaConditionalFormat = /*@__PURE__*/ (() => {
|
|
|
126357
126400
|
if (this._b4 != null) {
|
|
126358
126401
|
let b = this.regions.item(0);
|
|
126359
126402
|
let c = new TempCellCalcReference(true, this.worksheet, new WorksheetCellAddress(1, b.firstRow, b.firstColumn));
|
|
126360
|
-
this._b4.
|
|
126403
|
+
this._b4._cz(c, this.workbook);
|
|
126361
126404
|
a(this.worksheet, this._b4);
|
|
126362
126405
|
}
|
|
126363
126406
|
}
|
|
@@ -126368,7 +126411,7 @@ export let FormulaConditionalFormat = /*@__PURE__*/ (() => {
|
|
|
126368
126411
|
if (this._b4 == null) {
|
|
126369
126412
|
return ConditionMatchResult.f;
|
|
126370
126413
|
}
|
|
126371
|
-
let e = this._b4.
|
|
126414
|
+
let e = this._b4._cg(this.workbook, d, false);
|
|
126372
126415
|
return e._al(this.workbook._e6) ? ConditionMatchResult.e : ConditionMatchResult.f;
|
|
126373
126416
|
}
|
|
126374
126417
|
/**
|
|
@@ -128268,13 +128311,13 @@ export let OperatorConditionalFormat = /*@__PURE__*/ (() => {
|
|
|
128268
128311
|
}
|
|
128269
128312
|
if (this._b4 == null) {
|
|
128270
128313
|
if (this._b2 != null) {
|
|
128271
|
-
this._b4 = this._cb.
|
|
128314
|
+
this._b4 = this._cb._cg(this.workbook, d, false);
|
|
128272
128315
|
}
|
|
128273
128316
|
if (this._b3 != null) {
|
|
128274
128317
|
if (this._cc == null) {
|
|
128275
128318
|
return ConditionMatchResult.f;
|
|
128276
128319
|
}
|
|
128277
|
-
this._b5 = this._cc.
|
|
128320
|
+
this._b5 = this._cc._cg(this.workbook, d, false);
|
|
128278
128321
|
}
|
|
128279
128322
|
}
|
|
128280
128323
|
if (this._b4 == null || this._b4.isError) {
|
|
@@ -128422,7 +128465,7 @@ export let OperatorConditionalFormat = /*@__PURE__*/ (() => {
|
|
|
128422
128465
|
*/
|
|
128423
128466
|
set _cd(a) {
|
|
128424
128467
|
if (a != this._cb) {
|
|
128425
|
-
if (a != null && a.
|
|
128468
|
+
if (a != null && a._ci == null) {
|
|
128426
128469
|
this._m(a);
|
|
128427
128470
|
}
|
|
128428
128471
|
let b = OperatorConditionalFormat._b0[1].g(OperatorConditionalFormat.$, SingleTargetFormula.$, this, this._cb, a);
|
|
@@ -128473,7 +128516,7 @@ export let OperatorConditionalFormat = /*@__PURE__*/ (() => {
|
|
|
128473
128516
|
*/
|
|
128474
128517
|
set _ce(a) {
|
|
128475
128518
|
if (a != this._cc) {
|
|
128476
|
-
if (a != null && a.
|
|
128519
|
+
if (a != null && a._ci == null) {
|
|
128477
128520
|
this._m(a);
|
|
128478
128521
|
}
|
|
128479
128522
|
let b = OperatorConditionalFormat._b0[2].g(OperatorConditionalFormat.$, SingleTargetFormula.$, this, this._cc, a);
|
|
@@ -132588,7 +132631,7 @@ export let SeriesDataLabels = /*@__PURE__*/ (() => {
|
|
|
132588
132631
|
*/
|
|
132589
132632
|
set _d1(a) {
|
|
132590
132633
|
if (a != this._d0) {
|
|
132591
|
-
if (a != null && a.
|
|
132634
|
+
if (a != null && a._ci == null) {
|
|
132592
132635
|
SeriesDataLabels._d2(this.sheet, a);
|
|
132593
132636
|
}
|
|
132594
132637
|
let b = this._r(SeriesDataLabels.$, SingleTargetFormula.$, this, 29, this._d0, a);
|
|
@@ -132692,7 +132735,7 @@ export let SeriesDataLabels = /*@__PURE__*/ (() => {
|
|
|
132692
132735
|
static _d2(a, b) {
|
|
132693
132736
|
if (b != null) {
|
|
132694
132737
|
let c = new TempCellCalcReference(true, a, new WorksheetCellAddress(1, 0, 0));
|
|
132695
|
-
b.
|
|
132738
|
+
b._cz(c, a.workbook);
|
|
132696
132739
|
}
|
|
132697
132740
|
return b;
|
|
132698
132741
|
}
|
|
@@ -136485,7 +136528,7 @@ export let SeriesValuesBase = /*@__PURE__*/ (() => {
|
|
|
136485
136528
|
*/
|
|
136486
136529
|
static _b($t, a, b, c, d) {
|
|
136487
136530
|
let e = new TempCellCalcReference(false, b, new WorksheetCellAddress(1, 0, 0));
|
|
136488
|
-
let f = a.
|
|
136531
|
+
let f = a._cg(b.workbook, e, false);
|
|
136489
136532
|
if (f.isError) {
|
|
136490
136533
|
return new Array(0);
|
|
136491
136534
|
}
|
|
@@ -136659,7 +136702,7 @@ export let SeriesValuesBase = /*@__PURE__*/ (() => {
|
|
|
136659
136702
|
_t() {
|
|
136660
136703
|
if (this._h != null) {
|
|
136661
136704
|
let a = new TempCellCalcReference(true, this._g, new WorksheetCellAddress(1, 0, 0));
|
|
136662
|
-
this._h.
|
|
136705
|
+
this._h._cz(a, this._g.workbook);
|
|
136663
136706
|
}
|
|
136664
136707
|
}
|
|
136665
136708
|
/**
|
|
@@ -136865,7 +136908,7 @@ export let SeriesName = /*@__PURE__*/ (() => {
|
|
|
136865
136908
|
this._c = sheet;
|
|
136866
136909
|
this._d = formula;
|
|
136867
136910
|
let b = new TempCellCalcReference(true, this._c, new WorksheetCellAddress(1, 0, 0));
|
|
136868
|
-
this._d.
|
|
136911
|
+
this._d._cz(b, this._c.workbook);
|
|
136869
136912
|
}
|
|
136870
136913
|
break;
|
|
136871
136914
|
default: throw new Error('Invalid arguments');
|
|
@@ -136966,7 +137009,7 @@ export let SeriesName = /*@__PURE__*/ (() => {
|
|
|
136966
137009
|
}
|
|
136967
137010
|
this._d = ConditionBase._n(a, this._c.workbook, b);
|
|
136968
137011
|
let c = new TempCellCalcReference(true, this._c, new WorksheetCellAddress(1, 0, 0));
|
|
136969
|
-
this._d.
|
|
137012
|
+
this._d._cz(c, this._c.workbook);
|
|
136970
137013
|
}
|
|
136971
137014
|
}
|
|
136972
137015
|
SeriesName.$t = /*@__PURE__*/ markType(SeriesName, 'SeriesName');
|
|
@@ -143370,7 +143413,7 @@ export let ExcelCalcNumberStack = /*@__PURE__*/ (() => {
|
|
|
143370
143413
|
d = new TempCellCalcReference(true, e.worksheet, new WorksheetCellAddress(1, 0, 0));
|
|
143371
143414
|
}
|
|
143372
143415
|
}
|
|
143373
|
-
a = b.
|
|
143416
|
+
a = b._cg(c, d, this._u);
|
|
143374
143417
|
if (a.isReference) {
|
|
143375
143418
|
a._ac = true;
|
|
143376
143419
|
}
|