igniteui-angular-data-grids 20.0.0-beta.1 → 20.0.1-beta.0

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 (166) hide show
  1. package/bundles/igniteui-angular-data-grids.umd.js +3900 -3533
  2. package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
  3. package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
  4. package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
  5. package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
  6. package/esm2015/lib/CanvasGridCellBase.js +1 -1
  7. package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
  8. package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
  9. package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
  10. package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
  11. package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
  12. package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
  13. package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
  14. package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
  15. package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
  16. package/esm2015/lib/CellPresenterBase.js +5 -5
  17. package/esm2015/lib/CheckboxListView_combined.js +479 -435
  18. package/esm2015/lib/ColumnChooserView_combined.js +13 -13
  19. package/esm2015/lib/ColumnFilterCondition_combined.js +2442 -2384
  20. package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
  21. package/esm2015/lib/ColumnPinningView_combined.js +13 -13
  22. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
  23. package/esm2015/lib/ContentCellModelHelper.js +4 -4
  24. package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
  25. package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
  26. package/esm2015/lib/DateTimeCellPresenter.js +10 -6
  27. package/esm2015/lib/EditorCellPresenter.js +19 -19
  28. package/esm2015/lib/FilterCellPresenter.js +11 -11
  29. package/esm2015/lib/FormatCellEventArgs.js +31 -0
  30. package/esm2015/lib/GridCellBase.js +1 -1
  31. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
  32. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
  33. package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
  34. package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
  35. package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
  36. package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
  37. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
  38. package/esm2015/lib/GridExternalWrapper.js +6 -6
  39. package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
  40. package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
  41. package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
  42. package/esm2015/lib/ImageCellPresenter.js +6 -6
  43. package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
  44. package/esm2015/lib/NumericCellPresenter.js +9 -6
  45. package/esm2015/lib/PropertyEditorView_combined.js +17 -17
  46. package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
  47. package/esm2015/lib/SummaryCellPresenter.js +6 -6
  48. package/esm2015/lib/TemplateCellPresenter.js +2 -2
  49. package/esm2015/lib/TemplateHeader.js +2 -2
  50. package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
  51. package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
  52. package/esm2015/lib/TextCellPresenter.js +20 -15
  53. package/esm2015/lib/TextHeaderCell.js +6 -5
  54. package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
  55. package/esm2015/lib/igx-cell-info.js +58 -49
  56. package/esm2015/lib/igx-checkbox-list-component.js +58 -55
  57. package/esm2015/lib/igx-combo-box-column-component.js +10 -10
  58. package/esm2015/lib/igx-data-grid-column-component.js +121 -97
  59. package/esm2015/lib/igx-data-grid-sort-indicator-component.js +20 -12
  60. package/esm2015/lib/igx-date-time-cell-info.js +12 -12
  61. package/esm2015/lib/igx-date-time-column-component.js +20 -20
  62. package/esm2015/lib/igx-editor-cell-info.js +23 -23
  63. package/esm2015/lib/igx-filter-cell-info.js +26 -26
  64. package/esm2015/lib/igx-format-cell-event-args.js +82 -0
  65. package/esm2015/lib/igx-image-cell-info.js +6 -6
  66. package/esm2015/lib/igx-image-column-component.js +10 -10
  67. package/esm2015/lib/igx-numeric-cell-info.js +26 -26
  68. package/esm2015/lib/igx-numeric-column-component.js +30 -30
  69. package/esm2015/lib/igx-section-header-cell-info.js +6 -6
  70. package/esm2015/lib/igx-summary-cell-info.js +9 -9
  71. package/esm2015/lib/igx-template-cell-info.js +2 -2
  72. package/esm2015/lib/igx-template-header-cell-info.js +2 -2
  73. package/esm2015/lib/igx-text-cell-info.js +2 -2
  74. package/esm2015/lib/igx-text-column-component.js +8 -8
  75. package/esm2015/lib/igx-text-header-cell-info.js +10 -10
  76. package/esm2015/public_api.js +2 -0
  77. package/esm5/lib/CanvasCellPresenterBase.js +3 -3
  78. package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
  79. package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
  80. package/esm5/lib/CanvasGridCellBase.js +1 -1
  81. package/esm5/lib/CanvasImageCellPresenter.js +6 -6
  82. package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
  83. package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
  84. package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
  85. package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
  86. package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
  87. package/esm5/lib/CanvasTextCellPresenter.js +20 -15
  88. package/esm5/lib/CanvasTextHeaderCell.js +4 -4
  89. package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
  90. package/esm5/lib/CellPresenterBase.js +5 -5
  91. package/esm5/lib/CheckboxListView_combined.js +461 -413
  92. package/esm5/lib/ColumnChooserView_combined.js +13 -13
  93. package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
  94. package/esm5/lib/ColumnGroupingView_combined.js +4 -4
  95. package/esm5/lib/ColumnPinningView_combined.js +13 -13
  96. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
  97. package/esm5/lib/ContentCellModelHelper.js +4 -4
  98. package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
  99. package/esm5/lib/DataGridToolbarView_combined.js +2 -2
  100. package/esm5/lib/DateTimeCellPresenter.js +10 -6
  101. package/esm5/lib/EditorCellPresenter.js +19 -19
  102. package/esm5/lib/FilterCellPresenter.js +11 -11
  103. package/esm5/lib/FormatCellEventArgs.js +37 -0
  104. package/esm5/lib/GridCellBase.js +1 -1
  105. package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
  106. package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
  107. package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
  108. package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
  109. package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
  110. package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
  111. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
  112. package/esm5/lib/GridExternalWrapper.js +6 -6
  113. package/esm5/lib/GridFilterDialogView_combined.js +9 -4
  114. package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
  115. package/esm5/lib/ISummaryChooserView_combined.js +9 -9
  116. package/esm5/lib/ImageCellPresenter.js +6 -6
  117. package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
  118. package/esm5/lib/NumericCellPresenter.js +9 -6
  119. package/esm5/lib/PropertyEditorView_combined.js +17 -17
  120. package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
  121. package/esm5/lib/SummaryCellPresenter.js +6 -6
  122. package/esm5/lib/TemplateCellPresenter.js +2 -2
  123. package/esm5/lib/TemplateHeader.js +2 -2
  124. package/esm5/lib/TemplateHeaderCellModel.js +17 -17
  125. package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
  126. package/esm5/lib/TextCellPresenter.js +20 -15
  127. package/esm5/lib/TextHeaderCell.js +6 -5
  128. package/esm5/lib/TextHeaderCellPresenter.js +16 -16
  129. package/esm5/lib/igx-cell-info.js +62 -49
  130. package/esm5/lib/igx-checkbox-list-component.js +62 -55
  131. package/esm5/lib/igx-combo-box-column-component.js +10 -10
  132. package/esm5/lib/igx-data-grid-column-component.js +126 -97
  133. package/esm5/lib/igx-data-grid-sort-indicator-component.js +24 -12
  134. package/esm5/lib/igx-date-time-cell-info.js +12 -12
  135. package/esm5/lib/igx-date-time-column-component.js +20 -20
  136. package/esm5/lib/igx-editor-cell-info.js +23 -23
  137. package/esm5/lib/igx-filter-cell-info.js +26 -26
  138. package/esm5/lib/igx-format-cell-event-args.js +112 -0
  139. package/esm5/lib/igx-image-cell-info.js +6 -6
  140. package/esm5/lib/igx-image-column-component.js +10 -10
  141. package/esm5/lib/igx-numeric-cell-info.js +26 -26
  142. package/esm5/lib/igx-numeric-column-component.js +30 -30
  143. package/esm5/lib/igx-section-header-cell-info.js +6 -6
  144. package/esm5/lib/igx-summary-cell-info.js +9 -9
  145. package/esm5/lib/igx-template-cell-info.js +2 -2
  146. package/esm5/lib/igx-template-header-cell-info.js +2 -2
  147. package/esm5/lib/igx-text-cell-info.js +2 -2
  148. package/esm5/lib/igx-text-column-component.js +8 -8
  149. package/esm5/lib/igx-text-header-cell-info.js +10 -10
  150. package/esm5/public_api.js +2 -0
  151. package/fesm2015/igniteui-angular-data-grids.js +3969 -3666
  152. package/fesm5/igniteui-angular-data-grids.js +3900 -3535
  153. package/lib/CanvasTextCellPresenter.d.ts +1 -0
  154. package/lib/CheckboxListView_combined.d.ts +127 -120
  155. package/lib/ColumnFilterCondition_combined.d.ts +643 -636
  156. package/lib/FormatCellEventArgs.d.ts +15 -0
  157. package/lib/GridSortIndicatorView_combined.d.ts +41 -38
  158. package/lib/TemplateHeaderCellModel.d.ts +7 -7
  159. package/lib/TextCellPresenter.d.ts +1 -0
  160. package/lib/igx-cell-info.d.ts +5 -0
  161. package/lib/igx-checkbox-list-component.d.ts +2 -0
  162. package/lib/igx-data-grid-column-component.d.ts +10 -1
  163. package/lib/igx-data-grid-sort-indicator-component.d.ts +4 -1
  164. package/lib/igx-format-cell-event-args.d.ts +45 -0
  165. package/package.json +4 -4
  166. package/public_api.d.ts +2 -0
