igniteui-angular-data-grids 21.0.0-beta.0 → 21.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 (190) hide show
  1. package/bundles/igniteui-angular-data-grids.umd.js +9371 -8077
  2. package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
  3. package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
  4. package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
  5. package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
  6. package/esm2015/lib/CellPresenterBase.js +10 -10
  7. package/esm2015/lib/CheckboxListBridge.js +28 -0
  8. package/esm2015/lib/CheckboxListView_combined.js +730 -705
  9. package/esm2015/lib/ColumnChooserView_combined.js +16 -16
  10. package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
  11. package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
  12. package/esm2015/lib/ColumnPinningView_combined.js +16 -16
  13. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
  14. package/esm2015/lib/ContentCellModelHelper.js +3 -3
  15. package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
  16. package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
  17. package/esm2015/lib/DateTimeCellPresenter.js +2 -2
  18. package/esm2015/lib/DraggerView.js +3 -3
  19. package/esm2015/lib/EditorCell.js +266 -266
  20. package/esm2015/lib/EditorCellPresenter.js +15 -15
  21. package/esm2015/lib/FilterCell.js +261 -261
  22. package/esm2015/lib/FilterCellPresenter.js +8 -8
  23. package/esm2015/lib/GridCellBase.js +65 -63
  24. package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
  25. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
  26. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
  27. package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
  28. package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
  29. package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
  30. package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
  31. package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
  32. package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
  33. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
  34. package/esm2015/lib/GridExternalWrapper.js +9 -6
  35. package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
  36. package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
  37. package/esm2015/lib/GridStyleRepository.js +271 -433
  38. package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
  39. package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
  40. package/esm2015/lib/ImageCell.js +55 -55
  41. package/esm2015/lib/ImageCellPresenter.js +8 -8
  42. package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
  43. package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
  44. package/esm2015/lib/NumericCell.js +4 -4
  45. package/esm2015/lib/NumericCellPresenter.js +2 -2
  46. package/esm2015/lib/PropertyEditorView_combined.js +22 -22
  47. package/esm2015/lib/SectionHeaderCell.js +8 -8
  48. package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
  49. package/esm2015/lib/SummaryCell.js +25 -25
  50. package/esm2015/lib/SummaryCellPresenter.js +5 -5
  51. package/esm2015/lib/TemplateCell.js +11 -11
  52. package/esm2015/lib/TemplateCellPresenter.js +2 -2
  53. package/esm2015/lib/TemplateHeader.js +7 -7
  54. package/esm2015/lib/TemplateHeaderCell.js +5 -5
  55. package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
  56. package/esm2015/lib/TemplateSectionHeader.js +2 -2
  57. package/esm2015/lib/TextCell.js +22 -22
  58. package/esm2015/lib/TextCellPresenter.js +2 -2
  59. package/esm2015/lib/TextHeaderCell.js +140 -134
  60. package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
  61. package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
  62. package/esm2015/lib/VerticalSeparatorCell.js +32 -32
  63. package/esm2015/lib/igx-checkbox-list-component.js +69 -69
  64. package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
  65. package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
  66. package/esm2015/lib/igx-combo-box-column-component.js +10 -10
  67. package/esm2015/lib/igx-data-grid-column-component.js +265 -139
  68. package/esm2015/lib/igx-data-grid-component.js +110 -2
  69. package/esm2015/lib/igx-data-grid-filter-dialog-component.js +79 -16
  70. package/esm2015/lib/igx-data-grid-pager-component.js +32 -10
  71. package/esm2015/lib/igx-date-time-column-component.js +20 -20
  72. package/esm2015/lib/igx-definition-base-component.js +89 -89
  73. package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
  74. package/esm2015/lib/igx-header-component.js +16 -16
  75. package/esm2015/lib/igx-image-column-component.js +10 -10
  76. package/esm2015/lib/igx-numeric-column-component.js +30 -30
  77. package/esm2015/lib/igx-section-header-component.js +16 -16
  78. package/esm2015/lib/igx-summary-row-component.js +16 -16
  79. package/esm2015/lib/igx-text-column-component.js +8 -8
  80. package/esm2015/lib/igx-text-header-cell-info.js +65 -4
  81. package/esm2015/public_api.js +1 -0
  82. package/esm5/lib/CanvasCellPresenterBase.js +1 -1
  83. package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
  84. package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
  85. package/esm5/lib/CellPresenterBase.js +10 -10
  86. package/esm5/lib/CheckboxListBridge.js +28 -0
  87. package/esm5/lib/CheckboxListView_combined.js +709 -684
  88. package/esm5/lib/ColumnChooserView_combined.js +16 -16
  89. package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
  90. package/esm5/lib/ColumnGroupingView_combined.js +14 -14
  91. package/esm5/lib/ColumnPinningView_combined.js +16 -16
  92. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
  93. package/esm5/lib/ContentCellModelHelper.js +3 -3
  94. package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
  95. package/esm5/lib/DataGridToolbarView_combined.js +12 -12
  96. package/esm5/lib/DateTimeCellPresenter.js +2 -2
  97. package/esm5/lib/DraggerView.js +3 -3
  98. package/esm5/lib/EditorCell.js +256 -256
  99. package/esm5/lib/EditorCellPresenter.js +15 -15
  100. package/esm5/lib/FilterCell.js +252 -252
  101. package/esm5/lib/FilterCellPresenter.js +8 -8
  102. package/esm5/lib/GridCellBase.js +64 -62
  103. package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
  104. package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
  105. package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
  106. package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
  107. package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
  108. package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
  109. package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
  110. package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
  111. package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
  112. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
  113. package/esm5/lib/GridExternalWrapper.js +9 -6
  114. package/esm5/lib/GridFilterDialogView_combined.js +331 -164
  115. package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
  116. package/esm5/lib/GridStyleRepository.js +275 -585
  117. package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
  118. package/esm5/lib/ISummaryChooserView_combined.js +11 -11
  119. package/esm5/lib/ImageCell.js +54 -54
  120. package/esm5/lib/ImageCellPresenter.js +8 -8
  121. package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
  122. package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
  123. package/esm5/lib/NumericCell.js +4 -4
  124. package/esm5/lib/NumericCellPresenter.js +2 -2
  125. package/esm5/lib/PropertyEditorView_combined.js +22 -22
  126. package/esm5/lib/SectionHeaderCell.js +8 -8
  127. package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
  128. package/esm5/lib/SummaryCell.js +26 -26
  129. package/esm5/lib/SummaryCellPresenter.js +5 -5
  130. package/esm5/lib/TemplateCell.js +11 -11
  131. package/esm5/lib/TemplateCellPresenter.js +2 -2
  132. package/esm5/lib/TemplateHeader.js +7 -7
  133. package/esm5/lib/TemplateHeaderCell.js +5 -5
  134. package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
  135. package/esm5/lib/TemplateSectionHeader.js +2 -2
  136. package/esm5/lib/TextCell.js +22 -22
  137. package/esm5/lib/TextCellPresenter.js +2 -2
  138. package/esm5/lib/TextHeaderCell.js +138 -132
  139. package/esm5/lib/TextHeaderCellPresenter.js +43 -21
  140. package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
  141. package/esm5/lib/VerticalSeparatorCell.js +32 -32
  142. package/esm5/lib/igx-checkbox-list-component.js +69 -69
  143. package/esm5/lib/igx-column-moving-separator-component.js +6 -6
  144. package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
  145. package/esm5/lib/igx-combo-box-column-component.js +10 -10
  146. package/esm5/lib/igx-data-grid-column-component.js +313 -139
  147. package/esm5/lib/igx-data-grid-component.js +151 -3
  148. package/esm5/lib/igx-data-grid-filter-dialog-component.js +103 -16
  149. package/esm5/lib/igx-data-grid-pager-component.js +40 -10
  150. package/esm5/lib/igx-date-time-column-component.js +20 -20
  151. package/esm5/lib/igx-definition-base-component.js +89 -89
  152. package/esm5/lib/igx-filter-row-definition-component.js +8 -8
  153. package/esm5/lib/igx-header-component.js +16 -16
  154. package/esm5/lib/igx-image-column-component.js +10 -10
  155. package/esm5/lib/igx-numeric-column-component.js +30 -30
  156. package/esm5/lib/igx-section-header-component.js +16 -16
  157. package/esm5/lib/igx-summary-row-component.js +16 -16
  158. package/esm5/lib/igx-text-column-component.js +8 -8
  159. package/esm5/lib/igx-text-header-cell-info.js +93 -4
  160. package/esm5/public_api.js +1 -0
  161. package/fesm2015/igniteui-angular-data-grids.js +9273 -8141
  162. package/fesm5/igniteui-angular-data-grids.js +9373 -8080
  163. package/lib/CheckboxListBridge.d.ts +1 -0
  164. package/lib/CheckboxListExternal.d.ts +6 -0
  165. package/lib/CheckboxListView_combined.d.ts +153 -148
  166. package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
  167. package/lib/EditorCell.d.ts +51 -51
  168. package/lib/FilterCell.d.ts +53 -53
  169. package/lib/GridCellBase.d.ts +21 -19
  170. package/lib/GridExternalWrapper.d.ts +1 -0
  171. package/lib/GridFilterDialogView_combined.d.ts +81 -58
  172. package/lib/GridStyleRepository.d.ts +23 -84
  173. package/lib/GridStyleRepositoryKeys.d.ts +48 -0
  174. package/lib/ImageCell.d.ts +14 -14
  175. package/lib/SectionHeaderCell.d.ts +2 -2
  176. package/lib/SummaryCell.d.ts +4 -4
  177. package/lib/TemplateCell.d.ts +3 -3
  178. package/lib/TemplateHeader.d.ts +3 -3
  179. package/lib/TemplateHeaderCell.d.ts +2 -2
  180. package/lib/TemplateSectionHeader.d.ts +2 -2
  181. package/lib/TextCell.d.ts +4 -4
  182. package/lib/TextHeaderCell.d.ts +26 -24
  183. package/lib/VerticalSeparatorCell.d.ts +4 -4
  184. package/lib/igx-data-grid-column-component.d.ts +55 -1
  185. package/lib/igx-data-grid-component.d.ts +51 -2
  186. package/lib/igx-data-grid-filter-dialog-component.d.ts +28 -1
  187. package/lib/igx-data-grid-pager-component.d.ts +11 -1
  188. package/lib/igx-text-header-cell-info.d.ts +34 -0
  189. package/package.json +4 -4
  190. package/public_api.d.ts +1 -0
