igniteui-webcomponents-grids 4.0.4 → 4.2.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 (95) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +941 -593
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/CanvasGridCellBase.js +26 -26
  4. package/esm2015/lib/CanvasSummaryCell.js +2 -2
  5. package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
  6. package/esm2015/lib/CheckboxListView_combined.js +552 -389
  7. package/esm2015/lib/ColumnChooserView_combined.js +9 -9
  8. package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
  9. package/esm2015/lib/ColumnPinningView_combined.js +7 -7
  10. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  11. package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
  12. package/esm2015/lib/EditorCell.js +1 -1
  13. package/esm2015/lib/FilterCell.js +1 -1
  14. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
  15. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  16. package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
  17. package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
  18. package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
  19. package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
  20. package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
  21. package/esm2015/lib/NumericEditorView.js +3 -3
  22. package/esm2015/lib/PropertyEditorView_combined.js +40 -40
  23. package/esm2015/lib/TextEditorView.js +10 -10
  24. package/esm2015/lib/igc-checkbox-list-component.js +155 -50
  25. package/esm5/lib/CanvasGridCellBase.js +26 -26
  26. package/esm5/lib/CanvasSummaryCell.js +2 -2
  27. package/esm5/lib/CanvasTextHeaderCell.js +1 -1
  28. package/esm5/lib/CheckboxListView_combined.js +578 -375
  29. package/esm5/lib/ColumnChooserView_combined.js +9 -9
  30. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  31. package/esm5/lib/ColumnPinningView_combined.js +7 -7
  32. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  33. package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
  34. package/esm5/lib/EditorCell.js +1 -1
  35. package/esm5/lib/FilterCell.js +1 -1
  36. package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
  37. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  38. package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
  39. package/esm5/lib/GridFilterDialogView_combined.js +5 -5
  40. package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
  41. package/esm5/lib/ISummaryChooserView_combined.js +11 -11
  42. package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
  43. package/esm5/lib/NumericEditorView.js +3 -3
  44. package/esm5/lib/PropertyEditorView_combined.js +40 -40
  45. package/esm5/lib/TextEditorView.js +10 -10
  46. package/esm5/lib/igc-checkbox-list-component.js +195 -50
  47. package/fesm2015/igniteui-webcomponents-grids.js +873 -605
  48. package/fesm5/igniteui-webcomponents-grids.js +939 -591
  49. package/grids/combined.js +160 -90
  50. package/grids/index.d.ts +15 -0
  51. package/grids/lib/common.d.ts +0 -4
  52. package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
  53. package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
  54. package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
  55. package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
  56. package/grids/lib/igc-cell-template-context.d.ts +2 -1
  57. package/grids/lib/igc-column-component.d.ts +3 -2
  58. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
  59. package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
  60. package/grids/lib/igc-date-summary-operand.d.ts +75 -0
  61. package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
  62. package/grids/lib/igc-display-density-base.d.ts +1 -1
  63. package/grids/lib/igc-exporter-options-base.d.ts +2 -0
  64. package/grids/lib/igc-filtering-expression.d.ts +33 -0
  65. package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
  66. package/grids/lib/igc-filtering-operand.d.ts +4 -2
  67. package/grids/lib/igc-filtering-operation.d.ts +4 -0
  68. package/grids/lib/igc-grid-base-directive.d.ts +9 -2
  69. package/grids/lib/igc-grid-component.d.ts +4 -4
  70. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
  71. package/grids/lib/igc-grouped-records.d.ts +1 -1
  72. package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
  73. package/grids/lib/igc-number-summary-operand.d.ts +104 -0
  74. package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
  75. package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
  76. package/grids/lib/igc-sorting-options.d.ts +3 -2
  77. package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
  78. package/grids/lib/igc-summary-operand.d.ts +61 -0
  79. package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
  80. package/grids/lib/igc-time-summary-operand.d.ts +49 -0
  81. package/grids/lib/sorting-options-mode.d.ts +3 -0
  82. package/grids/styles.css +1 -1
  83. package/grids/themes/dark/bootstrap.css +1 -1
  84. package/grids/themes/dark/fluent.css +1 -1
  85. package/grids/themes/dark/indigo.css +1 -1
  86. package/grids/themes/dark/material.css +1 -1
  87. package/grids/themes/light/bootstrap.css +1 -1
  88. package/grids/themes/light/fluent.css +1 -1
  89. package/grids/themes/light/indigo.css +1 -1
  90. package/grids/themes/light/material.css +1 -1
  91. package/lib/CheckboxListView_combined.d.ts +120 -96
  92. package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
  93. package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
  94. package/lib/igc-checkbox-list-component.d.ts +40 -0
  95. package/package.json +4 -4
