igniteui-webcomponents-grids 4.0.3 → 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 (165) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +1042 -654
  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/ColumnFilterCondition_combined.js +1 -1
  9. package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
  10. package/esm2015/lib/ColumnPinningView_combined.js +7 -7
  11. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  12. package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
  13. package/esm2015/lib/EditorCell.js +1 -1
  14. package/esm2015/lib/FilterCell.js +1 -1
  15. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
  16. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  17. package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
  18. package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
  19. package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
  20. package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
  21. package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
  22. package/esm2015/lib/NumericEditorView.js +3 -3
  23. package/esm2015/lib/PropertyEditorView_combined.js +40 -40
  24. package/esm2015/lib/TextEditorView.js +10 -10
  25. package/esm2015/lib/igc-checkbox-list-component.js +155 -50
  26. package/esm2015/lib/igc-data-grid-column-component.js +10 -6
  27. package/esm2015/lib/igc-data-grid-component.js +45 -27
  28. package/esm2015/lib/igc-grid-active-cell-changed-event-args.js +10 -6
  29. package/esm2015/lib/igc-grid-column-width-changed-event-args.js +10 -6
  30. package/esm2015/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
  31. package/esm2015/lib/igc-grid-filter-expressions-event-args.js +5 -3
  32. package/esm2015/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
  33. package/esm2015/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
  34. package/esm2015/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
  35. package/esm5/lib/CanvasGridCellBase.js +26 -26
  36. package/esm5/lib/CanvasSummaryCell.js +2 -2
  37. package/esm5/lib/CanvasTextHeaderCell.js +1 -1
  38. package/esm5/lib/CheckboxListView_combined.js +578 -375
  39. package/esm5/lib/ColumnChooserView_combined.js +9 -9
  40. package/esm5/lib/ColumnFilterCondition_combined.js +1 -1
  41. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  42. package/esm5/lib/ColumnPinningView_combined.js +7 -7
  43. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  44. package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
  45. package/esm5/lib/EditorCell.js +1 -1
  46. package/esm5/lib/FilterCell.js +1 -1
  47. package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
  48. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  49. package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
  50. package/esm5/lib/GridFilterDialogView_combined.js +5 -5
  51. package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
  52. package/esm5/lib/ISummaryChooserView_combined.js +11 -11
  53. package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
  54. package/esm5/lib/NumericEditorView.js +3 -3
  55. package/esm5/lib/PropertyEditorView_combined.js +40 -40
  56. package/esm5/lib/TextEditorView.js +10 -10
  57. package/esm5/lib/igc-checkbox-list-component.js +195 -50
  58. package/esm5/lib/igc-data-grid-column-component.js +10 -6
  59. package/esm5/lib/igc-data-grid-component.js +45 -27
  60. package/esm5/lib/igc-grid-active-cell-changed-event-args.js +10 -6
  61. package/esm5/lib/igc-grid-column-width-changed-event-args.js +10 -6
  62. package/esm5/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
  63. package/esm5/lib/igc-grid-filter-expressions-event-args.js +5 -3
  64. package/esm5/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
  65. package/esm5/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
  66. package/esm5/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
  67. package/fesm2015/igniteui-webcomponents-grids.js +974 -666
  68. package/fesm5/igniteui-webcomponents-grids.js +1040 -652
  69. package/grids/combined.js +173 -91
  70. package/grids/index.d.ts +30 -0
  71. package/grids/index.js +1 -0
  72. package/grids/lib/column-pinning-position.d.ts +1 -0
  73. package/grids/lib/common.d.ts +0 -4
  74. package/grids/lib/filtering-expressions-tree-type.d.ts +1 -0
  75. package/grids/lib/filtering-logic.d.ts +1 -0
  76. package/grids/lib/grid-column-data-type.d.ts +1 -1
  77. package/grids/lib/grid-paging-mode.d.ts +1 -0
  78. package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
  79. package/grids/lib/igc-action-strip-resource-strings.d.ts +1 -2
  80. package/grids/lib/igc-active-node-change-event-args.d.ts +1 -2
  81. package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
  82. package/grids/lib/igc-base-event-args.d.ts +1 -2
  83. package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
  84. package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
  85. package/grids/lib/igc-cell-type.d.ts +6 -12
  86. package/grids/lib/igc-column-component.d.ts +4 -3
  87. package/grids/lib/igc-column-exporting-event-args.d.ts +1 -2
  88. package/grids/lib/igc-column-group-component.d.ts +4 -2
  89. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
  90. package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
  91. package/grids/lib/igc-date-summary-operand.d.ts +75 -0
  92. package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
  93. package/grids/lib/igc-dimensions-change.d.ts +30 -0
  94. package/grids/lib/igc-display-density-base.d.ts +1 -1
  95. package/grids/lib/igc-exporter-options-base.d.ts +18 -2
  96. package/grids/lib/igc-field-pipe-args.d.ts +6 -12
  97. package/grids/lib/igc-filtering-expression.d.ts +33 -0
  98. package/grids/lib/igc-filtering-expressions-tree.d.ts +8 -8
  99. package/grids/lib/igc-filtering-operand.d.ts +4 -2
  100. package/grids/lib/igc-filtering-operation.d.ts +5 -2
  101. package/grids/lib/igc-for-of-state.d.ts +2 -4
  102. package/grids/lib/igc-grid-action-button-component.d.ts +1 -1
  103. package/grids/lib/igc-grid-actions-base-directive.d.ts +1 -1
  104. package/grids/lib/igc-grid-base-directive.d.ts +34 -6
  105. package/grids/lib/igc-grid-component.d.ts +5 -5
  106. package/grids/lib/igc-grid-edit-done-event-args.d.ts +6 -12
  107. package/grids/lib/igc-grid-resource-strings.d.ts +166 -326
  108. package/grids/lib/igc-grid-toolbar-actions-component.d.ts +2 -1
  109. package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +2 -1
  110. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
  111. package/grids/lib/igc-grid-toolbar-title-component.d.ts +2 -1
  112. package/grids/lib/igc-grid-validation-state.d.ts +1 -2
  113. package/grids/lib/igc-group-by-record.d.ts +2 -4
  114. package/grids/lib/igc-grouped-records.d.ts +1 -1
  115. package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
  116. package/grids/lib/igc-number-summary-operand.d.ts +104 -0
  117. package/grids/lib/igc-overlay-settings.d.ts +6 -12
  118. package/grids/lib/igc-paginator-resource-strings.d.ts +6 -12
  119. package/grids/lib/igc-pin-row-event-args.d.ts +2 -4
  120. package/grids/lib/igc-pinning-config.d.ts +2 -4
  121. package/grids/lib/igc-pivot-aggregator.d.ts +46 -0
  122. package/grids/lib/igc-pivot-configuration.d.ts +60 -0
  123. package/grids/lib/igc-pivot-data-selector-component.d.ts +127 -0
  124. package/grids/lib/igc-pivot-date-dimension-options.d.ts +34 -0
  125. package/grids/lib/igc-pivot-date-dimension.d.ts +88 -0
  126. package/grids/lib/igc-pivot-dimension-strategy.d.ts +25 -0
  127. package/grids/lib/igc-pivot-dimension.d.ts +69 -0
  128. package/grids/lib/igc-pivot-grid-component.d.ts +492 -0
  129. package/grids/lib/igc-pivot-grid-value-template-context.d.ts +20 -0
  130. package/grids/lib/igc-pivot-keys.d.ts +47 -0
  131. package/grids/lib/igc-pivot-value.d.ts +65 -0
  132. package/grids/lib/igc-position-settings.d.ts +6 -12
  133. package/grids/lib/igc-row-data-event-args.d.ts +0 -5
  134. package/grids/lib/igc-row-selection-event-args.d.ts +3 -0
  135. package/grids/lib/igc-row-type.d.ts +19 -38
  136. package/grids/lib/igc-sorting-event-args.d.ts +2 -4
  137. package/grids/lib/igc-sorting-expression.d.ts +2 -4
  138. package/grids/lib/igc-sorting-options.d.ts +3 -2
  139. package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
  140. package/grids/lib/igc-summary-operand.d.ts +61 -0
  141. package/grids/lib/igc-summary-result.d.ts +1 -2
  142. package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
  143. package/grids/lib/igc-time-summary-operand.d.ts +49 -0
  144. package/grids/lib/igc-tree-grid-component.d.ts +3 -2
  145. package/grids/lib/igc-tree-grid-record.d.ts +5 -10
  146. package/grids/lib/igc-values-change.d.ts +23 -0
  147. package/grids/lib/pivot-aggregation-type.d.ts +3 -0
  148. package/grids/lib/pivot-dimension-type.d.ts +17 -0
  149. package/grids/lib/row-pinning-position.d.ts +1 -0
  150. package/grids/lib/sorting-direction.d.ts +1 -0
  151. package/grids/lib/sorting-options-mode.d.ts +3 -0
  152. package/grids/styles.css +1 -1
  153. package/grids/themes/dark/bootstrap.css +1 -1
  154. package/grids/themes/dark/fluent.css +1 -1
  155. package/grids/themes/dark/indigo.css +1 -1
  156. package/grids/themes/dark/material.css +1 -1
  157. package/grids/themes/light/bootstrap.css +1 -1
  158. package/grids/themes/light/fluent.css +1 -1
  159. package/grids/themes/light/indigo.css +1 -1
  160. package/grids/themes/light/material.css +1 -1
  161. package/lib/CheckboxListView_combined.d.ts +120 -96
  162. package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
  163. package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
  164. package/lib/igc-checkbox-list-component.d.ts +40 -0
  165. package/package.json +4 -4
