igniteui-angular-data-grids 20.0.0 → 20.0.1

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 -5
  166. package/public_api.d.ts +2 -0
@@ -12,6 +12,7 @@ import { MergedCellEvaluationCriteria_$type } from "./MergedCellEvaluationCriter
12
12
  import { CellContentVerticalAlignment_$type } from "./CellContentVerticalAlignment";
13
13
  import { FilterComparisonType_$type } from "./FilterComparisonType";
14
14
  import { IgxGridFilterOperandsCollection } from "./igx-grid-filter-operands-collection";
15
+ import { IgxFormatCellEventArgs } from "./igx-format-cell-event-args";
15
16
  import { IgxDefinitionBaseComponent } from "./igx-definition-base-component";
16
17
  import { brushToString, stringToBrush, ensureBool, ensureEnum } from "igniteui-angular-core";
17
18
  import { ColumnWidth as ColumnWidth_internal } from "./ColumnWidth";
@@ -28,6 +29,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
28
29
  constructor() {
29
30
  super();
30
31
  this._filterOperands = null;
32
+ this._formatCell = null;
31
33
  this._actualHeaderTextChange = null;
32
34
  }
33
35
  /**
@@ -54,133 +56,133 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
54
56
  * Gets or sets the amount of left padding to use for the cell content for this column.
55
57
  */
56
58
  get paddingLeft() {
57
- return this.i.kk;
59
+ return this.i.kl;
58
60
  }
59
61
  set paddingLeft(v) {
60
- this.i.kk = +v;
62
+ this.i.kl = +v;
61
63
  }
62
64
  /**
63
65
  * Gets or sets the amount of top padding to use for the cell content for this column.
64
66
  */
65
67
  get paddingTop() {
66
- return this.i.km;
68
+ return this.i.kn;
67
69
  }
68
70
  set paddingTop(v) {
69
- this.i.km = +v;
71
+ this.i.kn = +v;
70
72
  }
71
73
  /**
72
74
  * Gets or sets the amount of right padding to use for the cell content of this column.
73
75
  */
74
76
  get paddingRight() {
75
- return this.i.kl;
77
+ return this.i.km;
76
78
  }
77
79
  set paddingRight(v) {
78
- this.i.kl = +v;
80
+ this.i.km = +v;
79
81
  }
80
82
  /**
81
83
  * Gets or sets the amount of bottom padding to use for the cell content of this column.
82
84
  */
83
85
  get paddingBottom() {
84
- return this.i.kj;
86
+ return this.i.kk;
85
87
  }
86
88
  set paddingBottom(v) {
87
- this.i.kj = +v;
89
+ this.i.kk = +v;
88
90
  }
89
91
  /**
90
92
  * Gets or sets an unique name of the Column
91
93
  */
92
94
  get name() {
93
- return this.i.mf;
95
+ return this.i.mg;
94
96
  }
95
97
  set name(v) {
96
- this.i.mf = v;
98
+ this.i.mg = v;
97
99
  }
98
100
  /**
99
101
  * Gets or sets the key used for the column binding
100
102
  */
101
103
  get field() {
102
- return this.i.lo;
104
+ return this.i.lp;
103
105
  }
104
106
  set field(v) {
105
- this.i.lo = v;
107
+ this.i.lp = v;
106
108
  }
107
109
  /**
108
110
  * Gets or sets the text displayed in the header of the column
109
111
  */
110
112
  get headerText() {
111
- return this.i.lv;
113
+ return this.i.lw;
112
114
  }
113
115
  set headerText(v) {
114
- this.i.lv = v;
116
+ this.i.lw = v;
115
117
  }
116
118
  /**
117
119
  * Gets the actual text displayed in the header of the column
118
120
  */
119
121
  get actualHeaderText() {
120
- return this.i.k3;
122
+ return this.i.k4;
121
123
  }
122
124
  set actualHeaderText(v) {
123
- this.i.k3 = v;
125
+ this.i.k4 = v;
124
126
  }
125
127
  /**
126
128
  * Gets or sets the background color to use for the cells when they are selected
127
129
  */
128
130
  get selectedBackground() {
129
- return brushToString(this.i.n2);
131
+ return brushToString(this.i.n4);
130
132
  }
131
133
  set selectedBackground(v) {
132
- this.i.n2 = stringToBrush(v);
134
+ this.i.n4 = stringToBrush(v);
133
135
  }