@@ -150,7 +150,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
150
150
  };
151
151
  Object.defineProperty(CanvasGridCellBase.prototype, "templateContext", {
152
152
  get: function () {
153
- return this.j.g();
153
+ return this.j.h();
154
154
  },
155
155
  enumerable: true,
156
156
  configurable: true
@@ -303,7 +303,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
303
303
  return;
304
304
  }
305
305
  if (this.bz != 1) {
306
- a.ad(this.bz);
306
+ a.ae(this.bz);
307
307
  }
308
308
  var j = this.j;
309
309
  if (!this.v) {
@@ -319,17 +319,17 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
319
319
  if (this.p || this.u || (this.i != null && this.i.g != this.br)) {
320
320
  this.p = false;
321
321
  this.br = this.i.g;
322
- j.ac(this.i);
322
+ j.ad(this.i);
323
323
  }
324
324
  if (f != 1) {
325
- j.z();
326
- j.aa(f, f);
325
+ j.aa();
326
+ j.ab(f, f);
327
327
  }
328
328
  if (!this.v) {
329
- j.z();
329
+ j.aa();
330
330
  var k = Math.round((d - b));
331
331
  var l = Math.round((e - c));
332
- j.af(k, l);
332
+ j.ag(k, l);
333
333
  }
334
334
  if (g) {
335
335
  this.b8(j);
@@ -338,24 +338,24 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
338
338
  this.b9(j);
339
339
  }
340
340
  if (!this.v) {
341
- j.y();
341
+ j.z();
342
342
  }
343
343
  if (f != 1) {
344
- j.y();
344
+ j.z();
345
345
  }
346
346
  }
347
347
  if (!i && this.v) {
348
348
  var m = Math.round((d - b) * f);
349
349
  var n = Math.round((e - c) * f);
350
350
  if (this.am == this.ao && this.al == this.an) {
351
- a.m(this.bu(), 1, m, n, this.am, this.al);
351
+ a.n(this.bu(), 1, m, n, this.am, this.al);
352
352
  }
353
353
  else {
354
- a.n(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
354
+ a.o(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
355
355
  }
356
356
  }
357
357
  if (this.bz != 1) {
358
- a.ad(1);
358
+ a.ae(1);
359
359
  }
360
360
  };
361
361
  CanvasGridCellBase.prototype.bu = function () {
@@ -363,13 +363,13 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
363
363
  };
364
364
  CanvasGridCellBase.prototype.b8 = function (a) {
365
365
  if (!this.m) {
366
- a.k(0, 0, this.ao, this.an);
366
+ a.l(0, 0, this.ao, this.an);
367
367
  }
368
368
  this.c6.n = 0;
369
369
  this.c6.o = 0;
370
370
  this.c6.width = this.a5;
371
371
  this.c6.height = this.as;
372
- a.v(this.c6);
372
+ a.w(this.c6);
373
373
  if (this.cy != null) {
374
374
  if (this.ai > 0) {
375
375
  this.c2.am = 0;
@@ -378,7 +378,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
378
378
  this.c2.al = this.ai / 2;
379
379
  this.c2._stroke = this.cy;
380
380
  this.c2.ac = this.ai;
381
- a.r(this.c2);
381
+ a.s(this.c2);
382
382
  }
383
383
  if (this.aj > 0) {
384
384
  this.c3.am = 0;
@@ -387,7 +387,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
387
387
  this.c3.al = Math.max(0, (this.a5 - (this.aj / 2)));
388
388
  this.c3._stroke = this.cy;
389
389
  this.c3.ac = this.aj;
390
- a.r(this.c3);
390
+ a.s(this.c3);
391
391
  }
392
392
  if (this.ak > 0) {
393
393
  this.c5.am = this.ak / 2;
@@ -396,7 +396,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
396
396
  this.c5.al = Math.max(0, (this.a5 - (this.aj / 2)));
397
397
  this.c5._stroke = this.cy;
398
398
  this.c5.ac = this.ak;
399
- a.r(this.c5);
399
+ a.s(this.c5);
400
400
  }
401
401
  if (this.ah > 0) {
402
402
  this.c1.am = Math.max(0, this.as - (this.ah / 2));
@@ -405,7 +405,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
405
405
  this.c1.al = Math.max(0, (this.a5 - (this.aj / 2)));
406
406
  this.c1._stroke = this.cy;
407
407
  this.c1.ac = this.ah;
408
- a.r(this.c1);
408
+ a.s(this.c1);
409
409
  }
410
410
  }
411
411
  };
@@ -426,7 +426,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
426
426
  if (this.cx.al != null) {
427
427
  this.cx.n = this.a0;
428
428
  this.cx.o = this.a3;
429
- a.w(this.cx);
429
+ a.x(this.cx);
430
430
  if (this.r) {
431
431
  this.c4.ac = 1;
432
432
  this.c4.ak = this.a0;
@@ -434,7 +434,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
434
434
  this.c4.al = this.a0 + (this.a2 - this.a0);
435
435
  this.c4.an = this.a4 - 2;
436
436
  this.c4._stroke = this.cx.ao;
437
- this.j.r(this.c4);
437
+ this.j.s(this.c4);
438
438
  }
439
439
  }
440
440
  };
@@ -668,7 +668,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
668
668
  if (this.p || (this.i != null && this.i.g != this.br)) {
669
669
  this.p = false;
670
670
  this.br = this.i.g;
671
- a.ac(this.i);
671
+ a.ad(this.i);
672
672
  }
673
673
  var b;
674
674
  if (this.h != this.i || this.bt != this.i.g) {
@@ -725,13 +725,13 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
725
725
  var f = e.length;
726
726
  var g = ("\u2026");
727
727
  if (isNaN_(this.ap)) {
728
- this.ap = d.f(g);
728
+ this.ap = d.g(g);
729
729
  }
730
730
  if (c <= this.ap) {
731
731
  a.al = g;
732
732
  return this.ap;
733
733
  }
734
- var h = d.f(e);
734
+ var h = d.g(e);
735
735
  if (h <= c) {
736
736
  a.al = b;
737
737
  return h;
@@ -739,14 +739,14 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
739
739
  var i = c / h;
740
740
  var j = truncate(Math.ceil(f * i));
741
741
  var k = e.substr(0, j) + g;
742
- var l = d.f(k);
742
+ var l = d.g(k);
743
743
  if (l > c) {
744
744
  f = j;
745
745
  }
746
746
  else {
747
747
  j = j + 1;
748
748
  k = e.substr(0, j) + g;
749
- l = d.f(k);
749
+ l = d.g(k);
750
750
  if (l > c) {
751
751
  f = j;
752
752
  }
@@ -754,7 +754,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
754
754
  while (h > c && f > 0) {
755
755
  f--;
756
756
  e = e.substr(0, f) + g;
757
- h = d.f(e);
757
+ h = d.g(e);
758
758
  }
759
759
  a.al = e;
760
760
  return h;
@@ -66,7 +66,7 @@ var CanvasSummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
66
66
  if (this.c8 || (this.c7 != null && this.c7.g != this.de)) {
67
67
  this.c8 = false;
68
68
  this.de = this.c7.g;
69
- a.ac(this.c7);
69
+ a.ad(this.c7);
70
70
  this.da = FontUtil.getCurrentFontHeight(this.bn, this.c7);
71
71
  }
72
72
  var b = this.bl;
@@ -87,7 +87,7 @@ var CanvasSummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
87
87
  }
88
88
  this.dk.n = this.db;
89
89
  this.dk.o = this.dc;
90
- a.w(this.dk);
90
+ a.x(this.dk);
91
91
  }
92
92
  _super.prototype.b9.call(this, a);
93
93
  };
@@ -52,7 +52,7 @@ var CanvasTextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
52
52
  if (this.d == 2) {
53
53
  b = this.bg - 21;
54
54
  }
55
- a.m(this.c9, 1, b, this.bj - 8, 16, 16);
55
+ a.n(this.c9, 1, b, this.bj - 8, 16, 16);
56
56
  };
57
57
  CanvasTextHeaderCell.prototype.get_ab = function () {
58
58
  return true;