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.
@@ -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.hf(0, 0, 1, 1));
30
+ d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
31
31
  return false;
32
32
  }
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())));
33
+ var 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())));
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.hf(0, 0, 1, 1));
42
+ d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
43
43
  return false;
44
44
  }
45
45
  else if (c.type != 0) {
46
- d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
46
+ d._setBoundsInTwips(c, ExcelUtils.hg(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.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())));
52
+ var 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())));
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.hf(0, 0, 1, 1));
61
+ d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
62
62
  return false;
63
63
  }
64
64
  else if (c.type != 0) {
65
- d._setBoundsInTwips(c, ExcelUtils.hf(0, 0, 1, 1));
65
+ d._setBoundsInTwips(c, ExcelUtils.hg(0, 0, 1, 1));
66
66
  return false;
67
67
  }
68
68
  var e = c;
@@ -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._dv(f);
1338
+ e._dw(f);
1339
1339
  return e;
1340
1340
  };
1341
1341
  FormatInfo.$t = markType(FormatInfo, 'FormatInfo');
@@ -5305,10 +5305,10 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
5305
5305
  a.bottomRightCornerCell = this.bl._rows$i.item(q)._cells$i.item(o);
5306
5306
  var s = this.bl._fq(k, true);
5307
5307
  var t = this.bl._ft(m, true);
