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