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
@@ -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
  }
@@ -7464,12 +7464,13 @@ export let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
7464
7464
  this.ad.k();
7465
7465
  }
7466
7466
  ge(at, au) {
7467
- let av = this.bl._cx(au.p, au.n, Math.max(0, au.q - 1), Math.max(0, au.o - 1));
7468
- if (av == null) {
7467
+ let av = this.bl._c4(au.p, Math.max(0, au.q - 1), au.n, Math.max(0, au.o - 1), false, false);
7468
+ let aw = this.bl._cw(av);
7469
+ if (aw == null) {
7469
7470
  return;
7470
7471
  }
7471
- let aw = av._u ? av._k._c7(av._v, 1, false, true, true) : av._toString2(1, false, true, true);
7472
- SpreadsheetMLMain.aa1(this, aw);
7472
+ let ax = aw._u ? aw._k._c7(aw._v, 1, false, true, true) : aw._toString2(1, false, true, true);
7473
+ SpreadsheetMLMain.aa1(this, ax);
7473
7474
  this.ad.k();
7474
7475
  }
7475
7476
  static gf(at, au) {
@@ -9185,7 +9186,7 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
9185
9186
  }
9186
9187
  for (let b of fromEnum(this._b._namedReferences$i)) {
9187
9188
  if (b._j != null) {
9188
- b._j._cv(this._b);
9189
+ b._j._cw(this._b);
9189
9190
  }
9190
9191
  }
9191
9192
  super._z();
@@ -9297,12 +9298,12 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
9297
9298
  let c = new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null);
9298
9299
  try {
9299
9300
  c._aj._bh();
9300
- WorkItemScheduler.b().d(c._aj._m);
9301
+ WorkItemScheduler.c().e(c._aj._m);
9301
9302
  let d = WorkbookLoadManagerExcel2007._as(c._aj);
9302
9303
  if (d == null) {
9303
9304
  return;
9304
9305
  }
9305
- WorkItemScheduler.b().d(d.a());
9306
+ WorkItemScheduler.c().e(d.a());
9306
9307
  for (let e of fromEnum(b._styles$i)) {
9307
9308
  let f = typeCast(WorkbookBuiltInStyle.$, e);
9308
9309
  if (f == null) {
@@ -9323,7 +9324,7 @@ export let WorkbookLoadManagerExcel2007 = /*@__PURE__*/ (() => {
9323
9324
  return Async.p(WorkbookLoadManagerExcel2007.$, Base.$, new WorkbookLoadManagerExcel2007(b, null, new WorkbookLoadOptions(), toNullable(ST_ConformanceClass_$type, 0), null), (c) => {
9324
9325
  c._aw = true;
9325
9326
  c._aj._bh();
9326
- WorkItemScheduler.b().d(c._aj._m);
9327
+ WorkItemScheduler.c().e(c._aj._m);
9327
9328
  let d = WorkbookLoadManagerExcel2007._at(c._aj, a);
9328
9329
  if (d != null) {
9329
9330
  return d.a();
@@ -48369,7 +48370,7 @@ export let ChartSerializer = /*@__PURE__*/ (() => {
48369
48370
  let i = h.l;
48370
48371
  let j = a.chartType == -4169;
48371
48372
  ChartSerializer.bt(i, g, b, e, d, false, j);
48372
- if (f == false) {
48373
+ if (f == false || c.xValues != null) {
48373
48374
  let k = c.xValues != null ? typeCast(SeriesValuesBase.$, c.xValues) : typeCast(SeriesValuesBase.$, c.values);
48374
48375
  if (d > 0 && b.xValues != null && b.xValues._ad == false) {
48375
48376
  k = b.xValues;
@@ -56372,6 +56373,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
56372
56373
  let $ret = new CT_NonVisualDrawingProps();
56373
56374
  $ret.c = new ST_DrawingElementId(1, intSToU(h.value));
56374
56375
  $ret.f = i;
56376
+ $ret.d = a.visible == false;
56375
56377
  return $ret;
56376
56378
  })());
56377
56379
  $ret.b = new CT_NonVisualGraphicFrameProperties();
@@ -56417,6 +56419,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
56417
56419
  let $ret = new CT_NonVisualDrawingProps();
56418
56420
  $ret.c = new ST_DrawingElementId(1, intSToU(h.value));
56419
56421
  $ret.f = i;
56422
+ $ret.d = a.visible == false;
56420
56423
  return $ret;
56421
56424
  })());
56422
56425
  $ret.b = new CT_NonVisualGraphicFrameProperties();
@@ -56470,6 +56473,7 @@ export let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
56470
56473
  $ret.a = ((() => {
56471
56474
  let $ret = new CT_NonVisualDrawingProps();
56472
56475
  $ret.c = ST_DrawingElementId.a(c.c);
56476
+ $ret.d = a.visible == false;
56473
56477
  $ret.f = a._b9;
56474
56478
  return $ret;
56475
56479
  })());