@@ -137,7 +137,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
137
137
  if (this.c == null || this.column == null) {
138
138
  return false;
139
139
  }
140
- return this.column.jc && this.c.summaryScope != 3;
140
+ return this.column.jd && this.c.summaryScope != 3;
141
141
  };
142
142
  GridColumnSummaryOptions.prototype.be = function (a, b, c) {
143
143
  _super.prototype.be.call(this, a, b, c);
@@ -167,7 +167,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
167
167
  if (this.bw != null) {
168
168
  var a = this.bw.a();
169
169
  for (var b = 0; b < a.length; b++) {
170
- var c = new ColumnSummaryDescription(1, this.column.lo);
170
+ var c = new ColumnSummaryDescription(1, this.column.lp);
171
171
  switch (a[b]) {
172
172
  case "avg":
173
173
  c.i = 3;
@@ -187,7 +187,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
187
187
  }
188
188
  for (var d = 0; d < this.c.summaryDescriptions.j.count; d++) {
189
189
  var e = this.c.summaryDescriptions.j.item(d);
190
- if (e.ah == this.column.lo && e.i == c.i) {
190
+ if (e.ah == this.column.lp && e.i == c.i) {
191
191
  this.c.summaryDescriptions.j.removeAt(d);
192
192
  d--;
193
193
  }
@@ -195,7 +195,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
195
195
  }
196
196
  var f = this.bw.b();
197
197
  for (var g = 0; g < f.length; g++) {
198
- var h = new ColumnSummaryDescription(1, this.column.lo);
198
+ var h = new ColumnSummaryDescription(1, this.column.lp);
199
199
  switch (f[g]) {
200
200
  case "avg":
201
201
  h.i = 3;
@@ -216,14 +216,14 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
216
216
  var i = false;
217
217
  for (var j = 0; j < this.c.summaryDescriptions.j.count; j++) {
218
218
  var k = this.c.summaryDescriptions.j.item(j);
219
- if (k.ah == this.column.lo && k.i == h.i) {
219
+ if (k.ah == this.column.lp && k.i == h.i) {
220
220
  i = true;
221
221
  break;
222
222
  }
223
223
  }
224
224
  if (!i) {
225
225
  this.c.summaryDescriptions.j.add(h);
226
- this.column.m0("Summed");
226
+ this.column.m2("Summed");
227
227
  }
228
228
  }
229
229
  }
@@ -242,7 +242,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
242
242
  this.b7 = 0;
243
243
  for (var a = 0; a < this.c.summaryDescriptions.j.count; a++) {
244
244
  var b = this.c.summaryDescriptions.j.item(a);
245
- if (b.ah == this.column.lo) {
245
+ if (b.ah == this.column.lp) {
246
246
  switch (b.i) {
247
247
  case 3:
248
248
  this.bw.a4("avg", true);
@@ -41,7 +41,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
41
41
  var column_ = TypeRegistrar.create("IgxTextColumnComponent");
42
42
  var b = (column_._implementation);
43
43
  var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
44
- b.lo = a;
44
+ b.lp = a;
45
45
  return b;
46
46
  }
47
47
  return null;
@@ -51,7 +51,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
51
51
  var column_ = TypeRegistrar.create("IgxNumericColumnComponent");
52
52
  var b = (column_._implementation);
53
53
  var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
54
- b.lo = a;
54
+ b.lp = a;
55
55
  return b;
56
56
  }
57
57
  return null;
@@ -61,7 +61,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
61
61
  var column_ = TypeRegistrar.create("IgxDateTimeColumnComponent");
62
62
  var b = (column_._implementation);
63
63
  var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
64
- b.lo = a;
64
+ b.lp = a;
65
65
  return b;
66
66
  }
67
67
  return null;
@@ -71,7 +71,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
71
71
  var column_ = TypeRegistrar.create("IgxImageColumnComponent");
72
72
  var b = (column_._implementation);
73
73
  var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
74
- b.lo = a;
74
+ b.lp = a;
75
75
  return b;
76
76
  }
77
77
  return null;
@@ -81,7 +81,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
81
81
  var column_ = TypeRegistrar.create("IgxTemplateColumnComponent");
82
82
  var b = (column_._implementation);
83
83
  var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
84
- b.lo = a;
84
+ b.lp = a;
85
85
  return b;
86
86
  }
87
87
  return null;
@@ -91,7 +91,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
91
91
  var column_ = TypeRegistrar.create("IgxComboBoxColumnComponent");
92
92
  var b = (column_._implementation);
93
93
  var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
94
- b.lo = a;
94
+ b.lp = a;
95
95
  return b;
96
96
  }
97
97
  return null;
@@ -10,6 +10,7 @@ import { Path } from "igniteui-angular-core";
10
10
  import { KeyFrameAnimationFactory } from "igniteui-angular-core";
11
11
  import { AnimationKeyFrameEffect } from "igniteui-angular-core";
12
12
  import { AnimationKeyFrameEffectTiming } from "igniteui-angular-core";
13
+ import { NativeUI } from "igniteui-angular-core";
13
14
  import { NativeUIComponent } from "igniteui-angular-core";
14
15
  import { CellContentHorizontalAlignment_$type } from "./CellContentHorizontalAlignment";
15
16
  import { intDivide, isNaN_ } from "igniteui-angular-core";
@@ -31,7 +32,6 @@ import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterConditi
31
32
  import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
32
33
  import { Geometry } from "igniteui-angular-core";
33
34
  import { GridStyleRepository } from "./GridStyleRepository";
34
- import { NativeUI } from "igniteui-angular-core";
35
35
  import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
36
36
  import { ToolActionIconMenuInfo } from "igniteui-angular-core";
37
37
  import { SvgIconRegistry } from "igniteui-angular-core";
@@ -94,6 +94,7 @@ var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super) {
94
94
  this.m.rootWrapper.addClass("ig-filter-icon");
95
95
  this.m.rootWrapper.setStyleProperty("cursor", "pointer");
96
96
  this.q = this.m.rootWrapper;
97
+ NativeUI.y(this.q, 0);
97
98
  var e = this.h;
98
99
  var f = Math.round(d.rootWrapper.width());
99
100
  var g = Math.round(d.rootWrapper.height());
@@ -481,7 +482,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
481
482
  });
482
483
  Object.defineProperty(GridFilterDialog.prototype, "ac", {
483
484
  get: function () {
484
- return this.v.bx;
485
+ return this.v != null ? this.v.bx : false;
485
486
  },
486
487
  enumerable: false,
487
488
  configurable: true
@@ -554,7 +555,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
554
555
  if (this.n.grid != null) {
555
556
  this.n.grid.va();
556
557
  }
557
- this.n.mx();
558
+ this.n.mz();
558
559
  }
559
560
  if (this.dialogOpening != null) {
560
561
  var c = new GridFilterDialogOpeningEventArgs();
@@ -790,7 +791,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
790
791
  GridFilterDialog.prototype.br = function () {
791
792
  var _this = this;
792
793
  this.y = false;
793
- if (NativeUI.g(this.s.q) == 1) {
794
+ if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
794
795
  return;
795
796
  }
796
797
  if (this.ab) {
@@ -811,6 +812,9 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
811
812
  var _this = this;
812
813
  this.y = true;
813
814
  if (!this.ac) {
815
+ if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
816
+ return;
817
+ }
814
818
  if (this.ab) {
815
819
  this.a9();
816
820
  if (this.w.playbackRate < 0) {
@@ -870,6 +874,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
870
874
  a.iconName = "DotDotDot";
871
875
  a.iconViewBoxWidth = 24;
872
876
  a.iconViewBoxHeight = 24;
877
+ a.iconStrokeWidth = 0;
873
878
  a.paddingBottom = 0;
874
879
  a.paddingTop = 0;
875
880
  a.paddingRight = 0;