igniteui-webcomponents-grids 3.2.2 → 3.2.4

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-grids.umd.js +10275 -9381
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/BaseEditorView.js +5 -0
  4. package/esm2015/lib/CanvasCellPresenterBase.js +10 -10
  5. package/esm2015/lib/CanvasContentCellModelHelper.js +11 -11
  6. package/esm2015/lib/CanvasDateTimeCellPresenter.js +2 -2
  7. package/esm2015/lib/CanvasGridCellBase.js +305 -289
  8. package/esm2015/lib/CanvasImageCell.js +29 -29
  9. package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
  10. package/esm2015/lib/CanvasNumericCell.js +2 -2
  11. package/esm2015/lib/CanvasNumericCellPresenter.js +3 -3
  12. package/esm2015/lib/CanvasSectionHeaderCell.js +3 -3
  13. package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +2 -2
  14. package/esm2015/lib/CanvasSummaryCell.js +51 -51
  15. package/esm2015/lib/CanvasSummaryCellPresenter.js +5 -5
  16. package/esm2015/lib/CanvasTemplateCell.js +7 -7
  17. package/esm2015/lib/CanvasTemplateCellPresenter.js +3 -3
  18. package/esm2015/lib/CanvasTemplateHeaderCell.js +7 -7
  19. package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
  20. package/esm2015/lib/CanvasTextCell.js +3 -3
  21. package/esm2015/lib/CanvasTextCellPresenter.js +2 -2
  22. package/esm2015/lib/CanvasTextHeaderCell.js +24 -24
  23. package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
  24. package/esm2015/lib/CellPresenterBase.js +1 -1
  25. package/esm2015/lib/CheckboxListView_combined.js +341 -306
  26. package/esm2015/lib/ColumnChooserView_combined.js +22 -22
  27. package/esm2015/lib/ColumnFilterCondition_combined.js +7531 -7208
  28. package/esm2015/lib/ColumnGroupDescription.js +22 -0
  29. package/esm2015/lib/ColumnGroupDescriptionCollection.js +14 -8
  30. package/esm2015/lib/ColumnGroupingView_combined.js +25 -25
  31. package/esm2015/lib/ColumnPinningView_combined.js +22 -22
  32. package/esm2015/lib/ColumnSortDescriptionCollection.js +12 -6
  33. package/esm2015/lib/ColumnSummaryDescriptionCollection.js +12 -6
  34. package/esm2015/lib/ComboEditorView.js +6 -3
  35. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +23 -18
  36. package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
  37. package/esm2015/lib/DataGridCellLayoutPanel.js +27 -25
  38. package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
  39. package/esm2015/lib/DataGridToolbarView_combined.js +17 -17
  40. package/esm2015/lib/DateTimeColumnValueFormatter.js +90 -1
  41. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +25 -25
  42. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +10 -10
  43. package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
  44. package/esm2015/lib/GridColumnMoveOptionsView_combined.js +6 -6
  45. package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
  46. package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
  47. package/esm2015/lib/GridColumnPinOptionsView_combined.js +5 -5
  48. package/esm2015/lib/GridColumnSortOptionsView_combined.js +5 -5
  49. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +15 -15
  50. package/esm2015/lib/GridExternalWrapper.js +18 -6
  51. package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
  52. package/esm2015/lib/ISummaryChooserView_combined.js +13 -13
  53. package/esm2015/lib/MultiColumnComboBoxView_combined.js +47 -47
  54. package/esm2015/lib/MultiColumnComboVisualModelExport.js +1 -1
  55. package/esm2015/lib/NumericCellPresenter.js +1 -1
  56. package/esm2015/lib/PropertyEditorView_combined.js +40 -40
  57. package/esm2015/lib/TemplateCellPresenter.js +1 -1
  58. package/esm2015/lib/TemplateHeader.js +8 -8
  59. package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
  60. package/esm2015/lib/TemplateSectionHeader.js +2 -2
  61. package/esm2015/lib/TextEditorView.js +28 -10
  62. package/esm2015/lib/VerticalSeparatorCell.js +46 -8
  63. package/esm2015/lib/VisualModelExport.js +120 -100
  64. package/esm2015/lib/igc-checkbox-list-component.js +74 -54
  65. package/esm2015/lib/igc-column-component.js +164 -164
  66. package/esm2015/lib/igc-column-group-description-collection.js +13 -3
  67. package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
  68. package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
  69. package/esm2015/lib/igc-column-sort-description-collection.js +13 -3
  70. package/esm2015/lib/igc-column-summary-description-collection.js +13 -3
  71. package/esm2015/lib/igc-combo-box-column-component.js +10 -10
  72. package/esm2015/lib/igc-data-grid-component.js +699 -593
  73. package/esm2015/lib/igc-date-time-column-component.js +23 -23
  74. package/esm2015/lib/igc-definition-base-component.js +50 -50
  75. package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
  76. package/esm2015/lib/igc-header-component.js +24 -24
  77. package/esm2015/lib/igc-image-column-component.js +12 -12
  78. package/esm2015/lib/igc-numeric-column-component.js +35 -35
  79. package/esm2015/lib/igc-section-header-component.js +24 -24
  80. package/esm2015/lib/igc-summary-row-component.js +24 -24
  81. package/esm2015/lib/igc-text-column-component.js +9 -9
  82. package/esm5/lib/BaseEditorView.js +5 -0
  83. package/esm5/lib/CanvasCellPresenterBase.js +10 -10
  84. package/esm5/lib/CanvasContentCellModelHelper.js +11 -11
  85. package/esm5/lib/CanvasDateTimeCellPresenter.js +2 -2
  86. package/esm5/lib/CanvasGridCellBase.js +304 -288
  87. package/esm5/lib/CanvasImageCell.js +28 -28
  88. package/esm5/lib/CanvasImageCellPresenter.js +7 -7
  89. package/esm5/lib/CanvasNumericCell.js +2 -2
  90. package/esm5/lib/CanvasNumericCellPresenter.js +3 -3
  91. package/esm5/lib/CanvasSectionHeaderCell.js +3 -3
  92. package/esm5/lib/CanvasSectionHeaderCellPresenter.js +2 -2
  93. package/esm5/lib/CanvasSummaryCell.js +51 -51
  94. package/esm5/lib/CanvasSummaryCellPresenter.js +5 -5
  95. package/esm5/lib/CanvasTemplateCell.js +7 -7
  96. package/esm5/lib/CanvasTemplateCellPresenter.js +3 -3
  97. package/esm5/lib/CanvasTemplateHeaderCell.js +7 -7
  98. package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
  99. package/esm5/lib/CanvasTextCell.js +3 -3
  100. package/esm5/lib/CanvasTextCellPresenter.js +2 -2
  101. package/esm5/lib/CanvasTextHeaderCell.js +24 -24
  102. package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
  103. package/esm5/lib/CellPresenterBase.js +1 -1
  104. package/esm5/lib/CheckboxListView_combined.js +339 -296
  105. package/esm5/lib/ColumnChooserView_combined.js +22 -22
  106. package/esm5/lib/ColumnFilterCondition_combined.js +7352 -6962
  107. package/esm5/lib/ColumnGroupDescription.js +22 -0
  108. package/esm5/lib/ColumnGroupDescriptionCollection.js +18 -8
  109. package/esm5/lib/ColumnGroupingView_combined.js +25 -25
  110. package/esm5/lib/ColumnPinningView_combined.js +22 -22
  111. package/esm5/lib/ColumnSortDescriptionCollection.js +16 -6
  112. package/esm5/lib/ColumnSummaryDescriptionCollection.js +16 -6
  113. package/esm5/lib/ComboEditorView.js +6 -3
  114. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +23 -18
  115. package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
  116. package/esm5/lib/DataGridCellLayoutPanel.js +27 -25
  117. package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
  118. package/esm5/lib/DataGridToolbarView_combined.js +17 -17
  119. package/esm5/lib/DateTimeColumnValueFormatter.js +92 -1
  120. package/esm5/lib/GridColumnFilterOptionsView_combined.js +25 -25
  121. package/esm5/lib/GridColumnGroupOptionsView_combined.js +10 -10
  122. package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
  123. package/esm5/lib/GridColumnMoveOptionsView_combined.js +6 -6
  124. package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
  125. package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
  126. package/esm5/lib/GridColumnPinOptionsView_combined.js +5 -5
  127. package/esm5/lib/GridColumnSortOptionsView_combined.js +5 -5
  128. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +15 -15
  129. package/esm5/lib/GridExternalWrapper.js +18 -6
  130. package/esm5/lib/GridFilterDialogView_combined.js +1 -1
  131. package/esm5/lib/ISummaryChooserView_combined.js +13 -13
  132. package/esm5/lib/MultiColumnComboBoxView_combined.js +47 -47
  133. package/esm5/lib/MultiColumnComboVisualModelExport.js +1 -1
  134. package/esm5/lib/NumericCellPresenter.js +1 -1
  135. package/esm5/lib/PropertyEditorView_combined.js +40 -40
  136. package/esm5/lib/TemplateCellPresenter.js +1 -1
  137. package/esm5/lib/TemplateHeader.js +8 -8
  138. package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
  139. package/esm5/lib/TemplateSectionHeader.js +2 -2
  140. package/esm5/lib/TextEditorView.js +28 -10
  141. package/esm5/lib/VerticalSeparatorCell.js +46 -8
  142. package/esm5/lib/VisualModelExport.js +120 -100
  143. package/esm5/lib/igc-checkbox-list-component.js +82 -54
  144. package/esm5/lib/igc-column-component.js +164 -164
  145. package/esm5/lib/igc-column-group-description-collection.js +17 -3
  146. package/esm5/lib/igc-column-moving-separator-component.js +9 -9
  147. package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
  148. package/esm5/lib/igc-column-sort-description-collection.js +17 -3
  149. package/esm5/lib/igc-column-summary-description-collection.js +17 -3
  150. package/esm5/lib/igc-combo-box-column-component.js +10 -10
  151. package/esm5/lib/igc-data-grid-component.js +743 -601
  152. package/esm5/lib/igc-date-time-column-component.js +23 -23
  153. package/esm5/lib/igc-definition-base-component.js +50 -50
  154. package/esm5/lib/igc-filter-row-definition-component.js +12 -12
  155. package/esm5/lib/igc-header-component.js +24 -24
  156. package/esm5/lib/igc-image-column-component.js +12 -12
  157. package/esm5/lib/igc-numeric-column-component.js +35 -35
  158. package/esm5/lib/igc-section-header-component.js +24 -24
  159. package/esm5/lib/igc-summary-row-component.js +24 -24
  160. package/esm5/lib/igc-text-column-component.js +9 -9
  161. package/fesm2015/igniteui-webcomponents-grids.js +10315 -9565
  162. package/fesm5/igniteui-webcomponents-grids.js +10276 -9382
  163. package/lib/CanvasGridCellBase.d.ts +95 -93
  164. package/lib/CanvasImageCell.d.ts +11 -11
  165. package/lib/CanvasSectionHeaderCell.d.ts +1 -1
  166. package/lib/CanvasSummaryCell.d.ts +15 -15
  167. package/lib/CanvasTemplateCell.d.ts +4 -4
  168. package/lib/CanvasTemplateHeaderCell.d.ts +4 -4
  169. package/lib/CanvasTextCell.d.ts +1 -1
  170. package/lib/CanvasTextHeaderCell.d.ts +6 -6
  171. package/lib/CheckboxListView_combined.d.ts +74 -69
  172. package/lib/ColumnFilterCondition_combined.d.ts +1306 -1264
  173. package/lib/ColumnGroupDescription.d.ts +1 -0
  174. package/lib/ColumnGroupDescriptionCollection.d.ts +8 -7
  175. package/lib/ColumnSortDescriptionCollection.d.ts +8 -7
  176. package/lib/ColumnSummaryDescriptionCollection.d.ts +8 -7
  177. package/lib/DataGridCellLayoutPanel.d.ts +1 -0
  178. package/lib/DateTimeColumnValueFormatter.d.ts +19 -1
  179. package/lib/GridExternalWrapper.d.ts +4 -0
  180. package/lib/TemplateHeader.d.ts +3 -3
  181. package/lib/TemplateSectionHeader.d.ts +2 -2
  182. package/lib/TextEditorView.d.ts +5 -3
  183. package/lib/VerticalSeparatorCell.d.ts +9 -0
  184. package/lib/VisualModelExport.d.ts +31 -26
  185. package/lib/igc-checkbox-list-component.d.ts +9 -0
  186. package/lib/igc-column-group-description-collection.d.ts +4 -0
  187. package/lib/igc-column-sort-description-collection.d.ts +4 -0
  188. package/lib/igc-column-summary-description-collection.d.ts +4 -0
  189. package/lib/igc-data-grid-component.d.ts +30 -2
  190. package/package.json +4 -4