@@ -131,7 +131,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
131
131
  this.s = true;
132
132
  }
133
133
  get templateContext() {
134
- return this.j.g();
134
+ return this.j.h();
135
135
  }
136
136
  get w() {
137
137
  return this.l;
@@ -221,7 +221,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
221
221
  return;
222
222
  }
223
223
  if (this.bz != 1) {
224
- a.ad(this.bz);
224
+ a.ae(this.bz);
225
225
  }
226
226
  let j = this.j;
227
227
  if (!this.v) {
@@ -237,17 +237,17 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
237
237
  if (this.p || this.u || (this.i != null && this.i.g != this.br)) {
238
238
  this.p = false;
239
239
  this.br = this.i.g;
240
- j.ac(this.i);
240
+ j.ad(this.i);
241
241
  }
242
242
  if (f != 1) {
243
- j.z();
244
- j.aa(f, f);
243
+ j.aa();
244
+ j.ab(f, f);
245
245
  }
246
246
  if (!this.v) {
247
- j.z();
247
+ j.aa();
248
248
  let k = Math.round((d - b));
249
249
  let l = Math.round((e - c));
250
- j.af(k, l);
250
+ j.ag(k, l);
251
251
  }
252
252
  if (g) {
253
253
  this.b8(j);
@@ -256,24 +256,24 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
256
256
  this.b9(j);
257
257
  }
258
258
  if (!this.v) {
259
- j.y();
259
+ j.z();
260
260
  }
261
261
  if (f != 1) {
262
- j.y();
262
+ j.z();
263
263
  }
264
264
  }
