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
|
@@ -2793,7 +2793,7 @@ var DrawingPartManagerHelpers = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2793
2793
|
if (b == null) {
|
|
2794
2794
|
return;
|
|
2795
2795
|
}
|
|
2796
|
-
a.d._t.di(a);
|
|
2796
|
+
a.d._t.di(a, b.e);
|
|
2797
2797
|
DrawingPartManagerHelpers.ea(a, b.a);
|
|
2798
2798
|
DrawingPartManagerHelpers.ev(a, b.spPr);
|
|
2799
2799
|
DrawingPartManagerHelpers.e0(a, b.style);
|
package/esm5/lib/DxfInfo.js
CHANGED
|
@@ -38,22 +38,22 @@ var DxfInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
38
38
|
{
|
|
39
39
|
var c = _rest[0];
|
|
40
40
|
var d = _rest[1];
|
|
41
|
-
if (ExcelUtils.
|
|
41
|
+
if (ExcelUtils.by(d.formatOptions, 2)) {
|
|
42
42
|
_this.b = AlignmentInfo.e(d, true);
|
|
43
43
|
}
|
|
44
|
-
if (ExcelUtils.
|
|
44
|
+
if (ExcelUtils.by(d.formatOptions, 8)) {
|
|
45
45
|
_this.c = BorderInfo.a(c, d);
|
|
46
46
|
}
|
|
47
|
-
if (ExcelUtils.
|
|
47
|
+
if (ExcelUtils.by(d.formatOptions, 16)) {
|
|
48
48
|
_this.e = FillInfo.a(c, d);
|
|
49
49
|
}
|
|
50
|
-
if (ExcelUtils.
|
|
50
|
+
if (ExcelUtils.by(d.formatOptions, 1)) {
|
|
51
51
|
_this.g = SerializationNumberFormatInfo.a(d);
|
|
52
52
|
}
|
|
53
|
-
if (ExcelUtils.
|
|
53
|
+
if (ExcelUtils.by(d.formatOptions, 32)) {
|
|
54
54
|
_this.f = ProtectionInfo.b(d, true);
|
|
55
55
|
}
|
|
56
|
-
if (ExcelUtils.
|
|
56
|
+
if (ExcelUtils.by(d.formatOptions, 4)) {
|
|
57
57
|
_this.a = d._bp.d._ak(NoOpFontDefaultsResolver.a);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -291,7 +291,7 @@ var EnumConverter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
291
291
|
};
|
|
292
292
|
EnumConverter.p = function (a, b, c, d) {
|
|
293
293
|
d = ((function () { var e = IconSetConditionalFormat._cp(a, b); b = e.p1; return e.ret; })());
|
|
294
|
-
c = ExcelUtils.
|
|
294
|
+
c = ExcelUtils.ak(b);
|
|
295
295
|
return {
|
|
296
296
|
p2: c,
|
|
297
297
|
p3: d
|
|
@@ -20,7 +20,7 @@ var ExtPropColorLoaded = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
22
|
ExtPropColorLoaded.prototype.e = function (a) {
|
|
23
|
-
return ExcelUtils.
|
|
23
|
+
return ExcelUtils.af(a, this.f);
|
|
24
24
|
};
|
|
25
25
|
ExtPropColorLoaded.$t = markType(ExtPropColorLoaded, 'ExtPropColorLoaded', ExtPropColorBase.$);
|
|
26
26
|
return ExtPropColorLoaded;
|
|
@@ -20,7 +20,7 @@ var FinancialUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
20
20
|
FinancialUtils.iPmt = function (a, b, c, d, e, f) {
|
|
21
21
|
var g = f != 0 ? 2 : 1;
|
|
22
22
|
if ((b <= 0) || (b >= (c + 1))) {
|
|
23
|
-
throw new ArgumentOutOfRangeException(2, "per", ExcelUtils.
|
|
23
|
+
throw new ArgumentOutOfRangeException(2, "per", ExcelUtils.eh("LE_ArgumentOutOfRangeException_Per"));
|
|
24
24
|
}
|
|
25
25
|
if ((f != 0) && (b == 1)) {
|
|
26
26
|
return 0;
|
|
@@ -33,7 +33,7 @@ var FinancialUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
33
33
|
};
|
|
34
34
|
FinancialUtils.pPmt = function (a, b, c, d, e, f) {
|
|
35
35
|
if ((b <= 0) || (b >= (c + 1))) {
|
|
36
|
-
throw new ArgumentException(2, ExcelUtils.
|
|
36
|
+
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_Per"), "per");
|
|
37
37
|
}
|
|
38
38
|
var g = FinancialUtils.d(a, c, d, e, f);
|
|
39
39
|
var h = FinancialUtils.iPmt(a, b, c, d, e, f);
|
|
@@ -42,11 +42,11 @@ var FinancialUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
42
42
|
FinancialUtils.nPer = function (a, b, c, d, e) {
|
|
43
43
|
var f;
|
|
44
44
|
if (a <= -1) {
|
|
45
|
-
throw new ArgumentOutOfRangeException(2, "rate", ExcelUtils.
|
|
45
|
+
throw new ArgumentOutOfRangeException(2, "rate", ExcelUtils.eh("LE_ArgumentOutOfRangeException_Rate"));
|
|
46
46
|
}
|
|
47
47
|
if (a == 0) {
|
|
48
48
|
if (b == 0) {
|
|
49
|
-
throw new ArgumentException(2, ExcelUtils.
|
|
49
|
+
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_Pmt"), "pmt");
|
|
50
50
|
}
|
|
51
51
|
return -(c + d) / b;
|
|
52
52
|
}
|
|
@@ -63,7 +63,7 @@ var FinancialUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
63
63
|
h = -1 * h;
|
|
64
64
|
}
|
|
65
65
|
else if ((g <= 0) || (h <= 0)) {
|
|
66
|
-
throw new ArgumentException(1, ExcelUtils.
|
|
66
|
+
throw new ArgumentException(1, ExcelUtils.eh("LE_ArgumentException_NPerFunction"));
|
|
67
67
|
}
|
|
68
68
|
var i = a + 1;
|
|
69
69
|
return (Math.log(g) - Math.log(h)) / Math.log(i);
|
|
@@ -71,7 +71,7 @@ var FinancialUtils = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
71
71
|
FinancialUtils.d = function (a, b, c, d, e) {
|
|
72
72
|
var f;
|
|
73
73
|
if (b == 0) {
|
|
74
|
-
throw new ArgumentException(2, ExcelUtils.
|
|
74
|
+
throw new ArgumentException(2, ExcelUtils.eh("LE_ArgumentException_NPer"), "nPer");
|
|
75
75
|
}
|
|
76
76
|
if (a == 0) {
|
|
77
77
|
return (-d - c) / b;
|
package/esm5/lib/GradientStop.js
CHANGED
|
@@ -65,7 +65,7 @@ var GradientStop = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
65
65
|
b = null;
|
|
66
66
|
}
|
|
67
67
|
if (a < 0 || a > 1) {
|
|
68
|
-
var c = ExcelUtils.
|
|
68
|
+
var c = ExcelUtils.eh("LE_GradientStop_InvalidPosition");
|
|
69
69
|
throw new ArgumentOutOfRangeException(2, b, c);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { Type } from "igniteui-webcomponents-core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export var ISheetBackground_$type = /*@__PURE__*/ new Type(null, 'ISheetBackground');
|
|
@@ -69,8 +69,8 @@ var IconSortCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
69
69
|
_this._l = toNullable(Number_$type, null);
|
|
70
70
|
_this._j = 0;
|
|
71
71
|
iconIndex_1 = wrapNullable(Number_$type, iconIndex_1);
|
|
72
|
-
ExcelUtils.
|
|
73
|
-
_this._j = ExcelUtils.
|
|
72
|
+
ExcelUtils.gp(FormatConditionIconSet_$type, iconSet_1);
|
|
73
|
+
_this._j = ExcelUtils.ak(iconSet_1);
|
|
74
74
|
if (nullableEquals(iconIndex_1, null)) {
|
|
75
75
|
_this._l = toNullable(Number_$type, null);
|
|
76
76
|
}
|
|
@@ -94,8 +94,8 @@ var IconSortCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
94
94
|
_this._l = toNullable(Number_$type, null);
|
|
95
95
|
_this._j = 0;
|
|
96
96
|
iconIndex = wrapNullable(Number_$type, iconIndex);
|
|
97
|
-
ExcelUtils.
|
|
98
|
-
_this._j = ExcelUtils.
|
|
97
|
+
ExcelUtils.gp(FormatConditionIconSet_$type, iconSet);
|
|
98
|
+
_this._j = ExcelUtils.ak(iconSet);
|
|
99
99
|
if (nullableEquals(iconIndex, null)) {
|
|
100
100
|
_this._l = toNullable(Number_$type, null);
|
|
101
101
|
}
|
|
@@ -123,8 +123,8 @@ var IconSortCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
123
123
|
* @hidden
|
|
124
124
|
*/
|
|
125
125
|
IconSortCondition.prototype._g = function ($t, a, b, c, d, e) {
|
|
126
|
-
var f = ExcelUtils.
|
|
127
|
-
var g = ExcelUtils.
|
|
126
|
+
var f = ExcelUtils.aq(a.a(b, d), this._j, this._l);
|
|
127
|
+
var g = ExcelUtils.aq(a.a(c, e), this._j, this._l);
|
|
128
128
|
if (f == g) {
|
|
129
129
|
return 0;
|
|
130
130
|
}
|
package/esm5/lib/ImageFormat.js
CHANGED
|
@@ -15,8 +15,8 @@ var ImageFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
tslib_1.__extends(ImageFormat, _super);
|
|
16
16
|
function ImageFormat(a) {
|
|
17
17
|
var _this = _super.call(this) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
18
|
+
_this.o = new Guid();
|
|
19
|
+
_this.o = a;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
22
|
ImageFormat.d = function (a) {
|
|
@@ -38,68 +38,70 @@ var ImageFormat = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
38
38
|
b = ImageFormat.f;
|
|
39
39
|
break;
|
|
40
40
|
case "image/png":
|
|
41
|
-
b = ImageFormat.
|
|
41
|
+
b = ImageFormat.h;
|
|
42
42
|
break;
|
|
43
43
|
case "image/tiff":
|
|
44
44
|
case "image/x-tiff":
|
|
45
|
-
b = ImageFormat.
|
|
45
|
+
b = ImageFormat.i;
|
|
46
46
|
break;
|
|
47
47
|
case "windows/metafile":
|
|
48
48
|
case "image/wmf":
|
|
49
|
-
b = ImageFormat.
|
|
49
|
+
b = ImageFormat.j;
|
|
50
50
|
break;
|
|
51
51
|
default: throw new ArgumentException(1, "Unrecognized mediaType:" + a);
|
|
52
52
|
}
|
|
53
53
|
return b;
|
|
54
54
|
};
|
|
55
|
-
ImageFormat.
|
|
55
|
+
ImageFormat.u = function (a) {
|
|
56
56
|
var b = null;
|
|
57
57
|
if (a != null) {
|
|
58
|
-
var c = a.
|
|
59
|
-
if (Guid.l_op_Equality(c, ImageFormat.
|
|
58
|
+
var c = a.o;
|
|
59
|
+
if (Guid.l_op_Equality(c, ImageFormat.r)) {
|
|
60
60
|
b = "image/png";
|
|
61
61
|
}
|
|
62
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
62
|
+
else if (Guid.l_op_Equality(c, ImageFormat.p)) {
|
|
63
63
|
b = "image/jpeg";
|
|
64
64
|
}
|
|
65
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
65
|
+
else if (Guid.l_op_Equality(c, ImageFormat.n)) {
|
|
66
66
|
b = "image/gif";
|
|
67
67
|
}
|
|
68
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
68
|
+
else if (Guid.l_op_Equality(c, ImageFormat.t)) {
|
|
69
69
|
b = "image/wmf";
|
|
70
70
|
}
|
|
71
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
71
|
+
else if (Guid.l_op_Equality(c, ImageFormat.k)) {
|
|
72
72
|
b = "image/bmp";
|
|
73
73
|
}
|
|
74
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
74
|
+
else if (Guid.l_op_Equality(c, ImageFormat.s)) {
|
|
75
75
|
b = "image/tiff";
|
|
76
76
|
}
|
|
77
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
77
|
+
else if (Guid.l_op_Equality(c, ImageFormat.m)) {
|
|
78
78
|
b = "image/emf";
|
|
79
79
|
}
|
|
80
|
-
else if (Guid.l_op_Equality(c, ImageFormat.
|
|
80
|
+
else if (Guid.l_op_Equality(c, ImageFormat.l)) {
|
|
81
81
|
b = "image/dib";
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
return b;
|
|
85
85
|
};
|
|
86
86
|
ImageFormat.$t = markType(ImageFormat, 'ImageFormat');
|
|
87
|
-
ImageFormat.
|
|
88
|
-
ImageFormat.
|
|
89
|
-
ImageFormat.
|
|
90
|
-
ImageFormat.
|
|
91
|
-
ImageFormat.
|
|
92
|
-
ImageFormat.
|
|
93
|
-
ImageFormat.
|
|
94
|
-
ImageFormat.
|
|
95
|
-
ImageFormat.
|
|
96
|
-
ImageFormat.
|
|
97
|
-
ImageFormat.
|
|
98
|
-
ImageFormat.
|
|
99
|
-
ImageFormat.
|
|
100
|
-
ImageFormat.
|
|
101
|
-
ImageFormat.
|
|
102
|
-
ImageFormat.
|
|
87
|
+
ImageFormat.k = new Guid(3, "B96B3CAA-0728-11D3-9D7B-0000F81EF32E");
|
|
88
|
+
ImageFormat.l = new Guid(3, "824CA8E2-A984-4668-8A14-077225372B1C");
|
|
89
|
+
ImageFormat.m = new Guid(3, "B96B3CAC-0728-11D3-9D7B-0000F81EF32E");
|
|
90
|
+
ImageFormat.n = new Guid(3, "1FE88D21-FE3D-4F4A-ABD3-8DBAD86C510A");
|
|
91
|
+
ImageFormat.p = new Guid(3, "0C487171-1412-4D76-B20A-4AEA380FFAA7");
|
|
92
|
+
ImageFormat.q = new Guid(3, "B96b3CAA-0728-11D3-9D7B-0000F81EF32E");
|
|
93
|
+
ImageFormat.r = new Guid(3, "7B369CF6-0507-4F15-ABE8-5768C70D1454");
|
|
94
|
+
ImageFormat.s = new Guid(3, "069B1E5E-A617-4498-AAEA-D71AF8933FD3");
|
|
95
|
+
ImageFormat.t = new Guid(3, "B96B3CAD-0728-11D3-9D7B-0000F81EF32E");
|
|
96
|
+
ImageFormat.a = new ImageFormat(ImageFormat.k);
|
|
97
|
+
ImageFormat.b = new ImageFormat(ImageFormat.l);
|
|
98
|
+
ImageFormat.c = new ImageFormat(ImageFormat.m);
|
|
99
|
+
ImageFormat.e = new ImageFormat(ImageFormat.n);
|
|
100
|
+
ImageFormat.f = new ImageFormat(ImageFormat.p);
|
|
101
|
+
ImageFormat.g = new ImageFormat(ImageFormat.q);
|
|
102
|
+
ImageFormat.h = new ImageFormat(ImageFormat.r);
|
|
103
|
+
ImageFormat.i = new ImageFormat(ImageFormat.s);
|
|
104
|
+
ImageFormat.j = new ImageFormat(ImageFormat.t);
|
|
103
105
|
return ImageFormat;
|
|
104
106
|
}(Base));
|
|
105
107
|
export { ImageFormat };
|
|
@@ -31,7 +31,7 @@ var MultipleCellRKInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
31
|
MultipleCellRKInfo.q = function (a, b, c, d) {
|
|
32
32
|
d = null;
|
|
33
33
|
var e = a._a5(b, c);
|
|
34
|
-
if (ExcelUtils.
|
|
34
|
+
if (ExcelUtils.bb(e) == false) {
|
|
35
35
|
return {
|
|
36
36
|
ret: false,
|
|
37
37
|
p3: d
|
|
@@ -39,7 +39,7 @@ var MultipleCellRKInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
39
39
|
}
|
|
40
40
|
var f = Convert.toDouble4(e, CultureInfo.invariantCulture);
|
|
41
41
|
var g;
|
|
42
|
-
if (((function () { var h = ExcelUtils.
|
|
42
|
+
if (((function () { var h = ExcelUtils.b0(f, g); g = h.p1; return h.ret; })()) == false) {
|
|
43
43
|
return {
|
|
44
44
|
ret: false,
|
|
45
45
|
p3: d
|
|
@@ -34,7 +34,7 @@ var ObjectModelDrawingPartManager_ShapeIdentity = /** @class */ /*@__PURE__*/ (f
|
|
|
34
34
|
else {
|
|
35
35
|
c = "WorksheetShapeSerialization_ShapeName";
|
|
36
36
|
}
|
|
37
|
-
return stringFormat("{0} {1}", ExcelUtils.
|
|
37
|
+
return stringFormat("{0} {1}", ExcelUtils.eh(c), b);
|
|
38
38
|
};
|
|
39
39
|
ObjectModelDrawingPartManager_ShapeIdentity.$t = markType(ObjectModelDrawingPartManager_ShapeIdentity, 'ObjectModelDrawingPartManager_ShapeIdentity');
|
|
40
40
|
return ObjectModelDrawingPartManager_ShapeIdentity;
|
|
@@ -105,9 +105,9 @@ var OrderedSortCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
105
105
|
*/
|
|
106
106
|
OrderedSortCondition._i = function ($t, a, b, c, d) {
|
|
107
107
|
var e;
|
|
108
|
-
var f = ((function () { var g = ExcelUtils.
|
|
108
|
+
var f = ((function () { var g = ExcelUtils.b1(b.workbook, c, e); e = g.p2; return g.ret; })());
|
|
109
109
|
var g;
|
|
110
|
-
var h = ((function () { var i = ExcelUtils.
|
|
110
|
+
var h = ((function () { var i = ExcelUtils.b1(b.workbook, d, g); g = i.p2; return i.ret; })());
|
|
111
111
|
if (f) {
|
|
112
112
|
if (h) {
|
|
113
113
|
return Base.compareSimple(e, g);
|
|
@@ -57,7 +57,7 @@ var PngPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57
57
|
configurable: true
|
|
58
58
|
});
|
|
59
59
|
PngPartManager.prototype.r = function (a) {
|
|
60
|
-
return ImageFormat.
|
|
60
|
+
return ImageFormat.h;
|
|
61
61
|
};
|
|
62
62
|
PngPartManager.$t = markType(PngPartManager, 'PngPartManager', ImagePartManagerBase.$);
|
|
63
63
|
PngPartManager.y = new PngPartManager();
|
|
@@ -57,7 +57,7 @@ var TiffPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57
57
|
configurable: true
|
|
58
58
|
});
|
|
59
59
|
TiffPartManager.prototype.r = function (a) {
|
|
60
|
-
return ImageFormat.
|
|
60
|
+
return ImageFormat.i;
|
|
61
61
|
};
|
|
62
62
|
TiffPartManager.$t = markType(TiffPartManager, 'TiffPartManager', ImagePartManagerBase.$);
|
|
63
63
|
TiffPartManager.y = new TiffPartManager();
|
|
@@ -82,7 +82,7 @@ var UltraCalcConditionalFunctionBase_CriteriaEvaluator = /** @class */ /*@__PURE
|
|
|
82
82
|
else {
|
|
83
83
|
if (stringContains(g_1, "*") || stringContains(g_1, "?")) {
|
|
84
84
|
var i_1;
|
|
85
|
-
_this.g = ((function () { var j = ExcelUtils.
|
|
85
|
+
_this.g = ((function () { var j = ExcelUtils.er(g_1, i_1); i_1 = j.p1; return j.ret; })());
|
|
86
86
|
}
|
|
87
87
|
d = g_1;
|
|
88
88
|
}
|
|
@@ -21,7 +21,7 @@ var UltraCalcFunctionLookupBase = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
21
21
|
}
|
|
22
22
|
UltraCalcFunctionLookupBase._am = function (a, b, c, d, e, f, g) {
|
|
23
23
|
var h = a._getResolvedValue();
|
|
24
|
-
if (ExcelUtils.
|
|
24
|
+
if (ExcelUtils.ba(h)) {
|
|
25
25
|
return toNullable(Number_$type, null);
|
|
26
26
|
}
|
|
27
27
|
if (b) {
|
|
@@ -53,7 +53,7 @@ var UltraCalcFunctionLookupBase = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
53
53
|
};
|
|
54
54
|
UltraCalcFunctionLookupBase._an = function (a) {
|
|
55
55
|
var b;
|
|
56
|
-
return ((function () { var c = ExcelUtils.
|
|
56
|
+
return ((function () { var c = ExcelUtils.er(a, b); b = c.p1; return c.ret; })());
|
|
57
57
|
};
|
|
58
58
|
UltraCalcFunctionLookupBase._al = function (a, b, c) {
|
|
59
59
|
var e_1, _a;
|
|
@@ -87,7 +87,7 @@ var UltraCalcFunctionXBase2Dec = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
87
87
|
_loop_1(l);
|
|
88
88
|
}
|
|
89
89
|
if (0 != k.charCodeAt(0)) {
|
|
90
|
-
f = new ExcelCalcErrorValue(4, ExcelUtils.
|
|
90
|
+
f = new ExcelCalcErrorValue(4, ExcelUtils.ei("Error_InvalidNumberSystemDigit", k, b, c));
|
|
91
91
|
return {
|
|
92
92
|
ret: 0,
|
|
93
93
|
p5: f
|
|
@@ -22,61 +22,61 @@ var WeakWorkbookOwner = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
22
22
|
}
|
|
23
23
|
Object.defineProperty(WeakWorkbookOwner.prototype, "a", {
|
|
24
24
|
get: function () {
|
|
25
|
-
return typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
25
|
+
return typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
26
26
|
},
|
|
27
27
|
enumerable: true,
|
|
28
28
|
configurable: true
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(WeakWorkbookOwner.prototype, "isUndoEnabled", {
|
|
31
31
|
get: function () {
|
|
32
|
-
var a = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
32
|
+
var a = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
33
33
|
return a != null && a.isUndoEnabled;
|
|
34
34
|
},
|
|
35
35
|
enumerable: true,
|
|
36
36
|
configurable: true
|
|
37
37
|
});
|
|
38
38
|
WeakWorkbookOwner.prototype.onCellValueChange = function (a, b) {
|
|
39
|
-
var c = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
39
|
+
var c = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
40
40
|
if (c != null) {
|
|
41
41
|
c.onCellValueChange(a, b);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
WeakWorkbookOwner.prototype._onChange$2$i = function ($tContext, $tValue, a, b, c, d, e) {
|
|
45
|
-
var f = ExcelUtils.
|
|
45
|
+
var f = ExcelUtils.d0(this.b);
|
|
46
46
|
if (f != null) {
|
|
47
47
|
f._onChange$2$i($tContext, $tValue, a, b, c, d, e);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
WeakWorkbookOwner.prototype.onConditionalFormatChange = function (a) {
|
|
51
|
-
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
51
|
+
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
52
52
|
if (b != null) {
|
|
53
53
|
b.onConditionalFormatChange(a);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
WeakWorkbookOwner.prototype.onCustomViewApplied = function (a) {
|
|
57
|
-
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
57
|
+
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
58
58
|
if (b != null) {
|
|
59
59
|
b.onCustomViewApplied(a);
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
WeakWorkbookOwner.prototype.onSheetRemoving = function (a) {
|
|
63
|
-
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
63
|
+
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
64
64
|
if (b != null) {
|
|
65
65
|
b.onSheetRemoving(a);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
WeakWorkbookOwner.prototype.onTransactionalChangeBegin = function (a, b) {
|
|
69
|
-
var c = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
69
|
+
var c = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
70
70
|
return c != null ? c.onTransactionalChangeBegin(a, b) : null;
|
|
71
71
|
};
|
|
72
72
|
WeakWorkbookOwner.prototype.onTransactionalChangeEnd = function (a) {
|
|
73
|
-
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
73
|
+
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
74
74
|
if (b != null) {
|
|
75
75
|
b.onTransactionalChangeEnd(a);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
WeakWorkbookOwner.prototype.onTransactionalChangeRollback = function (a) {
|
|
79
|
-
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.
|
|
79
|
+
var b = typeCast(IWorkbookOwner_$type, ExcelUtils.d0(this.b));
|
|
80
80
|
if (b != null) {
|
|
81
81
|
b.onTransactionalChangeRollback(a);
|
|
82
82
|
}
|
|
@@ -57,7 +57,7 @@ var WmfPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57
57
|
configurable: true
|
|
58
58
|
});
|
|
59
59
|
WmfPartManager.prototype.r = function (a) {
|
|
60
|
-
return ImageFormat.
|
|
60
|
+
return ImageFormat.j;
|
|
61
61
|
};
|
|
62
62
|
WmfPartManager.$t = markType(WmfPartManager, 'WmfPartManager', ImagePartManagerBase.$);
|
|
63
63
|
WmfPartManager.y = new WmfPartManager();
|
|
@@ -30,7 +30,7 @@ var WorkbookLoadManagerExcel2007_FontCollection = /** @class */ /*@__PURE__*/ (f
|
|
|
30
30
|
};
|
|
31
31
|
WorkbookLoadManagerExcel2007_FontCollection.prototype.e = function () {
|
|
32
32
|
var a = null;
|
|
33
|
-
if (ExcelUtils.
|
|
33
|
+
if (ExcelUtils.az) {
|
|
34
34
|
var b = this.b.tryGetValue("jpan", a);
|
|
35
35
|
a = b.p1;
|
|
36
36
|
}
|
|
@@ -27,10 +27,10 @@ var WorkbookLoadManagerExcel2007_ShapeAnchorApplicator = /** @class */ /*@__PURE
|
|
|
27
27
|
var d = b.d;
|
|
28
28
|
d.positioningMode = 3;
|
|
29
29
|
if (a.c == null || a.d == null) {
|
|
30
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
30
|
+
d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
|
|
31
31
|
return false;
|
|
32
32
|
}
|
|
33
|
-
var e = ExcelUtils.
|
|
33
|
+
var e = ExcelUtils.hf(truncate(MathUtilities.f(a.c.a.k())), truncate(MathUtilities.f(a.c.b.k())), truncate(MathUtilities.f(a.d.a.j())), truncate(MathUtilities.f(a.d.b.j())));
|
|
34
34
|
d._setBoundsInTwips(c, e);
|
|
35
35
|
return true;
|
|
36
36
|
};
|
|
@@ -39,17 +39,17 @@ var WorkbookLoadManagerExcel2007_ShapeAnchorApplicator = /** @class */ /*@__PURE
|
|
|
39
39
|
var d = b.d;
|
|
40
40
|
d.positioningMode = 2;
|
|
41
41
|
if (a.d == null || a.c == null) {
|
|
42
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
42
|
+
d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
|
|
43
43
|
return false;
|
|
44
44
|
}
|
|
45
45
|
else if (c.type != 0) {
|
|
46
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
46
|
+
d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
|
|
47
47
|
return false;
|
|
48
48
|
}
|
|
49
49
|
var e = c;
|
|
50
50
|
var f = XlsxUtilities.bf(a.d, e);
|
|
51
51
|
var g = WorksheetShape._ds(e, f.c, f.d, f.c, f.d);
|
|
52
|
-
var h = ExcelUtils.
|
|
52
|
+
var h = ExcelUtils.hf(truncate(MathUtilities.f(g.left)), truncate(MathUtilities.f(g.top)), truncate(MathUtilities.f(a.c.a.j())), truncate(MathUtilities.f(a.c.b.j())));
|
|
53
53
|
d._setBoundsInTwips(e, h);
|
|
54
54
|
return true;
|
|
55
55
|
};
|
|
@@ -58,11 +58,11 @@ var WorkbookLoadManagerExcel2007_ShapeAnchorApplicator = /** @class */ /*@__PURE
|
|
|
58
58
|
var d = b.d;
|
|
59
59
|
d.positioningMode = XlsxUtilities.x(a.e);
|
|
60
60
|
if (a.c == null || a.d == null) {
|
|
61
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
61
|
+
d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
|
|
62
62
|
return false;
|
|
63
63
|
}
|
|
64
64
|
else if (c.type != 0) {
|
|
65
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
65
|
+
d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
|
|
66
66
|
return false;
|
|
67
67
|
}
|
|
68
68
|
var e = c;
|