@@ -30,52 +30,53 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
30
30
  this.s = true;
31
31
  this.o = true;
32
32
  this.k = null;
33
- this.bl = null;
33
+ this.bm = null;
34
34
  this.q = false;
35
- this.by = null;
35
+ this.b0 = null;
36
36
  this.l = false;
37
- this.ap = 1;
38
- this.at = 5;
39
- this.av = 5;
37
+ this.aq = 1;
40
38
  this.au = 5;
41
- this.as = 5;
42
- this.cw = null;
43
- this.ah = 0;
44
- this.aj = 0;
39
+ this.aw = 5;
40
+ this.av = 5;
41
+ this.at = 5;
42
+ this.cy = null;
45
43
  this.ai = 0;
46
- this.ag = 0;
47
- this.c4 = new Rectangle();
48
- this.c0 = new Line();
44
+ this.ak = 0;
45
+ this.aj = 0;
46
+ this.ah = 0;
47
+ this.c6 = new Rectangle();
48
+ this.c2 = new Line();
49
+ this.c5 = new Line();
49
50
  this.c3 = new Line();
50
51
  this.c1 = new Line();
51
- this.cz = new Line();
52
- this.c2 = new Line();
53
- this.az = 0;
54
- this.a1 = 0;
52
+ this.c4 = new Line();
53
+ this.a0 = 0;
55
54
  this.a2 = 0;
