igniteui-webcomponents-excel 4.3.0 → 4.3.2

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.
Files changed (64) hide show
  1. package/License +7 -7
  2. package/README.md +7 -7
  3. package/bundles/igniteui-webcomponents-excel.umd.js +10189 -9970
  4. package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
  5. package/esm2015/lib/DefaultStyleHelper_combined.js +6934 -6828
  6. package/esm2015/lib/ExternalEventWorkItem$1.js +1 -1
  7. package/esm2015/lib/ExternalEventWorkItem.js +1 -1
  8. package/esm2015/lib/SpreadsheetML2009Main_combined.js +21 -17
  9. package/esm2015/lib/UltraCalcConditionalFunctionBase_CriteriaEvaluator.js +7 -7
  10. package/esm2015/lib/UltraCalcConditionalFunctionBase_combined.js +7 -3
  11. package/esm2015/lib/UltraCalcFunctionCell.js +1 -1
  12. package/esm2015/lib/UltraCalcFunctionColumn.js +1 -1
  13. package/esm2015/lib/UltraCalcFunctionDateValue.js +1 -1
  14. package/esm2015/lib/UltraCalcFunctionDays.js +4 -4
  15. package/esm2015/lib/UltraCalcFunctionHLookup.js +15 -8
  16. package/esm2015/lib/UltraCalcFunctionIRR.js +1 -1
  17. package/esm2015/lib/UltraCalcFunctionIndirect.js +1 -1
  18. package/esm2015/lib/UltraCalcFunctionLookup.js +21 -12
  19. package/esm2015/lib/UltraCalcFunctionLookupBase.js +5 -5
  20. package/esm2015/lib/UltraCalcFunctionMatch.js +13 -4
  21. package/esm2015/lib/UltraCalcFunctionRow.js +1 -1
  22. package/esm2015/lib/UltraCalcFunctionSheet.js +1 -1
  23. package/esm2015/lib/UltraCalcFunctionText.js +2 -2
  24. package/esm2015/lib/UltraCalcFunctionTime.js +1 -1
  25. package/esm2015/lib/UltraCalcFunctionTimeValue.js +1 -1
  26. package/esm2015/lib/UltraCalcFunctionUSDollar.js +1 -1
  27. package/esm2015/lib/UltraCalcFunctionVLookup.js +15 -8
  28. package/esm2015/lib/UltraCalcFunctionYearFrac.js +2 -2
  29. package/esm2015/lib/WorkItem_combined.js +82 -32
  30. package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +14 -10
  31. package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +88 -86
  32. package/esm5/lib/DefaultStyleHelper_combined.js +9670 -9540
  33. package/esm5/lib/ExternalEventWorkItem$1.js +1 -1
  34. package/esm5/lib/ExternalEventWorkItem.js +1 -1
  35. package/esm5/lib/SpreadsheetML2009Main_combined.js +21 -17
  36. package/esm5/lib/UltraCalcConditionalFunctionBase_CriteriaEvaluator.js +7 -7
  37. package/esm5/lib/UltraCalcConditionalFunctionBase_combined.js +7 -3
  38. package/esm5/lib/UltraCalcFunctionCell.js +1 -1
  39. package/esm5/lib/UltraCalcFunctionColumn.js +1 -1
  40. package/esm5/lib/UltraCalcFunctionDateValue.js +1 -1
  41. package/esm5/lib/UltraCalcFunctionDays.js +4 -4
  42. package/esm5/lib/UltraCalcFunctionHLookup.js +15 -8
  43. package/esm5/lib/UltraCalcFunctionIRR.js +1 -1
  44. package/esm5/lib/UltraCalcFunctionIndirect.js +1 -1
  45. package/esm5/lib/UltraCalcFunctionLookup.js +21 -12
  46. package/esm5/lib/UltraCalcFunctionLookupBase.js +5 -5
  47. package/esm5/lib/UltraCalcFunctionMatch.js +13 -4
  48. package/esm5/lib/UltraCalcFunctionRow.js +1 -1
  49. package/esm5/lib/UltraCalcFunctionSheet.js +1 -1
  50. package/esm5/lib/UltraCalcFunctionText.js +2 -2
  51. package/esm5/lib/UltraCalcFunctionTime.js +1 -1
  52. package/esm5/lib/UltraCalcFunctionTimeValue.js +1 -1
  53. package/esm5/lib/UltraCalcFunctionUSDollar.js +1 -1
  54. package/esm5/lib/UltraCalcFunctionVLookup.js +15 -8
  55. package/esm5/lib/UltraCalcFunctionYearFrac.js +2 -2
  56. package/esm5/lib/WorkItem_combined.js +82 -32
  57. package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +14 -10
  58. package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +86 -84
  59. package/fesm2015/igniteui-webcomponents-excel.js +6885 -6690
  60. package/fesm5/igniteui-webcomponents-excel.js +10190 -9971
  61. package/lib/DefaultStyleHelper_combined.d.ts +1410 -1378
  62. package/lib/WorkItem_combined.d.ts +20 -8
  63. package/lib/WorkbookSaveManagerExcel2003_combined.d.ts +25 -24
  64. package/package.json +2 -2
