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
@@ -31,52 +31,53 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
31
31
  _this.s = true;
32
32
  _this.o = true;
33
33
  _this.k = null;
34
- _this.bl = null;
34
+ _this.bm = null;
35
35
  _this.q = false;
36
- _this.by = null;
36
+ _this.b0 = null;
37
37
  _this.l = false;
38
- _this.ap = 1;
39
- _this.at = 5;
40
- _this.av = 5;
38
+ _this.aq = 1;
41
39
  _this.au = 5;
42
- _this.as = 5;
43
- _this.cw = null;
44
- _this.ah = 0;
45
- _this.aj = 0;
40
+ _this.aw = 5;
41
+ _this.av = 5;
42
+ _this.at = 5;
43
+ _this.cy = null;
46
44
  _this.ai = 0;
47
- _this.ag = 0;
48
- _this.c4 = new Rectangle();
49
- _this.c0 = new Line();
45
+ _this.ak = 0;
46
+ _this.aj = 0;
47
+ _this.ah = 0;
48
+ _this.c6 = new Rectangle();
49
+ _this.c2 = new Line();
50
+ _this.c5 = new Line();
50
51
  _this.c3 = new Line();
51
52
  _this.c1 = new Line();
52
- _this.cz = new Line();
53
- _this.c2 = new Line();
54
- _this.az = 0;
55
- _this.a1 = 0;
53
+ _this.c4 = new Line();
54
+ _this.a0 = 0;
56
55
  _this.a2 = 0;
57
56
  _this.a3 = 0;
58
- _this.bn = null;
57
+ _this.a4 = 0;
58
+ _this.bo = null;
59
59
  _this.j = null;
60
+ _this.am = 0;
60
61
  _this.al = 0;
61
- _this.ak = 0;
62
+ _this.ao = 0;
62
63
  _this.an = 0;
63
- _this.am = 0;
64
64
  _this.u = true;
65
- _this.a0 = NaN;
66
- _this.cv = new TextBlock();
67
- _this.cy = Color.u(255, 0, 0, 0);
65
+ _this.v = true;
66
+ _this.a1 = NaN;
67
+ _this.cx = new TextBlock();
68
+ _this.c0 = Color.u(255, 0, 0, 0);
68
69
  _this.t = true;
69
- _this.ar = 0;
70
- _this.a4 = 0;
71
- _this.cx = Color.u(255, 255, 255, 255);
70
+ _this.as = 0;
71
+ _this.a5 = 0;
72
+ _this.cz = Color.u(255, 255, 255, 255);
72
73
  _this.m = false;
73
74
  _this.g = null;
74
75
  _this.c = 0;
75
76
  _this.e = 0;
76
- _this.bx = 1;
77
+ _this.bz = 1;
77
78
  _this.r = false;
79
+ _this.az = 0;
78
80
  _this.ay = 0;
79
- _this.ax = 0;
80
81
  _this.i = ((function () {
81
82
  var $ret = new FontInfo();
82
83
  $ret.n = "Verdana";
@@ -84,22 +85,22 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
84
85
  return $ret;
85
86
  })());
86
87
  _this.p = true;
87
- _this.bq = -1;
88
- _this.bv = 0;
89
- _this.bw = 0;
88
+ _this.br = -1;
89
+ _this.bx = 0;
90
+ _this.by = 0;
90
91
  _this.n = false;
91
- _this.bo = 0;
92
+ _this.bp = 0;
92
93
  _this.b = 0;
93
- _this.aq = NaN;
94
+ _this.ar = NaN;
94
95
  _this.h = null;
95
- _this.bs = -1;
96
- _this.ao = NaN;
96
+ _this.bt = -1;
97
+ _this.ap = NaN;
97
98
  _this.f = 1;
98
- _this.aw = 1;
99
- _this.bl = a;
99
+ _this.ax = 1;
100
+ _this.bm = a;
100
101
  return _this;
101
102
  }
