igniteui-webcomponents-excel 4.3.0-beta.4 → 4.3.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.
Files changed (62) hide show
  1. package/bundles/igniteui-webcomponents-excel.umd.js +10268 -10084
  2. package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
  3. package/esm2015/lib/DefaultStyleHelper_combined.js +6837 -6742
  4. package/esm2015/lib/ExternalEventWorkItem$1.js +1 -1
  5. package/esm2015/lib/ExternalEventWorkItem.js +1 -1
  6. package/esm2015/lib/SpreadsheetML2009Main_combined.js +21 -17
  7. package/esm2015/lib/UltraCalcConditionalFunctionBase_CriteriaEvaluator.js +7 -7
  8. package/esm2015/lib/UltraCalcConditionalFunctionBase_combined.js +7 -3
  9. package/esm2015/lib/UltraCalcFunctionCell.js +1 -1
  10. package/esm2015/lib/UltraCalcFunctionColumn.js +1 -1
  11. package/esm2015/lib/UltraCalcFunctionDateValue.js +1 -1
  12. package/esm2015/lib/UltraCalcFunctionDays.js +4 -4
  13. package/esm2015/lib/UltraCalcFunctionHLookup.js +15 -8
  14. package/esm2015/lib/UltraCalcFunctionIRR.js +1 -1
  15. package/esm2015/lib/UltraCalcFunctionIndirect.js +1 -1
  16. package/esm2015/lib/UltraCalcFunctionLookup.js +21 -12
  17. package/esm2015/lib/UltraCalcFunctionLookupBase.js +5 -5
  18. package/esm2015/lib/UltraCalcFunctionMatch.js +13 -4
  19. package/esm2015/lib/UltraCalcFunctionRow.js +1 -1
  20. package/esm2015/lib/UltraCalcFunctionSheet.js +1 -1
  21. package/esm2015/lib/UltraCalcFunctionText.js +2 -2
  22. package/esm2015/lib/UltraCalcFunctionTime.js +1 -1
  23. package/esm2015/lib/UltraCalcFunctionTimeValue.js +1 -1
  24. package/esm2015/lib/UltraCalcFunctionUSDollar.js +1 -1
  25. package/esm2015/lib/UltraCalcFunctionVLookup.js +15 -8
  26. package/esm2015/lib/UltraCalcFunctionYearFrac.js +2 -2
  27. package/esm2015/lib/WorkItem_combined.js +82 -32
  28. package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +5 -5
  29. package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +88 -86
  30. package/esm5/lib/DefaultStyleHelper_combined.js +9630 -9531
  31. package/esm5/lib/ExternalEventWorkItem$1.js +1 -1
  32. package/esm5/lib/ExternalEventWorkItem.js +1 -1
  33. package/esm5/lib/SpreadsheetML2009Main_combined.js +21 -17
  34. package/esm5/lib/UltraCalcConditionalFunctionBase_CriteriaEvaluator.js +7 -7
  35. package/esm5/lib/UltraCalcConditionalFunctionBase_combined.js +7 -3
  36. package/esm5/lib/UltraCalcFunctionCell.js +1 -1
  37. package/esm5/lib/UltraCalcFunctionColumn.js +1 -1
  38. package/esm5/lib/UltraCalcFunctionDateValue.js +1 -1
  39. package/esm5/lib/UltraCalcFunctionDays.js +4 -4
  40. package/esm5/lib/UltraCalcFunctionHLookup.js +15 -8
  41. package/esm5/lib/UltraCalcFunctionIRR.js +1 -1
  42. package/esm5/lib/UltraCalcFunctionIndirect.js +1 -1
  43. package/esm5/lib/UltraCalcFunctionLookup.js +21 -12
  44. package/esm5/lib/UltraCalcFunctionLookupBase.js +5 -5
  45. package/esm5/lib/UltraCalcFunctionMatch.js +13 -4
  46. package/esm5/lib/UltraCalcFunctionRow.js +1 -1
  47. package/esm5/lib/UltraCalcFunctionSheet.js +1 -1
  48. package/esm5/lib/UltraCalcFunctionText.js +2 -2
  49. package/esm5/lib/UltraCalcFunctionTime.js +1 -1
  50. package/esm5/lib/UltraCalcFunctionTimeValue.js +1 -1
  51. package/esm5/lib/UltraCalcFunctionUSDollar.js +1 -1
  52. package/esm5/lib/UltraCalcFunctionVLookup.js +15 -8
  53. package/esm5/lib/UltraCalcFunctionYearFrac.js +2 -2
  54. package/esm5/lib/WorkItem_combined.js +82 -32
  55. package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +5 -5
  56. package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +86 -84
  57. package/fesm2015/igniteui-webcomponents-excel.js +7355 -7175
  58. package/fesm5/igniteui-webcomponents-excel.js +10269 -10085
  59. package/lib/DefaultStyleHelper_combined.d.ts +1409 -1377
  60. package/lib/WorkItem_combined.d.ts +20 -8
  61. package/lib/WorkbookSaveManagerExcel2003_combined.d.ts +25 -24
  62. 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
  };
@@ -10059,7 +10059,7 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10059
10059
  for (var _4 = __values(fromEnum(this._b._namedReferences$i)), _5 = _4.next(); !_5.done; _5 = _4.next()) {
10060
10060
  var b = _5.value;
10061
10061
  if (b._j != null) {
10062
- b._j._cv(this._b);
10062
+ b._j._cw(this._b);
10063
10063
  }
10064
10064
  }
10065
10065
  }
@@ -10203,12 +10203,12 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10203
10203
  var c = new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null);
10204
10204
  try {
10205
10205
  c._aj._bh();
10206
- WorkItemScheduler.b().d(c._aj._m);
10206
+ WorkItemScheduler.c().e(c._aj._m);
10207
10207
  var d = WorkbookLoadManagerExcel2007._as(c._aj);
10208
10208
  if (d == null) {
10209
10209
  return;
10210
10210
  }
10211
- WorkItemScheduler.b().d(d.a());
10211
+ WorkItemScheduler.c().e(d.a());
10212
10212
  try {
10213
10213
  for (var _1 = __values(fromEnum(b._styles$i)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
10214
10214
  var e = _2.value;
@@ -10245,7 +10245,7 @@ var WorkbookLoadManagerExcel2007 = /** @class */ /*@__PURE__*/ (function (_super
10245
10245
  return Async.p(WorkbookLoadManagerExcel2007.$, Base.$, new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null), function (c) {
10246
10246
  c._aw = true;
10247
10247
  c._aj._bh();
10248
- WorkItemScheduler.b().d(c._aj._m);
10248
+ WorkItemScheduler.c().e(c._aj._m);
10249
10249
  var d = WorkbookLoadManagerExcel2007._at(c._aj, a);
10250
10250
  if (d != null) {
10251
10251
  return d.a();