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