igniteui-webcomponents-excel 4.0.2 → 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
|
@@ -935,31 +935,31 @@ var ObjectModelExcelDocumentManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
935
935
|
if (b == null) {
|
|
936
936
|
b = a.d;
|
|
937
937
|
}
|
|
938
|
-
e = b.
|
|
938
|
+
e = b.o;
|
|
939
939
|
}
|
|
940
940
|
catch (f) {
|
|
941
|
-
throw new InvalidOperationException(2, ExcelUtils.
|
|
941
|
+
throw new InvalidOperationException(2, ExcelUtils.eh("LE_InvalidOperationException_ImageDisposed"), f);
|
|
942
942
|
}
|
|
943
943
|
var g = false;
|
|
944
|
-
var h = g || Guid.l_op_Equality(e, ImageFormat.
|
|
944
|
+
var h = g || Guid.l_op_Equality(e, ImageFormat.h.o);
|
|
945
945
|
if (h) {
|
|
946
946
|
d = PngPartManager.y;
|
|
947
|
-
b = ImageFormat.
|
|
948
|
-
e = b.
|
|
947
|
+
b = ImageFormat.h;
|
|
948
|
+
e = b.o;
|
|
949
949
|
}
|
|
950
|
-
else if (Guid.l_op_Equality(e, ImageFormat.f.
|
|
950
|
+
else if (Guid.l_op_Equality(e, ImageFormat.f.o)) {
|
|
951
951
|
d = JpegPartManager.y;
|
|
952
952
|
}
|
|
953
|
-
else if (Guid.l_op_Equality(e, ImageFormat.e.
|
|
953
|
+
else if (Guid.l_op_Equality(e, ImageFormat.e.o)) {
|
|
954
954
|
d = GifPartManager.y;
|
|
955
955
|
}
|
|
956
|
-
else if (Guid.l_op_Equality(e, ImageFormat.
|
|
956
|
+
else if (Guid.l_op_Equality(e, ImageFormat.i.o)) {
|
|
957
957
|
d = TiffPartManager.y;
|
|
958
958
|
}
|
|
959
|
-
else if (Guid.l_op_Equality(e, ImageFormat.c.
|
|
959
|
+
else if (Guid.l_op_Equality(e, ImageFormat.c.o)) {
|
|
960
960
|
d = EmfPartManager.y;
|
|
961
961
|
}
|
|
962
|
-
else if (Guid.l_op_Equality(e, ImageFormat.
|
|
962
|
+
else if (Guid.l_op_Equality(e, ImageFormat.j.o)) {
|
|
963
963
|
d = WmfPartManager.y;
|
|
964
964
|
}
|
|
965
965
|
else if (g) {
|
|
@@ -972,7 +972,7 @@ var ObjectModelExcelDocumentManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
972
972
|
{
|
|
973
973
|
var j = new MemoryStream(0);
|
|
974
974
|
try {
|
|
975
|
-
ExcelUtils.
|
|
975
|
+
ExcelUtils.f8(a, b, j);
|
|
976
976
|
i = new ImageData(0, d.r(d.s), j.toArray());
|
|
977
977
|
}
|
|
978
978
|
finally {
|
|
@@ -988,29 +988,29 @@ var ObjectModelExcelDocumentManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
988
988
|
b = null;
|
|
989
989
|
}
|
|
990
990
|
var c;
|
|
991
|
-
var d = a.d.
|
|
992
|
-
if (Guid.l_op_Equality(d, ImageFormat.
|
|
991
|
+
var d = a.d.o;
|
|
992
|
+
if (Guid.l_op_Equality(d, ImageFormat.r)) {
|
|
993
993
|
c = PngPartManager.y;
|
|
994
994
|
}
|
|
995
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
995
|
+
else if (Guid.l_op_Equality(d, ImageFormat.k)) {
|
|
996
996
|
c = BmpPartManager.y;
|
|
997
997
|
}
|
|
998
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
998
|
+
else if (Guid.l_op_Equality(d, ImageFormat.l)) {
|
|
999
999
|
c = BmpPartManager.z;
|
|
1000
1000
|
}
|
|
1001
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
1001
|
+
else if (Guid.l_op_Equality(d, ImageFormat.p)) {
|
|
1002
1002
|
c = JpegPartManager.y;
|
|
1003
1003
|
}
|
|
1004
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
1004
|
+
else if (Guid.l_op_Equality(d, ImageFormat.n)) {
|
|
1005
1005
|
c = GifPartManager.y;
|
|
1006
1006
|
}
|
|
1007
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
1007
|
+
else if (Guid.l_op_Equality(d, ImageFormat.s)) {
|
|
1008
1008
|
c = TiffPartManager.y;
|
|
1009
1009
|
}
|
|
1010
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
1010
|
+
else if (Guid.l_op_Equality(d, ImageFormat.m)) {
|
|
1011
1011
|
c = EmfPartManager.y;
|
|
1012
1012
|
}
|
|
1013
|
-
else if (Guid.l_op_Equality(d, ImageFormat.
|
|
1013
|
+
else if (Guid.l_op_Equality(d, ImageFormat.t)) {
|
|
1014
1014
|
c = WmfPartManager.y;
|
|
1015
1015
|
}
|
|
1016
1016
|
else {
|
|
@@ -1258,12 +1258,12 @@ var FormatInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1258
1258
|
var d = a._b;
|
|
1259
1259
|
var e = d._cd(b ? 1 : 0);
|
|
1260
1260
|
var f = this.i;
|
|
1261
|
-
var g = ExcelUtils.
|
|
1262
|
-
var h = ExcelUtils.
|
|
1263
|
-
var i = ExcelUtils.
|
|
1264
|
-
var j = ExcelUtils.
|
|
1265
|
-
var k = ExcelUtils.
|
|
1266
|
-
var l = ExcelUtils.
|
|
1261
|
+
var g = ExcelUtils.by(f, 2);
|
|
1262
|
+
var h = ExcelUtils.by(f, 8);
|
|
1263
|
+
var i = ExcelUtils.by(f, 16);
|
|
1264
|
+
var j = ExcelUtils.by(f, 4);
|
|
1265
|
+
var k = ExcelUtils.by(f, 1);
|
|
1266
|
+
var l = ExcelUtils.by(f, 32);
|
|
1267
1267
|
if (e._b1 != 1) {
|
|
1268
1268
|
var m_1 = 0;
|
|
1269
1269
|
if (this.p.hasValue && this.p.value < a._bd.count) {
|
|
@@ -1484,7 +1484,7 @@ var ObjectModelCommonPartHelpers = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
1484
1484
|
}
|
|
1485
1485
|
var i = g == 0 ? toNullable(Number_$type, null) : toNullable(Number_$type, g);
|
|
1486
1486
|
if (nullableNotEquals(e, null)) {
|
|
1487
|
-
return new WorkbookColorInfo(toNullable(Color.$, ExcelUtils.
|
|
1487
|
+
return new WorkbookColorInfo(toNullable(Color.$, ExcelUtils.g1(ST_UnsignedIntHex.h(e.value))), toNullable(WorkbookThemeColorType_$type, null), i, true, false);
|
|
1488
1488
|
}
|
|
1489
1489
|
if (nullableNotEquals(f, null)) {
|
|
1490
1490
|
return new WorkbookColorInfo(toNullable(Color.$, null), toNullable(WorkbookThemeColorType_$type, f.value), i, true, false);
|
|
@@ -1955,11 +1955,11 @@ var ObjectModelCommonPartHelpers = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
1955
1955
|
}
|
|
1956
1956
|
else if (b._color$i.hasValue) {
|
|
1957
1957
|
var k = b._color$i.value;
|
|
1958
|
-
if (ExcelUtils.
|
|
1958
|
+
if (ExcelUtils.an(k)) {
|
|
1959
1959
|
g = toNullable(Number_$type, intSToU(b._y(e, c)));
|
|
1960
1960
|
}
|
|
1961
1961
|
else {
|
|
1962
|
-
h = toNullable(ST_UnsignedIntHex.$, new ST_UnsignedIntHex(1, intSToU(ExcelUtils.
|
|
1962
|
+
h = toNullable(ST_UnsignedIntHex.$, new ST_UnsignedIntHex(1, intSToU(ExcelUtils.cz(k))));
|
|
1963
1963
|
}
|
|
1964
1964
|
}
|
|
1965
1965
|
else if (b._themeColorType$i.hasValue) {
|
|
@@ -2460,7 +2460,7 @@ var ObjectModelTablePartManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
2460
2460
|
var m;
|
|
2461
2461
|
var n;
|
|
2462
2462
|
var o;
|
|
2463
|
-
var p = ExcelUtils.
|
|
2463
|
+
var p = ExcelUtils.fz(c, k._by.currentFormat, 1, CultureInfo.invariantCulture, null, -1, l, m, n, o);
|
|
2464
2464
|
l = p.p6;
|
|
2465
2465
|
m = p.p7;
|
|
2466
2466
|
n = p.p8;
|
|
@@ -2570,7 +2570,7 @@ var ObjectModelTablePartManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
2570
2570
|
var ab;
|
|
2571
2571
|
var ac;
|
|
2572
2572
|
var ad;
|
|
2573
|
-
var ae = ExcelUtils.
|
|
2573
|
+
var ae = ExcelUtils.fz(f, z.currentFormat, 1, CultureInfo.invariantCulture, null, -1, aa, ab, ac, ad);
|
|
2574
2574
|
aa = ae.p6;
|
|
2575
2575
|
ab = ae.p7;
|
|
2576
2576
|
ac = ae.p8;
|
|
@@ -3812,7 +3812,7 @@ var ObjectModelCommentsPartManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
3812
3812
|
g = h.p4;
|
|
3813
3813
|
var i;
|
|
3814
3814
|
var j;
|
|
3815
|
-
if (((function () { var k = ExcelUtils.
|
|
3815
|
+
if (((function () { var k = ExcelUtils.bn(d, 2, CultureInfo.invariantCulture, i, j); i = k.p3; j = k.p4; return k.ret; })()) == false) {
|
|
3816
3816
|
}
|
|
3817
3817
|
var k = b._inner[e];
|
|
3818
3818
|
var l = new WorksheetCellComment();
|
|
@@ -5141,8 +5141,9 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5141
5141
|
}
|
|
5142
5142
|
}
|
|
5143
5143
|
var i = new SheetRelationships();
|
|
5144
|
-
var j = b
|
|
5145
|
-
|
|
5144
|
+
var j = b;
|
|
5145
|
+
var k = j.sheetBackground == null ? null : ExcelUtils.z(j.sheetBackground, b._dh);
|
|
5146
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(Async.g(k != null, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._b0(k, b._dh), function (l) { return e.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }), function () { return Async.g(f, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelDrawingPartManager.bg, b), function (l) { return i.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }); }), function () { return Async.g(e.j.count != 0, function () { return c._j(ObjectModelCommentsPartManager.a9, b); }); }), function () { return Async.g(_this.bu.count != 0, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, _this.bu), function (l) { return i.c = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }); }), function () { return Async.g(b._g3 != null, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, b._g3), function (l) { return i.b = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }); }), function () { return Async.c(0, b._tables$i.count, 1, function (l) { return c._j(ObjectModelTablePartManager.ba, b._tables$i._item(l)); }); }), function () { return Async.d(PivotTableInfo.$, b._ey(), function (l) { return c._j(ObjectModelPivotTablePartManager.ba, l); }); }), function () { return _this.bd(d, i); });
|
|
5146
5147
|
};
|
|
5147
5148
|
ObjectModelWorksheetPartManager.prototype.ai = function (a) {
|
|
5148
5149
|
switch (a) {
|
|
@@ -5304,10 +5305,10 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5304
5305
|
a.bottomRightCornerCell = this.bl._rows$i.item(q)._cells$i.item(o);
|
|
5305
5306
|
var s = this.bl._fp(k, true);
|
|
5306
5307
|
var t = this.bl._fs(m, true);
|
|
5307
|
-
a._topLeftCornerPosition$i = ExcelUtils.
|
|
5308
|
+
a._topLeftCornerPosition$i = ExcelUtils.hc((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
|
|
5308
5309
|
var u = this.bl._fp(o, true);
|
|
5309
5310
|
var v = this.bl._fs(q, true);
|
|
5310
|
-
a._bottomRightCornerPosition$i = ExcelUtils.
|
|
5311
|
+
a._bottomRightCornerPosition$i = ExcelUtils.hc((u == 0 ? 0 : (100 * p) / u), (v == 0 ? 0 : (100 * r) / v));
|
|
5311
5312
|
var w = ObjectModelWorksheetPartManager.by(b);
|
|
5312
5313
|
if (nullableNotEquals(w, null)) {
|
|
5313
5314
|
a._cn = w.value;
|
|
@@ -5386,7 +5387,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5386
5387
|
var h = void 0;
|
|
5387
5388
|
var i = b.bl;
|
|
5388
5389
|
var j = i.workbook;
|
|
5389
|
-
var k = ExcelUtils.
|
|
5390
|
+
var k = ExcelUtils.fz(c, j.currentFormat, 1, CultureInfo.invariantCulture, null, -1, e, f, g, h);
|
|
5390
5391
|
e = k.p6;
|
|
5391
5392
|
f = k.p7;
|
|
5392
5393
|
g = k.p8;
|
|
@@ -5458,7 +5459,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5458
5459
|
var k = ObjectModelWorksheetPartManager.bi(a);
|
|
5459
5460
|
if (c != null) {
|
|
5460
5461
|
var l_1;
|
|
5461
|
-
if (((function () { var m = ExcelUtils.
|
|
5462
|
+
if (((function () { var m = ExcelUtils.bn(c, 2, CultureInfo.invariantCulture, j.bv, l_1); j.bv = m.p3; l_1 = m.p4; return m.ret; })()) == false) {
|
|
5462
5463
|
}
|
|
5463
5464
|
else {
|
|
5464
5465
|
b._cells$i._u = j.bv;
|
|
@@ -6191,9 +6192,9 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6191
6192
|
this.s.k(aa);
|
|
6192
6193
|
aa.magnificationInCurrentView = b;
|
|
6193
6194
|
if (c != 64) {
|
|
6194
|
-
aa.
|
|
6195
|
+
aa._a3 = false;
|
|
6195
6196
|
}
|
|
6196
|
-
aa.
|
|
6197
|
+
aa._a9 = c;
|
|
6197
6198
|
aa.showFormulasInCells = e;
|
|
6198
6199
|
aa.showGridlines = f;
|
|
6199
6200
|
aa.showRowAndColumnHeaders = g;
|
|
@@ -6205,7 +6206,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6205
6206
|
if (t != null) {
|
|
6206
6207
|
var ab_1;
|
|
6207
6208
|
var ac_1;
|
|
6208
|
-
if (((function () { var ad = ExcelUtils.
|
|
6209
|
+
if (((function () { var ad = ExcelUtils.bn(t, 2, CultureInfo.invariantCulture, ab_1, ac_1); ab_1 = ad.p3; ac_1 = ad.p4; return ad.ret; })()) == false) {
|
|
6209
6210
|
return;
|
|
6210
6211
|
}
|
|
6211
6212
|
var ad = aa.unfrozenPaneSettings;
|
|
@@ -6447,7 +6448,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6447
6448
|
if (k != null) {
|
|
6448
6449
|
var w_1;
|
|
6449
6450
|
var x_1;
|
|
6450
|
-
if (((function () { var y = ExcelUtils.
|
|
6451
|
+
if (((function () { var y = ExcelUtils.bn(k, 2, CultureInfo.invariantCulture, w_1, x_1); w_1 = y.p3; x_1 = y.p4; return y.ret; })())) {
|
|
6451
6452
|
u = r._rows$i.item(x_1)._cells$i.item(w_1);
|
|
6452
6453
|
}
|
|
6453
6454
|
else {
|
|
@@ -6456,13 +6457,13 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6456
6457
|
if (l != null) {
|
|
6457
6458
|
var y_1;
|
|
6458
6459
|
var z_1;
|
|
6459
|
-
if (((function () { var aa = ExcelUtils.
|
|
6460
|
+
if (((function () { var aa = ExcelUtils.bn(l, 2, CultureInfo.invariantCulture, y_1, z_1); y_1 = aa.p3; z_1 = aa.p4; return aa.ret; })())) {
|
|
6460
6461
|
v = r._rows$i.item(z_1)._cells$i.item(y_1);
|
|
6461
6462
|
}
|
|
6462
6463
|
else {
|
|
6463
6464
|
}
|
|
6464
6465
|
}
|
|
6465
|
-
var aa = f == null ? null : ExcelUtils.
|
|
6466
|
+
var aa = f == null ? null : ExcelUtils.aj(f, r, CultureInfo.invariantCulture);
|
|
6466
6467
|
var ab = WorkbookLoadManagerExcel2007._bs(p);
|
|
6467
6468
|
p = ab.p0;
|
|
6468
6469
|
var ac;
|
|
@@ -6863,7 +6864,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6863
6864
|
var a;
|
|
6864
6865
|
var b = SpreadsheetMLMain.ws(this, a);
|
|
6865
6866
|
a = b.p1;
|
|
6866
|
-
var c = ExcelUtils.
|
|
6867
|
+
var c = ExcelUtils.aj(a, this.bl, CultureInfo.invariantCulture);
|
|
6867
6868
|
if (c != null) {
|
|
6868
6869
|
this.bl._mergedCellsRegions$i._add1(c.firstRow, c.firstColumn, c.lastRow, c.lastColumn);
|
|
6869
6870
|
}
|
|
@@ -7045,10 +7046,10 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7045
7046
|
var i = -1;
|
|
7046
7047
|
var j = -1;
|
|
7047
7048
|
if (e != null) {
|
|
7048
|
-
if (((function () { var k = ExcelUtils.
|
|
7049
|
+
if (((function () { var k = ExcelUtils.bn(e, 2, CultureInfo.invariantCulture, i, j); i = k.p3; j = k.p4; return k.ret; })()) == false) {
|
|
7049
7050
|
}
|
|
7050
7051
|
}
|
|
7051
|
-
b.
|
|
7052
|
+
b._aa = XlsxUtilities.q(f);
|
|
7052
7053
|
var t1 = g;
|
|
7053
7054
|
L0: while (true) {
|
|
7054
7055
|
switch (t1) {
|
|
@@ -7065,7 +7066,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7065
7066
|
}
|
|
7066
7067
|
break;
|
|
7067
7068
|
case 2:
|
|
7068
|
-
b.frozenPaneSettings.
|
|
7069
|
+
b.frozenPaneSettings._aa = true;
|
|
7069
7070
|
t1 = 1;
|
|
7070
7071
|
continue L0;
|
|
7071
7072
|
case 1:
|
|
@@ -7098,7 +7099,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7098
7099
|
var d = typeCast(ImageData.$, c._au(a));
|
|
7099
7100
|
if (d != null) {
|
|
7100
7101
|
var e = XlsxUtilities.v(d);
|
|
7101
|
-
this.bl.
|
|
7102
|
+
this.bl.sheetBackground = ExcelUtils.ha(e);
|
|
7102
7103
|
this.bl._dh = e.d;
|
|
7103
7104
|
}
|
|
7104
7105
|
else {
|
|
@@ -7223,6 +7224,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7223
7224
|
var p = this.bl._rows$i;
|
|
7224
7225
|
if (nullableNotEquals(a, null)) {
|
|
7225
7226
|
o = p.item((a.value - 1));
|
|
7227
|
+
p._u = o.index;
|
|
7226
7228
|
}
|
|
7227
7229
|
else {
|
|
7228
7230
|
var q = false;
|
|
@@ -7291,8 +7293,8 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7291
7293
|
d = g.p2;
|
|
7292
7294
|
e = g.p3;
|
|
7293
7295
|
f = g.p4;
|
|
7294
|
-
var h = b.
|
|
7295
|
-
var i = b.
|
|
7296
|
+
var h = b._ag;
|
|
7297
|
+
var i = b._ae;
|
|
7296
7298
|
var j = i.workbook;
|
|
7297
7299
|
var k = new WorksheetPaneSelection();
|
|
7298
7300
|
k.a = XlsxUtilities.q(c);
|
|
@@ -7301,7 +7303,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7301
7303
|
var m;
|
|
7302
7304
|
var n;
|
|
7303
7305
|
if (d != null) {
|
|
7304
|
-
var o = ExcelUtils.
|
|
7306
|
+
var o = ExcelUtils.bn(d, j.currentFormat, l, n, m);
|
|
7305
7307
|
n = o.p3;
|
|
7306
7308
|
m = o.p4;
|
|
7307
7309
|
}
|
|
@@ -7316,7 +7318,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7316
7318
|
try {
|
|
7317
7319
|
for (var _1 = tslib_1.__values(fromEnum(f)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
7318
7320
|
var r = _2.value;
|
|
7319
|
-
var s = ExcelUtils.
|
|
7321
|
+
var s = ExcelUtils.fz(r, j.currentFormat, 1, l, null, -1, m, n, p, q);
|
|
7320
7322
|
m = s.p6;
|
|
7321
7323
|
n = s.p7;
|
|
7322
7324
|
p = s.p8;
|
|
@@ -7572,9 +7574,9 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7572
7574
|
}
|
|
7573
7575
|
this.bl._r = true;
|
|
7574
7576
|
if (o != 64) {
|
|
7575
|
-
u.
|
|
7577
|
+
u._a3 = false;
|
|
7576
7578
|
}
|
|
7577
|
-
u.
|
|
7579
|
+
u._a9 = o;
|
|
7578
7580
|
u.orderColumnsRightToLeft = g;
|
|
7579
7581
|
u.showFormulasInCells = c;
|
|
7580
7582
|
u.showGridlines = d;
|
|
@@ -7587,25 +7589,25 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7587
7589
|
if (n != null) {
|
|
7588
7590
|
var v_1;
|
|
7589
7591
|
var w_2;
|
|
7590
|
-
if (((function () { var x = ExcelUtils.
|
|
7592
|
+
if (((function () { var x = ExcelUtils.bn(n, 2, CultureInfo.invariantCulture, v_1, w_2); v_1 = x.p3; w_2 = x.p4; return x.ret; })()) == false) {
|
|
7591
7593
|
}
|
|
7592
7594
|
u.unfrozenPaneSettings.firstColumnInLeftPane = v_1;
|
|
7593
7595
|
u.unfrozenPaneSettings.firstRowInTopPane = w_2;
|
|
7594
7596
|
}
|
|
7595
7597
|
u.view = XlsxUtilities.ae(m);
|
|
7596
7598
|
var x = q;
|
|
7597
|
-
var y = ExcelUtils.
|
|
7599
|
+
var y = ExcelUtils.fn(x);
|
|
7598
7600
|
x = y.p0;
|
|
7599
7601
|
u.magnificationInNormalView = x;
|
|
7600
7602
|
var z = s;
|
|
7601
|
-
var aa = ExcelUtils.
|
|
7603
|
+
var aa = ExcelUtils.fn(z);
|
|
7602
7604
|
z = aa.p0;
|
|
7603
7605
|
u.magnificationInPageLayoutView = z;
|
|
7604
7606
|
var ab = r;
|
|
7605
|
-
var ac = ExcelUtils.
|
|
7607
|
+
var ac = ExcelUtils.fn(ab);
|
|
7606
7608
|
ab = ac.p0;
|
|
7607
7609
|
u.magnificationInPageBreakView = ab;
|
|
7608
|
-
u.
|
|
7610
|
+
u._b4 = p;
|
|
7609
7611
|
};
|
|
7610
7612
|
ObjectModelWorksheetPartManager.fj = function (a) {
|
|
7611
7613
|
};
|
|
@@ -7651,7 +7653,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7651
7653
|
var p;
|
|
7652
7654
|
var q;
|
|
7653
7655
|
var r;
|
|
7654
|
-
var s = ExcelUtils.
|
|
7656
|
+
var s = ExcelUtils.fz(f, n._by.currentFormat, 1, CultureInfo.invariantCulture, null, -1, o, p, q, r);
|
|
7655
7657
|
o = s.p6;
|
|
7656
7658
|
p = s.p7;
|
|
7657
7659
|
q = s.p8;
|
|
@@ -7728,7 +7730,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7728
7730
|
var k = void 0;
|
|
7729
7731
|
var l = void 0;
|
|
7730
7732
|
var m = void 0;
|
|
7731
|
-
var n = ExcelUtils.
|
|
7733
|
+
var n = ExcelUtils.fz(c, i.currentFormat, 1, CultureInfo.invariantCulture, null, -1, j, k, l, m);
|
|
7732
7734
|
j = n.p6;
|
|
7733
7735
|
k = n.p7;
|
|
7734
7736
|
l = n.p8;
|
|
@@ -7965,7 +7967,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7965
7967
|
return;
|
|
7966
7968
|
}
|
|
7967
7969
|
SpreadsheetMLMain.zx(this, intSToU(a._verticalPageBreaks$i.count), intSToU(a._verticalPageBreaks$i._k()));
|
|
7968
|
-
ExcelUtils.
|
|
7970
|
+
ExcelUtils.fq(VerticalPageBreak.$, a._verticalPageBreaks$i, runOn(this, this.f3));
|
|
7969
7971
|
this.ad.k();
|
|
7970
7972
|
};
|
|
7971
7973
|
ObjectModelWorksheetPartManager.prototype.f6 = function (a, b) {
|
|
@@ -8044,8 +8046,8 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8044
8046
|
var c = a.getHiddenRows(this.bl, false);
|
|
8045
8047
|
var d = a.getHiddenColumns(this.bl, false);
|
|
8046
8048
|
var e = CellAddress.u(b.unfrozenPaneSettings.firstRowInTopPane, b.unfrozenPaneSettings.firstColumnInLeftPane);
|
|
8047
|
-
SpreadsheetMLMain.aal(this, ST_Guid.a(a._t), intSToU(b.magnificationInCurrentView), intSToU(b.
|
|
8048
|
-
if (b.
|
|
8049
|
+
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);
|
|
8050
|
+
if (b._am() || b._an()) {
|
|
8049
8051
|
this.gt(b);
|
|
8050
8052
|
}
|
|
8051
8053
|
this.gz(b);
|
|
@@ -8072,7 +8074,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8072
8074
|
return;
|
|
8073
8075
|
}
|
|
8074
8076
|
SpreadsheetMLMain.aam(this);
|
|
8075
|
-
ExcelUtils.
|
|
8077
|
+
ExcelUtils.fq(CustomView.$, a._customViews$i, runOn(this, this.ga));
|
|
8076
8078
|
this.ad.k();
|
|
8077
8079
|
};
|
|
8078
8080
|
ObjectModelWorksheetPartManager.prototype.gc = function (a, b, c) {
|
|
@@ -8303,7 +8305,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8303
8305
|
return;
|
|
8304
8306
|
}
|
|
8305
8307
|
SpreadsheetMLMain.ab4(this);
|
|
8306
|
-
ExcelUtils.
|
|
8308
|
+
ExcelUtils.fq(WorksheetHyperlink.$, this.bl._hyperlinks$i, runOn(this, this.gj));
|
|
8307
8309
|
this.ad.k();
|
|
8308
8310
|
};
|
|
8309
8311
|
ObjectModelWorksheetPartManager.gl = function (v, w) {
|
|
@@ -8347,11 +8349,11 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8347
8349
|
return;
|
|
8348
8350
|
}
|
|
8349
8351
|
SpreadsheetMLMain.acf(this, toNullable(Number_$type, intSToU(w)));
|
|
8350
|
-
ExcelUtils.
|
|
8352
|
+
ExcelUtils.fq(WorksheetMergedCellsRegion.$, v, runOn(this, this.gn));
|
|
8351
8353
|
this.ad.k();
|
|
8352
8354
|
};
|
|
8353
8355
|
ObjectModelWorksheetPartManager.prototype.gp = function () {
|
|
8354
|
-
SpreadsheetMLMain.acp(this, void 0, this.bl.displayOptions.
|
|
8356
|
+
SpreadsheetMLMain.acp(this, void 0, this.bl.displayOptions._ao, this.bl.displayOptions._ap, this.bl.displayOptions.showOutlineSymbols);
|
|
8355
8357
|
this.ad.k();
|
|
8356
8358
|
};
|
|
8357
8359
|
ObjectModelWorksheetPartManager.gq = function (v, w) {
|
|
@@ -8389,8 +8391,8 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8389
8391
|
};
|
|
8390
8392
|
ObjectModelWorksheetPartManager.prototype.gt = function (v) {
|
|
8391
8393
|
var w = this.bh._by;
|
|
8392
|
-
v.
|
|
8393
|
-
var x = XlsxUtilities.az(v.
|
|
8394
|
+
v._bs();
|
|
8395
|
+
var x = XlsxUtilities.az(v._aa);
|
|
8394
8396
|
if (v.panesAreFrozen) {
|
|
8395
8397
|
var y = v.frozenPaneSettings;
|
|
8396
8398
|
var z = null;
|
|
@@ -8399,7 +8401,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8399
8401
|
if (aa > 0 || ab > 0) {
|
|
8400
8402
|
z = CellAddress.u(ab, aa, w.currentFormat);
|
|
8401
8403
|
}
|
|
8402
|
-
var ac = y.
|
|
8404
|
+
var ac = y._aa ? 2 : 1;
|
|
8403
8405
|
SpreadsheetMLMain.act(this, y.frozenColumns, y.frozenRows, z, x, ac);
|
|
8404
8406
|
}
|
|
8405
8407
|
else {
|
|
@@ -8456,7 +8458,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8456
8458
|
return;
|
|
8457
8459
|
}
|
|
8458
8460
|
SpreadsheetMLMain.ac1(this);
|
|
8459
|
-
ExcelUtils.
|
|
8461
|
+
ExcelUtils.fq(WorksheetProtectedRange.$, this.bl.protection._allowedEditRanges$i, runOn(this, this.gw));
|
|
8460
8462
|
this.ad.k();
|
|
8461
8463
|
};
|
|
8462
8464
|
ObjectModelWorksheetPartManager.prototype.bx = function (v, w, x) {
|
|
@@ -8510,16 +8512,16 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8510
8512
|
return;
|
|
8511
8513
|
}
|
|
8512
8514
|
SpreadsheetMLMain.ac7(this, intSToU(v._horizontalPageBreaks$i.count), intSToU(v._horizontalPageBreaks$i._k()));
|
|
8513
|
-
ExcelUtils.
|
|
8515
|
+
ExcelUtils.fq(HorizontalPageBreak.$, v._horizontalPageBreaks$i, runOn(this, this.f3));
|
|
8514
8516
|
this.ad.k();
|
|
8515
8517
|
};
|
|
8516
8518
|
ObjectModelWorksheetPartManager.prototype.gz = function (v) {
|
|
8517
8519
|
var e_29, _0, e_30, _1;
|
|
8518
|
-
if (v.
|
|
8520
|
+
if (v._aj == false) {
|
|
8519
8521
|
return;
|
|
8520
8522
|
}
|
|
8521
|
-
var w = v.
|
|
8522
|
-
var x = v.
|
|
8523
|
+
var w = v._ag;
|
|
8524
|
+
var x = v._ae.workbook;
|
|
8523
8525
|
var y = x.currentFormat;
|
|
8524
8526
|
try {
|
|
8525
8527
|
for (var _2 = tslib_1.__values(fromEnum(w.b)), _3 = _2.next(); !_3.done; _3 = _2.next()) {
|
|
@@ -8646,7 +8648,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8646
8648
|
if (y > 0 || z > 0) {
|
|
8647
8649
|
x = CellAddress.u(z, y, v.currentFormat);
|
|
8648
8650
|
}
|
|
8649
|
-
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.
|
|
8651
|
+
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));
|
|
8650
8652
|
var aa = this.bl.displayOptions.frozenPaneSettings;
|
|
8651
8653
|
var ab = this.bl.displayOptions.unfrozenPaneSettings;
|
|
8652
8654
|
if ((w.panesAreFrozen && (aa._h || aa._i)) || (!w.panesAreFrozen && (ab._h || ab._i))) {
|
|
@@ -8735,7 +8737,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8735
8737
|
return;
|
|
8736
8738
|
}
|
|
8737
8739
|
SpreadsheetMLMain.ad7(this, toNullable(Number_$type, intSToU(this.bl._tables$i.count)));
|
|
8738
|
-
ExcelUtils.
|
|
8740
|
+
ExcelUtils.fq(WorksheetTable.$, this.bl._tables$i, runOn(this, this.g8));
|
|
8739
8741
|
this.ad.k();
|
|
8740
8742
|
};
|
|
8741
8743
|
ObjectModelWorksheetPartManager.bq = function (af) {
|
|
@@ -9259,7 +9261,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9259
9261
|
try {
|
|
9260
9262
|
var e = ST_UnsignedIntHex.h(c.getValueOrDefault1(ST_UnsignedIntHex.b(0)));
|
|
9261
9263
|
e = u32BitwiseOr(e, 4278190080);
|
|
9262
|
-
b.add(ExcelUtils.
|
|
9264
|
+
b.add(ExcelUtils.g1(e));
|
|
9263
9265
|
}
|
|
9264
9266
|
catch (f) {
|
|
9265
9267
|
return;
|
|
@@ -9424,7 +9426,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9424
9426
|
if (WorksheetTableStyle._q(l) == false) {
|
|
9425
9427
|
continue;
|
|
9426
9428
|
}
|
|
9427
|
-
ExcelUtils.
|
|
9429
|
+
ExcelUtils.fe(i, k, l);
|
|
9428
9430
|
}
|
|
9429
9431
|
}
|
|
9430
9432
|
};
|
|
@@ -9765,7 +9767,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9765
9767
|
SpreadsheetMLMain.ab9(this);
|
|
9766
9768
|
var a = this.a7._by._palette$i;
|
|
9767
9769
|
for (var b = 0; b < 8 + 56; b++) {
|
|
9768
|
-
this.de(ExcelUtils.
|
|
9770
|
+
this.de(ExcelUtils.g5(a._af(b)));
|
|
9769
9771
|
}
|
|
9770
9772
|
this.ad.k();
|
|
9771
9773
|
};
|
|
@@ -9816,7 +9818,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9816
9818
|
a.ad.k();
|
|
9817
9819
|
};
|
|
9818
9820
|
ObjectModelStylesPartManager.prototype.de = function (a) {
|
|
9819
|
-
var b = intSToU(ExcelUtils.
|
|
9821
|
+
var b = intSToU(ExcelUtils.cz(a));
|
|
9820
9822
|
b = b & 16777215;
|
|
9821
9823
|
SpreadsheetMLMain.ac5(this, toNullable(ST_UnsignedIntHex.$, new ST_UnsignedIntHex(1, b)));
|
|
9822
9824
|
this.ad.k();
|
|
@@ -9867,7 +9869,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9867
9869
|
var _this = this;
|
|
9868
9870
|
var c = a._aa(b);
|
|
9869
9871
|
SpreadsheetMLMain.ad8(this, b.name, void 0, void 0, toNullable(Number_$type, intSToU(c._k)));
|
|
9870
|
-
ExcelUtils.
|
|
9872
|
+
ExcelUtils.fq(KeyValuePair$2.$.specialize(WorksheetTableStyleArea_$type, Number_$type), c, function (d) { return _this.dl(b, d); });
|
|
9871
9873
|
this.ad.k();
|
|
9872
9874
|
};
|
|
9873
9875
|
ObjectModelStylesPartManager.prototype.dl = function (a, b) {
|
|
@@ -9879,7 +9881,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9879
9881
|
var b = this.a7._by;
|
|
9880
9882
|
var c = b._customTableStyles$i;
|
|
9881
9883
|
SpreadsheetMLMain.aeb(this, toNullable(Number_$type, intSToU(c.count)), b.defaultTableStyle.name, "PivotStyleLight16");
|
|
9882
|
-
ExcelUtils.
|
|
9884
|
+
ExcelUtils.fq(WorksheetTableStyle.$, c, function (d) { return _this.dk(a, d); });
|
|
9883
9885
|
this.ad.k();
|
|
9884
9886
|
};
|
|
9885
9887
|
ObjectModelStylesPartManager.prototype.dn = function (a) {
|
|
@@ -9893,12 +9895,12 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9893
9895
|
this.ad.k();
|
|
9894
9896
|
};
|
|
9895
9897
|
ObjectModelStylesPartManager.prototype.dr = function (a, b) {
|
|
9896
|
-
var c = ExcelUtils.
|
|
9897
|
-
var d = ExcelUtils.
|
|
9898
|
-
var e = ExcelUtils.
|
|
9899
|
-
var f = ExcelUtils.
|
|
9900
|
-
var g = ExcelUtils.
|
|
9901
|
-
var h = ExcelUtils.
|
|
9898
|
+
var c = ExcelUtils.by(a.i, 2);
|
|
9899
|
+
var d = ExcelUtils.by(a.i, 8);
|
|
9900
|
+
var e = ExcelUtils.by(a.i, 16);
|
|
9901
|
+
var f = ExcelUtils.by(a.i, 4);
|
|
9902
|
+
var g = ExcelUtils.by(a.i, 1);
|
|
9903
|
+
var h = ExcelUtils.by(a.i, 32);
|
|
9902
9904
|
var i = b;
|
|
9903
9905
|
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));
|
|
9904
9906
|
this.ca(a.b);
|
|
@@ -9946,7 +9948,7 @@ export { ExcelThemeDocumentManager };
|
|
|
9946
9948
|
var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
9947
9949
|
tslib_1.__extends(WorkbookLoadManagerExcel2007, _super);
|
|
9948
9950
|
function WorkbookLoadManagerExcel2007(a, b, c, d, e) {
|
|
9949
|
-
var _this = _super.call(this, a, ExcelUtils.
|
|
9951
|
+
var _this = _super.call(this, a, ExcelUtils.eg(b)) || this;
|
|
9950
9952
|
_this._an = new WorkbookSerializationDataExcel2007();
|
|
9951
9953
|
_this._a8 = null;
|
|
9952
9954
|
_this._ax = null;
|
|
@@ -9985,7 +9987,7 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9985
9987
|
WorkbookLoadManagerExcel2007.staticInit = function () {
|
|
9986
9988
|
WorkbookStyleCollection._n = WorkbookLoadManagerExcel2007._bq;
|
|
9987
9989
|
StandardTableStyleCollection._h = WorkbookLoadManagerExcel2007._af;
|
|
9988
|
-
ExcelUtils.
|
|
9990
|
+
ExcelUtils.cq = WorkbookLoadManagerExcel2007._bl;
|
|
9989
9991
|
Workbook._e1 = WorkbookLoadManagerExcel2007._ah;
|
|
9990
9992
|
Workbook._e0 = WorkbookLoadManagerExcel2007._ag;
|
|
9991
9993
|
WorkbookOptionsBase._e = WorkbookOptionsBase._e || (function () { return new PackageFactory(); });
|
|
@@ -10540,7 +10542,7 @@ export { WorkbookLoadManagerExcel2007_PresetTableStylesPartManager };
|
|
|
10540
10542
|
var WorkbookSaveManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
10541
10543
|
tslib_1.__extends(WorkbookSaveManagerExcel2007, _super);
|
|
10542
10544
|
function WorkbookSaveManagerExcel2007(a, b, c, d) {
|
|
10543
|
-
var _this = _super.call(this, a, ExcelUtils.
|
|
10545
|
+
var _this = _super.call(this, a, ExcelUtils.eg(b), c) || this;
|
|
10544
10546
|
_this._cd = null;
|
|
10545
10547
|
_this._cc = new WorkbookSerializationDataExcel2007();
|
|
10546
10548
|
_this._cf = null;
|
|
@@ -10799,7 +10801,7 @@ var WorkbookSaveManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
10799
10801
|
}
|
|
10800
10802
|
};
|
|
10801
10803
|
WorkbookSaveManagerExcel2007._c0 = function (a, b, c) {
|
|
10802
|
-
if (ExcelUtils.
|
|
10804
|
+
if (ExcelUtils.ba(a)) {
|
|
10803
10805
|
b = 2;
|
|
10804
10806
|
c = null;
|
|
10805
10807
|
return {
|
|
@@ -10812,7 +10814,7 @@ var WorkbookSaveManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
10812
10814
|
b = 4;
|
|
10813
10815
|
c = d.c.toString();
|
|
10814
10816
|
}
|
|
10815
|
-
else if (ExcelUtils.
|
|
10817
|
+
else if (ExcelUtils.bc(a)) {
|
|
10816
10818
|
b = 2;
|
|
10817
10819
|
try {
|
|
10818
10820
|
var e = Convert.toDouble3(a);
|
|
@@ -10846,7 +10848,7 @@ var WorkbookSaveManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
10846
10848
|
var b = null;
|
|
10847
10849
|
if (this._ch == null) {
|
|
10848
10850
|
this._ch = new Dictionary$2(DisplayUnit_$type, String_$type, 0);
|
|
10849
|
-
var c = ExcelUtils.
|
|
10851
|
+
var c = ExcelUtils.eh("LD_Chart_AxisDisplayUnits");
|
|
10850
10852
|
var d = stringSplit(c, [","], 1);
|
|
10851
10853
|
var _loop_8 = function (f) {
|
|
10852
10854
|
var e = d[f];
|
|
@@ -35441,7 +35443,7 @@ var DMLChartUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
35441
35443
|
if (h != null) {
|
|
35442
35444
|
e.fill = DMLChartUtils.d(h.n);
|
|
35443
35445
|
if (h.h.hasValue) {
|
|
35444
|
-
e.widthInPoints = ExcelUtils.
|
|
35446
|
+
e.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(h.h.value));
|
|
35445
35447
|
}
|
|
35446
35448
|
}
|
|
35447
35449
|
return e;
|
|
@@ -35494,7 +35496,7 @@ var DMLChartUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
35494
35496
|
return null;
|
|
35495
35497
|
};
|
|
35496
35498
|
DMLChartUtils.ab = function (a) {
|
|
35497
|
-
var b = ExcelUtils.
|
|
35499
|
+
var b = ExcelUtils.g2(a.f, a.h, a.g);
|
|
35498
35500
|
return DMLChartUtils.aj(toNullable(Color.$, b), toNullable(WorkbookThemeColorType_$type, null), a.b, void 0, false);
|
|
35499
35501
|
};
|
|
35500
35502
|
DMLChartUtils.ac = function (a) {
|
|
@@ -36709,7 +36711,7 @@ var DMLChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
36709
36711
|
};
|
|
36710
36712
|
DMLChartExtensions.a8 = function (a, b) {
|
|
36711
36713
|
if (b.h.hasValue) {
|
|
36712
|
-
a.widthInPoints = ExcelUtils.
|
|
36714
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
36713
36715
|
}
|
|
36714
36716
|
a.fill = DMLChartUtils.d(b.n);
|
|
36715
36717
|
};
|
|
@@ -36718,7 +36720,7 @@ var DMLChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
36718
36720
|
return;
|
|
36719
36721
|
}
|
|
36720
36722
|
if (b.h.hasValue) {
|
|
36721
|
-
a.widthInPoints = ExcelUtils.
|
|
36723
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
36722
36724
|
}
|
|
36723
36725
|
a.fill = DMLChartUtils.d(b.n);
|
|
36724
36726
|
};
|
|
@@ -36923,7 +36925,7 @@ var DMLChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
36923
36925
|
return;
|
|
36924
36926
|
}
|
|
36925
36927
|
if (b.h.hasValue) {
|
|
36926
|
-
a.widthInPoints = ExcelUtils.
|
|
36928
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
36927
36929
|
}
|
|
36928
36930
|
a.fill = DMLChartUtils.d(b.n);
|
|
36929
36931
|
};
|
|
@@ -36935,7 +36937,7 @@ var DMLChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
36935
36937
|
};
|
|
36936
36938
|
DMLChartExtensions.a4 = function (a, b, c) {
|
|
36937
36939
|
if (b.h.hasValue) {
|
|
36938
|
-
a.widthInPoints = ExcelUtils.
|
|
36940
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(b.h.value));
|
|
36939
36941
|
}
|
|
36940
36942
|
a.fill = DMLChartUtils.d(b.n);
|
|
36941
36943
|
if (b.l.b != null && b.l.b.a.hasValue) {
|
|
@@ -55838,7 +55840,7 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
55838
55840
|
g.o.a = ((function () {
|
|
55839
55841
|
var $ret = new CT_LineProperties_DML();
|
|
55840
55842
|
$ret.h = toNullable(ST_LineWidth.$, null);
|
|
55841
|
-
$ret.q = toNullable(Number_$type, ExcelUtils.
|
|
55843
|
+
$ret.q = toNullable(Number_$type, ExcelUtils.dj(0.75));
|
|
55842
55844
|
return $ret;
|
|
55843
55845
|
})());
|
|
55844
55846
|
if (c.tickLabels != null) {
|
|
@@ -56171,8 +56173,8 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56171
56173
|
})());
|
|
56172
56174
|
};
|
|
56173
56175
|
ChartSerializer.a0 = function (a, b, c, d, e, f) {
|
|
56174
|
-
c = truncate(ExcelUtils.
|
|
56175
|
-
d = truncate(ExcelUtils.
|
|
56176
|
+
c = truncate(ExcelUtils.cn(c));
|
|
56177
|
+
d = truncate(ExcelUtils.cn(d));
|
|
56176
56178
|
var g = ((function () {
|
|
56177
56179
|
var $ret = new CT_View3D();
|
|
56178
56180
|
$ret.c = ((function () {
|
|
@@ -56622,10 +56624,10 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56622
56624
|
var f = a.item(1, 1);
|
|
56623
56625
|
var g = a.item(2, 1);
|
|
56624
56626
|
if (c && f == null) {
|
|
56625
|
-
throw new BaseError(1, ExcelUtils.
|
|
56627
|
+
throw new BaseError(1, ExcelUtils.ei("LE_Serialization_NoPrimaryCategoryAxis", enumGetBox(ChartType_$type, b)));
|
|
56626
56628
|
}
|
|
56627
56629
|
if (d && g == null) {
|
|
56628
|
-
throw new BaseError(1, ExcelUtils.
|
|
56630
|
+
throw new BaseError(1, ExcelUtils.ei("LE_Serialization_NoPrimaryValueAxis", enumGetBox(ChartType_$type, b)));
|
|
56629
56631
|
}
|
|
56630
56632
|
};
|
|
56631
56633
|
ChartSerializer.bf = function (a) {
|
|
@@ -56792,7 +56794,7 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56792
56794
|
})());
|
|
56793
56795
|
}
|
|
56794
56796
|
if (a.chartType == -4169 && b.markerStyle == -4142) {
|
|
56795
|
-
var r_2 = b.line != null ? ExcelUtils.
|
|
56797
|
+
var r_2 = b.line != null ? ExcelUtils.dj(b.line.widthInPoints) : ExcelUtils.dj(2.25);
|
|
56796
56798
|
i.d = new CT_ShapeProperties_DML();
|
|
56797
56799
|
i.d.l.g();
|
|
56798
56800
|
i.d.a = ((function () {
|
|
@@ -57039,7 +57041,7 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57039
57041
|
if (d.fill != null) {
|
|
57040
57042
|
ChartSerializerExtensions.a3(EG_LineFillProperties.$, e.o.a.n, d.fill, c);
|
|
57041
57043
|
}
|
|
57042
|
-
e.o.a.q = toNullable(Number_$type, ExcelUtils.
|
|
57044
|
+
e.o.a.q = toNullable(Number_$type, ExcelUtils.dj(d.widthInPoints));
|
|
57043
57045
|
e.a = CT_Boolean.b(d.endStyle == 2);
|
|
57044
57046
|
return e;
|
|
57045
57047
|
};
|
|
@@ -57570,7 +57572,7 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57570
57572
|
};
|
|
57571
57573
|
ChartSerializer.a4 = function (a, b, c) {
|
|
57572
57574
|
var d = b != null ? b.widthInPoints : 0.75;
|
|
57573
|
-
var e = ExcelUtils.
|
|
57575
|
+
var e = ExcelUtils.dj(d);
|
|
57574
57576
|
var f = ((function () {
|
|
57575
57577
|
var $ret = new CT_LineProperties_DML();
|
|
57576
57578
|
$ret.h = toNullable(ST_LineWidth.$, null);
|
|
@@ -58678,24 +58680,24 @@ var ChartExSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
58678
58680
|
switch (b) {
|
|
58679
58681
|
case 116:
|
|
58680
58682
|
if (e.length < 2) {
|
|
58681
|
-
f = ExcelUtils.
|
|
58683
|
+
f = ExcelUtils.eh("LE_WorksheetChart_Save_Series_Pareto");
|
|
58682
58684
|
}
|
|
58683
58685
|
else {
|
|
58684
58686
|
var g = e[0] == 51 || e[1] == 51;
|
|
58685
58687
|
var h = e[0] == 116 || e[1] == 116;
|
|
58686
58688
|
if (g == false || h == false) {
|
|
58687
|
-
f = ExcelUtils.
|
|
58689
|
+
f = ExcelUtils.eh("LE_WorksheetChart_Save_Series_Pareto");
|
|
58688
58690
|
}
|
|
58689
58691
|
}
|
|
58690
58692
|
break;
|
|
58691
58693
|
case 117:
|
|
58692
58694
|
if (e.length < 1 || e[0] != 51) {
|
|
58693
|
-
f = ExcelUtils.
|
|
58695
|
+
f = ExcelUtils.ei("LE_WorksheetChart_Save_Series", enumGetBox(ChartType_$type, b));
|
|
58694
58696
|
}
|
|
58695
58697
|
break;
|
|
58696
58698
|
default:
|
|
58697
58699
|
if (e.length < 1 || e[0] != b) {
|
|
58698
|
-
f = ExcelUtils.
|
|
58700
|
+
f = ExcelUtils.ei("LE_WorksheetChart_Save_Series", enumGetBox(ChartType_$type, b));
|
|
58699
58701
|
}
|
|
58700
58702
|
break;
|
|
58701
58703
|
}
|
|
@@ -59194,9 +59196,9 @@ var ChartSerializerExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
59194
59196
|
})());
|
|
59195
59197
|
};
|
|
59196
59198
|
ChartSerializerExtensions.a4 = function (a, b) {
|
|
59197
|
-
var c = ExcelUtils.
|
|
59198
|
-
var d = ExcelUtils.
|
|
59199
|
-
var e = ExcelUtils.
|
|
59199
|
+
var c = ExcelUtils.dw(b._applyPicToEnd$i);
|
|
59200
|
+
var d = ExcelUtils.dw(b._applyPicToFront$i);
|
|
59201
|
+
var e = ExcelUtils.dw(b._applyPicToSides$i);
|
|
59200
59202
|
if (c.hasValue) {
|
|
59201
59203
|
a.a = CT_Boolean.b(c.value);
|
|
59202
59204
|
}
|
|
@@ -61080,7 +61082,7 @@ var WorksheetChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61080
61082
|
DMLChartExtensions.a4(i, g, d);
|
|
61081
61083
|
a.border = i;
|
|
61082
61084
|
}
|
|
61083
|
-
a._invertIfNegative$i = ExcelUtils.
|
|
61085
|
+
a._invertIfNegative$i = ExcelUtils.dx(CT_Boolean.g(c.c));
|
|
61084
61086
|
if (c.e != null) {
|
|
61085
61087
|
var j = Math.min(400, c.e.g);
|
|
61086
61088
|
a._explosion$i = toNullable(Number_$type, j);
|
|
@@ -61097,7 +61099,7 @@ var WorksheetChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61097
61099
|
a.fill = DMLChartUtils.d(f.n);
|
|
61098
61100
|
}
|
|
61099
61101
|
if (f != null && f.h.hasValue) {
|
|
61100
|
-
a.widthInPoints = ExcelUtils.
|
|
61102
|
+
a.widthInPoints = ExcelUtils.cl(ST_LineWidth.m(f.h.value));
|
|
61101
61103
|
}
|
|
61102
61104
|
};
|
|
61103
61105
|
WorksheetChartExtensions.w = function (a, b, c, d) {
|
|
@@ -62320,7 +62322,7 @@ var WorksheetChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
62320
62322
|
}
|
|
62321
62323
|
if (n.af.hasValue) {
|
|
62322
62324
|
var o = ST_Angle.j(n.af.value);
|
|
62323
|
-
a.rotation = ExcelUtils.
|
|
62325
|
+
a.rotation = ExcelUtils.cn(o);
|
|
62324
62326
|
}
|
|
62325
62327
|
if (n.av.hasValue) {
|
|
62326
62328
|
a.wrapText = n.av.value == 1;
|
|
@@ -62676,7 +62678,7 @@ var WorksheetChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
62676
62678
|
}
|
|
62677
62679
|
else {
|
|
62678
62680
|
var ak = ST_Angle.j(ag.af.value);
|
|
62679
|
-
a.tickLabels.rotation = ExcelUtils.
|
|
62681
|
+
a.tickLabels.rotation = ExcelUtils.cn(ak);
|
|
62680
62682
|
}
|
|
62681
62683
|
}
|
|
62682
62684
|
if (g.f != null) {
|
|
@@ -63075,13 +63077,13 @@ var WorksheetChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
63075
63077
|
var p = a != null ? a.k : null;
|
|
63076
63078
|
if (p != null) {
|
|
63077
63079
|
if (p.a != null) {
|
|
63078
|
-
g._applyPicToEnd$i = ExcelUtils.
|
|
63080
|
+
g._applyPicToEnd$i = ExcelUtils.dx(p.a.k);
|
|
63079
63081
|
}
|
|
63080
63082
|
if (p.c != null) {
|
|
63081
|
-
g._applyPicToFront$i = ExcelUtils.
|
|
63083
|
+
g._applyPicToFront$i = ExcelUtils.dx(p.c.k);
|
|
63082
63084
|
}
|
|
63083
63085
|
if (p.e != null) {
|
|
63084
|
-
g._applyPicToSides$i = ExcelUtils.
|
|
63086
|
+
g._applyPicToSides$i = ExcelUtils.dx(p.e.k);
|
|
63085
63087
|
}
|
|
63086
63088
|
}
|
|
63087
63089
|
return g;
|
|
@@ -63229,7 +63231,7 @@ var WorksheetChartExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
63229
63231
|
}
|
|
63230
63232
|
else {
|
|
63231
63233
|
var e = ST_Angle.j(d);
|
|
63232
|
-
b = ExcelUtils.
|
|
63234
|
+
b = ExcelUtils.cn(e);
|
|
63233
63235
|
if (a.ar.hasValue) {
|
|
63234
63236
|
c = DMLChartExtensions.q(a.ar.value);
|
|
63235
63237
|
}
|
|
@@ -63738,7 +63740,7 @@ var ConditionalFormattingSerializer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
63738
63740
|
SpreadsheetMLMain.zq(b, SpreadsheetMLMain.eg, toNullable(ST_CfType_$type, 4), f, a.priority, a.stopIfTrue);
|
|
63739
63741
|
var g = c._cv(a.formula);
|
|
63740
63742
|
ConditionalFormattingSerializer.ae(b, d, g);
|
|
63741
|
-
var h = ExcelUtils.
|
|
63743
|
+
var h = ExcelUtils.ak(a.iconSet);
|
|
63742
63744
|
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));
|
|
63743
63745
|
var i = a.worksheet;
|
|
63744
63746
|
for (var j = 0; j < a._iconCriteria$i.count; j++) {
|
|
@@ -64106,7 +64108,7 @@ var X14Serializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
64106
64108
|
if (j != null) {
|
|
64107
64109
|
ConditionalFormattingSerializer.ab(a, b, c, j);
|
|
64108
64110
|
}
|
|
64109
|
-
var l = ExcelUtils.
|
|
64111
|
+
var l = ExcelUtils.ak(d.iconSet);
|
|
64110
64112
|
var m = d.isCustom;
|
|
64111
64113
|
var n = toNullable(Boolean_$type, null);
|
|
64112
64114
|
var o = toNullable(Boolean_$type, null);
|
|
@@ -64127,7 +64129,7 @@ var X14Serializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
64127
64129
|
var z = d._iconCriteria$i.item(y);
|
|
64128
64130
|
var aa = z.iconSet;
|
|
64129
64131
|
var ab = z.icon == -1 ? 0 : intSToU(((function () { var ac = IconSetConditionalFormat._cp(z.icon, aa); aa = ac.p1; return ac.ret; })()));
|
|
64130
|
-
var ac = z.icon == -1 ? 20 : ExcelUtils.
|
|
64132
|
+
var ac = z.icon == -1 ? 20 : ExcelUtils.ak(aa);
|
|
64131
64133
|
SpreadsheetML2009Main.da(a, ac, ab);
|
|
64132
64134
|
c.k();
|
|
64133
64135
|
};
|
|
@@ -65227,8 +65229,9 @@ var ObjectModelChartsheetPartManager = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
65227
65229
|
}
|
|
65228
65230
|
}
|
|
65229
65231
|
var i = new SheetRelationships();
|
|
65230
|
-
var j = b
|
|
65231
|
-
|
|
65232
|
+
var j = b;
|
|
65233
|
+
var k = j.sheetBackground == null ? null : ExcelUtils.z(j.sheetBackground, b._a7);
|
|
65234
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(Async.g(k != null, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._b0(k, b._a7), function (l) { return e.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }), function () { return Async.g(f, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelDrawingPartManager.bg, b), function (l) { return i.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }); }), function () { return Async.g(_this.be.count != 0, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, _this.be), function (l) { return i.c = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }); }), function () { return Async.g(b._bb != null, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, b._bb), function (l) { return i.b = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d; }); }); }), function () { return _this.a7(d, i); });
|
|
65232
65235
|
};
|
|
65233
65236
|
ObjectModelChartsheetPartManager.prototype.ai = function (a) {
|
|
65234
65237
|
switch (a) {
|
|
@@ -65348,7 +65351,7 @@ var ObjectModelChartsheetPartManager = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
65348
65351
|
var d = typeCast(ImageData.$, c._au(a));
|
|
65349
65352
|
if (d != null) {
|
|
65350
65353
|
var e = XlsxUtilities.v(d);
|
|
65351
|
-
this.a8.
|
|
65354
|
+
this.a8.sheetBackground = ExcelUtils.ha(e);
|
|
65352
65355
|
this.a8._a7 = e.d;
|
|
65353
65356
|
}
|
|
65354
65357
|
else {
|
|
@@ -65386,7 +65389,7 @@ var ObjectModelChartsheetPartManager = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
65386
65389
|
this.a8._r = true;
|
|
65387
65390
|
this.a8._w = b;
|
|
65388
65391
|
var g = c;
|
|
65389
|
-
var h = ExcelUtils.
|
|
65392
|
+
var h = ExcelUtils.fn(g);
|
|
65390
65393
|
g = h.p0;
|
|
65391
65394
|
f.magnification = g;
|
|
65392
65395
|
f.sizeWithWindow = d;
|
|
@@ -65501,7 +65504,7 @@ var ObjectModelChartsheetPartManager = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
65501
65504
|
return;
|
|
65502
65505
|
}
|
|
65503
65506
|
SpreadsheetMLMain.aam(this);
|
|
65504
|
-
ExcelUtils.
|
|
65507
|
+
ExcelUtils.fq(CustomView.$, a._customViews$i, runOn(this, this.b0));
|
|
65505
65508
|
this.ad.k();
|
|
65506
65509
|
};
|
|
65507
65510
|
ObjectModelChartsheetPartManager.prototype.b3 = function () {
|
|
@@ -66494,7 +66497,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66494
66497
|
$ret.c = XlsxUtilities.ah(a);
|
|
66495
66498
|
return $ret;
|
|
66496
66499
|
})());
|
|
66497
|
-
return ExcelUtils.
|
|
66500
|
+
return ExcelUtils.ac(IGraphicalObjectContent_$type, d, a._b4);
|
|
66498
66501
|
};
|
|
66499
66502
|
ObjectModelDrawingPartManager.prototype.a8 = function (a, b) {
|
|
66500
66503
|
var _this = this;
|
|
@@ -66534,6 +66537,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66534
66537
|
return null;
|
|
66535
66538
|
}
|
|
66536
66539
|
var c = this.bq.item(a);
|
|
66540
|
+
var d = a.image;
|
|
66537
66541
|
return ((function () {
|
|
66538
66542
|
var $ret = new CT_Picture();
|
|
66539
66543
|
$ret.d = a._b7;
|
|
@@ -66563,7 +66567,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66563
66567
|
var $ret = new CT_BlipFillProperties();
|
|
66564
66568
|
$ret.d = ((function () {
|
|
66565
66569
|
var $ret = new CT_Blip();
|
|
66566
|
-
$ret.d = b.item(
|
|
66570
|
+
$ret.d = b.item(d);
|
|
66567
66571
|
return $ret;
|
|
66568
66572
|
})());
|
|
66569
66573
|
$ret.e = ((function () {
|
|
@@ -66695,7 +66699,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66695
66699
|
else {
|
|
66696
66700
|
b = ((function () {
|
|
66697
66701
|
var $ret = new CT_SRgbColor();
|
|
66698
|
-
$ret.c = ST_HexColorRGB.b(ExcelUtils.
|
|
66702
|
+
$ret.c = ST_HexColorRGB.b(ExcelUtils.g5(a._aj(null, false, true)));
|
|
66699
66703
|
return $ret;
|
|
66700
66704
|
})());
|
|
66701
66705
|
}
|
|
@@ -66772,10 +66776,10 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66772
66776
|
j.a.r = toNullable(Number_$type, SerializationUtils.p(k.height));
|
|
66773
66777
|
}
|
|
66774
66778
|
if (nullableEquals(k._bold$i, true)) {
|
|
66775
|
-
j.a.d = ExcelUtils.
|
|
66779
|
+
j.a.d = ExcelUtils.dw(k._bold$i);
|
|
66776
66780
|
}
|
|
66777
66781
|
if (nullableEquals(k._italic$i, true)) {
|
|
66778
|
-
j.a.i = ExcelUtils.
|
|
66782
|
+
j.a.i = ExcelUtils.dw(k._italic$i);
|
|
66779
66783
|
}
|
|
66780
66784
|
var l = k.underlineStyle;
|
|
66781
66785
|
if (l != -1) {
|
|
@@ -66905,7 +66909,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66905
66909
|
var _this = this;
|
|
66906
66910
|
return WorkItemExtensions.k(IGraphicalObjectContent_$type, IGraphicalObjectContent_$type, this.ba(a, b), function (c) {
|
|
66907
66911
|
var d = WorkItemExtensions.m(IGraphicalObjectContent_$type, c);
|
|
66908
|
-
d = ExcelUtils.
|
|
66912
|
+
d = ExcelUtils.ac(IGraphicalObjectContent_$type, d, b._b3);
|
|
66909
66913
|
var e = _this.bp(b);
|
|
66910
66914
|
if (e != null) {
|
|
66911
66915
|
return ((function () {
|
|
@@ -66946,8 +66950,8 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66946
66950
|
var g = e._gh(a.rowIndex, false, true);
|
|
66947
66951
|
var h = b.x / 100;
|
|
66948
66952
|
var i = b.y / 100;
|
|
66949
|
-
c = ExcelUtils.
|
|
66950
|
-
d = ExcelUtils.
|
|
66953
|
+
c = ExcelUtils.dp(MathUtilities.f(h * f));
|
|
66954
|
+
d = ExcelUtils.dp(MathUtilities.f(i * g));
|
|
66951
66955
|
return {
|
|
66952
66956
|
p2: c,
|
|
66953
66957
|
p3: d
|
|
@@ -67054,7 +67058,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
67054
67058
|
};
|
|
67055
67059
|
ObjectModelDrawingPartManager.prototype.cc = function (a) {
|
|
67056
67060
|
var b = a._getBoundsInTwips();
|
|
67057
|
-
DrawingMLSpreadsheetDrawing.e7(this, new ST_PositiveCoordinate(1, ExcelUtils.
|
|
67061
|
+
DrawingMLSpreadsheetDrawing.e7(this, new ST_PositiveCoordinate(1, ExcelUtils.dp(b.width)), new ST_PositiveCoordinate(1, ExcelUtils.dp(b.height)));
|
|
67058
67062
|
this.ad.k();
|
|
67059
67063
|
};
|
|
67060
67064
|
ObjectModelDrawingPartManager.prototype.cd = function (a) {
|
|
@@ -67075,7 +67079,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
67075
67079
|
};
|
|
67076
67080
|
ObjectModelDrawingPartManager.prototype.ce = function (a) {
|
|
67077
67081
|
var b = a._getBoundsInTwips();
|
|
67078
|
-
DrawingMLSpreadsheetDrawing.fa(this, new ST_Coordinate(1, ST_CoordinateUnqualified.a(ExcelUtils.
|
|
67082
|
+
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))));
|
|
67079
67083
|
this.ad.k();
|
|
67080
67084
|
};
|
|
67081
67085
|
ObjectModelDrawingPartManager.prototype.cf = function (a) {
|
|
@@ -67207,13 +67211,13 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
67207
67211
|
a.k();
|
|
67208
67212
|
a.k();
|
|
67209
67213
|
};
|
|
67210
|
-
var c = ExcelUtils.
|
|
67214
|
+
var c = ExcelUtils.eh("LD_Fallback_ChartEx_Line1");
|
|
67211
67215
|
b(c);
|
|
67212
67216
|
a.o(DrawingMLMain.b1);
|
|
67213
67217
|
a.k();
|
|
67214
67218
|
a.o(DrawingMLMain.b1);
|
|
67215
67219
|
a.k();
|
|
67216
|
-
var d = ExcelUtils.
|
|
67220
|
+
var d = ExcelUtils.eh("LD_Fallback_ChartEx_Line2");
|
|
67217
67221
|
b(d);
|
|
67218
67222
|
a.k();
|
|
67219
67223
|
a.k();
|
|
@@ -67487,7 +67491,7 @@ var ObjectModelDrawingPartManager_ShapeLoader = /** @class */ /*@__PURE__*/ (fun
|
|
|
67487
67491
|
return $ret;
|
|
67488
67492
|
})());
|
|
67489
67493
|
var h = XlsxUtilities.v(c);
|
|
67490
|
-
g.
|
|
67494
|
+
g.image = h.b;
|
|
67491
67495
|
g.preferredFormat = h.d;
|
|
67492
67496
|
if (a.spPr != null) {
|
|
67493
67497
|
if (a.spPr.a != null) {
|
|
@@ -68187,7 +68191,7 @@ var ObjectModelExternalLinkPartManager = /** @class */ /*@__PURE__*/ (function (
|
|
|
68187
68191
|
e = f.p3;
|
|
68188
68192
|
var g = a;
|
|
68189
68193
|
var h;
|
|
68190
|
-
if (((function () { var i = ExcelUtils.
|
|
68194
|
+
if (((function () { var i = ExcelUtils.bn(c, 2, CultureInfo.invariantCulture, g.ba, h); g.ba = i.p3; h = i.p4; return i.ret; })()) == false) {
|
|
68191
68195
|
}
|
|
68192
68196
|
a.s.k(enumGetBox(ST_CellType_$type, d));
|
|
68193
68197
|
};
|
|
@@ -68230,8 +68234,8 @@ var ObjectModelExternalLinkPartManager = /** @class */ /*@__PURE__*/ (function (
|
|
|
68230
68234
|
if (e == null) {
|
|
68231
68235
|
return;
|
|
68232
68236
|
}
|
|
68233
|
-
var f = ExcelUtils.
|
|
68234
|
-
f = ExcelUtils.
|
|
68237
|
+
var f = ExcelUtils.e1(e).toString();
|
|
68238
|
+
f = ExcelUtils.em(f);
|
|
68235
68239
|
var g = d._by._bf(f);
|
|
68236
68240
|
d._b7._i.add(g);
|
|
68237
68241
|
var h = typeCast(ExternalWorkbookReference.$, g);
|
|
@@ -68291,7 +68295,7 @@ var ObjectModelExternalLinkPartManager = /** @class */ /*@__PURE__*/ (function (
|
|
|
68291
68295
|
if (f == null) {
|
|
68292
68296
|
return;
|
|
68293
68297
|
}
|
|
68294
|
-
var g = e._by._bd(c, ExcelUtils.
|
|
68298
|
+
var g = e._by._bd(c, ExcelUtils.e1(f));
|
|
68295
68299
|
e._b7._i.add(g);
|
|
68296
68300
|
a.an = g;
|
|
68297
68301
|
a.s.k(g);
|
|
@@ -68368,7 +68372,7 @@ var ObjectModelExternalLinkPartManager = /** @class */ /*@__PURE__*/ (function (
|
|
|
68368
68372
|
var c = b._b9;
|
|
68369
68373
|
var d = c._b;
|
|
68370
68374
|
var e = a.x;
|
|
68371
|
-
var f = ExcelUtils.
|
|
68375
|
+
var f = ExcelUtils.eb(e);
|
|
68372
68376
|
var g = stringStartsWith(f, "file://");
|
|
68373
68377
|
var h;
|
|
68374
68378
|
if (g) {
|
|
@@ -68376,11 +68380,11 @@ var ObjectModelExternalLinkPartManager = /** @class */ /*@__PURE__*/ (function (
|
|
|
68376
68380
|
}
|
|
68377
68381
|
else if (c._l != null) {
|
|
68378
68382
|
if (IOPath.isPathRooted(e) == false || IOPath.getPathRoot(e) == IOPath.getPathRoot(c._l)) {
|
|
68379
|
-
var i = PackageUtilities.q(c._l, a.x, ExcelUtils.
|
|
68383
|
+
var i = PackageUtilities.q(c._l, a.x, ExcelUtils.b3, true);
|
|
68380
68384
|
if (stringStartsWith(i, "//")) {
|
|
68381
68385
|
i = i.substr(1);
|
|
68382
68386
|
}
|
|
68383
|
-
h = UriUtilities.b(ExcelUtils.
|
|
68387
|
+
h = UriUtilities.b(ExcelUtils.eb(i));
|
|
68384
68388
|
}
|
|
68385
68389
|
else if (stringStartsWith(f, "/")) {
|
|
68386
68390
|
h = UriUtilities.b(f);
|
|
@@ -68761,7 +68765,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
68761
68765
|
ac.scrollBars |= 2;
|
|
68762
68766
|
}
|
|
68763
68767
|
ac.tabBarVisible = s;
|
|
68764
|
-
ac._boundsInPixels$i = ExcelUtils.
|
|
68768
|
+
ac._boundsInPixels$i = ExcelUtils.hf(t, u, f, g);
|
|
68765
68769
|
ac.tabBarWidth = v;
|
|
68766
68770
|
ac._ao = e;
|
|
68767
68771
|
ac.showFormulaBar = w;
|
|
@@ -69025,7 +69029,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
69025
69029
|
c.scrollBars |= 2;
|
|
69026
69030
|
}
|
|
69027
69031
|
c.tabBarVisible = h;
|
|
69028
|
-
c._boundsInTwips$i = ExcelUtils.
|
|
69032
|
+
c._boundsInTwips$i = ExcelUtils.hf(i.getValueOrDefault(), j.getValueOrDefault(), k.getValueOrDefault(), l.getValueOrDefault());
|
|
69029
69033
|
c.tabBarWidth = m;
|
|
69030
69034
|
c.firstVisibleTabIndex = n;
|
|
69031
69035
|
c._as = o;
|
|
@@ -69086,7 +69090,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
69086
69090
|
return;
|
|
69087
69091
|
}
|
|
69088
69092
|
SpreadsheetMLMain.acx(this);
|
|
69089
|
-
ExcelUtils.
|
|
69093
|
+
ExcelUtils.fq(PivotCacheInfo.$, a._d8(), runOn(this, this.b4));
|
|
69090
69094
|
this.ad.k();
|
|
69091
69095
|
};
|
|
69092
69096
|
ObjectModelWorkbookPartManagerBase.prototype.b6 = function (a) {
|
|
@@ -69122,7 +69126,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
69122
69126
|
this.ad.k();
|
|
69123
69127
|
this.ad.k();
|
|
69124
69128
|
SpreadsheetMLMain.adp(this);
|
|
69125
|
-
ExcelUtils.
|
|
69129
|
+
ExcelUtils.fq(Sheet.$, a._a1, runOn(this, this.b6));
|
|
69126
69130
|
this.ad.k();
|
|
69127
69131
|
var g = ObjectModelExternalLinkPartManager.a9.o(a._cb._z);
|
|
69128
69132
|
var h = new List$1(IPackageRelationship_$type, 1, Enumerable.u(IPackageRelationship_$type, a._cb._d.getRelationships(), function (i) { return i.relationshipType == g; }));
|
|
@@ -69155,7 +69159,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
69155
69159
|
this.ad.k();
|
|
69156
69160
|
if (b._cq) {
|
|
69157
69161
|
SpreadsheetMLMain.aao(this);
|
|
69158
|
-
ExcelUtils.
|
|
69162
|
+
ExcelUtils.fq(CustomView.$, b._customViews$i, runOn(this, this.b2));
|
|
69159
69163
|
this.ad.k();
|
|
69160
69164
|
}
|
|
69161
69165
|
this.b5(b);
|
|
@@ -69843,7 +69847,7 @@ var ObjectModelThemePartManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
69843
69847
|
var c = new ST_HexColorRGB();
|
|
69844
69848
|
var d = DrawingMLMain.m2(a, c);
|
|
69845
69849
|
c = d.p1;
|
|
69846
|
-
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.
|
|
69850
|
+
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g6(c.r);
|
|
69847
69851
|
};
|
|
69848
69852
|
ObjectModelThemePartManager.bz = function (a) {
|
|
69849
69853
|
if (FormatSchemeDeserializer.f(a)) {
|
|
@@ -69858,7 +69862,7 @@ var ObjectModelThemePartManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
69858
69862
|
var e = DrawingMLMain.m4(a, c, d);
|
|
69859
69863
|
c = e.p1;
|
|
69860
69864
|
d = e.p2;
|
|
69861
|
-
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.
|
|
69865
|
+
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g6(XlsxUtilities.bh(c));
|
|
69862
69866
|
};
|
|
69863
69867
|
ObjectModelThemePartManager.b0 = function (a) {
|
|
69864
69868
|
var b;
|
|
@@ -71195,7 +71199,7 @@ var ObjectModelVmlDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
71195
71199
|
var c = null;
|
|
71196
71200
|
var d = typeCast(ShapeFillSolid.$, b.h._k);
|
|
71197
71201
|
if (d != null) {
|
|
71198
|
-
c = ExcelUtils.
|
|
71202
|
+
c = ExcelUtils.d4(ExcelUtils.g5(d.colorInfo._aj(a._b, false)));
|
|
71199
71203
|
}
|
|
71200
71204
|
var e = toNullable(Boolean_$type, null);
|
|
71201
71205
|
if (typeCast(ShapeFillNoFill.$, b.h._k) !== null) {
|