igniteui-webcomponents-data-grids 7.0.0 → 7.0.1-beta.0

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