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
|
@@ -8,9 +8,9 @@ import { TextMetricsProviderBase } from "./TextMetricsProviderBase";
|
|
|
8
8
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
9
9
|
import { WorksheetCellFormatData } from "./WorksheetCellFormatData";
|
|
10
10
|
import { CellFormatCache } from "./CellFormatCache";
|
|
11
|
+
import { toNullable, markType } from "igniteui-webcomponents-core";
|
|
11
12
|
import { MathUtilities } from "./MathUtilities";
|
|
12
13
|
import { Size } from "igniteui-webcomponents-core";
|
|
13
|
-
import { toNullable, markType } from "igniteui-webcomponents-core";
|
|
14
14
|
import { intDivide } from "igniteui-webcomponents-core";
|
|
15
15
|
import { nullableEquals } from "igniteui-webcomponents-core";
|
|
16
16
|
import { stringReplace } from "igniteui-webcomponents-core";
|
|
@@ -64,7 +64,7 @@ export let DomTextMetricsProvider = /*@__PURE__*/ (() => {
|
|
|
64
64
|
if (b) {
|
|
65
65
|
this._j = this._m();
|
|
66
66
|
}
|
|
67
|
-
this._j.setStyleProperty("font-family", a.
|
|
67
|
+
this._j.setStyleProperty("font-family", a._dh);
|
|
68
68
|
this._j.setStyleProperty("font-size", ((intDivide(a._cq, 20)) + "pt"));
|
|
69
69
|
if (b) {
|
|
70
70
|
this._j.setText("0");
|
|
@@ -103,13 +103,13 @@ export let DomTextMetricsProvider = /*@__PURE__*/ (() => {
|
|
|
103
103
|
a._as.d = g;
|
|
104
104
|
a._as.e = f;
|
|
105
105
|
let h = "";
|
|
106
|
-
if (nullableEquals(a.
|
|
106
|
+
if (nullableEquals(a._c4, true)) {
|
|
107
107
|
h += "italic ";
|
|
108
108
|
}
|
|
109
|
-
if (nullableEquals(a.
|
|
109
|
+
if (nullableEquals(a._c3, true)) {
|
|
110
110
|
h += "bold ";
|
|
111
111
|
}
|
|
112
|
-
h += (intDivide(a._cq, 20)) + "pt \"" + a.
|
|
112
|
+
h += (intDivide(a._cq, 20)) + "pt \"" + a._dh + "\"";
|
|
113
113
|
f.font = h;
|
|
114
114
|
}
|
|
115
115
|
if (!a._as.b) {
|
|
@@ -159,14 +159,14 @@ export let DomTextMetricsProvider = /*@__PURE__*/ (() => {
|
|
|
159
159
|
b.setStyleProperty("position", "relative");
|
|
160
160
|
b.setStyleProperty("display", "block");
|
|
161
161
|
b.setStyleProperty("visibility", "hidden");
|
|
162
|
-
b.setStyleProperty("font-family", a.
|
|
162
|
+
b.setStyleProperty("font-family", a._dh);
|
|
163
163
|
b.setStyleProperty("font-size", ((intDivide(a._cq, 20)) + "pt"));
|
|
164
164
|
b.setStyleProperty("white-space", (c ? "pre-wrap" : "pre"));
|
|
165
165
|
b.setStyleProperty("overflow-wrap", (c ? "break-word" : "normal"));
|
|
166
166
|
b.setStyleProperty("word-wrap", (c ? "break-word" : "normal"));
|
|
167
167
|
b.setStyleProperty("text-decoration", (a._a1 != 0 ? "underline" : "none"));
|
|
168
|
-
b.setStyleProperty("font-weight", (nullableEquals(a.
|
|
169
|
-
b.setStyleProperty("font-style", (nullableEquals(a.
|
|
168
|
+
b.setStyleProperty("font-weight", (nullableEquals(a._c3, true) ? "bold" : "normal"));
|
|
169
|
+
b.setStyleProperty("font-style", (nullableEquals(a._c4, true) ? "italic" : "normal"));
|
|
170
170
|
return b;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -5,9 +5,9 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
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
6
|
*/
|
|
7
7
|
import { Calendar } from "igniteui-webcomponents-core";
|
|
8
|
-
import { callStaticConstructors, markType } from "igniteui-webcomponents-core";
|
|
9
8
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
10
9
|
import { CalendarEraInfo } from "./CalendarEraInfo";
|
|
10
|
+
import { callStaticConstructors, markType } from "igniteui-webcomponents-core";
|
|
11
11
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
12
12
|
import { ArgumentOutOfRangeException } from "igniteui-webcomponents-core";
|
|
13
13
|
import { dateFromValues } from "igniteui-webcomponents-core";
|
|
@@ -85,16 +85,16 @@ export let LegacyShapeData = /*@__PURE__*/ (() => {
|
|
|
85
85
|
this.a[2] = a._ah.o;
|
|
86
86
|
this.a[4] = a._ad.m;
|
|
87
87
|
this.a[6] = a._ad.o;
|
|
88
|
-
let c = b.
|
|
88
|
+
let c = b._fq(a._ah.m, true);
|
|
89
89
|
let d = ((c * a._topLeftCornerPosition$i.x) / 100);
|
|
90
90
|
this.a[1] = truncate(MathUtilities.f(d));
|
|
91
|
-
let e = b.
|
|
91
|
+
let e = b._ft(a._ah.o, true);
|
|
92
92
|
let f = ((e * a._topLeftCornerPosition$i.y) / 100);
|
|
93
93
|
this.a[3] = truncate(MathUtilities.f(f));
|
|
94
|
-
let g = b.
|
|
94
|
+
let g = b._fq(a._ad.m, true);
|
|
95
95
|
let h = ((g * a._bottomRightCornerPosition$i.x) / 100);
|
|
96
96
|
this.a[5] = truncate(MathUtilities.f(h));
|
|
97
|
-
let i = b.
|
|
97
|
+
let i = b._ft(a._ad.o, true);
|
|
98
98
|
let j = ((i * a._bottomRightCornerPosition$i.y) / 100);
|
|
99
99
|
this.a[7] = truncate(MathUtilities.f(j));
|
|
100
100
|
}
|
|
@@ -7,8 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { Base, enumGetBox, Boolean_$type, markType, EnumUtil } from "igniteui-webcomponents-core";
|
|
8
8
|
import { IEG_GeometryVisitor$2_$type } from "./IEG_GeometryVisitor$2";
|
|
9
9
|
import { WorksheetShape } from "./WorksheetShape";
|
|
10
|
-
import { PredefinedShapeType_$type } from "./PredefinedShapeType";
|
|
11
10
|
import { UnknownShape } from "./UnknownShape";
|
|
11
|
+
import { PredefinedShapeType_$type } from "./PredefinedShapeType";
|
|
12
12
|
import { nullableNotEquals } from "igniteui-webcomponents-core";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -31,7 +31,7 @@ export let ObjectModelVmlDrawingPartManager_UpdateLegacyShapeData = /*@__PURE__*
|
|
|
31
31
|
}
|
|
32
32
|
b.s = toNullable(Boolean_$type, c._ec(a.cell._ab));
|
|
33
33
|
b.t = toNullable(Number_$type, a.cell._ab);
|
|
34
|
-
b.ai = toNullable(Boolean_$type, c.
|
|
34
|
+
b.ai = toNullable(Boolean_$type, c._eh(a.cell.rowIndex));
|
|
35
35
|
b.ah = toNullable(Number_$type, a.cell.rowIndex);
|
|
36
36
|
b.k = true;
|
|
37
37
|
b.z = toNullable(ST_InsetMode_$type, 0);
|
|
@@ -15,6 +15,7 @@ import { MemoryStream } from "igniteui-webcomponents-core";
|
|
|
15
15
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
16
16
|
import { IOPath } from "igniteui-webcomponents-core";
|
|
17
17
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
18
|
+
import { XmlTextReader } from "igniteui-webcomponents-core";
|
|
18
19
|
import { WorkItemExtensions } from "./WorkItemExtensions";
|
|
19
20
|
import { RelationshipTargetMode_$type } from "./RelationshipTargetMode";
|
|
20
21
|
import { PackageRelationship } from "./PackageRelationship";
|
|
@@ -25,7 +26,6 @@ import { PackagePartExposedStream } from "./PackagePartExposedStream";
|
|
|
25
26
|
import { DocCoreExtensions } from "./DocCoreExtensions";
|
|
26
27
|
import { Enumerable } from "igniteui-webcomponents-core";
|
|
27
28
|
import { Async } from "./Async";
|
|
28
|
-
import { XmlTextReader } from "igniteui-webcomponents-core";
|
|
29
29
|
import { stringReplace, stringIsNullOrEmpty } from "igniteui-webcomponents-core";
|
|
30
30
|
import { StringComparer } from "igniteui-webcomponents-core";
|
|
31
31
|
import { ZipFile } from "./ZipFile";
|
|
@@ -44,18 +44,21 @@ export let ProtectionInfo = /*@__PURE__*/ (() => {
|
|
|
44
44
|
}
|
|
45
45
|
k(a) {
|
|
46
46
|
a._locked$i = XlsxUtilities.a9(this.j);
|
|
47
|
+
a._hidden$i = XlsxUtilities.a9(this.h);
|
|
47
48
|
}
|
|
48
49
|
static a(a) {
|
|
49
50
|
return ProtectionInfo.b(a, false);
|
|
50
51
|
}
|
|
51
52
|
static b(a, b) {
|
|
52
|
-
let c = a.
|
|
53
|
-
|
|
53
|
+
let c = a._c7;
|
|
54
|
+
let d = a._c6;
|
|
55
|
+
if (b == false && nullableEquals(c, true) && nullableEquals(d, false)) {
|
|
54
56
|
return null;
|
|
55
57
|
}
|
|
56
|
-
let
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
let e = new ProtectionInfo();
|
|
59
|
+
e.j = toNullable(Boolean_$type, (nullableEquals(c, true)));
|
|
60
|
+
e.h = toNullable(Boolean_$type, (nullableEquals(d, true)));
|
|
61
|
+
return e;
|
|
59
62
|
}
|
|
60
63
|
static d(a, b) {
|
|
61
64
|
if (Base.referenceEquals(a, null) && Base.referenceEquals(b, null)) {
|
|
@@ -59,8 +59,8 @@ import { StringUtilitiesSgml } from "./StringUtilitiesSgml";
|
|
|
59
59
|
import { HWStack } from "./HWStack";
|
|
60
60
|
import { NameTable } from "igniteui-webcomponents-core";
|
|
61
61
|
import { XmlNamespaceManager } from "igniteui-webcomponents-core";
|
|
62
|
-
import { Entity } from "./Entity";
|
|
63
62
|
import { markType } from "igniteui-webcomponents-core";
|
|
63
|
+
import { Entity } from "./Entity";
|
|
64
64
|
import { StringBuilder } from "igniteui-webcomponents-core";
|
|
65
65
|
import { IndexOutOfRangeException } from "igniteui-webcomponents-core";
|
|
66
66
|
import { InvalidOperationException } from "igniteui-webcomponents-core";
|
|
@@ -181,7 +181,7 @@ export let UltraCalcFunctionCell = /*@__PURE__*/ (() => {
|
|
|
181
181
|
}
|
|
182
182
|
break;
|
|
183
183
|
case "protect":
|
|
184
|
-
m = nullableEquals(s.
|
|
184
|
+
m = nullableEquals(s._c7, false) ? 0 : 1;
|
|
185
185
|
break;
|
|
186
186
|
default:
|
|
187
187
|
case "format":
|
|
@@ -206,8 +206,8 @@ export let UltraCalcFunctionCell = /*@__PURE__*/ (() => {
|
|
|
206
206
|
m = new ExcelCalcErrorValue(3);
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
|
-
let ab = h.
|
|
210
|
-
m = MathUtilities.f(h.
|
|
209
|
+
let ab = h._fq(j, false);
|
|
210
|
+
m = MathUtilities.f(h._fo(ab));
|
|
211
211
|
}
|
|
212
212
|
break;
|
|
213
213
|
}
|
|
@@ -6,9 +6,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
+
import { UltraCalcFunctionComplex_ComplexNumber } from "./UltraCalcFunctionComplex_ComplexNumber";
|
|
9
10
|
import { markType } from "igniteui-webcomponents-core";
|
|
10
11
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
|
-
import { UltraCalcFunctionComplex_ComplexNumber } from "./UltraCalcFunctionComplex_ComplexNumber";
|
|
12
12
|
import { stringCompare1 } from "igniteui-webcomponents-core";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -6,8 +6,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
-
import { markType } from "igniteui-webcomponents-core";
|
|
10
9
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
10
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
11
11
|
import { CalcManagerUtilities } from "./CalcManagerUtilities";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
@@ -6,8 +6,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
10
9
|
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
10
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
11
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
12
12
|
import { truncate } from "igniteui-webcomponents-core";
|
|
13
13
|
/**
|
|
@@ -6,8 +6,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
10
9
|
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
10
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
11
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
@@ -6,9 +6,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
+
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
9
10
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
10
11
|
import { MathUtilities } from "./MathUtilities";
|
|
11
|
-
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
12
12
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
13
13
|
import { truncate } from "igniteui-webcomponents-core";
|
|
14
14
|
/**
|
|
@@ -6,9 +6,9 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
+
import { UltraCalcFunctionRoman_RomanNumeral } from "./UltraCalcFunctionRoman_RomanNumeral";
|
|
9
10
|
import { typeCast, Boolean_$type, markType } from "igniteui-webcomponents-core";
|
|
10
11
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
|
-
import { UltraCalcFunctionRoman_RomanNumeral } from "./UltraCalcFunctionRoman_RomanNumeral";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
@@ -8,8 +8,8 @@ import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
|
8
8
|
import { Regex } from "igniteui-webcomponents-core";
|
|
9
9
|
import { toNullable, Number_$type, markType } from "igniteui-webcomponents-core";
|
|
10
10
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
11
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
11
|
import { ValueFormatter } from "./ValueFormatter";
|
|
12
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
13
13
|
import { StringUtilities } from "./StringUtilities";
|
|
14
14
|
import { dateTryParse } from "igniteui-webcomponents-core";
|
|
15
15
|
import { tryParseInt32_1 } from "igniteui-webcomponents-core";
|
|
@@ -6,8 +6,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { BuiltInFunctionBase } from "./BuiltInFunctionBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
-
import { MathUtilities } from "./MathUtilities";
|
|
10
9
|
import { ValueFormatter } from "./ValueFormatter";
|
|
10
|
+
import { MathUtilities } from "./MathUtilities";
|
|
11
11
|
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
12
12
|
import { markType } from "igniteui-webcomponents-core";
|
|
13
13
|
import { stringFormat } from "igniteui-webcomponents-core";
|
|
@@ -6,8 +6,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { UltraCalcFunctionLookupBase } from "./UltraCalcFunctionLookupBase";
|
|
8
8
|
import { ExcelCalcValue } from "./ExcelCalcValue";
|
|
9
|
-
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
10
9
|
import { RegionArrayProxyBase } from "./RegionArrayProxyBase";
|
|
10
|
+
import { ExcelCalcErrorValue } from "./ExcelCalcErrorValue";
|
|
11
11
|
import { typeCast, markType } from "igniteui-webcomponents-core";
|
|
12
12
|
import { truncate } from "igniteui-webcomponents-core";
|
|
13
13
|
/**
|
|
@@ -48,8 +48,8 @@ import { ProtectionInfo } from "./ProtectionInfo";
|
|
|
48
48
|
import { AlignmentInfo } from "./AlignmentInfo";
|
|
49
49
|
import { WorksheetCellFormatData } from "./WorksheetCellFormatData";
|
|
50
50
|
import { WorkbookStyle } from "./WorkbookStyle";
|
|
51
|
-
import { IWorkbookFontDefaultsResolver_$type } from "./IWorkbookFontDefaultsResolver";
|
|
52
51
|
import { WorkbookFontData } from "./WorkbookFontData";
|
|
52
|
+
import { IWorkbookFontDefaultsResolver_$type } from "./IWorkbookFontDefaultsResolver";
|
|
53
53
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
54
54
|
import { WorkbookStyleCollection } from "./WorkbookStyleCollection";
|
|
55
55
|
import { IWorkbookFont_$type } from "./IWorkbookFont";
|
|
@@ -58,8 +58,8 @@ import { nullableNotEquals, nullableEquals, nullableLessThan, nullableIsNull, un
|
|
|
58
58
|
import { stringFormat, stringCompare3, stringInsert, stringSplit, stringEquals1 } from "igniteui-webcomponents-core";
|
|
59
59
|
import { PartManagerBase } from "./PartManagerBase";
|
|
60
60
|
import { CT_AbsoluteAnchor } from "./CT_AbsoluteAnchor";
|
|
61
|
-
import { CT_TwoCellAnchor } from "./CT_TwoCellAnchor";
|
|
62
61
|
import { WorksheetShape } from "./WorksheetShape";
|
|
62
|
+
import { CT_TwoCellAnchor } from "./CT_TwoCellAnchor";
|
|
63
63
|
import { SpreadsheetMLMain } from "./SpreadsheetMLMain";
|
|
64
64
|
import { XlsxUtilities } from "./XlsxUtilities";
|
|
65
65
|
import { EG_Anchor } from "./EG_Anchor";
|
|
@@ -209,8 +209,8 @@ import { CustomViewCollection } from "./CustomViewCollection";
|
|
|
209
209
|
import { DisplayOptions } from "./DisplayOptions";
|
|
210
210
|
import { ObjectModelWorksheetPartManager_DVInfo } from "./ObjectModelWorksheetPartManager_DVInfo";
|
|
211
211
|
import { DataValidationRule } from "./DataValidationRule";
|
|
212
|
-
import { AnyValueDataValidationRule } from "./AnyValueDataValidationRule";
|
|
213
212
|
import { ListDataValidationRule } from "./ListDataValidationRule";
|
|
213
|
+
import { AnyValueDataValidationRule } from "./AnyValueDataValidationRule";
|
|
214
214
|
import { CustomDataValidationRule } from "./CustomDataValidationRule";
|
|
215
215
|
import { TwoConstraintDataValidationRule } from "./TwoConstraintDataValidationRule";
|
|
216
216
|
import { OneConstraintDataValidationRule } from "./OneConstraintDataValidationRule";
|
|
@@ -334,14 +334,14 @@ import { ST_StyleEntryModifierList } from "./ST_StyleEntryModifierList";
|
|
|
334
334
|
import { ST_FontCollectionIndex_$type } from "./ST_FontCollectionIndex";
|
|
335
335
|
import { ST_PresetMaterialType_$type } from "./ST_PresetMaterialType";
|
|
336
336
|
import { DrawingMLMain } from "./DrawingMLMain";
|
|
337
|
+
import { CT_GroupFillProperties } from "./CT_GroupFillProperties";
|
|
338
|
+
import { CT_NoFillProperties } from "./CT_NoFillProperties";
|
|
337
339
|
import { ST_PresetPatternVal_$type } from "./ST_PresetPatternVal";
|
|
338
340
|
import { ST_BlackWhiteMode_$type } from "./ST_BlackWhiteMode";
|
|
339
341
|
import { ST_ColorSchemeIndex_$type } from "./ST_ColorSchemeIndex";
|
|
340
342
|
import { CT_PresetTextShape } from "./CT_PresetTextShape";
|
|
341
343
|
import { CT_TextSpacingPercent } from "./CT_TextSpacingPercent";
|
|
342
344
|
import { CT_TextSpacingPoint } from "./CT_TextSpacingPoint";
|
|
343
|
-
import { CT_NoFillProperties } from "./CT_NoFillProperties";
|
|
344
|
-
import { CT_GroupFillProperties } from "./CT_GroupFillProperties";
|
|
345
345
|
import { CT_AlphaOutsetEffect } from "./CT_AlphaOutsetEffect";
|
|
346
346
|
import { CT_EffectReference } from "./CT_EffectReference";
|
|
347
347
|
import { CT_LuminanceEffect } from "./CT_LuminanceEffect";
|
|
@@ -1247,7 +1247,7 @@ export let FormatInfo = /*@__PURE__*/ (() => {
|
|
|
1247
1247
|
let v = a._bg._inner[this.r.value];
|
|
1248
1248
|
v.h(e, a);
|
|
1249
1249
|
}
|
|
1250
|
-
e.
|
|
1250
|
+
e._dv(f);
|
|
1251
1251
|
return e;
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
@@ -4353,7 +4353,7 @@ export let SparklineExtensions = /*@__PURE__*/ (() => {
|
|
|
4353
4353
|
}
|
|
4354
4354
|
}
|
|
4355
4355
|
e = b.c;
|
|
4356
|
-
let i = Worksheet.
|
|
4356
|
+
let i = Worksheet._fi;
|
|
4357
4357
|
try {
|
|
4358
4358
|
let j = ExcelUtils.t(e, c, g.firstRow, g._v, 1, "dataRange", "LE_InvalidRegion", i, d);
|
|
4359
4359
|
let k = null;
|
|
@@ -4668,7 +4668,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4668
4668
|
let i = new SheetRelationships();
|
|
4669
4669
|
let j = b;
|
|
4670
4670
|
let k = j.sheetBackground == null ? null : ExcelUtils.z(j.sheetBackground, b._dh);
|
|
4671
|
-
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(Async.g(k != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._b0(k, b._dh), (l) => e.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d)), () => Async.g(f, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelDrawingPartManager.bg, b), (l) => i.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(e.j.count != 0, () => c._j(ObjectModelCommentsPartManager.a9, b))), () => Async.g(this.bu.count != 0, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, this.bu), (l) => i.c = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(b.
|
|
4671
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(Async.g(k != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._b0(k, b._dh), (l) => e.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d)), () => Async.g(f, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelDrawingPartManager.bg, b), (l) => i.a = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(e.j.count != 0, () => c._j(ObjectModelCommentsPartManager.a9, b))), () => Async.g(this.bu.count != 0, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, this.bu), (l) => i.c = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.g(b._g4 != null, () => WorkItemExtensions.k(Tuple$2.$.specialize(Uri.$, String_$type), String_$type, c._j(ObjectModelVmlDrawingPartManager.bb, b._g4), (l) => i.b = WorkItemExtensions.m(Tuple$2.$.specialize(Uri.$, String_$type), l).d))), () => Async.c(0, b._tables$i.count, 1, (l) => c._j(ObjectModelTablePartManager.ba, b._tables$i._item(l)))), () => Async.d(PivotTableInfo.$, b._ez(), (l) => c._j(ObjectModelPivotTablePartManager.ba, l))), () => this.bd(d, i));
|
|
4672
4672
|
}
|
|
4673
4673
|
ai(a) {
|
|
4674
4674
|
switch (a) {
|
|
@@ -4811,11 +4811,11 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4811
4811
|
let r = b.b[7];
|
|
4812
4812
|
a.topLeftCornerCell = this.bl._rows$i.item(m)._cells$i.item(k);
|
|
4813
4813
|
a.bottomRightCornerCell = this.bl._rows$i.item(q)._cells$i.item(o);
|
|
4814
|
-
let s = this.bl.
|
|
4815
|
-
let t = this.bl.
|
|
4814
|
+
let s = this.bl._fq(k, true);
|
|
4815
|
+
let t = this.bl._ft(m, true);
|
|
4816
4816
|
a._topLeftCornerPosition$i = ExcelUtils.hc((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
|
|
4817
|
-
let u = this.bl.
|
|
4818
|
-
let v = this.bl.
|
|
4817
|
+
let u = this.bl._fq(o, true);
|
|
4818
|
+
let v = this.bl._ft(q, true);
|
|
4819
4819
|
a._bottomRightCornerPosition$i = ExcelUtils.hc((u == 0 ? 0 : (100 * p) / u), (v == 0 ? 0 : (100 * r) / v));
|
|
4820
4820
|
let w = ObjectModelWorksheetPartManager.by(b);
|
|
4821
4821
|
if (nullableNotEquals(w, null)) {
|
|
@@ -5062,7 +5062,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5062
5062
|
if (o == false) {
|
|
5063
5063
|
return;
|
|
5064
5064
|
}
|
|
5065
|
-
this.bl.
|
|
5065
|
+
this.bl._hx((a - 1), (b - 1), n, e, i, p, g);
|
|
5066
5066
|
}
|
|
5067
5067
|
static cw(a) {
|
|
5068
5068
|
}
|
|
@@ -5955,7 +5955,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
5955
5955
|
if (m) {
|
|
5956
5956
|
ac._an = m;
|
|
5957
5957
|
}
|
|
5958
|
-
r.
|
|
5958
|
+
r._h3(ac, r._getRegion1(f, 1));
|
|
5959
5959
|
ac._bp(c, b.bv);
|
|
5960
5960
|
if (nullableNotEquals(n, null)) {
|
|
5961
5961
|
b.bs.addItem(n.value, c._ar(b.bv));
|
|
@@ -6274,7 +6274,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6274
6274
|
let f = PackageUtilities.ak(d).originalString;
|
|
6275
6275
|
let g;
|
|
6276
6276
|
if (((() => { let h = c._b7._a5.tryGetValue(f, g); g = h.p1; return h.ret; })())) {
|
|
6277
|
-
this.bl.
|
|
6277
|
+
this.bl._g4 = new LegacyDrawingHFInfo(g, e);
|
|
6278
6278
|
c._b7._a5.removeItem(f);
|
|
6279
6279
|
}
|
|
6280
6280
|
else {
|
|
@@ -6332,7 +6332,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6332
6332
|
b = e.p2;
|
|
6333
6333
|
c = e.p3;
|
|
6334
6334
|
d = e.p4;
|
|
6335
|
-
this.bl.
|
|
6335
|
+
this.bl._en = b;
|
|
6336
6336
|
this.bl.displayOptions._showExpansionIndicatorBelowGroupedRows$i = XlsxUtilities.a8(b);
|
|
6337
6337
|
this.bl.displayOptions._showExpansionIndicatorToRightOfGroupedColumns$i = XlsxUtilities.a8(c);
|
|
6338
6338
|
this.bl.displayOptions.showOutlineSymbols = d;
|
|
@@ -6663,7 +6663,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6663
6663
|
else if (this.bl._d4) {
|
|
6664
6664
|
o._bz = g;
|
|
6665
6665
|
if (this.bw >= 0) {
|
|
6666
|
-
o._cm = this.bl.
|
|
6666
|
+
o._cm = this.bl._gq;
|
|
6667
6667
|
}
|
|
6668
6668
|
}
|
|
6669
6669
|
o._b1 = k;
|
|
@@ -6750,7 +6750,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6750
6750
|
if (this.bw >= 0) {
|
|
6751
6751
|
for (let a of fromEnum(this.bl._rows$i._m(0, this.bw))) {
|
|
6752
6752
|
if (!a._bz) {
|
|
6753
|
-
a._cm = this.bl.
|
|
6753
|
+
a._cm = this.bl._gq;
|
|
6754
6754
|
}
|
|
6755
6755
|
}
|
|
6756
6756
|
}
|
|
@@ -6781,11 +6781,11 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6781
6781
|
i = j.p9;
|
|
6782
6782
|
if (nullableNotEquals(c, null)) {
|
|
6783
6783
|
this.bl._d7 = true;
|
|
6784
|
-
this.bl.
|
|
6784
|
+
this.bl._el = true;
|
|
6785
6785
|
this.bl.setDefaultColumnWidth(c.value, 0);
|
|
6786
6786
|
}
|
|
6787
6787
|
else if (b > 0) {
|
|
6788
|
-
this.bl.
|
|
6788
|
+
this.bl._ir(b, 2, true, false);
|
|
6789
6789
|
}
|
|
6790
6790
|
if (d && a > 0) {
|
|
6791
6791
|
this.bl.defaultRowHeight = truncate((a * 20));
|
|
@@ -6992,7 +6992,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6992
6992
|
a = b.p1;
|
|
6993
6993
|
let c = typeCast(BinaryData.$, this.bh._au(a));
|
|
6994
6994
|
if (c != null) {
|
|
6995
|
-
this.bl.
|
|
6995
|
+
this.bl._g8(c);
|
|
6996
6996
|
}
|
|
6997
6997
|
}
|
|
6998
6998
|
static fm(a) {
|
|
@@ -7186,7 +7186,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7186
7186
|
a.fw();
|
|
7187
7187
|
}
|
|
7188
7188
|
fw() {
|
|
7189
|
-
this.bl.
|
|
7189
|
+
this.bl._en = true;
|
|
7190
7190
|
this.s.k(this.bl.printOptions);
|
|
7191
7191
|
}
|
|
7192
7192
|
static fz(a) {
|
|
@@ -7327,7 +7327,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7327
7327
|
this.ad.k();
|
|
7328
7328
|
}
|
|
7329
7329
|
f7(a) {
|
|
7330
|
-
let b = this.bl.
|
|
7330
|
+
let b = this.bl._fg;
|
|
7331
7331
|
if (b.count == 1 && b._inner[0].l) {
|
|
7332
7332
|
return;
|
|
7333
7333
|
}
|
|
@@ -7499,7 +7499,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7499
7499
|
SpreadsheetMLMain.abb(this, "{A8765BA9-456A-4dab-B4F3-ACF838C121DE}");
|
|
7500
7500
|
this.ad.l(SpreadsheetML2009Main.ao);
|
|
7501
7501
|
SpreadsheetML2009Main.ds(this);
|
|
7502
|
-
return WorkItemExtensions.a(Async.d(BinaryData.$, this.bl.
|
|
7502
|
+
return WorkItemExtensions.a(Async.d(BinaryData.$, this.bl._e0(), runOn(this, this.bc)), () => {
|
|
7503
7503
|
this.ad.k();
|
|
7504
7504
|
this.ad.k();
|
|
7505
7505
|
});
|
|
@@ -7878,8 +7878,8 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
7878
7878
|
}), () => this.ad.k());
|
|
7879
7879
|
}
|
|
7880
7880
|
g1() {
|
|
7881
|
-
let at = this.bl.
|
|
7882
|
-
if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl.
|
|
7881
|
+
let at = this.bl._el ? toNullable(Number_$type, this.bl.getDefaultColumnWidth(0)) : toNullable(Number_$type, null);
|
|
7882
|
+
if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl._fg, (au) => au.j)) {
|
|
7883
7883
|
at = toNullable(Number_$type, 0);
|
|
7884
7884
|
}
|
|
7885
7885
|
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);
|
|
@@ -8635,7 +8635,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8635
8635
|
j = null;
|
|
8636
8636
|
}
|
|
8637
8637
|
let k = b._areaFormats$i._d(j, g);
|
|
8638
|
-
for (let l = 1; l !=
|
|
8638
|
+
for (let l = 1; l != -2147483648; l = (l << 1)) {
|
|
8639
8639
|
if (WorksheetTableStyle._q(l) == false) {
|
|
8640
8640
|
continue;
|
|
8641
8641
|
}
|
|
@@ -56889,8 +56889,8 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56889
56889
|
}
|
|
56890
56890
|
static b0(a, b, c, d) {
|
|
56891
56891
|
let e = a.worksheet;
|
|
56892
|
-
let f = e.
|
|
56893
|
-
let g = e.
|
|
56892
|
+
let f = e._ge(a.columnIndex);
|
|
56893
|
+
let g = e._gi(a.rowIndex, false, true);
|
|
56894
56894
|
let h = b.x / 100;
|
|
56895
56895
|
let i = b.y / 100;
|
|
56896
56896
|
c = ExcelUtils.dp(MathUtilities.f(h * f));
|
|
@@ -58619,7 +58619,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58619
58619
|
}
|
|
58620
58620
|
let j = b._sheets$i._add2(c, d, i);
|
|
58621
58621
|
if (j.type == 0) {
|
|
58622
|
-
j.
|
|
58622
|
+
j._el = false;
|
|
58623
58623
|
}
|
|
58624
58624
|
j._e.visibility = XlsxUtilities.af(e);
|
|
58625
58625
|
let k = PackageUtilities.ak(h).originalString;
|
|
@@ -59059,7 +59059,7 @@ export let ObjectModelPivotTablePartManager = /*@__PURE__*/ (() => {
|
|
|
59059
59059
|
if (b == null) {
|
|
59060
59060
|
return;
|
|
59061
59061
|
}
|
|
59062
|
-
b.
|
|
59062
|
+
b._g7(new PivotTableInfo(a, this.a7()));
|
|
59063
59063
|
}
|
|
59064
59064
|
u(a) {
|
|
59065
59065
|
let b = typeCast(PivotTableInfo.$, a);
|