@@ -23,486 +23,486 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
23
23
  __extends(EditorCell, _super);
24
24
  function EditorCell(a) {
25
25
  var _this = _super.call(this, a) || this;
26
- _this.d3 = null;
26
+ _this.d4 = null;
27
+ _this.eb = null;
27
28
  _this.ea = null;
28
- _this.d9 = null;
29
+ _this.d1 = null;
29
30
  _this.d0 = null;
30
- _this.dz = null;
31
- _this.eq = null;
32
31
  _this.er = null;
33
32
  _this.es = null;
34
- _this.eb = null;
35
- _this.ee = false;
36
- _this.ei = false;
33
+ _this.et = null;
34
+ _this.ec = null;
37
35
  _this.ef = false;
38
- _this.dx = 0;
36
+ _this.ej = false;
37
+ _this.eg = false;
38
+ _this.dy = 0;
39
+ _this.ev = null;
40
+ _this.ed = null;
41
+ _this.d2 = 1;
39
42
  _this.eu = null;
40
- _this.ec = null;
41
- _this.d1 = 1;
42
- _this.et = null;
43
- _this.ex = null;
44
- _this.dv = null;
45
- _this.eg = true;
46
43
  _this.ey = null;
47
- _this.eh = false;
48
- _this.ek = false;
44
+ _this.dw = null;
45
+ _this.eh = true;
46
+ _this.ez = null;
47
+ _this.ei = false;
49
48
  _this.el = false;
50
- _this.ej = false;
49
+ _this.em = false;
50
+ _this.ek = false;
51
51
  _this.ar.setAttribute("tabindex", "-1");
52
52
  _this.ar.setStyleProperty("outline", "none");
53
53
  _this.ar.setStyleProperty("display", "flex");
54
54
  _this.ar.setStyleProperty("align-items", "center");
55
- _this.ar.listen("focusout", runOn(_this, _this.fo));
56
- _this.ar.listen("focusin", runOn(_this, _this.fm));
55
+ _this.ar.listen("focusout", runOn(_this, _this.fp));
56
+ _this.ar.listen("focusin", runOn(_this, _this.fn));
57
57
  return _this;
58
58
  }
