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