igniteui-webcomponents-excel 4.8.1 → 5.0.0-beta.1
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 +569 -545
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/DefaultStyleHelper_combined.js +181 -168
- package/esm2015/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +7 -7
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +24 -18
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +355 -351
- package/esm5/lib/DefaultStyleHelper_combined.js +183 -169
- package/esm5/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +7 -7
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +27 -21
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +356 -352
- package/fesm2015/igniteui-webcomponents-excel.js +563 -540
- package/fesm5/igniteui-webcomponents-excel.js +569 -545
- package/lib/DefaultStyleHelper_combined.d.ts +33 -29
- package/lib/WorkbookSaveManagerExcel2003_combined.d.ts +26 -25
- package/package.json +2 -2
|
@@ -23,10 +23,10 @@ export let WorkbookLoadManagerExcel2007_ShapeAnchorApplicator = /*@__PURE__*/ ((
|
|
|
23
23
|
let d = b.d;
|
|
24
24
|
d.positioningMode = 3;
|
|
25
25
|
if (a.c == null || a.d == null) {
|
|
26
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
26
|
+
d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
|
|
27
27
|
return false;
|
|
28
28
|
}
|
|
29
|
-
let e = ExcelUtils.
|
|
29
|
+
let e = ExcelUtils.hg(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())));
|
|
30
30
|
d._setBoundsInTwips(c, e);
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
@@ -35,17 +35,17 @@ export let WorkbookLoadManagerExcel2007_ShapeAnchorApplicator = /*@__PURE__*/ ((
|
|
|
35
35
|
let d = b.d;
|
|
36
36
|
d.positioningMode = 2;
|
|
37
37
|
if (a.d == null || a.c == null) {
|
|
38
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
38
|
+
d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
|
|
39
39
|
return false;
|
|
40
40
|
}
|
|
41
41
|
else if (c.type != 0) {
|
|
42
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
42
|
+
d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
|
|
43
43
|
return false;
|
|
44
44
|
}
|
|
45
45
|
let e = c;
|
|
46
46
|
let f = XlsxUtilities.bf(a.d, e);
|
|
47
47
|
let g = WorksheetShape._ds(e, f.c, f.d, f.c, f.d);
|
|
48
|
-
let h = ExcelUtils.
|
|
48
|
+
let h = ExcelUtils.hg(truncate(MathUtilities.f(g.left)), truncate(MathUtilities.f(g.top)), truncate(MathUtilities.f(a.c.a.j())), truncate(MathUtilities.f(a.c.b.j())));
|
|
49
49
|
d._setBoundsInTwips(e, h);
|
|
50
50
|
return true;
|
|
51
51
|
}
|
|
@@ -54,11 +54,11 @@ export let WorkbookLoadManagerExcel2007_ShapeAnchorApplicator = /*@__PURE__*/ ((
|
|
|
54
54
|
let d = b.d;
|
|
55
55
|
d.positioningMode = XlsxUtilities.x(a.e);
|
|
56
56
|
if (a.c == null || a.d == null) {
|
|
57
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
57
|
+
d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
|
|
58
58
|
return false;
|
|
59
59
|
}
|
|
60
60
|
else if (c.type != 0) {
|
|
61
|
-
d._setBoundsInTwips(c, ExcelUtils.
|
|
61
|
+
d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
|
|
62
62
|
return false;
|
|
63
63
|
}
|
|
64
64
|
let e = c;
|
|
@@ -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._dw(f);
|
|
1251
1251
|
return e;
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
@@ -4813,10 +4813,10 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
4813
4813
|
a.bottomRightCornerCell = this.bl._rows$i.item(q)._cells$i.item(o);
|
|
4814
4814
|
let s = this.bl._fq(k, true);
|
|
4815
4815
|
let t = this.bl._ft(m, true);
|
|
4816
|
-
a._topLeftCornerPosition$i = ExcelUtils.
|
|
4816
|
+
a._topLeftCornerPosition$i = ExcelUtils.hd((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
|
|
4817
4817
|
let u = this.bl._fq(o, true);
|
|
4818
4818
|
let v = this.bl._ft(q, true);
|
|
4819
|
-
a._bottomRightCornerPosition$i = ExcelUtils.
|
|
4819
|
+
a._bottomRightCornerPosition$i = ExcelUtils.hd((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)) {
|
|
4822
4822
|
a._cn = w.value;
|
|
@@ -6522,7 +6522,7 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
|
|
|
6522
6522
|
let d = typeCast(ImageData.$, c._au(a));
|
|
6523
6523
|
if (d != null) {
|
|
6524
6524
|
let e = XlsxUtilities.v(d);
|
|
6525
|
-
this.bl.sheetBackground = ExcelUtils.
|
|
6525
|
+
this.bl.sheetBackground = ExcelUtils.hb(e);
|
|
6526
6526
|
this.bl._dh = e.d;
|
|
6527
6527
|
}
|
|
6528
6528
|
else {
|
|
@@ -8568,6 +8568,10 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8568
8568
|
}
|
|
8569
8569
|
}
|
|
8570
8570
|
ObjectModelStylesPartManager.b9(b, b._bf);
|
|
8571
|
+
for (let h = 0; h < b._bf.count; h++) {
|
|
8572
|
+
b._bf._inner[h].g._dj = intSToU(h);
|
|
8573
|
+
}
|
|
8574
|
+
b._b._ca._q = intSToU(b._bf.count);
|
|
8571
8575
|
}
|
|
8572
8576
|
static b3(a) {
|
|
8573
8577
|
let b;
|
|
@@ -8942,7 +8946,7 @@ export let ObjectModelStylesPartManager = /*@__PURE__*/ (() => {
|
|
|
8942
8946
|
SpreadsheetMLMain.ab9(this);
|
|
8943
8947
|
let a = this.a7._by._palette$i;
|
|
8944
8948
|
for (let b = 0; b < 8 + 56; b++) {
|
|
8945
|
-
this.de(ExcelUtils.
|
|
8949
|
+
this.de(ExcelUtils.g6(a._af(b)));
|
|
8946
8950
|
}
|
|
8947
8951
|
this.ad.k();
|
|
8948
8952
|
}
|
|
@@ -9629,18 +9633,20 @@ export let WorkbookSaveManagerExcel2007 = /*@__PURE__*/ (() => {
|
|
|
9629
9633
|
}
|
|
9630
9634
|
let f = this._b._ca;
|
|
9631
9635
|
this._cz(f._p, a, b);
|
|
9632
|
-
|
|
9633
|
-
|
|
9636
|
+
let g = Enumerable.z(WorksheetCellFormatData.$, Enumerable.u(WorksheetCellFormatData.$, f, (h) => h != null));
|
|
9637
|
+
g.aa((h, i) => Base.compareSimple(h._dj, i._dj));
|
|
9638
|
+
for (let h of fromEnum(g)) {
|
|
9639
|
+
if (h == f._p) {
|
|
9634
9640
|
continue;
|
|
9635
9641
|
}
|
|
9636
|
-
this._cz(
|
|
9642
|
+
this._cz(h, a, b);
|
|
9637
9643
|
}
|
|
9638
9644
|
if (this._b._ct) {
|
|
9639
|
-
for (let
|
|
9645
|
+
for (let i of fromEnum(this._b._b2.m())) {
|
|
9640
9646
|
this._cm.add(((() => {
|
|
9641
9647
|
let $ret = new SerializationNumberFormatInfo();
|
|
9642
|
-
$ret.c = intSToU(
|
|
9643
|
-
$ret.b = this._b._b2.ad(
|
|
9648
|
+
$ret.c = intSToU(i);
|
|
9649
|
+
$ret.b = this._b._b2.ad(i);
|
|
9644
9650
|
return $ret;
|
|
9645
9651
|
})()));
|
|
9646
9652
|
}
|
|
@@ -55400,7 +55406,7 @@ export let ObjectModelChartsheetPartManager = /*@__PURE__*/ (() => {
|
|
|
55400
55406
|
let d = typeCast(ImageData.$, c._au(a));
|
|
55401
55407
|
if (d != null) {
|
|
55402
55408
|
let e = XlsxUtilities.v(d);
|
|
55403
|
-
this.a8.sheetBackground = ExcelUtils.
|
|
55409
|
+
this.a8.sheetBackground = ExcelUtils.hb(e);
|
|
55404
55410
|
this.a8._a7 = e.d;
|
|
55405
55411
|
}
|
|
55406
55412
|
else {
|
|
@@ -56683,7 +56689,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
56683
56689
|
else {
|
|
56684
56690
|
b = ((() => {
|
|
56685
56691
|
let $ret = new CT_SRgbColor();
|
|
56686
|
-
$ret.c = ST_HexColorRGB.b(ExcelUtils.
|
|
56692
|
+
$ret.c = ST_HexColorRGB.b(ExcelUtils.g6(a._aj(null, false, true)));
|
|
56687
56693
|
return $ret;
|
|
56688
56694
|
})());
|
|
56689
56695
|
}
|
|
@@ -58529,7 +58535,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58529
58535
|
ac.scrollBars |= 2;
|
|
58530
58536
|
}
|
|
58531
58537
|
ac.tabBarVisible = s;
|
|
58532
|
-
ac._boundsInPixels$i = ExcelUtils.
|
|
58538
|
+
ac._boundsInPixels$i = ExcelUtils.hg(t, u, f, g);
|
|
58533
58539
|
ac.tabBarWidth = v;
|
|
58534
58540
|
ac._ao = e;
|
|
58535
58541
|
ac.showFormulaBar = w;
|
|
@@ -58793,7 +58799,7 @@ export let ObjectModelWorkbookPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
58793
58799
|
c.scrollBars |= 2;
|
|
58794
58800
|
}
|
|
58795
58801
|
c.tabBarVisible = h;
|
|
58796
|
-
c._boundsInTwips$i = ExcelUtils.
|
|
58802
|
+
c._boundsInTwips$i = ExcelUtils.hg(i.getValueOrDefault(), j.getValueOrDefault(), k.getValueOrDefault(), l.getValueOrDefault());
|
|
58797
58803
|
c.tabBarWidth = m;
|
|
58798
58804
|
c.firstVisibleTabIndex = n;
|
|
58799
58805
|
c._as = o;
|
|
@@ -59524,7 +59530,7 @@ export let ObjectModelThemePartManager = /*@__PURE__*/ (() => {
|
|
|
59524
59530
|
let c = new ST_HexColorRGB();
|
|
59525
59531
|
let d = DrawingMLMain.m2(a, c);
|
|
59526
59532
|
c = d.p1;
|
|
59527
|
-
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.
|
|
59533
|
+
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g7(c.r);
|
|
59528
59534
|
}
|
|
59529
59535
|
static bz(a) {
|
|
59530
59536
|
if (FormatSchemeDeserializer.f(a)) {
|
|
@@ -59539,7 +59545,7 @@ export let ObjectModelThemePartManager = /*@__PURE__*/ (() => {
|
|
|
59539
59545
|
let e = DrawingMLMain.m4(a, c, d);
|
|
59540
59546
|
c = e.p1;
|
|
59541
59547
|
d = e.p2;
|
|
59542
|
-
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.
|
|
59548
|
+
ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g7(XlsxUtilities.bh(c));
|
|
59543
59549
|
}
|
|
59544
59550
|
static b0(a) {
|
|
59545
59551
|
let b;
|
|
@@ -60862,7 +60868,7 @@ export let ObjectModelVmlDrawingPartManager = /*@__PURE__*/ (() => {
|
|
|
60862
60868
|
let c = null;
|
|
60863
60869
|
let d = typeCast(ShapeFillSolid.$, b.h._k);
|
|
60864
60870
|
if (d != null) {
|
|
60865
|
-
c = ExcelUtils.d4(ExcelUtils.
|
|
60871
|
+
c = ExcelUtils.d4(ExcelUtils.g6(d.colorInfo._aj(a._b, false)));
|
|
60866
60872
|
}
|
|
60867
60873
|
let e = toNullable(Boolean_$type, null);
|
|
60868
60874
|
if (typeCast(ShapeFillNoFill.$, b.h._k) !== null) {
|