102
- Object.defineProperty(CanvasGridCellBase.prototype, "z", {
103
+ Object.defineProperty(CanvasGridCellBase.prototype, "aa", {
103
104
  get: function () {
104
105
  return this.o;
105
106
  },
@@ -109,10 +110,10 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
109
110
  enumerable: true,
110
111
  configurable: true
111
112
  });
112
- CanvasGridCellBase.prototype.ck = function (a) {
113
+ CanvasGridCellBase.prototype.cm = function (a) {
113
114
  this.k = a;
114
115
  };
115
- CanvasGridCellBase.prototype.b5 = function () {
116
+ CanvasGridCellBase.prototype.b7 = function () {
116
117
  this.o = true;
117
118
  if (this.k != null) {
118
119
  this.k();
@@ -125,9 +126,9 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
125
126
  enumerable: true,
126
127
  configurable: true
127
128
  });
128
- Object.defineProperty(CanvasGridCellBase.prototype, "bm", {
129
+ Object.defineProperty(CanvasGridCellBase.prototype, "bn", {
129
130
  get: function () {
130
- return this.bl;
131
+ return this.bm;
131
132
  },
132
133
  enumerable: true,
133
134
  configurable: true
@@ -142,8 +143,8 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
142
143
  enumerable: true,
143
144
  configurable: true
144
145
  });
145
- CanvasGridCellBase.prototype.cm = function (a) {
146
- this.by = a;
146
+ CanvasGridCellBase.prototype.co = function (a) {
147
+ this.b0 = a;
147
148
  this.o = true;
148
149
  this.s = true;
149
150
  };
@@ -154,7 +155,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
154
155
  enumerable: true,
155
156
  configurable: true
156
157
  });
157
- Object.defineProperty(CanvasGridCellBase.prototype, "v", {
158
+ Object.defineProperty(CanvasGridCellBase.prototype, "w", {
158
159
  get: function () {
159
160
  return this.l;
160
161
  },
@@ -164,127 +165,127 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
164
165
  enumerable: true,
165
166
  configurable: true
166
167
  });
167
- CanvasGridCellBase.prototype.get_ab = function () {
168
+ CanvasGridCellBase.prototype.get_ac = function () {
168
169
  return false;
169
170
  };
170
- Object.defineProperty(CanvasGridCellBase.prototype, "ab", {
171
+ Object.defineProperty(CanvasGridCellBase.prototype, "ac", {
171
172
  get: function () {
172
- return this.get_ab();
173
+ return this.get_ac();
173
174
  },
174
175
  enumerable: true,
175
176
  configurable: true
176
177
  });
177
- CanvasGridCellBase.prototype.cc = function (a, b, c, d, e) {
178
+ CanvasGridCellBase.prototype.ce = function (a, b, c, d, e) {
178
179
  this.o = true;
179
- this.cw = a;
180
- this.ah = b;
181
- this.aj = c;
182
- this.ai = d;
183
- this.ag = e;
180
+ this.cy = a;
181
+ this.ai = b;
182
+ this.ak = c;
183
+ this.aj = d;
184
+ this.ah = e;
184
185
  this.s = true;
185
186
  };
186
- CanvasGridCellBase.prototype.cd = function (a) {
187
+ CanvasGridCellBase.prototype.cf = function (a) {
187
188
  this.o = true;
188
- this.ap = a;
189
- this.cv._opacity = this.ap;
189
+ this.aq = a;
190
+ this.cx._opacity = this.aq;
190
191
  };
191
- Object.defineProperty(CanvasGridCellBase.prototype, "bb", {
192
+ Object.defineProperty(CanvasGridCellBase.prototype, "bc", {
192
193
  get: function () {
193
- return this.at;
194
+ return this.au;
194
195
  },
195
196
  enumerable: true,
196
197
  configurable: true
197
198
  });
198
- Object.defineProperty(CanvasGridCellBase.prototype, "bd", {
199
+ Object.defineProperty(CanvasGridCellBase.prototype, "be", {
199
200
  get: function () {
200
- return this.av;
201
+ return this.aw;
201
202
  },
202
203
  enumerable: true,
203
204
  configurable: true
204
205
  });
205
- Object.defineProperty(CanvasGridCellBase.prototype, "bc", {
206
+ Object.defineProperty(CanvasGridCellBase.prototype, "bd", {
206
207
  get: function () {
207
- return this.au;
208
+ return this.av;
208
209
  },
209
210
  enumerable: true,
210
211
  configurable: true
211
212
  });
212
- Object.defineProperty(CanvasGridCellBase.prototype, "ba", {
213
+ Object.defineProperty(CanvasGridCellBase.prototype, "bb", {
213
214
  get: function () {
214
- return this.as;
215
+ return this.at;
215
216
  },
216
217
  enumerable: true,
217
218
  configurable: true
218
219
  });
219
- Object.defineProperty(CanvasGridCellBase.prototype, "a6", {
220
+ Object.defineProperty(CanvasGridCellBase.prototype, "a7", {
220
221
  get: function () {
221
- return this.ah;
222
+ return this.ai;
222
223
  },
223
224
  enumerable: true,
224
225
  configurable: true
225
226
  });
226
- Object.defineProperty(CanvasGridCellBase.prototype, "a8", {
227
+ Object.defineProperty(CanvasGridCellBase.prototype, "a9", {
227
228
  get: function () {
228
- return this.aj;
229
+ return this.ak;
229
230
  },
230
231
  enumerable: true,
231
232
  configurable: true
232
233
  });
233
- Object.defineProperty(CanvasGridCellBase.prototype, "a7", {
234
+ Object.defineProperty(CanvasGridCellBase.prototype, "a8", {
234
235
  get: function () {
235
- return this.ai;
236
+ return this.aj;
236
237
  },
237
238
  enumerable: true,
238
239
  configurable: true
239
240
  });
240
- Object.defineProperty(CanvasGridCellBase.prototype, "a5", {
241
+ Object.defineProperty(CanvasGridCellBase.prototype, "a6", {
241
242
  get: function () {
242
- return this.ag;
243
+ return this.ah;
243
244
  },
244
245
  enumerable: true,
245
246
  configurable: true
246
247
  });
247
- Object.defineProperty(CanvasGridCellBase.prototype, "bf", {
248
+ Object.defineProperty(CanvasGridCellBase.prototype, "bg", {
248
249
  get: function () {
249
- return this.az;
250
+ return this.a0;
250
251
  },
251
252
  enumerable: true,
252
253
  configurable: true
253
254
  });
254
- Object.defineProperty(CanvasGridCellBase.prototype, "bh", {
255
+ Object.defineProperty(CanvasGridCellBase.prototype, "bi", {
255
256
  get: function () {
256
- return this.a1;
257
+ return this.a2;
257
258
  },
258
259
  enumerable: true,
259
260
  configurable: true
260
261
  });
261
- Object.defineProperty(CanvasGridCellBase.prototype, "bi", {
262
+ Object.defineProperty(CanvasGridCellBase.prototype, "bj", {
262
263
  get: function () {
263
- return this.a3;
264
+ return this.a4;
264
265
  },
265
266
  enumerable: true,
266
267
  configurable: true
267
268
  });
268
- CanvasGridCellBase.prototype.get_ac = function () {
269
+ CanvasGridCellBase.prototype.get_ad = function () {
269
270
  return false;
270
271
  };
271
- Object.defineProperty(CanvasGridCellBase.prototype, "ac", {
272
+ Object.defineProperty(CanvasGridCellBase.prototype, "ad", {
272
273
  get: function () {
273
- return this.get_ac();
274
+ return this.get_ad();
274
275
  },
275
276
  enumerable: true,
276
277
  configurable: true
277
278
  });
278
- CanvasGridCellBase.prototype.b1 = function (a, b, c, d, e, f) {
279
+ CanvasGridCellBase.prototype.b3 = function (a, b, c, d, e, f) {
279
280
  var g = true;
280
281
  var h = true;
281
282
  var i = false;
282
- if (this.ac) {
283
+ if (this.ad) {
283
284
  g = false;
284
285
  h = false;
285
286
  i = false;
286
287
  }
287
- this.b2(a, b, c, d, e, f, g, h, i);
288
+ this.b4(a, b, c, d, e, f, g, h, i);
288
289
  };
289
290
  Object.defineProperty(CanvasGridCellBase.prototype, "resized", {
290
291
  get: function () {
@@ -294,138 +295,153 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
294
295
  configurable: true
295
296
  });
296
297
  CanvasGridCellBase.prototype.ensureCorrectSize = function () {
297
- this.u = this.w(this.aw);
298
+ this.u = this.x(this.ax);
298
299
  return this.u;
299
300
  };
300
- CanvasGridCellBase.prototype.b2 = function (a, b, c, d, e, f, g, h, i) {
301
+ CanvasGridCellBase.prototype.b4 = function (a, b, c, d, e, f, g, h, i) {
301
302
  if (!this.t) {
302
303
  return;
303
304
  }
304
- if (this.bx != 1) {
305
- a.ad(this.bx);
305
+ if (this.bz != 1) {
306
+ a.ad(this.bz);
307
+ }
308
+ var j = this.j;
309
+ if (!this.v) {
310
+ j = a;
306
311
  }
307
- this.aw = f;
312
+ this.ax = f;
308
313
  if (!i) {
309
- this.b3();
314
+ this.b5();
310
315
  this.ensureCorrectSize();
311
316
  }
312
- if (this.z || this.u || i) {
313
- this.z = false;
314
- var j = this.j;
315
- if (this.p || this.u || (this.i != null && this.i.g != this.bq)) {
317
+ if (this.aa || this.u || i || !this.v) {
318
+ this.aa = false;
319
+ if (this.p || this.u || (this.i != null && this.i.g != this.br)) {
316
320
  this.p = false;
317
- this.bq = this.i.g;
321
+ this.br = this.i.g;
318
322
  j.ac(this.i);
319
323
  }
320
324
  if (f != 1) {
321
- this.j.z();
322
- this.j.aa(f, f);
325
+ j.z();
326
+ j.aa(f, f);
327
+ }
328
+ if (!this.v) {
329
+ j.z();
330
+ var k = Math.round((d - b));
331
+ var l = Math.round((e - c));
332
+ j.af(k, l);
323
333
  }
324
334
  if (g) {
325
- this.b6();
335
+ this.b8(j);
326
336
  }
327
337
  if (h) {
328
- this.b7(this.j);
338
+ this.b9(j);
339
+ }
340
+ if (!this.v) {
341
+ j.y();
329
342
  }
330
343
  if (f != 1) {
331
- this.j.y();
344
+ j.y();
332
345
  }
333
346
  }
334
- if (!i) {
335
- var k = Math.round((d - b) * f);
336
- var l = Math.round((e - c) * f);
337
- if (this.al == this.an && this.ak == this.am) {
338
- a.m(this.bn.getNativeElement(), 1, k, l, this.al, this.ak);
347
+ if (!i && this.v) {
348
+ var m = Math.round((d - b) * f);
349
+ var n = Math.round((e - c) * f);
350
+ if (this.am == this.ao && this.al == this.an) {
351
+ a.m(this.bu(), 1, m, n, this.am, this.al);
339
352
  }
340
353
  else {
341
- a.n(this.bn.getNativeElement(), 1, 0, 0, this.al, this.ak, k, l, this.al, this.ak);
354
+ a.n(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
342
355
  }
343
356
  }
344
- if (this.bx != 1) {
357
+ if (this.bz != 1) {
345
358
  a.ad(1);
346
359
  }
347
360
  };
348
- CanvasGridCellBase.prototype.b6 = function () {
361
+ CanvasGridCellBase.prototype.bu = function () {
362
+ return this.bo.getNativeElement();
363
+ };
364
+ CanvasGridCellBase.prototype.b8 = function (a) {
349
365
  if (!this.m) {
350
- this.j.k(0, 0, this.an, this.am);
351
- }
352
- this.c4.n = 0;
353
- this.c4.o = 0;
354
- this.c4.width = this.a4;
355
- this.c4.height = this.ar;
356
- this.j.v(this.c4);
357
- if (this.cw != null) {
358
- if (this.ah > 0) {
359
- this.c0.am = 0;
360
- this.c0.ak = this.ah / 2;
361
- this.c0.an = this.ar;
362
- this.c0.al = this.ah / 2;
363
- this.c0._stroke = this.cw;
364
- this.c0.ac = this.ah;
365
- this.j.r(this.c0);
366
- }
366
+ a.k(0, 0, this.ao, this.an);
367
+ }
368
+ this.c6.n = 0;
369
+ this.c6.o = 0;
370
+ this.c6.width = this.a5;
371
+ this.c6.height = this.as;
372
+ a.v(this.c6);
373
+ if (this.cy != null) {
367
374
  if (this.ai > 0) {
368
- this.c1.am = 0;
369
- this.c1.ak = Math.max(0, (this.a4 - (this.ai / 2)));
370
- this.c1.an = this.ar;
371
- this.c1.al = Math.max(0, (this.a4 - (this.ai / 2)));
372
- this.c1._stroke = this.cw;
373
- this.c1.ac = this.ai;
374
- this.j.r(this.c1);
375
+ this.c2.am = 0;
376
+ this.c2.ak = this.ai / 2;
377
+ this.c2.an = this.as;
378
+ this.c2.al = this.ai / 2;
379
+ this.c2._stroke = this.cy;
380
+ this.c2.ac = this.ai;
381
+ a.r(this.c2);
375
382
  }
376
383
  if (this.aj > 0) {
377
- this.c3.am = this.aj / 2;
378
- this.c3.ak = this.ah;
379
- this.c3.an = this.aj / 2;
380
- this.c3.al = Math.max(0, (this.a4 - (this.ai / 2)));
381
- this.c3._stroke = this.cw;
384
+ this.c3.am = 0;
385
+ this.c3.ak = Math.max(0, (this.a5 - (this.aj / 2)));
386
+ this.c3.an = this.as;
387
+ this.c3.al = Math.max(0, (this.a5 - (this.aj / 2)));
388
+ this.c3._stroke = this.cy;
382
389
  this.c3.ac = this.aj;
383
- this.j.r(this.c3);
390
+ a.r(this.c3);
391
+ }
392
+ if (this.ak > 0) {
393
+ this.c5.am = this.ak / 2;
394
+ this.c5.ak = this.ai;
395
+ this.c5.an = this.ak / 2;
396
+ this.c5.al = Math.max(0, (this.a5 - (this.aj / 2)));
397
+ this.c5._stroke = this.cy;
398
+ this.c5.ac = this.ak;
399
+ a.r(this.c5);
384
400
  }
385
- if (this.ag > 0) {
386
- this.cz.am = Math.max(0, this.ar - (this.ag / 2));
387
- this.cz.ak = this.ah;
388
- this.cz.an = Math.max(0, this.ar - (this.ag / 2));
389
- this.cz.al = Math.max(0, (this.a4 - (this.ai / 2)));
390
- this.cz._stroke = this.cw;
391
- this.cz.ac = this.ag;
392
- this.j.r(this.cz);
401
+ if (this.ah > 0) {
402
+ this.c1.am = Math.max(0, this.as - (this.ah / 2));
403
+ this.c1.ak = this.ai;
404
+ this.c1.an = Math.max(0, this.as - (this.ah / 2));
405
+ this.c1.al = Math.max(0, (this.a5 - (this.aj / 2)));
406
+ this.c1._stroke = this.cy;
407
+ this.c1.ac = this.ah;
408
+ a.r(this.c1);
393
409
  }
394
410
  }
395
411
  };
396
- CanvasGridCellBase.prototype.cj = function (a) {
397
- this.aw = a;
412
+ CanvasGridCellBase.prototype.cl = function (a) {
413
+ this.ax = a;
398
414
  };
399
415
  CanvasGridCellBase.prototype.renderStandardContent = function () {
400
- this.b2(this.j, 0, 0, 0, 0, this.aw, false, true, true);
416
+ this.b4(this.j, 0, 0, 0, 0, this.ax, false, true, true);
401
417
  };
402
418
  CanvasGridCellBase.prototype.renderStandardBackground = function () {
403
- this.b2(this.j, 0, 0, 0, 0, this.aw, true, false, true);
419
+ this.b4(this.j, 0, 0, 0, 0, this.ax, true, false, true);
404
420
  };
405
- CanvasGridCellBase.prototype.b7 = function (a) {
421
+ CanvasGridCellBase.prototype.b9 = function (a) {
406
422
  if (this.s) {
407
- this.cu();
423
+ this.cw(a);
408
424
  this.s = false;
409
425
  }
410
- if (this.cv.al != null) {
411
- this.cv.n = this.az;
412
- this.cv.o = this.a2;
413
- this.j.w(this.cv);
426
+ if (this.cx.al != null) {
427
+ this.cx.n = this.a0;
428
+ this.cx.o = this.a3;
429
+ a.w(this.cx);
414
430
  if (this.r) {
415
- this.c2.ac = 1;
416
- this.c2.ak = this.az;
417
- this.c2.am = this.a3 - 2;
418
- this.c2.al = this.az + (this.a1 - this.az);
419
- this.c2.an = this.a3 - 2;
420
- this.c2._stroke = this.cv.ao;
421
- this.j.r(this.c2);
431
+ this.c4.ac = 1;
432
+ this.c4.ak = this.a0;
433
+ this.c4.am = this.a4 - 2;
434
+ this.c4.al = this.a0 + (this.a2 - this.a0);
435
+ this.c4.an = this.a4 - 2;
436
+ this.c4._stroke = this.cx.ao;
437
+ this.j.r(this.c4);
422
438
  }
423
439
  }
424
440
  };
425
- CanvasGridCellBase.prototype.b3 = function () {
426
- if (this.bn == null) {
427
- this.bn = this.bl.createElement("canvas");
428
- var a_1 = this.bl.get2DCanvasContext(this.bn);
441
+ CanvasGridCellBase.prototype.b5 = function () {
442
+ if (this.bo == null && this.v) {
443
+ this.bo = this.bm.createElement("canvas");
444
+ var a_1 = this.bm.get2DCanvasContext(this.bo);
429
445
  var b = ((function () {
430
446
  var $ret = new CanvasViewRenderer();
431
447
  $ret.h$d = a_1;
@@ -435,66 +451,66 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
435
451
  this.s = true;
436
452
  }
437
453
  };
438
- CanvasGridCellBase.prototype.w = function (a) {
439
- var b = Math.round(this.a4 * a);
440
- var c = Math.round(this.ar * a);
441
- this.al = b;
442
- this.ak = c;
443
- var d = this.be(b);
444
- var e = this.be(c);
445
- if (d != this.an || e != this.am) {
446
- this.bn.setAttribute("width", d + "px");
447
- this.bn.setAttribute("height", e + "px");
448
- this.an = d;
449
- this.am = e;
450
- this.al = b;
451
- this.ak = c;
454
+ CanvasGridCellBase.prototype.x = function (a) {
455
+ var b = Math.round(this.a5 * a);
456
+ var c = Math.round(this.as * a);
457
+ this.am = b;
458
+ this.al = c;
459
+ var d = this.bf(b);
460
+ var e = this.bf(c);
461
+ if (d != this.ao || e != this.an) {
462
+ this.bo.setAttribute("width", d + "px");
463
+ this.bo.setAttribute("height", e + "px");
464
+ this.ao = d;
465
+ this.an = e;
466
+ this.am = b;
467
+ this.al = c;
452
468
  return true;
453
469
  }
454
470
  return false;
455
471
  };
456
- CanvasGridCellBase.prototype.be = function (a) {
472
+ CanvasGridCellBase.prototype.bf = function (a) {
457
473
  return a;
458
474
  };
459
- CanvasGridCellBase.prototype.ci = function (a, b, c, d) {
475
+ CanvasGridCellBase.prototype.ck = function (a, b, c, d) {
460
476
  this.o = true;
461
- this.at = a;
462
- this.av = b;
463
- this.au = c;
464
- this.as = d;
477
+ this.au = a;
478
+ this.aw = b;
479
+ this.av = c;
480
+ this.at = d;
465
481
  this.s = true;
466
482
  };
467
- Object.defineProperty(CanvasGridCellBase.prototype, "bg", {
483
+ Object.defineProperty(CanvasGridCellBase.prototype, "bh", {
468
484
  get: function () {
469
- return this.a0;
485
+ return this.a1;
470
486
  },
471
487
  set: function (a) {
472
- this.a0 = a;
488
+ this.a1 = a;
473
489
  },
474
490
  enumerable: true,
475
491
  configurable: true
476
492
  });
477
- CanvasGridCellBase.prototype.cn = function (a) {
493
+ CanvasGridCellBase.prototype.cp = function (a) {
478
494
  var _this = this;
479
495
  this.o = true;
480
- this.cy = a;
481
- this.cv.ao = ((function () {
496
+ this.c0 = a;
497
+ this.cx.ao = ((function () {
482
498
  var $ret = new Brush();
483
- $ret.color = _this.cy;
499
+ $ret.color = _this.c0;
484
500
  return $ret;
485
501
  })());
486
502
  };
487
- CanvasGridCellBase.prototype.get_aa = function () {
503
+ CanvasGridCellBase.prototype.get_ab = function () {
488
504
  return false;
489
505
  };
490
- Object.defineProperty(CanvasGridCellBase.prototype, "aa", {
506
+ Object.defineProperty(CanvasGridCellBase.prototype, "ab", {
491
507
  get: function () {
492
- return this.get_aa();
508
+ return this.get_ab();
493
509
  },
494
510
  enumerable: true,
495
511
  configurable: true
496
512
  });
497
- Object.defineProperty(CanvasGridCellBase.prototype, "ad", {
513
+ Object.defineProperty(CanvasGridCellBase.prototype, "ae", {
498
514
  get: function () {
499
515
  return this.t;
500
516
  },
@@ -505,33 +521,33 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
505
521
  enumerable: true,
506
522
  configurable: true
507
523
  });
508
- Object.defineProperty(CanvasGridCellBase.prototype, "a9", {
524
+ Object.defineProperty(CanvasGridCellBase.prototype, "ba", {
509
525
  get: function () {
510
- return this.ar;
526
+ return this.as;
511
527
  },
512
528
  enumerable: true,
513
529
  configurable: true
514
530
  });
515
- Object.defineProperty(CanvasGridCellBase.prototype, "bk", {
531
+ Object.defineProperty(CanvasGridCellBase.prototype, "bl", {
516
532
  get: function () {
517
- return this.a4;
533
+ return this.a5;
518
534
  },
519
535
  enumerable: true,
520
536
  configurable: true
521
537
  });
522
- CanvasGridCellBase.prototype.cf = function (a) {
538
+ CanvasGridCellBase.prototype.ch = function (a) {
523
539
  this.o = true;
524
- this.ar = a;
525
- this.c4.height = this.ar;
540
+ this.as = a;
541
+ this.c6.height = this.as;
526
542
  };
527
- CanvasGridCellBase.prototype.cp = function (a) {
543
+ CanvasGridCellBase.prototype.cr = function (a) {
528
544
  this.o = true;
529
- this.a4 = a;
530
- this.c4.width = this.a4;
545
+ this.a5 = a;
546
+ this.c6.width = this.a5;
531
547
  this.s = true;
532
548
  };
533
- CanvasGridCellBase.prototype.b0 = function () {
534
- if (!this.ab) {
549
+ CanvasGridCellBase.prototype.b2 = function () {
550
+ if (!this.ac) {
535
551
  return;
536
552
  }
537
553
  this.l = true;
@@ -541,36 +557,36 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
541
557
  this.g.l = Color.u(120, 120, 120, 120);
542
558
  this.g.h = 0;
543
559
  };
544
- CanvasGridCellBase.prototype.cb = function (a) {
560
+ CanvasGridCellBase.prototype.cd = function (a) {
545
561
  var _this = this;
546
562
  this.o = true;
547
- this.cx = a;
548
- this.m = this.cx.l == 255;
549
- this.c4._fill = ((function () {
563
+ this.cz = a;
564
+ this.m = this.cz.l == 255;
565
+ this.c6._fill = ((function () {
550
566
  var $ret = new Brush();
551
- $ret.color = _this.cx;
567
+ $ret.color = _this.cz;
552
568
  return $ret;
553
569
  })());
554
570
  };
555
- CanvasGridCellBase.prototype.ch = function (a) {
571
+ CanvasGridCellBase.prototype.cj = function (a) {
556
572
  this.o = true;
557
- this.bx = a;
573
+ this.bz = a;
558
574
  };
559
- CanvasGridCellBase.prototype.cl = function (a) {
575
+ CanvasGridCellBase.prototype.cn = function (a) {
560
576
  this.r = a;
561
577
  this.o = true;
562
578
  };
563
- CanvasGridCellBase.prototype.ct = function (a) {
564
- if (!this.ab) {
579
+ CanvasGridCellBase.prototype.cv = function (a) {
580
+ if (!this.ac) {
565
581
  return;
566
582
  }
567
583
  this.o = true;
568
584
  this.g.h = (a * 0.20000000298023224);
569
585
  };
570
- CanvasGridCellBase.prototype.b4 = function (a, b, c, d) {
586
+ CanvasGridCellBase.prototype.b6 = function (a, b, c, d) {
571
587
  if (this.g != null) {
572
- var e = this.ay;
573
- var f = this.ax;
588
+ var e = this.az;
589
+ var f = this.ay;
574
590
  if (this.e == 1) {
575
591
  b = truncate((b + (d / 2) - (f / 2)));
576
592
  }
@@ -585,14 +601,14 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
585
601
  }
586
602
  }
587
603
  };
588
- CanvasGridCellBase.prototype.ce = function (a) {
604
+ CanvasGridCellBase.prototype.cg = function (a) {
589
605
  this.i = a;
590
606
  this.p = true;
591
607
  this.o = true;
592
608
  this.s = true;
593
609
  };
594
- CanvasGridCellBase.prototype.cs = function (a) {
595
- if (!this.ab) {
610
+ CanvasGridCellBase.prototype.cu = function (a) {
611
+ if (!this.ac) {
596
612
  return;
597
613
  }
598
614
  this.o = true;
@@ -600,34 +616,34 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
600
616
  if (a.ag != null && !isNaN_(a.ag.d)) {
601
617
  b = a.ag.d;
602
618
  }
603
- if (this.ax != b) {
604
- this.ax = b;
619
+ if (this.ay != b) {
620
+ this.ay = b;
605
621
  }
606
622
  var c = a.gu * 0.2;
607
623
  var d = a.fc * 0.6;
608
- if (this.ay >= c && this.ay <= d) {
624
+ if (this.az >= c && this.az <= d) {
609
625
  return;
610
626
  }
611
- var e = (CanvasGridCellBase.bu.nextDouble() * (d - c) + c);
612
- if (this.ay != e) {
613
- this.ay = e;
627
+ var e = (CanvasGridCellBase.bw.nextDouble() * (d - c) + c);
628
+ if (this.az != e) {
629
+ this.az = e;
614
630
  }
615
631
  };
616
- CanvasGridCellBase.prototype.cq = function (a, b) {
617
- if (!this.ab) {
632
+ CanvasGridCellBase.prototype.cs = function (a, b) {
633
+ if (!this.ac) {
618
634
  return;
619
635
  }
620
636
  this.o = true;
621
637
  this.c = a;
622
638
  this.e = b;
623
639
  };
624
- CanvasGridCellBase.prototype.cr = function (a) {
625
- if (!this.ab) {
640
+ CanvasGridCellBase.prototype.ct = function (a) {
641
+ if (!this.ac) {
626
642
  return;
627
643
  }
628
644
  this.o = true;
629
645
  };
630
- CanvasGridCellBase.prototype.ca = function (a) {
646
+ CanvasGridCellBase.prototype.cc = function (a) {
631
647
  this.a = a;
632
648
  };
633
649
  Object.defineProperty(CanvasGridCellBase.prototype, "d", {
@@ -637,83 +653,83 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
637
653
  enumerable: true,
638
654
  configurable: true
639
655
  });
640
- CanvasGridCellBase.prototype.cg = function (a) {
656
+ CanvasGridCellBase.prototype.ci = function (a) {
641
657
  this.b = a;
642
658
  this.o = true;
643
659
  this.s = true;
644
660
  };
645
- CanvasGridCellBase.prototype.cu = function () {
646
- if (this.by == null) {
661
+ CanvasGridCellBase.prototype.cw = function (a) {
662
+ if (this.b0 == null) {
647
663
  return;
648
664
  }
649
- if (this.j == null) {
665
+ if (a == null) {
650
666
  return;
651
667
  }
652
- if (this.p || (this.i != null && this.i.g != this.bq)) {
668
+ if (this.p || (this.i != null && this.i.g != this.br)) {
653
669
  this.p = false;
654
- this.bq = this.i.g;
655
- this.j.ac(this.i);
670
+ this.br = this.i.g;
671
+ a.ac(this.i);
656
672
  }
657
- var a;
658
- if (this.h != this.i || this.bs != this.i.g) {
673
+ var b;
674
+ if (this.h != this.i || this.bt != this.i.g) {
659
675
  this.h = this.i;
660
- this.bs = this.i.g;
661
- this.aq = FontUtil.getCurrentFontHeight(this.bl, this.i);
676
+ this.bt = this.i.g;
677
+ this.ar = FontUtil.getCurrentFontHeight(this.bm, this.i);
662
678
  }
663
- a = this.aq;
664
- var b = 0;
679
+ b = this.ar;
665
680
  var c = 0;
666
- var d = this.a4;
667
- var e = this.ar;
668
- d -= (this.ah + this.at + this.ai + this.au);
669
- e -= (this.aj + this.av + this.ag + this.as);
670
- d = Math.max(d, 0);
681
+ var d = 0;
682
+ var e = this.a5;
683
+ var f = this.as;
684
+ e -= (this.ai + this.au + this.aj + this.av);
685
+ f -= (this.ak + this.aw + this.ah + this.at);
671
686
  e = Math.max(e, 0);
672
- var f = d;
673
- if (!isNaN_(this.a0) && this.a0 < d) {
674
- f = this.a0;
687
+ f = Math.max(f, 0);
688
+ var g = e;
689
+ if (!isNaN_(this.a1) && this.a1 < e) {
690
+ g = this.a1;
675
691
  }
676
- var g = this.bj(this.cv, this.by, f, this.j);
692
+ var h = this.bk(this.cx, this.b0, g, a);
677
693
  switch (this.b) {
678
694
  case 0:
679
- b = this.at + this.ah;
695
+ c = this.au + this.ai;
680
696
  break;
681
697
  case 3:
682
698
  case 1:
683
- b = this.at + this.ah + ((d / 2) - (g / 2));
699
+ c = this.au + this.ai + ((e / 2) - (h / 2));
684
700
  break;
685
701
  case 2:
686
- b = Math.max(0, (this.a4 - (this.au + this.ai))) - g;
702
+ c = Math.max(0, (this.a5 - (this.av + this.aj))) - h;
687
703
  break;
688
704
  }
689
705
  switch (this.f) {
690
706
  case 0:
691
- c = this.av + this.aj;
707
+ d = this.aw + this.ak;
692
708
  break;
693
709
  case 3:
694
710
  case 1:
695
- c = this.av + this.aj + ((e / 2) - (a / 2));
711
+ d = this.aw + this.ak + ((f / 2) - (b / 2));
696
712
  break;
697
713
  case 2:
698
- c = Math.max(0, (this.ar - (this.as + this.ag))) - a;
714
+ d = Math.max(0, (this.as - (this.at + this.ah))) - b;
699
715
  break;
700
716
  }
701
- this.az = b;
702
- this.a1 = this.az + g;
703
- this.a2 = c;
704
- this.a3 = this.a2 + (a / 2);
717
+ this.a0 = c;
718
+ this.a2 = this.a0 + h;
719
+ this.a3 = d;
720
+ this.a4 = this.a3 + (b / 2);
705
721
  this.o = true;
706
722
  };
707
- CanvasGridCellBase.prototype.bj = function (a, b, c, d) {
723
+ CanvasGridCellBase.prototype.bk = function (a, b, c, d) {
708
724
  var e = b;
709
725
  var f = e.length;
710
726
  var g = ("\u2026");
711
- if (isNaN_(this.ao)) {
712
- this.ao = d.f(g);
727
+ if (isNaN_(this.ap)) {
728
+ this.ap = d.f(g);
713
729
  }
714
- if (c <= this.ao) {
730
+ if (c <= this.ap) {
715
731
  a.al = g;
716
- return this.ao;
732
+ return this.ap;
717
733
  }
718
734
  var h = d.f(e);
719
735
  if (h <= c) {
@@ -743,28 +759,28 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
743
759
  a.al = e;
744
760
  return h;
745
761
  };
746
- CanvasGridCellBase.prototype.co = function (a) {
762
+ CanvasGridCellBase.prototype.cq = function (a) {
747
763
  this.f = a;
748
764
  this.o = true;
749
765
  this.s = true;
750
766
  };
751
- CanvasGridCellBase.prototype.af = function (a) {
767
+ CanvasGridCellBase.prototype.ag = function (a) {
752
768
  return a.isClickActionDesired;
753
769
  };
754
770
  CanvasGridCellBase.prototype.onContactStarted = function (a, b) {
755
- if (this.a != null && this.af(this.a)) {
756
- this.bv = a.pageX;
757
- this.bw = a.pageY;
758
- this.a.mouseDownCell(this.bv, this.bw);
771
+ if (this.a != null && this.ag(this.a)) {
772
+ this.bx = a.pageX;
773
+ this.by = a.pageY;
774
+ this.a.mouseDownCell(this.bx, this.by);
759
775
  }
760
776
  };
761
777
  CanvasGridCellBase.prototype.onContactMoved = function (a, b) {
762
- if (this.a != null && this.af(this.a)) {
778
+ if (this.a != null && this.ag(this.a)) {
763
779
  var c = a.pageX;
764
780
  var d = a.pageY;
765
781
  if (this.a.isMouseDown) {
766
782
  if (b) {
767
- 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) {
783
+ 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) {
768
784
  this.a.mouseUpCell(c, d);
769
785
  }
770
786
  else {
@@ -776,7 +792,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
776
792
  this.a.mouseUpCell(c, d);
777
793
  }
778
794
  else {
779
- if (Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bp || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bp) {
795
+ if (Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bq || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bq) {
780
796
  this.a.isControlPressed = a.ctrlKey;
781
797
  this.a.dragStarted();
782
798
  }
@@ -786,10 +802,10 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
786
802
  }
787
803
  };
788
804
  CanvasGridCellBase.prototype.onContactCompleted = function (a, b) {
789
- if (this.a != null && this.af(this.a)) {
805
+ if (this.a != null && this.ag(this.a)) {
790
806
  var c = a.pageX;
791
807
  var d = a.pageY;
792
- 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) {
808
+ 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) {
793
809
  this.a.mouseUpCell(c, d);
794
810
  }
795
811
  if (this.a.isCellDown()) {
@@ -832,9 +848,9 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
832
848
  CanvasGridCellBase.prototype.detach = function () {
833
849
  };
834
850
  CanvasGridCellBase.$t = markType(CanvasGridCellBase, 'CanvasGridCellBase', Base.$, [INativeCell_$type]);
835
- CanvasGridCellBase.bu = new Random(0);
836
- CanvasGridCellBase.br = 10;
837
- CanvasGridCellBase.bp = 3;
851
+ CanvasGridCellBase.bw = new Random(0);
852
+ CanvasGridCellBase.bs = 10;
853
+ CanvasGridCellBase.bq = 3;
838
854
  return CanvasGridCellBase;
839
855
  }(Base));
840
856
  export { CanvasGridCellBase };