56
55
  this.a3 = 0;
57
- this.bn = null;
56
+ this.a4 = 0;
57
+ this.bo = null;
58
58
  this.j = null;
59
+ this.am = 0;
59
60
  this.al = 0;
60
- this.ak = 0;
61
+ this.ao = 0;
61
62
  this.an = 0;
62
- this.am = 0;
63
63
  this.u = true;
64
- this.a0 = NaN;
65
- this.cv = new TextBlock();
66
- this.cy = Color.u(255, 0, 0, 0);
64
+ this.v = true;
65
+ this.a1 = NaN;
66
+ this.cx = new TextBlock();
67
+ this.c0 = Color.u(255, 0, 0, 0);
67
68
  this.t = true;
68
- this.ar = 0;
69
- this.a4 = 0;
70
- this.cx = Color.u(255, 255, 255, 255);
69
+ this.as = 0;
70
+ this.a5 = 0;
71
+ this.cz = Color.u(255, 255, 255, 255);
71
72
  this.m = false;
72
73
  this.g = null;
73
74
  this.c = 0;
74
75
  this.e = 0;
75
- this.bx = 1;
76
+ this.bz = 1;
76
77
  this.r = false;
78
+ this.az = 0;
77
79
  this.ay = 0;
78
- this.ax = 0;
79
80
  this.i = ((() => {
80
81
  let $ret = new FontInfo();
81
82
  $ret.n = "Verdana";
@@ -83,30 +84,30 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
83
84
  return $ret;
84
85
  })());
85
86
  this.p = true;
86
- this.bq = -1;
87
- this.bv = 0;
88
- this.bw = 0;
87
+ this.br = -1;
88
+ this.bx = 0;
89
+ this.by = 0;
89
90
  this.n = false;
90
- this.bo = 0;
91
+ this.bp = 0;
91
92
  this.b = 0;
92
- this.aq = NaN;
93
+ this.ar = NaN;
93
94
  this.h = null;
94
- this.bs = -1;
95
- this.ao = NaN;
95
+ this.bt = -1;
96
+ this.ap = NaN;
96
97
  this.f = 1;
97
- this.aw = 1;
98
- this.bl = a;
98
+ this.ax = 1;
99
+ this.bm = a;
99
100
  }