265
265
  if (!i && this.v) {
266
266
  let m = Math.round((d - b) * f);
267
267
  let n = Math.round((e - c) * f);
268
268
  if (this.am == this.ao && this.al == this.an) {
269
- a.m(this.bu(), 1, m, n, this.am, this.al);
269
+ a.n(this.bu(), 1, m, n, this.am, this.al);
270
270
  }
271
271
  else {
272
- a.n(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
272
+ a.o(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
273
273
  }
274
274
  }
275
275
  if (this.bz != 1) {
276
- a.ad(1);
276
+ a.ae(1);
277
277
  }
278
278
  }
279
279
  bu() {
@@ -281,13 +281,13 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
281
281
  }
282
282
  b8(a) {
283
283
  if (!this.m) {
284
- a.k(0, 0, this.ao, this.an);
284
+ a.l(0, 0, this.ao, this.an);
285
285
  }
286
286
  this.c6.n = 0;
287
287
  this.c6.o = 0;
288
288
  this.c6.width = this.a5;
289
289
  this.c6.height = this.as;
290
- a.v(this.c6);
290
+ a.w(this.c6);
291
291
  if (this.cy != null) {
292
292
  if (this.ai > 0) {
293
293
  this.c2.am = 0;
@@ -296,7 +296,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
296
296
  this.c2.al = this.ai / 2;
297
297
  this.c2._stroke = this.cy;
298
298
  this.c2.ac = this.ai;
299
- a.r(this.c2);
299
+ a.s(this.c2);
300
300
  }
301
301
  if (this.aj > 0) {
302
302
  this.c3.am = 0;
@@ -305,7 +305,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
305
305
  this.c3.al = Math.max(0, (this.a5 - (this.aj / 2)));
306
306
  this.c3._stroke = this.cy;
307
307
  this.c3.ac = this.aj;
308
- a.r(this.c3);
308
+ a.s(this.c3);
309
309
  }
310
310
  if (this.ak > 0) {
311
311
  this.c5.am = this.ak / 2;
@@ -314,7 +314,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
314
314
  this.c5.al = Math.max(0, (this.a5 - (this.aj / 2)));
315
315
  this.c5._stroke = this.cy;
316
316
  this.c5.ac = this.ak;
317
- a.r(this.c5);
317
+ a.s(this.c5);
318
318
  }
319
319
  if (this.ah > 0) {
320
320
  this.c1.am = Math.max(0, this.as - (this.ah / 2));
@@ -323,7 +323,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
323
323
  this.c1.al = Math.max(0, (this.a5 - (this.aj / 2)));
324
324
  this.c1._stroke = this.cy;
325
325
  this.c1.ac = this.ah;
326
- a.r(this.c1);
326
+ a.s(this.c1);
327
327
  }
328
328
  }
329
329
  }
@@ -344,7 +344,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
344
344
  if (this.cx.al != null) {
345
345
  this.cx.n = this.a0;
346
346
  this.cx.o = this.a3;
347
- a.w(this.cx);
347
+ a.x(this.cx);
348
348
  if (this.r) {
349
349
  this.c4.ac = 1;
350
350
  this.c4.ak = this.a0;
@@ -352,7 +352,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
352
352
  this.c4.al = this.a0 + (this.a2 - this.a0);
353
353
  this.c4.an = this.a4 - 2;
354
354
  this.c4._stroke = this.cx.ao;
355
- this.j.r(this.c4);
355
+ this.j.s(this.c4);
356
356
  }
357
357
  }
358
358
  }