59
- Object.defineProperty(EditorCell.prototype, "dy", {
59
+ Object.defineProperty(EditorCell.prototype, "dz", {
60
60
  get: function () {
61
- return this.dx;
61
+ return this.dy;
62
62
  },
63
63
  set: function (a) {
64
- var b = this.dx;
65
- this.dx = a;
66
- if (b != this.dx) {
67
- this.ck("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.dx));
64
+ var b = this.dy;
65
+ this.dy = a;
66
+ if (b != this.dy) {
67
+ this.ck("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.dy));
68
68
  }
69
69
  },
70
70
  enumerable: false,
71
71
  configurable: true
72
72
  });
73
- Object.defineProperty(EditorCell.prototype, "ew", {
73
+ Object.defineProperty(EditorCell.prototype, "ex", {
74
74
  get: function () {
75
- return this.eu;
75
+ return this.ev;
76
76
  },
77
77
  set: function (a) {
78
- var b = this.eu;
79
- this.eu = a;
80
- this.ck("Value", b, this.eu);
78
+ var b = this.ev;
79
+ this.ev = a;
80
+ this.ck("Value", b, this.ev);
81
81
  },
82
82
  enumerable: false,
83
83
  configurable: true
84
84
  });
85
- Object.defineProperty(EditorCell.prototype, "ed", {
85
+ Object.defineProperty(EditorCell.prototype, "ee", {
86
86
  get: function () {
87
- return this.ec;
87
+ return this.ed;
88
88
  },
89
89
  set: function (a) {
90
- var b = this.ec;
91
- this.ec = a;
92
- if (b != this.ec) {
93
- this.ck("FontInfo", b, this.ec);
90
+ var b = this.ed;
91
+ this.ed = a;
92
+ if (b != this.ed) {
93
+ this.ck("FontInfo", b, this.ed);
94
94
  }
95
95
  },
96
96
  enumerable: false,
97
97
  configurable: true
98
98
  });
99
- Object.defineProperty(EditorCell.prototype, "d2", {
99
+ Object.defineProperty(EditorCell.prototype, "d3", {
100
100
  get: function () {
101
- return this.d1;
101
+ return this.d2;
102
102
  },
103
103
  set: function (a) {
104
- var b = this.d1;
105
- this.d1 = a;
106
- if (b != this.d1) {
107
- this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d1));
104
+ var b = this.d2;
105
+ this.d2 = a;
106
+ if (b != this.d2) {
107
+ this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d2));
108
108
  }
109
109
  },
110
110
  enumerable: false,
111
111
  configurable: true
112
112
  });
113
- Object.defineProperty(EditorCell.prototype, "ev", {
113
+ Object.defineProperty(EditorCell.prototype, "ew", {
114
114
  get: function () {
115
- return this.et;
115
+ return this.eu;
116
116
  },
117
117
  set: function (a) {
118
- var b = this.et;
119
- this.et = a;
120
- if (b != this.et) {
121
- this.ck("ComboItemsSource", b, this.et);
118
+ var b = this.eu;
119
+ this.eu = a;
120
+ if (b != this.eu) {
121
+ this.ck("ComboItemsSource", b, this.eu);
122
122
  }
123
123
  },
124
124
  enumerable: false,
125
125
  configurable: true
126
126
  });
127
- Object.defineProperty(EditorCell.prototype, "e0", {
127
+ Object.defineProperty(EditorCell.prototype, "e1", {
128
128
  get: function () {
129
- return this.ex;
129
+ return this.ey;
130
130
  },
131
131
  set: function (a) {
132
- var b = this.ex;
133
- this.ex = a;
134
- if (b != this.ex) {
135
- this.ck("ComboTextField", b, this.ex);
132
+ var b = this.ey;
133
+ this.ey = a;
134
+ if (b != this.ey) {
135
+ this.ck("ComboTextField", b, this.ey);
136
136
  }
137
137
  },
138
138
  enumerable: false,
139
139
  configurable: true
140
140
  });
141
- Object.defineProperty(EditorCell.prototype, "dw", {
141
+ Object.defineProperty(EditorCell.prototype, "dx", {
142
142
  get: function () {
143
- return this.dv;
143
+ return this.dw;
144
144
  },
145
145
  set: function (a) {
146
- var b = this.dv;
147
- this.dv = a;
148
- if (b != this.dv) {
149
- this.ck("ComboValueField", b, this.dv);
146
+ var b = this.dw;
147
+ this.dw = a;
148
+ if (b != this.dw) {
149
+ this.ck("ComboValueField", b, this.dw);
150
150
  }
151
151
  },
152
152
  enumerable: false,
153
153
  configurable: true
154
154
  });
155
- Object.defineProperty(EditorCell.prototype, "eo", {
155
+ Object.defineProperty(EditorCell.prototype, "ep", {
156
156
  get: function () {
157
- return this.eg;
157
+ return this.eh;
158
158
  },
159
159
  set: function (a) {
160
- var b = this.eg;
161
- this.eg = a;
162
- if (b != this.eg) {
163
- this.ck("IsHidden", b, this.eg);
160
+ var b = this.eh;
161
+ this.eh = a;
162
+ if (b != this.eh) {
163
+ this.ck("IsHidden", b, this.eh);
164
164
  }
165
165
  },
166
166
  enumerable: false,
167
167
  configurable: true
168
168
  });
169
- Object.defineProperty(EditorCell.prototype, "e4", {
169
+ Object.defineProperty(EditorCell.prototype, "e5", {
170
170
  get: function () {
171
- return this.ey;
171
+ return this.ez;
172
172
  },
173
173
  set: function (a) {
174
- var b = this.ey;
175
- this.ey = a;
176
- if (b != this.ey) {
177
- this.ck("DateFormatString", b, this.ey);
174
+ var b = this.ez;
175
+ this.ez = a;
176
+ if (b != this.ez) {
177
+ this.ck("DateFormatString", b, this.ez);
178
178
  }
179
179
  },
180
180
  enumerable: false,
181
181
  configurable: true
182
182
  });
183
- Object.defineProperty(EditorCell.prototype, "ep", {
183
+ Object.defineProperty(EditorCell.prototype, "eq", {
184
184
  get: function () {
185
- return this.eh;
185
+ return this.ei;
186
186
  },
187
187
  set: function (a) {
188
- var b = this.eh;
189
- this.eh = a;
190
- if (b != this.eh) {
191
- this.ck("ShowTodayButton", b, this.eh);
188
+ var b = this.ei;
189
+ this.ei = a;
190
+ if (b != this.ei) {
191
+ this.ck("ShowTodayButton", b, this.ei);
192
192
  }
193
193
  },
194
194
  enumerable: false,
195
195
  configurable: true
196
196
  });
197
- EditorCell.prototype.d8 = function (a) {
198
- if (this.eq == null) {
199
- this.eq = this.am.createElement("div");
200
- var b = this.am.getSubRenderer(this.eq);
201
- this.eb = new Popup();
202
- this.eb.provideRenderer(b);
203
- this.es = this.am.createElement("div");
204
- this.es.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
205
- this.es.setStyleProperty("color", "#fff");
206
- this.es.setStyleProperty("padding", "5px");
207
- this.es.setStyleProperty("outline", "none");
208
- this.es.setAttribute("tabindex", "-1");
197
+ EditorCell.prototype.d9 = function (a) {
198
+ if (this.er == null) {
209
199
  this.er = this.am.createElement("div");
210
- this.er.setStyleProperty("white-space", "pre");
211
- if (this.ed != null) {
212
- this.er.setStyleProperty("font", this.ed.fontString);
200
+ var b = this.am.getSubRenderer(this.er);
201
+ this.ec = new Popup();
202
+ this.ec.provideRenderer(b);
203
+ this.et = this.am.createElement("div");
204
+ this.et.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
205
+ this.et.setStyleProperty("color", "#fff");
206
+ this.et.setStyleProperty("padding", "5px");
207
+ this.et.setStyleProperty("outline", "none");
208
+ this.et.setAttribute("tabindex", "-1");
209
+ this.es = this.am.createElement("div");
210
+ this.es.setStyleProperty("white-space", "pre");
211
+ if (this.ee != null) {
212
+ this.es.setStyleProperty("font", this.ee.fontString);
213
213
  }
214
- this.es.append(this.er);
215
- this.eb.appendPopupContent(this.es);
214
+ this.et.append(this.es);
215
+ this.ec.appendPopupContent(this.et);
216
216
  }
217
217
  var c = null;
218
218
  switch (a) {
219
219
  case 1:
220
- c = this.d7();
220
+ c = this.d8();
221
221
  break;
222
222
  case 2:
223
- c = this.d6();
223
+ c = this.d7();
224
224
  break;
225
225
  case 3:
226
- c = this.d5();
226
+ c = this.d6();
227
227
  break;
228
228
  case 4:
229
- c = this.d4();
229
+ c = this.d5();
230
230
  break;
231
231
  }
232
232
  return c;
233
233
  };
234
+ EditorCell.prototype.d8 = function () {
235
+ if (this.eb != null) {
236
+ this.fh();
237
+ this.fm();
238
+ return this.eb;
239
+ }
240
+ this.eb = new TextEditorView(this.am, this.f.getTheme(), this.b);
241
+ this.eb.setFont(this.ee);
242
+ return this.eb;
243
+ };
234
244
  EditorCell.prototype.d7 = function () {
235
245
  if (this.ea != null) {
236
- this.fg();
237
- this.fl();
246
+ this.fh();
247
+ this.fm();
238
248
  return this.ea;
239
249
  }
240
- this.ea = new TextEditorView(this.am, this.f.getTheme(), this.b);
241
- this.ea.setFont(this.ed);
250
+ this.ea = new NumericEditorView(this.am, this.f.getTheme(), this.b);
251
+ this.ea.setFont(this.ee);
242
252
  return this.ea;
243
253
  };
244
254
  EditorCell.prototype.d6 = function () {
245
- if (this.d9 != null) {
246
- this.fg();
247
- this.fl();
248
- return this.d9;
255
+ if (this.d1 != null) {
256
+ this.fh();
257
+ this.fm();
258
+ return this.d1;
249
259
  }
250
- this.d9 = new NumericEditorView(this.am, this.f.getTheme(), this.b);
251
- this.d9.setFont(this.ed);
252
- return this.d9;
260
+ this.d1 = new DateEditorView(this.am, this.f.getTheme(), this.b);
261
+ this.d1.setFont(this.ee);
262
+ return this.d1;
253
263
  };
254
264
  EditorCell.prototype.d5 = function () {
255
265
  if (this.d0 != null) {
256
266
  this.fg();
257
- this.fl();
267
+ this.fh();
268
+ this.fm();
258
269
  return this.d0;
259
270
  }
260
- this.d0 = new DateEditorView(this.am, this.f.getTheme(), this.b);
261
- this.d0.setFont(this.ed);
271
+ this.d0 = new ComboEditorView(this.am, this.f.getTheme(), this.b);
272
+ this.d0.setFont(this.ee);
273
+ this.d0.ah = this.ew;
274
+ this.d0.ak = this.e1;
275
+ this.d0.aa = this.dx;
262
276
  return this.d0;
263
277
  };
264
- EditorCell.prototype.d4 = function () {
265
- if (this.dz != null) {
266
- this.ff();
267
- this.fg();
268
- this.fl();
269
- return this.dz;
270
- }
271
- this.dz = new ComboEditorView(this.am, this.f.getTheme(), this.b);
272
- this.dz.setFont(this.ed);
273
- this.dz.ah = this.ev;
274
- this.dz.ak = this.e0;
275
- this.dz.aa = this.dw;
276
- return this.dz;
277
- };
278
- EditorCell.prototype.fn = function (a, b) {
278
+ EditorCell.prototype.fo = function (a, b) {
279
279
  if (b.g != b.d || b.h != b.e) {
280
- if (this.dz != null) {
281
- this.dz.an();
282
- }
283
280
  if (this.d0 != null) {
284
- this.d0.ah();
281
+ this.d0.an();
285
282
  }
286
- this.fd();
283
+ if (this.d1 != null) {
284
+ this.d1.ah();
285
+ }
286
+ this.fe();
287
287
  }
288
288
  };
289
- EditorCell.prototype.fb = function () {
290
- if (!this.ef) {
291
- if (this.d3 != null) {
292
- this.d3.attachEvents();
293
- var a = this.d3;
294
- a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.ft));
295
- var b = this.d3;
296
- b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.fj));
297
- var c = this.d3;
298
- c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.fi));
299
- var d = this.d3;
300
- d.userTyping = delegateCombine(d.userTyping, runOn(this, this.fr));
301
- this.ef = true;
289
+ EditorCell.prototype.fc = function () {
290
+ if (!this.eg) {
291
+ if (this.d4 != null) {
292
+ this.d4.attachEvents();
293
+ var a = this.d4;
294
+ a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.fu));
295
+ var b = this.d4;
296
+ b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.fk));
297
+ var c = this.d4;
298
+ c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.fj));
299
+ var d = this.d4;
300
+ d.userTyping = delegateCombine(d.userTyping, runOn(this, this.fs));
301
+ this.eg = true;
302
302
  }
303
303
  }
304
304
  };
305
- EditorCell.prototype.fc = function () {
306
- if (this.ef) {
307
- if (this.d3 != null) {
308
- this.d3.detachEvents();
309
- var a = this.d3;
310
- a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.ft));
311
- var b = this.d3;
312
- b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.fj));
313
- var c = this.d3;
314
- c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.fi));
315
- var d = this.d3;
316
- d.userTyping = delegateRemove(d.userTyping, runOn(this, this.fr));
317
- this.ef = false;
305
+ EditorCell.prototype.fd = function () {
306
+ if (this.eg) {
307
+ if (this.d4 != null) {
308
+ this.d4.detachEvents();
309
+ var a = this.d4;
310
+ a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.fu));
311
+ var b = this.d4;
312
+ b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.fk));
313
+ var c = this.d4;
314
+ c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.fj));
315
+ var d = this.d4;
316
+ d.userTyping = delegateRemove(d.userTyping, runOn(this, this.fs));
317
+ this.eg = false;
318
318
  }
319
319
  }
320
320
  };
321
- EditorCell.prototype.fq = function (a) {
322
- this.ek = false;
321
+ EditorCell.prototype.fr = function (a) {
323
322
  this.el = false;
324
- this.ej = false;
323
+ this.em = false;
324
+ this.ek = false;
325
325
  if (!a) {
326
- this.el = true;
327
- this.d3.onTargetChanged();
326
+ this.em = true;
327
+ this.d4.onTargetChanged();
328
328
  }
329
329
  };
330
- EditorCell.prototype.fs = function () {
331
- if (this.d3 != null) {
332
- this.d3.value = this.ew;
330
+ EditorCell.prototype.ft = function () {
331
+ if (this.d4 != null) {
332
+ this.d4.value = this.ex;
333
333
  }
334
334
  };
335
- EditorCell.prototype.fg = function () {
335
+ EditorCell.prototype.fh = function () {
336
336
  };
337
- EditorCell.prototype.fk = function () {
338
- this.ee = true;
339
- this.fc();
337
+ EditorCell.prototype.fl = function () {
338
+ this.ef = true;
339
+ this.fd();
340
340
  this.ar.removeChildren();
341
- if (this.d3 != null) {
342
- this.d3.cleanUp();
341
+ if (this.d4 != null) {
342
+ this.d4.cleanUp();
343
343
  }
344
- this.d3 = this.d8(this.d2);
345
- this.ar.append(this.d3.container);
346
- this.fb();
347
- if (this.d3 != null) {
348
- this.d3.isEnabled = !this.isRemoved;
349
- if (!this.eo) {
350
- this.d3.onEditStarted();
344
+ this.d4 = this.d9(this.d3);
345
+ this.ar.append(this.d4.container);
346
+ this.fc();
347
+ if (this.d4 != null) {
348
+ this.d4.isEnabled = !this.isRemoved;
349
+ if (!this.ep) {
350
+ this.d4.onEditStarted();
351
351
  }
352
352
  }
353
- this.ee = false;
353
+ this.ef = false;
354
354
  };
355
- EditorCell.prototype.ff = function () {
356
- if (this.dz != null) {
357
- this.dz.ah = this.ev;
358
- this.dz.ak = this.e0;
359
- this.dz.aa = this.dw;
355
+ EditorCell.prototype.fg = function () {
356
+ if (this.d0 != null) {
357
+ this.d0.ah = this.ew;
358
+ this.d0.ak = this.e1;
359
+ this.d0.aa = this.dx;
360
360
  }
361
361
  };
362
- EditorCell.prototype.fl = function () {
363
- if (this.ed != null) {
362
+ EditorCell.prototype.fm = function () {
363
+ if (this.ee != null) {
364
+ if (this.eb != null) {
365
+ this.eb.setFont(this.ee);
366
+ }
364
367
  if (this.ea != null) {
365
- this.ea.setFont(this.ed);
368
+ this.ea.setFont(this.ee);
366
369
  }
367
- if (this.d9 != null) {
368
- this.d9.setFont(this.ed);
370
+ if (this.d1 != null) {
371
+ this.d1.setFont(this.ee);
369
372
  }
370
373
  if (this.d0 != null) {
371
- this.d0.setFont(this.ed);
374
+ this.d0.setFont(this.ee);
372
375
  }
373
- if (this.dz != null) {
374
- this.dz.setFont(this.ed);
375
- }
376
- this.er.setStyleProperty("font", this.ed.fontString);
376
+ this.es.setStyleProperty("font", this.ee.fontString);
377
377
  }
378
378
  };
379
- EditorCell.prototype.fe = function () {
380
- this.ei = false;
381
- if (this.d3 != null) {
382
- if (!this.eo) {
383
- this.d3.onEditStarted();
379
+ EditorCell.prototype.ff = function () {
380
+ this.ej = false;
381
+ if (this.d4 != null) {
382
+ if (!this.ep) {
383
+ this.d4.onEditStarted();
384
384
  }
385
385
  else {
386
- this.d3.onEditEnded();
387
- this.d3.value = null;
388
- this.d3.value = this.ew;
386
+ this.d4.onEditEnded();
387
+ this.d4.value = null;
388
+ this.d4.value = this.ex;
389
389
  }
390
390
  }
391
391
  };
392
- EditorCell.prototype.fh = function () {
393
- if (this.d3 != null && this.d0 == this.d3) {
394
- this.d0.af = this.e4;
392
+ EditorCell.prototype.fi = function () {
393
+ if (this.d4 != null && this.d1 == this.d4) {
394
+ this.d1.af = this.e5;
395
395
  }
396
396
  };
397
- EditorCell.prototype.fp = function () {
398
- if (this.d3 != null && this.d0 == this.d3) {
399
- this.d0.ad = this.ep;
397
+ EditorCell.prototype.fq = function () {
398
+ if (this.d4 != null && this.d1 == this.d4) {
399
+ this.d1.ad = this.eq;
400
400
  }
401
401
  };
402
- EditorCell.prototype.fu = function (a, b, c, d, e) {
402
+ EditorCell.prototype.fv = function (a, b, c, d, e) {
403
403
  if (!stringIsNullOrWhiteSpace(a)) {
404
- this.er.setRawText(a);
405
- this.eb.b9();
406
- this.fv();
404
+ this.es.setRawText(a);
405
+ this.ec.b9();
406
+ this.fw();
407
407
  }
408
408
  };
409
- EditorCell.prototype.fv = function () {
409
+ EditorCell.prototype.fw = function () {
410
410
  var rect_ = this.ar.getNativeElement().getBoundingClientRect();
411
411
  var a = new Rect(4);
412
412
  a.left = (rect_.left + window.pageXOffset);
413
413
  a.top = (rect_.top + window.pageYOffset);
414
414
  a.right = (rect_.right + window.pageXOffset);
415
415
  a.bottom = (rect_.bottom + window.pageYOffset);
416
- this.eb.showRelativeToExclusionRect(a, 1, 0);
416
+ this.ec.showRelativeToExclusionRect(a, 1, 0);
417
417
  };
418
- EditorCell.prototype.fd = function () {
419
- if (this.eb.ax) {
420
- this.eb.b6();
418
+ EditorCell.prototype.fe = function () {
419
+ if (this.ec.ax) {
420
+ this.ec.b6();
421
421
  }
422
422
  };
423
423
  EditorCell.prototype.cj = function () {
424
- if (this.d3 == null) {
425
- this.fk();
426
- this.f.setViewportChangedHandler(runOn(this, this.fn));
424
+ if (this.d4 == null) {
425
+ this.fl();
426
+ this.f.setViewportChangedHandler(runOn(this, this.fo));
427
427
  }
428
428
  };
429
429
  EditorCell.prototype.b9 = function () {
430
- if (this.d3 != null) {
431
- this.d3.focus();
430
+ if (this.d4 != null) {
431
+ this.d4.focus();
432
432
  }
433
433
  };
434
434
  EditorCell.prototype.ck = function (a, b, c) {
435
435
  _super.prototype.ck.call(this, a, b, c);
436
436
  switch (a) {
437
437
  case "EditorType":
438
- this.fk();
438
+ this.fl();
439
439
  break;
440
440
  case "ComboItemsSource":
441
441
  case "ComboTextField":
442
442
  case "ComboValueField":
443
- this.ff();
443
+ this.fg();
444
444
  break;
445
445
  case "DataType":
446
- this.fg();
446
+ this.fh();
447
447
  break;
448
448
  case "Value":
449
- this.fs();
449
+ this.ft();
450
450
  break;
451
451
  case "FontInfo":
452
- this.fl();
452
+ this.fm();
453
453
  break;
454
454
  case "IsHidden":
455
- this.fe();
455
+ this.ff();
456
456
  break;
457
457
  case "DateFormatString":
458
- this.fh();
458
+ this.fi();
459
459
  break;
460
460
  case "ShowTodayButton":
461
- this.fp();
461
+ this.fq();
462
462
  break;
463
463
  case "IsRemoved":
464
- if (this.d3 != null) {
465
- this.d3.isEnabled = !this.isRemoved;
464
+ if (this.d4 != null) {
465
+ this.d4.isEnabled = !this.isRemoved;
466
466
  if (!this.isRemoved) {
467
- this.d3.onTargetChanged();
467
+ this.d4.onTargetChanged();
468
468
  }
469
469
  }
470
470
  break;
471
471
  }
472
472
  };
473
- EditorCell.prototype.ft = function (a, b, c) {
474
- if (a == this.d3) {
473
+ EditorCell.prototype.fu = function (a, b, c) {
474
+ if (a == this.d4) {
475
475
  if (!c) {
476
476
  this.b.updateCellEditValue(b);
477
477
  }
478
478
  }
479
479
  };
480
- EditorCell.prototype.fr = function (a) {
481
- if (a == this.d3) {
480
+ EditorCell.prototype.fs = function (a) {
481
+ if (a == this.d4) {
482
482
  this.b.startEditMode();
483
483
  }
484
484
  };
485
- EditorCell.prototype.en = function (a) {
486
- if (a != null && this.eb != null && this.eb.ax) {
487
- var b = this.es.getNativeElement();
485
+ EditorCell.prototype.eo = function (a) {
486
+ if (a != null && this.ec != null && this.ec.ax) {
487
+ var b = this.et.getNativeElement();
488
488
  return b.contains(a);
489
489
  }
490
490
  return false;
491
491
  };
492
- EditorCell.prototype.em = function (a) {
492
+ EditorCell.prototype.en = function (a) {
493
493
  if (a != null) {
494
494
  var b = this.ar.getNativeElement();
495
495
  return b.contains(a);
496
496
  }
497
497
  return false;
498
498
  };
499
- EditorCell.prototype.fo = function (a) {
499
+ EditorCell.prototype.fp = function (a) {
500
500
  var _this = this;
501
- if (!this.ee) {
501
+ if (!this.ef) {
502
502
  var b = (a.originalEvent.relatedTarget);
503
- if (this.ej && !this.em(b) && !this.en(b)) {
503
+ if (this.ek && !this.en(b) && !this.eo(b)) {
504
504
  this.b.editorCellLostFocus();
505
- this.fd();
505
+ this.fe();
506
506
  }
507
507
  var c = this.am.rootWrapper.getNativeElement();
508
508
  if (c.contains(b)) {
@@ -511,23 +511,23 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
511
511
  if (d == "INPUT" || d == "SELECT" || d == "TEXTAREA" || d == "BUTTON" || d == "OPTION") {
512
512
  return;
513
513
  }
514
- if (_this.b.isEditRefocusDesired && _this.d3 != null) {
515
- _this.d3.focus();
514
+ if (_this.b.isEditRefocusDesired && _this.d4 != null) {
515
+ _this.d4.focus();
516
516
  }
517
517
  }, 0);
518
518
  }
519
519
  }
520
520
  };
521
- EditorCell.prototype.fm = function (a) {
522
- if (this.ek && !this.eb.ax) {
523
- this.fv();
521
+ EditorCell.prototype.fn = function (a) {
522
+ if (this.el && !this.ec.ax) {
523
+ this.fw();
524
524
  }
525
525
  };
526
- EditorCell.prototype.fj = function (a) {
527
- this.ej = true;
526
+ EditorCell.prototype.fk = function (a) {
527
+ this.ek = true;
528
528
  };
529
- EditorCell.prototype.fi = function (a) {
530
- this.ej = false;
529
+ EditorCell.prototype.fj = function (a) {
530
+ this.ek = false;
531
531
  };
532
532
  EditorCell.prototype.onContactStarted = function (a, b) {
533
533
  a.stopPropagation();