100
- get z() {
101
+ get aa() {
101
102
  return this.o;
102
103
  }
103
- set z(a) {
104
+ set aa(a) {
104
105
  this.o = a;
105
106
  }
106
- ck(a) {
107
+ cm(a) {
107
108
  this.k = a;
108
109
  }
109
- b5() {
110
+ b7() {
110
111
  this.o = true;
111
112
  if (this.k != null) {
112
113
  this.k();
@@ -115,8 +116,8 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
115
116
  get isCanvasBased() {
116
117
  return true;
117
118
  }
118
- get bm() {
119
- return this.bl;
119
+ get bn() {
120
+ return this.bm;
120
121
  }
121
122
  get isRemoved() {
122
123
  return this.q;
@@ -124,226 +125,241 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
124
125
  set isRemoved(a) {
125
126
  this.q = a;
126
127
  }
127
- cm(a) {
128
- this.by = a;
128
+ co(a) {
129
+ this.b0 = a;
129
130
  this.o = true;
130
131
  this.s = true;
131
132
  }
132
133
  get templateContext() {
133
134
  return this.j.g();
134
135
  }
135
- get v() {
136
+ get w() {
136
137
  return this.l;
137
138
  }
138
- set v(a) {
139
+ set w(a) {
139
140
  this.l = a;
140
141
  }
141
- get_ab() {
142
+ get_ac() {
142
143
  return false;
143
144
  }
144
- get ab() {
145
- return this.get_ab();
145
+ get ac() {
146
+ return this.get_ac();
146
147
  }
147
- cc(a, b, c, d, e) {
148
+ ce(a, b, c, d, e) {
148
149
  this.o = true;
149
- this.cw = a;
150
- this.ah = b;
151
- this.aj = c;
152
- this.ai = d;
153
- this.ag = e;
150
+ this.cy = a;
151
+ this.ai = b;
152
+ this.ak = c;
153
+ this.aj = d;
154
+ this.ah = e;
154
155
  this.s = true;
155
156
  }
156
- cd(a) {
157
+ cf(a) {
157
158
  this.o = true;
158
- this.ap = a;
159
- this.cv._opacity = this.ap;
160
- }
161
- get bb() {
162
- return this.at;
163
- }
164
- get bd() {
165
- return this.av;
159
+ this.aq = a;
160
+ this.cx._opacity = this.aq;
166
161
  }
167
162
  get bc() {
168
163
  return this.au;
169
164
  }
170
- get ba() {
171
- return this.as;
165
+ get be() {
166
+ return this.aw;
172
167
  }
173
- get a6() {
174
- return this.ah;
168
+ get bd() {
169
+ return this.av;
175
170
  }
176
- get a8() {
177
- return this.aj;
171
+ get bb() {
172
+ return this.at;
178
173
  }
179
174
  get a7() {
180
175
  return this.ai;
181
176
  }
182
- get a5() {
183
- return this.ag;
177
+ get a9() {
178
+ return this.ak;
184
179
  }
185
- get bf() {
186
- return this.az;
180
+ get a8() {
181
+ return this.aj;
187
182
  }
188
- get bh() {
189
- return this.a1;
183
+ get a6() {
184
+ return this.ah;
185
+ }
186
+ get bg() {
187
+ return this.a0;
190
188
  }
191
189
  get bi() {
192
- return this.a3;
190
+ return this.a2;
193
191
  }
194
- get_ac() {
192
+ get bj() {
193
+ return this.a4;
194
+ }
195
+ get_ad() {
195
196
  return false;
196
197
  }
197
- get ac() {
198
- return this.get_ac();
198
+ get ad() {
199
+ return this.get_ad();
199
200
  }
200
- b1(a, b, c, d, e, f) {
201
+ b3(a, b, c, d, e, f) {
201
202
  let g = true;
202
203
  let h = true;
203
204
  let i = false;
204
- if (this.ac) {
205
+ if (this.ad) {
205
206
  g = false;
206
207
  h = false;
207
208
  i = false;
208
209
  }
209
- this.b2(a, b, c, d, e, f, g, h, i);
210
+ this.b4(a, b, c, d, e, f, g, h, i);
210
211
  }
211
212
  get resized() {
212
213
  return this.u;
213
214
  }
214
215
  ensureCorrectSize() {
215
- this.u = this.w(this.aw);
216
+ this.u = this.x(this.ax);
216
217
  return this.u;
217
218
  }
218
- b2(a, b, c, d, e, f, g, h, i) {
219
+ b4(a, b, c, d, e, f, g, h, i) {
219
220
  if (!this.t) {
220
221
  return;
221
222
  }
222
- if (this.bx != 1) {
223
- a.ad(this.bx);
223
+ if (this.bz != 1) {
224
+ a.ad(this.bz);
225
+ }
226
+ let j = this.j;
227
+ if (!this.v) {
228
+ j = a;
224
229
  }
225
- this.aw = f;
230
+ this.ax = f;
226
231
  if (!i) {
227
- this.b3();
232
+ this.b5();
228
233
  this.ensureCorrectSize();
229
234
  }
230
- if (this.z || this.u || i) {
231
- this.z = false;
232
- let j = this.j;
233
- if (this.p || this.u || (this.i != null && this.i.g != this.bq)) {
235
+ if (this.aa || this.u || i || !this.v) {
236
+ this.aa = false;
237
+ if (this.p || this.u || (this.i != null && this.i.g != this.br)) {
234
238
  this.p = false;
235
- this.bq = this.i.g;
239
+ this.br = this.i.g;
236
240
  j.ac(this.i);
237
241
  }
238
242
  if (f != 1) {
239
- this.j.z();
240
- this.j.aa(f, f);
243
+ j.z();
244
+ j.aa(f, f);
245
+ }
246
+ if (!this.v) {
247
+ j.z();
248
+ let k = Math.round((d - b));
249
+ let l = Math.round((e - c));
250
+ j.af(k, l);
241
251
  }
242
252
  if (g) {
243
- this.b6();
253
+ this.b8(j);
244
254
  }
245
255
  if (h) {
246
- this.b7(this.j);
256
+ this.b9(j);
257
+ }
258
+ if (!this.v) {
259
+ j.y();
247
260
  }
248
261
  if (f != 1) {
249
- this.j.y();
262
+ j.y();
250
263
  }
251
264
  }
252
- if (!i) {
253
- let k = Math.round((d - b) * f);
254
- let l = Math.round((e - c) * f);
255
- if (this.al == this.an && this.ak == this.am) {
256
- a.m(this.bn.getNativeElement(), 1, k, l, this.al, this.ak);
265
+ if (!i && this.v) {
266
+ let m = Math.round((d - b) * f);
267
+ let n = Math.round((e - c) * f);
268
+ if (this.am == this.ao && this.al == this.an) {
269
+ a.m(this.bu(), 1, m, n, this.am, this.al);
257
270
  }
258
271
  else {
259
- a.n(this.bn.getNativeElement(), 1, 0, 0, this.al, this.ak, k, l, this.al, this.ak);
272
+ a.n(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
260
273
  }
261
274
  }
262
- if (this.bx != 1) {
275
+ if (this.bz != 1) {
263
276
  a.ad(1);
264
277
  }
265
278
  }
266
- b6() {
279
+ bu() {
280
+ return this.bo.getNativeElement();
281
+ }
282
+ b8(a) {
267
283
  if (!this.m) {
268
- this.j.k(0, 0, this.an, this.am);
269
- }
270
- this.c4.n = 0;
271
- this.c4.o = 0;
272
- this.c4.width = this.a4;
273
- this.c4.height = this.ar;
274
- this.j.v(this.c4);
275
- if (this.cw != null) {
276
- if (this.ah > 0) {
277
- this.c0.am = 0;
278
- this.c0.ak = this.ah / 2;
279
- this.c0.an = this.ar;
280
- this.c0.al = this.ah / 2;
281
- this.c0._stroke = this.cw;
282
- this.c0.ac = this.ah;
283
- this.j.r(this.c0);
284
- }
284
+ a.k(0, 0, this.ao, this.an);
285
+ }
286
+ this.c6.n = 0;
287
+ this.c6.o = 0;
288
+ this.c6.width = this.a5;
289
+ this.c6.height = this.as;
290
+ a.v(this.c6);
291
+ if (this.cy != null) {
285
292
  if (this.ai > 0) {
286
- this.c1.am = 0;
287
- this.c1.ak = Math.max(0, (this.a4 - (this.ai / 2)));
288
- this.c1.an = this.ar;
289
- this.c1.al = Math.max(0, (this.a4 - (this.ai / 2)));
290
- this.c1._stroke = this.cw;
291
- this.c1.ac = this.ai;
292
- this.j.r(this.c1);
293
+ this.c2.am = 0;
294
+ this.c2.ak = this.ai / 2;
295
+ this.c2.an = this.as;
296
+ this.c2.al = this.ai / 2;
297
+ this.c2._stroke = this.cy;
298
+ this.c2.ac = this.ai;
299
+ a.r(this.c2);
293
300
  }
294
301
  if (this.aj > 0) {
295
- this.c3.am = this.aj / 2;
296
- this.c3.ak = this.ah;
297
- this.c3.an = this.aj / 2;
298
- this.c3.al = Math.max(0, (this.a4 - (this.ai / 2)));
299
- this.c3._stroke = this.cw;
302
+ this.c3.am = 0;
303
+ this.c3.ak = Math.max(0, (this.a5 - (this.aj / 2)));
304
+ this.c3.an = this.as;
305
+ this.c3.al = Math.max(0, (this.a5 - (this.aj / 2)));
306
+ this.c3._stroke = this.cy;
300
307
  this.c3.ac = this.aj;
301
- this.j.r(this.c3);
308
+ a.r(this.c3);
302
309
  }
303
- if (this.ag > 0) {
304
- this.cz.am = Math.max(0, this.ar - (this.ag / 2));
305
- this.cz.ak = this.ah;
306
- this.cz.an = Math.max(0, this.ar - (this.ag / 2));
307
- this.cz.al = Math.max(0, (this.a4 - (this.ai / 2)));
308
- this.cz._stroke = this.cw;
309
- this.cz.ac = this.ag;
310
- this.j.r(this.cz);
310
+ if (this.ak > 0) {
311
+ this.c5.am = this.ak / 2;
312
+ this.c5.ak = this.ai;
313
+ this.c5.an = this.ak / 2;
314
+ this.c5.al = Math.max(0, (this.a5 - (this.aj / 2)));
315
+ this.c5._stroke = this.cy;
316
+ this.c5.ac = this.ak;
317
+ a.r(this.c5);
318
+ }
319
+ if (this.ah > 0) {
320
+ this.c1.am = Math.max(0, this.as - (this.ah / 2));
321
+ this.c1.ak = this.ai;
322
+ this.c1.an = Math.max(0, this.as - (this.ah / 2));
323
+ this.c1.al = Math.max(0, (this.a5 - (this.aj / 2)));
324
+ this.c1._stroke = this.cy;
325
+ this.c1.ac = this.ah;
326
+ a.r(this.c1);
311
327
  }
312
328
  }
313
329
  }
314
- cj(a) {
315
- this.aw = a;
330
+ cl(a) {
331
+ this.ax = a;
316
332
  }
317
333
  renderStandardContent() {
318
- this.b2(this.j, 0, 0, 0, 0, this.aw, false, true, true);
334
+ this.b4(this.j, 0, 0, 0, 0, this.ax, false, true, true);
319
335
  }
320
336
  renderStandardBackground() {
321
- this.b2(this.j, 0, 0, 0, 0, this.aw, true, false, true);
337
+ this.b4(this.j, 0, 0, 0, 0, this.ax, true, false, true);
322
338
  }
323
- b7(a) {
339
+ b9(a) {
324
340
  if (this.s) {
325
- this.cu();
341
+ this.cw(a);
326
342
  this.s = false;
327
343
  }
328
- if (this.cv.al != null) {
329
- this.cv.n = this.az;
330
- this.cv.o = this.a2;
331
- this.j.w(this.cv);
344
+ if (this.cx.al != null) {
345
+ this.cx.n = this.a0;
346
+ this.cx.o = this.a3;
347
+ a.w(this.cx);
332
348
  if (this.r) {
333
- this.c2.ac = 1;
334
- this.c2.ak = this.az;
335
- this.c2.am = this.a3 - 2;
336
- this.c2.al = this.az + (this.a1 - this.az);
337
- this.c2.an = this.a3 - 2;
338
- this.c2._stroke = this.cv.ao;
339
- this.j.r(this.c2);
349
+ this.c4.ac = 1;
350
+ this.c4.ak = this.a0;
351
+ this.c4.am = this.a4 - 2;
352
+ this.c4.al = this.a0 + (this.a2 - this.a0);
353
+ this.c4.an = this.a4 - 2;
354
+ this.c4._stroke = this.cx.ao;
355
+ this.j.r(this.c4);
340
356
  }
341
357
  }
342
358
  }
343
- b3() {
344
- if (this.bn == null) {
345
- this.bn = this.bl.createElement("canvas");
346
- let a = this.bl.get2DCanvasContext(this.bn);
359
+ b5() {
360
+ if (this.bo == null && this.v) {
361
+ this.bo = this.bm.createElement("canvas");
362
+ let a = this.bm.get2DCanvasContext(this.bo);
347
363
  let b = ((() => {
348
364
  let $ret = new CanvasViewRenderer();
349
365
  $ret.h$d = a;
@@ -353,82 +369,82 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
353
369
  this.s = true;
354
370
  }
355
371
  }
356
- w(a) {
357
- let b = Math.round(this.a4 * a);
358
- let c = Math.round(this.ar * a);
359
- this.al = b;
360
- this.ak = c;
361
- let d = this.be(b);
362
- let e = this.be(c);
363
- if (d != this.an || e != this.am) {
364
- this.bn.setAttribute("width", d + "px");
365
- this.bn.setAttribute("height", e + "px");
366
- this.an = d;
367
- this.am = e;
368
- this.al = b;
369
- this.ak = c;
372
+ x(a) {
373
+ let b = Math.round(this.a5 * a);
374
+ let c = Math.round(this.as * a);
375
+ this.am = b;
376
+ this.al = c;
377
+ let d = this.bf(b);
378
+ let e = this.bf(c);
379
+ if (d != this.ao || e != this.an) {
380
+ this.bo.setAttribute("width", d + "px");
381
+ this.bo.setAttribute("height", e + "px");
382
+ this.ao = d;
383
+ this.an = e;
384
+ this.am = b;
385
+ this.al = c;
370
386
  return true;
371
387
  }
372
388
  return false;
373
389
  }
374
- be(a) {
390
+ bf(a) {
375
391
  return a;
376
392
  }
377
- ci(a, b, c, d) {
393
+ ck(a, b, c, d) {
378
394
  this.o = true;
379
- this.at = a;
380
- this.av = b;
381
- this.au = c;
382
- this.as = d;
395
+ this.au = a;
396
+ this.aw = b;
397
+ this.av = c;
398
+ this.at = d;
383
399
  this.s = true;
384
400
  }
385
- get bg() {
386
- return this.a0;
401
+ get bh() {
402
+ return this.a1;
387
403
  }
388
- set bg(a) {
389
- this.a0 = a;
404
+ set bh(a) {
405
+ this.a1 = a;
390
406
  }
391
- cn(a) {
407
+ cp(a) {
392
408
  this.o = true;
393
- this.cy = a;
394
- this.cv.ao = ((() => {
409
+ this.c0 = a;
410
+ this.cx.ao = ((() => {
395
411
  let $ret = new Brush();
396
- $ret.color = this.cy;
412
+ $ret.color = this.c0;
397
413
  return $ret;
398
414
  })());
399
415
  }
400
- get_aa() {
416
+ get_ab() {
401
417
  return false;
402
418
  }
403
- get aa() {
404
- return this.get_aa();
419
+ get ab() {
420
+ return this.get_ab();
405
421
  }
406
- get ad() {
422
+ get ae() {
407
423
  return this.t;
408
424
  }
409
- set ad(a) {
425
+ set ae(a) {
410
426
  this.o = true;
411
427
  this.t = a;
412
428
  }
413
- get a9() {
414
- return this.ar;
429
+ get ba() {
430
+ return this.as;
415
431
  }
416
- get bk() {
417
- return this.a4;
432
+ get bl() {
433
+ return this.a5;
418
434
  }
419
- cf(a) {
435
+ ch(a) {
420
436
  this.o = true;
421
- this.ar = a;
422
- this.c4.height = this.ar;
437
+ this.as = a;
438
+ this.c6.height = this.as;
423
439
  }
424
- cp(a) {
440
+ cr(a) {
425
441
  this.o = true;
426
- this.a4 = a;
427
- this.c4.width = this.a4;
442
+ this.a5 = a;
443
+ this.c6.width = this.a5;
428
444
  this.s = true;
429
445
  }
430
- b0() {
431
- if (!this.ab) {
446
+ b2() {
447
+ if (!this.ac) {
432
448
  return;
433
449
  }
434
450
  this.l = true;
@@ -438,35 +454,35 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
438
454
  this.g.l = Color.u(120, 120, 120, 120);
439
455
  this.g.h = 0;
440
456
  }
441
- cb(a) {
457
+ cd(a) {
442
458
  this.o = true;
443
- this.cx = a;
444
- this.m = this.cx.l == 255;
445
- this.c4._fill = ((() => {
459
+ this.cz = a;
460
+ this.m = this.cz.l == 255;
461
+ this.c6._fill = ((() => {
446
462
  let $ret = new Brush();
447
- $ret.color = this.cx;
463
+ $ret.color = this.cz;
448
464
  return $ret;
449
465
  })());
450
466
  }
451
- ch(a) {
467
+ cj(a) {
452
468
  this.o = true;
453
- this.bx = a;
469
+ this.bz = a;
454
470
  }
455
- cl(a) {
471
+ cn(a) {
456
472
  this.r = a;
457
473
  this.o = true;
458
474
  }
459
- ct(a) {
460
- if (!this.ab) {
475
+ cv(a) {
476
+ if (!this.ac) {
461
477
  return;
462
478
  }
463
479
  this.o = true;
464
480
  this.g.h = (a * 0.20000000298023224);
465
481
  }
466
- b4(a, b, c, d) {
482
+ b6(a, b, c, d) {
467
483
  if (this.g != null) {
468
- let e = this.ay;
469
- let f = this.ax;
484
+ let e = this.az;
485
+ let f = this.ay;
470
486
  if (this.e == 1) {
471
487
  b = truncate((b + (d / 2) - (f / 2)));
472
488
  }
@@ -481,14 +497,14 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
481
497
  }
482
498
  }
483
499
  }
484
- ce(a) {
500
+ cg(a) {
485
501
  this.i = a;
486
502
  this.p = true;
487
503
  this.o = true;
488
504
  this.s = true;
489
505
  }
490
- cs(a) {
491
- if (!this.ab) {
506
+ cu(a) {
507
+ if (!this.ac) {
492
508
  return;
493
509
  }
494
510
  this.o = true;
@@ -496,116 +512,116 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
496
512
  if (a.ag != null && !isNaN_(a.ag.d)) {
497
513
  b = a.ag.d;
498
514
  }
499
- if (this.ax != b) {
500
- this.ax = b;
515
+ if (this.ay != b) {
516
+ this.ay = b;
501
517
  }
502
518
  let c = a.gu * 0.2;
503
519
  let d = a.fc * 0.6;
504
- if (this.ay >= c && this.ay <= d) {
520
+ if (this.az >= c && this.az <= d) {
505
521
  return;
506
522
  }
507
- let e = (CanvasGridCellBase.bu.nextDouble() * (d - c) + c);
508
- if (this.ay != e) {
509
- this.ay = e;
523
+ let e = (CanvasGridCellBase.bw.nextDouble() * (d - c) + c);
524
+ if (this.az != e) {
525
+ this.az = e;
510
526
  }
511
527
  }
512
- cq(a, b) {
513
- if (!this.ab) {
528
+ cs(a, b) {
529
+ if (!this.ac) {
514
530
  return;
515
531
  }
516
532
  this.o = true;
517
533
  this.c = a;
518
534
  this.e = b;
519
535
  }
520
- cr(a) {
521
- if (!this.ab) {
536
+ ct(a) {
537
+ if (!this.ac) {
522
538
  return;
523
539
  }
524
540
  this.o = true;
525
541
  }
526
- ca(a) {
542
+ cc(a) {
527
543
  this.a = a;
528
544
  }
529
545
  get d() {
530
546
  return this.b;
531
547
  }
532
- cg(a) {
548
+ ci(a) {
533
549
  this.b = a;
534
550
  this.o = true;
535
551
  this.s = true;
536
552
  }
537
- cu() {
538
- if (this.by == null) {
553
+ cw(a) {
554
+ if (this.b0 == null) {
539
555
  return;
540
556
  }
541
- if (this.j == null) {
557
+ if (a == null) {
542
558
  return;
543
559
  }
544
- if (this.p || (this.i != null && this.i.g != this.bq)) {
560
+ if (this.p || (this.i != null && this.i.g != this.br)) {
545
561
  this.p = false;
546
- this.bq = this.i.g;
547
- this.j.ac(this.i);
562
+ this.br = this.i.g;
563
+ a.ac(this.i);
548
564
  }
549
- let a;
550
- if (this.h != this.i || this.bs != this.i.g) {
565
+ let b;
566
+ if (this.h != this.i || this.bt != this.i.g) {
551
567
  this.h = this.i;
552
- this.bs = this.i.g;
553
- this.aq = FontUtil.getCurrentFontHeight(this.bl, this.i);
568
+ this.bt = this.i.g;
569
+ this.ar = FontUtil.getCurrentFontHeight(this.bm, this.i);
554
570
  }
555
- a = this.aq;
556
- let b = 0;
571
+ b = this.ar;
557
572
  let c = 0;
558
- let d = this.a4;
559
- let e = this.ar;
560
- d -= (this.ah + this.at + this.ai + this.au);
561
- e -= (this.aj + this.av + this.ag + this.as);
562
- d = Math.max(d, 0);
573
+ let d = 0;
574
+ let e = this.a5;
575
+ let f = this.as;
576
+ e -= (this.ai + this.au + this.aj + this.av);
577
+ f -= (this.ak + this.aw + this.ah + this.at);
563
578
  e = Math.max(e, 0);
564
- let f = d;
565
- if (!isNaN_(this.a0) && this.a0 < d) {
566
- f = this.a0;
579
+ f = Math.max(f, 0);
580
+ let g = e;
581
+ if (!isNaN_(this.a1) && this.a1 < e) {
582
+ g = this.a1;
567
583
  }
568
- let g = this.bj(this.cv, this.by, f, this.j);
584
+ let h = this.bk(this.cx, this.b0, g, a);
569
585
  switch (this.b) {
570
586
  case 0:
571
- b = this.at + this.ah;
587
+ c = this.au + this.ai;
572
588
  break;
573
589
  case 3:
574
590
  case 1:
575
- b = this.at + this.ah + ((d / 2) - (g / 2));
591
+ c = this.au + this.ai + ((e / 2) - (h / 2));
576
592
  break;
577
593
  case 2:
578
- b = Math.max(0, (this.a4 - (this.au + this.ai))) - g;
594
+ c = Math.max(0, (this.a5 - (this.av + this.aj))) - h;
579
595
  break;
580
596
  }
581
597
  switch (this.f) {
582
598
  case 0:
583
- c = this.av + this.aj;
599
+ d = this.aw + this.ak;
584
600
  break;
585
601
  case 3:
586
602
  case 1:
587
- c = this.av + this.aj + ((e / 2) - (a / 2));
603
+ d = this.aw + this.ak + ((f / 2) - (b / 2));
588
604
  break;
589
605
  case 2:
590
- c = Math.max(0, (this.ar - (this.as + this.ag))) - a;
606
+ d = Math.max(0, (this.as - (this.at + this.ah))) - b;
591
607
  break;
592
608
  }
593
- this.az = b;
594
- this.a1 = this.az + g;
595
- this.a2 = c;
596
- this.a3 = this.a2 + (a / 2);
609
+ this.a0 = c;
610
+ this.a2 = this.a0 + h;
611
+ this.a3 = d;
612
+ this.a4 = this.a3 + (b / 2);
597
613
  this.o = true;
598
614
  }
599
- bj(a, b, c, d) {
615
+ bk(a, b, c, d) {
600
616
  let e = b;
601
617
  let f = e.length;
602
618
  let g = ("\u2026");
603
- if (isNaN_(this.ao)) {
604
- this.ao = d.f(g);
619
+ if (isNaN_(this.ap)) {
620
+ this.ap = d.f(g);
605
621
  }
606
- if (c <= this.ao) {
622
+ if (c <= this.ap) {
607
623
  a.al = g;
608
- return this.ao;
624
+ return this.ap;
609
625
  }
610
626
  let h = d.f(e);
611
627
  if (h <= c) {
@@ -635,28 +651,28 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
635
651
  a.al = e;
636
652
  return h;
637
653
  }
638
- co(a) {
654
+ cq(a) {
639
655
  this.f = a;
640
656
  this.o = true;
641
657
  this.s = true;
642
658
  }
643
- af(a) {
659
+ ag(a) {
644
660
  return a.isClickActionDesired;
645
661
  }
646
662
  onContactStarted(a, b) {
647
- if (this.a != null && this.af(this.a)) {
648
- this.bv = a.pageX;
649
- this.bw = a.pageY;
650
- this.a.mouseDownCell(this.bv, this.bw);
663
+ if (this.a != null && this.ag(this.a)) {
664
+ this.bx = a.pageX;
665
+ this.by = a.pageY;
666
+ this.a.mouseDownCell(this.bx, this.by);
651
667
  }
652
668
  }
653
669
  onContactMoved(a, b) {
654
- if (this.a != null && this.af(this.a)) {
670
+ if (this.a != null && this.ag(this.a)) {
655
671
  let c = a.pageX;
656
672
  let d = a.pageY;
657
673
  if (this.a.isMouseDown) {
658
674
  if (b) {
659
- if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.br || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.br) {
675
+ if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bs || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bs) {
660
676
  this.a.mouseUpCell(c, d);
661
677
  }
662
678
  else {
@@ -668,7 +684,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
668
684
  this.a.mouseUpCell(c, d);
669
685
  }
670
686
  else {
671
- if (Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bp || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bp) {
687
+ if (Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bq || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bq) {
672
688
  this.a.isControlPressed = a.ctrlKey;
673
689
  this.a.dragStarted();
674
690
  }
@@ -678,10 +694,10 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
678
694
  }
679
695
  }
680
696
  onContactCompleted(a, b) {
681
- if (this.a != null && this.af(this.a)) {
697
+ if (this.a != null && this.ag(this.a)) {
682
698
  let c = a.pageX;
683
699
  let d = a.pageY;
684
- if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.br || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.br || this.a.isDrag) {
700
+ if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bs || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bs || this.a.isDrag) {
685
701
  this.a.mouseUpCell(c, d);
686
702
  }
687
703
  if (this.a.isCellDown()) {
@@ -725,8 +741,8 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
725
741
  }
726
742
  }
727
743
  CanvasGridCellBase.$t = /*@__PURE__*/ markType(CanvasGridCellBase, 'CanvasGridCellBase', Base.$, [INativeCell_$type]);
728
- CanvasGridCellBase.bu = /*@__PURE__*/ new Random(0);
729
- CanvasGridCellBase.br = 10;
730
- CanvasGridCellBase.bp = 3;
744
+ CanvasGridCellBase.bw = /*@__PURE__*/ new Random(0);
745
+ CanvasGridCellBase.bs = 10;
746
+ CanvasGridCellBase.bq = 3;
731
747
  return CanvasGridCellBase;
732
748
  })();