@@ -560,7 +560,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
560
560
  if (this.p || (this.i != null && this.i.g != this.br)) {
561
561
  this.p = false;
562
562
  this.br = this.i.g;
563
- a.ac(this.i);
563
+ a.ad(this.i);
564
564
  }
565
565
  let b;
566
566
  if (this.h != this.i || this.bt != this.i.g) {
@@ -617,13 +617,13 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
617
617
  let f = e.length;
618
618
  let g = ("\u2026");
619
619
  if (isNaN_(this.ap)) {
620
- this.ap = d.f(g);
620
+ this.ap = d.g(g);
621
621
  }
622
622
  if (c <= this.ap) {
623
623
  a.al = g;
624
624
  return this.ap;
625
625
  }
626
- let h = d.f(e);
626
+ let h = d.g(e);
627
627
  if (h <= c) {
628
628
  a.al = b;
629
629
  return h;
@@ -631,14 +631,14 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
631
631
  let i = c / h;
632
632
  let j = truncate(Math.ceil(f * i));
633
633
  let k = e.substr(0, j) + g;
634
- let l = d.f(k);
634
+ let l = d.g(k);
635
635
  if (l > c) {
636
636
  f = j;
637
637
  }
638
638
  else {
639
639
  j = j + 1;
640
640
  k = e.substr(0, j) + g;
641
- l = d.f(k);
641
+ l = d.g(k);
642
642
  if (l > c) {
643
643
  f = j;
644
644
  }
@@ -646,7 +646,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
646
646
  while (h > c && f > 0) {
647
647
  f--;
648
648
  e = e.substr(0, f) + g;
649
- h = d.f(e);
649
+ h = d.g(e);
650
650
  }
651
651
  a.al = e;
652
652
  return h;
@@ -64,7 +64,7 @@ export let CanvasSummaryCell = /*@__PURE__*/ (() => {
64
64
  if (this.c8 || (this.c7 != null && this.c7.g != this.de)) {
65
65
  this.c8 = false;
66
66
  this.de = this.c7.g;
67
- a.ac(this.c7);
67
+ a.ad(this.c7);
68
68
  this.da = FontUtil.getCurrentFontHeight(this.bn, this.c7);
69
69
  }
70
70
  let b = this.bl;
@@ -85,7 +85,7 @@ export let CanvasSummaryCell = /*@__PURE__*/ (() => {
85
85
  }
86
86
  this.dk.n = this.db;
87
87
  this.dk.o = this.dc;
88
- a.w(this.dk);
88
+ a.x(this.dk);
89
89
  }
90
90
  super.b9(a);
91
91
  }
@@ -46,7 +46,7 @@ export let CanvasTextHeaderCell = /*@__PURE__*/ (() => {
46
46
  if (this.d == 2) {
47
47
  b = this.bg - 21;
48
48
  }
49
- a.m(this.c9, 1, b, this.bj - 8, 16, 16);
49
+ a.n(this.c9, 1, b, this.bj - 8, 16, 16);
50
50
  }
51
51
  get_ab() {
52
52
  return true;