5308
- a._topLeftCornerPosition$i = ExcelUtils.hc((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
5308
+ a._topLeftCornerPosition$i = ExcelUtils.hd((s == 0 ? 0 : (100 * l) / s), (t == 0 ? 0 : (100 * n) / t));
5309
5309
  var u = this.bl._fq(o, true);
5310
5310
  var v = this.bl._ft(q, true);
5311
- a._bottomRightCornerPosition$i = ExcelUtils.hc((u == 0 ? 0 : (100 * p) / u), (v == 0 ? 0 : (100 * r) / v));
5311
+ a._bottomRightCornerPosition$i = ExcelUtils.hd((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)) {
5314
5314
  a._cn = w.value;
@@ -7105,7 +7105,7 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
7105
7105
  var d = typeCast(ImageData.$, c._au(a));
7106
7106
  if (d != null) {
7107
7107
  var e = XlsxUtilities.v(d);
7108
- this.bl.sheetBackground = ExcelUtils.ha(e);
7108
+ this.bl.sheetBackground = ExcelUtils.hb(e);
7109
7109
  this.bl._dh = e.d;
7110
7110
  }
7111
7111
  else {
@@ -9375,6 +9375,10 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
9375
9375
  }
9376
9376
  }
9377
9377
  ObjectModelStylesPartManager.b9(b, b._bf);
9378
+ for (var h = 0; h < b._bf.count; h++) {
9379
+ b._bf._inner[h].g._dj = intSToU(h);
9380
+ }
9381
+ b._b._ca._q = intSToU(b._bf.count);
9378
9382
  };
9379
9383
  ObjectModelStylesPartManager.b3 = function (a) {
9380
9384
  var b;
@@ -9787,7 +9791,7 @@ var ObjectModelStylesPartManager = /** @class */ /*@__PURE__*/ (function (_super
9787
9791
  SpreadsheetMLMain.ab9(this);
9788
9792
  var a = this.a7._by._palette$i;
9789
9793
  for (var b = 0; b < 8 + 56; b++) {
9790
- this.de(ExcelUtils.g5(a._af(b)));
9794
+ this.de(ExcelUtils.g6(a._af(b)));
9791
9795
  }
9792
9796
  this.ad.k();
9793
9797
  };
@@ -10682,13 +10686,15 @@ var WorkbookSaveManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10682
10686
  }
10683
10687
  var f = this._b._ca;
10684
10688
  this._cz(f._p, a, b);
10689
+ var g = Enumerable.z(WorksheetCellFormatData.$, Enumerable.u(WorksheetCellFormatData.$, f, function (h) { return h != null; }));
10690
+ g.aa(function (h, i) { return Base.compareSimple(h._dj, i._dj); });
10685
10691
  try {
10686
- for (var _8 = __values(fromEnum(f)), _9 = _8.next(); !_9.done; _9 = _8.next()) {
10687
- var g = _9.value;
10688
- if (g == f._p) {
10692
+ for (var _8 = __values(fromEnum(g)), _9 = _8.next(); !_9.done; _9 = _8.next()) {
10693
+ var h = _9.value;
10694
+ if (h == f._p) {
10689
10695
  continue;
10690
10696
  }
10691
- this._cz(g, a, b);
10697
+ this._cz(h, a, b);
10692
10698
  }
10693
10699
  }
10694
10700
  catch (e_45_1) {
@@ -10705,19 +10711,19 @@ var WorkbookSaveManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10705
10711
  }
10706
10712
  }
10707
10713
  if (this._b._ct) {
10708
- var _loop_7 = function (h) {
10714
+ var _loop_7 = function (i) {
10709
10715
  this_3._cm.add(((function () {
10710
10716
  var $ret = new SerializationNumberFormatInfo();
10711
- $ret.c = intSToU(h);
10712
- $ret.b = _this._b._b2.ad(h);
10717
+ $ret.c = intSToU(i);
10718
+ $ret.b = _this._b._b2.ad(i);
10713
10719
  return $ret;
10714
10720
  })()));
10715
10721
  };
10716
10722
  var this_3 = this;
10717
10723
  try {
10718
10724
  for (var _10 = __values(fromEnum(this._b._b2.m())), _11 = _10.next(); !_11.done; _11 = _10.next()) {
10719
- var h = _11.value;
10720
- _loop_7(h);
10725
+ var i = _11.value;
10726
+ _loop_7(i);
10721
10727
  }
10722
10728
  }
10723
10729
  catch (e_46_1) {
@@ -65372,7 +65378,7 @@ var ObjectModelChartsheetPartManager = /** @class */ /*@__PURE__*/ (function (_s
65372
65378
  var d = typeCast(ImageData.$, c._au(a));
65373
65379
  if (d != null) {
65374
65380
  var e = XlsxUtilities.v(d);
65375
- this.a8.sheetBackground = ExcelUtils.ha(e);
65381
+ this.a8.sheetBackground = ExcelUtils.hb(e);
65376
65382
  this.a8._a7 = e.d;
65377
65383
  }
65378
65384
  else {
@@ -66723,7 +66729,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
66723
66729
  else {
66724
66730
  b = ((function () {
66725
66731
  var $ret = new CT_SRgbColor();
66726
- $ret.c = ST_HexColorRGB.b(ExcelUtils.g5(a._aj(null, false, true)));
66732
+ $ret.c = ST_HexColorRGB.b(ExcelUtils.g6(a._aj(null, false, true)));
66727
66733
  return $ret;
66728
66734
  })());
66729
66735
  }
@@ -68789,7 +68795,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
68789
68795
  ac.scrollBars |= 2;
68790
68796
  }
68791
68797
  ac.tabBarVisible = s;
68792
- ac._boundsInPixels$i = ExcelUtils.hf(t, u, f, g);
68798
+ ac._boundsInPixels$i = ExcelUtils.hg(t, u, f, g);
68793
68799
  ac.tabBarWidth = v;
68794
68800
  ac._ao = e;
68795
68801
  ac.showFormulaBar = w;
@@ -69053,7 +69059,7 @@ var ObjectModelWorkbookPartManagerBase = /** @class */ /*@__PURE__*/ (function (
69053
69059
  c.scrollBars |= 2;
69054
69060
  }
69055
69061
  c.tabBarVisible = h;
69056
- c._boundsInTwips$i = ExcelUtils.hf(i.getValueOrDefault(), j.getValueOrDefault(), k.getValueOrDefault(), l.getValueOrDefault());
69062
+ c._boundsInTwips$i = ExcelUtils.hg(i.getValueOrDefault(), j.getValueOrDefault(), k.getValueOrDefault(), l.getValueOrDefault());
69057
69063
  c.tabBarWidth = m;
69058
69064
  c.firstVisibleTabIndex = n;
69059
69065
  c._as = o;
@@ -69871,7 +69877,7 @@ var ObjectModelThemePartManager = /** @class */ /*@__PURE__*/ (function (_super)
69871
69877
  var c = new ST_HexColorRGB();
69872
69878
  var d = DrawingMLMain.m2(a, c);
69873
69879
  c = d.p1;
69874
- ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g6(c.r);
69880
+ ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g7(c.r);
69875
69881
  };
69876
69882
  ObjectModelThemePartManager.bz = function (a) {
69877
69883
  if (FormatSchemeDeserializer.f(a)) {
@@ -69886,7 +69892,7 @@ var ObjectModelThemePartManager = /** @class */ /*@__PURE__*/ (function (_super)
69886
69892
  var e = DrawingMLMain.m4(a, c, d);
69887
69893
  c = e.p1;
69888
69894
  d = e.p2;
69889
- ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g6(XlsxUtilities.bh(c));
69895
+ ObjectModelThemePartManager.bb(a)._by._h[b.value] = ExcelUtils.g7(XlsxUtilities.bh(c));
69890
69896
  };
69891
69897
  ObjectModelThemePartManager.b0 = function (a) {
69892
69898
  var b;
@@ -71223,7 +71229,7 @@ var ObjectModelVmlDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_s
71223
71229
  var c = null;
71224
71230
  var d = typeCast(ShapeFillSolid.$, b.h._k);
71225
71231
  if (d != null) {
71226
- c = ExcelUtils.d4(ExcelUtils.g5(d.colorInfo._aj(a._b, false)));
71232
+ c = ExcelUtils.d4(ExcelUtils.g6(d.colorInfo._aj(a._b, false)));
71227
71233
  }
71228
71234
  var e = toNullable(Boolean_$type, null);
71229
71235
  if (typeCast(ShapeFillNoFill.$, b.h._k) !== null) {