igniteui-webcomponents-excel 4.0.3 → 4.0.4
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 +2889 -2771
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AlternateContentChoice_combined.js +1 -1
- package/esm2015/lib/BiffRecordStream.js +2 -2
- package/esm2015/lib/BorderInfo.js +2 -2
- package/esm2015/lib/ColorInfo.js +3 -3
- package/esm2015/lib/CustomListSortCondition.js +1 -1
- package/esm2015/lib/DefaultStyleHelper_combined.js +2057 -1977
- package/esm2015/lib/DrawingPartManagerHelpers_combined.js +1 -1
- package/esm2015/lib/DxfInfo.js +6 -6
- package/esm2015/lib/EnumConverter.js +1 -1
- package/esm2015/lib/ExtPropColorLoaded.js +1 -1
- package/esm2015/lib/FinancialUtils.js +6 -6
- package/esm2015/lib/GradientStop.js +1 -1
- package/esm2015/lib/ISheetBackground.js +11 -0
- package/esm2015/lib/IconSortCondition.js +6 -6
- package/esm2015/lib/ImageFormat.js +33 -31
- package/esm2015/lib/MultipleCellBlankInfo.js +1 -1
- package/esm2015/lib/MultipleCellRKInfo.js +2 -2
- package/esm2015/lib/ObjectModelDrawingPartManager_ShapeIdentity.js +1 -1
- package/esm2015/lib/OrderedSortCondition.js +2 -2
- package/esm2015/lib/PngPartManager.js +1 -1
- package/esm2015/lib/TiffPartManager.js +1 -1
- package/esm2015/lib/UltraCalcConditionalFunctionBase_CriteriaEvaluator.js +1 -1
- package/esm2015/lib/UltraCalcFunctionAddress.js +1 -1
- package/esm2015/lib/UltraCalcFunctionLookupBase.js +2 -2
- package/esm2015/lib/UltraCalcFunctionXBase2Dec.js +1 -1
- package/esm2015/lib/WeakWorkbookOwner.js +10 -10
- package/esm2015/lib/WmfPartManager.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_FontCollection.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +7 -7
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +166 -162
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +527 -518
- package/esm2015/lib/WorksheetRegion_HorizontalWeakSorter.js +2 -2
- package/esm2015/lib/XFPropBorderLoaded.js +1 -1
- package/esm2015/lib/XFPropColorLoaded.js +1 -1
- package/esm2015/lib/XFPropGradientStopLoaded.js +1 -1
- package/esm2015/lib/XlsxUtilities_ColorTransformsApplicator.js +6 -6
- package/esm2015/lib/XlsxUtilities_combined.js +13 -13
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/AlternateContentChoice_combined.js +1 -1
- package/esm5/lib/BiffRecordStream.js +2 -2
- package/esm5/lib/BorderInfo.js +2 -2
- package/esm5/lib/ColorInfo.js +3 -3
- package/esm5/lib/CustomListSortCondition.js +1 -1
- package/esm5/lib/DefaultStyleHelper_combined.js +2065 -1973
- package/esm5/lib/DrawingPartManagerHelpers_combined.js +1 -1
- package/esm5/lib/DxfInfo.js +6 -6
- package/esm5/lib/EnumConverter.js +1 -1
- package/esm5/lib/ExtPropColorLoaded.js +1 -1
- package/esm5/lib/FinancialUtils.js +6 -6
- package/esm5/lib/GradientStop.js +1 -1
- package/esm5/lib/ISheetBackground.js +11 -0
- package/esm5/lib/IconSortCondition.js +6 -6
- package/esm5/lib/ImageFormat.js +33 -31
- package/esm5/lib/MultipleCellBlankInfo.js +1 -1
- package/esm5/lib/MultipleCellRKInfo.js +2 -2
- package/esm5/lib/ObjectModelDrawingPartManager_ShapeIdentity.js +1 -1
- package/esm5/lib/OrderedSortCondition.js +2 -2
- package/esm5/lib/PngPartManager.js +1 -1
- package/esm5/lib/TiffPartManager.js +1 -1
- package/esm5/lib/UltraCalcConditionalFunctionBase_CriteriaEvaluator.js +1 -1
- package/esm5/lib/UltraCalcFunctionAddress.js +1 -1
- package/esm5/lib/UltraCalcFunctionLookupBase.js +2 -2
- package/esm5/lib/UltraCalcFunctionXBase2Dec.js +1 -1
- package/esm5/lib/WeakWorkbookOwner.js +10 -10
- package/esm5/lib/WmfPartManager.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_FontCollection.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +7 -7
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +166 -162
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +527 -518
- package/esm5/lib/WorksheetRegion_HorizontalWeakSorter.js +2 -2
- package/esm5/lib/XFPropBorderLoaded.js +1 -1
- package/esm5/lib/XFPropColorLoaded.js +1 -1
- package/esm5/lib/XFPropGradientStopLoaded.js +1 -1
- package/esm5/lib/XlsxUtilities_ColorTransformsApplicator.js +6 -6
- package/esm5/lib/XlsxUtilities_combined.js +13 -13
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-excel.js +2881 -2776
- package/fesm5/igniteui-webcomponents-excel.js +2889 -2772
- package/lib/DefaultStyleHelper_combined.d.ts +378 -339
- package/lib/ISheetBackground.d.ts +12 -0
- package/lib/ImageFormat.d.ts +6 -4
- package/package.json +2 -2
- package/public_api.d.ts +1 -0
|
@@ -911,31 +911,31 @@ export let ObjectModelExcelDocumentManager = /*@__PURE__*/ (() => {
|
|
|
911
911
|
if (b == null) {
|
|
912
912
|
b = a.d;
|
|
913
913
|
}
|
|
914
|
-
e = b.
|
|
914
|
+
e = b.o;
|
|
915
915
|
}
|
|
916
916
|
catch (f) {
|
|
917
|
-
throw new InvalidOperationException(2, ExcelUtils.
|
|
917
|
+
throw new InvalidOperationException(2, ExcelUtils.eh("LE_InvalidOperationException_ImageDisposed"), f);
|
|
918
918
|
}
|
|
919
919
|
let g = false;
|
|
920
|
-
let h = g || Guid.l_op_Equality(e, ImageFormat.
|
|
920
|
+
let h = g || Guid.l_op_Equality(e, ImageFormat.h.o);
|
|
921
921
|
if (h) {
|
|
922
922
|
d = PngPartManager.y;
|
|
923
|
-
b = ImageFormat.
|
|
924
|
-
e = b.
|
|
923
|
+
b = ImageFormat.h;
|
|
924
|
+
e = b.o;
|
|
925
925
|
}
|
|
926
|
-
else if (Guid.l_op_Equality(e, ImageFormat.f.
|
|
926
|
+
else if (Guid.l_op_Equality(e, ImageFormat.f.o)) {
|
|
927
927
|
d = JpegPartManager.y;
|
|
928
928
|
}
|
|
929
|
-
else if (Guid.l_op_Equality(e, ImageFormat.e.
|
|
929
|
+
else if (Guid.l_op_Equality(e, ImageFormat.e.o)) {
|
|
930
930
|
d = GifPartManager.y;
|
|
931
931
|
}
|
|
932
|
-
else if (Guid.l_op_Equality(e, ImageFormat.
|
|
932
|
+
else if (Guid.l_op_Equality(e, ImageFormat.i.o)) {
|
|
933
933
|
d = TiffPartManager.y;
|
|
934
934
|
}
|
|
935
|
-
else if (Guid.l_op_Equality(e, ImageFormat.c.
|
|
935
|
+
else if (Guid.l_op_Equality(e, ImageFormat.c.o)) {
|
|
936
936
|
d = EmfPartManager.y;
|
|
937
937
|
}
|
|
938
|
-
else if (Guid.l_op_Equality(e, ImageFormat.
|
|
938
|
+
else if (Guid.l_op_Equality(e, ImageFormat.j.o)) {
|
|
939
939
|
d = WmfPartManager.y;
|
|
940
940
|
}
|
|
941
941
|
else if (g) {
|
|
@@ -948,7 +948,7 @@ export let ObjectModelExcelDocumentManager = /*@__PURE__*/ (() => {
|
|
|
948
948
|
{
|
|
949
949
|
let j = new MemoryStream(0);
|
|
950
950
|
try {
|
|
951
|
-
ExcelUtils.
|
|
951
|
+
ExcelUtils.f8(a, b, j);
|
|
952
952
|
i = new ImageData(0, d.r(d.s), j.toArray());
|
|
953
953
|
}
|
|
954
954
|
finally {
|
|
@@ -961,29 +961,29 @@ export let ObjectModelExcelDocumentManager = /*@__PURE__*/ (() => {
|
|
|
961
961
|
}
|
|
962
962
|
_bz(a, b = null) {
|
|
963
963
|
let c;
|
|
964
|
-
let d = a.d.
|
|
965
|
-
if (Guid.l_op_Equality(d, ImageFormat.
|
|
964
|
+
let d = a.d.o;
|
|
965
|
+
if (Guid.l_op_Equality(d, ImageFormat.r)) {
|
|
966
966
|
c = PngPartManager.y;
|
|
967
967
|
}
|
|
968
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
968
|
+
else if (Guid.l_op_Equality(d, ImageFormat.k)) {
|
|
969
969
|
c = BmpPartManager.y;
|
|
970
970
|
}
|
|
971
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
971
|
+
else if (Guid.l_op_Equality(d, ImageFormat.l)) {
|
|
972
972
|
c = BmpPartManager.z;
|
|
973
973
|
}
|
|
974
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
974
|
+
else if (Guid.l_op_Equality(d, ImageFormat.p)) {
|
|
975
975
|
c = JpegPartManager.y;
|
|
976
976
|
}
|
|
977
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
977
|
+
else if (Guid.l_op_Equality(d, ImageFormat.n)) {
|
|
978
978
|
c = GifPartManager.y;
|
|
979
979
|
}
|
|
980
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
980
|
+
else if (Guid.l_op_Equality(d, ImageFormat.s)) {
|
|
981
981
|
c = TiffPartManager.y;
|
|
982
982
|
}
|
|
983
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
983
|
+
else if (Guid.l_op_Equality(d, ImageFormat.m)) {
|
|
984
984
|
c = EmfPartManager.y;
|
|
985
985
|
}
|
|
986
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
986
|
+
else if (Guid.l_op_Equality(d, ImageFormat.t)) {
|
|
987
987
|
c = WmfPartManager.y;
|
|
988
988
|
}
|
|
989
989
|
else {
|
|
@@ -1170,12 +1170,12 @@ export let FormatInfo = /*@__PURE__*/ (() => {
|
|
|
1170
1170
|
let d = a._b;
|
|
1171
1171
|
let e = d._cd(b ? 1 : 0);
|
|
1172
1172
|
let f = this.i;
|
|
1173
|
-
let g = ExcelUtils.
|
|
1174
|
-
let h = ExcelUtils.
|
|
1175
|
-
let i = ExcelUtils.
|
|
1176
|
-
let j = ExcelUtils.
|
|
1177
|
-
let k = ExcelUtils.
|
|
1178
|
-
let l = ExcelUtils.
|
|
1173
|
+
let g = ExcelUtils.by(f, 2);
|
|
1174
|
+
let h = ExcelUtils.by(f, 8);
|
|
1175
|
+
let i = ExcelUtils.by(f, 16);
|
|
1176
|
+
let j = ExcelUtils.by(f, 4);
|
|
1177
|
+
let k = ExcelUtils.by(f, 1);
|
|
1178
|
+
let l = ExcelUtils.by(f, 32);
|
|
1179
1179
|
if (e._b1 != 1) {
|
|
1180
1180
|
let m = 0;
|
|
1181
1181
|
if (this.p.hasValue && this.p.value < a._bd.count) {
|
|
@@ -1393,7 +1393,7 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
let i = g == 0 ? toNullable(Number_$type, null) : toNullable(Number_$type, g);
|
|
1395
1395
|
if (nullableNotEquals(e, null)) {
|
|
1396
|
-
return new WorkbookColorInfo(toNullable(Color.$, ExcelUtils.
|
|
1396
|
+
return new WorkbookColorInfo(toNullable(Color.$, ExcelUtils.g1(ST_UnsignedIntHex.h(e.value))), toNullable(WorkbookThemeColorType_$type, null), i, true, false);
|
|
1397
1397
|
}
|
|
1398
1398
|
if (nullableNotEquals(f, null)) {
|
|
1399
1399
|
return new WorkbookColorInfo(toNullable(Color.$, null), toNullable(WorkbookThemeColorType_$type, f.value), i, true, false);
|
|
@@ -1854,11 +1854,11 @@ export let ObjectModelCommonPartHelpers = /*@__PURE__*/ (() => {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
else if (b._color$i.hasValue) {
|
|
1856
1856
|
let k = b._color$i.value;
|
|
1857
|
-
if (ExcelUtils.
|
|
1857
|
+
if (ExcelUtils.an(k)) {
|
|
1858
1858
|
g = toNullable(Number_$type, intSToU(b._y(e, c)));
|
|
1859
1859
|
}
|
|
1860
1860
|
else {
|
|
1861
|
-
h = toNullable(ST_UnsignedIntHex.$, new ST_UnsignedIntHex(1, intSToU(ExcelUtils.
|
|
1861
|
+
h = toNullable(ST_UnsignedIntHex.$, new ST_UnsignedIntHex(1, intSToU(ExcelUtils.cz(k))));
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
1864
|
else if (b._themeColorType$i.hasValue) {
|
|
@@ -2336,7 +2336,7 @@ export let ObjectModelTablePartManager = /*@__PURE__*/ (() => {
|
|
|
2336
2336
|
let m;
|
|
2337
2337
|
let n;
|
|
2338
2338
|
let o;
|
|
2339
|
-
let p = ExcelUtils.
|
|
2339
|
+
let p = ExcelUtils.fz(c, k._by.currentFormat, 1, CultureInfo.invariantCulture, null, -1, l, m, n, o);
|
|
2340
2340
|
l = p.p6;
|
|
2341
2341
|
m = p.p7;
|
|
2342
2342
|
n = p.p8;
|
|
@@ -2446,7 +2446,7 @@ export let ObjectModelTablePartManager = /*@__PURE__*/ (() => {
|
|
|
2446
2446
|
let ab;
|
|
2447
2447
|
let ac;
|
|
2448
2448
|
let ad;
|
|
2449
|
-
let ae = ExcelUtils.
|
|
2449
|
+
let ae = ExcelUtils.fz(f, z.currentFormat, 1, CultureInfo.invariantCulture, null, -1, aa, ab, ac, ad);
|
|
2450
2450
|
aa = ae.p6;
|
|
2451
2451
|
ab = ae.p7;
|
|
2452
2452
|
ac = ae.p8;
|
|
@@ -3430,7 +3430,7 @@ export let ObjectModelCommentsPartManager = /*@__PURE__*/ (() => {
|
|
|
3430
3430
|
g = h.p4;
|
|
3431
3431
|
let i;
|
|
3432
3432
|
let j;
|
|
3433
|
-
if (((() => { let k = ExcelUtils.
|
|
3433
|
+
if (((() => { let k = ExcelUtils.bn(d, 2, CultureInfo.invariantCulture, i, j); i = k.p3; j = k.p4; return k.ret; })()) == false) {
|
|
3434
3434
|
}
|
|
3435
3435
|
let k = b._inner[e];
|
|
3436
3436
|
let l = new WorksheetCellComment();
|
|
@@ -4666,8 +4666,9 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4666
4666
|
}
|
|
4667
4667
|
}
|
|
4668
4668
|
let i = new SheetRelationships();
|
|
4669
|
-
let j = b
|
|
4670
|
-
|
|
4669
|
+
let j = b;
|
|
4670
|
+
let k = j.sheetBackground == null ? null : ExcelUtils.z(j.sheetBackground, b._dh);
|
|
4671
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(Async.g(k != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._b0(k, b._dh), (l) => e.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d)), () => Async.g(f, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelDrawingPartManager.bg, b), (l) => i.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(e.j.count != 0, () => c._j(ObjectModelCommentsPartManager.a9, b))), () => Async.g(this.bu.count != 0, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, this.bu), (l) => i.c = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(b._g3 != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, b._g3), (l) => i.b = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.c(0, b._tables$i.count, 1, (l) => c._j(ObjectModelTablePartManager.ba, b._tables$i._item(l)))), () => Async.d(PivotTableInfo.$, b._ey(), (l) => c._j(ObjectModelPivotTablePartManager.ba, l))), () => this.bd(d, i));
|
|
4671
4672
|
}
|
|
4672
4673
|
ai(a) {
|
|
4673
4674
|
switch (a) {
|
|
@@ -4812,10 +4813,10 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4812
4813
|
a.bottomRightCornerCell = this.bl._rows$i.item(q)._cells$i.item(o);
|
|
4813
4814
|
let s = this.bl._fp(k, true);
|
|
4814
4815
|
let t = this.bl._fs(m, true);
|
|
4815
|
-
a._topLeftCornerPosition$i = ExcelUtils.
|
|
4816
|
+
a._topLeftCornerPosition$i = ExcelUtils.hc((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
|
|
4816
4817
|
let u = this.bl._fp(o, true);
|
|
4817
4818
|
let v = this.bl._fs(q, true);
|
|
4818
|
-
a._bottomRightCornerPosition$i = ExcelUtils.
|
|
4819
|
+
a._bottomRightCornerPosition$i = ExcelUtils.hc((u == 0 ? 0 : (100 * p) / u), (v == 0 ? 0 : (100 * r) / v));
|
|
4819
4820
|
let w = ObjectModelWorksheetPartManager.by(b);
|
|
4820
4821
|
if (nullableNotEquals(w, null)) {
|
|
4821
4822
|
a._cn = w.value;
|
|
@@ -4894,7 +4895,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4894
4895
|
let h;
|
|
4895
4896
|
let i = b.bl;
|
|
4896
4897
|
let j = i.workbook;
|
|
4897
|
-
let k = ExcelUtils.
|
|
4898
|
+
let k = ExcelUtils.fz(c, j.currentFormat, 1, CultureInfo.invariantCulture, null, -1, e, f, g, h);
|
|
4898
4899
|
e = k.p6;
|
|
4899
4900
|
f = k.p7;
|
|
4900
4901
|
g = k.p8;
|
|
@@ -4966,7 +4967,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4966
4967
|
let k = ObjectModelWorksheetPartManager.bi(a);
|
|
4967
4968
|
if (c != null) {
|
|
4968
4969
|
let l;
|
|
4969
|
-
if (((() => { let m = ExcelUtils.
|
|
4970
|
+
if (((() => { let m = ExcelUtils.bn(c, 2, CultureInfo.invariantCulture, j.bv, l); j.bv = m.p3; l = m.p4; return m.ret; })()) == false) {
|
|
4970
4971
|
}
|
|
4971
4972
|
else {
|
|
4972
4973
|
b._cells$i._u = j.bv;
|
|
@@ -5679,9 +5680,9 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5679
5680
|
this.s.k(aa);
|
|
5680
5681
|
aa.magnificationInCurrentView = b;
|
|
5681
5682
|
if (c != 64) {
|
|
5682
|
-
aa.
|
|
5683
|
+
aa._a3 = false;
|
|
5683
5684
|
}
|
|
5684
|
-
aa.
|
|
5685
|
+
aa._a9 = c;
|
|
5685
5686
|
aa.showFormulasInCells = e;
|
|
5686
5687
|
aa.showGridlines = f;
|
|
5687
5688
|
aa.showRowAndColumnHeaders = g;
|
|
@@ -5693,7 +5694,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5693
5694
|
if (t != null) {
|
|
5694
5695
|
let ab;
|
|
5695
5696
|
let ac;
|
|
5696
|
-
if (((() => { let ad = ExcelUtils.
|
|
5697
|
+
if (((() => { let ad = ExcelUtils.bn(t, 2, CultureInfo.invariantCulture, ab, ac); ab = ad.p3; ac = ad.p4; return ad.ret; })()) == false) {
|
|
5697
5698
|
return;
|
|
5698
5699
|
}
|
|
5699
5700
|
let ad = aa.unfrozenPaneSettings;
|
|
@@ -5918,7 +5919,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5918
5919
|
if (k != null) {
|
|
5919
5920
|
let w;
|
|
5920
5921
|
let x;
|
|
5921
|
-
if (((() => { let y = ExcelUtils.
|
|
5922
|
+
if (((() => { let y = ExcelUtils.bn(k, 2, CultureInfo.invariantCulture, w, x); w = y.p3; x = y.p4; return y.ret; })())) {
|
|
5922
5923
|
u = r._rows$i.item(x)._cells$i.item(w);
|
|
5923
5924
|
}
|
|
5924
5925
|
else {
|
|
@@ -5927,13 +5928,13 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5927
5928
|
if (l != null) {
|
|
5928
5929
|
let y;
|
|
5929
5930
|
let z;
|
|
5930
|
-
if (((() => { let aa = ExcelUtils.
|
|
5931
|
+
if (((() => { let aa = ExcelUtils.bn(l, 2, CultureInfo.invariantCulture, y, z); y = aa.p3; z = aa.p4; return aa.ret; })())) {
|
|
5931
5932
|
v = r._rows$i.item(z)._cells$i.item(y);
|
|
5932
5933
|
}
|
|
5933
5934
|
else {
|
|
5934
5935
|
}
|
|
5935
5936
|
}
|
|
5936
|
-
let aa = f == null ? null : ExcelUtils.
|
|
5937
|
+
let aa = f == null ? null : ExcelUtils.aj(f, r, CultureInfo.invariantCulture);
|
|
5937
5938
|
let ab = WorkbookLoadManagerExcel2007._bs(p);
|
|
5938
5939
|
p = ab.p0;
|
|
5939
5940
|
let ac;
|
|
@@ -6280,7 +6281,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6280
6281
|
let a;
|
|
6281
6282
|
let b = SpreadsheetMLMain.ws(this, a);
|
|
6282
6283
|
a = b.p1;
|
|
6283
|
-
let c = ExcelUtils.
|
|
6284
|
+
let c = ExcelUtils.aj(a, this.bl, CultureInfo.invariantCulture);
|
|
6284
6285
|
if (c != null) {
|
|
6285
6286
|
this.bl._mergedCellsRegions$i._add1(c.firstRow, c.firstColumn, c.lastRow, c.lastColumn);
|
|
6286
6287
|
}
|
|
@@ -6462,10 +6463,10 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6462
6463
|
let i = -1;
|
|
6463
6464
|
let j = -1;
|
|
6464
6465
|
if (e != null) {
|
|
6465
|
-
if (((() => { let k = ExcelUtils.
|
|
6466
|
+
if (((() => { let k = ExcelUtils.bn(e, 2, CultureInfo.invariantCulture, i, j); i = k.p3; j = k.p4; return k.ret; })()) == false) {
|
|
6466
6467
|
}
|
|
6467
6468
|
}
|
|
6468
|
-
b.
|
|
6469
|
+
b._aa = XlsxUtilities.q(f);
|
|
6469
6470
|
let t1 = g;
|
|
6470
6471
|
L0: while (true) {
|
|
6471
6472
|
switch (t1) {
|
|
@@ -6482,7 +6483,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6482
6483
|
}
|
|
6483
6484
|
break;
|
|
6484
6485
|
case 2:
|
|
6485
|
-
b.frozenPaneSettings.
|
|
6486
|
+
b.frozenPaneSettings._aa = true;
|
|
6486
6487
|
t1 = 1;
|
|
6487
6488
|
continue L0;
|
|
6488
6489
|
case 1:
|
|
@@ -6515,7 +6516,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6515
6516
|
let d = typeCast(ImageData.$, c._au(a));
|
|
6516
6517
|
if (d != null) {
|
|
6517
6518
|
let e = XlsxUtilities.v(d);
|
|
6518
|
-
this.bl.
|
|
6519
|
+
this.bl.sheetBackground = ExcelUtils.ha(e);
|
|
6519
6520
|
this.bl._dh = e.d;
|
|
6520
6521
|
}
|
|
6521
6522
|
else {
|
|
@@ -6623,6 +6624,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6623
6624
|
let p = this.bl._rows$i;
|
|
6624
6625
|
if (nullableNotEquals(a, null)) {
|
|
6625
6626
|
o = p.item((a.value - 1));
|
|
6627
|
+
p._u = o.index;
|
|
6626
6628
|
}
|
|
6627
6629
|
else {
|
|
6628
6630
|
let q = false;
|
|
@@ -6690,8 +6692,8 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6690
6692
|
d = g.p2;
|
|
6691
6693
|
e = g.p3;
|
|
6692
6694
|
f = g.p4;
|
|
6693
|
-
let h = b.
|
|
6694
|
-
let i = b.
|
|
6695
|
+
let h = b._ag;
|
|
6696
|
+
let i = b._ae;
|
|
6695
6697
|
let j = i.workbook;
|
|
6696
6698
|
let k = new WorksheetPaneSelection();
|
|
6697
6699
|
k.a = XlsxUtilities.q(c);
|
|
@@ -6700,7 +6702,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6700
6702
|
let m;
|
|
6701
6703
|
let n;
|
|
6702
6704
|
if (d != null) {
|
|
6703
|
-
let o = ExcelUtils.
|
|
6705
|
+
let o = ExcelUtils.bn(d, j.currentFormat, l, n, m);
|
|
6704
6706
|
n = o.p3;
|
|
6705
6707
|
m = o.p4;
|
|
6706
6708
|
}
|
|
@@ -6713,7 +6715,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6713
6715
|
let q;
|
|
6714
6716
|
if (f != null && f.count != 0) {
|
|
6715
6717
|
for (let r of fromEnum(f)) {
|
|
6716
|
-
let s = ExcelUtils.
|
|
6718
|
+
let s = ExcelUtils.fz(r, j.currentFormat, 1, l, null, -1, m, n, p, q);
|
|
6717
6719
|
m = s.p6;
|
|
6718
6720
|
n = s.p7;
|
|
6719
6721
|
p = s.p8;
|
|
@@ -6938,9 +6940,9 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6938
6940
|
}
|
|
6939
6941
|
this.bl._r = true;
|
|
6940
6942
|
if (o != 64) {
|
|
6941
|
-
u.
|
|
6943
|
+
u._a3 = false;
|
|
6942
6944
|
}
|
|
6943
|
-
u.
|
|
6945
|
+
u._a9 = o;
|
|
6944
6946
|
u.orderColumnsRightToLeft = g;
|
|
6945
6947
|
u.showFormulasInCells = c;
|
|
6946
6948
|
u.showGridlines = d;
|
|
@@ -6953,25 +6955,25 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6953
6955
|
if (n != null) {
|
|
6954
6956
|
let v;
|
|
6955
6957
|
let w;
|
|
6956
|
-
if (((() => { let x = ExcelUtils.
|
|
6958
|
+
if (((() => { let x = ExcelUtils.bn(n, 2, CultureInfo.invariantCulture, v, w); v = x.p3; w = x.p4; return x.ret; })()) == false) {
|
|
6957
6959
|
}
|
|
6958
6960
|
u.unfrozenPaneSettings.firstColumnInLeftPane = v;
|
|
6959
6961
|
u.unfrozenPaneSettings.firstRowInTopPane = w;
|
|
6960
6962
|
}
|
|
6961
6963
|
u.view = XlsxUtilities.ae(m);
|
|
6962
6964
|
let x = q;
|
|
6963
|
-
let y = ExcelUtils.
|
|
6965
|
+
let y = ExcelUtils.fn(x);
|
|
6964
6966
|
x = y.p0;
|
|
6965
6967
|
u.magnificationInNormalView = x;
|
|
6966
6968
|
let z = s;
|
|
6967
|
-
let aa = ExcelUtils.
|
|
6969
|
+
let aa = ExcelUtils.fn(z);
|
|
6968
6970
|
z = aa.p0;
|
|
6969
6971
|
u.magnificationInPageLayoutView = z;
|
|
6970
6972
|
let ab = r;
|
|
6971
|
-
let ac = ExcelUtils.
|
|
6973
|
+
let ac = ExcelUtils.fn(ab);
|
|
6972
6974
|
ab = ac.p0;
|
|
6973
6975
|
u.magnificationInPageBreakView = ab;
|
|
6974
|
-
u.
|
|
6976
|
+
u._b4 = p;
|
|
6975
6977
|
}
|
|
6976
6978
|
static fj(a) {
|
|
6977
6979
|
}
|
|
@@ -7017,7 +7019,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7017
7019
|
let p;
|
|
7018
7020
|
let q;
|
|
7019
7021
|
let r;
|
|
7020
|
-
let s = ExcelUtils.
|
|
7022
|
+
let s = ExcelUtils.fz(f, n._by.currentFormat, 1, CultureInfo.invariantCulture, null, -1, o, p, q, r);
|
|
7021
7023
|
o = s.p6;
|
|
7022
7024
|
p = s.p7;
|
|
7023
7025
|
q = s.p8;
|
|
@@ -7094,7 +7096,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7094
7096
|
let k;
|
|
7095
7097
|
let l;
|
|
7096
7098
|
let m;
|
|
7097
|
-
let n = ExcelUtils.
|
|
7099
|
+
let n = ExcelUtils.fz(c, i.currentFormat, 1, CultureInfo.invariantCulture, null, -1, j, k, l, m);
|
|
7098
7100
|
j = n.p6;
|
|
7099
7101
|
k = n.p7;
|
|
7100
7102
|
l = n.p8;
|
|
@@ -7297,7 +7299,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7297
7299
|
return;
|
|
7298
7300
|
}
|
|
7299
7301
|
SpreadsheetMLMain.zx(this, intSToU(a._verticalPageBreaks$i.count), intSToU(a._verticalPageBreaks$i._k()));
|
|
7300
|
-
ExcelUtils.
|
|
7302
|
+
ExcelUtils.fq(VerticalPageBreak.$, a._verticalPageBreaks$i, runOn(this, this.f3));
|
|
7301
7303
|
this.ad.k();
|
|
7302
7304
|
}
|
|
7303
7305
|
f6(a, b) {
|
|
@@ -7372,8 +7374,8 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7372
7374
|
let c = a.getHiddenRows(this.bl, false);
|
|
7373
7375
|
let d = a.getHiddenColumns(this.bl, false);
|
|
7374
7376
|
let e = CellAddress.u(b.unfrozenPaneSettings.firstRowInTopPane, b.unfrozenPaneSettings.firstColumnInLeftPane);
|
|
7375
|
-
SpreadsheetMLMain.aal(this, ST_Guid.a(a._t), intSToU(b.magnificationInCurrentView), intSToU(b.
|
|
7376
|
-
if (b.
|
|
7377
|
+
SpreadsheetMLMain.aal(this, ST_Guid.a(a._t), intSToU(b.magnificationInCurrentView), intSToU(b._a9), 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);
|
|
7378
|
+
if (b._am() || b._an()) {
|
|
7377
7379
|
this.gt(b);
|
|
7378
7380
|
}
|
|
7379
7381
|
this.gz(b);
|
|
@@ -7399,7 +7401,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7399
7401
|
return;
|
|
7400
7402
|
}
|
|
7401
7403
|
SpreadsheetMLMain.aam(this);
|
|
7402
|
-
ExcelUtils.
|
|
7404
|
+
ExcelUtils.fq(CustomView.$, a._customViews$i, runOn(this, this.ga));
|
|
7403
7405
|
this.ad.k();
|
|
7404
7406
|
}
|
|
7405
7407
|
gc(a, b, c) {
|
|
@@ -7618,7 +7620,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7618
7620
|
return;
|
|
7619
7621
|
}
|
|
7620
7622
|
SpreadsheetMLMain.ab4(this);
|
|
7621
|
-
ExcelUtils.
|
|
7623
|
+
ExcelUtils.fq(WorksheetHyperlink.$, this.bl._hyperlinks$i, runOn(this, this.gj));
|
|
7622
7624
|
this.ad.k();
|
|
7623
7625
|
}
|
|
7624
7626
|
static gl(v, w) {
|
|
@@ -7662,11 +7664,11 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7662
7664
|
return;
|
|
7663
7665
|
}
|
|
7664
7666
|
SpreadsheetMLMain.acf(this, toNullable(Number_$type, intSToU(w)));
|
|
7665
|
-
ExcelUtils.
|
|
7667
|
+
ExcelUtils.fq(WorksheetMergedCellsRegion.$, v, runOn(this, this.gn));
|
|
7666
7668
|
this.ad.k();
|
|
7667
7669
|
}
|
|
7668
7670
|
gp() {
|
|
7669
|
-
SpreadsheetMLMain.acp(this, void 0, this.bl.displayOptions.
|
|
7671
|
+
SpreadsheetMLMain.acp(this, void 0, this.bl.displayOptions._ao, this.bl.displayOptions._ap, this.bl.displayOptions.showOutlineSymbols);
|
|
7670
7672
|
this.ad.k();
|
|
7671
7673
|
}
|
|
7672
7674
|
static gq(v, w) {
|
|
@@ -7704,8 +7706,8 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7704
7706
|
}
|
|
7705
7707
|
gt(v) {
|
|
7706
7708
|
let w = this.bh._by;
|
|
7707
|
-
v.
|
|
7708
|
-
let x = XlsxUtilities.az(v.
|
|
7709
|
+
v._bs();
|
|
7710
|
+
let x = XlsxUtilities.az(v._aa);
|
|
7709
7711
|
if (v.panesAreFrozen) {
|
|
7710
7712
|
let y = v.frozenPaneSettings;
|
|
7711
7713
|
let z = null;
|
|
@@ -7714,7 +7716,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7714
7716
|
if (aa > 0 || ab > 0) {
|
|
7715
7717
|
z = CellAddress.u(ab, aa, w.currentFormat);
|
|
7716
7718
|
}
|
|
7717
|
-
let ac = y.
|
|
7719
|
+
let ac = y._aa ? 2 : 1;
|
|
7718
7720
|
SpreadsheetMLMain.act(this, y.frozenColumns, y.frozenRows, z, x, ac);
|
|
7719
7721
|
}
|
|
7720
7722
|
else {
|
|
@@ -7771,7 +7773,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7771
7773
|
return;
|
|
7772
7774
|
}
|
|
7773
7775
|
SpreadsheetMLMain.ac1(this);
|
|
7774
|
-
ExcelUtils.
|
|
7776
|
+
ExcelUtils.fq(WorksheetProtectedRange.$, this.bl.protection._allowedEditRanges$i, runOn(this, this.gw));
|
|
7775
7777
|
this.ad.k();
|
|
7776
7778
|
}
|
|
7777
7779
|
bx(v, w, x) {
|
|
@@ -7808,15 +7810,15 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7808
7810
|
return;
|
|
7809
7811
|
}
|
|
7810
7812
|
SpreadsheetMLMain.ac7(this, intSToU(v._horizontalPageBreaks$i.count), intSToU(v._horizontalPageBreaks$i._k()));
|
|
7811
|
-
ExcelUtils.
|
|
7813
|
+
ExcelUtils.fq(HorizontalPageBreak.$, v._horizontalPageBreaks$i, runOn(this, this.f3));
|
|
7812
7814
|
this.ad.k();
|
|
7813
7815
|
}
|
|
7814
7816
|
gz(v) {
|
|
7815
|
-
if (v.
|
|
7817
|
+
if (v._aj == false) {
|
|
7816
7818
|
return;
|
|
7817
7819
|
}
|
|
7818
|
-
let w = v.
|
|
7819
|
-
let x = v.
|
|
7820
|
+
let w = v._ag;
|
|
7821
|
+
let x = v._ae.workbook;
|
|
7820
7822
|
let y = x.currentFormat;
|
|
7821
7823
|
for (let z of fromEnum(w.b)) {
|
|
7822
7824
|
let aa = XlsxUtilities.az(z.a);
|
|
@@ -7910,7 +7912,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7910
7912
|
if (y > 0 || z > 0) {
|
|
7911
7913
|
x = CellAddress.u(z, y, v.currentFormat);
|
|
7912
7914
|
}
|
|
7913
|
-
SpreadsheetMLMain.adq(this, 0, void 0, w.showFormulasInCells, w.showGridlines, w.showRowAndColumnHeaders, w.showZeroValues, w.orderColumnsRightToLeft, v.windowOptions.selectedSheet == this.bl || this.bl._w, w.showRulerInPageLayoutView, w.showOutlineSymbols, w.
|
|
7915
|
+
SpreadsheetMLMain.adq(this, 0, void 0, w.showFormulasInCells, w.showGridlines, w.showRowAndColumnHeaders, w.showZeroValues, w.orderColumnsRightToLeft, v.windowOptions.selectedSheet == this.bl || this.bl._w, w.showRulerInPageLayoutView, w.showOutlineSymbols, w._a9 == 64, w.showWhitespaceInPageLayoutView, XlsxUtilities.a4(w.view), x, intSToU(w._a9), intSToU(w._b4), intSToU(w.magnificationInNormalView), intSToU(w.magnificationInPageBreakView), intSToU(w.magnificationInPageLayoutView));
|
|
7914
7916
|
let aa = this.bl.displayOptions.frozenPaneSettings;
|
|
7915
7917
|
let ab = this.bl.displayOptions.unfrozenPaneSettings;
|
|
7916
7918
|
if ((w.panesAreFrozen && (aa._h || aa._i)) || (!w.panesAreFrozen && (ab._h || ab._i))) {
|
|
@@ -7978,7 +7980,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7978
7980
|
return;
|
|
7979
7981
|
}
|
|
7980
7982
|
SpreadsheetMLMain.ad7(this, toNullable(Number_$type, intSToU(this.bl._tables$i.count)));
|
|
7981
|
-
ExcelUtils.
|
|
7983
|
+
ExcelUtils.fq(WorksheetTable.$, this.bl._tables$i, runOn(this, this.g8));
|
|
7982
7984
|
this.ad.k();
|
|
7983
7985
|
}
|
|
7984
7986
|
static bq(af) {
|
|
@@ -8472,7 +8474,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8472
8474
|
try {
|
|
8473
8475
|
let e = ST_UnsignedIntHex.h(c.getValueOrDefault1(ST_UnsignedIntHex.b(0)));
|
|
8474
8476
|
e = u32BitwiseOr(e, 4278190080);
|
|
8475
|
-
b.add(ExcelUtils.
|
|
8477
|
+
b.add(ExcelUtils.g1(e));
|
|
8476
8478
|
}
|
|
8477
8479
|
catch (f) {
|
|
8478
8480
|
return;
|
|
@@ -8617,7 +8619,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8617
8619
|
if (WorksheetTableStyle._q(l) == false) {
|
|
8618
8620
|
continue;
|
|
8619
8621
|
}
|
|
8620
|
-
ExcelUtils.
|
|
8622
|
+
ExcelUtils.fe(i, k, l);
|
|
8621
8623
|
}
|
|
8622
8624
|
}
|
|
8623
8625
|
}
|
|
@@ -8920,7 +8922,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8920
8922
|
SpreadsheetMLMain.ab9(this);
|
|
8921
8923
|
let a = this.a7._by._palette$i;
|
|
8922
8924
|
for (let b = 0; b < 8 + 56; b++) {
|
|
8923
|
-
this.de(ExcelUtils.
|
|
8925
|
+
this.de(ExcelUtils.g5(a._af(b)));
|
|
8924
8926
|
}
|
|
8925
8927
|
this.ad.k();
|
|
8926
8928
|
}
|
|
@@ -8970,7 +8972,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8970
8972
|
a.ad.k();
|
|
8971
8973
|
}
|
|
8972
8974
|
de(a) {
|
|
8973
|
-
let b = intSToU(ExcelUtils.
|
|
8975
|
+
let b = intSToU(ExcelUtils.cz(a));
|
|
8974
8976
|
b = b & 16777215;
|
|
8975
8977
|
SpreadsheetMLMain.ac5(this, toNullable(ST_UnsignedIntHex.$, new ST_UnsignedIntHex(1, b)));
|
|
8976
8978
|
this.ad.k();
|
|
@@ -9020,7 +9022,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
9020
9022
|
dk(a, b) {
|
|
9021
9023
|
let c = a._aa(b);
|
|
9022
9024
|
SpreadsheetMLMain.ad8(this, b.name, void 0, void 0, toNullable(Number_$type, intSToU(c._k)));
|
|
9023
|
-
ExcelUtils.
|
|
9025
|
+
ExcelUtils.fq(KeyValuePair$2.$.specialize(WorksheetTableStyleArea_$type, Number_$type), c, (d) => this.dl(b, d));
|
|
9024
9026
|
this.ad.k();
|
|
9025
9027
|
}
|
|
9026
9028
|
dl(a, b) {
|
|
@@ -9031,7 +9033,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
9031
9033
|
let b = this.a7._by;
|
|
9032
9034
|
let c = b._customTableStyles$i;
|
|
9033
9035
|
SpreadsheetMLMain.aeb(this, toNullable(Number_$type, intSToU(c.count)), b.defaultTableStyle.name, "PivotStyleLight16");
|
|
9034
|
-
ExcelUtils.
|
|
9036
|
+
ExcelUtils.fq(WorksheetTableStyle.$, c, (d) => this.dk(a, d));
|
|
9035
9037
|
this.ad.k();
|
|
9036
9038
|
}
|
|
9037
9039
|
dn(a) {
|
|
@@ -9045,12 +9047,12 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
9045
9047
|
this.ad.k();
|
|
9046
9048
|
}
|
|
9047
9049
|
dr(a, b) {
|
|
9048
|
-
let c = ExcelUtils.
|
|
9049
|
-
let d = ExcelUtils.
|
|
9050
|
-
let e = ExcelUtils.
|
|
9051
|
-
let f = ExcelUtils.
|
|
9052
|
-
let g = ExcelUtils.
|
|
9053
|
-
let h = ExcelUtils.
|
|
9050
|
+
let c = ExcelUtils.by(a.i, 2);
|
|
9051
|
+
let d = ExcelUtils.by(a.i, 8);
|
|
9052
|
+
let e = ExcelUtils.by(a.i, 16);
|
|
9053
|
+
let f = ExcelUtils.by(a.i, 4);
|
|
9054
|
+
let g = ExcelUtils.by(a.i, 1);
|
|
9055
|
+
let h = ExcelUtils.by(a.i, 32);
|
|
9054
9056
|
let i = b;
|
|
9055
9057
|
SpreadsheetMLMain.aes(this, a.v, a.t, a.r, a.o, a.p, a.m, a.k, g == i ? toNullable(Boolean_$type, null) : toNullable(Boolean_$type, g), f == i ? toNullable(Boolean_$type, null) : toNullable(Boolean_$type, f), e == i ? toNullable(Boolean_$type, null) : toNullable(Boolean_$type, e), d == i ? toNullable(Boolean_$type, null) : toNullable(Boolean_$type, d), c == i ? toNullable(Boolean_$type, null) : toNullable(Boolean_$type, c), h == i ? toNullable(Boolean_$type, null) : toNullable(Boolean_$type, h));
|
|
9056
9058
|
this.ca(a.b);
|
|
@@ -9094,7 +9096,7 @@ export let ExcelThemeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
9094
9096
|
export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
9095
9097
|
class WorkbookLoadManagerExcel2007 extends WorkbookLoadManager {
|
|
9096
9098
|
constructor(a, b, c, d, e) {
|
|
9097
|
-
super(a, ExcelUtils.
|
|
9099
|
+
super(a, ExcelUtils.eg(b));
|
|
9098
9100
|
this._an = new WorkbookSerializationDataExcel2007();
|
|
9099
9101
|
this._a8 = null;
|
|
9100
9102
|
this._ax = null;
|
|
@@ -9132,7 +9134,7 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
|
9132
9134
|
static staticInit() {
|
|
9133
9135
|
WorkbookStyleCollection._n = WorkbookLoadManagerExcel2007._bq;
|
|
9134
9136
|
StandardTableStyleCollection._h = WorkbookLoadManagerExcel2007._af;
|
|
9135
|
-
ExcelUtils.
|
|
9137
|
+
ExcelUtils.cq = WorkbookLoadManagerExcel2007._bl;
|
|
9136
9138
|
Workbook._e1 = WorkbookLoadManagerExcel2007._ah;
|
|
9137
9139
|
Workbook._e0 = WorkbookLoadManagerExcel2007._ag;
|
|
9138
9140
|
WorkbookOptionsBase._e = WorkbookOptionsBase._e || (() => new PackageFactory());
|
|
@@ -9522,7 +9524,7 @@ export let WorkbookLoadManagerExcel2007_PresetTableStylesPartManager = /*@__PURE
|
|
|
9522
9524
|
export let WorkbookSaveManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
9523
9525
|
class WorkbookSaveManagerExcel2007 extends WorkbookSaveManager {
|
|
9524
9526
|
constructor(a, b, c, d) {
|
|
9525
|
-
super(a, ExcelUtils.
|
|
9527
|
+
super(a, ExcelUtils.eg(b), c);
|
|
9526
9528
|
this._cd = null;
|
|
9527
9529
|
this._cc = new WorkbookSerializationDataExcel2007();
|
|
9528
9530
|
this._cf = null;
|
|
@@ -9689,7 +9691,7 @@ export let WorkbookSaveManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
|
9689
9691
|
}
|
|
9690
9692
|
}
|
|
9691
9693
|
static _c0(a, b, c) {
|
|
9692
|
-
if (ExcelUtils.
|
|
9694
|
+
if (ExcelUtils.ba(a)) {
|
|
9693
9695
|
b = 2;
|
|
9694
9696
|
c = null;
|
|
9695
9697
|
return {
|
|
@@ -9702,7 +9704,7 @@ export let WorkbookSaveManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
|
9702
9704
|
b = 4;
|
|
9703
9705
|
c = d.c.toString();
|
|
9704
9706
|
}
|
|
9705
|
-
else if (ExcelUtils.
|
|
9707
|
+
else if (ExcelUtils.bc(a)) {
|
|
9706
9708
|
b = 2;
|
|
9707
9709
|
try {
|
|
9708
9710
|
let e = Convert.toDouble3(a);
|
|
@@ -9735,7 +9737,7 @@ export let WorkbookSaveManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
|
9735
9737
|
let b = null;
|
|
9736
9738
|
if (this._ch == null) {
|
|
9737
9739
|
this._ch = new Dictionary$2(DisplayUnit_$type, String_$type, 0);
|
|
9738
|
-
let c = ExcelUtils.
|
|
9740
|
+
let c = ExcelUtils.eh("LD_Chart_AxisDisplayUnits");
|
|
9739
9741
|
let d = stringSplit(c, [","], 1);
|
|
9740
9742
|
for (let f = 0; f < d.length; f++) {
|
|
9741
9743
|
let e = d[f];
|
|
@@ -29044,7 +29046,7 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29044
29046
|
if (h != null) {
|
|
29045
29047
|
e.fill = DMLChartUtils.d(h.n);
|
|
29046
29048
|
if (h.h.hasValue) {
|
|
29047
|
-
e.widthInPoints = ExcelUtils.
|
|
29049
|
+
e.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(h.h.value));
|
|
29048
29050
|
}
|
|
29049
29051
|
}
|
|
29050
29052
|
return e;
|
|
@@ -29091,7 +29093,7 @@ export let DMLChartUtils = /*@__PURE__*/ (() => {
|
|
|
29091
29093
|
return null;
|
|
29092
29094
|
}
|
|
29093
29095
|
static ab(a) {
|
|
29094
|
-
let b = ExcelUtils.
|
|
29096
|
+
let b = ExcelUtils.g2(a.f, a.h, a.g);
|
|
29095
29097
|
return DMLChartUtils.aj(toNullable(Color.$, b), toNullable(WorkbookThemeColorType_$type, null), a.b, void 0, false);
|
|
29096
29098
|
}
|
|
29097
29099
|
static ac(a) {
|
|
@@ -30175,7 +30177,7 @@ export let DMLChartExtensions = /*@__PURE__*/ (() => {
|
|
|
30175
30177
|
}
|
|
30176
30178
|
static a8(a, b) {
|
|
30177
30179
|
if (b.h.hasValue) {
|
|
30178
|
-
a.widthInPoints = ExcelUtils.
|
|
30180
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
30179
30181
|
}
|
|
30180
30182
|
a.fill = DMLChartUtils.d(b.n);
|
|
30181
30183
|
}
|
|
@@ -30184,7 +30186,7 @@ export let DMLChartExtensions = /*@__PURE__*/ (() => {
|
|
|
30184
30186
|
return;
|
|
30185
30187
|
}
|
|
30186
30188
|
if (b.h.hasValue) {
|
|
30187
|
-
a.widthInPoints = ExcelUtils.
|
|
30189
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
30188
30190
|
}
|
|
30189
30191
|
a.fill = DMLChartUtils.d(b.n);
|
|
30190
30192
|
}
|
|
@@ -30389,7 +30391,7 @@ export let DMLChartExtensions = /*@__PURE__*/ (() => {
|
|
|
30389
30391
|
return;
|
|
30390
30392
|
}
|
|
30391
30393
|
if (b.h.hasValue) {
|
|
30392
|
-
a.widthInPoints = ExcelUtils.
|
|
30394
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
30393
30395
|
}
|
|
30394
30396
|
a.fill = DMLChartUtils.d(b.n);
|
|
30395
30397
|
}
|
|
@@ -30401,7 +30403,7 @@ export let DMLChartExtensions = /*@__PURE__*/ (() => {
|
|
|
30401
30403
|
}
|
|
30402
30404
|
static a4(a, b, c) {
|
|
30403
30405
|
if (b.h.hasValue) {
|
|
30404
|
-
a.widthInPoints = ExcelUtils.
|
|
30406
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
30405
30407
|
}
|
|
30406
30408
|
a.fill = DMLChartUtils.d(b.n);
|
|
30407
30409
|
if (b.l.b != null && b.l.b.a.hasValue) {
|
|
@@ -47444,7 +47446,7 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
|
|
|
47444
47446
|
g.o.a = ((() => {
|
|
47445
47447
|
let $ret = new CT_LineProperties_DML();
|
|
47446
47448
|
$ret.h = toNullable(ST_LineWidth.$, null);
|
|
47447
|
-
$ret.q = toNullable(Number_$type, ExcelUtils.
|
|
47449
|
+
$ret.q = toNullable(Number_$type, ExcelUtils.dj(0.75));
|
|
47448
47450
|
return $ret;
|
|
47449
47451
|
})());
|
|
47450
47452
|
if (c.tickLabels != null) {
|
|
@@ -47774,8 +47776,8 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
|
|
|
47774
47776
|
})());
|
|
47775
47777
|
}
|
|
47776
47778
|
static a0(a, b, c, d, e, f) {
|
|
47777
|
-
c = truncate(ExcelUtils.
|
|
47778
|
-
d = truncate(ExcelUtils.
|
|
47779
|
+
c = truncate(ExcelUtils.cn(c));
|
|
47780
|
+
d = truncate(ExcelUtils.cn(d));
|
|
47779
47781
|
let g = ((() => {
|
|
47780
47782
|
let $ret = new CT_View3D();
|
|
47781
47783
|
$ret.c = ((() => {
|
|
@@ -48216,10 +48218,10 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
|
|
|
48216
48218
|
let f = a.item(1, 1);
|
|
48217
48219
|
let g = a.item(2, 1);
|
|
48218
48220
|
if (c && f == null) {
|
|
48219
|
-
throw new BaseError(1, ExcelUtils.
|
|
48221
|
+
throw new BaseError(1, ExcelUtils.ei("LE_Serialization_NoPrimaryCategoryAxis", enumGetBox(ChartType_$type, b)));
|
|
48220
48222
|
}
|
|
48221
48223
|
if (d && g == null) {
|
|
48222
|
-
throw new BaseError(1, ExcelUtils.
|
|
48224
|
+
throw new BaseError(1, ExcelUtils.ei("LE_Serialization_NoPrimaryValueAxis", enumGetBox(ChartType_$type, b)));
|
|
48223
48225
|
}
|
|
48224
48226
|
}
|
|
48225
48227
|
static bf(a) {
|
|
@@ -48383,7 +48385,7 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
|
|
|
48383
48385
|
})());
|
|
48384
48386
|
}
|
|
48385
48387
|
if (a.chartType == -4169 && b.markerStyle == -4142) {
|
|
48386
|
-
let r = b.line != null ? ExcelUtils.
|
|
48388
|
+
let r = b.line != null ? ExcelUtils.dj(b.line.widthInPoints) : ExcelUtils.dj(2.25);
|
|
48387
48389
|
i.d = new CT_ShapeProperties_DML();
|
|
48388
48390
|
i.d.l.g();
|
|
48389
48391
|
i.d.a = ((() => {
|
|
@@ -48604,7 +48606,7 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
|
|
|
48604
48606
|
if (d.fill != null) {
|
|
48605
48607
|
ChartSerializerExtensions.a3(EG_LineFillProperties.$, e.o.a.n, d.fill, c);
|
|
48606
48608
|
}
|
|
48607
|
-
e.o.a.q = toNullable(Number_$type, ExcelUtils.
|
|
48609
|
+
e.o.a.q = toNullable(Number_$type, ExcelUtils.dj(d.widthInPoints));
|
|
48608
48610
|
e.a = CT_Boolean.b(d.endStyle == 2);
|
|
48609
48611
|
return e;
|
|
48610
48612
|
}
|
|
@@ -49079,7 +49081,7 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
|
|
|
49079
49081
|
}
|
|
49080
49082
|
static a4(a, b, c) {
|
|
49081
49083
|
let d = b != null ? b.widthInPoints : 0.75;
|
|
49082
|
-
let e = ExcelUtils.
|
|
49084
|
+
let e = ExcelUtils.dj(d);
|
|
49083
49085
|
let f = ((() => {
|
|
49084
49086
|
let $ret = new CT_LineProperties_DML();
|
|
49085
49087
|
$ret.h = toNullable(ST_LineWidth.$, null);
|
|
@@ -50080,24 +50082,24 @@ export let ChartExSerializer = /*@__PURE__*/ (() => {
|
|
|
50080
50082
|
switch (b) {
|
|
50081
50083
|
case 116:
|
|
50082
50084
|
if (e.length < 2) {
|
|
50083
|
-
f = ExcelUtils.
|
|
50085
|
+
f = ExcelUtils.eh("LE_WorksheetChart_Save_Series_Pareto");
|
|
50084
50086
|
}
|
|
50085
50087
|
else {
|
|
50086
50088
|
let g = e[0] == 51 || e[1] == 51;
|
|
50087
50089
|
let h = e[0] == 116 || e[1] == 116;
|
|
50088
50090
|
if (g == false || h == false) {
|
|
50089
|
-
f = ExcelUtils.
|
|
50091
|
+
f = ExcelUtils.eh("LE_WorksheetChart_Save_Series_Pareto");
|
|
50090
50092
|
}
|
|
50091
50093
|
}
|
|
50092
50094
|
break;
|
|
50093
50095
|
case 117:
|
|
50094
50096
|
if (e.length < 1 || e[0] != 51) {
|
|
50095
|
-
f = ExcelUtils.
|
|
50097
|
+
f = ExcelUtils.ei("LE_WorksheetChart_Save_Series", enumGetBox(ChartType_$type, b));
|
|
50096
50098
|
}
|
|
50097
50099
|
break;
|
|
50098
50100
|
default:
|
|
50099
50101
|
if (e.length < 1 || e[0] != b) {
|
|
50100
|
-
f = ExcelUtils.
|
|
50102
|
+
f = ExcelUtils.ei("LE_WorksheetChart_Save_Series", enumGetBox(ChartType_$type, b));
|
|
50101
50103
|
}
|
|
50102
50104
|
break;
|
|
50103
50105
|
}
|
|
@@ -50587,9 +50589,9 @@ export let ChartSerializerExtensions = /*@__PURE__*/ (() => {
|
|
|
50587
50589
|
})());
|
|
50588
50590
|
}
|
|
50589
50591
|
static a4(a, b) {
|
|
50590
|
-
let c = ExcelUtils.
|
|
50591
|
-
let d = ExcelUtils.
|
|
50592
|
-
let e = ExcelUtils.
|
|
50592
|
+
let c = ExcelUtils.dw(b._applyPicToEnd$i);
|
|
50593
|
+
let d = ExcelUtils.dw(b._applyPicToFront$i);
|
|
50594
|
+
let e = ExcelUtils.dw(b._applyPicToSides$i);
|
|
50593
50595
|
if (c.hasValue) {
|
|
50594
50596
|
a.a = CT_Boolean.b(c.value);
|
|
50595
50597
|
}
|
|
@@ -51890,7 +51892,7 @@ export let WorksheetChartExtensions = /*@__PURE__*/ (() => {
|
|
|
51890
51892
|
DMLChartExtensions.a4(i, g, d);
|
|
51891
51893
|
a.border = i;
|
|
51892
51894
|
}
|
|
51893
|
-
a._invertIfNegative$i = ExcelUtils.
|
|
51895
|
+
a._invertIfNegative$i = ExcelUtils.dx(CT_Boolean.g(c.c));
|
|
51894
51896
|
if (c.e != null) {
|
|
51895
51897
|
let j = Math.min(400, c.e.g);
|
|
51896
51898
|
a._explosion$i = toNullable(Number_$type, j);
|
|
@@ -51907,7 +51909,7 @@ export let WorksheetChartExtensions = /*@__PURE__*/ (() => {
|
|
|
51907
51909
|
a.fill = DMLChartUtils.d(f.n);
|
|
51908
51910
|
}
|
|
51909
51911
|
if (f != null && f.h.hasValue) {
|
|
51910
|
-
a.widthInPoints = ExcelUtils.
|
|
51912
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(f.h.value));
|
|
51911
51913
|
}
|
|
51912
51914
|
}
|
|
51913
51915
|
static w(a, b, c, d) {
|
|
@@ -52836,7 +52838,7 @@ export let WorksheetChartExtensions = /*@__PURE__*/ (() => {
|
|
|
52836
52838
|
}
|
|
52837
52839
|
if (n.af.hasValue) {
|
|
52838
52840
|
let o = ST_Angle.j(n.af.value);
|
|
52839
|
-
a.rotation = ExcelUtils.
|
|
52841
|
+
a.rotation = ExcelUtils.cn(o);
|
|
52840
52842
|
}
|
|
52841
52843
|
if (n.av.hasValue) {
|
|
52842
52844
|
a.wrapText = n.av.value == 1;
|
|
@@ -53105,7 +53107,7 @@ export let WorksheetChartExtensions = /*@__PURE__*/ (() => {
|
|
|
53105
53107
|
}
|
|
53106
53108
|
else {
|
|
53107
53109
|
let ak = ST_Angle.j(ag.af.value);
|
|
53108
|
-
a.tickLabels.rotation = ExcelUtils.
|
|
53110
|
+
a.tickLabels.rotation = ExcelUtils.cn(ak);
|
|
53109
53111
|
}
|
|
53110
53112
|
}
|
|
53111
53113
|
if (g.f != null) {
|
|
@@ -53419,13 +53421,13 @@ export let WorksheetChartExtensions = /*@__PURE__*/ (() => {
|
|
|
53419
53421
|
let p = a != null ? a.k : null;
|
|
53420
53422
|
if (p != null) {
|
|
53421
53423
|
if (p.a != null) {
|
|
53422
|
-
g._applyPicToEnd$i = ExcelUtils.
|
|
53424
|
+
g._applyPicToEnd$i = ExcelUtils.dx(p.a.k);
|
|
53423
53425
|
}
|
|
53424
53426
|
if (p.c != null) {
|
|
53425
|
-
g._applyPicToFront$i = ExcelUtils.
|
|
53427
|
+
g._applyPicToFront$i = ExcelUtils.dx(p.c.k);
|
|
53426
53428
|
}
|
|
53427
53429
|
if (p.e != null) {
|
|
53428
|
-
g._applyPicToSides$i = ExcelUtils.
|
|
53430
|
+
g._applyPicToSides$i = ExcelUtils.dx(p.e.k);
|
|
53429
53431
|
}
|
|
53430
53432
|
}
|
|
53431
53433
|
return g;
|
|
@@ -53573,7 +53575,7 @@ export let WorksheetChartExtensions = /*@__PURE__*/ (() => {
|
|
|
53573
53575
|
}
|
|
53574
53576
|
else {
|
|
53575
53577
|
let e = ST_Angle.j(d);
|
|
53576
|
-
b = ExcelUtils.
|
|
53578
|
+
b = ExcelUtils.cn(e);
|
|
53577
53579
|
if (a.ar.hasValue) {
|
|
53578
53580
|
c = DMLChartExtensions.q(a.ar.value);
|
|
53579
53581
|
}
|
|
@@ -53937,7 +53939,7 @@ export let ConditionalFormattingSerializer = /*@__PURE__*/ (() => {
|
|
|
53937
53939
|
SpreadsheetMLMain.zq(b, SpreadsheetMLMain.eg, toNullable(ST_CfType_$type, 4), f, a.priority, a.stopIfTrue);
|
|
53938
53940
|
let g = c._cv(a.formula);
|
|
53939
53941
|
ConditionalFormattingSerializer.ae(b, d, g);
|
|
53940
|
-
let h = ExcelUtils.
|
|
53942
|
+
let h = ExcelUtils.ak(a.iconSet);
|
|
53941
53943
|
SpreadsheetMLMain.ab7(b, SpreadsheetMLMain.jt, toNullable(ST_IconSetType_$type, h), toNullable(Boolean_$type, a._cm), toNullable(Boolean_$type, a.isReverseOrder), toNullable(Boolean_$type, a.showValue), toNullable(Boolean_$type, false));
|
|
53942
53944
|
let i = a.worksheet;
|
|
53943
53945
|
for (let j = 0; j < a._iconCriteria$i.count; j++) {
|
|
@@ -54229,7 +54231,7 @@ export let X14Serializer = /*@__PURE__*/ (() => {
|
|
|
54229
54231
|
if (j != null) {
|
|
54230
54232
|
ConditionalFormattingSerializer.ab(a, b, c, j);
|
|
54231
54233
|
}
|
|
54232
|
-
let l = ExcelUtils.
|
|
54234
|
+
let l = ExcelUtils.ak(d.iconSet);
|
|
54233
54235
|
let m = d.isCustom;
|
|
54234
54236
|
let n = toNullable(Boolean_$type, null);
|
|
54235
54237
|
let o = toNullable(Boolean_$type, null);
|
|
@@ -54250,7 +54252,7 @@ export let X14Serializer = /*@__PURE__*/ (() => {
|
|
|
54250
54252
|
let z = d._iconCriteria$i.item(y);
|
|
54251
54253
|
let aa = z.iconSet;
|
|
54252
54254
|
let ab = z.icon == -1 ? 0 : intSToU(((() => { let ac = IconSetConditionalFormat._cp(z.icon, aa); aa = ac.p1; return ac.ret; })()));
|
|
54253
|
-
let ac = z.icon == -1 ? 20 : ExcelUtils.
|
|
54255
|
+
let ac = z.icon == -1 ? 20 : ExcelUtils.ak(aa);
|
|
54254
54256
|
SpreadsheetML2009Main.da(a, ac, ab);
|
|
54255
54257
|
c.k();
|
|
54256
54258
|
}
|
|
@@ -55276,8 +55278,9 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55276
55278
|
}
|
|
55277
55279
|
}
|
|
55278
55280
|
let i = new SheetRelationships();
|
|
55279
|
-
let j = b
|
|
55280
|
-
|
|
55281
|
+
let j = b;
|
|
55282
|
+
let k = j.sheetBackground == null ? null : ExcelUtils.z(j.sheetBackground, b._a7);
|
|
55283
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(Async.g(k != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._b0(k, b._a7), (l) => e.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d)), () => Async.g(f, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelDrawingPartManager.bg, b), (l) => i.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(this.be.count != 0, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, this.be), (l) => i.c = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(b._bb != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, b._bb), (l) => i.b = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => this.a7(d, i));
|
|
55281
55284
|
}
|
|
55282
55285
|
ai(a) {
|
|
55283
55286
|
switch (a) {
|
|
@@ -55376,7 +55379,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55376
55379
|
let d = typeCast(ImageData.$, c._au(a));
|
|
55377
55380
|
if (d != null) {
|
|
55378
55381
|
let e = XlsxUtilities.v(d);
|
|
55379
|
-
this.a8.
|
|
55382
|
+
this.a8.sheetBackground = ExcelUtils.ha(e);
|
|
55380
55383
|
this.a8._a7 = e.d;
|
|
55381
55384
|
}
|
|
55382
55385
|
else {
|
|
@@ -55414,7 +55417,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55414
55417
|
this.a8._r = true;
|
|
55415
55418
|
this.a8._w = b;
|
|
55416
55419
|
let g = c;
|
|
55417
|
-
let h = ExcelUtils.
|
|
55420
|
+
let h = ExcelUtils.fn(g);
|
|
55418
55421
|
g = h.p0;
|
|
55419
55422
|
f.magnification = g;
|
|
55420
55423
|
f.sizeWithWindow = d;
|
|
@@ -55528,7 +55531,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55528
55531
|
return;
|
|
55529
55532
|
}
|
|
55530
55533
|
SpreadsheetMLMain.aam(this);
|
|
55531
|
-
ExcelUtils.
|
|
55534
|
+
ExcelUtils.fq(CustomView.$, a._customViews$i, runOn(this, this.b0));
|
|
55532
55535
|
this.ad.k();
|
|
55533
55536
|
}
|
|
55534
55537
|
b3() {
|
|
@@ -56456,7 +56459,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56456
56459
|
$ret.c = XlsxUtilities.ah(a);
|
|
56457
56460
|
return $ret;
|
|
56458
56461
|
})());
|
|
56459
|
-
return ExcelUtils.
|
|
56462
|
+
return ExcelUtils.ac(IGraphicalObjectContent_$type, d, a._b4);
|
|
56460
56463
|
}
|
|
56461
56464
|
a8(a, b) {
|
|
56462
56465
|
let c = this.bq.item(b);
|
|
@@ -56495,6 +56498,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56495
56498
|
return null;
|
|
56496
56499
|
}
|
|
56497
56500
|
let c = this.bq.item(a);
|
|
56501
|
+
let d = a.image;
|
|
56498
56502
|
return ((() => {
|
|
56499
56503
|
let $ret = new CT_Picture();
|
|
56500
56504
|
$ret.d = a._b7;
|
|
@@ -56524,7 +56528,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56524
56528
|
let $ret = new CT_BlipFillProperties();
|
|
56525
56529
|
$ret.d = ((() => {
|
|
56526
56530
|
let $ret = new CT_Blip();
|
|
56527
|
-
$ret.d = b.item(
|
|
56531
|
+
$ret.d = b.item(d);
|
|
56528
56532
|
return $ret;
|
|
56529
56533
|
})());
|
|
56530
56534
|
$ret.e = ((() => {
|
|
@@ -56655,7 +56659,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56655
56659
|
else {
|
|
56656
56660
|
b = ((() => {
|
|
56657
56661
|
let $ret = new CT_SRgbColor();
|
|
56658
|
-
$ret.c = ST_HexColorRGB.b(ExcelUtils.
|
|
56662
|
+
$ret.c = ST_HexColorRGB.b(ExcelUtils.g5(a._aj(null, false, true)));
|
|
56659
56663
|
return $ret;
|
|
56660
56664
|
})());
|
|
56661
56665
|
}
|
|
@@ -56730,10 +56734,10 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56730
56734
|
j.a.r = toNullable(Number_$type, SerializationUtils.p(k.height));
|
|
56731
56735
|
}
|
|
56732
56736
|
if (nullableEquals(k._bold$i, true)) {
|
|
56733
|
-
j.a.d = ExcelUtils.
|
|
56737
|
+
j.a.d = ExcelUtils.dw(k._bold$i);
|
|
56734
56738
|
}
|
|
56735
56739
|
if (nullableEquals(k._italic$i, true)) {
|
|
56736
|
-
j.a.i = ExcelUtils.
|
|
56740
|
+
j.a.i = ExcelUtils.dw(k._italic$i);
|
|
56737
56741
|
}
|
|
56738
56742
|
let l = k.underlineStyle;
|
|
56739
56743
|
if (l != -1) {
|
|
@@ -56824,7 +56828,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56824
56828
|
a9(a, b) {
|
|
56825
56829
|
return WorkItemExtensions.k(IGraphicalObjectContent_$type, IGraphicalObjectContent_$type, this.ba(a, b), (c) => {
|
|
56826
56830
|
let d = WorkItemExtensions.m(IGraphicalObjectContent_$type, c);
|
|
56827
|
-
d = ExcelUtils.
|
|
56831
|
+
d = ExcelUtils.ac(IGraphicalObjectContent_$type, d, b._b3);
|
|
56828
56832
|
let e = this.bp(b);
|
|
56829
56833
|
if (e != null) {
|
|
56830
56834
|
return ((() => {
|
|
@@ -56865,8 +56869,8 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56865
56869
|
let g = e._gh(a.rowIndex, false, true);
|
|
56866
56870
|
let h = b.x / 100;
|
|
56867
56871
|
let i = b.y / 100;
|
|
56868
|
-
c = ExcelUtils.
|
|
56869
|
-
d = ExcelUtils.
|
|
56872
|
+
c = ExcelUtils.dp(MathUtilities.f(h * f));
|
|
56873
|
+
d = ExcelUtils.dp(MathUtilities.f(i * g));
|
|
56870
56874
|
return {
|
|
56871
56875
|
p2: c,
|
|
56872
56876
|
p3: d
|
|
@@ -56970,7 +56974,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56970
56974
|
}
|
|
56971
56975
|
cc(a) {
|
|
56972
56976
|
let b = a._getBoundsInTwips();
|
|
56973
|
-
DrawingMLSpreadsheetDrawing.e7(this, new ST_PositiveCoordinate(1, ExcelUtils.
|
|
56977
|
+
DrawingMLSpreadsheetDrawing.e7(this, new ST_PositiveCoordinate(1, ExcelUtils.dp(b.width)), new ST_PositiveCoordinate(1, ExcelUtils.dp(b.height)));
|
|
56974
56978
|
this.ad.k();
|
|
56975
56979
|
}
|
|
56976
56980
|
cd(a) {
|
|
@@ -56990,7 +56994,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56990
56994
|
}
|
|
56991
56995
|
ce(a) {
|
|
56992
56996
|
let b = a._getBoundsInTwips();
|
|
56993
|
-
DrawingMLSpreadsheetDrawing.fa(this, new ST_Coordinate(1, ST_CoordinateUnqualified.a(ExcelUtils.
|
|
56997
|
+
DrawingMLSpreadsheetDrawing.fa(this, new ST_Coordinate(1, ST_CoordinateUnqualified.a(ExcelUtils.dp(b.x))), new ST_Coordinate(1, ST_CoordinateUnqualified.a(ExcelUtils.dp(b.y))));
|
|
56994
56998
|
this.ad.k();
|
|
56995
56999
|
}
|
|
56996
57000
|
cf(a) {
|
|
@@ -57121,13 +57125,13 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
57121
57125
|
a.k();
|
|
57122
57126
|
a.k();
|
|
57123
57127
|
};
|
|
57124
|
-
let c = ExcelUtils.
|
|
57128
|
+
let c = ExcelUtils.eh("LD_Fallback_ChartEx_Line1");
|
|
57125
57129
|
b(c);
|
|
57126
57130
|
a.o(DrawingMLMain.b1);
|
|
57127
57131
|
a.k();
|
|
57128
57132
|
a.o(DrawingMLMain.b1);
|
|
57129
57133
|
a.k();
|
|
57130
|
-
let d = ExcelUtils.
|
|
57134
|
+
let d = ExcelUtils.eh("LD_Fallback_ChartEx_Line2");
|
|
57131
57135
|
b(d);
|
|
57132
57136
|
a.k();
|
|
57133
57137
|
a.k();
|
|
@@ -57356,7 +57360,7 @@ export let ObjectModelDrawingPartManager_ShapeLoader = /*@__PURE__*/ (() => {
|
|
|
57356
57360
|
return $ret;
|
|
57357
57361
|
})());
|
|
57358
57362
|
let h = XlsxUtilities.v(c);
|
|
57359
|
-
g.
|
|
57363
|
+
g.image = h.b;
|
|
57360
57364
|
g.preferredFormat = h.d;
|
|
57361
57365
|
if (a.spPr != null) {
|
|
57362
57366
|
if (a.spPr.a != null) {
|
|
@@ -58021,7 +58025,7 @@ export let ObjectModelExternalLinkPartManager = /*@__PURE__*/ (() => {
|
|
|
58021
58025
|
e = f.p3;
|
|
58022
58026
|
let g = a;
|
|
58023
58027
|
let h;
|
|
58024
|
-
if (((() => { let i = ExcelUtils.
|
|
58028
|
+
if (((() => { let i = ExcelUtils.bn(c, 2, CultureInfo.invariantCulture, g.ba, h); g.ba = i.p3; h = i.p4; return i.ret; })()) == false) {
|
|
58025
58029
|
}
|
|
58026
58030
|
a.s.k(enumGetBox(ST_CellType_$type, d));
|
|
58027
58031
|
}
|
|
@@ -58064,8 +58068,8 @@ export let ObjectModelExternalLinkPartManager = /*@__PURE__*/ (() => {
|
|
|
58064
58068
|
if (e == null) {
|
|
58065
58069
|
return;
|
|
58066
58070
|
}
|
|
58067
|
-
let f = ExcelUtils.
|
|
58068
|
-
f = ExcelUtils.
|
|
58071
|
+
let f = ExcelUtils.e1(e).toString();
|
|
58072
|
+
f = ExcelUtils.em(f);
|
|
58069
58073
|
let g = d._by._bf(f);
|
|
58070
58074
|
d._b7._i.add(g);
|
|
58071
58075
|
let h = typeCast(ExternalWorkbookReference.$, g);
|
|
@@ -58125,7 +58129,7 @@ export let ObjectModelExternalLinkPartManager = /*@__PURE__*/ (() => {
|
|
|
58125
58129
|
if (f == null) {
|
|
58126
58130
|
return;
|
|
58127
58131
|
}
|
|
58128
|
-
let g = e._by._bd(c, ExcelUtils.
|
|
58132
|
+
let g = e._by._bd(c, ExcelUtils.e1(f));
|
|
58129
58133
|
e._b7._i.add(g);
|
|
58130
58134
|
a.an = g;
|
|
58131
58135
|
a.s.k(g);
|
|
@@ -58184,7 +58188,7 @@ export let ObjectModelExternalLinkPartManager = /*@__PURE__*/ (() => {
|
|
|
58184
58188
|
let c = b._b9;
|
|
58185
58189
|
let d = c._b;
|
|
58186
58190
|
let e = a.x;
|
|
58187
|
-
let f = ExcelUtils.
|
|
58191
|
+
let f = ExcelUtils.eb(e);
|
|
58188
58192
|
let g = stringStartsWith(f, "file://");
|
|
58189
58193
|
let h;
|
|
58190
58194
|
if (g) {
|
|
@@ -58192,11 +58196,11 @@ export let ObjectModelExternalLinkPartManager = /*@__PURE__*/ (() => {
|
|
|
58192
58196
|
}
|
|
58193
58197
|
else if (c._l != null) {
|
|
58194
58198
|
if (IOPath.isPathRooted(e) == false || IOPath.getPathRoot(e) == IOPath.getPathRoot(c._l)) {
|
|
58195
|
-
let i = PackageUtilities.q(c._l, a.x, ExcelUtils.
|
|
58199
|
+
let i = PackageUtilities.q(c._l, a.x, ExcelUtils.b3, true);
|
|
58196
58200
|
if (stringStartsWith(i, "//")) {
|
|
58197
58201
|
i = i.substr(1);
|
|
58198
58202
|
}
|
|
58199
|
-
h = UriUtilities.b(ExcelUtils.
|
|
58203
|
+
h = UriUtilities.b(ExcelUtils.eb(i));
|
|
58200
58204
|
}
|
|
58201
58205
|
else if (stringStartsWith(f, "/")) {
|
|
58202
58206
|
h = UriUtilities.b(f);
|
|
@@ -58501,7 +58505,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58501
58505
|
ac.scrollBars |= 2;
|
|
58502
58506
|
}
|
|
58503
58507
|
ac.tabBarVisible = s;
|
|
58504
|
-
ac._boundsInPixels$i = ExcelUtils.
|
|
58508
|
+
ac._boundsInPixels$i = ExcelUtils.hf(t, u, f, g);
|
|
58505
58509
|
ac.tabBarWidth = v;
|
|
58506
58510
|
ac._ao = e;
|
|
58507
58511
|
ac.showFormulaBar = w;
|
|
@@ -58765,7 +58769,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58765
58769
|
c.scrollBars |= 2;
|
|
58766
58770
|
}
|
|
58767
58771
|
c.tabBarVisible = h;
|
|
58768
|
-
c._boundsInTwips$i = ExcelUtils.
|
|
58772
|
+
c._boundsInTwips$i = ExcelUtils.hf(i.getValueOrDefault(), j.getValueOrDefault(), k.getValueOrDefault(), l.getValueOrDefault());
|
|
58769
58773
|
c.tabBarWidth = m;
|
|
58770
58774
|
c.firstVisibleTabIndex = n;
|
|
58771
58775
|
c._as = o;
|
|
@@ -58823,7 +58827,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58823
58827
|
return;
|
|
58824
58828
|
}
|
|
58825
58829
|
SpreadsheetMLMain.acx(this);
|
|
58826
|
-
ExcelUtils.
|
|
58830
|
+
ExcelUtils.fq(PivotCacheInfo.$, a._d8(), runOn(this, this.b4));
|
|
58827
58831
|
this.ad.k();
|
|
58828
58832
|
}
|
|
58829
58833
|
b6(a) {
|
|
@@ -58856,7 +58860,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58856
58860
|
this.ad.k();
|
|
58857
58861
|
this.ad.k();
|
|
58858
58862
|
SpreadsheetMLMain.adp(this);
|
|
58859
|
-
ExcelUtils.
|
|
58863
|
+
ExcelUtils.fq(Sheet.$, a._a1, runOn(this, this.b6));
|
|
58860
58864
|
this.ad.k();
|
|
58861
58865
|
let g = ObjectModelExternalLinkPartManager.a9.o(a._cb._z);
|
|
58862
58866
|
let h = new List$1(IPackageRelationship_$type, 1, Enumerable.u(IPackageRelationship_$type, a._cb._d.getRelationships(), (i) => i.relationshipType == g));
|
|
@@ -58873,7 +58877,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58873
58877
|
this.ad.k();
|
|
58874
58878
|
if (b._cq) {
|
|
58875
58879
|
SpreadsheetMLMain.aao(this);
|
|
58876
|
-
ExcelUtils.
|
|
58880
|
+
ExcelUtils.fq(CustomView.$, b._customViews$i, runOn(this, this.b2));
|
|
58877
58881
|
this.ad.k();
|
|
58878
58882
|
}
|
|
58879
58883
|
this.b5(b);
|
|
@@ -59496,7 +59500,7 @@ export let ObjectModelThemePartManager = /*@__PURE__*/ (() => {
|
|
|
59496
59500
|
let c = new ST_HexColorRGB();
|
|
59497
59501
|
let d = DrawingMLMain.m2(a, c);
|
|
59498
59502
|
c = d.p1;
|
|
59499
|
-
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.
|
|
59503
|
+
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g6(c.r);
|
|
59500
59504
|
}
|
|
59501
59505
|
static bz(a) {
|
|
59502
59506
|
if (FormatSchemeDeserializer.f(a)) {
|
|
@@ -59511,7 +59515,7 @@ export let ObjectModelThemePartManager = /*@__PURE__*/ (() => {
|
|
|
59511
59515
|
let e = DrawingMLMain.m4(a, c, d);
|
|
59512
59516
|
c = e.p1;
|
|
59513
59517
|
d = e.p2;
|
|
59514
|
-
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.
|
|
59518
|
+
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g6(XlsxUtilities.bh(c));
|
|
59515
59519
|
}
|
|
59516
59520
|
static b0(a) {
|
|
59517
59521
|
let b;
|
|
@@ -60834,7 +60838,7 @@ export let ObjectModelVmlDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
60834
60838
|
let c = null;
|
|
60835
60839
|
let d = typeCast(ShapeFillSolid.$, b.h._k);
|
|
60836
60840
|
if (d != null) {
|
|
60837
|
-
c = ExcelUtils.
|
|
60841
|
+
c = ExcelUtils.d4(ExcelUtils.g5(d.colorInfo._aj(a._b, false)));
|
|
60838
60842
|
}
|
|
60839
60843
|
let e = toNullable(Boolean_$type, null);
|
|
60840
60844
|
if (typeCast(ShapeFillNoFill.$, b.h._k) !== null) {
|