igniteui-webcomponents-excel 4.3.0 → 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
@@ -8,6 +8,8 @@ import { Base, Type, markType } from "igniteui-webcomponents-core";
8
8
  import { WorkItem_ExceptionInfo } from "./WorkItem_ExceptionInfo";
9
9
  import { InvalidOperationException } from "igniteui-webcomponents-core";
10
10
  import { Queue$1 } from "igniteui-webcomponents-core";
11
+ import { dateNow } from "igniteui-webcomponents-core";
12
+ import { timeSpanTicks } from "igniteui-webcomponents-core";
11
13
  /**
12
14
  * @hidden
13
15
  */
@@ -70,7 +72,7 @@ export let WorkItem = /*@__PURE__*/ (() => {
70
72
  }
71
73
  a.ab(this);
72
74
  if (a.t == false) {
73
- b.e(a);
75
+ b.f(a);
74
76
  }
75
77
  else {
76
78
  a.w(b);
@@ -82,7 +84,7 @@ export let WorkItem = /*@__PURE__*/ (() => {
82
84
  }
83
85
  static h($t, a) {
84
86
  let b = WorkItem.g($t, a);
85
- b.w(WorkItemScheduler.b());
87
+ b.w(WorkItemScheduler.c());
86
88
  return b;
87
89
  }
88
90
  x(a) {
@@ -100,7 +102,7 @@ export let WorkItem = /*@__PURE__*/ (() => {
100
102
  if (b != null) {
101
103
  b.x(this);
102
104
  if (b.t == false) {
103
- a.e(b);
105
+ a.f(b);
104
106
  }
105
107
  else {
106
108
  b.w(a);
@@ -299,14 +301,17 @@ export let WorkItem_WorkItemAsync$1 = /*@__PURE__*/ (() => {
299
301
  */
300
302
  export let WorkItemScheduler = /*@__PURE__*/ (() => {
301
303
  class WorkItemScheduler extends Base {
302
- static a() {
303
- return WorkItemScheduler.c();
304
- }
305
304
  static b() {
306
- return new WorkItemScheduler_SynchronousImpl();
305
+ return WorkItemScheduler.d();
307
306
  }
308
307
  static c() {
309
- return new WorkItemScheduler_TimeSlicedImpl();
308
+ return new WorkItemScheduler_SynchronousImpl();
309
+ }
310
+ static d() {
311
+ return new WorkItemScheduler_TimeSlicedImpl(1, 0);
312
+ }
313
+ static a(a, b) {
314
+ return new WorkItemScheduler_TimeSlicedImpl(a, b);
310
315
  }
311
316
  }
312
317
  WorkItemScheduler.$t = /*@__PURE__*/ markType(WorkItemScheduler, 'WorkItemScheduler');
@@ -319,23 +324,25 @@ export let WorkItemScheduler_SynchronousImpl = /*@__PURE__*/ (() => {
319
324
  class WorkItemScheduler_SynchronousImpl extends WorkItemScheduler {
320
325
  constructor() {
321
326
  super();
322
- this.f = null;
323
- this.f = new Queue$1(WorkItem.$);
327
+ this.h = null;
328
+ this.h = new Queue$1(WorkItem.$);
324
329
  }
325
- d(a) {
330
+ e(a) {
326
331
  if (a == null) {
327
332
  return;
328
333
  }
329
- this.e(a);
330
- while (this.f.count != 0) {
331
- let b = this.f.b();
334
+ this.f(a);
335
+ while (this.h.count != 0) {
336
+ let b = this.h.b();
332
337
  if (b != null) {
333
338
  b.w(this);
334
339
  }
335
340
  }
336
341
  }
337
- e(a) {
338
- this.f.g(a.i);
342
+ f(a) {
343
+ this.h.g(a.i);
344
+ }
345
+ g() {
339
346
  }
340
347
  }
341
348
  WorkItemScheduler_SynchronousImpl.$t = /*@__PURE__*/ markType(WorkItemScheduler_SynchronousImpl, 'WorkItemScheduler_SynchronousImpl', WorkItemScheduler.$);
@@ -346,29 +353,65 @@ export let WorkItemScheduler_SynchronousImpl = /*@__PURE__*/ (() => {
346
353
  */
347
354
  export let WorkItemScheduler_TimeSlicedImpl = /*@__PURE__*/ (() => {
348
355
  class WorkItemScheduler_TimeSlicedImpl extends WorkItemScheduler {
349
- constructor() {
356
+ constructor(a, b) {
350
357
  super();
351
- this.f = null;
352
- this.f = new Queue$1(WorkItem.$);
358
+ this.j = null;
359
+ this.l = 0;
360
+ this.n = 0;
361
+ this.k = new Date();
362
+ this.h = null;
363
+ this.i = false;
364
+ this.m = 0;
365
+ this.j = new Queue$1(WorkItem.$);
366
+ this.l = a;
367
+ this.n = b * (10000);
368
+ this.k = dateNow();
369
+ }
370
+ o() {
371
+ this.k = dateNow();
372
+ let a = this.h;
373
+ this.h = null;
374
+ this.e(a);
353
375
  }
354
- d(a) {
376
+ e(a) {
355
377
  if (a == null) {
356
378
  return;
357
379
  }
358
- this.f.g(a.i);
359
- while (this.f.count != 0) {
360
- let b = this.f.b();
380
+ this.j.g(a.i);
381
+ while (this.j.count != 0) {
382
+ let b = this.j.b();
361
383
  if (b != null) {
362
384
  b.w(this);
363
385
  }
364
386
  }
365
387
  }
366
- e(a) {
367
- if (a.l == 2) {
368
- setTimeout(() => this.d(a), 1);
388
+ f(a) {
389
+ let b;
390
+ if (this.i) {
391
+ b = false;
392
+ }
393
+ else if (a.l == 2) {
394
+ b = true;
395
+ }
396
+ else if (this.n > 0 && timeSpanTicks((+(dateNow()) - +(this.k))) >= this.n) {
397
+ b = true;
398
+ }
399
+ else {
400
+ b = false;
401
+ }
402
+ if (b) {
403
+ this.h = a;
404
+ this.m = (setTimeout(() => this.o(), this.l));
369
405
  }
370
406
  else {
371
- this.f.g(a.i);
407
+ this.j.g(a.i);
408
+ }
409
+ }
410
+ g() {
411
+ this.i = true;
412
+ if (this.h != null) {
413
+ clearTimeout(this.m);
414
+ this.o();
372
415
  }
373
416
  }
374
417
  }
@@ -380,18 +423,25 @@ export let WorkItemScheduler_TimeSlicedImpl = /*@__PURE__*/ (() => {
380
423
  */
381
424
  export let WorkItemExtensions = /*@__PURE__*/ (() => {
382
425
  class WorkItemExtensions extends Base {
383
- static n(a) {
384
- WorkItemScheduler.b().d(a);
385
- }
386
426
  static o(a) {
387
- WorkItemScheduler.a().d(WorkItemExtensions.b(a, (b) => b.y(), 1));
427
+ if (a != null) {
428
+ WorkItemScheduler.c().e(a);
429
+ }
430
+ }
431
+ static p(a) {
432
+ WorkItemScheduler.b().e(WorkItemExtensions.b(a, (b) => b.y(), 1));
433
+ }
434
+ static n(a, b, c) {
435
+ let d = WorkItemScheduler.a(b, c);
436
+ d.e(WorkItemExtensions.b(a, (e) => e.y(), 1));
437
+ return d;
388
438
  }
389
439
  static m($tResult, a) {
390
440
  if (a == null) {
391
441
  return Type.getDefaultValue($tResult);
392
442
  }
393
443
  if (a.r == false) {
394
- WorkItemScheduler.b().d(a);
444
+ WorkItemScheduler.c().e(a);
395
445
  }
396
446
  a.y();
397
447
  return a.ad;
@@ -897,7 +897,7 @@ export let ObjectModelExcelDocumentManager = /*@__PURE__*/ (() => {
897
897
  _o() {
898
898
  let a = this._by;
899
899
  if (a.currentFormat == 2 && this._z == 1) {
900
- a._i3(6);
900
+ a._i4(6);
901
901
  }
902
902
  return super._o();
903
903
  }
@@ -9185,7 +9185,7 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
9185
9185
  }
9186
9186
  for (let b of fromEnum(this._b._namedReferences$i)) {
9187
9187
  if (b._j != null) {
9188
- b._j._cv(this._b);
9188
+ b._j._cw(this._b);
9189
9189
  }
9190
9190
  }
9191
9191
  super._z();
@@ -9297,12 +9297,12 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
9297
9297
  let c = new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null);
9298
9298
  try {
9299
9299
  c._aj._bh();
9300
- WorkItemScheduler.b().d(c._aj._m);
9300
+ WorkItemScheduler.c().e(c._aj._m);
9301
9301
  let d = WorkbookLoadManagerExcel2007._as(c._aj);
9302
9302
  if (d == null) {
9303
9303
  return;
9304
9304
  }
9305
- WorkItemScheduler.b().d(d.a());
9305
+ WorkItemScheduler.c().e(d.a());
9306
9306
  for (let e of fromEnum(b._styles$i)) {
9307
9307
  let f = typeCast(WorkbookBuiltInStyle.$, e);
9308
9308
  if (f == null) {
@@ -9323,7 +9323,7 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
9323
9323
  return Async.p(WorkbookLoadManagerExcel2007.$, Base.$, new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null), (c) => {
9324
9324
  c._aw = true;
9325
9325
  c._aj._bh();
9326
- WorkItemScheduler.b().d(c._aj._m);
9326
+ WorkItemScheduler.c().e(c._aj._m);
9327
9327
  let d = WorkbookLoadManagerExcel2007._at(c._aj, a);
9328
9328
  if (d != null) {
9329
9329
  return d.a();