igniteui-angular-data-grids 20.1.0-beta.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
@@ -22,469 +22,469 @@ export let EditorCell = /*@__PURE__*/ (() => {
22
22
  class EditorCell extends GridCellBase {
23
23
  constructor(a) {
24
24
  super(a);
25
- this.d0 = null;
26
- this.d7 = null;
27
- this.d6 = null;
28
- this.dx = null;
29
- this.dw = null;
30
- this.en = null;
31
- this.eo = null;
32
- this.ep = null;
33
- this.d8 = null;
34
- this.eb = false;
35
- this.ef = false;
36
- this.ec = false;
37
- this.du = 0;
38
- this.er = null;
25
+ this.d3 = null;
26
+ this.ea = null;
39
27
  this.d9 = null;
40
- this.dy = 1;
28
+ this.d0 = null;
29
+ this.dz = null;
41
30
  this.eq = null;
42
- this.eu = null;
43
- this.ds = null;
44
- this.ed = true;
45
- this.ev = null;
31
+ this.er = null;
32
+ this.es = null;
33
+ this.eb = null;
46
34
  this.ee = false;
47
- this.eh = false;
48
35
  this.ei = false;
49
- this.eg = false;
50
- this.ap.setAttribute("tabindex", "-1");
51
- this.ap.setStyleProperty("outline", "none");
52
- this.ap.setStyleProperty("display", "flex");
53
- this.ap.setStyleProperty("align-items", "center");
54
- this.ap.listen("focusout", runOn(this, this.fl));
55
- this.ap.listen("focusin", runOn(this, this.fj));
56
- }
57
- get dv() {
58
- return this.du;
36
+ this.ef = false;
37
+ this.dx = 0;
38
+ this.eu = null;
39
+ this.ec = null;
40
+ this.d1 = 1;
41
+ this.et = null;
42
+ this.ex = null;
43
+ this.dv = null;
44
+ this.eg = true;
45
+ this.ey = null;
46
+ this.eh = false;
47
+ this.ek = false;
48
+ this.el = false;
49
+ this.ej = false;
50
+ this.ar.setAttribute("tabindex", "-1");
51
+ this.ar.setStyleProperty("outline", "none");
52
+ this.ar.setStyleProperty("display", "flex");
53
+ this.ar.setStyleProperty("align-items", "center");
54
+ this.ar.listen("focusout", runOn(this, this.fo));
55
+ this.ar.listen("focusin", runOn(this, this.fm));
56
+ }
57
+ get dy() {
58
+ return this.dx;
59
59
  }
60
- set dv(a) {
61
- let b = this.du;
62
- this.du = a;
63
- if (b != this.du) {
64
- this.ch("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.du));
60
+ set dy(a) {
61
+ let b = this.dx;
62
+ this.dx = a;
63
+ if (b != this.dx) {
64
+ this.ck("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.dx));
65
65
  }
66
66
  }
67
- get et() {
68
- return this.er;
67
+ get ew() {
68
+ return this.eu;
69
69
  }
70
- set et(a) {
71
- let b = this.er;
72
- this.er = a;
73
- this.ch("Value", b, this.er);
70
+ set ew(a) {
71
+ let b = this.eu;
72
+ this.eu = a;
73
+ this.ck("Value", b, this.eu);
74
74
  }
75
- get ea() {
76
- return this.d9;
75
+ get ed() {
76
+ return this.ec;
77
77
  }
78
- set ea(a) {
79
- let b = this.d9;
80
- this.d9 = a;
81
- if (b != this.d9) {
82
- this.ch("FontInfo", b, this.d9);
78
+ set ed(a) {
79
+ let b = this.ec;
80
+ this.ec = a;
81
+ if (b != this.ec) {
82
+ this.ck("FontInfo", b, this.ec);
83
83
  }
84
84
  }
85
- get dz() {
86
- return this.dy;
85
+ get d2() {
86
+ return this.d1;
87
87
  }
88
- set dz(a) {
89
- let b = this.dy;
90
- this.dy = a;
91
- if (b != this.dy) {
92
- this.ch("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.dy));
88
+ set d2(a) {
89
+ let b = this.d1;
90
+ this.d1 = a;
91
+ if (b != this.d1) {
92
+ this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d1));
93
93
  }
94
94
  }
95
- get es() {
96
- return this.eq;
95
+ get ev() {
96
+ return this.et;
97
97
  }
98
- set es(a) {
99
- let b = this.eq;
100
- this.eq = a;
101
- if (b != this.eq) {
102
- this.ch("ComboItemsSource", b, this.eq);
98
+ set ev(a) {
99
+ let b = this.et;
100
+ this.et = a;
101
+ if (b != this.et) {
102
+ this.ck("ComboItemsSource", b, this.et);
103
103
  }
104
104
  }
105
- get ex() {
106
- return this.eu;
105
+ get e0() {
106
+ return this.ex;
107
107
  }
108
- set ex(a) {
109
- let b = this.eu;
110
- this.eu = a;
111
- if (b != this.eu) {
112
- this.ch("ComboTextField", b, this.eu);
108
+ set e0(a) {
109
+ let b = this.ex;
110
+ this.ex = a;
111
+ if (b != this.ex) {
112
+ this.ck("ComboTextField", b, this.ex);
113
113
  }
114
114
  }
115
- get dt() {
116
- return this.ds;
115
+ get dw() {
116
+ return this.dv;
117
117
  }
118
- set dt(a) {
119
- let b = this.ds;
120
- this.ds = a;
121
- if (b != this.ds) {
122
- this.ch("ComboValueField", b, this.ds);
118
+ set dw(a) {
119
+ let b = this.dv;
120
+ this.dv = a;
121
+ if (b != this.dv) {
122
+ this.ck("ComboValueField", b, this.dv);
123
123
  }
124
124
  }
125
- get el() {
126
- return this.ed;
125
+ get eo() {
126
+ return this.eg;
127
127
  }
128
- set el(a) {
129
- let b = this.ed;
130
- this.ed = a;
131
- if (b != this.ed) {
132
- this.ch("IsHidden", b, this.ed);
128
+ set eo(a) {
129
+ let b = this.eg;
130
+ this.eg = a;
131
+ if (b != this.eg) {
132
+ this.ck("IsHidden", b, this.eg);
133
133
  }
134
134
  }
135
- get e1() {
136
- return this.ev;
135
+ get e4() {
136
+ return this.ey;
137
137
  }
138
- set e1(a) {
139
- let b = this.ev;
140
- this.ev = a;
141
- if (b != this.ev) {
142
- this.ch("DateFormatString", b, this.ev);
138
+ set e4(a) {
139
+ let b = this.ey;
140
+ this.ey = a;
141
+ if (b != this.ey) {
142
+ this.ck("DateFormatString", b, this.ey);
143
143
  }
144
144
  }
145
- get em() {
146
- return this.ee;
145
+ get ep() {
146
+ return this.eh;
147
147
  }
148
- set em(a) {
149
- let b = this.ee;
150
- this.ee = a;
151
- if (b != this.ee) {
152
- this.ch("ShowTodayButton", b, this.ee);
148
+ set ep(a) {
149
+ let b = this.eh;
150
+ this.eh = a;
151
+ if (b != this.eh) {
152
+ this.ck("ShowTodayButton", b, this.eh);
153
153
  }
154
154
  }
155
- d5(a) {
156
- if (this.en == null) {
157
- this.en = this.ak.createElement("div");
158
- let b = this.ak.getSubRenderer(this.en);
159
- this.d8 = new Popup();
160
- this.d8.provideRenderer(b);
161
- this.ep = this.ak.createElement("div");
162
- this.ep.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
163
- this.ep.setStyleProperty("color", "#fff");
164
- this.ep.setStyleProperty("padding", "5px");
165
- this.ep.setStyleProperty("outline", "none");
166
- this.ep.setAttribute("tabindex", "-1");
167
- this.eo = this.ak.createElement("div");
168
- this.eo.setStyleProperty("white-space", "pre");
169
- if (this.ea != null) {
170
- this.eo.setStyleProperty("font", this.ea.fontString);
155
+ d8(a) {
156
+ if (this.eq == null) {
157
+ this.eq = this.am.createElement("div");
158
+ let b = this.am.getSubRenderer(this.eq);
159
+ this.eb = new Popup();
160
+ this.eb.provideRenderer(b);
161
+ this.es = this.am.createElement("div");
162
+ this.es.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
163
+ this.es.setStyleProperty("color", "#fff");
164
+ this.es.setStyleProperty("padding", "5px");
165
+ this.es.setStyleProperty("outline", "none");
166
+ this.es.setAttribute("tabindex", "-1");
167
+ this.er = this.am.createElement("div");
168
+ this.er.setStyleProperty("white-space", "pre");
169
+ if (this.ed != null) {
170
+ this.er.setStyleProperty("font", this.ed.fontString);
171
171
  }
172
- this.ep.append(this.eo);
173
- this.d8.appendPopupContent(this.ep);
172
+ this.es.append(this.er);
173
+ this.eb.appendPopupContent(this.es);
174
174
  }
175
175
  let c = null;
176
176
  switch (a) {
177
177
  case 1:
178
- c = this.d4();
178
+ c = this.d7();
179
179
  break;
180
180
  case 2:
181
- c = this.d3();
181
+ c = this.d6();
182
182
  break;
183
183
  case 3:
184
- c = this.d2();
184
+ c = this.d5();
185
185
  break;
186
186
  case 4:
187
- c = this.d1();
187
+ c = this.d4();
188
188
  break;
189
189
  }
190
190
  return c;
191
191
  }
192
- d4() {
193
- if (this.d7 != null) {
194
- this.fd();
195
- this.fi();
196
- return this.d7;
197
- }
198
- this.d7 = new TextEditorView(this.ak, this.f.getTheme(), this.b);
199
- this.d7.setFont(this.ea);
200
- return this.d7;
201
- }
202
- d3() {
203
- if (this.d6 != null) {
204
- this.fd();
205
- this.fi();
206
- return this.d6;
207
- }
208
- this.d6 = new NumericEditorView(this.ak, this.f.getTheme(), this.b);
209
- this.d6.setFont(this.ea);
210
- return this.d6;
211
- }
212
- d2() {
213
- if (this.dx != null) {
214
- this.fd();
215
- this.fi();
216
- return this.dx;
217
- }
218
- this.dx = new DateEditorView(this.ak, this.f.getTheme(), this.b);
219
- this.dx.setFont(this.ea);
220
- return this.dx;
192
+ d7() {
193
+ if (this.ea != null) {
194
+ this.fg();
195
+ this.fl();
196
+ return this.ea;
197
+ }
198
+ this.ea = new TextEditorView(this.am, this.f.getTheme(), this.b);
199
+ this.ea.setFont(this.ed);
200
+ return this.ea;
201
+ }
202
+ d6() {
203
+ if (this.d9 != null) {
204
+ this.fg();
205
+ this.fl();
206
+ return this.d9;
207
+ }
208
+ this.d9 = new NumericEditorView(this.am, this.f.getTheme(), this.b);
209
+ this.d9.setFont(this.ed);
210
+ return this.d9;
221
211
  }
222
- d1() {
223
- if (this.dw != null) {
224
- this.fc();
225
- this.fd();
226
- this.fi();
227
- return this.dw;
212
+ d5() {
213
+ if (this.d0 != null) {
214
+ this.fg();
215
+ this.fl();
216
+ return this.d0;
228
217
  }
229
- this.dw = new ComboEditorView(this.ak, this.f.getTheme(), this.b);
230
- this.dw.setFont(this.ea);
231
- this.dw.ah = this.es;
232
- this.dw.ak = this.ex;
233
- this.dw.aa = this.dt;
234
- return this.dw;
218
+ this.d0 = new DateEditorView(this.am, this.f.getTheme(), this.b);
219
+ this.d0.setFont(this.ed);
220
+ return this.d0;
235
221
  }
236
- fk(a, b) {
222
+ d4() {
223
+ if (this.dz != null) {
224
+ this.ff();
225
+ this.fg();
226
+ this.fl();
227
+ return this.dz;
228
+ }
229
+ this.dz = new ComboEditorView(this.am, this.f.getTheme(), this.b);
230
+ this.dz.setFont(this.ed);
231
+ this.dz.ah = this.ev;
232
+ this.dz.ak = this.e0;
233
+ this.dz.aa = this.dw;
234
+ return this.dz;
235
+ }
236
+ fn(a, b) {
237
237
  if (b.g != b.d || b.h != b.e) {
238
- if (this.dw != null) {
239
- this.dw.an();
238
+ if (this.dz != null) {
239
+ this.dz.an();
240
240
  }
241
- if (this.dx != null) {
242
- this.dx.ah();
241
+ if (this.d0 != null) {
242
+ this.d0.ah();
243
243
  }
244
- this.fa();
244
+ this.fd();
245
245
  }
246
246
  }
247
- e8() {
248
- if (!this.ec) {
249
- if (this.d0 != null) {
250
- this.d0.attachEvents();
251
- let a = this.d0;
252
- a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.fq));
253
- let b = this.d0;
254
- b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.fg));
255
- let c = this.d0;
256
- c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.ff));
257
- let d = this.d0;
258
- d.userTyping = delegateCombine(d.userTyping, runOn(this, this.fo));
259
- this.ec = true;
247
+ fb() {
248
+ if (!this.ef) {
249
+ if (this.d3 != null) {
250
+ this.d3.attachEvents();
251
+ let a = this.d3;
252
+ a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.ft));
253
+ let b = this.d3;
254
+ b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.fj));
255
+ let c = this.d3;
256
+ c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.fi));
257
+ let d = this.d3;
258
+ d.userTyping = delegateCombine(d.userTyping, runOn(this, this.fr));
259
+ this.ef = true;
260
260
  }
261
261
  }
262
262
  }
263
- e9() {
264
- if (this.ec) {
265
- if (this.d0 != null) {
266
- this.d0.detachEvents();
267
- let a = this.d0;
268
- a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.fq));
269
- let b = this.d0;
270
- b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.fg));
271
- let c = this.d0;
272
- c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.ff));
273
- let d = this.d0;
274
- d.userTyping = delegateRemove(d.userTyping, runOn(this, this.fo));
275
- this.ec = false;
263
+ fc() {
264
+ if (this.ef) {
265
+ if (this.d3 != null) {
266
+ this.d3.detachEvents();
267
+ let a = this.d3;
268
+ a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.ft));
269
+ let b = this.d3;
270
+ b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.fj));
271
+ let c = this.d3;
272
+ c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.fi));
273
+ let d = this.d3;
274
+ d.userTyping = delegateRemove(d.userTyping, runOn(this, this.fr));
275
+ this.ef = false;
276
276
  }
277
277
  }
278
278
  }
279
- fn(a) {
280
- this.eh = false;
281
- this.ei = false;
282
- this.eg = false;
279
+ fq(a) {
280
+ this.ek = false;
281
+ this.el = false;
282
+ this.ej = false;
283
283
  if (!a) {
284
- this.ei = true;
285
- this.d0.onTargetChanged();
284
+ this.el = true;
285
+ this.d3.onTargetChanged();
286
286
  }
287
287
  }
288
- fp() {
289
- if (this.d0 != null) {
290
- this.d0.value = this.et;
291
- }
292
- }
293
- fd() {
294
- }
295
- fh() {
296
- this.eb = true;
297
- this.e9();
298
- this.ap.removeChildren();
299
- if (this.d0 != null) {
300
- this.d0.cleanUp();
301
- }
302
- this.d0 = this.d5(this.dz);
303
- this.ap.append(this.d0.container);
304
- this.e8();
305
- if (this.d0 != null) {
306
- this.d0.isEnabled = !this.isRemoved;
307
- if (!this.el) {
308
- this.d0.onEditStarted();
288
+ fs() {
289
+ if (this.d3 != null) {
290
+ this.d3.value = this.ew;
291
+ }
292
+ }
293
+ fg() {
294
+ }
295
+ fk() {
296
+ this.ee = true;
297
+ this.fc();
298
+ this.ar.removeChildren();
299
+ if (this.d3 != null) {
300
+ this.d3.cleanUp();
301
+ }
302
+ this.d3 = this.d8(this.d2);
303
+ this.ar.append(this.d3.container);
304
+ this.fb();
305
+ if (this.d3 != null) {
306
+ this.d3.isEnabled = !this.isRemoved;
307
+ if (!this.eo) {
308
+ this.d3.onEditStarted();
309
309
  }
310
310
  }
311
- this.eb = false;
311
+ this.ee = false;
312
312
  }
313
- fc() {
314
- if (this.dw != null) {
315
- this.dw.ah = this.es;
316
- this.dw.ak = this.ex;
317
- this.dw.aa = this.dt;
313
+ ff() {
314
+ if (this.dz != null) {
315
+ this.dz.ah = this.ev;
316
+ this.dz.ak = this.e0;
317
+ this.dz.aa = this.dw;
318
318
  }
319
319
  }
320
- fi() {
321
- if (this.ea != null) {
322
- if (this.d7 != null) {
323
- this.d7.setFont(this.ea);
320
+ fl() {
321
+ if (this.ed != null) {
322
+ if (this.ea != null) {
323
+ this.ea.setFont(this.ed);
324
324
  }
325
- if (this.d6 != null) {
326
- this.d6.setFont(this.ea);
325
+ if (this.d9 != null) {
326
+ this.d9.setFont(this.ed);
327
327
  }
328
- if (this.dx != null) {
329
- this.dx.setFont(this.ea);
328
+ if (this.d0 != null) {
329
+ this.d0.setFont(this.ed);
330
330
  }
331
- if (this.dw != null) {
332
- this.dw.setFont(this.ea);
331
+ if (this.dz != null) {
332
+ this.dz.setFont(this.ed);
333
333
  }
334
- this.eo.setStyleProperty("font", this.ea.fontString);
334
+ this.er.setStyleProperty("font", this.ed.fontString);
335
335
  }
336
336
  }
337
- fb() {
338
- this.ef = false;
339
- if (this.d0 != null) {
340
- if (!this.el) {
341
- this.d0.onEditStarted();
337
+ fe() {
338
+ this.ei = false;
339
+ if (this.d3 != null) {
340
+ if (!this.eo) {
341
+ this.d3.onEditStarted();
342
342
  }
343
343
  else {
344
- this.d0.onEditEnded();
345
- this.d0.value = null;
346
- this.d0.value = this.et;
344
+ this.d3.onEditEnded();
345
+ this.d3.value = null;
346
+ this.d3.value = this.ew;
347
347
  }
348
348
  }
349
349
  }
350
- fe() {
351
- if (this.d0 != null && this.dx == this.d0) {
352
- this.dx.af = this.e1;
350
+ fh() {
351
+ if (this.d3 != null && this.d0 == this.d3) {
352
+ this.d0.af = this.e4;
353
353
  }
354
354
  }
355
- fm() {
356
- if (this.d0 != null && this.dx == this.d0) {
357
- this.dx.ad = this.em;
355
+ fp() {
356
+ if (this.d3 != null && this.d0 == this.d3) {
357
+ this.d0.ad = this.ep;
358
358
  }
359
359
  }
360
- fr(a, b, c, d, e) {
360
+ fu(a, b, c, d, e) {
361
361
  if (!stringIsNullOrWhiteSpace(a)) {
362
- this.eo.setRawText(a);
363
- this.d8.b9();
364
- this.fs();
362
+ this.er.setRawText(a);
363
+ this.eb.b9();
364
+ this.fv();
365
365
  }
366
366
  }
367
- fs() {
368
- let rect_ = this.ap.getNativeElement().getBoundingClientRect();
367
+ fv() {
368
+ let rect_ = this.ar.getNativeElement().getBoundingClientRect();
369
369
  let a = new Rect(4);
370
370
  a.left = (rect_.left + window.pageXOffset);
371
371
  a.top = (rect_.top + window.pageYOffset);
372
372
  a.right = (rect_.right + window.pageXOffset);
373
373
  a.bottom = (rect_.bottom + window.pageYOffset);
374
- this.d8.showRelativeToExclusionRect(a, 1, 0);
374
+ this.eb.showRelativeToExclusionRect(a, 1, 0);
375
375
  }
376
- fa() {
377
- if (this.d8.ax) {
378
- this.d8.b6();
376
+ fd() {
377
+ if (this.eb.ax) {
378
+ this.eb.b6();
379
379
  }
380
380
  }
381
- cg() {
382
- if (this.d0 == null) {
383
- this.fh();
384
- this.f.setViewportChangedHandler(runOn(this, this.fk));
381
+ cj() {
382
+ if (this.d3 == null) {
383
+ this.fk();
384
+ this.f.setViewportChangedHandler(runOn(this, this.fn));
385
385
  }
386
386
  }
387
- b6() {
388
- if (this.d0 != null) {
389
- this.d0.focus();
387
+ b9() {
388
+ if (this.d3 != null) {
389
+ this.d3.focus();
390
390
  }
391
391
  }
392
- ch(a, b, c) {
393
- super.ch(a, b, c);
392
+ ck(a, b, c) {
393
+ super.ck(a, b, c);
394
394
  switch (a) {
395
395
  case "EditorType":
396
- this.fh();
396
+ this.fk();
397
397
  break;
398
398
  case "ComboItemsSource":
399
399
  case "ComboTextField":
400
400
  case "ComboValueField":
401
- this.fc();
401
+ this.ff();
402
402
  break;
403
403
  case "DataType":
404
- this.fd();
404
+ this.fg();
405
405
  break;
406
406
  case "Value":
407
- this.fp();
407
+ this.fs();
408
408
  break;
409
409
  case "FontInfo":
410
- this.fi();
410
+ this.fl();
411
411
  break;
412
412
  case "IsHidden":
413
- this.fb();
413
+ this.fe();
414
414
  break;
415
415
  case "DateFormatString":
416
- this.fe();
416
+ this.fh();
417
417
  break;
418
418
  case "ShowTodayButton":
419
- this.fm();
419
+ this.fp();
420
420
  break;
421
421
  case "IsRemoved":
422
- if (this.d0 != null) {
423
- this.d0.isEnabled = !this.isRemoved;
422
+ if (this.d3 != null) {
423
+ this.d3.isEnabled = !this.isRemoved;
424
424
  if (!this.isRemoved) {
425
- this.d0.onTargetChanged();
425
+ this.d3.onTargetChanged();
426
426
  }
427
427
  }
428
428
  break;
429
429
  }
430
430
  }
431
- fq(a, b, c) {
432
- if (a == this.d0) {
431
+ ft(a, b, c) {
432
+ if (a == this.d3) {
433
433
  if (!c) {
434
434
  this.b.updateCellEditValue(b);
435
435
  }
436
436
  }
437
437
  }
438
- fo(a) {
439
- if (a == this.d0) {
438
+ fr(a) {
439
+ if (a == this.d3) {
440
440
  this.b.startEditMode();
441
441
  }
442
442
  }
443
- ek(a) {
444
- if (a != null && this.d8 != null && this.d8.ax) {
445
- let b = this.ep.getNativeElement();
443
+ en(a) {
444
+ if (a != null && this.eb != null && this.eb.ax) {
445
+ let b = this.es.getNativeElement();
446
446
  return b.contains(a);
447
447
  }
448
448
  return false;
449
449
  }
450
- ej(a) {
450
+ em(a) {
451
451
  if (a != null) {
452
- let b = this.ap.getNativeElement();
452
+ let b = this.ar.getNativeElement();
453
453
  return b.contains(a);
454
454
  }
455
455
  return false;
456
456
  }
457
- fl(a) {
458
- if (!this.eb) {
457
+ fo(a) {
458
+ if (!this.ee) {
459
459
  let b = (a.originalEvent.relatedTarget);
460
- if (this.eg && !this.ej(b) && !this.ek(b)) {
460
+ if (this.ej && !this.em(b) && !this.en(b)) {
461
461
  this.b.editorCellLostFocus();
462
- this.fa();
462
+ this.fd();
463
463
  }
464
- let c = this.ak.rootWrapper.getNativeElement();
464
+ let c = this.am.rootWrapper.getNativeElement();
465
465
  if (c.contains(b)) {
466
466
  window.setTimeout(() => {
467
467
  let d = document.activeElement.nodeName;
468
468
  if (d == "INPUT" || d == "SELECT" || d == "TEXTAREA" || d == "BUTTON" || d == "OPTION") {
469
469
  return;
470
470
  }
471
- if (this.b.isEditRefocusDesired && this.d0 != null) {
472
- this.d0.focus();
471
+ if (this.b.isEditRefocusDesired && this.d3 != null) {
472
+ this.d3.focus();
473
473
  }
474
474
  }, 0);
475
475
  }
476
476
  }
477
477
  }
478
- fj(a) {
479
- if (this.eh && !this.d8.ax) {
480
- this.fs();
478
+ fm(a) {
479
+ if (this.ek && !this.eb.ax) {
480
+ this.fv();
481
481
  }
482
482
  }
483
- fg(a) {
484
- this.eg = true;
483
+ fj(a) {
484
+ this.ej = true;
485
485
  }
486
- ff(a) {
487
- this.eg = false;
486
+ fi(a) {
487
+ this.ej = false;
488
488
  }
489
489
  onContactStarted(a, b) {
490
490
  a.stopPropagation();