@@ -9,6 +9,8 @@ import { Base, Type, markType } from "igniteui-webcomponents-core";
9
9
  import { WorkItem_ExceptionInfo } from "./WorkItem_ExceptionInfo";
10
10
  import { InvalidOperationException } from "igniteui-webcomponents-core";
11
11
  import { Queue$1 } from "igniteui-webcomponents-core";
12
+ import { dateNow } from "igniteui-webcomponents-core";
13
+ import { timeSpanTicks } from "igniteui-webcomponents-core";
12
14
  /**
13
15
  * @hidden
14
16
  */
@@ -85,7 +87,7 @@ var WorkItem = /** @class */ /*@__PURE__*/ (function (_super) {
85
87
  }
86
88
  a.ab(this);
87
89
  if (a.t == false) {
88
- b.e(a);
90
+ b.f(a);
89
91
  }
90
92
  else {
91
93
  a.w(b);
@@ -97,7 +99,7 @@ var WorkItem = /** @class */ /*@__PURE__*/ (function (_super) {
97
99
  };
98
100
  WorkItem.h = function ($t, a) {
99
101
  var b = WorkItem.g($t, a);
100
- b.w(WorkItemScheduler.b());
102
+ b.w(WorkItemScheduler.c());
101
103
  return b;
102
104
  };
103
105
  WorkItem.prototype.x = function (a) {
@@ -115,7 +117,7 @@ var WorkItem = /** @class */ /*@__PURE__*/ (function (_super) {
115
117
  if (b != null) {
116
118
  b.x(this);
117
119
  if (b.t == false) {
118
- a.e(b);
120
+ a.f(b);
119
121
  }
120
122
  else {
121
123
  b.w(a);
@@ -346,14 +348,17 @@ var WorkItemScheduler = /** @class */ /*@__PURE__*/ (function (_super) {
346
348
  function WorkItemScheduler() {
347
349
  return _super !== null && _super.apply(this, arguments) || this;
348
350
  }
349
- WorkItemScheduler.a = function () {
350
- return WorkItemScheduler.c();
351
- };
352
351
  WorkItemScheduler.b = function () {
353
- return new WorkItemScheduler_SynchronousImpl();
352
+ return WorkItemScheduler.d();
354
353
  };
355
354
  WorkItemScheduler.c = function () {
356
- return new WorkItemScheduler_TimeSlicedImpl();
355
+ return new WorkItemScheduler_SynchronousImpl();
356
+ };
357
+ WorkItemScheduler.d = function () {
358
+ return new WorkItemScheduler_TimeSlicedImpl(1, 0);
359
+ };
360
+ WorkItemScheduler.a = function (a, b) {
361
+ return new WorkItemScheduler_TimeSlicedImpl(a, b);
357
362
  };
358
363
  WorkItemScheduler.$t = markType(WorkItemScheduler, 'WorkItemScheduler');
359
364
  return WorkItemScheduler;
@@ -366,24 +371,26 @@ var WorkItemScheduler_SynchronousImpl = /** @class */ /*@__PURE__*/ (function (_
366
371
  __extends(WorkItemScheduler_SynchronousImpl, _super);
367
372
  function WorkItemScheduler_SynchronousImpl() {
368
373
  var _this = _super.call(this) || this;
369
- _this.f = null;
370
- _this.f = new Queue$1(WorkItem.$);
374
+ _this.h = null;
375
+ _this.h = new Queue$1(WorkItem.$);
371
376
  return _this;
372
377
  }
373
- WorkItemScheduler_SynchronousImpl.prototype.d = function (a) {
378
+ WorkItemScheduler_SynchronousImpl.prototype.e = function (a) {
374
379
  if (a == null) {
375
380
  return;
376
381
  }
377
- this.e(a);
378
- while (this.f.count != 0) {
379
- var b = this.f.b();
382
+ this.f(a);
383
+ while (this.h.count != 0) {
384
+ var b = this.h.b();
380
385
  if (b != null) {
381
386
  b.w(this);
382
387
  }
383
388
  }
384
389
  };
385
- WorkItemScheduler_SynchronousImpl.prototype.e = function (a) {
386
- this.f.g(a.i);
390
+ WorkItemScheduler_SynchronousImpl.prototype.f = function (a) {
391
+ this.h.g(a.i);
392
+ };
393
+ WorkItemScheduler_SynchronousImpl.prototype.g = function () {
387
394
  };
388
395
  WorkItemScheduler_SynchronousImpl.$t = markType(WorkItemScheduler_SynchronousImpl, 'WorkItemScheduler_SynchronousImpl', WorkItemScheduler.$);
389
396
  return WorkItemScheduler_SynchronousImpl;
@@ -394,31 +401,67 @@ export { WorkItemScheduler_SynchronousImpl };
394
401
  */
395
402
  var WorkItemScheduler_TimeSlicedImpl = /** @class */ /*@__PURE__*/ (function (_super) {
396
403
  __extends(WorkItemScheduler_TimeSlicedImpl, _super);
397
- function WorkItemScheduler_TimeSlicedImpl() {
404
+ function WorkItemScheduler_TimeSlicedImpl(a, b) {
398
405
  var _this = _super.call(this) || this;
399
- _this.f = null;
400
- _this.f = new Queue$1(WorkItem.$);
406
+ _this.j = null;
407
+ _this.l = 0;
408
+ _this.n = 0;
409
+ _this.k = new Date();
410
+ _this.h = null;
411
+ _this.i = false;
412
+ _this.m = 0;
413
+ _this.j = new Queue$1(WorkItem.$);
414
+ _this.l = a;
415
+ _this.n = b * (10000);
416
+ _this.k = dateNow();
401
417
  return _this;
402
418
  }
403
- WorkItemScheduler_TimeSlicedImpl.prototype.d = function (a) {
419
+ WorkItemScheduler_TimeSlicedImpl.prototype.o = function () {
420
+ this.k = dateNow();
421
+ var a = this.h;
422
+ this.h = null;
423
+ this.e(a);
424
+ };
425
+ WorkItemScheduler_TimeSlicedImpl.prototype.e = function (a) {
404
426
  if (a == null) {
405
427
  return;
406
428
  }
407
- this.f.g(a.i);
408
- while (this.f.count != 0) {
409
- var b = this.f.b();
429
+ this.j.g(a.i);
430
+ while (this.j.count != 0) {
431
+ var b = this.j.b();
410
432
  if (b != null) {
411
433
  b.w(this);
412
434
  }
413
435
  }
414
436
  };
415
- WorkItemScheduler_TimeSlicedImpl.prototype.e = function (a) {
437
+ WorkItemScheduler_TimeSlicedImpl.prototype.f = function (a) {
416
438
  var _this = this;
417
- if (a.l == 2) {
418
- setTimeout(function () { return _this.d(a); }, 1);
439
+ var b;
440
+ if (this.i) {
441
+ b = false;
442
+ }
443
+ else if (a.l == 2) {
444
+ b = true;
445
+ }
446
+ else if (this.n > 0 && timeSpanTicks((+(dateNow()) - +(this.k))) >= this.n) {
447
+ b = true;
448
+ }
449
+ else {
450
+ b = false;
451
+ }
452
+ if (b) {
453
+ this.h = a;
454
+ this.m = (setTimeout(function () { return _this.o(); }, this.l));
419
455
  }
420
456
  else {
421
- this.f.g(a.i);
457
+ this.j.g(a.i);
458
+ }
459
+ };
460
+ WorkItemScheduler_TimeSlicedImpl.prototype.g = function () {
461
+ this.i = true;
462
+ if (this.h != null) {
463
+ clearTimeout(this.m);
464
+ this.o();
422
465
  }
423
466
  };
424
467
  WorkItemScheduler_TimeSlicedImpl.$t = markType(WorkItemScheduler_TimeSlicedImpl, 'WorkItemScheduler_TimeSlicedImpl', WorkItemScheduler.$);
@@ -433,18 +476,25 @@ var WorkItemExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
433
476
  function WorkItemExtensions() {
434
477
  return _super !== null && _super.apply(this, arguments) || this;
435
478
  }
436
- WorkItemExtensions.n = function (a) {
437
- WorkItemScheduler.b().d(a);
438
- };
439
479
  WorkItemExtensions.o = function (a) {
440
- WorkItemScheduler.a().d(WorkItemExtensions.b(a, function (b) { return b.y(); }, 1));
480
+ if (a != null) {
481
+ WorkItemScheduler.c().e(a);
482
+ }
483
+ };
484
+ WorkItemExtensions.p = function (a) {
485
+ WorkItemScheduler.b().e(WorkItemExtensions.b(a, function (b) { return b.y(); }, 1));
486
+ };
487
+ WorkItemExtensions.n = function (a, b, c) {
488
+ var d = WorkItemScheduler.a(b, c);
489
+ d.e(WorkItemExtensions.b(a, function (e) { return e.y(); }, 1));
490
+ return d;
441
491
  };
442
492
  WorkItemExtensions.m = function ($tResult, a) {
443
493
  if (a == null) {
444
494
  return Type.getDefaultValue($tResult);
445
495
  }
446
496
  if (a.r == false) {
447
- WorkItemScheduler.b().d(a);
497
+ WorkItemScheduler.c().e(a);
448
498
  }
449
499
  a.y();
450
500
  return a.ad;
@@ -917,7 +917,7 @@ var ObjectModelExcelDocumentManager = /** @class */ /*@__PURE__*/ (function (_su
917
917
  ObjectModelExcelDocumentManager.prototype._o = function () {
918
918
  var a = this._by;
919
919
  if (a.currentFormat == 2 && this._z == 1) {
920
- a._i3(6);
920
+ a._i4(6);
921
921
  }
922
922
  return _super.prototype._o.call(this);
923
923
  };
@@ -8138,12 +8138,13 @@ var ObjectModelWorksheetPartManager = /** @class */ /*@__PURE__*/ (function (_su
8138
8138
  this.ad.k();
8139
8139
  };
8140
8140
  ObjectModelWorksheetPartManager.prototype.ge = function (at, au) {
8141
- var av = this.bl._cx(au.p, au.n, Math.max(0, au.q - 1), Math.max(0, au.o - 1));
8142
- if (av == null) {
8141
+ var av = this.bl._c4(au.p, Math.max(0, au.q - 1), au.n, Math.max(0, au.o - 1), false, false);
8142
+ var aw = this.bl._cw(av);
8143
+ if (aw == null) {
8143
8144
  return;
8144
8145
  }
8145
- var aw = av._u ? av._k._c7(av._v, 1, false, true, true) : av._toString2(1, false, true, true);
8146
- SpreadsheetMLMain.aa1(this, aw);
8146
+ var ax = aw._u ? aw._k._c7(aw._v, 1, false, true, true) : aw._toString2(1, false, true, true);
8147
+ SpreadsheetMLMain.aa1(this, ax);
8147
8148
  this.ad.k();
8148
8149
  };
8149
8150
  ObjectModelWorksheetPartManager.gf = function (at, au) {
@@ -10059,7 +10060,7 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10059
10060
  for (var _4 = __values(fromEnum(this._b._namedReferences$i)), _5 = _4.next(); !_5.done; _5 = _4.next()) {
10060
10061
  var b = _5.value;
10061
10062
  if (b._j != null) {
10062
- b._j._cv(this._b);
10063
+ b._j._cw(this._b);
10063
10064
  }
10064
10065
  }
10065
10066
  }
@@ -10203,12 +10204,12 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10203
10204
  var c = new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null);
10204
10205
  try {
10205
10206
  c._aj._bh();
10206
- WorkItemScheduler.b().d(c._aj._m);
10207
+ WorkItemScheduler.c().e(c._aj._m);
10207
10208
  var d = WorkbookLoadManagerExcel2007._as(c._aj);
10208
10209
  if (d == null) {
10209
10210
  return;
10210
10211
  }
10211
- WorkItemScheduler.b().d(d.a());
10212
+ WorkItemScheduler.c().e(d.a());
10212
10213
  try {
10213
10214
  for (var _1 = __values(fromEnum(b._styles$i)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
10214
10215
  var e = _2.value;
@@ -10245,7 +10246,7 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10245
10246
  return Async.p(WorkbookLoadManagerExcel2007.$, Base.$, new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null), function (c) {
10246
10247
  c._aw = true;
10247
10248
  c._aj._bh();
10248
- WorkItemScheduler.b().d(c._aj._m);
10249
+ WorkItemScheduler.c().e(c._aj._m);
10249
10250
  var d = WorkbookLoadManagerExcel2007._at(c._aj, a);
10250
10251
  if (d != null) {
10251
10252
  return d.a();
@@ -56778,7 +56779,7 @@ var ChartSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
56778
56779
  var i = h.l;
56779
56780
  var j = a.chartType == -4169;
56780
56781
  ChartSerializer.bt(i, g, b, e, d, false, j);
56781
- if (f == false) {
56782
+ if (f == false || c.xValues != null) {
56782
56783
  var k = c.xValues != null ? typeCast(SeriesValuesBase.$, c.xValues) : typeCast(SeriesValuesBase.$, c.values);
56783
56784
  if (d > 0 && b.xValues != null && b.xValues._ad == false) {
56784
56785
  k = b.xValues;
@@ -66410,6 +66411,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
66410
66411
  var $ret = new CT_NonVisualDrawingProps();
66411
66412
  $ret.c = new ST_DrawingElementId(1, intSToU(h.value));
66412
66413
  $ret.f = i;
66414
+ $ret.d = a.visible == false;
66413
66415
  return $ret;
66414
66416
  })());
66415
66417
  $ret.b = new CT_NonVisualGraphicFrameProperties();
@@ -66455,6 +66457,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
66455
66457
  var $ret = new CT_NonVisualDrawingProps();
66456
66458
  $ret.c = new ST_DrawingElementId(1, intSToU(h.value));
66457
66459
  $ret.f = i;
66460
+ $ret.d = a.visible == false;
66458
66461
  return $ret;
66459
66462
  })());
66460
66463
  $ret.b = new CT_NonVisualGraphicFrameProperties();
@@ -66508,6 +66511,7 @@ var ObjectModelDrawingPartManager = /** @class */ /*@__PURE__*/ (function (_supe
66508
66511
  $ret.a = ((function () {
66509
66512
  var $ret = new CT_NonVisualDrawingProps();
66510
66513
  $ret.c = ST_DrawingElementId.a(c.c);
66514
+ $ret.d = a.visible == false;
66511
66515
  $ret.f = a._b9;
66512
66516
  return $ret;
66513
66517
  })());