134
136
  /**
135
137
  * Gets the actual background color that is used for the cells when they are selected
136
138
  */
137
139
  get actualSelectedBackground() {
138
- return brushToString(this.i.nv);
140
+ return brushToString(this.i.nx);
139
141
  }
140
142
  set actualSelectedBackground(v) {
141
- this.i.nv = stringToBrush(v);
143
+ this.i.nx = stringToBrush(v);
142
144
  }
143
145
  /**
144
146
  * Gets or sets the background color to use for the cells when the row is hovered.
145
147
  */
146
148
  get rowHoverBackground() {
147
- return brushToString(this.i.n0);
149
+ return brushToString(this.i.n2);
148
150
  }
149
151
  set rowHoverBackground(v) {
150
- this.i.n0 = stringToBrush(v);
152
+ this.i.n2 = stringToBrush(v);
151
153
  }
152
154
  /**
153
155
  * Gets the actual background color that is used for the cells when they are hovered.
154
156
  */
155
157
  get actualHoverBackground() {
156
- return brushToString(this.i.nt);
158
+ return brushToString(this.i.nv);
157
159
  }
158
160
  set actualHoverBackground(v) {
159
- this.i.nt = stringToBrush(v);
161
+ this.i.nv = stringToBrush(v);
160
162
  }
161
163
  /**
162
164
  * Gets or sets the text color to use for the cells when the row is hovered.
163
165
  */
164
166
  get rowHoverTextColor() {
165
- return brushToString(this.i.n1);
167
+ return brushToString(this.i.n3);
166
168
  }
167
169
  set rowHoverTextColor(v) {
168
- this.i.n1 = stringToBrush(v);
170
+ this.i.n3 = stringToBrush(v);
169
171
  }
170
172
  /**
171
173
  * Gets the actual text color that is used for the cells when they are hovered.
172
174
  */
173
175
  get actualRowHoverTextColor() {
174
- return brushToString(this.i.nu);
176
+ return brushToString(this.i.nw);
175
177
  }
176
178
  set actualRowHoverTextColor(v) {
177
- this.i.nu = stringToBrush(v);
179
+ this.i.nw = stringToBrush(v);
178
180
  }
179
181
  /**
180
182
  * Gets or sets the animation settings to use for this column.
181
183
  */
182
184
  get animationSettings() {
183
- const r = this.i.h6;
185
+ const r = this.i.h7;
184
186
  if (r == null) {
185
187
  return null;
186
188
  }
@@ -199,7 +201,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
199
201
  return r.externalObject;
200
202
  }
201
203
  set animationSettings(v) {
202
- v == null ? this.i.h6 = null : this.i.h6 = v.i;
204
+ v == null ? this.i.h7 = null : this.i.h7 = v.i;
203
205
  }
204
206
  /**
205
207
  * Gets or sets the width to use for this column.
@@ -236,28 +238,28 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
236
238
  * Gets or sets the minimum width to use for this column. Overrides the DefaultColumnMinWidth from the grid, if set.
237
239
  */
238
240
  get minWidth() {
239
- return this.i.j0;
241
+ return this.i.j1;
240
242
  }
241
243
  set minWidth(v) {
242
- this.i.j0 = +v;
244
+ this.i.j1 = +v;
243
245
  }
244
246
  /**
245
247
  * Gets whether this column was projected from markup/templates and is constrained.
246
248
  */
247
249
  get isFromMarkup() {
248
- return this.i.jn;
250
+ return this.i.jo;
249
251
  }
250
252
  set isFromMarkup(v) {
251
- this.i.jn = ensureBool(v);
253
+ this.i.jo = ensureBool(v);
252
254
  }
253
255
  /**
254
256
  * Gets whether this column was auto generated.
255
257
  */
256
258
  get isAutoGenerated() {
257
- return this.i.jh;
259
+ return this.i.ji;
258
260
  }
259
261
  set isAutoGenerated(v) {
260
- this.i.jh = ensureBool(v);
262
+ this.i.ji = ensureBool(v);
261
263
  }
262
264
  /**
263
265
  * Gets or sets a filter to apply on the values of this column
@@ -303,37 +305,37 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
303
305
  * Gets or sets whether filtering is enabled for this column.
304
306
  */
305
307
  get isFilteringEnabled() {
306
- return this.i.jm;
308
+ return this.i.jn;
307
309
  }
