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
@@ -720,7 +720,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
720
720
  break;
721
721
  case "FilterPlaceholderText":
722
722
  if (this.n != null) {
723
- this.n.cb = this.b8;
723
+ this.n.ce = this.b8;
724
724
  }
725
725
  break;
726
726
  case "SearchInputType":
@@ -763,11 +763,11 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
763
763
  try {
764
764
  for (var _b = tslib_1.__values(fromEnum(this.properties)), _c = _b.next(); !_c.done; _c = _b.next()) {
765
765
  var c = _c.value;
766
- var d = c.al;
766
+ var d = c.an;
767
767
  if (this.r != null) {
768
768
  var e = this.r.e(d, false);
769
769
  if (e != null) {
770
- if (c.p(e)) {
770
+ if (c.r(e)) {
771
771
  b = true;
772
772
  }
773
773
  }
@@ -1069,7 +1069,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1069
1069
  PropertyEditor.prototype.ct = function (a, b) {
1070
1070
  var c = a;
1071
1071
  var d = this.s(c, b.cellInfo.et, b.rowObject);
1072
- b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.n : 0);
1072
+ b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.p : 0);
1073
1073
  };
1074
1074
  PropertyEditor.prototype.dm = function (a, b) {
1075
1075
  var c = a;
@@ -1078,10 +1078,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1078
1078
  b.resolvedValue = null;
1079
1079
  return;
1080
1080
  }
1081
- b.resolvedValue = d.aj != null ? d.aj : d.al;
1081
+ b.resolvedValue = d.al != null ? d.al : d.an;
1082
1082
  };
1083
1083
  PropertyEditor.prototype.a9 = function (a) {
1084
- switch (a.n) {
1084
+ switch (a.p) {
1085
1085
  case 10: return this.aw(a);
1086
1086
  case 7: return this.ax(a);
1087
1087
  case 4: return this.az(a);
@@ -1182,12 +1182,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1182
1182
  return this.m.i(this.cb(a)) + 17;
1183
1183
  };
1184
1184
  PropertyEditor.prototype.cb = function (a) {
1185
- return a.aj != null ? a.aj : a.al;
1185
+ return a.al != null ? a.al : a.an;
1186
1186
  };
1187
1187
  PropertyEditor.prototype.cs = function (a, b) {
1188
1188
  var c = a;
1189
1189
  var d = this.s(c, b.cellInfo.et, b.cellInfo.g4);
1190
- var e = d != null ? d.n : 0;
1190
+ var e = d != null ? d.p : 0;
1191
1191
  switch (e) {
1192
1192
  case 10:
1193
1193
  this.cu(c, b);
@@ -1283,8 +1283,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1283
1283
  }
1284
1284
  var e = _this.s(a, b.cellInfo.et, b.cellInfo.g4);
1285
1285
  var f = c.inputs._inner[0];
1286
- f.bd = e;
1287
- f.cj = (e.ad != null ? e.ad.toString() : "");
1286
+ f.bf = e;
1287
+ f.cm = (e.af != null ? e.af.toString() : "");
1288
1288
  if (d) {
1289
1289
  f.changing = delegateCombine(f.changing, runOn(_this, _this.dj));
1290
1290
  }
@@ -1298,9 +1298,9 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1298
1298
  }
1299
1299
  var e = _this.s(a, b.cellInfo.et, b.cellInfo.g4);
1300
1300
  c.ez = e;
1301
- var f = e.ad;
1302
- if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1303
- f = e.ad.toString();
1301
+ var f = e.af;
1302
+ if (typeof e.af === 'number' || typeof e.af === 'number') {
1303
+ f = e.af.toString();
1304
1304
  }
1305
1305
  _this.m.ac(c, f);
1306
1306
  if (d) {
@@ -1322,12 +1322,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1322
1322
  c.c4 = e;
1323
1323
  c.value = null;
1324
1324
  c.itemsSource = _this.b(_this.a(e));
1325
- if (e.ad != c.value) {
1326
- if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1327
- c.value = e.ad.toString();
1325
+ if (e.af != c.value) {
1326
+ if (typeof e.af === 'number' || typeof e.af === 'number') {
1327
+ c.value = e.af.toString();
1328
1328
  }
1329
1329
  else {
1330
- c.value = e.ad;
1330
+ c.value = e.af;
1331
1331
  }
1332
1332
  }
1333
1333
  if (!d) {
@@ -1335,12 +1335,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1335
1335
  }
1336
1336
  }
1337
1337
  else {
1338
- if (e.ad != c.value) {
1339
- if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1340
- c.value = e.ad.toString();
1338
+ if (e.af != c.value) {
1339
+ if (typeof e.af === 'number' || typeof e.af === 'number') {
1340
+ c.value = e.af.toString();
1341
1341
  }
1342
1342
  else {
1343
- c.value = e.ad;
1343
+ c.value = e.af;
1344
1344
  }
1345
1345
  }
1346
1346
  }
@@ -1384,25 +1384,25 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1384
1384
  var c = a;
1385
1385
  var d = c.c4;
1386
1386
  this.an = true;
1387
- d.ad = c.value;
1388
- d.am();
1387
+ d.af = c.value;
1388
+ d.ao();
1389
1389
  this.an = false;
1390
1390
  this.dv(d);
1391
1391
  };
1392
1392
  PropertyEditor.prototype.dj = function (a, b) {
1393
1393
  var c = a;
1394
- var d = c.bd;
1394
+ var d = c.bf;
1395
1395
  this.an = true;
1396
- if (d.n == 1) {
1396
+ if (d.p == 1) {
1397
1397
  var e = 0;
1398
- var f = tryParseNumber(c.cj, e);
1398
+ var f = tryParseNumber(c.cm, e);
1399
1399
  e = f.p1;
1400
- d.ad = e;
1400
+ d.af = e;
1401
1401
  }
1402
1402
  else {
1403
- d.ad = c.cj;
1403
+ d.af = c.cm;
1404
1404
  }
1405
- d.am();
1405
+ d.ao();
1406
1406
  this.an = false;
1407
1407
  this.dv(d);
1408
1408
  };
@@ -1410,7 +1410,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1410
1410
  var c = a;
1411
1411
  var d = c.ez;
1412
1412
  this.an = true;
1413
- d.an();
1413
+ d.ap();
1414
1414
  this.an = false;
1415
1415
  this.dv(d);
1416
1416
  };
@@ -1437,9 +1437,9 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1437
1437
  d = d.ae;
1438
1438
  }
1439
1439
  for (var e = 0; e < d.count; e++) {
1440
- var f = d._inner[e].al;
1440
+ var f = d._inner[e].an;
1441
1441
  if (this.as(f, a)) {
1442
- d._inner[e].ap(a, b, c);
1442
+ d._inner[e].ar(a, b, c);
1443
1443
  }
1444
1444
  }
1445
1445
  if (this.ap) {
@@ -1516,22 +1516,22 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1516
1516
  PropertyEditor.prototype.c4 = function (a, b, c, d) {
1517
1517
  for (var e = 0; e < a.count; e++) {
1518
1518
  var f = a._inner[e];
1519
- if (f.n == 20) {
1519
+ if (f.p == 20) {
1520
1520
  continue;
1521
1521
  }
1522
1522
  if (f.i != null) {
1523
1523
  for (var g = 0; g < f.i.count; g++) {
1524
1524
  var h = f.i._inner[g];
1525
- var i = b + f.al + "[" + g + "]";
1525
+ var i = b + f.an + "[" + g + "]";
1526
1526
  this.c4(h.a, i, c, h.b);
1527
1527
  }
1528
1528
  }
1529
1529
  else if (f.g != null) {
1530
- var j = b + f.al;
1530
+ var j = b + f.an;
1531
1531
  this.c4(f.g.a, j, c, f.g.b);
1532
1532
  }
1533
1533
  else {
1534
- c.h(b + f.al, f.ad, d);
1534
+ c.h(b + f.an, f.af, d);
1535
1535
  }
1536
1536
  }
1537
1537
  };
@@ -1565,7 +1565,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1565
1565
  c.t = true;
1566
1566
  }
1567
1567
  var e = _this.s(a, b.cellInfo.et, b.cellInfo.g4);
1568
- var f = e.ad;
1568
+ var f = e.af;
1569
1569
  if (f == null) {
1570
1570
  f = false;
1571
1571
  }
@@ -1601,8 +1601,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1601
1601
  var c = a;
1602
1602
  var d = c.a5;
1603
1603
  this.an = true;
1604
- d.ad = c.checked;
1605
- d.am();
1604
+ d.af = c.checked;
1605
+ d.ao();
1606
1606
  this.an = false;
1607
1607
  this.dv(d);
1608
1608
  };
@@ -1615,7 +1615,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1615
1615
  d = this.actualProperties._inner[b.rowNumber];
1616
1616
  }
1617
1617
  var e = this.s(c, b.rowNumber, d);
1618
- var f = e != null ? e.n : 0;
1618
+ var f = e != null ? e.p : 0;
1619
1619
  b.styleKey = "editortype_" + enumGetBox(PropertyEditorValueType_$type, f);
1620
1620
  };
1621
1621
  PropertyEditor.prototype.dk = function (a, b) {
@@ -38,7 +38,7 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
38
38
  var h = a.getSubRenderer(g);
39
39
  _this.v = new XInput();
40
40
  _this.v.provideContainer(h);
41
- _this.v.b3 = "text";
41
+ _this.v.b6 = "text";
42
42
  _this.v.disabled = !_this.isEnabled;
43
43
  var i = e.getExternal(_this.v, h.rootWrapper, null);
44
44
  _this.w.appendContentChild(g);
@@ -47,7 +47,7 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
47
47
  }
48
48
  TextEditorView.prototype.setFont = function (a) {
49
49
  if (this.v != null) {
50
- this.v.ad = a;
50
+ this.v.af = a;
51
51
  }
52
52
  };
53
53
  TextEditorView.prototype.attachEvents = function () {
@@ -95,7 +95,7 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
95
95
  if (this.a.isEditRefocusDesired) {
96
96
  var a = this.h.rootWrapper.getNativeElement();
97
97
  if (a == document.activeElement || a.contains(document.activeElement)) {
98
- this.v.cm();
98
+ this.v.cp();
99
99
  this.focus();
100
100
  }
101
101
  }
@@ -104,8 +104,8 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
104
104
  var _this = this;
105
105
  if (this.v != null) {
106
106
  this.v.focus(true);
107
- if (this.v.b3 != "date") {
108
- window.setTimeout(function () { return _this.v.dg(); }, 0);
107
+ if (this.v.b6 != "date") {
108
+ window.setTimeout(function () { return _this.v.dj(); }, 0);
109
109
  }
110
110
  }
111
111
  };
@@ -113,14 +113,14 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
113
113
  if (this.v != null) {
114
114
  if (this.value != null) {
115
115
  this.x = null;
116
- this.v.cj = null;
117
- this.v.cj = this.value.toString();
116
+ this.v.cm = null;
117
+ this.v.cm = this.value.toString();
118
118
  if (this.focusOnValueChanged) {
119
119
  this.r();
120
120
  }
121
121
  }
122
122
  else {
123
- this.v.cj = null;
123
+ this.v.cm = null;
124
124
  }
125
125
  }
126
126
  };
@@ -155,13 +155,13 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
155
155
  };
156
156
  TextEditorView.prototype.getEditorValue = function () {
157
157
  if (this.v != null) {
158
- return this.v.cj;
158
+ return this.v.cm;
159
159
  }
160
160
  return null;
161
161
  };
162
162
  TextEditorView.prototype.setEditorValue = function (a) {
163
163
  if (this.v != null) {
164
- this.v.cj = a;
164
+ this.v.cm = a;
165
165
  }
166
166
  };
167
167
  TextEditorView.$t = markType(TextEditorView, 'TextEditorView', BaseEditorView.$);