igniteui-webcomponents-excel 1.4.2 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-excel.umd.js +3531 -3356
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AlignmentInfo.js +2 -2
- package/esm2015/lib/DataValidationImeMode.js +61 -0
- package/esm2015/lib/DefaultStyleHelper_combined.js +672 -616
- package/esm2015/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeOutlineCreator.js +1 -1
- package/esm2015/lib/ProtectionInfo.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +4 -4
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +458 -457
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +14 -12
- package/esm2015/lib/XlsxUtilities_combined.js +105 -73
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/AlignmentInfo.js +2 -2
- package/esm5/lib/DataValidationImeMode.js +61 -0
- package/esm5/lib/DefaultStyleHelper_combined.js +2878 -2800
- package/esm5/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeOutlineCreator.js +1 -1
- package/esm5/lib/ProtectionInfo.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +4 -4
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +467 -466
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +14 -12
- package/esm5/lib/XlsxUtilities_combined.js +105 -73
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-excel.js +1317 -1166
- package/fesm5/igniteui-webcomponents-excel.js +3530 -3357
- package/lib/DataValidationImeMode.d.ts +54 -0
- package/lib/DefaultStyleHelper_combined.d.ts +243 -228
- package/lib/WorkbookLoadManagerExcel2007_combined.d.ts +7 -7
- package/lib/XlsxUtilities_combined.d.ts +68 -64
- package/package.json +3 -3
- package/public_api.d.ts +1 -0
|
@@ -897,7 +897,7 @@ export let ObjectModelExcelDocumentManager = /*@__PURE__*/ (() => {
|
|
|
897
897
|
_o() {
|
|
898
898
|
let a = this._by;
|
|
899
899
|
if (a.currentFormat == 2 && this._z == 1) {
|
|
900
|
-
a.
|
|
900
|
+
a._i3(6);
|
|
901
901
|
}
|
|
902
902
|
return super._o();
|
|
903
903
|
}
|
|
@@ -1309,7 +1309,7 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1309
1309
|
let c;
|
|
1310
1310
|
let d = SpreadsheetMLMain.tp(a, c);
|
|
1311
1311
|
c = d.p1;
|
|
1312
|
-
b._bold$i = XlsxUtilities.
|
|
1312
|
+
b._bold$i = XlsxUtilities.a8(c);
|
|
1313
1313
|
}
|
|
1314
1314
|
static i(a) {
|
|
1315
1315
|
let b = a.s.a(EG_Anchor.$);
|
|
@@ -1578,7 +1578,7 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1578
1578
|
let c;
|
|
1579
1579
|
let d = SpreadsheetMLMain.wl(a, c);
|
|
1580
1580
|
c = d.p1;
|
|
1581
|
-
b._italic$i = XlsxUtilities.
|
|
1581
|
+
b._italic$i = XlsxUtilities.a8(c);
|
|
1582
1582
|
}
|
|
1583
1583
|
static t(a, b) {
|
|
1584
1584
|
let c = a.s.a(IWorkbookFont_$type);
|
|
@@ -1668,7 +1668,7 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1668
1668
|
let c;
|
|
1669
1669
|
let d = SpreadsheetMLMain.yb(a, c);
|
|
1670
1670
|
c = d.p1;
|
|
1671
|
-
b._strikeout$i = XlsxUtilities.
|
|
1671
|
+
b._strikeout$i = XlsxUtilities.a8(c);
|
|
1672
1672
|
}
|
|
1673
1673
|
static ad(a) {
|
|
1674
1674
|
let b = a.s.a(IWorkbookFont_$type);
|
|
@@ -1717,7 +1717,7 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1717
1717
|
let c;
|
|
1718
1718
|
let d = SpreadsheetMLMain.yt(a, c);
|
|
1719
1719
|
c = d.p1;
|
|
1720
|
-
b.underlineStyle = XlsxUtilities.
|
|
1720
|
+
b.underlineStyle = XlsxUtilities.j(c);
|
|
1721
1721
|
}
|
|
1722
1722
|
static d(a, b) {
|
|
1723
1723
|
let c;
|
|
@@ -1775,7 +1775,7 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1775
1775
|
let c;
|
|
1776
1776
|
let d = SpreadsheetMLMain.yv(a, c);
|
|
1777
1777
|
c = d.p1;
|
|
1778
|
-
b.superscriptSubscriptStyle = XlsxUtilities.
|
|
1778
|
+
b.superscriptSubscriptStyle = XlsxUtilities.h(c);
|
|
1779
1779
|
}
|
|
1780
1780
|
static ab(a) {
|
|
1781
1781
|
let b = a.s.a(IWorkbookFont_$type);
|
|
@@ -1957,11 +1957,11 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1957
1957
|
a.ad.k();
|
|
1958
1958
|
}
|
|
1959
1959
|
if (b.underlineStyle != 0 && b.underlineStyle != -1) {
|
|
1960
|
-
SpreadsheetMLMain.aeg(a, XlsxUtilities.
|
|
1960
|
+
SpreadsheetMLMain.aeg(a, XlsxUtilities.a7(b.underlineStyle));
|
|
1961
1961
|
a.ad.k();
|
|
1962
1962
|
}
|
|
1963
1963
|
if (b.superscriptSubscriptStyle != 0 && b.superscriptSubscriptStyle != -1) {
|
|
1964
|
-
SpreadsheetMLMain.aej(a, XlsxUtilities.
|
|
1964
|
+
SpreadsheetMLMain.aej(a, XlsxUtilities.am(b.superscriptSubscriptStyle));
|
|
1965
1965
|
a.ad.k();
|
|
1966
1966
|
}
|
|
1967
1967
|
let f;
|
|
@@ -2289,7 +2289,7 @@ export let ObjectModelTablePartManager = /*@__PURE__*/ (() => {
|
|
|
2289
2289
|
d = e.p2;
|
|
2290
2290
|
let f = ((() => {
|
|
2291
2291
|
let $ret = new FixedValuesFilter(null);
|
|
2292
|
-
$ret.calendarType = XlsxUtilities.
|
|
2292
|
+
$ret.calendarType = XlsxUtilities.g(d);
|
|
2293
2293
|
$ret.includeBlanks = c;
|
|
2294
2294
|
return $ret;
|
|
2295
2295
|
})());
|
|
@@ -2717,7 +2717,7 @@ export let ObjectModelTablePartManager = /*@__PURE__*/ (() => {
|
|
|
2717
2717
|
a.ad.k();
|
|
2718
2718
|
}
|
|
2719
2719
|
static b6(a, b) {
|
|
2720
|
-
SpreadsheetMLMain.abr(a, b.includeBlanks, XlsxUtilities.
|
|
2720
|
+
SpreadsheetMLMain.abr(a, b.includeBlanks, XlsxUtilities.ap(b.calendarType));
|
|
2721
2721
|
for (let c of fromEnum(b._displayValues$i)) {
|
|
2722
2722
|
SpreadsheetMLMain.abq(a, c);
|
|
2723
2723
|
a.ad.k();
|
|
@@ -2769,7 +2769,7 @@ export let ObjectModelTablePartManager = /*@__PURE__*/ (() => {
|
|
|
2769
2769
|
SpreadsheetMLMain.ab4(a, b._m, b._p);
|
|
2770
2770
|
}
|
|
2771
2771
|
b8(a, b) {
|
|
2772
|
-
SpreadsheetMLMain.adu(this, b._bs._toString2(1, false, true, true), void 0, b.sortSettings.caseSensitive, b.sortSettings._n ? XlsxUtilities.
|
|
2772
|
+
SpreadsheetMLMain.adu(this, b._bs._toString2(1, false, true, true), void 0, b.sortSettings.caseSensitive, b.sortSettings._n ? XlsxUtilities.a5(b.sortSettings._i) : 0);
|
|
2773
2773
|
for (let c of fromEnum(b.sortSettings._sortConditions$i)) {
|
|
2774
2774
|
let d = c.key;
|
|
2775
2775
|
let e = c.value;
|
|
@@ -5687,8 +5687,8 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5687
5687
|
aa.showRowAndColumnHeaders = g;
|
|
5688
5688
|
aa.showOutlineSymbols = h;
|
|
5689
5689
|
aa.showZeroValues = i;
|
|
5690
|
-
aa.visibility = XlsxUtilities.
|
|
5691
|
-
aa.view = XlsxUtilities.
|
|
5690
|
+
aa.visibility = XlsxUtilities.af(p);
|
|
5691
|
+
aa.view = XlsxUtilities.ae(r);
|
|
5692
5692
|
aa.showRulerInPageLayoutView = s;
|
|
5693
5693
|
if (t != null) {
|
|
5694
5694
|
let ab;
|
|
@@ -5772,7 +5772,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5772
5772
|
switch (e) {
|
|
5773
5773
|
case 0:
|
|
5774
5774
|
case 1:
|
|
5775
|
-
p = new TwoConstraintDataValidationRule((XlsxUtilities.
|
|
5775
|
+
p = new TwoConstraintDataValidationRule((XlsxUtilities.t(e)), (XlsxUtilities.u(b)));
|
|
5776
5776
|
break;
|
|
5777
5777
|
case 2:
|
|
5778
5778
|
case 3:
|
|
@@ -5780,7 +5780,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5780
5780
|
case 4:
|
|
5781
5781
|
case 7:
|
|
5782
5782
|
case 5:
|
|
5783
|
-
p = new OneConstraintDataValidationRule((XlsxUtilities.
|
|
5783
|
+
p = new OneConstraintDataValidationRule((XlsxUtilities.t(e)), (XlsxUtilities.u(b)));
|
|
5784
5784
|
break;
|
|
5785
5785
|
default: return;
|
|
5786
5786
|
}
|
|
@@ -5789,8 +5789,9 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5789
5789
|
}
|
|
5790
5790
|
k = ObjectModelWorksheetPartManager.b1(k);
|
|
5791
5791
|
m = ObjectModelWorksheetPartManager.b1(m);
|
|
5792
|
-
p.
|
|
5792
|
+
p._r = f;
|
|
5793
5793
|
p.errorStyle = XlsxUtilities.d(c);
|
|
5794
|
+
p.imeMode = XlsxUtilities.e(d);
|
|
5794
5795
|
p.showInputMessage = h;
|
|
5795
5796
|
p.showErrorMessageForInvalidValue = i;
|
|
5796
5797
|
p.inputMessageTitle = l;
|
|
@@ -5819,10 +5820,10 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5819
5820
|
c = this.bk._getCell1("A1", 1);
|
|
5820
5821
|
}
|
|
5821
5822
|
if (a.c != null) {
|
|
5822
|
-
ObjectModelWorksheetPartManager.c4(this, c, a.c, a.a.
|
|
5823
|
+
ObjectModelWorksheetPartManager.c4(this, c, a.c, a.a._k, runOn(a.a, a.a._at));
|
|
5823
5824
|
}
|
|
5824
5825
|
if (a.d != null) {
|
|
5825
|
-
ObjectModelWorksheetPartManager.c4(this, c, a.d, a.a.
|
|
5826
|
+
ObjectModelWorksheetPartManager.c4(this, c, a.d, a.a._k, runOn(a.a, a.a._au));
|
|
5826
5827
|
}
|
|
5827
5828
|
}
|
|
5828
5829
|
static de(a) {
|
|
@@ -6325,8 +6326,8 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6325
6326
|
c = e.p3;
|
|
6326
6327
|
d = e.p4;
|
|
6327
6328
|
this.bk._em = b;
|
|
6328
|
-
this.bk.displayOptions._showExpansionIndicatorBelowGroupedRows$i = XlsxUtilities.
|
|
6329
|
-
this.bk.displayOptions._showExpansionIndicatorToRightOfGroupedColumns$i = XlsxUtilities.
|
|
6329
|
+
this.bk.displayOptions._showExpansionIndicatorBelowGroupedRows$i = XlsxUtilities.a8(b);
|
|
6330
|
+
this.bk.displayOptions._showExpansionIndicatorToRightOfGroupedColumns$i = XlsxUtilities.a8(c);
|
|
6330
6331
|
this.bk.displayOptions.showOutlineSymbols = d;
|
|
6331
6332
|
}
|
|
6332
6333
|
static ep(a) {
|
|
@@ -6409,15 +6410,15 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6409
6410
|
x._dq(f, false);
|
|
6410
6411
|
x.maxPagesHorizontally = h;
|
|
6411
6412
|
x.maxPagesVertically = i;
|
|
6412
|
-
x.pageOrder = XlsxUtilities.
|
|
6413
|
+
x.pageOrder = XlsxUtilities.p(j);
|
|
6413
6414
|
}
|
|
6414
6415
|
b.startPageNumber = g;
|
|
6415
|
-
b.orientation = XlsxUtilities.
|
|
6416
|
+
b.orientation = XlsxUtilities.o(k);
|
|
6416
6417
|
b.printInBlackAndWhite = m;
|
|
6417
6418
|
b.draftQuality = n;
|
|
6418
|
-
b.printNotes = XlsxUtilities.
|
|
6419
|
+
b.printNotes = XlsxUtilities.s(o);
|
|
6419
6420
|
b.pageNumbering = p ? 1 : 0;
|
|
6420
|
-
b.printErrors = XlsxUtilities.
|
|
6421
|
+
b.printErrors = XlsxUtilities.r(q);
|
|
6421
6422
|
b.resolution = Math.max(0, Math.min(r, 65535));
|
|
6422
6423
|
b.verticalResolution = Math.max(0, Math.min(s, 65535));
|
|
6423
6424
|
b.numberOfCopies = t;
|
|
@@ -6464,7 +6465,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6464
6465
|
if (((() => { let k = ExcelUtils.bl(e, 2, CultureInfo.invariantCulture, i, j); i = k.p3; j = k.p4; return k.ret; })()) == false) {
|
|
6465
6466
|
}
|
|
6466
6467
|
}
|
|
6467
|
-
b._z = XlsxUtilities.
|
|
6468
|
+
b._z = XlsxUtilities.q(f);
|
|
6468
6469
|
let t1 = g;
|
|
6469
6470
|
L0: while (true) {
|
|
6470
6471
|
switch (t1) {
|
|
@@ -6513,7 +6514,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6513
6514
|
let c = this.bg;
|
|
6514
6515
|
let d = typeCast(ImageData.$, c._au(a));
|
|
6515
6516
|
if (d != null) {
|
|
6516
|
-
let e = XlsxUtilities.
|
|
6517
|
+
let e = XlsxUtilities.v(d);
|
|
6517
6518
|
this.bk._je = ExcelUtils.g6(e);
|
|
6518
6519
|
this.bk._dh = e.d;
|
|
6519
6520
|
}
|
|
@@ -6693,7 +6694,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6693
6694
|
let i = b._ad;
|
|
6694
6695
|
let j = i.workbook;
|
|
6695
6696
|
let k = new WorksheetPaneSelection();
|
|
6696
|
-
k.a = XlsxUtilities.
|
|
6697
|
+
k.a = XlsxUtilities.q(c);
|
|
6697
6698
|
k.f = e;
|
|
6698
6699
|
let l = Workbook._fa;
|
|
6699
6700
|
let m;
|
|
@@ -6957,7 +6958,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6957
6958
|
u.unfrozenPaneSettings.firstColumnInLeftPane = v;
|
|
6958
6959
|
u.unfrozenPaneSettings.firstRowInTopPane = w;
|
|
6959
6960
|
}
|
|
6960
|
-
u.view = XlsxUtilities.
|
|
6961
|
+
u.view = XlsxUtilities.ae(m);
|
|
6961
6962
|
let x = q;
|
|
6962
6963
|
let y = ExcelUtils.fl(x);
|
|
6963
6964
|
x = y.p0;
|
|
@@ -7371,7 +7372,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7371
7372
|
let c = a.getHiddenRows(this.bk, false);
|
|
7372
7373
|
let d = a.getHiddenColumns(this.bk, false);
|
|
7373
7374
|
let e = CellAddress.u(b.unfrozenPaneSettings.firstRowInTopPane, b.unfrozenPaneSettings.firstColumnInLeftPane);
|
|
7374
|
-
SpreadsheetMLMain.aak(this, ST_Guid.a(a._t), intSToU(b.magnificationInCurrentView), intSToU(b._a8), void 0, b.showFormulasInCells, b.showGridlines, b.showRowAndColumnHeaders, b.showOutlineSymbols, b.showZeroValues, void 0, void 0, void 0, void 0, c != null && c.count > 0, d != null && d.count > 0, XlsxUtilities.
|
|
7375
|
+
SpreadsheetMLMain.aak(this, ST_Guid.a(a._t), intSToU(b.magnificationInCurrentView), intSToU(b._a8), void 0, b.showFormulasInCells, b.showGridlines, b.showRowAndColumnHeaders, b.showOutlineSymbols, b.showZeroValues, void 0, void 0, void 0, void 0, c != null && c.count > 0, d != null && d.count > 0, XlsxUtilities.a3(b.visibility), void 0, XlsxUtilities.a4(b.view), b.showRulerInPageLayoutView, e);
|
|
7375
7376
|
if (b._al() || b._am()) {
|
|
7376
7377
|
this.gs(b);
|
|
7377
7378
|
}
|
|
@@ -7411,15 +7412,15 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7411
7412
|
}
|
|
7412
7413
|
let h = e._toString1(1);
|
|
7413
7414
|
if (c) {
|
|
7414
|
-
(((i, j, k, l, m, n, o, p, q, r, s, t) => SpreadsheetML2009Main.dg(i, j, k,
|
|
7415
|
-
if (d.
|
|
7415
|
+
(((i, j, k, l, m, n, o, p, q, r, s, t, u) => SpreadsheetML2009Main.dg(i, j, k, l, m, o, n, p, q, r, s, t, u))(this, XlsxUtilities.au(d._m), XlsxUtilities.ar(d.errorStyle), XlsxUtilities.as(d.imeMode), XlsxUtilities.at(d._l), f, d._r, d.showInputMessage, d.showErrorMessageForInvalidValue, d.errorMessageTitle, ObjectModelWorksheetPartManager.b0(d.errorMessageDescription), d.inputMessageTitle, ObjectModelWorksheetPartManager.b0(d.inputMessageDescription)));
|
|
7416
|
+
if (d._n(null) != null) {
|
|
7416
7417
|
SpreadsheetML2009Main.di(this);
|
|
7417
|
-
this.f8(a, runOn(d, d.
|
|
7418
|
+
this.f8(a, runOn(d, d._n), e, Excel2006Main.au);
|
|
7418
7419
|
this.ad.k();
|
|
7419
7420
|
}
|
|
7420
|
-
if (d.
|
|
7421
|
+
if (d._o(null) != null) {
|
|
7421
7422
|
SpreadsheetML2009Main.dj(this);
|
|
7422
|
-
this.f8(a, runOn(d, d.
|
|
7423
|
+
this.f8(a, runOn(d, d._o), e, Excel2006Main.au);
|
|
7423
7424
|
this.ad.k();
|
|
7424
7425
|
}
|
|
7425
7426
|
Excel2006Main.av(this, h);
|
|
@@ -7427,45 +7428,45 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7427
7428
|
this.ad.k();
|
|
7428
7429
|
}
|
|
7429
7430
|
else {
|
|
7430
|
-
SpreadsheetMLMain.aaq(this, h, XlsxUtilities.
|
|
7431
|
-
this.f8(a, runOn(d, d.
|
|
7432
|
-
this.f8(a, runOn(d, d.
|
|
7431
|
+
SpreadsheetMLMain.aaq(this, h, XlsxUtilities.au(d._m), XlsxUtilities.ar(d.errorStyle), XlsxUtilities.as(d.imeMode), XlsxUtilities.at(d._l), d._r, f, d.showInputMessage, d.showErrorMessageForInvalidValue, d.errorMessageTitle, ObjectModelWorksheetPartManager.b0(d.errorMessageDescription), d.inputMessageTitle, ObjectModelWorksheetPartManager.b0(d.inputMessageDescription));
|
|
7432
|
+
this.f8(a, runOn(d, d._n), e, SpreadsheetMLMain.abw);
|
|
7433
|
+
this.f8(a, runOn(d, d._o), e, SpreadsheetMLMain.abx);
|
|
7433
7434
|
this.ad.k();
|
|
7434
7435
|
}
|
|
7435
7436
|
}
|
|
7436
|
-
gc(
|
|
7437
|
-
if (
|
|
7437
|
+
gc(v, w) {
|
|
7438
|
+
if (w == null || w.count == 0) {
|
|
7438
7439
|
return;
|
|
7439
7440
|
}
|
|
7440
|
-
SpreadsheetMLMain.aar(this, void 0, toNullable(Number_$type, null), toNullable(Number_$type, null), toNullable(Number_$type, intSToU(
|
|
7441
|
-
|
|
7441
|
+
SpreadsheetMLMain.aar(this, void 0, toNullable(Number_$type, null), toNullable(Number_$type, null), toNullable(Number_$type, intSToU(w.count)));
|
|
7442
|
+
w.q((x) => this.gb(v, x, false));
|
|
7442
7443
|
this.ad.k();
|
|
7443
7444
|
}
|
|
7444
|
-
gd(
|
|
7445
|
-
let
|
|
7446
|
-
if (
|
|
7445
|
+
gd(v, w) {
|
|
7446
|
+
let x = this.bk._cx(w.p, w.n, Math.max(0, w.q - 1), Math.max(0, w.o - 1));
|
|
7447
|
+
if (x == null) {
|
|
7447
7448
|
return;
|
|
7448
7449
|
}
|
|
7449
|
-
let
|
|
7450
|
-
SpreadsheetMLMain.aa0(this,
|
|
7450
|
+
let y = x._u ? x._k._c7(x._v, 1, false, true, true) : x._toString2(1, false, true, true);
|
|
7451
|
+
SpreadsheetMLMain.aa0(this, y);
|
|
7451
7452
|
this.ad.k();
|
|
7452
7453
|
}
|
|
7453
|
-
static ge(
|
|
7454
|
-
if (
|
|
7454
|
+
static ge(v, w) {
|
|
7455
|
+
if (w == null) {
|
|
7455
7456
|
return;
|
|
7456
7457
|
}
|
|
7457
|
-
SpreadsheetMLMain.aa1(
|
|
7458
|
-
|
|
7458
|
+
SpreadsheetMLMain.aa1(v, w);
|
|
7459
|
+
v.ad.k();
|
|
7459
7460
|
}
|
|
7460
|
-
gf(
|
|
7461
|
-
if (
|
|
7461
|
+
gf(v, w) {
|
|
7462
|
+
if (w == null || w.count == 0) {
|
|
7462
7463
|
return;
|
|
7463
7464
|
}
|
|
7464
7465
|
SpreadsheetMLMain.aba(this, "{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}");
|
|
7465
7466
|
this.ad.l(SpreadsheetML2009Main.an);
|
|
7466
|
-
SpreadsheetML2009Main.dh(this, void 0, toNullable(Number_$type, null), toNullable(Number_$type, null), toNullable(Number_$type, intSToU(
|
|
7467
|
+
SpreadsheetML2009Main.dh(this, void 0, toNullable(Number_$type, null), toNullable(Number_$type, null), toNullable(Number_$type, intSToU(w.count)));
|
|
7467
7468
|
this.ad.l(Excel2006Main.an);
|
|
7468
|
-
|
|
7469
|
+
w.q((x) => this.gb(v, x, true));
|
|
7469
7470
|
this.ad.k();
|
|
7470
7471
|
this.ad.k();
|
|
7471
7472
|
}
|
|
@@ -7481,88 +7482,88 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7481
7482
|
this.ad.k();
|
|
7482
7483
|
});
|
|
7483
7484
|
}
|
|
7484
|
-
a9(
|
|
7485
|
-
let w = null;
|
|
7485
|
+
a9(v, w) {
|
|
7486
7486
|
let x = null;
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
}
|
|
7491
|
-
if (u._cj != null) {
|
|
7492
|
-
let z = u._cj.tryGetValue(this.bk, x);
|
|
7487
|
+
let y = null;
|
|
7488
|
+
if (v._ce != null) {
|
|
7489
|
+
let z = v._ce.tryGetValue(this.bk, x);
|
|
7493
7490
|
x = z.p1;
|
|
7494
7491
|
}
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7492
|
+
if (v._cj != null) {
|
|
7493
|
+
let aa = v._cj.tryGetValue(this.bk, y);
|
|
7494
|
+
y = aa.p1;
|
|
7495
|
+
}
|
|
7496
|
+
let ab = this.bk._eb || (x != null && x.n) || y != null;
|
|
7497
|
+
let ac = w != null && w.count != 0;
|
|
7498
|
+
if (ab == false && ac == false) {
|
|
7498
7499
|
return null;
|
|
7499
7500
|
}
|
|
7500
7501
|
SpreadsheetMLMain.abg(this);
|
|
7501
|
-
if (w != null) {
|
|
7502
|
-
w.y(this, u, this.ad);
|
|
7503
|
-
}
|
|
7504
7502
|
if (x != null) {
|
|
7505
|
-
x.
|
|
7503
|
+
x.y(this, v, this.ad);
|
|
7504
|
+
}
|
|
7505
|
+
if (y != null) {
|
|
7506
|
+
y.b(this, v, this.ad);
|
|
7506
7507
|
}
|
|
7507
|
-
this.gf(
|
|
7508
|
+
this.gf(v, w);
|
|
7508
7509
|
return WorkItemExtensions.a(this.a8(), () => this.ad.k());
|
|
7509
7510
|
}
|
|
7510
|
-
gg(
|
|
7511
|
-
let
|
|
7512
|
-
if (
|
|
7511
|
+
gg(v, w, x, y) {
|
|
7512
|
+
let z = typeCast(SingleTargetFormula.$, y);
|
|
7513
|
+
if (z == null || z._cj == false) {
|
|
7513
7514
|
return;
|
|
7514
7515
|
}
|
|
7515
|
-
let z = null;
|
|
7516
7516
|
let aa = null;
|
|
7517
|
-
let ab =
|
|
7518
|
-
let ac =
|
|
7517
|
+
let ab = null;
|
|
7518
|
+
let ac = 0;
|
|
7519
7519
|
let ad = false;
|
|
7520
|
-
let ae =
|
|
7520
|
+
let ae = false;
|
|
7521
7521
|
let af = null;
|
|
7522
|
-
let ag =
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
let aj =
|
|
7529
|
-
let ak =
|
|
7530
|
-
|
|
7531
|
-
ad =
|
|
7532
|
-
ae =
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7522
|
+
let ag = null;
|
|
7523
|
+
let ah = toNullable(Number_$type, null);
|
|
7524
|
+
if (z._am) {
|
|
7525
|
+
let ai = z._cz;
|
|
7526
|
+
ac = 2;
|
|
7527
|
+
ab = ai._h._toString2(1, false, true, true);
|
|
7528
|
+
let aj = ai.columnInputCell;
|
|
7529
|
+
let ak = ai.rowInputCell;
|
|
7530
|
+
let al = WorksheetCell.l_op_Inequality(aj, null) && WorksheetCell.l_op_Inequality(ak, null);
|
|
7531
|
+
ad = al;
|
|
7532
|
+
ae = WorksheetCell.l_op_Inequality(ak, null);
|
|
7533
|
+
af = (ak || aj)._toString2(1, false, true, true);
|
|
7534
|
+
if (al) {
|
|
7535
|
+
ag = aj._toString2(1, false, true, true);
|
|
7536
|
+
}
|
|
7537
|
+
}
|
|
7538
|
+
else if (z._ak) {
|
|
7539
|
+
ac = 1;
|
|
7540
|
+
let am = z._cz;
|
|
7541
|
+
ab = am.cellRange._toString2(1, false, true, true);
|
|
7542
|
+
aa = v._cv(am);
|
|
7542
7543
|
}
|
|
7543
7544
|
else {
|
|
7544
|
-
|
|
7545
|
-
let t1 =
|
|
7545
|
+
aa = v._cv(z);
|
|
7546
|
+
let t1 = z._s;
|
|
7546
7547
|
L0: while (true) {
|
|
7547
7548
|
switch (t1) {
|
|
7548
7549
|
case 3:
|
|
7549
7550
|
case 0:
|
|
7550
|
-
|
|
7551
|
+
ac = 0;
|
|
7551
7552
|
break;
|
|
7552
7553
|
case 2:
|
|
7553
|
-
|
|
7554
|
-
let am;
|
|
7554
|
+
ac = 3;
|
|
7555
7555
|
let an;
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7556
|
+
let ao;
|
|
7557
|
+
ah = toNullable(Number_$type, ((() => { let ap = v._cx(w.worksheet, z, an, ao); an = ap.p2; ao = ap.p3; return ap.ret; })()));
|
|
7558
|
+
if (ao != null) {
|
|
7559
|
+
ab = ao._toString2(1, false, true, true);
|
|
7559
7560
|
}
|
|
7560
|
-
if (
|
|
7561
|
-
|
|
7561
|
+
if (an == false) {
|
|
7562
|
+
aa = null;
|
|
7562
7563
|
}
|
|
7563
7564
|
break;
|
|
7564
7565
|
case 4:
|
|
7565
|
-
|
|
7566
|
+
ac = 0;
|
|
7566
7567
|
break;
|
|
7567
7568
|
default:
|
|
7568
7569
|
t1 = 0;
|
|
@@ -7571,45 +7572,45 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7571
7572
|
break;
|
|
7572
7573
|
}
|
|
7573
7574
|
}
|
|
7574
|
-
let
|
|
7575
|
-
SpreadsheetMLMain.abi(this,
|
|
7575
|
+
let ap = w._as(x)._be();
|
|
7576
|
+
SpreadsheetMLMain.abi(this, aa, ac, void 0, ab, ad, ae, void 0, void 0, af, ag, ap, ah);
|
|
7576
7577
|
this.ad.k();
|
|
7577
7578
|
}
|
|
7578
|
-
static gh(
|
|
7579
|
-
let
|
|
7580
|
-
let
|
|
7581
|
-
if (
|
|
7579
|
+
static gh(v, w) {
|
|
7580
|
+
let x = stringIsNullOrEmpty(w.header) == false;
|
|
7581
|
+
let y = stringIsNullOrEmpty(w.footer) == false;
|
|
7582
|
+
if (x == false && y == false && w.alignHeadersAndFootersWithMargins == true && w.scaleHeadersAndFootersWithDocument == true) {
|
|
7582
7583
|
return;
|
|
7583
7584
|
}
|
|
7584
|
-
SpreadsheetMLMain.ab0(
|
|
7585
|
-
if (w) {
|
|
7586
|
-
SpreadsheetMLMain.acj(u, v.header);
|
|
7587
|
-
u.ad.k();
|
|
7588
|
-
}
|
|
7585
|
+
SpreadsheetMLMain.ab0(v, void 0, void 0, w.scaleHeadersAndFootersWithDocument, w.alignHeadersAndFootersWithMargins);
|
|
7589
7586
|
if (x) {
|
|
7590
|
-
SpreadsheetMLMain.
|
|
7591
|
-
|
|
7587
|
+
SpreadsheetMLMain.acj(v, w.header);
|
|
7588
|
+
v.ad.k();
|
|
7589
|
+
}
|
|
7590
|
+
if (y) {
|
|
7591
|
+
SpreadsheetMLMain.aci(v, w.footer);
|
|
7592
|
+
v.ad.k();
|
|
7592
7593
|
}
|
|
7593
|
-
|
|
7594
|
+
v.ad.k();
|
|
7594
7595
|
}
|
|
7595
|
-
gi(
|
|
7596
|
-
let v;
|
|
7596
|
+
gi(v) {
|
|
7597
7597
|
let w;
|
|
7598
7598
|
let x;
|
|
7599
|
-
let y
|
|
7600
|
-
|
|
7601
|
-
w =
|
|
7602
|
-
x =
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
let ab =
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7599
|
+
let y;
|
|
7600
|
+
let z = WorkbookSaveManager._b7(v, w, x, y);
|
|
7601
|
+
w = z.p1;
|
|
7602
|
+
x = z.p2;
|
|
7603
|
+
y = z.p3;
|
|
7604
|
+
let aa = null;
|
|
7605
|
+
if (w != null) {
|
|
7606
|
+
aa = this.d._ay(w, this.bg._a4());
|
|
7607
|
+
}
|
|
7608
|
+
let ab = WorksheetCell.l_op_Inequality(v.sourceCell, null) ? v.sourceCell._toString2(1, false, true, true) : v.sourceRegion._toString2(1, false, true, true);
|
|
7609
|
+
let ac = v.displayText != null ? v.displayText : v.targetAddress;
|
|
7610
|
+
if (Base.equalsStatic(ac, v.sourceRegion._k._c6(v.sourceRegion._v))) {
|
|
7611
|
+
ac = null;
|
|
7612
|
+
}
|
|
7613
|
+
SpreadsheetMLMain.ab2(this, ab, aa, x, v.toolTip, v.displayText);
|
|
7613
7614
|
this.ad.k();
|
|
7614
7615
|
}
|
|
7615
7616
|
gj() {
|
|
@@ -7620,148 +7621,148 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7620
7621
|
ExcelUtils.fo(WorksheetHyperlink.$, this.bk._hyperlinks$i, runOn(this, this.gi));
|
|
7621
7622
|
this.ad.k();
|
|
7622
7623
|
}
|
|
7623
|
-
static gk(
|
|
7624
|
-
if (
|
|
7624
|
+
static gk(v, w) {
|
|
7625
|
+
if (w == null) {
|
|
7625
7626
|
return;
|
|
7626
7627
|
}
|
|
7627
|
-
if (
|
|
7628
|
-
SpreadsheetMLMain.acb(
|
|
7629
|
-
|
|
7628
|
+
if (v.d._z == 0) {
|
|
7629
|
+
SpreadsheetMLMain.acb(v, w);
|
|
7630
|
+
v.ad.k();
|
|
7630
7631
|
}
|
|
7631
7632
|
else {
|
|
7632
|
-
|
|
7633
|
-
SpreadsheetMLMain.acb(
|
|
7634
|
-
|
|
7633
|
+
v.ad.g([new AlternateContentChoice(0, VmlNamespace.an, () => {
|
|
7634
|
+
SpreadsheetMLMain.acb(v, w);
|
|
7635
|
+
v.ad.k();
|
|
7635
7636
|
})]);
|
|
7636
7637
|
}
|
|
7637
7638
|
}
|
|
7638
|
-
static gl(
|
|
7639
|
-
if (
|
|
7639
|
+
static gl(v, w) {
|
|
7640
|
+
if (w == null) {
|
|
7640
7641
|
return;
|
|
7641
7642
|
}
|
|
7642
|
-
if (
|
|
7643
|
-
SpreadsheetMLMain.acc(
|
|
7644
|
-
|
|
7643
|
+
if (v.d._z == 0) {
|
|
7644
|
+
SpreadsheetMLMain.acc(v, w);
|
|
7645
|
+
v.ad.k();
|
|
7645
7646
|
}
|
|
7646
7647
|
else {
|
|
7647
|
-
|
|
7648
|
-
SpreadsheetMLMain.acc(
|
|
7649
|
-
|
|
7648
|
+
v.ad.g([new AlternateContentChoice(0, VmlNamespace.an, () => {
|
|
7649
|
+
SpreadsheetMLMain.acc(v, w);
|
|
7650
|
+
v.ad.k();
|
|
7650
7651
|
})]);
|
|
7651
7652
|
}
|
|
7652
7653
|
}
|
|
7653
|
-
gm(
|
|
7654
|
-
SpreadsheetMLMain.acd(this,
|
|
7654
|
+
gm(v) {
|
|
7655
|
+
SpreadsheetMLMain.acd(this, v._toString2(1, false, true, true));
|
|
7655
7656
|
this.ad.k();
|
|
7656
7657
|
}
|
|
7657
7658
|
gn() {
|
|
7658
|
-
let
|
|
7659
|
-
let
|
|
7660
|
-
if (
|
|
7659
|
+
let v = ObjectModelWorksheetPartManager.bh(this)._b9._ax(this.bk);
|
|
7660
|
+
let w = Enumerable.aj(WorksheetMergedCellsRegion.$, v);
|
|
7661
|
+
if (w == 0) {
|
|
7661
7662
|
return;
|
|
7662
7663
|
}
|
|
7663
|
-
SpreadsheetMLMain.ace(this, toNullable(Number_$type, intSToU(
|
|
7664
|
-
ExcelUtils.fo(WorksheetMergedCellsRegion.$,
|
|
7664
|
+
SpreadsheetMLMain.ace(this, toNullable(Number_$type, intSToU(w)));
|
|
7665
|
+
ExcelUtils.fo(WorksheetMergedCellsRegion.$, v, runOn(this, this.gm));
|
|
7665
7666
|
this.ad.k();
|
|
7666
7667
|
}
|
|
7667
7668
|
go() {
|
|
7668
7669
|
SpreadsheetMLMain.aco(this, void 0, this.bk.displayOptions._an, this.bk.displayOptions._ao, this.bk.displayOptions.showOutlineSymbols);
|
|
7669
7670
|
this.ad.k();
|
|
7670
7671
|
}
|
|
7671
|
-
static gp(
|
|
7672
|
-
SpreadsheetMLMain.acp(
|
|
7673
|
-
|
|
7672
|
+
static gp(v, w) {
|
|
7673
|
+
SpreadsheetMLMain.acp(v, w.leftMargin, w.rightMargin, w.topMargin, w.bottomMargin, w.headerMargin, w.footerMargin);
|
|
7674
|
+
v.ad.k();
|
|
7674
7675
|
}
|
|
7675
|
-
static gq(
|
|
7676
|
-
if (
|
|
7676
|
+
static gq(v, w) {
|
|
7677
|
+
if (w._ag() == false) {
|
|
7677
7678
|
return;
|
|
7678
7679
|
}
|
|
7679
|
-
let
|
|
7680
|
-
if (
|
|
7681
|
-
let
|
|
7682
|
-
if (
|
|
7683
|
-
|
|
7680
|
+
let x = null;
|
|
7681
|
+
if (w._c != null) {
|
|
7682
|
+
let y = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), v.d._j(ObjectModelPrinterSettingsPartManager.a7, w._c));
|
|
7683
|
+
if (y != null) {
|
|
7684
|
+
x = y.d;
|
|
7684
7685
|
}
|
|
7685
7686
|
}
|
|
7686
|
-
let
|
|
7687
|
-
let z = 1;
|
|
7687
|
+
let z = 100;
|
|
7688
7688
|
let aa = 1;
|
|
7689
|
-
let ab =
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
z =
|
|
7694
|
-
aa =
|
|
7695
|
-
ab =
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7689
|
+
let ab = 1;
|
|
7690
|
+
let ac = 0;
|
|
7691
|
+
if (typeCast(PrintOptions.$, w) !== null) {
|
|
7692
|
+
let ad = w;
|
|
7693
|
+
z = ad.scalingFactor;
|
|
7694
|
+
aa = ad.maxPagesHorizontally;
|
|
7695
|
+
ab = ad.maxPagesVertically;
|
|
7696
|
+
ac = XlsxUtilities.ay(ad.pageOrder);
|
|
7697
|
+
}
|
|
7698
|
+
SpreadsheetMLMain.acq(v, w.paperSize, void 0, void 0, intSToU(z), intSToU(w.startPageNumber), intSToU(aa), intSToU(ab), ac, XlsxUtilities.ax(w.orientation), void 0, w.printInBlackAndWhite, w.draftQuality, XlsxUtilities.aq(w.printNotes), w.pageNumbering == 1, XlsxUtilities.a1(w.printErrors), intSToU(w.resolution), intSToU(w.verticalResolution), intSToU(w.numberOfCopies), x);
|
|
7699
|
+
v.ad.k();
|
|
7699
7700
|
}
|
|
7700
7701
|
gr() {
|
|
7701
7702
|
SpreadsheetMLMain.acr(this, void 0, this.bk.printOptions.scalingType == 1);
|
|
7702
7703
|
this.ad.k();
|
|
7703
7704
|
}
|
|
7704
|
-
gs(
|
|
7705
|
-
let
|
|
7706
|
-
|
|
7707
|
-
let
|
|
7708
|
-
if (
|
|
7709
|
-
let
|
|
7710
|
-
let
|
|
7711
|
-
let
|
|
7712
|
-
let
|
|
7713
|
-
if (
|
|
7714
|
-
|
|
7715
|
-
}
|
|
7716
|
-
let
|
|
7717
|
-
SpreadsheetMLMain.acs(this,
|
|
7705
|
+
gs(v) {
|
|
7706
|
+
let w = this.bg._by;
|
|
7707
|
+
v._br();
|
|
7708
|
+
let x = XlsxUtilities.az(v._z);
|
|
7709
|
+
if (v.panesAreFrozen) {
|
|
7710
|
+
let y = v.frozenPaneSettings;
|
|
7711
|
+
let z = null;
|
|
7712
|
+
let aa = Math.max(y.frozenColumns, y.firstColumnInRightPane);
|
|
7713
|
+
let ab = Math.max(y.frozenRows, y.firstRowInBottomPane);
|
|
7714
|
+
if (aa > 0 || ab > 0) {
|
|
7715
|
+
z = CellAddress.u(ab, aa, w.currentFormat);
|
|
7716
|
+
}
|
|
7717
|
+
let ac = y._z ? 2 : 1;
|
|
7718
|
+
SpreadsheetMLMain.acs(this, y.frozenColumns, y.frozenRows, z, x, ac);
|
|
7718
7719
|
}
|
|
7719
7720
|
else {
|
|
7720
|
-
let
|
|
7721
|
-
let
|
|
7722
|
-
if (
|
|
7723
|
-
|
|
7721
|
+
let ad = v.unfrozenPaneSettings;
|
|
7722
|
+
let ae = null;
|
|
7723
|
+
if (ad.firstColumnInRightPane > 0 && ad.firstRowInBottomPane > 0) {
|
|
7724
|
+
ae = CellAddress.u(ad.firstRowInBottomPane, ad.firstColumnInRightPane, w.currentFormat);
|
|
7724
7725
|
}
|
|
7725
|
-
SpreadsheetMLMain.acs(this,
|
|
7726
|
+
SpreadsheetMLMain.acs(this, ad.leftPaneWidth, ad.topPaneHeight, ae, x, 0);
|
|
7726
7727
|
}
|
|
7727
7728
|
this.ad.k();
|
|
7728
7729
|
}
|
|
7729
|
-
static gt(
|
|
7730
|
-
if (
|
|
7730
|
+
static gt(v, w, x) {
|
|
7731
|
+
if (x.a == null) {
|
|
7731
7732
|
return;
|
|
7732
7733
|
}
|
|
7733
|
-
SpreadsheetMLMain.acu(
|
|
7734
|
-
|
|
7734
|
+
SpreadsheetMLMain.acu(v, x.a);
|
|
7735
|
+
v.ad.k();
|
|
7735
7736
|
}
|
|
7736
|
-
gu(
|
|
7737
|
-
SpreadsheetMLMain.acx(this,
|
|
7737
|
+
gu(v) {
|
|
7738
|
+
SpreadsheetMLMain.acx(this, v.centerHorizontally, v.centerVertically, v.printRowAndColumnHeaders, v.printGridlines);
|
|
7738
7739
|
this.ad.k();
|
|
7739
7740
|
}
|
|
7740
|
-
gv(
|
|
7741
|
-
let
|
|
7742
|
-
if (
|
|
7743
|
-
|
|
7741
|
+
gv(v) {
|
|
7742
|
+
let w = this.d._z == 0;
|
|
7743
|
+
if (w && nullableEquals(v._c.h(), 0)) {
|
|
7744
|
+
w = false;
|
|
7744
7745
|
}
|
|
7745
|
-
let
|
|
7746
|
-
if (
|
|
7747
|
-
let
|
|
7748
|
-
|
|
7746
|
+
let x = null;
|
|
7747
|
+
if (v.ranges.count > 0) {
|
|
7748
|
+
let y = Enumerable.o(WorksheetRegion.$, WorksheetRegionAddress.$, v.ranges, (z) => z._h);
|
|
7749
|
+
x = WorksheetReferenceCollection._ab(1, this.bk, y);
|
|
7749
7750
|
}
|
|
7750
|
-
if (
|
|
7751
|
-
let
|
|
7752
|
-
let
|
|
7753
|
-
let
|
|
7754
|
-
let
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
SpreadsheetMLMain.acz(this,
|
|
7751
|
+
if (w == false) {
|
|
7752
|
+
let z;
|
|
7753
|
+
let aa, ab;
|
|
7754
|
+
let ac;
|
|
7755
|
+
let ad = v._c.e(z, aa, ab, ac);
|
|
7756
|
+
z = ad.p0;
|
|
7757
|
+
aa = ad.p1;
|
|
7758
|
+
ab = ad.p2;
|
|
7759
|
+
ac = ad.p3;
|
|
7760
|
+
SpreadsheetMLMain.acz(this, v._m(), x, v.title, z, aa != null ? Convert.toBase64String(aa) : null, ab != null ? Convert.toBase64String(ab) : null, ac);
|
|
7760
7761
|
}
|
|
7761
7762
|
else {
|
|
7762
|
-
let
|
|
7763
|
-
let
|
|
7764
|
-
SpreadsheetMLMain.acy(this,
|
|
7763
|
+
let ae = v._c.h();
|
|
7764
|
+
let af = ae.hasValue ? toNullable(ST_UnsignedShortHex.$, new ST_UnsignedShortHex(1, ae.value)) : toNullable(ST_UnsignedShortHex.$, null);
|
|
7765
|
+
SpreadsheetMLMain.acy(this, v._m(), x, v.title, af);
|
|
7765
7766
|
}
|
|
7766
7767
|
this.ad.k();
|
|
7767
7768
|
}
|
|
@@ -7773,64 +7774,64 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7773
7774
|
ExcelUtils.fo(WorksheetProtectedRange.$, this.bk.protection._allowedEditRanges$i, runOn(this, this.gv));
|
|
7774
7775
|
this.ad.k();
|
|
7775
7776
|
}
|
|
7776
|
-
bw(
|
|
7777
|
-
let
|
|
7778
|
-
let
|
|
7779
|
-
if (
|
|
7780
|
-
|
|
7781
|
-
|
|
7777
|
+
bw(v, w, x) {
|
|
7778
|
+
let y = 0;
|
|
7779
|
+
let z = false;
|
|
7780
|
+
if (w._hasCellFormat && w._cellFormatInternal._z == false) {
|
|
7781
|
+
y = v._a8(w._cellFormatInternal.d);
|
|
7782
|
+
z = true;
|
|
7782
7783
|
}
|
|
7783
|
-
let
|
|
7784
|
-
let
|
|
7785
|
-
if (
|
|
7786
|
-
|
|
7784
|
+
let aa = toNullable(Number_$type, null);
|
|
7785
|
+
let ab = w._cs(true);
|
|
7786
|
+
if (ab > -1) {
|
|
7787
|
+
aa = toNullable(Number_$type, ab / 20);
|
|
7787
7788
|
}
|
|
7788
7789
|
else if (this.bk._d4) {
|
|
7789
|
-
|
|
7790
|
+
aa = toNullable(Number_$type, this.bk.defaultRowHeight / 20);
|
|
7790
7791
|
}
|
|
7791
|
-
SpreadsheetMLMain.ac7(this, toNullable(Number_$type, intSToU((
|
|
7792
|
-
let
|
|
7793
|
-
let
|
|
7794
|
-
let
|
|
7795
|
-
for (let
|
|
7796
|
-
if (
|
|
7797
|
-
|
|
7792
|
+
SpreadsheetMLMain.ac7(this, toNullable(Number_$type, intSToU((w.index + 1))), void 0, y, z, aa, w.hidden, w._bz, w.outlineLevel, x.a, w._b4, w._b1);
|
|
7793
|
+
let ac = w._hasCellFormat ? w._cellFormatInternal.d : null;
|
|
7794
|
+
let ad = CellAddress.x(w.index, true, v._b.currentFormat, w.index, false, 1);
|
|
7795
|
+
let ae = 0;
|
|
7796
|
+
for (let af of fromEnum(w._ch(void 0, void 0, true))) {
|
|
7797
|
+
if (af.j == null) {
|
|
7798
|
+
af.j = ac || this.bk._cb(af.r).b;
|
|
7798
7799
|
}
|
|
7799
|
-
this.f3(
|
|
7800
|
-
|
|
7800
|
+
this.f3(v, w, x, ad, af);
|
|
7801
|
+
ae++;
|
|
7801
7802
|
}
|
|
7802
7803
|
this.ad.k();
|
|
7803
|
-
return
|
|
7804
|
+
return ae;
|
|
7804
7805
|
}
|
|
7805
|
-
gx(
|
|
7806
|
-
if (
|
|
7806
|
+
gx(v) {
|
|
7807
|
+
if (v._cp == false) {
|
|
7807
7808
|
return;
|
|
7808
7809
|
}
|
|
7809
|
-
SpreadsheetMLMain.ac6(this, intSToU(
|
|
7810
|
-
ExcelUtils.fo(HorizontalPageBreak.$,
|
|
7810
|
+
SpreadsheetMLMain.ac6(this, intSToU(v._horizontalPageBreaks$i.count), intSToU(v._horizontalPageBreaks$i._k()));
|
|
7811
|
+
ExcelUtils.fo(HorizontalPageBreak.$, v._horizontalPageBreaks$i, runOn(this, this.f2));
|
|
7811
7812
|
this.ad.k();
|
|
7812
7813
|
}
|
|
7813
|
-
gy(
|
|
7814
|
-
if (
|
|
7814
|
+
gy(v) {
|
|
7815
|
+
if (v._ai == false) {
|
|
7815
7816
|
return;
|
|
7816
7817
|
}
|
|
7817
|
-
let
|
|
7818
|
-
let
|
|
7819
|
-
let
|
|
7820
|
-
for (let
|
|
7821
|
-
let
|
|
7822
|
-
let
|
|
7823
|
-
let
|
|
7824
|
-
let
|
|
7825
|
-
for (let
|
|
7826
|
-
|
|
7818
|
+
let w = v._af;
|
|
7819
|
+
let x = v._ad.workbook;
|
|
7820
|
+
let y = x.currentFormat;
|
|
7821
|
+
for (let z of fromEnum(w.b)) {
|
|
7822
|
+
let aa = XlsxUtilities.az(z.a);
|
|
7823
|
+
let ab = z.b.p(false, false, y, 1);
|
|
7824
|
+
let ac = intSToU(z.f);
|
|
7825
|
+
let ad = new List$1(String_$type, 0);
|
|
7826
|
+
for (let ae of fromEnum(z.d)) {
|
|
7827
|
+
ad.add(ae._ah(false, false, y, 1));
|
|
7827
7828
|
}
|
|
7828
|
-
SpreadsheetMLMain.adb(this,
|
|
7829
|
+
SpreadsheetMLMain.adb(this, aa, ab, ac, ad);
|
|
7829
7830
|
this.ad.k();
|
|
7830
7831
|
}
|
|
7831
7832
|
}
|
|
7832
7833
|
gz() {
|
|
7833
|
-
if (Enumerable.d(KeyValuePair$2.$.specialize(WorkbookReferenceBase.$, Number_$type), this.bg._b9._ck, (
|
|
7834
|
+
if (Enumerable.d(KeyValuePair$2.$.specialize(WorkbookReferenceBase.$, Number_$type), this.bg._b9._ck, (v) => typeCast(OleLinkWorkbookReference.$, v.key) !== null)) {
|
|
7834
7835
|
return;
|
|
7835
7836
|
}
|
|
7836
7837
|
if (!this.bn) {
|
|
@@ -7839,15 +7840,15 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7839
7840
|
SpreadsheetMLMain.add(this, true);
|
|
7840
7841
|
this.ad.k();
|
|
7841
7842
|
}
|
|
7842
|
-
ba(
|
|
7843
|
+
ba(v) {
|
|
7843
7844
|
SpreadsheetMLMain.ade(this);
|
|
7844
|
-
let
|
|
7845
|
-
return WorkItemExtensions.a(Async.e(WorksheetRow.$,
|
|
7846
|
-
let
|
|
7847
|
-
if (
|
|
7848
|
-
|
|
7849
|
-
if (1000 <
|
|
7850
|
-
|
|
7845
|
+
let w = 0;
|
|
7846
|
+
return WorkItemExtensions.a(Async.e(WorksheetRow.$, v._ay(this.bk), (x) => {
|
|
7847
|
+
let y = v._u(x);
|
|
7848
|
+
if (y != null) {
|
|
7849
|
+
w += this.bw(v, x, y);
|
|
7850
|
+
if (1000 < w) {
|
|
7851
|
+
w = 0;
|
|
7851
7852
|
return false;
|
|
7852
7853
|
}
|
|
7853
7854
|
}
|
|
@@ -7855,67 +7856,67 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7855
7856
|
}), () => this.ad.k());
|
|
7856
7857
|
}
|
|
7857
7858
|
g0() {
|
|
7858
|
-
let
|
|
7859
|
-
if (nullableNotEquals(
|
|
7860
|
-
|
|
7859
|
+
let v = this.bk._ek ? toNullable(Number_$type, this.bk.getDefaultColumnWidth(0)) : toNullable(Number_$type, null);
|
|
7860
|
+
if (nullableNotEquals(v, null) && Enumerable.b(WorksheetColumnBlock.$, this.bk._ff, (w) => w.i)) {
|
|
7861
|
+
v = toNullable(Number_$type, 0);
|
|
7861
7862
|
}
|
|
7862
|
-
SpreadsheetMLMain.adi(this, this.bk.defaultRowHeight / 20, truncate(MathUtilities.j(this.bk.getDefaultColumnWidth(2))),
|
|
7863
|
+
SpreadsheetMLMain.adi(this, this.bk.defaultRowHeight / 20, truncate(MathUtilities.j(this.bk.getDefaultColumnWidth(2))), v, this.bk._d4, this.bk._dv, this.bk._dt, this.bk._ds);
|
|
7863
7864
|
this.ad.k();
|
|
7864
7865
|
}
|
|
7865
7866
|
g1() {
|
|
7866
|
-
let
|
|
7867
|
+
let v = null;
|
|
7867
7868
|
if (this.bk.workbook._k != null) {
|
|
7868
|
-
|
|
7869
|
+
v = this.bk._ak;
|
|
7869
7870
|
}
|
|
7870
|
-
SpreadsheetMLMain.adl(this, void 0, void 0, void 0, void 0, void 0, void 0,
|
|
7871
|
+
SpreadsheetMLMain.adl(this, void 0, void 0, void 0, void 0, void 0, void 0, v);
|
|
7871
7872
|
this.g6();
|
|
7872
7873
|
this.go();
|
|
7873
7874
|
this.gr();
|
|
7874
7875
|
this.ad.k();
|
|
7875
7876
|
}
|
|
7876
7877
|
g2() {
|
|
7877
|
-
let
|
|
7878
|
-
let
|
|
7879
|
-
if (
|
|
7880
|
-
|
|
7878
|
+
let v = this.bk.protection;
|
|
7879
|
+
let w = this.d._z == 0;
|
|
7880
|
+
if (w && nullableEquals(v._c.h(), 0)) {
|
|
7881
|
+
w = false;
|
|
7881
7882
|
}
|
|
7882
|
-
if (
|
|
7883
|
-
|
|
7883
|
+
if (w && !v._c.h().hasValue) {
|
|
7884
|
+
w = false;
|
|
7884
7885
|
}
|
|
7885
|
-
if (
|
|
7886
|
-
let
|
|
7887
|
-
let
|
|
7888
|
-
let
|
|
7889
|
-
let
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
SpreadsheetMLMain.adn(this,
|
|
7886
|
+
if (w == false) {
|
|
7887
|
+
let x;
|
|
7888
|
+
let y, z;
|
|
7889
|
+
let aa;
|
|
7890
|
+
let ab = v._c.e(x, y, z, aa);
|
|
7891
|
+
x = ab.p0;
|
|
7892
|
+
y = ab.p1;
|
|
7893
|
+
z = ab.p2;
|
|
7894
|
+
aa = ab.p3;
|
|
7895
|
+
SpreadsheetMLMain.adn(this, x, y != null ? Convert.toBase64String(y) : null, z != null ? Convert.toBase64String(z) : null, aa, this.bk.isProtected, v.allowEditObjects == false, v.allowEditScenarios == false, v.allowFormattingCells == false, v.allowFormattingColumns == false, v.allowFormattingRows == false, v.allowInsertingColumns == false, v.allowInsertingRows == false, v.allowInsertingHyperlinks == false, v.allowDeletingColumns == false, v.allowDeletingRows == false, v._ab == false, v.allowSorting == false, v.allowFiltering == false, v.allowUsingPivotTables == false, v._ac == false);
|
|
7895
7896
|
}
|
|
7896
7897
|
else {
|
|
7897
|
-
let
|
|
7898
|
-
let
|
|
7899
|
-
SpreadsheetMLMain.adm(this,
|
|
7898
|
+
let ac = v._c.h();
|
|
7899
|
+
let ad = ac.hasValue ? toNullable(ST_UnsignedShortHex.$, new ST_UnsignedShortHex(1, ac.value)) : toNullable(ST_UnsignedShortHex.$, null);
|
|
7900
|
+
SpreadsheetMLMain.adm(this, ad, this.bk.isProtected, v.allowEditObjects == false, v.allowEditScenarios == false, v.allowFormattingCells == false, v.allowFormattingColumns == false, v.allowFormattingRows == false, v.allowInsertingColumns == false, v.allowInsertingRows == false, v.allowInsertingHyperlinks == false, v.allowDeletingColumns == false, v.allowDeletingRows == false, v._ab == false, v.allowSorting == false, v.allowFiltering == false, v.allowUsingPivotTables == false, v._ac == false);
|
|
7900
7901
|
}
|
|
7901
7902
|
this.ad.k();
|
|
7902
7903
|
}
|
|
7903
7904
|
g3() {
|
|
7904
|
-
let
|
|
7905
|
-
let
|
|
7906
|
-
let
|
|
7907
|
-
let
|
|
7908
|
-
let
|
|
7909
|
-
if (
|
|
7910
|
-
|
|
7911
|
-
}
|
|
7912
|
-
SpreadsheetMLMain.adp(this, 0, void 0,
|
|
7913
|
-
let
|
|
7914
|
-
let
|
|
7915
|
-
if ((
|
|
7916
|
-
this.gs(
|
|
7917
|
-
}
|
|
7918
|
-
this.gy(
|
|
7905
|
+
let v = this.bg._by;
|
|
7906
|
+
let w = this.bk.displayOptions;
|
|
7907
|
+
let x = null;
|
|
7908
|
+
let y = w.unfrozenPaneSettings.firstColumnInLeftPane;
|
|
7909
|
+
let z = w.unfrozenPaneSettings.firstRowInTopPane;
|
|
7910
|
+
if (y > 0 || z > 0) {
|
|
7911
|
+
x = CellAddress.u(z, y, v.currentFormat);
|
|
7912
|
+
}
|
|
7913
|
+
SpreadsheetMLMain.adp(this, 0, void 0, w.showFormulasInCells, w.showGridlines, w.showRowAndColumnHeaders, w.showZeroValues, w.orderColumnsRightToLeft, v.windowOptions.selectedSheet == this.bk || this.bk._w, w.showRulerInPageLayoutView, w.showOutlineSymbols, w._a8 == 64, w.showWhitespaceInPageLayoutView, XlsxUtilities.a4(w.view), x, intSToU(w._a8), intSToU(w._b3), intSToU(w.magnificationInNormalView), intSToU(w.magnificationInPageBreakView), intSToU(w.magnificationInPageLayoutView));
|
|
7914
|
+
let aa = this.bk.displayOptions.frozenPaneSettings;
|
|
7915
|
+
let ab = this.bk.displayOptions.unfrozenPaneSettings;
|
|
7916
|
+
if ((w.panesAreFrozen && (aa._h || aa._i)) || (!w.panesAreFrozen && (ab._h || ab._i))) {
|
|
7917
|
+
this.gs(w);
|
|
7918
|
+
}
|
|
7919
|
+
this.gy(w);
|
|
7919
7920
|
this.ad.k();
|
|
7920
7921
|
}
|
|
7921
7922
|
g4() {
|
|
@@ -7923,41 +7924,41 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7923
7924
|
this.g3();
|
|
7924
7925
|
this.ad.k();
|
|
7925
7926
|
}
|
|
7926
|
-
g5(
|
|
7927
|
-
if (
|
|
7927
|
+
g5(v, w, x, y, z = 0) {
|
|
7928
|
+
if (w == null) {
|
|
7928
7929
|
return;
|
|
7929
7930
|
}
|
|
7930
|
-
(((
|
|
7931
|
-
let
|
|
7932
|
-
for (let
|
|
7933
|
-
let
|
|
7934
|
-
let
|
|
7935
|
-
let
|
|
7936
|
-
let
|
|
7937
|
-
let
|
|
7938
|
-
let
|
|
7939
|
-
if (al != null) {
|
|
7940
|
-
ai = al._l();
|
|
7941
|
-
}
|
|
7942
|
-
let am = typeCast(IconSortCondition.$, ah);
|
|
7931
|
+
(((aa, ab, ac, ad, ae) => SpreadsheetMLMain.adu(aa, ac, ab, ad, ae))(this, z == 1, w._toString2(1, false, true, true), x.caseSensitive, x._n ? XlsxUtilities.a5(x._i) : 0));
|
|
7932
|
+
let af = v._w(w.worksheet);
|
|
7933
|
+
for (let ag of fromEnum(x._sortConditions$i)) {
|
|
7934
|
+
let ah = ag.key;
|
|
7935
|
+
let ai = ag.value;
|
|
7936
|
+
let aj = null;
|
|
7937
|
+
let ak = 0;
|
|
7938
|
+
let al = toNullable(Number_$type, null);
|
|
7939
|
+
let am = typeCast(CustomListSortCondition.$, ai);
|
|
7943
7940
|
if (am != null) {
|
|
7944
|
-
aj = am.
|
|
7945
|
-
ak = am._n;
|
|
7941
|
+
aj = am._l();
|
|
7946
7942
|
}
|
|
7947
|
-
let an =
|
|
7948
|
-
if (
|
|
7949
|
-
|
|
7943
|
+
let an = typeCast(IconSortCondition.$, ai);
|
|
7944
|
+
if (an != null) {
|
|
7945
|
+
ak = an._k;
|
|
7946
|
+
al = an._n;
|
|
7947
|
+
}
|
|
7948
|
+
let ao = w._h;
|
|
7949
|
+
if (z == 1) {
|
|
7950
|
+
ao = ao._d((ao._ac + ah.index))._f((ao._ac + ah.index));
|
|
7950
7951
|
}
|
|
7951
7952
|
else {
|
|
7952
|
-
|
|
7953
|
+
ao = ao._c((ao._w + ah.index))._e((ao._w + ah.index));
|
|
7953
7954
|
}
|
|
7954
|
-
SpreadsheetMLMain.ads(this,
|
|
7955
|
+
SpreadsheetMLMain.ads(this, ao._ah(true, true, this.bk._o, 1), ai.sortDirection == 1, ai._d, aj, y ? af.l(ah.index) : af.m(ah.index), ak, al);
|
|
7955
7956
|
}
|
|
7956
7957
|
this.ad.k();
|
|
7957
7958
|
}
|
|
7958
|
-
bb(
|
|
7959
|
-
return WorkItemExtensions.e(Tuple$2.$.specialize(Uri.$, String_$type), this.bg._j(ObjectModelSlicerPartManager.a7,
|
|
7960
|
-
SpreadsheetML2009Main.dq(this, WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type),
|
|
7959
|
+
bb(af) {
|
|
7960
|
+
return WorkItemExtensions.e(Tuple$2.$.specialize(Uri.$, String_$type), this.bg._j(ObjectModelSlicerPartManager.a7, af), (ag) => {
|
|
7961
|
+
SpreadsheetML2009Main.dq(this, WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), ag).d);
|
|
7961
7962
|
this.ad.k();
|
|
7962
7963
|
});
|
|
7963
7964
|
}
|
|
@@ -7967,9 +7968,9 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7967
7968
|
}
|
|
7968
7969
|
ObjectModelCommonPartHelpers.ao(this, this.bk.displayOptions.tabColorInfo, 4, SpreadsheetMLMain.ad1);
|
|
7969
7970
|
}
|
|
7970
|
-
g7(
|
|
7971
|
-
let
|
|
7972
|
-
SpreadsheetMLMain.ad5(this,
|
|
7971
|
+
g7(af) {
|
|
7972
|
+
let ag = this.bg._f(af).id;
|
|
7973
|
+
SpreadsheetMLMain.ad5(this, ag);
|
|
7973
7974
|
this.ad.k();
|
|
7974
7975
|
}
|
|
7975
7976
|
g8() {
|
|
@@ -7980,102 +7981,102 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7980
7981
|
ExcelUtils.fo(WorksheetTable.$, this.bk._tables$i, runOn(this, this.g7));
|
|
7981
7982
|
this.ad.k();
|
|
7982
7983
|
}
|
|
7983
|
-
static bp(
|
|
7984
|
-
if (
|
|
7984
|
+
static bp(af) {
|
|
7985
|
+
if (af.workbook.calculationMode == 0 && !af.workbook.recalculateBeforeSave) {
|
|
7985
7986
|
return true;
|
|
7986
7987
|
}
|
|
7987
|
-
if (
|
|
7988
|
-
let
|
|
7989
|
-
for (let
|
|
7990
|
-
if (typeCast(WorksheetChart.$,
|
|
7988
|
+
if (af._shapes$i.count > 0) {
|
|
7989
|
+
let ag = af._shapes$i;
|
|
7990
|
+
for (let ah = 0; ah < ag.count; ah++) {
|
|
7991
|
+
if (typeCast(WorksheetChart.$, ag.item(ah)) !== null) {
|
|
7991
7992
|
return true;
|
|
7992
7993
|
}
|
|
7993
7994
|
}
|
|
7994
7995
|
}
|
|
7995
7996
|
return false;
|
|
7996
7997
|
}
|
|
7997
|
-
bc(
|
|
7998
|
-
let
|
|
7999
|
-
let
|
|
8000
|
-
let
|
|
7998
|
+
bc(af, ag) {
|
|
7999
|
+
let ah = af._b;
|
|
8000
|
+
let ai = this.bk.printOptions;
|
|
8001
|
+
let aj = af._w(this.bk);
|
|
8001
8002
|
this.bn = ObjectModelWorksheetPartManager.bp(this.bk);
|
|
8002
|
-
let aj = null;
|
|
8003
8003
|
let ak = null;
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
let an =
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8004
|
+
let al = null;
|
|
8005
|
+
for (let am of fromEnum(this.bk._dataValidationRules$i)) {
|
|
8006
|
+
let an = am.key;
|
|
8007
|
+
let ao = al;
|
|
8008
|
+
if (this.bo(an._n(null)) || this.bo(an._o(null))) {
|
|
8009
|
+
if (al == null) {
|
|
8010
|
+
al = new List$1(KeyValuePair$2.$.specialize(DataValidationRule.$, WorksheetReferenceCollection.$), 0);
|
|
8010
8011
|
}
|
|
8011
|
-
|
|
8012
|
+
al.add(am);
|
|
8012
8013
|
}
|
|
8013
8014
|
else {
|
|
8014
|
-
if (
|
|
8015
|
-
|
|
8015
|
+
if (ak == null) {
|
|
8016
|
+
ak = new List$1(KeyValuePair$2.$.specialize(DataValidationRule.$, WorksheetReferenceCollection.$), 0);
|
|
8016
8017
|
}
|
|
8017
|
-
|
|
8018
|
+
ak.add(am);
|
|
8018
8019
|
}
|
|
8019
8020
|
}
|
|
8020
8021
|
SpreadsheetMLMain.aeq(this);
|
|
8021
|
-
if (
|
|
8022
|
+
if (ag.c != null || ag.b != null) {
|
|
8022
8023
|
this.ad.l(VmlNamespace.an);
|
|
8023
8024
|
}
|
|
8024
8025
|
this.g1();
|
|
8025
|
-
this.gd(
|
|
8026
|
+
this.gd(af, aj);
|
|
8026
8027
|
this.g4();
|
|
8027
8028
|
this.g0();
|
|
8028
|
-
this.f6(
|
|
8029
|
-
return WorkItemExtensions.a(WorkItemExtensions.c(WorkItemExtensions.a(WorkItemExtensions.c(WorkItemExtensions.a(this.ba(
|
|
8029
|
+
this.f6(af);
|
|
8030
|
+
return WorkItemExtensions.a(WorkItemExtensions.c(WorkItemExtensions.a(WorkItemExtensions.c(WorkItemExtensions.a(this.ba(af), () => {
|
|
8030
8031
|
this.gz();
|
|
8031
8032
|
this.g2();
|
|
8032
8033
|
this.gw();
|
|
8033
|
-
this.f1(
|
|
8034
|
-
this.g5(
|
|
8034
|
+
this.f1(af);
|
|
8035
|
+
this.g5(af, this.bk.sortSettings.region, this.bk.sortSettings, false, this.bk.sortSettings.sortType);
|
|
8035
8036
|
this.ga();
|
|
8036
8037
|
this.gn();
|
|
8037
|
-
this.f7(
|
|
8038
|
-
this.gc(
|
|
8038
|
+
this.f7(af);
|
|
8039
|
+
this.gc(af, ak);
|
|
8039
8040
|
this.gj();
|
|
8040
|
-
this.gu(
|
|
8041
|
-
ObjectModelWorksheetPartManager.gp(this,
|
|
8042
|
-
ObjectModelWorksheetPartManager.gq(this,
|
|
8043
|
-
ObjectModelWorksheetPartManager.gh(this,
|
|
8044
|
-
this.gx(
|
|
8045
|
-
this.f4(
|
|
8046
|
-
ObjectModelWorksheetPartManager.ge(this,
|
|
8047
|
-
ObjectModelWorksheetPartManager.gk(this,
|
|
8048
|
-
ObjectModelWorksheetPartManager.gl(this,
|
|
8049
|
-
ObjectModelWorksheetPartManager.gt(this,
|
|
8050
|
-
}), () => this.a7()), () => this.g8()), () => this.a9(
|
|
8051
|
-
}
|
|
8052
|
-
static bf(
|
|
8053
|
-
|
|
8054
|
-
let
|
|
8055
|
-
let
|
|
8056
|
-
if (ConditionalFormatInfo.e(
|
|
8041
|
+
this.gu(ai);
|
|
8042
|
+
ObjectModelWorksheetPartManager.gp(this, ai);
|
|
8043
|
+
ObjectModelWorksheetPartManager.gq(this, ai);
|
|
8044
|
+
ObjectModelWorksheetPartManager.gh(this, ai);
|
|
8045
|
+
this.gx(ai);
|
|
8046
|
+
this.f4(ai);
|
|
8047
|
+
ObjectModelWorksheetPartManager.ge(this, ag.a);
|
|
8048
|
+
ObjectModelWorksheetPartManager.gk(this, ag.c);
|
|
8049
|
+
ObjectModelWorksheetPartManager.gl(this, ag.b);
|
|
8050
|
+
ObjectModelWorksheetPartManager.gt(this, af, aj);
|
|
8051
|
+
}), () => this.a7()), () => this.g8()), () => this.a9(af, al)), () => this.ad.k());
|
|
8052
|
+
}
|
|
8053
|
+
static bf(af, ag) {
|
|
8054
|
+
ag = null;
|
|
8055
|
+
let ah = typeCast(ObjectModelWorksheetPartManager.$, af);
|
|
8056
|
+
let ai = ah.be;
|
|
8057
|
+
if (ConditionalFormatInfo.e(ai) == false) {
|
|
8057
8058
|
return {
|
|
8058
8059
|
ret: null,
|
|
8059
|
-
p1:
|
|
8060
|
+
p1: ag
|
|
8060
8061
|
};
|
|
8061
8062
|
}
|
|
8062
|
-
|
|
8063
|
-
if (CfRuleInfo.l(
|
|
8063
|
+
ag = ai.b;
|
|
8064
|
+
if (CfRuleInfo.l(ag) == false) {
|
|
8064
8065
|
return {
|
|
8065
8066
|
ret: null,
|
|
8066
|
-
p1:
|
|
8067
|
+
p1: ag
|
|
8067
8068
|
};
|
|
8068
8069
|
}
|
|
8069
8070
|
return {
|
|
8070
|
-
ret:
|
|
8071
|
-
p1:
|
|
8071
|
+
ret: ai,
|
|
8072
|
+
p1: ag
|
|
8072
8073
|
};
|
|
8073
8074
|
}
|
|
8074
8075
|
get bg() {
|
|
8075
8076
|
return ObjectModelWorksheetPartManager.bh(this);
|
|
8076
8077
|
}
|
|
8077
|
-
static bh(
|
|
8078
|
-
return
|
|
8078
|
+
static bh(af) {
|
|
8079
|
+
return af.d;
|
|
8079
8080
|
}
|
|
8080
8081
|
get bl() {
|
|
8081
8082
|
return this.bk;
|
|
@@ -8165,8 +8166,8 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8165
8166
|
j = m.p7;
|
|
8166
8167
|
k = m.p8;
|
|
8167
8168
|
l = m.p9;
|
|
8168
|
-
let n = nullableEquals(d, null) ? 0 : XlsxUtilities.
|
|
8169
|
-
let o = nullableEquals(e, null) ? 2 : XlsxUtilities.
|
|
8169
|
+
let n = nullableEquals(d, null) ? 0 : XlsxUtilities.k(d.value);
|
|
8170
|
+
let o = nullableEquals(e, null) ? 2 : XlsxUtilities.y(e.value);
|
|
8170
8171
|
let p = ((() => {
|
|
8171
8172
|
let $ret = new AlignmentInfo(0);
|
|
8172
8173
|
$ret.c = n;
|
|
@@ -8432,7 +8433,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8432
8433
|
let d = SpreadsheetMLMain.w7(a, c);
|
|
8433
8434
|
c = d.p1;
|
|
8434
8435
|
let e = new PatternFillInfo();
|
|
8435
|
-
e.j = XlsxUtilities.
|
|
8436
|
+
e.j = XlsxUtilities.ba(c);
|
|
8436
8437
|
b.d = e;
|
|
8437
8438
|
a.s.k(e);
|
|
8438
8439
|
}
|
|
@@ -8743,7 +8744,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8743
8744
|
if (b == null || b.o) {
|
|
8744
8745
|
return;
|
|
8745
8746
|
}
|
|
8746
|
-
SpreadsheetMLMain.y5(a, XlsxUtilities.
|
|
8747
|
+
SpreadsheetMLMain.y5(a, XlsxUtilities.bb(b.c), XlsxUtilities.be(b.i), b.ah, b.u, b.ab, b.af, b.q, b.s, b.ad);
|
|
8747
8748
|
a.ad.k();
|
|
8748
8749
|
}
|
|
8749
8750
|
cb(a) {
|
|
@@ -8787,7 +8788,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8787
8788
|
ObjectModelStylesPartManager.ch(this, a, b);
|
|
8788
8789
|
}
|
|
8789
8790
|
static ch(a, b, c) {
|
|
8790
|
-
c(a, XlsxUtilities.
|
|
8791
|
+
c(a, XlsxUtilities.an(b.a));
|
|
8791
8792
|
ObjectModelCommonPartHelpers.an(a, b.d, SpreadsheetMLMain.zy);
|
|
8792
8793
|
a.ad.k();
|
|
8793
8794
|
}
|
|
@@ -8953,7 +8954,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8953
8954
|
if (b == null) {
|
|
8954
8955
|
return;
|
|
8955
8956
|
}
|
|
8956
|
-
SpreadsheetMLMain.act(a, XlsxUtilities.
|
|
8957
|
+
SpreadsheetMLMain.act(a, XlsxUtilities.bc(b.j));
|
|
8957
8958
|
ObjectModelStylesPartManager.cx(a, b.e);
|
|
8958
8959
|
ObjectModelStylesPartManager.cc(a, b.b);
|
|
8959
8960
|
a.ad.k();
|
|
@@ -9023,7 +9024,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
9023
9024
|
this.ad.k();
|
|
9024
9025
|
}
|
|
9025
9026
|
dk(a, b) {
|
|
9026
|
-
SpreadsheetMLMain.ad8(this, XlsxUtilities.
|
|
9027
|
+
SpreadsheetMLMain.ad8(this, XlsxUtilities.a6(b.key), a._ak(b.key).getValueOrDefault1(1), toNullable(Number_$type, b.value));
|
|
9027
9028
|
this.ad.k();
|
|
9028
9029
|
}
|
|
9029
9030
|
dl(a) {
|
|
@@ -29094,14 +29095,14 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29094
29095
|
return DMLChartUtils.aj(toNullable(Color.$, b), toNullable(WorkbookThemeColorType_$type, null), a.b, void 0, false);
|
|
29095
29096
|
}
|
|
29096
29097
|
static ac(a) {
|
|
29097
|
-
let b = XlsxUtilities.
|
|
29098
|
+
let b = XlsxUtilities.bg(a.f);
|
|
29098
29099
|
return DMLChartUtils.aj(toNullable(Color.$, b), toNullable(WorkbookThemeColorType_$type, null), a.b);
|
|
29099
29100
|
}
|
|
29100
29101
|
static ad(a) {
|
|
29101
29102
|
if (a == null) {
|
|
29102
29103
|
return null;
|
|
29103
29104
|
}
|
|
29104
|
-
let b = XlsxUtilities.
|
|
29105
|
+
let b = XlsxUtilities.ad(a.g);
|
|
29105
29106
|
return DMLChartUtils.aj(toNullable(Color.$, null), toNullable(WorkbookThemeColorType_$type, b), a.b);
|
|
29106
29107
|
}
|
|
29107
29108
|
static ae(a) {
|
|
@@ -29113,15 +29114,15 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29113
29114
|
return DMLChartUtils.aj(toNullable(Color.$, a.f.r), toNullable(WorkbookThemeColorType_$type, null), a.b, void 0, false);
|
|
29114
29115
|
}
|
|
29115
29116
|
static ah(a) {
|
|
29116
|
-
let b = XlsxUtilities.
|
|
29117
|
+
let b = XlsxUtilities.bh(a.f);
|
|
29117
29118
|
return DMLChartUtils.aj(toNullable(Color.$, b), toNullable(WorkbookThemeColorType_$type, null), a.b);
|
|
29118
29119
|
}
|
|
29119
29120
|
static a6(a, b) {
|
|
29120
29121
|
if (b == null) {
|
|
29121
29122
|
return;
|
|
29122
29123
|
}
|
|
29123
|
-
a._bold$i = XlsxUtilities.
|
|
29124
|
-
a._italic$i = XlsxUtilities.
|
|
29124
|
+
a._bold$i = XlsxUtilities.a9(b.d);
|
|
29125
|
+
a._italic$i = XlsxUtilities.a9(b.i);
|
|
29125
29126
|
a.underlineStyle = b.s.hasValue == false ? -1 : DMLChartExtensions.z(b.s.value);
|
|
29126
29127
|
if (b.q.hasValue == false) {
|
|
29127
29128
|
a._strikeout$i = toNullable(Boolean_$type, null);
|
|
@@ -29141,8 +29142,8 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29141
29142
|
if (b == null || a == null) {
|
|
29142
29143
|
return;
|
|
29143
29144
|
}
|
|
29144
|
-
a._bold$i = XlsxUtilities.
|
|
29145
|
-
a._italic$i = XlsxUtilities.
|
|
29145
|
+
a._bold$i = XlsxUtilities.a9(b.d);
|
|
29146
|
+
a._italic$i = XlsxUtilities.a9(b.i);
|
|
29146
29147
|
a.underlineStyle = b.s.hasValue == false ? -1 : DMLChartExtensions.z(b.s.value);
|
|
29147
29148
|
if (b.q.hasValue == false) {
|
|
29148
29149
|
a._strikeout$i = toNullable(Boolean_$type, null);
|
|
@@ -29778,7 +29779,7 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29778
29779
|
if (a._themeColorType$i.hasValue) {
|
|
29779
29780
|
c = ((() => {
|
|
29780
29781
|
let $ret = new CT_SchemeColor_DML();
|
|
29781
|
-
$ret.g = XlsxUtilities.
|
|
29782
|
+
$ret.g = XlsxUtilities.ai(a._themeColorType$i.value);
|
|
29782
29783
|
return $ret;
|
|
29783
29784
|
})());
|
|
29784
29785
|
if (a.transform != null) {
|
|
@@ -29804,7 +29805,7 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29804
29805
|
let i = a._getResolvedColor1(f);
|
|
29805
29806
|
let j = toNullable(ST_SystemColorVal_$type, null);
|
|
29806
29807
|
if (a._p) {
|
|
29807
|
-
j = XlsxUtilities.
|
|
29808
|
+
j = XlsxUtilities.bd(i);
|
|
29808
29809
|
if (j.hasValue) {
|
|
29809
29810
|
return {
|
|
29810
29811
|
p2: c,
|
|
@@ -55340,7 +55341,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55340
55341
|
}
|
|
55341
55342
|
this.s.k(k);
|
|
55342
55343
|
k.magnification = b;
|
|
55343
|
-
k.visibility = XlsxUtilities.
|
|
55344
|
+
k.visibility = XlsxUtilities.af(c);
|
|
55344
55345
|
k.sizeWithWindow = d;
|
|
55345
55346
|
}
|
|
55346
55347
|
static bk(a) {
|
|
@@ -55374,7 +55375,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55374
55375
|
let c = this.a8;
|
|
55375
55376
|
let d = typeCast(ImageData.$, c._au(a));
|
|
55376
55377
|
if (d != null) {
|
|
55377
|
-
let e = XlsxUtilities.
|
|
55378
|
+
let e = XlsxUtilities.v(d);
|
|
55378
55379
|
this.a7._bf = ExcelUtils.g6(e);
|
|
55379
55380
|
this.a7._a7 = e.d;
|
|
55380
55381
|
}
|
|
@@ -55499,7 +55500,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55499
55500
|
b = c.d;
|
|
55500
55501
|
}
|
|
55501
55502
|
}
|
|
55502
|
-
SpreadsheetMLMain.acq(this, a.paperSize, void 0, void 0, void 0, intSToU(a.startPageNumber), void 0, void 0, void 0, XlsxUtilities.
|
|
55503
|
+
SpreadsheetMLMain.acq(this, a.paperSize, void 0, void 0, void 0, intSToU(a.startPageNumber), void 0, void 0, void 0, XlsxUtilities.ax(a.orientation), void 0, a.printInBlackAndWhite, a.draftQuality, XlsxUtilities.aq(a.printNotes), a.pageNumbering == 1, XlsxUtilities.a1(a.printErrors), intSToU(a.resolution), intSToU(a.verticalResolution), intSToU(a.numberOfCopies), b);
|
|
55503
55504
|
this.ad.k();
|
|
55504
55505
|
}
|
|
55505
55506
|
bz(a) {
|
|
@@ -55507,7 +55508,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55507
55508
|
if (b == null) {
|
|
55508
55509
|
return;
|
|
55509
55510
|
}
|
|
55510
|
-
SpreadsheetMLMain.aah(this, ST_Guid.a(a._t), intSToU(b.magnification), XlsxUtilities.
|
|
55511
|
+
SpreadsheetMLMain.aah(this, ST_Guid.a(a._t), intSToU(b.magnification), XlsxUtilities.a3(b.visibility), b.sizeWithWindow);
|
|
55511
55512
|
if (a.savePrintOptions) {
|
|
55512
55513
|
let c = a.getSheetPrintOptions(this.a7, false);
|
|
55513
55514
|
if (c != null) {
|
|
@@ -56297,7 +56298,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56297
56298
|
})());
|
|
56298
56299
|
$ret.a = a._k._c(ObjectModelExcelDocumentManager.$, IEG_FillProperties_$type, IEG_ShapeFillVisitor.a, this.bd);
|
|
56299
56300
|
$ret.c = a._n._c(ObjectModelExcelDocumentManager.$, CT_LineProperties.$, CT_ShapeOutlineVisitor.a, this.bd);
|
|
56300
|
-
$ret.d = XlsxUtilities.
|
|
56301
|
+
$ret.d = XlsxUtilities.ah(a);
|
|
56301
56302
|
return $ret;
|
|
56302
56303
|
})());
|
|
56303
56304
|
$ret.style = ObjectModelDrawingPartManager.bl(a);
|
|
@@ -56341,7 +56342,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56341
56342
|
})());
|
|
56342
56343
|
$ret.e = a._b7;
|
|
56343
56344
|
$ret.d = a._a0;
|
|
56344
|
-
$ret.c = XlsxUtilities.
|
|
56345
|
+
$ret.c = XlsxUtilities.ah(a);
|
|
56345
56346
|
$ret.b = h.hasValue ? ((() => {
|
|
56346
56347
|
let $ret = new CT_GraphicalObjectFrameNonVisual();
|
|
56347
56348
|
$ret.a = ((() => {
|
|
@@ -56386,7 +56387,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56386
56387
|
})());
|
|
56387
56388
|
$ret.e = a._b7;
|
|
56388
56389
|
$ret.d = a._a0;
|
|
56389
|
-
$ret.c = XlsxUtilities.
|
|
56390
|
+
$ret.c = XlsxUtilities.ah(a);
|
|
56390
56391
|
$ret.b = h.hasValue ? ((() => {
|
|
56391
56392
|
let $ret = new CT_GraphicalObjectFrameNonVisual();
|
|
56392
56393
|
$ret.a = ((() => {
|
|
@@ -56452,7 +56453,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56452
56453
|
$ret.b = new CT_NonVisualGraphicFrameProperties();
|
|
56453
56454
|
return $ret;
|
|
56454
56455
|
})());
|
|
56455
|
-
$ret.c = XlsxUtilities.
|
|
56456
|
+
$ret.c = XlsxUtilities.ah(a);
|
|
56456
56457
|
return $ret;
|
|
56457
56458
|
})());
|
|
56458
56459
|
return ExcelUtils.aa(IGraphicalObjectContent_$type, d, a._b4);
|
|
@@ -56478,7 +56479,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56478
56479
|
})());
|
|
56479
56480
|
$ret.b = ((() => {
|
|
56480
56481
|
let $ret = new CT_GroupShapeProperties();
|
|
56481
|
-
$ret.c = XlsxUtilities.
|
|
56482
|
+
$ret.c = XlsxUtilities.ag(b);
|
|
56482
56483
|
return $ret;
|
|
56483
56484
|
})());
|
|
56484
56485
|
return $ret;
|
|
@@ -56547,7 +56548,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56547
56548
|
})());
|
|
56548
56549
|
return $ret;
|
|
56549
56550
|
})());
|
|
56550
|
-
$ret.d = XlsxUtilities.
|
|
56551
|
+
$ret.d = XlsxUtilities.ah(a);
|
|
56551
56552
|
return $ret;
|
|
56552
56553
|
})());
|
|
56553
56554
|
return $ret;
|
|
@@ -56599,7 +56600,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56599
56600
|
$ret.e = b;
|
|
56600
56601
|
$ret.a = a._k._c(ObjectModelExcelDocumentManager.$, IEG_FillProperties_$type, IEG_ShapeFillVisitor.a, this.bd);
|
|
56601
56602
|
$ret.c = a._n._c(ObjectModelExcelDocumentManager.$, CT_LineProperties.$, CT_ShapeOutlineVisitor.a, this.bd);
|
|
56602
|
-
$ret.d = XlsxUtilities.
|
|
56603
|
+
$ret.d = XlsxUtilities.ah(a);
|
|
56603
56604
|
return $ret;
|
|
56604
56605
|
})());
|
|
56605
56606
|
$ret.style = ObjectModelDrawingPartManager.bl(a);
|
|
@@ -56621,13 +56622,13 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56621
56622
|
if (nullableNotEquals(a._themeColorType$i, null)) {
|
|
56622
56623
|
b = ((() => {
|
|
56623
56624
|
let $ret = new CT_SchemeColor();
|
|
56624
|
-
$ret.c = XlsxUtilities.
|
|
56625
|
+
$ret.c = XlsxUtilities.ai(a._themeColorType$i.value);
|
|
56625
56626
|
return $ret;
|
|
56626
56627
|
})());
|
|
56627
56628
|
}
|
|
56628
56629
|
else if (Color.e(a._color$i, toNullable(Color.$, null))) {
|
|
56629
56630
|
let c = a._color$i.value;
|
|
56630
|
-
let d = XlsxUtilities.
|
|
56631
|
+
let d = XlsxUtilities.bd(c);
|
|
56631
56632
|
if (nullableNotEquals(d, null)) {
|
|
56632
56633
|
b = ((() => {
|
|
56633
56634
|
let $ret = new CT_SysColor();
|
|
@@ -56701,7 +56702,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56701
56702
|
return $ret;
|
|
56702
56703
|
})());
|
|
56703
56704
|
e.a = CT_TextBodyProperties.b(d.text._o);
|
|
56704
|
-
e.a.d = toNullable(ST_TextAnchoringType_$type, XlsxUtilities.
|
|
56705
|
+
e.a.d = toNullable(ST_TextAnchoringType_$type, XlsxUtilities.ak(d.text.verticalAlignment));
|
|
56705
56706
|
if (d.text._s.hasValue && d.text._s.value == 0) {
|
|
56706
56707
|
e.a.e = toNullable(Boolean_$type, true);
|
|
56707
56708
|
}
|
|
@@ -56710,7 +56711,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56710
56711
|
let $ret = new CT_TextParagraph();
|
|
56711
56712
|
$ret.a = ((() => {
|
|
56712
56713
|
let $ret = new CT_TextParagraphProperties();
|
|
56713
|
-
$ret.c = toNullable(ST_TextAlignType_$type, XlsxUtilities.
|
|
56714
|
+
$ret.c = toNullable(ST_TextAlignType_$type, XlsxUtilities.aj(f.alignment));
|
|
56714
56715
|
return $ret;
|
|
56715
56716
|
})());
|
|
56716
56717
|
return $ret;
|
|
@@ -56736,7 +56737,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56736
56737
|
}
|
|
56737
56738
|
let l = k.underlineStyle;
|
|
56738
56739
|
if (l != -1) {
|
|
56739
|
-
j.a.s = toNullable(ST_TextUnderlineType_$type, XlsxUtilities.
|
|
56740
|
+
j.a.s = toNullable(ST_TextUnderlineType_$type, XlsxUtilities.al(l));
|
|
56740
56741
|
}
|
|
56741
56742
|
if (nullableEquals(k._strikeout$i, true)) {
|
|
56742
56743
|
j.a.q = toNullable(ST_TextStrikeType_$type, 1);
|
|
@@ -57017,7 +57018,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
57017
57018
|
this.cf(d);
|
|
57018
57019
|
}
|
|
57019
57020
|
bc(a, b) {
|
|
57020
|
-
DrawingMLSpreadsheetDrawing.fe(this, XlsxUtilities.
|
|
57021
|
+
DrawingMLSpreadsheetDrawing.fe(this, XlsxUtilities.av(b.positioningMode));
|
|
57021
57022
|
this.cc(b);
|
|
57022
57023
|
this.cg(b);
|
|
57023
57024
|
let c = typeCast(WorksheetChart.$, b);
|
|
@@ -57354,7 +57355,7 @@ export let ObjectModelDrawingPartManager_ShapeLoader = /*@__PURE__*/ (() => {
|
|
|
57354
57355
|
$ret.visible = (ObjectModelDrawingPartManager_ShapeLoader.g(a.b) == false);
|
|
57355
57356
|
return $ret;
|
|
57356
57357
|
})());
|
|
57357
|
-
let h = XlsxUtilities.
|
|
57358
|
+
let h = XlsxUtilities.v(c);
|
|
57358
57359
|
g._image = h.b;
|
|
57359
57360
|
g.preferredFormat = h.d;
|
|
57360
57361
|
if (a.spPr != null) {
|
|
@@ -57411,12 +57412,12 @@ export let ObjectModelDrawingPartManager_ShapeLoader = /*@__PURE__*/ (() => {
|
|
|
57411
57412
|
}
|
|
57412
57413
|
if (b.c != null) {
|
|
57413
57414
|
if (b.c.a != null && b.c.b != 0 && b.c.b != 1000) {
|
|
57414
|
-
a.fill = new ShapeFillSolid(XlsxUtilities.
|
|
57415
|
+
a.fill = new ShapeFillSolid(XlsxUtilities.ab(b.c.a, c.a.workbook));
|
|
57415
57416
|
}
|
|
57416
57417
|
}
|
|
57417
57418
|
if (b.d != null) {
|
|
57418
57419
|
if (b.d.a != null) {
|
|
57419
|
-
a.outline = new ShapeOutlineSolid(XlsxUtilities.
|
|
57420
|
+
a.outline = new ShapeOutlineSolid(XlsxUtilities.ab(b.d.a, c.a.workbook));
|
|
57420
57421
|
}
|
|
57421
57422
|
}
|
|
57422
57423
|
}
|
|
@@ -57452,13 +57453,13 @@ export let ObjectModelDrawingPartManager_ShapeLoader = /*@__PURE__*/ (() => {
|
|
|
57452
57453
|
})());
|
|
57453
57454
|
if (a.a != null) {
|
|
57454
57455
|
if (nullableNotEquals(a.a.d, null)) {
|
|
57455
|
-
f.verticalAlignment = XlsxUtilities.
|
|
57456
|
+
f.verticalAlignment = XlsxUtilities.aa(a.a.d.value);
|
|
57456
57457
|
}
|
|
57457
57458
|
}
|
|
57458
57459
|
let g = a.b != null ? a.b.b : null;
|
|
57459
57460
|
let h = g != null ? typeCast(CT_TextCharacterProperties.$, g.a) : null;
|
|
57460
57461
|
if (g != null && g.c.hasValue) {
|
|
57461
|
-
f._s = toNullable(HorizontalTextAlignment_$type, XlsxUtilities.
|
|
57462
|
+
f._s = toNullable(HorizontalTextAlignment_$type, XlsxUtilities.m(g.c.value));
|
|
57462
57463
|
}
|
|
57463
57464
|
let i = null;
|
|
57464
57465
|
if (h != null) {
|
|
@@ -57472,7 +57473,7 @@ export let ObjectModelDrawingPartManager_ShapeLoader = /*@__PURE__*/ (() => {
|
|
|
57472
57473
|
let l = f._paragraphs$i._add1(stringEmpty());
|
|
57473
57474
|
if (k.a != null) {
|
|
57474
57475
|
if (nullableNotEquals(k.a.c, null)) {
|
|
57475
|
-
l.alignment = XlsxUtilities.
|
|
57476
|
+
l.alignment = XlsxUtilities.m(k.a.c.value);
|
|
57476
57477
|
}
|
|
57477
57478
|
}
|
|
57478
57479
|
k.c.q((m) => m._accept$2$i(FormattedTextParagraph.$, FormattedTextRun.$, e, l));
|
|
@@ -57518,7 +57519,7 @@ export let ObjectModelDrawingPartManager_ShapeLoader = /*@__PURE__*/ (() => {
|
|
|
57518
57519
|
if (b == null) {
|
|
57519
57520
|
return null;
|
|
57520
57521
|
}
|
|
57521
|
-
return XlsxUtilities.
|
|
57522
|
+
return XlsxUtilities.ab(c.a, this.b.bd._by);
|
|
57522
57523
|
}
|
|
57523
57524
|
e(a, b, c) {
|
|
57524
57525
|
if (b != null) {
|
|
@@ -57574,7 +57575,7 @@ export let ObjectModelDrawingPartManager_ShapeLoader_RunCreator = /*@__PURE__*/
|
|
|
57574
57575
|
f.height = truncate(Math.ceil((g.r.value / 100) * 20));
|
|
57575
57576
|
}
|
|
57576
57577
|
if (nullableNotEquals(g.d, null)) {
|
|
57577
|
-
f._bold$i = XlsxUtilities.
|
|
57578
|
+
f._bold$i = XlsxUtilities.a8(g.d.value);
|
|
57578
57579
|
}
|
|
57579
57580
|
if (ST_Percentage.h(g.e, toNullable(ST_Percentage.$, null))) {
|
|
57580
57581
|
if (ST_Percentage.l(g.e.value) >= 30) {
|
|
@@ -57588,13 +57589,13 @@ export let ObjectModelDrawingPartManager_ShapeLoader_RunCreator = /*@__PURE__*/
|
|
|
57588
57589
|
}
|
|
57589
57590
|
}
|
|
57590
57591
|
if (g.y != null) {
|
|
57591
|
-
f.colorInfo = XlsxUtilities.
|
|
57592
|
+
f.colorInfo = XlsxUtilities.ac(g.y, this.b);
|
|
57592
57593
|
}
|
|
57593
57594
|
if (nullableNotEquals(g.i, null)) {
|
|
57594
|
-
f._italic$i = XlsxUtilities.
|
|
57595
|
+
f._italic$i = XlsxUtilities.a8(g.i.value);
|
|
57595
57596
|
}
|
|
57596
57597
|
if (nullableNotEquals(g.s, null)) {
|
|
57597
|
-
f.underlineStyle = XlsxUtilities.
|
|
57598
|
+
f.underlineStyle = XlsxUtilities.i(g.s.value);
|
|
57598
57599
|
}
|
|
57599
57600
|
if (nullableNotEquals(g.q, null)) {
|
|
57600
57601
|
f._strikeout$i = toNullable(Boolean_$type, g.q.value == 0 ? false : true);
|
|
@@ -57643,7 +57644,7 @@ export let ObjectModelDrawingPartManager_ShapeLoader_ShapeFillCreator = /*@__PUR
|
|
|
57643
57644
|
if (a.a == null) {
|
|
57644
57645
|
return null;
|
|
57645
57646
|
}
|
|
57646
|
-
return new ShapeFillSolid(XlsxUtilities.
|
|
57647
|
+
return new ShapeFillSolid(XlsxUtilities.ab(a.a, b));
|
|
57647
57648
|
}
|
|
57648
57649
|
}
|
|
57649
57650
|
ObjectModelDrawingPartManager_ShapeLoader_ShapeFillCreator.$t = /*@__PURE__*/ markType(ObjectModelDrawingPartManager_ShapeLoader_ShapeFillCreator, 'ObjectModelDrawingPartManager_ShapeLoader_ShapeFillCreator', Base.$, [/*@__PURE__*/ IEG_FillPropertiesVisitor$2_$type.specialize(Workbook.$, ShapeFill.$)]);
|
|
@@ -57767,9 +57768,9 @@ export let DefRprFontResolver = /*@__PURE__*/ (() => {
|
|
|
57767
57768
|
return null;
|
|
57768
57769
|
}
|
|
57769
57770
|
let c = new WorkbookFontData(0, b);
|
|
57770
|
-
c._bold$i = XlsxUtilities.
|
|
57771
|
-
c._italic$i = XlsxUtilities.
|
|
57772
|
-
c.underlineStyle = a.s.hasValue == false ? -1 : XlsxUtilities.
|
|
57771
|
+
c._bold$i = XlsxUtilities.a9(a.d);
|
|
57772
|
+
c._italic$i = XlsxUtilities.a9(a.i);
|
|
57773
|
+
c.underlineStyle = a.s.hasValue == false ? -1 : XlsxUtilities.i(a.s.value);
|
|
57773
57774
|
if (a.q.hasValue == false) {
|
|
57774
57775
|
c._strikeout$i = toNullable(Boolean_$type, null);
|
|
57775
57776
|
}
|
|
@@ -57778,7 +57779,7 @@ export let DefRprFontResolver = /*@__PURE__*/ (() => {
|
|
|
57778
57779
|
}
|
|
57779
57780
|
c.name = DMLChartUtils.a3(a);
|
|
57780
57781
|
if (a.y != null) {
|
|
57781
|
-
c.colorInfo = XlsxUtilities.
|
|
57782
|
+
c.colorInfo = XlsxUtilities.ac(a.y, b);
|
|
57782
57783
|
}
|
|
57783
57784
|
if (a.r.hasValue) {
|
|
57784
57785
|
c.height = SerializationUtils.o(a.r.value);
|
|
@@ -58505,7 +58506,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58505
58506
|
ac._ao = e;
|
|
58506
58507
|
ac.showFormulaBar = w;
|
|
58507
58508
|
ac.showStatusBar = x;
|
|
58508
|
-
ac.objectDisplayStyle = XlsxUtilities.
|
|
58509
|
+
ac.objectDisplayStyle = XlsxUtilities.n(z);
|
|
58509
58510
|
}
|
|
58510
58511
|
static bk(a) {
|
|
58511
58512
|
let b = a.s.a(Workbook.$);
|
|
@@ -58592,7 +58593,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58592
58593
|
if (j.type == 0) {
|
|
58593
58594
|
j._ek = false;
|
|
58594
58595
|
}
|
|
58595
|
-
j._e.visibility = XlsxUtilities.
|
|
58596
|
+
j._e.visibility = XlsxUtilities.af(e);
|
|
58596
58597
|
let k = PackageUtilities.ak(h).originalString;
|
|
58597
58598
|
ObjectModelWorkbookPartManagerBase.bf(a)._b7._bo(j, k);
|
|
58598
58599
|
}
|
|
@@ -58665,7 +58666,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58665
58666
|
t = v.p18;
|
|
58666
58667
|
u = v.p19;
|
|
58667
58668
|
b.dateSystem = c ? 1 : 0;
|
|
58668
|
-
b.windowOptions.objectDisplayStyle = XlsxUtilities.
|
|
58669
|
+
b.windowOptions.objectDisplayStyle = XlsxUtilities.n(d);
|
|
58669
58670
|
b._g0 = l;
|
|
58670
58671
|
b.saveExternalLinkedValues = j;
|
|
58671
58672
|
b._gk = t;
|
|
@@ -58772,7 +58773,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58772
58773
|
b1(a) {
|
|
58773
58774
|
let b = a.windowOptions;
|
|
58774
58775
|
let c = b._boundsInPixels$i;
|
|
58775
|
-
SpreadsheetMLMain.aam(this, a.name, ST_Guid.a(a._t), b.selectedSheet == null ? 0 : b.selectedSheet._am, truncate(c.width), truncate(c.height), void 0, toNullable(Number_$type, null), void 0, void 0, void 0, a.savePrintOptions, a.saveHiddenRowsAndColumns, b.maximized, void 0, EnumUtil.enumHasFlag(b.scrollBars, 1), EnumUtil.enumHasFlag(b.scrollBars, 2), b.tabBarVisible, truncate(c.x), truncate(c.y), intSToU(b.tabBarWidth), b.showFormulaBar, b.showStatusBar, void 0, XlsxUtilities.
|
|
58776
|
+
SpreadsheetMLMain.aam(this, a.name, ST_Guid.a(a._t), b.selectedSheet == null ? 0 : b.selectedSheet._am, truncate(c.width), truncate(c.height), void 0, toNullable(Number_$type, null), void 0, void 0, void 0, a.savePrintOptions, a.saveHiddenRowsAndColumns, b.maximized, void 0, EnumUtil.enumHasFlag(b.scrollBars, 1), EnumUtil.enumHasFlag(b.scrollBars, 2), b.tabBarVisible, truncate(c.x), truncate(c.y), intSToU(b.tabBarWidth), b.showFormulaBar, b.showStatusBar, void 0, XlsxUtilities.aw(b.objectDisplayStyle));
|
|
58776
58777
|
this.ad.k();
|
|
58777
58778
|
}
|
|
58778
58779
|
a9(a) {
|
|
@@ -58827,7 +58828,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58827
58828
|
}
|
|
58828
58829
|
b5(a) {
|
|
58829
58830
|
let b = this.d._f(a).id;
|
|
58830
|
-
SpreadsheetMLMain.adh(this, a.name, a._am, XlsxUtilities.
|
|
58831
|
+
SpreadsheetMLMain.adh(this, a.name, a._am, XlsxUtilities.a3(a._e.visibility), b);
|
|
58831
58832
|
this.ad.k();
|
|
58832
58833
|
}
|
|
58833
58834
|
bc(a) {
|
|
@@ -58845,7 +58846,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58845
58846
|
SpreadsheetMLMain.abm(this, "xl", "5", "5", "9303");
|
|
58846
58847
|
this.ad.k();
|
|
58847
58848
|
this.b2(b);
|
|
58848
|
-
SpreadsheetMLMain.aem(this, b.dateSystem == 1, XlsxUtilities.
|
|
58849
|
+
SpreadsheetMLMain.aem(this, b.dateSystem == 1, XlsxUtilities.aw(c.objectDisplayStyle), void 0, void 0, void 0, void 0, void 0, b.saveExternalLinkedValues, void 0, b._k != null ? b._g0 : null, void 0, void 0, void 0, void 0, void 0, void 0, void 0, b._gk);
|
|
58849
58850
|
this.ad.k();
|
|
58850
58851
|
this.b6(b);
|
|
58851
58852
|
SpreadsheetMLMain.zc(this);
|
|
@@ -58868,7 +58869,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58868
58869
|
this.ad.k();
|
|
58869
58870
|
}
|
|
58870
58871
|
ObjectModelCommonPartHelpers.aq(this, b._bb);
|
|
58871
|
-
SpreadsheetMLMain.zh(this, toNullable(Number_$type, 162913), XlsxUtilities.
|
|
58872
|
+
SpreadsheetMLMain.zh(this, toNullable(Number_$type, 162913), XlsxUtilities.ao(b.calculationMode), void 0, XlsxUtilities.a2(b.cellReferenceMode), b.iterativeCalculationsEnabled, intSToU(b.maxRecursionIterations), b.maxChangeInIteration, b.precision == 1, void 0, b.recalculateBeforeSave);
|
|
58872
58873
|
this.ad.k();
|
|
58873
58874
|
if (b._cq) {
|
|
58874
58875
|
SpreadsheetMLMain.aan(this);
|
|
@@ -59510,7 +59511,7 @@ export let ObjectModelThemePartManager = /*@__PURE__*/ (() => {
|
|
|
59510
59511
|
let e = DrawingMLMain.m3(a, c, d);
|
|
59511
59512
|
c = e.p1;
|
|
59512
59513
|
d = e.p2;
|
|
59513
|
-
ObjectModelThemePartManager.ba(a)._by._h[b.value] = ExcelUtils.g4(XlsxUtilities.
|
|
59514
|
+
ObjectModelThemePartManager.ba(a)._by._h[b.value] = ExcelUtils.g4(XlsxUtilities.bh(c));
|
|
59514
59515
|
}
|
|
59515
59516
|
static bz(a) {
|
|
59516
59517
|
let b;
|
|
@@ -59932,7 +59933,7 @@ export let ObjectModelVmlDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
59932
59933
|
return;
|
|
59933
59934
|
}
|
|
59934
59935
|
b.aq = w;
|
|
59935
|
-
b.f = XlsxUtilities.
|
|
59936
|
+
b.f = XlsxUtilities.v(ac);
|
|
59936
59937
|
}
|
|
59937
59938
|
static bt(a) {
|
|
59938
59939
|
let b = a.s.a(LegacyShapeData.$);
|