308
310
  set isFilteringEnabled(v) {
309
- this.i.jm = ensureBool(v);
311
+ this.i.jn = ensureBool(v);
310
312
  }
311
313
  /**
312
314
  * Gets or sets whether resizing is enabled for this column.
313
315
  */
314
316
  get isResizingEnabled() {
315
- return this.i.jp;
317
+ return this.i.jq;
316
318
  }
317
319
  set isResizingEnabled(v) {
318
- this.i.jp = ensureBool(v);
320
+ this.i.jq = ensureBool(v);
319
321
  }
320
322
  /**
321
323
  * Gets or sets whether or not a column is hidden from the grid
322
324
  */
323
325
  get isHidden() {
324
- return this.i.jo;
326
+ return this.i.jp;
325
327
  }
326
328
  set isHidden(v) {
327
- this.i.jo = ensureBool(v);
329
+ this.i.jp = ensureBool(v);
328
330
  }
329
331
  /**
330
332
  * Gets or sets if a column should be removed from the grid when it is fully hidden
331
333
  */
332
334
  get shouldRemoveWhenHidden() {
333
- return this.i.js;
335
+ return this.i.jt;
334
336
  }
335
337
  set shouldRemoveWhenHidden(v) {
336
- this.i.js = ensureBool(v);
338
+ this.i.jt = ensureBool(v);
337
339
  }
338
340
  /**
339
341
  * Gets the current sort direction (None, Ascending, Descending) for this column.
@@ -348,10 +350,10 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
348
350
  * Gets or sets the current fixed position for this column.
349
351
  */
350
352
  get pinned() {
351
- return this.i.il;
353
+ return this.i.im;
352
354
  }
353
355
  set pinned(v) {
354
- this.i.il = ensureEnum(PinnedPositions_$type, v);
356
+ this.i.im = ensureEnum(PinnedPositions_$type, v);
355
357
  }
356
358
  /**
357
359
  * Gets the actual column options icon alignment for this column.
@@ -375,19 +377,19 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
375
377
  * Gets the actual column options icon color for this column.
376
378
  */
377
379
  get actualColumnOptionsIconColor() {
378
- return brushToString(this.i.nr);
380
+ return brushToString(this.i.nt);
379
381
  }
380
382
  set actualColumnOptionsIconColor(v) {
381
- this.i.nr = stringToBrush(v);
383
+ this.i.nt = stringToBrush(v);
382
384
  }
383
385
  /**
384
386
  * Gets or sets the column options icon color for this column.
385
387
  */
386
388
  get columnOptionsIconColor() {
387
- return brushToString(this.i.nw);
389
+ return brushToString(this.i.ny);
388
390
  }
389
391
  set columnOptionsIconColor(v) {
390
- this.i.nw = stringToBrush(v);
392
+ this.i.ny = stringToBrush(v);
391
393
  }
392
394
  /**
393
395
  * Gets or sets how the column option icon will behave in the column header.
@@ -411,101 +413,101 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
411
413
  * Gets the actual state of the column options for this column.
412
414
  */
413
415
  get actualIsColumnOptionsEnabled() {
414
- return this.i.ja;
416
+ return this.i.jb;
415
417
  }
416
418
  set actualIsColumnOptionsEnabled(v) {
417
- this.i.ja = ensureBool(v);
419
+ this.i.jb = ensureBool(v);
418
420
  }
419
421
  /**
420
422
  * Gets or sets the preferred state of the column options for this column. If the feature is disabled at the grid level
421
423
  * then it will be disabled for the column regardless of what this is set to.
422
424
  */
423
425
  get isColumnOptionsEnabled() {
424
- return this.i.ji;
426
+ return this.i.jj;
425
427
  }
426
428
  set isColumnOptionsEnabled(v) {
427
- this.i.ji = ensureBool(v);
429
+ this.i.jj = ensureBool(v);
428
430
  }
429
431
  /**
430
432
  * Gets the actual state of summaries menu in the column options for this column.
431
433
  */
432
434
  get actualIsColumnOptionsSummariesEnabled() {
433
- return this.i.jc;
435
+ return this.i.jd;
434
436
  }
435
437
  set actualIsColumnOptionsSummariesEnabled(v) {
436
- this.i.jc = ensureBool(v);
438
+ this.i.jd = ensureBool(v);
437
439
  }
