igniteui-webcomponents-excel 4.7.0 → 4.7.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-excel.umd.js +1505 -1353
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AlignmentInfo.js +4 -4
- package/esm2015/lib/BiffRecordStream.js +7 -7
- package/esm2015/lib/CellFormatValue.js +1 -1
- package/esm2015/lib/ConditionalFormattingUtils.js +1 -1
- package/esm2015/lib/DefaultStyleHelper_combined.js +1206 -1111
- package/esm2015/lib/DomTextMetricsProvider.js +8 -8
- package/esm2015/lib/JapaneseCalendar.js +1 -1
- package/esm2015/lib/LegacyShapeData.js +4 -4
- package/esm2015/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeTypeCreator.js +1 -1
- package/esm2015/lib/ObjectModelVmlDrawingPartManager_UpdateLegacyShapeData.js +1 -1
- package/esm2015/lib/PackagePart_combined.js +1 -1
- package/esm2015/lib/ProtectionInfo.js +8 -5
- package/esm2015/lib/SgmlReader.js +1 -1
- package/esm2015/lib/UltraCalcFunctionCell.js +3 -3
- package/esm2015/lib/UltraCalcFunctionComplex.js +1 -1
- package/esm2015/lib/UltraCalcFunctionDateDiff.js +1 -1
- package/esm2015/lib/UltraCalcFunctionHLookup.js +1 -1
- package/esm2015/lib/UltraCalcFunctionLookup.js +1 -1
- package/esm2015/lib/UltraCalcFunctionMatch.js +1 -1
- package/esm2015/lib/UltraCalcFunctionRoman.js +1 -1
- package/esm2015/lib/UltraCalcFunctionText.js +1 -1
- package/esm2015/lib/UltraCalcFunctionUSDollar.js +1 -1
- package/esm2015/lib/UltraCalcFunctionVLookup.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +31 -31
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +204 -182
- package/esm2015/lib/XlsxUtilities_combined.js +2 -2
- package/esm5/lib/AlignmentInfo.js +4 -4
- package/esm5/lib/BiffRecordStream.js +7 -7
- package/esm5/lib/CellFormatValue.js +1 -1
- package/esm5/lib/ConditionalFormattingUtils.js +1 -1
- package/esm5/lib/DefaultStyleHelper_combined.js +1232 -1105
- package/esm5/lib/DomTextMetricsProvider.js +8 -8
- package/esm5/lib/JapaneseCalendar.js +1 -1
- package/esm5/lib/LegacyShapeData.js +4 -4
- package/esm5/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeTypeCreator.js +1 -1
- package/esm5/lib/ObjectModelVmlDrawingPartManager_UpdateLegacyShapeData.js +1 -1
- package/esm5/lib/PackagePart_combined.js +1 -1
- package/esm5/lib/ProtectionInfo.js +8 -5
- package/esm5/lib/SgmlReader.js +1 -1
- package/esm5/lib/UltraCalcFunctionCell.js +3 -3
- package/esm5/lib/UltraCalcFunctionComplex.js +1 -1
- package/esm5/lib/UltraCalcFunctionDateDiff.js +1 -1
- package/esm5/lib/UltraCalcFunctionHLookup.js +1 -1
- package/esm5/lib/UltraCalcFunctionLookup.js +1 -1
- package/esm5/lib/UltraCalcFunctionMatch.js +1 -1
- package/esm5/lib/UltraCalcFunctionRoman.js +1 -1
- package/esm5/lib/UltraCalcFunctionText.js +1 -1
- package/esm5/lib/UltraCalcFunctionUSDollar.js +1 -1
- package/esm5/lib/UltraCalcFunctionVLookup.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +31 -31
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +204 -182
- package/esm5/lib/XlsxUtilities_combined.js +2 -2
- package/fesm2015/igniteui-webcomponents-excel.js +1479 -1359
- package/fesm5/igniteui-webcomponents-excel.js +1505 -1353
- package/lib/BiffRecordStream.d.ts +2 -2
- package/lib/CellFormatValue.d.ts +5 -4
- package/lib/DefaultStyleHelper_combined.d.ts +249 -228
- package/lib/DomTextMetricsProvider.d.ts +1 -1
- package/lib/JapaneseCalendar.d.ts +1 -1
- package/lib/WorkbookLoadManagerExcel2007_combined.d.ts +5 -5
- package/lib/WorkbookSaveManagerExcel2003_combined.d.ts +3 -3
- package/package.json +2 -2
|
@@ -9,9 +9,9 @@ import { TextMetricsProviderBase } from "./TextMetricsProviderBase";
|
|
|
9
9
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
10
10
|
import { WorksheetCellFormatData } from "./WorksheetCellFormatData";
|
|
11
11
|
import { CellFormatCache } from "./CellFormatCache";
|
|
12
|
+
import { toNullable, markType } from "igniteui-webcomponents-core";
|
|
12
13
|
import { MathUtilities } from "./MathUtilities";
|
|
13
14
|
import { Size } from "igniteui-webcomponents-core";
|
|
14
|
-
import { toNullable, markType } from "igniteui-webcomponents-core";
|
|
15
15
|
import { intDivide } from "igniteui-webcomponents-core";
|
|
16
16
|
import { nullableEquals } from "igniteui-webcomponents-core";
|
|
17
17
|
import { stringReplace } from "igniteui-webcomponents-core";
|
|
@@ -66,7 +66,7 @@ var DomTextMetricsProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
66
66
|
if (b) {
|
|
67
67
|
this._j = this._m();
|
|
68
68
|
}
|
|
69
|
-
this._j.setStyleProperty("font-family", a.
|
|
69
|
+
this._j.setStyleProperty("font-family", a._dh);
|
|
70
70
|
this._j.setStyleProperty("font-size", ((intDivide(a._cq, 20)) + "pt"));
|
|
71
71
|
if (b) {
|
|
72
72
|
this._j.setText("0");
|
|
@@ -114,13 +114,13 @@ var DomTextMetricsProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
114
114
|
a._as.d = g;
|
|
115
115
|
a._as.e = f;
|
|
116
116
|
var h = "";
|
|
117
|
-
if (nullableEquals(a.
|
|
117
|
+
if (nullableEquals(a._c4, true)) {
|
|
118
118
|
h += "italic ";
|
|
119
119
|
}
|
|
120
|
-
if (nullableEquals(a.
|
|
120
|
+
if (nullableEquals(a._c3, true)) {
|
|
121
121
|
h += "bold ";
|
|
122
122
|
}
|
|
123
|
-
h += (intDivide(a._cq, 20)) + "pt \"" + a.
|
|
123
|
+
h += (intDivide(a._cq, 20)) + "pt \"" + a._dh + "\"";
|
|
124
124
|
f.font = h;
|
|
125
125
|
}
|
|
126
126
|
if (!a._as.b) {
|
|
@@ -170,14 +170,14 @@ var DomTextMetricsProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
170
170
|
b.setStyleProperty("position", "relative");
|
|
171
171
|
b.setStyleProperty("display", "block");
|
|
172
172
|
b.setStyleProperty("visibility", "hidden");
|
|
173
|
-
b.setStyleProperty("font-family", a.
|
|
173
|
+
b.setStyleProperty("font-family", a._dh);
|
|
174
174
|
b.setStyleProperty("font-size", ((intDivide(a._cq, 20)) + "pt"));
|
|
175
175
|
b.setStyleProperty("white-space", (c ? "pre-wrap" : "pre"));
|
|
176
176
|
b.setStyleProperty("overflow-wrap", (c ? "break-word" : "normal"));
|
|
177
177
|
b.setStyleProperty("word-wrap", (c ? "break-word" : "normal"));
|
|
178
178
|
b.setStyleProperty("text-decoration", (a._a1 != 0 ? "underline" : "none"));
|
|
179
|
-
b.setStyleProperty("font-weight", (nullableEquals(a.
|
|
180
|
-
b.setStyleProperty("font-style", (nullableEquals(a.
|
|
179
|
+
b.setStyleProperty("font-weight", (nullableEquals(a._c3, true) ? "bold" : "normal"));
|
|
180
|
+
b.setStyleProperty("font-style", (nullableEquals(a._c4, true) ? "italic" : "normal"));
|
|
181
181
|
return b;
|
|
182
182
|
};
|
|
183
183
|
DomTextMetricsProvider.$t = markType(DomTextMetricsProvider, 'DomTextMetricsProvider', TextMetricsProviderBase.$);
|
|
@@ -6,9 +6,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { Calendar } from "igniteui-webcomponents-core";
|
|
9
|
-
import { callStaticConstructors, markType } from "igniteui-webcomponents-core";
|
|
10
9
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
11
10
|
import { CalendarEraInfo } from "./CalendarEraInfo";
|
|
11
|
+
import { callStaticConstructors, markType } from "igniteui-webcomponents-core";
|
|
12
12
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
13
13
|
import { ArgumentOutOfRangeException } from "igniteui-webcomponents-core";
|
|
14
14
|
import { dateFromValues } from "igniteui-webcomponents-core";
|
|
@@ -91,16 +91,16 @@ var LegacyShapeData = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
91
91
|
this.a[2] = a._ah.o;
|
|
92
92
|
this.a[4] = a._ad.m;
|
|
93
93
|
this.a[6] = a._ad.o;
|
|
94
|
-
var c = b.
|
|
94
|
+
var c = b._fq(a._ah.m, true);
|
|
95
95
|
var d = ((c * a._topLeftCornerPosition$i.x) / 100);
|
|
96
96
|
this.a[1] = truncate(MathUtilities.f(d));
|
|
97
|
-
var e = b.
|
|
97
|
+
var e = b._ft(a._ah.o, true);
|
|
98
98
|
var f = ((e * a._topLeftCornerPosition$i.y) / 100);
|
|
99
99
|
this.a[3] = truncate(MathUtilities.f(f));
|
|
100
|
-
var g = b.
|
|
100
|
+
var g = b._fq(a._ad.m, true);
|
|
101
101
|
var h = ((g * a._bottomRightCornerPosition$i.x) / 100);
|
|
102
102
|
this.a[5] = truncate(MathUtilities.f(h));
|
|
103
|
-
var i = b.
|
|
103
|
+
var i = b._ft(a._ad.o, true);
|
|
104
104
|
var j = ((i * a._bottomRightCornerPosition$i.y) / 100);
|
|
105
105
|
this.a[7] = truncate(MathUtilities.f(j));
|
|
106
106
|
};
|
|
@@ -8,8 +8,8 @@ import { __extends } from "tslib";
|
|
|
8
8
|
import { Base, enumGetBox, Boolean_$type, markType, EnumUtil } from "igniteui-webcomponents-core";
|
|
9
9
|
import { IEG_GeometryVisitor$2_$type } from "./IEG_GeometryVisitor$2";
|
|
10
10
|
import { WorksheetShape } from "./WorksheetShape";
|
|
11
|
-
import { PredefinedShapeType_$type } from "./PredefinedShapeType";
|
|
12
11
|
import { UnknownShape } from "./UnknownShape";
|
|
12
|
+
import { PredefinedShapeType_$type } from "./PredefinedShapeType";
|
|
13
13
|
import { nullableNotEquals } from "igniteui-webcomponents-core";
|
|
14
14
|
/**
|
|
15
15
|
* @hidden
|
|
@@ -32,7 +32,7 @@ var ObjectModelVmlDrawingPartManager_UpdateLegacyShapeData = /** @class */ /*@__
|
|
|
32
32
|
}
|
|
33
33
|
b.s = toNullable(Boolean_$type, c._ec(a.cell._ab));
|
|
34
34
|
b.t = toNullable(Number_$type, a.cell._ab);
|
|
35
|
-
b.ai = toNullable(Boolean_$type, c.
|
|
35
|
+
b.ai = toNullable(Boolean_$type, c._eh(a.cell.rowIndex));
|
|
36
36
|
b.ah = toNullable(Number_$type, a.cell.rowIndex);
|
|
37
37
|
b.k = true;
|
|
38
38
|
b.z = toNullable(ST_InsetMode_$type, 0);
|
|
@@ -16,6 +16,7 @@ import { MemoryStream } from "igniteui-webcomponents-core";
|
|
|
16
16
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
17
17
|
import { IOPath } from "igniteui-webcomponents-core";
|
|
18
18
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
19
|
+
import { XmlTextReader } from "igniteui-webcomponents-core";
|
|
19
20
|
import { WorkItemExtensions } from "./WorkItemExtensions";
|
|
20
21
|
import { RelationshipTargetMode_$type } from "./RelationshipTargetMode";
|
|
21
22
|
import { PackageRelationship } from "./PackageRelationship";
|
|
@@ -26,7 +27,6 @@ import { PackagePartExposedStream } from "./PackagePartExposedStream";
|
|
|
26
27
|
import { DocCoreExtensions } from "./DocCoreExtensions";
|
|
27
28
|
import { Enumerable } from "igniteui-webcomponents-core";
|
|
28
29
|
import { Async } from "./Async";
|
|
29
|
-
import { XmlTextReader } from "igniteui-webcomponents-core";
|
|
30
30
|
import { stringReplace, stringIsNullOrEmpty } from "igniteui-webcomponents-core";
|
|
31
31
|
import { StringComparer } from "igniteui-webcomponents-core";
|
|
32
32
|
import { ZipFile } from "./ZipFile";
|
|
@@ -58,18 +58,21 @@ var ProtectionInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
58
58
|
});
|
|
59
59
|
ProtectionInfo.prototype.k = function (a) {
|
|
60
60
|
a._locked$i = XlsxUtilities.a9(this.j);
|
|
61
|
+
a._hidden$i = XlsxUtilities.a9(this.h);
|
|
61
62
|
};
|
|
62
63
|
ProtectionInfo.a = function (a) {
|
|
63
64
|
return ProtectionInfo.b(a, false);
|
|
64
65
|
};
|
|
65
66
|
ProtectionInfo.b = function (a, b) {
|
|
66
|
-
var c = a.
|
|
67
|
-
|
|
67
|
+
var c = a._c7;
|
|
68
|
+
var d = a._c6;
|
|
69
|
+
if (b == false && nullableEquals(c, true) && nullableEquals(d, false)) {
|
|
68
70
|
return null;
|
|
69
71
|
}
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
var e = new ProtectionInfo();
|
|
73
|
+
e.j = toNullable(Boolean_$type, (nullableEquals(c, true)));
|
|
74
|
+
e.h = toNullable(Boolean_$type, (nullableEquals(d, true)));
|
|
75
|
+
return e;
|
|
73
76
|
};
|
|
74
77
|
ProtectionInfo.d = function (a, b) {
|
|
75
78
|
if (Base.referenceEquals(a, null) && Base.referenceEquals(b, null)) {
|
package/esm5/lib/SgmlReader.js
CHANGED
|
@@ -60,8 +60,8 @@ import { StringUtilitiesSgml } from "./StringUtilitiesSgml";
|
|
|
60
60
|
import { HWStack } from "./HWStack";
|
|
61
61
|
import { NameTable } from "igniteui-webcomponents-core";
|
|
62
62
|
import { XmlNamespaceManager } from "igniteui-webcomponents-core";
|
|
63
|
-
import { Entity } from "./Entity";
|
|
64
63
|
import { markType } from "igniteui-webcomponents-core";
|
|
64
|
+
import { Entity } from "./Entity";
|
|
65
65
|
import { StringBuilder } from "igniteui-webcomponents-core";
|
|
66
66
|
import { IndexOutOfRangeException } from "igniteui-webcomponents-core";
|
|
67
67
|
import { InvalidOperationException } from "igniteui-webcomponents-core";
|
|
@@ -185,7 +185,7 @@ var UltraCalcFunctionCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
185
185
|
}
|
|
186
186
|
break;
|
|
187
187
|
case "protect":
|
|
188
|
-
m = nullableEquals(s.
|
|
188
|
+
m = nullableEquals(s._c7, false) ? 0 : 1;
|
|
189
189
|
break;
|
|
190
190
|
default:
|
|
191
191
|
case "format":
|
|
@@ -210,8 +210,8 @@ var UltraCalcFunctionCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
210
210
|
m = new ExcelCalcErrorValue(3);
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
|
-
var ab = h.
|
|
214
|
-
m = MathUtilities.f(h.
|
|
213
|
+
var ab = h._fq(j, false);
|
|
214
|
+
m = MathUtilities.f(h._fo(ab));
|
|
215
215
|
}
|
|
216
216
|
break;
|
|
217
217
|
}
|
|
@@ -7,9 +7,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
+
import { UltraCalcFunctionComplex_ComplexNumber } from "./UltraCalcFunctionComplex_ComplexNumber";
|
|
10
11
|
import { markType } from "igniteui-webcomponents-core";
|
|
11
12
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
|
-
import { UltraCalcFunctionComplex_ComplexNumber } from "./UltraCalcFunctionComplex_ComplexNumber";
|
|
13
13
|
import { stringCompare1 } from "igniteui-webcomponents-core";
|
|
14
14
|
/**
|
|
15
15
|
* @hidden
|
|
@@ -7,8 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
-
import { markType } from "igniteui-webcomponents-core";
|
|
11
10
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
12
12
|
import { CalcManagerUtilities } from "./CalcManagerUtilities";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -7,8 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
10
|
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
11
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
12
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
13
13
|
import { truncate } from "igniteui-webcomponents-core";
|
|
14
14
|
/**
|
|
@@ -7,8 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
10
|
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
11
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
12
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -7,9 +7,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
+
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
10
11
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
12
|
import { MathUtilities } from "./MathUtilities";
|
|
12
|
-
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
13
13
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
14
14
|
import { truncate } from "igniteui-webcomponents-core";
|
|
15
15
|
/**
|
|
@@ -7,9 +7,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
+
import { UltraCalcFunctionRoman_RomanNumeral } from "./UltraCalcFunctionRoman_RomanNumeral";
|
|
10
11
|
import { typeCast, Boolean_$type, markType } from "igniteui-webcomponents-core";
|
|
11
12
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
|
-
import { UltraCalcFunctionRoman_RomanNumeral } from "./UltraCalcFunctionRoman_RomanNumeral";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
@@ -9,8 +9,8 @@ import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
|
9
9
|
import { Regex } from "igniteui-webcomponents-core";
|
|
10
10
|
import { toNullable, Number_$type, markType } from "igniteui-webcomponents-core";
|
|
11
11
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
12
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
13
12
|
import { ValueFormatter } from "./ValueFormatter";
|
|
13
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
14
14
|
import { StringUtilities } from "./StringUtilities";
|
|
15
15
|
import { dateTryParse } from "igniteui-webcomponents-core";
|
|
16
16
|
import { tryParseInt32_1 } from "igniteui-webcomponents-core";
|
|
@@ -7,8 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
-
import { MathUtilities } from "./MathUtilities";
|
|
11
10
|
import { ValueFormatter } from "./ValueFormatter";
|
|
11
|
+
import { MathUtilities } from "./MathUtilities";
|
|
12
12
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
13
13
|
import { markType } from "igniteui-webcomponents-core";
|
|
14
14
|
import { stringFormat } from "igniteui-webcomponents-core";
|
|
@@ -7,8 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
9
9
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
10
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
10
|
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
11
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
12
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
13
13
|
import { truncate } from "igniteui-webcomponents-core";
|
|
14
14
|
/**
|
|
@@ -49,8 +49,8 @@ import { ProtectionInfo } from "./ProtectionInfo";
|
|
|
49
49
|
import { AlignmentInfo } from "./AlignmentInfo";
|
|
50
50
|
import { WorksheetCellFormatData } from "./WorksheetCellFormatData";
|
|
51
51
|
import { WorkbookStyle } from "./WorkbookStyle";
|
|
52
|
-
import { IWorkbookFontDefaultsResolver_$type } from "./IWorkbookFontDefaultsResolver";
|
|
53
52
|
import { WorkbookFontData } from "./WorkbookFontData";
|
|
53
|
+
import { IWorkbookFontDefaultsResolver_$type } from "./IWorkbookFontDefaultsResolver";
|
|
54
54
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
55
55
|
import { WorkbookStyleCollection } from "./WorkbookStyleCollection";
|
|
56
56
|
import { IWorkbookFont_$type } from "./IWorkbookFont";
|
|
@@ -59,8 +59,8 @@ import { nullableNotEquals, nullableEquals, nullableLessThan, nullableIsNull, un
|
|
|
59
59
|
import { stringFormat, stringCompare3, stringInsert, stringSplit, stringEquals1 } from "igniteui-webcomponents-core";
|
|
60
60
|
import { PartManagerBase } from "./PartManagerBase";
|
|
61
61
|
import { CT_AbsoluteAnchor } from "./CT_AbsoluteAnchor";
|
|
62
|
-
import { CT_TwoCellAnchor } from "./CT_TwoCellAnchor";
|
|
63
62
|
import { WorksheetShape } from "./WorksheetShape";
|
|
63
|
+
import { CT_TwoCellAnchor } from "./CT_TwoCellAnchor";
|
|
64
64
|
import { SpreadsheetMLMain } from "./SpreadsheetMLMain";
|
|
65
65
|
import { XlsxUtilities } from "./XlsxUtilities";
|
|
66
66
|
import { EG_Anchor } from "./EG_Anchor";
|
|
@@ -210,8 +210,8 @@ import { CustomViewCollection } from "./CustomViewCollection";
|
|
|
210
210
|
import { DisplayOptions } from "./DisplayOptions";
|
|
211
211
|
import { ObjectModelWorksheetPartManager_DVInfo } from "./ObjectModelWorksheetPartManager_DVInfo";
|
|
212
212
|
import { DataValidationRule } from "./DataValidationRule";
|
|
213
|
-
import { AnyValueDataValidationRule } from "./AnyValueDataValidationRule";
|
|
214
213
|
import { ListDataValidationRule } from "./ListDataValidationRule";
|
|
214
|
+
import { AnyValueDataValidationRule } from "./AnyValueDataValidationRule";
|
|
215
215
|
import { CustomDataValidationRule } from "./CustomDataValidationRule";
|
|
216
216
|
import { TwoConstraintDataValidationRule } from "./TwoConstraintDataValidationRule";
|
|
217
217
|
import { OneConstraintDataValidationRule } from "./OneConstraintDataValidationRule";
|
|
@@ -335,14 +335,14 @@ import { ST_StyleEntryModifierList } from "./ST_StyleEntryModifierList";
|
|
|
335
335
|
import { ST_FontCollectionIndex_$type } from "./ST_FontCollectionIndex";
|
|
336
336
|
import { ST_PresetMaterialType_$type } from "./ST_PresetMaterialType";
|
|
337
337
|
import { DrawingMLMain } from "./DrawingMLMain";
|
|
338
|
+
import { CT_GroupFillProperties } from "./CT_GroupFillProperties";
|
|
339
|
+
import { CT_NoFillProperties } from "./CT_NoFillProperties";
|
|
338
340
|
import { ST_PresetPatternVal_$type } from "./ST_PresetPatternVal";
|
|
339
341
|
import { ST_BlackWhiteMode_$type } from "./ST_BlackWhiteMode";
|
|
340
342
|
import { ST_ColorSchemeIndex_$type } from "./ST_ColorSchemeIndex";
|
|
341
343
|
import { CT_PresetTextShape } from "./CT_PresetTextShape";
|
|
342
344
|
import { CT_TextSpacingPercent } from "./CT_TextSpacingPercent";
|
|
343
345
|
import { CT_TextSpacingPoint } from "./CT_TextSpacingPoint";
|
|
344
|
-
import { CT_NoFillProperties } from "./CT_NoFillProperties";
|
|
345
|
-
import { CT_GroupFillProperties } from "./CT_GroupFillProperties";
|
|
346
346
|
import { CT_AlphaOutsetEffect } from "./CT_AlphaOutsetEffect";
|
|
347
347
|
import { CT_EffectReference } from "./CT_EffectReference";
|
|
348
348
|
import { CT_LuminanceEffect } from "./CT_LuminanceEffect";
|
|
@@ -1335,7 +1335,7 @@ var FormatInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1335
1335
|
var v = a._bg._inner[this.r.value];
|
|
1336
1336
|
v.h(e, a);
|
|
1337
1337
|
}
|
|
1338
|
-
e.
|
|
1338
|
+
e._dv(f);
|
|
1339
1339
|
return e;
|
|
1340
1340
|
};
|
|
1341
1341
|
FormatInfo.$t = markType(FormatInfo, 'FormatInfo');
|
|
@@ -4826,7 +4826,7 @@ var SparklineExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4826
4826
|
}
|
|
4827
4827
|
}
|
|
4828
4828
|
e = b.c;
|
|
4829
|
-
var i = Worksheet.
|
|
4829
|
+
var i = Worksheet._fi;
|
|
4830
4830
|
try {
|
|
4831
4831
|
var j = ExcelUtils.t(e, c, g.firstRow, g._v, 1, "dataRange", "LE_InvalidRegion", i, d);
|
|
4832
4832
|
var k = null;
|
|
@@ -5143,7 +5143,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5143
5143
|
var i = new SheetRelationships();
|
|
5144
5144
|
var j = b;
|
|
5145
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.
|
|
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._g4 != null, function () { return WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, b._g4), 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._ez(), function (l) { return c._j(ObjectModelPivotTablePartManager.ba, l); }); }), function () { return _this.bd(d, i); });
|
|
5147
5147
|
};
|
|
5148
5148
|
ObjectModelWorksheetPartManager.prototype.ai = function (a) {
|
|
5149
5149
|
switch (a) {
|
|
@@ -5303,11 +5303,11 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5303
5303
|
var r = b.b[7];
|
|
5304
5304
|
a.topLeftCornerCell = this.bl._rows$i.item(m)._cells$i.item(k);
|
|
5305
5305
|
a.bottomRightCornerCell = this.bl._rows$i.item(q)._cells$i.item(o);
|
|
5306
|
-
var s = this.bl.
|
|
5307
|
-
var t = this.bl.
|
|
5306
|
+
var s = this.bl._fq(k, true);
|
|
5307
|
+
var t = this.bl._ft(m, true);
|
|
5308
5308
|
a._topLeftCornerPosition$i = ExcelUtils.hc((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
|
|
5309
|
-
var u = this.bl.
|
|
5310
|
-
var v = this.bl.
|
|
5309
|
+
var u = this.bl._fq(o, true);
|
|
5310
|
+
var v = this.bl._ft(q, true);
|
|
5311
5311
|
a._bottomRightCornerPosition$i = ExcelUtils.hc((u == 0 ? 0 : (100 * p) / u), (v == 0 ? 0 : (100 * r) / v));
|
|
5312
5312
|
var w = ObjectModelWorksheetPartManager.by(b);
|
|
5313
5313
|
if (nullableNotEquals(w, null)) {
|
|
@@ -5554,7 +5554,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
5554
5554
|
if (o == false) {
|
|
5555
5555
|
return;
|
|
5556
5556
|
}
|
|
5557
|
-
this.bl.
|
|
5557
|
+
this.bl._hx((a - 1), (b - 1), n, e, i, p, g);
|
|
5558
5558
|
};
|
|
5559
5559
|
ObjectModelWorksheetPartManager.cw = function (a) {
|
|
5560
5560
|
};
|
|
@@ -6484,7 +6484,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6484
6484
|
if (m) {
|
|
6485
6485
|
ac._an = m;
|
|
6486
6486
|
}
|
|
6487
|
-
r.
|
|
6487
|
+
r._h3(ac, r._getRegion1(f, 1));
|
|
6488
6488
|
ac._bp(c, b.bv);
|
|
6489
6489
|
if (nullableNotEquals(n, null)) {
|
|
6490
6490
|
b.bs.addItem(n.value, c._ar(b.bv));
|
|
@@ -6857,7 +6857,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6857
6857
|
var f = PackageUtilities.ak(d).originalString;
|
|
6858
6858
|
var g;
|
|
6859
6859
|
if (((function () { var h = c._b7._a5.tryGetValue(f, g); g = h.p1; return h.ret; })())) {
|
|
6860
|
-
this.bl.
|
|
6860
|
+
this.bl._g4 = new LegacyDrawingHFInfo(g, e);
|
|
6861
6861
|
c._b7._a5.removeItem(f);
|
|
6862
6862
|
}
|
|
6863
6863
|
else {
|
|
@@ -6915,7 +6915,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
6915
6915
|
b = e.p2;
|
|
6916
6916
|
c = e.p3;
|
|
6917
6917
|
d = e.p4;
|
|
6918
|
-
this.bl.
|
|
6918
|
+
this.bl._en = b;
|
|
6919
6919
|
this.bl.displayOptions._showExpansionIndicatorBelowGroupedRows$i = XlsxUtilities.a8(b);
|
|
6920
6920
|
this.bl.displayOptions._showExpansionIndicatorToRightOfGroupedColumns$i = XlsxUtilities.a8(c);
|
|
6921
6921
|
this.bl.displayOptions.showOutlineSymbols = d;
|
|
@@ -7263,7 +7263,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7263
7263
|
else if (this.bl._d4) {
|
|
7264
7264
|
o._bz = g;
|
|
7265
7265
|
if (this.bw >= 0) {
|
|
7266
|
-
o._cm = this.bl.
|
|
7266
|
+
o._cm = this.bl._gq;
|
|
7267
7267
|
}
|
|
7268
7268
|
}
|
|
7269
7269
|
o._b1 = k;
|
|
@@ -7370,7 +7370,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7370
7370
|
for (var _1 = __values(fromEnum(this.bl._rows$i._m(0, this.bw))), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
7371
7371
|
var a = _2.value;
|
|
7372
7372
|
if (!a._bz) {
|
|
7373
|
-
a._cm = this.bl.
|
|
7373
|
+
a._cm = this.bl._gq;
|
|
7374
7374
|
}
|
|
7375
7375
|
}
|
|
7376
7376
|
}
|
|
@@ -7415,11 +7415,11 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7415
7415
|
i = j.p9;
|
|
7416
7416
|
if (nullableNotEquals(c, null)) {
|
|
7417
7417
|
this.bl._d7 = true;
|
|
7418
|
-
this.bl.
|
|
7418
|
+
this.bl._el = true;
|
|
7419
7419
|
this.bl.setDefaultColumnWidth(c.value, 0);
|
|
7420
7420
|
}
|
|
7421
7421
|
else if (b > 0) {
|
|
7422
|
-
this.bl.
|
|
7422
|
+
this.bl._ir(b, 2, true, false);
|
|
7423
7423
|
}
|
|
7424
7424
|
if (d && a > 0) {
|
|
7425
7425
|
this.bl.defaultRowHeight = truncate((a * 20));
|
|
@@ -7626,7 +7626,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7626
7626
|
a = b.p1;
|
|
7627
7627
|
var c = typeCast(BinaryData.$, this.bh._au(a));
|
|
7628
7628
|
if (c != null) {
|
|
7629
|
-
this.bl.
|
|
7629
|
+
this.bl._g8(c);
|
|
7630
7630
|
}
|
|
7631
7631
|
};
|
|
7632
7632
|
ObjectModelWorksheetPartManager.fm = function (a) {
|
|
@@ -7820,7 +7820,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7820
7820
|
a.fw();
|
|
7821
7821
|
};
|
|
7822
7822
|
ObjectModelWorksheetPartManager.prototype.fw = function () {
|
|
7823
|
-
this.bl.
|
|
7823
|
+
this.bl._en = true;
|
|
7824
7824
|
this.s.k(this.bl.printOptions);
|
|
7825
7825
|
};
|
|
7826
7826
|
ObjectModelWorksheetPartManager.fz = function (a) {
|
|
@@ -7996,7 +7996,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
7996
7996
|
};
|
|
7997
7997
|
ObjectModelWorksheetPartManager.prototype.f7 = function (a) {
|
|
7998
7998
|
var _this = this;
|
|
7999
|
-
var b = this.bl.
|
|
7999
|
+
var b = this.bl._fg;
|
|
8000
8000
|
if (b.count == 1 && b._inner[0].l) {
|
|
8001
8001
|
return;
|
|
8002
8002
|
}
|
|
@@ -8175,7 +8175,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8175
8175
|
SpreadsheetMLMain.abb(this, "{A8765BA9-456A-4dab-B4F3-ACF838C121DE}");
|
|
8176
8176
|
this.ad.l(SpreadsheetML2009Main.ao);
|
|
8177
8177
|
SpreadsheetML2009Main.ds(this);
|
|
8178
|
-
return WorkItemExtensions.a(Async.d(BinaryData.$, this.bl.
|
|
8178
|
+
return WorkItemExtensions.a(Async.d(BinaryData.$, this.bl._e0(), runOn(this, this.bc)), function () {
|
|
8179
8179
|
_this.ad.k();
|
|
8180
8180
|
_this.ad.k();
|
|
8181
8181
|
});
|
|
@@ -8614,8 +8614,8 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
8614
8614
|
}), function () { return _this.ad.k(); });
|
|
8615
8615
|
};
|
|
8616
8616
|
ObjectModelWorksheetPartManager.prototype.g1 = function () {
|
|
8617
|
-
var at = this.bl.
|
|
8618
|
-
if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl.
|
|
8617
|
+
var at = this.bl._el ? toNullable(Number_$type, this.bl.getDefaultColumnWidth(0)) : toNullable(Number_$type, null);
|
|
8618
|
+
if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl._fg, function (au) { return au.j; })) {
|
|
8619
8619
|
at = toNullable(Number_$type, 0);
|
|
8620
8620
|
}
|
|
8621
8621
|
SpreadsheetMLMain.adj(this, this.bl.defaultRowHeight / 20, truncate(MathUtilities.j(this.bl.getDefaultColumnWidth(2))), at, this.bl._d4, this.bl._dv, this.bl._dt, this.bl._ds);
|
|
@@ -9442,7 +9442,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
9442
9442
|
j = null;
|
|
9443
9443
|
}
|
|
9444
9444
|
var k = b._areaFormats$i._d(j, g);
|
|
9445
|
-
for (var l = 1; l !=
|
|
9445
|
+
for (var l = 1; l != -2147483648; l = (l << 1)) {
|
|
9446
9446
|
if (WorksheetTableStyle._q(l) == false) {
|
|
9447
9447
|
continue;
|
|
9448
9448
|
}
|
|
@@ -66970,8 +66970,8 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
66970
66970
|
};
|
|
66971
66971
|
ObjectModelDrawingPartManager.b0 = function (a, b, c, d) {
|
|
66972
66972
|
var e = a.worksheet;
|
|
66973
|
-
var f = e.
|
|
66974
|
-
var g = e.
|
|
66973
|
+
var f = e._ge(a.columnIndex);
|
|
66974
|
+
var g = e._gi(a.rowIndex, false, true);
|
|
66975
66975
|
var h = b.x / 100;
|
|
66976
66976
|
var i = b.y / 100;
|
|
66977
66977
|
c = ExcelUtils.dp(MathUtilities.f(h * f));
|
|
@@ -68879,7 +68879,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
68879
68879
|
}
|
|
68880
68880
|
var j = b._sheets$i._add2(c, d, i);
|
|
68881
68881
|
if (j.type == 0) {
|
|
68882
|
-
j.
|
|
68882
|
+
j._el = false;
|
|
68883
68883
|
}
|
|
68884
68884
|
j._e.visibility = XlsxUtilities.af(e);
|
|
68885
68885
|
var k = PackageUtilities.ak(h).originalString;
|
|
@@ -69361,7 +69361,7 @@ var ObjectModelPivotTablePartManager = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
69361
69361
|
if (b == null) {
|
|
69362
69362
|
return;
|
|
69363
69363
|
}
|
|
69364
|
-
b.
|
|
69364
|
+
b._g7(new PivotTableInfo(a, this.a7()));
|
|
69365
69365
|
};
|
|
69366
69366
|
ObjectModelPivotTablePartManager.prototype.u = function (a) {
|
|
69367
69367
|
var b = typeCast(PivotTableInfo.$, a);
|