438
440
  /**
439
441
  * Gets or sets whether to show the summaries option in the column options menu for this column.
440
442
  */
441
443
  get isColumnOptionsSummariesEnabled() {
442
- return this.i.jk;
444
+ return this.i.jl;
443
445
  }
444
446
  set isColumnOptionsSummariesEnabled(v) {
445
- this.i.jk = ensureBool(v);
447
+ this.i.jl = ensureBool(v);
446
448
  }
447
449
  /**
448
450
  * Gets the actual state of grouping menu in the column options for this column.
449
451
  */
450
452
  get actualIsColumnOptionsGroupingEnabled() {
451
- return this.i.jb;
453
+ return this.i.jc;
452
454
  }
453
455
  set actualIsColumnOptionsGroupingEnabled(v) {
454
- this.i.jb = ensureBool(v);
456
+ this.i.jc = ensureBool(v);
455
457
  }
456
458
  /**
457
459
  * Gets or sets whether to show the grouping option in the column options menu for this column.
458
460
  */
459
461
  get isColumnOptionsGroupingEnabled() {
460
- return this.i.jj;
462
+ return this.i.jk;
461
463
  }
462
464
  set isColumnOptionsGroupingEnabled(v) {
463
- this.i.jj = ensureBool(v);
465
+ this.i.jk = ensureBool(v);
464
466
  }
465
467
  /**
466
468
  * Gets or sets if the column is editable.
467
469
  */
468
470
  get isEditable() {
469
- return this.i.jl;
471
+ return this.i.jm;
470
472
  }
471
473
  set isEditable(v) {
472
- this.i.jl = ensureBool(v);
474
+ this.i.jm = ensureBool(v);
473
475
  }
474
476
  /**
475
477
  * Gets or sets the text color used for deleted rows.
476
478
  */
477
479
  get deletedTextColor() {
478
- return brushToString(this.i.nx);
480
+ return brushToString(this.i.nz);
479
481
  }
480
482
  set deletedTextColor(v) {
481
- this.i.nx = stringToBrush(v);
483
+ this.i.nz = stringToBrush(v);
482
484
  }
483
485
  /**
484
486
  * Gets the actual text color used for deleted rows.
485
487
  */
486
488
  get actualDeletedTextColor() {
487
- return brushToString(this.i.ns);
489
+ return brushToString(this.i.nu);
488
490
  }
489
491
  set actualDeletedTextColor(v) {
490
- this.i.ns = stringToBrush(v);
492
+ this.i.nu = stringToBrush(v);
491
493
  }
492
494
  /**
493
495
  * Gets or sets the opacity to use for unsaved edited cell values.
494
496
  */
495
497
  get editOpacity() {
496
- return this.i.jz;
498
+ return this.i.j0;
497
499
  }
498
500
  set editOpacity(v) {
499
- this.i.jz = +v;
501
+ this.i.j0 = +v;
500
502
  }
501
503
  /**
502
504
  * Gets the actual opacity for unsaved edited cell values.
503
505
  */
504
506
  get actualEditOpacity() {
505
- return this.i.jy;
507
+ return this.i.jz;
506
508
  }
507
509
  set actualEditOpacity(v) {
508
- this.i.jy = +v;
510
+ this.i.jz = +v;
509
511
  }
510
512
  /**
511
513
  * Gets or sets the font style to use for unsaved cell edits.
@@ -525,33 +527,33 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
525
527
  * Gets the actual font style used for unsaved cell edits.
526
528
  */
527
529
  get actualEditFontInfo() {
528
- if (this.i.is == null) {
530
+ if (this.i.it == null) {
529
531
  return null;
530
532
  }
531
- return this.i.is.fontString;
533
+ return this.i.it.fontString;
532
534
  }
533
535
  set actualEditFontInfo(v) {
534
536
  let fi = new FontInfo();
535
537
  fi.fontString = v;
536
- this.i.is = fi;
538
+ this.i.it = fi;
537
539
  }
538
540
  /**
539
541
  * Gets or sets if and how cell merging is performed for this field.
540
542
  */
541
543
  get mergedCellMode() {
542
- return this.i.ih;
544
+ return this.i.ii;
543
545
  }
544
546
  set mergedCellMode(v) {
545
- this.i.ih = ensureEnum(MergedCellMode_$type, v);
547
+ this.i.ii = ensureEnum(MergedCellMode_$type, v);
546
548
  }
547
549
  /**
548
550
  * Gets or sets how cells are evaluated for merging.
549
551
  */
550
552
  get mergedCellEvaluationCriteria() {
551
- return this.i.id;
553
+ return this.i.ie;
552
554
  }
553
555
  set mergedCellEvaluationCriteria(v) {
554
- this.i.id = ensureEnum(MergedCellEvaluationCriteria_$type, v);
556
+ this.i.ie = ensureEnum(MergedCellEvaluationCriteria_$type, v);
555
557
  }
556
558
  /**
557
559
  * Gets or sets the vertical alignment to use for the merged cell content.
@@ -566,37 +568,37 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
566
568
  * Gets or sets the amount of left padding to use for the cell content for this column.
567
569
  */
568
570
  get mergedCellPaddingLeft() {
569
- return this.i.kd;
571
+ return this.i.ke;
570
572
  }
571
573
  set mergedCellPaddingLeft(v) {
572
- this.i.kd = +v;
574
+ this.i.ke = +v;
573
575
  }
574
576
  /**
575
577
  * Gets or sets the amount of top padding to use for the cell content for this column.
576
578
  */
577
579
  get mergedCellPaddingTop() {
578
- return this.i.kf;
580
+ return this.i.kg;
579
581
  }
580
582
  set mergedCellPaddingTop(v) {
581
- this.i.kf = +v;
583
+ this.i.kg = +v;
582
584
  }
583
585
  /**
584
586
  * Gets or sets the amount of right padding to use for the cell content of this column.
585
587
  */
586
588
  get mergedCellPaddingRight() {
587
- return this.i.ke;
589
+ return this.i.kf;
588
590
  }
589
591
  set mergedCellPaddingRight(v) {
590
- this.i.ke = +v;
592
+ this.i.kf = +v;
591
593
  }
592
594
  /**
593
595
  * Gets or sets the amount of bottom padding to use for the cell content of this column.
594
596
  */
595
597
  get mergedCellPaddingBottom() {
596
- return this.i.kc;
598
+ return this.i.kd;
597
599
  }
598
600
  set mergedCellPaddingBottom(v) {
599
- this.i.kc = +v;
601
+ this.i.kd = +v;
600
602
  }
601
603
  /**
602
604
  * Gets or sets whether UI filters are case sensitive or not.
@@ -613,7 +615,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
613
615
  get filterOperands() {
614
616
  if (this._filterOperands === null) {
615
617
  let coll = new IgxGridFilterOperandsCollection();
616
- let innerColl = this.i.h8;
618
+ let innerColl = this.i.h9;
617
619
  if (!innerColl) {
618
620
  innerColl = new GridFilterOperandsCollection_internal();
619
621
  }
@@ -629,7 +631,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
629
631
  let coll = new IgxGridFilterOperandsCollection();
630
632
  this._filterOperands = coll._fromOuter(v);
631
633
  let syncColl = new SyncableObservableCollection$1(FilterOperand.$type);
632
- let innerColl = this.i.h8;
634
+ let innerColl = this.i.h9;
633
635
  if (!innerColl) {
634
636
  innerColl = new GridFilterOperandsCollection_internal();
635
637
  }
@@ -669,18 +671,18 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
669
671
 
670
672
  */
671
673
  getUniqueKey() {
672
- let iv = this.i.lt();
674
+ let iv = this.i.lu();
673
675
  return (iv);
674
676
  }
675
677
  setNamedHeaderValue(valueName, animationType, value) {
676
- this.i.m2(valueName, (animationType == null ? null : animationType), value);
678
+ this.i.m4(valueName, (animationType == null ? null : animationType), value);
677
679
  }
678
680
  /**
679
681
  * Returns if the column has named header values.
680
682
 
681
683
  */
682
684
  hasNamedHeaderValues() {
683
- let iv = this.i.jf();
685
+ let iv = this.i.jg();
684
686
  return (iv);
685
687
  }
686
688
  /**
@@ -689,7 +691,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
689
691
  * @param valueName * The named value to check for.
690
692
  */
691
693
  hasNamedHeaderValue(valueName) {
692
- let iv = this.i.je(valueName);
694
+ let iv = this.i.jf(valueName);
693
695
  return (iv);
694
696
  }
695
697
  /**
@@ -698,7 +700,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
698
700
  * @param valueName * The named header value to remove.
699
701
  */
700
702
  removeNamedHeaderValue(valueName) {
701
- this.i.m1(valueName);
703
+ this.i.m3(valueName);
702
704
  }
703
705
  /**
704
706
  * Gets the value of a named header value for this column by name.
@@ -706,11 +708,11 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
706
708
  * @param valueName * Name of the named header value to retrieve.
707
709
  */
708
710
  getNamedHeaderValue(valueName) {
709
- let iv = this.i.kr(valueName);
711
+ let iv = this.i.ks(valueName);
710
712
  return (iv);
711
713
  }
712
714
  applyCustomFilter(filterID, index, value) {
713
- this.i.mu(filterID, index, value);
715
+ this.i.mw(filterID, index, value);
714
716
  }
715
717
  getDesiredToolbarActions() {
716
718
  let iv = this.i.getDesiredToolbarActions();
@@ -728,6 +730,26 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
728
730
  removeCommandStateChangedListener(listener) {
729
731
  this.i.removeCommandStateChangedListener(listener);
730
732
  }
733
+ /**
734
+ * Called when cell text is being formatted.
735
+ */
736
+ get formatCell() {
737
+ if (this._formatCell == null) {
738
+ this._formatCell = new EventEmitter();
739
+ this.i.formatCell = delegateCombine(this.i.formatCell, (o, e) => {
740
+ let outerArgs = new IgxFormatCellEventArgs();
741
+ outerArgs._provideImplementation(e);
742
+ if (this.beforeFormatCell) {
743
+ this.beforeFormatCell(this, outerArgs);
744
+ }
745
+ this._formatCell.emit({
746
+ sender: this,
747
+ args: outerArgs
748
+ });
749
+ });
750
+ }
751
+ return this._formatCell;
752
+ }
731
753
  get actualHeaderTextChange() {
732
754
  if (this._actualHeaderTextChange == null) {
733
755
  this._actualHeaderTextChange = new EventEmitter();
@@ -746,7 +768,7 @@ export let IgxDataGridColumnComponent = /*@__PURE__*/ (() => {
746
768
  }
747
769
  }
748
770
  IgxDataGridColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataGridColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
749
- IgxDataGridColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataGridColumnComponent, selector: "ng-component", inputs: { paddingLeft: "paddingLeft", paddingTop: "paddingTop", paddingRight: "paddingRight", paddingBottom: "paddingBottom", name: "name", field: "field", headerText: "headerText", actualHeaderText: "actualHeaderText", selectedBackground: "selectedBackground", actualSelectedBackground: "actualSelectedBackground", rowHoverBackground: "rowHoverBackground", actualHoverBackground: "actualHoverBackground", rowHoverTextColor: "rowHoverTextColor", actualRowHoverTextColor: "actualRowHoverTextColor", animationSettings: "animationSettings", width: "width", minWidth: "minWidth", isFromMarkup: "isFromMarkup", isAutoGenerated: "isAutoGenerated", filter: "filter", filterExpression: "filterExpression", header: "header", isFilteringEnabled: "isFilteringEnabled", isResizingEnabled: "isResizingEnabled", isHidden: "isHidden", shouldRemoveWhenHidden: "shouldRemoveWhenHidden", sortDirection: "sortDirection", pinned: "pinned", actualColumnOptionsIconAlignment: "actualColumnOptionsIconAlignment", columnOptionsIconAlignment: "columnOptionsIconAlignment", actualColumnOptionsIconColor: "actualColumnOptionsIconColor", columnOptionsIconColor: "columnOptionsIconColor", columnOptionsIconBehavior: "columnOptionsIconBehavior", actualColumnOptionsIconBehavior: "actualColumnOptionsIconBehavior", actualIsColumnOptionsEnabled: "actualIsColumnOptionsEnabled", isColumnOptionsEnabled: "isColumnOptionsEnabled", actualIsColumnOptionsSummariesEnabled: "actualIsColumnOptionsSummariesEnabled", isColumnOptionsSummariesEnabled: "isColumnOptionsSummariesEnabled", actualIsColumnOptionsGroupingEnabled: "actualIsColumnOptionsGroupingEnabled", isColumnOptionsGroupingEnabled: "isColumnOptionsGroupingEnabled", isEditable: "isEditable", deletedTextColor: "deletedTextColor", actualDeletedTextColor: "actualDeletedTextColor", editOpacity: "editOpacity", actualEditOpacity: "actualEditOpacity", textEditStyle: "textEditStyle", actualEditFontInfo: "actualEditFontInfo", mergedCellMode: "mergedCellMode", mergedCellEvaluationCriteria: "mergedCellEvaluationCriteria", mergedCellVerticalAlignment: "mergedCellVerticalAlignment", mergedCellPaddingLeft: "mergedCellPaddingLeft", mergedCellPaddingTop: "mergedCellPaddingTop", mergedCellPaddingRight: "mergedCellPaddingRight", mergedCellPaddingBottom: "mergedCellPaddingBottom", filterComparisonType: "filterComparisonType", filterOperands: "filterOperands" }, outputs: { actualHeaderTextChange: "actualHeaderTextChange" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
771
+ IgxDataGridColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataGridColumnComponent, selector: "ng-component", inputs: { paddingLeft: "paddingLeft", paddingTop: "paddingTop", paddingRight: "paddingRight", paddingBottom: "paddingBottom", name: "name", field: "field", headerText: "headerText", actualHeaderText: "actualHeaderText", selectedBackground: "selectedBackground", actualSelectedBackground: "actualSelectedBackground", rowHoverBackground: "rowHoverBackground", actualHoverBackground: "actualHoverBackground", rowHoverTextColor: "rowHoverTextColor", actualRowHoverTextColor: "actualRowHoverTextColor", animationSettings: "animationSettings", width: "width", minWidth: "minWidth", isFromMarkup: "isFromMarkup", isAutoGenerated: "isAutoGenerated", filter: "filter", filterExpression: "filterExpression", header: "header", isFilteringEnabled: "isFilteringEnabled", isResizingEnabled: "isResizingEnabled", isHidden: "isHidden", shouldRemoveWhenHidden: "shouldRemoveWhenHidden", sortDirection: "sortDirection", pinned: "pinned", actualColumnOptionsIconAlignment: "actualColumnOptionsIconAlignment", columnOptionsIconAlignment: "columnOptionsIconAlignment", actualColumnOptionsIconColor: "actualColumnOptionsIconColor", columnOptionsIconColor: "columnOptionsIconColor", columnOptionsIconBehavior: "columnOptionsIconBehavior", actualColumnOptionsIconBehavior: "actualColumnOptionsIconBehavior", actualIsColumnOptionsEnabled: "actualIsColumnOptionsEnabled", isColumnOptionsEnabled: "isColumnOptionsEnabled", actualIsColumnOptionsSummariesEnabled: "actualIsColumnOptionsSummariesEnabled", isColumnOptionsSummariesEnabled: "isColumnOptionsSummariesEnabled", actualIsColumnOptionsGroupingEnabled: "actualIsColumnOptionsGroupingEnabled", isColumnOptionsGroupingEnabled: "isColumnOptionsGroupingEnabled", isEditable: "isEditable", deletedTextColor: "deletedTextColor", actualDeletedTextColor: "actualDeletedTextColor", editOpacity: "editOpacity", actualEditOpacity: "actualEditOpacity", textEditStyle: "textEditStyle", actualEditFontInfo: "actualEditFontInfo", mergedCellMode: "mergedCellMode", mergedCellEvaluationCriteria: "mergedCellEvaluationCriteria", mergedCellVerticalAlignment: "mergedCellVerticalAlignment", mergedCellPaddingLeft: "mergedCellPaddingLeft", mergedCellPaddingTop: "mergedCellPaddingTop", mergedCellPaddingRight: "mergedCellPaddingRight", mergedCellPaddingBottom: "mergedCellPaddingBottom", filterComparisonType: "filterComparisonType", filterOperands: "filterOperands" }, outputs: { formatCell: "formatCell", actualHeaderTextChange: "actualHeaderTextChange" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
750
772
  return IgxDataGridColumnComponent;
751
773
  })();
752
774
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataGridColumnComponent, decorators: [{
@@ -866,6 +888,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
866
888
  type: Input
867
889
  }], filterOperands: [{
868
890
  type: Input
891
+ }], formatCell: [{
892
+ type: Output
869
893
  }], actualHeaderTextChange: [{
870
894
  type: Output
871
895
  }] } });