igniteui-angular-data-grids 20.0.1 → 20.0.2-beta.1

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 (240) hide show
  1. package/bundles/igniteui-angular-data-grids.umd.js +10223 -8743
  2. package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
  3. package/esm2015/lib/AccessibilityRow.js +3 -3
  4. package/esm2015/lib/CanvasCellPresenterBase.js +14 -14
  5. package/esm2015/lib/CanvasContentCellModelHelper.js +18 -18
  6. package/esm2015/lib/CanvasDateTimeCellPresenter.js +9 -9
  7. package/esm2015/lib/CanvasGridCellBase.js +9 -9
  8. package/esm2015/lib/CanvasImageCellPresenter.js +10 -10
  9. package/esm2015/lib/CanvasNumericCellPresenter.js +9 -9
  10. package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +10 -10
  11. package/esm2015/lib/CanvasSummaryCell.js +1 -1
  12. package/esm2015/lib/CanvasSummaryCellPresenter.js +8 -8
  13. package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
  14. package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
  15. package/esm2015/lib/CanvasTextCellPresenter.js +10 -10
  16. package/esm2015/lib/CanvasTextHeaderCellPresenter.js +13 -13
  17. package/esm2015/lib/CellPresenterBase.js +64 -39
  18. package/esm2015/lib/CheckboxListView_combined.js +49 -49
  19. package/esm2015/lib/ColumnChooserView_combined.js +9 -9
  20. package/esm2015/lib/ColumnFilterCondition_combined.js +6925 -6539
  21. package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
  22. package/esm2015/lib/ColumnPinningView_combined.js +11 -11
  23. package/esm2015/lib/ColumnSortDescription.js +6 -1
  24. package/esm2015/lib/ColumnSummaryDescription.js +6 -1
  25. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
  26. package/esm2015/lib/ContentCellModelHelper.js +46 -33
  27. package/esm2015/lib/DataGridCellLayoutPanel.js +19 -19
  28. package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
  29. package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
  30. package/esm2015/lib/DateTimeCellPresenter.js +10 -10
  31. package/esm2015/lib/EditorCell.js +335 -335
  32. package/esm2015/lib/EditorCellPresenter.js +28 -28
  33. package/esm2015/lib/EditorRowCell.js +1 -1
  34. package/esm2015/lib/FilterCell.js +278 -278
  35. package/esm2015/lib/FilterCellPresenter.js +18 -18
  36. package/esm2015/lib/GridCellBase.js +587 -317
  37. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
  38. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
  39. package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
  40. package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
  41. package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
  42. package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
  43. package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
  44. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
  45. package/esm2015/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -14
  46. package/esm2015/lib/GridConditionalStyleFontInfo.js +26 -0
  47. package/esm2015/lib/GridConditionalStyleProperty.js +8 -8
  48. package/esm2015/lib/GridExternalWrapper.js +6 -6
  49. package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
  50. package/esm2015/lib/GridStyleRepository.js +1 -1
  51. package/esm2015/lib/ImageCell.js +62 -62
  52. package/esm2015/lib/ImageCellPresenter.js +18 -18
  53. package/esm2015/lib/MultiColumnComboBoxView_combined.js +15 -15
  54. package/esm2015/lib/NumericCell.js +9 -5
  55. package/esm2015/lib/NumericCellPresenter.js +10 -10
  56. package/esm2015/lib/PropertyEditorView_combined.js +21 -21
  57. package/esm2015/lib/SectionHeaderCell.js +17 -17
  58. package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
  59. package/esm2015/lib/SummaryCell.js +41 -41
  60. package/esm2015/lib/SummaryCellPresenter.js +14 -14
  61. package/esm2015/lib/TemplateCell.js +16 -16
  62. package/esm2015/lib/TemplateCellPresenter.js +5 -5
  63. package/esm2015/lib/TemplateHeader.js +7 -7
  64. package/esm2015/lib/TemplateHeaderCell.js +6 -6
  65. package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
  66. package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
  67. package/esm2015/lib/TemplateSectionHeader.js +2 -2
  68. package/esm2015/lib/TextCell.js +35 -30
  69. package/esm2015/lib/TextCellDecoration.js +33 -0
  70. package/esm2015/lib/TextCellPresenter.js +11 -11
  71. package/esm2015/lib/TextHeaderCell.js +157 -150
  72. package/esm2015/lib/TextHeaderCellPresenter.js +35 -35
  73. package/esm2015/lib/VerticalSeparatorCell.js +37 -37
  74. package/esm2015/lib/igx-cell-info.js +301 -190
  75. package/esm2015/lib/igx-checkbox-list-component.js +1 -1
  76. package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
  77. package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
  78. package/esm2015/lib/igx-combo-box-column-component.js +10 -10
  79. package/esm2015/lib/igx-data-grid-column-component.js +254 -115
  80. package/esm2015/lib/igx-data-grid-component.js +38 -5
  81. package/esm2015/lib/igx-date-time-cell-info.js +12 -12
  82. package/esm2015/lib/igx-date-time-column-component.js +20 -20
  83. package/esm2015/lib/igx-definition-base-component.js +46 -45
  84. package/esm2015/lib/igx-editor-cell-info.js +23 -23
  85. package/esm2015/lib/igx-filter-cell-info.js +26 -26
  86. package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
  87. package/esm2015/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
  88. package/esm2015/lib/igx-grid-conditional-style-font-info-component.js +144 -0
  89. package/esm2015/lib/igx-grid-conditional-style-font-info-dynamic-module.js +34 -0
  90. package/esm2015/lib/igx-grid-conditional-style-font-info-module.js +27 -0
  91. package/esm2015/lib/igx-header-component.js +16 -16
  92. package/esm2015/lib/igx-image-cell-info.js +6 -6
  93. package/esm2015/lib/igx-image-column-component.js +10 -10
  94. package/esm2015/lib/igx-numeric-cell-info.js +26 -26
  95. package/esm2015/lib/igx-numeric-column-component.js +30 -30
  96. package/esm2015/lib/igx-section-header-cell-info.js +6 -6
  97. package/esm2015/lib/igx-section-header-component.js +16 -16
  98. package/esm2015/lib/igx-summary-cell-info.js +9 -9
  99. package/esm2015/lib/igx-summary-row-component.js +16 -16
  100. package/esm2015/lib/igx-template-cell-info.js +2 -2
  101. package/esm2015/lib/igx-template-header-cell-info.js +2 -2
  102. package/esm2015/lib/igx-text-cell-info.js +2 -2
  103. package/esm2015/lib/igx-text-column-component.js +8 -8
  104. package/esm2015/lib/igx-text-header-cell-info.js +10 -10
  105. package/esm2015/public_api.js +5 -0
  106. package/esm5/lib/AccessibilityRow.js +3 -3
  107. package/esm5/lib/CanvasCellPresenterBase.js +14 -14
  108. package/esm5/lib/CanvasContentCellModelHelper.js +18 -18
  109. package/esm5/lib/CanvasDateTimeCellPresenter.js +9 -9
  110. package/esm5/lib/CanvasGridCellBase.js +9 -9
  111. package/esm5/lib/CanvasImageCellPresenter.js +10 -10
  112. package/esm5/lib/CanvasNumericCellPresenter.js +9 -9
  113. package/esm5/lib/CanvasSectionHeaderCellPresenter.js +10 -10
  114. package/esm5/lib/CanvasSummaryCell.js +1 -1
  115. package/esm5/lib/CanvasSummaryCellPresenter.js +8 -8
  116. package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
  117. package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
  118. package/esm5/lib/CanvasTextCellPresenter.js +10 -10
  119. package/esm5/lib/CanvasTextHeaderCellPresenter.js +13 -13
  120. package/esm5/lib/CellPresenterBase.js +64 -39
  121. package/esm5/lib/CheckboxListView_combined.js +49 -49
  122. package/esm5/lib/ColumnChooserView_combined.js +9 -9
  123. package/esm5/lib/ColumnFilterCondition_combined.js +6754 -6269
  124. package/esm5/lib/ColumnGroupingView_combined.js +5 -5
  125. package/esm5/lib/ColumnPinningView_combined.js +11 -11
  126. package/esm5/lib/ColumnSortDescription.js +6 -1
  127. package/esm5/lib/ColumnSummaryDescription.js +6 -1
  128. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
  129. package/esm5/lib/ContentCellModelHelper.js +46 -33
  130. package/esm5/lib/DataGridCellLayoutPanel.js +19 -19
  131. package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
  132. package/esm5/lib/DataGridToolbarView_combined.js +2 -2
  133. package/esm5/lib/DateTimeCellPresenter.js +10 -10
  134. package/esm5/lib/EditorCell.js +291 -291
  135. package/esm5/lib/EditorCellPresenter.js +28 -28
  136. package/esm5/lib/EditorRowCell.js +1 -1
  137. package/esm5/lib/FilterCell.js +266 -266
  138. package/esm5/lib/FilterCellPresenter.js +18 -18
  139. package/esm5/lib/GridCellBase.js +625 -311
  140. package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
  141. package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
  142. package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
  143. package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
  144. package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
  145. package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
  146. package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
  147. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
  148. package/esm5/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -22
  149. package/esm5/lib/GridConditionalStyleFontInfo.js +32 -0
  150. package/esm5/lib/GridConditionalStyleProperty.js +8 -8
  151. package/esm5/lib/GridExternalWrapper.js +6 -6
  152. package/esm5/lib/GridFilterDialogView_combined.js +2 -2
  153. package/esm5/lib/GridStyleRepository.js +1 -1
  154. package/esm5/lib/ImageCell.js +61 -61
  155. package/esm5/lib/ImageCellPresenter.js +18 -18
  156. package/esm5/lib/MultiColumnComboBoxView_combined.js +15 -15
  157. package/esm5/lib/NumericCell.js +9 -5
  158. package/esm5/lib/NumericCellPresenter.js +10 -10
  159. package/esm5/lib/PropertyEditorView_combined.js +21 -21
  160. package/esm5/lib/SectionHeaderCell.js +17 -17
  161. package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
  162. package/esm5/lib/SummaryCell.js +41 -41
  163. package/esm5/lib/SummaryCellPresenter.js +14 -14
  164. package/esm5/lib/TemplateCell.js +16 -16
  165. package/esm5/lib/TemplateCellPresenter.js +5 -5
  166. package/esm5/lib/TemplateHeader.js +7 -7
  167. package/esm5/lib/TemplateHeaderCell.js +6 -6
  168. package/esm5/lib/TemplateHeaderCellModel.js +17 -17
  169. package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
  170. package/esm5/lib/TemplateSectionHeader.js +2 -2
  171. package/esm5/lib/TextCell.js +35 -30
  172. package/esm5/lib/TextCellDecoration.js +33 -0
  173. package/esm5/lib/TextCellPresenter.js +11 -11
  174. package/esm5/lib/TextHeaderCell.js +155 -148
  175. package/esm5/lib/TextHeaderCellPresenter.js +35 -35
  176. package/esm5/lib/VerticalSeparatorCell.js +37 -37
  177. package/esm5/lib/igx-cell-info.js +349 -190
  178. package/esm5/lib/igx-checkbox-list-component.js +1 -1
  179. package/esm5/lib/igx-column-moving-separator-component.js +6 -6
  180. package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
  181. package/esm5/lib/igx-combo-box-column-component.js +10 -10
  182. package/esm5/lib/igx-data-grid-column-component.js +302 -115
  183. package/esm5/lib/igx-data-grid-component.js +42 -5
  184. package/esm5/lib/igx-date-time-cell-info.js +12 -12
  185. package/esm5/lib/igx-date-time-column-component.js +20 -20
  186. package/esm5/lib/igx-definition-base-component.js +46 -45
  187. package/esm5/lib/igx-editor-cell-info.js +23 -23
  188. package/esm5/lib/igx-filter-cell-info.js +26 -26
  189. package/esm5/lib/igx-filter-row-definition-component.js +8 -8
  190. package/esm5/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
  191. package/esm5/lib/igx-grid-conditional-style-font-info-component.js +155 -0
  192. package/esm5/lib/igx-grid-conditional-style-font-info-dynamic-module.js +33 -0
  193. package/esm5/lib/igx-grid-conditional-style-font-info-module.js +28 -0
  194. package/esm5/lib/igx-header-component.js +16 -16
  195. package/esm5/lib/igx-image-cell-info.js +6 -6
  196. package/esm5/lib/igx-image-column-component.js +10 -10
  197. package/esm5/lib/igx-numeric-cell-info.js +26 -26
  198. package/esm5/lib/igx-numeric-column-component.js +30 -30
  199. package/esm5/lib/igx-section-header-cell-info.js +6 -6
  200. package/esm5/lib/igx-section-header-component.js +16 -16
  201. package/esm5/lib/igx-summary-cell-info.js +9 -9
  202. package/esm5/lib/igx-summary-row-component.js +16 -16
  203. package/esm5/lib/igx-template-cell-info.js +2 -2
  204. package/esm5/lib/igx-template-header-cell-info.js +2 -2
  205. package/esm5/lib/igx-text-cell-info.js +2 -2
  206. package/esm5/lib/igx-text-column-component.js +8 -8
  207. package/esm5/lib/igx-text-header-cell-info.js +10 -10
  208. package/esm5/public_api.js +5 -0
  209. package/fesm2015/igniteui-angular-data-grids.js +10236 -9009
  210. package/fesm5/igniteui-angular-data-grids.js +10219 -8745
  211. package/lib/ColumnFilterCondition_combined.d.ts +1784 -1694
  212. package/lib/ContentCellModelHelper.d.ts +4 -4
  213. package/lib/EditorCell.d.ts +74 -74
  214. package/lib/FilterCell.d.ts +61 -61
  215. package/lib/GridCellBase.d.ts +140 -95
  216. package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +2 -6
  217. package/lib/GridConditionalStyleFontInfo.d.ts +11 -0
  218. package/lib/ImageCell.d.ts +20 -20
  219. package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
  220. package/lib/NumericCell.d.ts +2 -1
  221. package/lib/SectionHeaderCell.d.ts +4 -4
  222. package/lib/SummaryCell.d.ts +11 -11
  223. package/lib/TemplateCell.d.ts +6 -6
  224. package/lib/TemplateHeader.d.ts +3 -3
  225. package/lib/TemplateHeaderCell.d.ts +3 -3
  226. package/lib/TemplateHeaderCellModel.d.ts +7 -7
  227. package/lib/TemplateSectionHeader.d.ts +2 -2
  228. package/lib/TextCell.d.ts +10 -8
  229. package/lib/TextCellDecoration.d.ts +26 -0
  230. package/lib/TextHeaderCell.d.ts +37 -35
  231. package/lib/VerticalSeparatorCell.d.ts +9 -9
  232. package/lib/igx-cell-info.d.ts +63 -0
  233. package/lib/igx-data-grid-column-component.d.ts +68 -2
  234. package/lib/igx-data-grid-component.d.ts +9 -2
  235. package/lib/igx-definition-base-component.d.ts +1 -1
  236. package/lib/igx-grid-conditional-style-font-info-component.d.ts +33 -0
  237. package/lib/igx-grid-conditional-style-font-info-dynamic-module.d.ts +9 -0
  238. package/lib/igx-grid-conditional-style-font-info-module.d.ts +8 -0
  239. package/package.json +43 -43
  240. package/public_api.d.ts +5 -0
@@ -7,14 +7,19 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
7
7
  import { __extends } from "tslib";
8
8
  import { Base, runOn, markType, PointUtil } from "igniteui-angular-core";
9
9
  import { INativeCell_$type } from "./INativeCell";
10
+ import { Rect } from "igniteui-angular-core";
11
+ import { XIcon } from "igniteui-angular-inputs";
12
+ import { SvgIconRegistry } from "igniteui-angular-core";
10
13
  import { GridExpansionIndicator } from "./GridExpansionIndicator";
11
14
  import { PlaceholderView } from "./PlaceholderView";
12
15
  import { Color } from "igniteui-angular-core";
16
+ import { FontUtil } from "igniteui-angular-core";
13
17
  import { TestRandomness } from "igniteui-angular-core";
14
18
  import { Random } from "igniteui-angular-core";
15
19
  import { DefaultRandomnessSource } from "igniteui-angular-core";
16
20
  import { DeviceUtils } from "igniteui-angular-core";
17
21
  import { intDivide, truncate, isNaN_ } from "igniteui-angular-core";
22
+ import { stringStartsWith } from "igniteui-angular-core";
18
23
  /**
19
24
  * @hidden
20
25
  */
@@ -25,69 +30,83 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
25
30
  _this.a = null;
26
31
  _this.e = null;
27
32
  _this.c = null;
28
- _this.ad = null;
29
- _this.af = null;
30
- _this.s = false;
31
- _this.ag = null;
32
- _this.i = null;
33
- _this.as = 0;
34
- _this.ap = 24;
35
- _this.ar = 0;
36
- _this.aq = 0;
37
- _this.av = 0;
38
- _this.p = false;
39
- _this.q = false;
40
- _this.r = true;
41
- _this.n = false;
42
- _this.ax = 0;
33
+ _this.ai = null;
34
+ _this.al = null;
35
+ _this.w = false;
36
+ _this.am = null;
37
+ _this.j = null;
38
+ _this.a0 = 0;
39
+ _this.ax = 24;
43
40
  _this.az = 0;
44
41
  _this.ay = 0;
45
- _this.aw = 0;
46
- _this.ak = 0;
47
- _this.am = 0;
48
- _this.al = 0;
49
- _this.aj = 0;
50
- _this.cj = null;
42
+ _this.a3 = 0;
43
+ _this.t = false;
44
+ _this.u = false;
45
+ _this.v = true;
46
+ _this.ao = null;
47
+ _this.bn = null;
48
+ _this.dl = null;
49
+ _this.m = null;
50
+ _this.x = false;
51
+ _this.bm = null;
52
+ _this.bl = null;
53
+ _this.dk = null;
54
+ _this.dj = null;
55
+ _this.dq = Rect.empty;
56
+ _this.aj = null;
57
+ _this.an = null;
58
+ _this.l = null;
59
+ _this.r = false;
60
+ _this.a5 = 0;
61
+ _this.a7 = 0;
62
+ _this.a6 = 0;
63
+ _this.a4 = 0;
64
+ _this.as = 0;
65
+ _this.au = 0;
51
66
  _this.at = 0;
67
+ _this.ar = 0;
68
+ _this.di = null;
69
+ _this.a1 = 0;
70
+ _this.ba = 0;
52
71
  _this.a2 = 0;
53
- _this.au = 0;
54
- _this.j = null;
72
+ _this.k = null;
55
73
  _this.g = 0;
56
- _this.h = 0;
57
- _this.ac = 0;
58
- _this.ab = 0;
59
- _this.t = false;
60
- _this.a8 = 0;
61
- _this.a9 = 0;
62
- _this.ai = 0;
63
- _this.a1 = -1;
64
- _this.an = 0;
65
- _this.o = false;
66
- _this.ad = a;
67
- _this.af = _this.ad.createElement("div");
68
- _this.af.setAttribute("tabindex", "-1");
69
- _this.af.setRawStyleProperty("position", "absolute");
70
- _this.af.setRawStyleProperty("overflow", "hidden");
71
- _this.af.setRawStyleProperty("box-sizing", "border-box");
72
- _this.af.setRawStyleProperty("outline", "none");
74
+ _this.i = 0;
75
+ _this.ah = 0;
76
+ _this.ag = 0;
77
+ _this.h = 1;
78
+ _this.y = false;
79
+ _this.bj = 0;
80
+ _this.bk = 0;
81
+ _this.aq = 0;
82
+ _this.a9 = -1;
83
+ _this.av = 0;
84
+ _this.s = false;
85
+ _this.ai = a;
86
+ _this.al = _this.ai.createElement("div");
87
+ _this.al.setAttribute("tabindex", "-1");
88
+ _this.al.setRawStyleProperty("position", "absolute");
89
+ _this.al.setRawStyleProperty("overflow", "hidden");
90
+ _this.al.setRawStyleProperty("box-sizing", "border-box");
91
+ _this.al.setRawStyleProperty("outline", "none");
73
92
  var b = (window.navigator.msPointerEnabled && window.MSGesture !== undefined);
74
93
  var c = (window.PointerEvent !== undefined);
75
94
  var d = (window.TouchEvent);
76
95
  if ((b || c)) {
77
- _this.af.listen("pointerdown", runOn(_this, _this.bt));
78
- _this.af.listen("pointerup", runOn(_this, _this.bx));
79
- _this.af.listen("pointermove", runOn(_this, _this.bw));
80
- _this.af.listen("pointerleave", runOn(_this, _this.bv));
81
- _this.af.listen("pointerenter", runOn(_this, _this.bu));
96
+ _this.al.listen("pointerdown", runOn(_this, _this.cm));
97
+ _this.al.listen("pointerup", runOn(_this, _this.cq));
98
+ _this.al.listen("pointermove", runOn(_this, _this.cp));
99
+ _this.al.listen("pointerleave", runOn(_this, _this.co));
100
+ _this.al.listen("pointerenter", runOn(_this, _this.cn));
82
101
  }
83
102
  else {
84
- _this.af.listen("mousedown", runOn(_this, _this.bj));
85
- _this.af.listen("mouseup", runOn(_this, _this.bn));
86
- _this.af.listen("mousemove", runOn(_this, _this.bm));
87
- _this.af.listen("mouseleave", runOn(_this, _this.bl));
88
- _this.af.listen("touchstart", runOn(_this, _this.cb));
89
- _this.af.listen("touchend", runOn(_this, _this.cd));
90
- _this.af.listen("touchmove", runOn(_this, _this.cc));
103
+ _this.al.listen("mousedown", runOn(_this, _this.b8));
104
+ _this.al.listen("mouseup", runOn(_this, _this.cc));
105
+ _this.al.listen("mousemove", runOn(_this, _this.cb));
106
+ _this.al.listen("mouseleave", runOn(_this, _this.ca));
107
+ _this.al.listen("touchstart", runOn(_this, _this.da));
108
+ _this.al.listen("touchend", runOn(_this, _this.dc));
109
+ _this.al.listen("touchmove", runOn(_this, _this.db));
91
110
  }
92
111
  return _this;
93
112
  }
@@ -112,269 +131,540 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
112
131
  enumerable: false,
113
132
  configurable: true
114
133
  });
115
- Object.defineProperty(GridCellBase.prototype, "ae", {
134
+ Object.defineProperty(GridCellBase.prototype, "ak", {
116
135
  get: function () {
117
- return this.ad;
136
+ return this.ai;
118
137
  },
119
138
  enumerable: false,
120
139
  configurable: true
121
140
  });
122
- Object.defineProperty(GridCellBase.prototype, "ah", {
141
+ Object.defineProperty(GridCellBase.prototype, "ap", {
123
142
  get: function () {
124
- return this.af;
143
+ return this.al;
125
144
  },
126
145
  enumerable: false,
127
146
  configurable: true
128
147
  });
129
148
  Object.defineProperty(GridCellBase.prototype, "isRemoved", {
130
149
  get: function () {
131
- return this.s;
150
+ return this.w;
132
151
  },
133
152
  set: function (a) {
134
- var b = this.s;
135
- this.s = a;
136
- if (b != this.s) {
137
- this.bs("IsRemoved", b, this.s);
153
+ var b = this.w;
154
+ this.w = a;
155
+ if (b != this.w) {
156
+ this.ch("IsRemoved", b, this.w);
138
157
  }
139
158
  },
140
159
  enumerable: false,
141
160
  configurable: true
142
161
  });
143
- Object.defineProperty(GridCellBase.prototype, "a5", {
162
+ Object.defineProperty(GridCellBase.prototype, "bd", {
144
163
  get: function () {
145
- return this.as;
164
+ return this.a0;
146
165
  },
147
166
  enumerable: false,
148
167
  configurable: true
149
168
  });
150
- Object.defineProperty(GridCellBase.prototype, "a3", {
169
+ Object.defineProperty(GridCellBase.prototype, "bb", {
151
170
  get: function () {
152
- return this.aq;
171
+ return this.ay;
153
172
  },
154
173
  enumerable: false,
155
174
  configurable: true
156
175
  });
157
- Object.defineProperty(GridCellBase.prototype, "a4", {
176
+ Object.defineProperty(GridCellBase.prototype, "bc", {
158
177
  get: function () {
159
- return this.ar;
178
+ return this.az;
160
179
  },
161
180
  enumerable: false,
162
181
  configurable: true
163
182
  });
164
- Object.defineProperty(GridCellBase.prototype, "a6", {
183
+ Object.defineProperty(GridCellBase.prototype, "bg", {
165
184
  get: function () {
166
- return this.av;
185
+ return this.a3;
167
186
  },
168
187
  set: function (a) {
169
- var b = this.av;
170
- this.av = a;
171
- if (b != this.av) {
172
- this.bs("Indent", b, this.av);
188
+ var b = this.a3;
189
+ this.a3 = a;
190
+ if (b != this.a3) {
191
+ this.ch("Indent", b, this.a3);
173
192
  }
174
193
  },
175
194
  enumerable: false,
176
195
  configurable: true
177
196
  });
178
- Object.defineProperty(GridCellBase.prototype, "v", {
197
+ Object.defineProperty(GridCellBase.prototype, "aa", {
179
198
  get: function () {
180
- return this.p;
199
+ return this.t;
181
200
  },
182
201
  set: function (a) {
183
- var b = this.p;
184
- this.p = a;
185
- if (b != this.p) {
186
- this.bs("IsCollapsable", b, this.p);
202
+ var b = this.t;
203
+ this.t = a;
204
+ if (b != this.t) {
205
+ this.ch("IsCollapsable", b, this.t);
187
206
  }
188
207
  },
189
208
  enumerable: false,
190
209
  configurable: true
191
210
  });
192
- Object.defineProperty(GridCellBase.prototype, "w", {
211
+ Object.defineProperty(GridCellBase.prototype, "ab", {
193
212
  get: function () {
194
- return this.q;
213
+ return this.u;
195
214
  },
196
215
  set: function (a) {
197
- var b = this.q;
198
- this.q = a;
199
- if (b != this.q) {
200
- this.bs("IsExpanded", b, this.q);
216
+ var b = this.u;
217
+ this.u = a;
218
+ if (b != this.u) {
219
+ this.ch("IsExpanded", b, this.u);
201
220
  }
202
221
  },
203
222
  enumerable: false,
204
223
  configurable: true
205
224
  });
206
- Object.defineProperty(GridCellBase.prototype, "y", {
225
+ Object.defineProperty(GridCellBase.prototype, "ad", {
207
226
  get: function () {
208
- return this.r;
227
+ return this.v;
209
228
  },
210
229
  set: function (a) {
211
- var b = this.r;
212
- this.r = a;
213
- if (b != this.r) {
214
- this.bs("IsHitTestVisible", b, this.r);
230
+ var b = this.v;
231
+ this.v = a;
232
+ if (b != this.v) {
233
+ this.ch("IsHitTestVisible", b, this.v);
215
234
  }
216
235
  },
217
236
  enumerable: false,
218
237
  configurable: true
219
238
  });
220
- GridCellBase.prototype.bi = function () {
221
- this.ar = 10;
222
- this.aq = this.a6 * 24;
223
- this.as = 24;
224
- if (this.ag == null) {
225
- this.ag = this.ad.createElement("div");
226
- this.ag.setRawStyleProperty("display", "inline-block");
227
- this.ag.setRawStyleProperty("vertical-align", "middle");
228
- this.ag.setRawStyleProperty("width", this.as + "px");
229
- this.ag.setRawStyleProperty("height", this.as + "px");
230
- this.ag.setRawStyleProperty("cursor", "pointer");
231
- this.ag.setRawStyleProperty("position", "absolute");
232
- this.ag.setRawXPosition(this.ax + this.aq);
233
- this.ag.setRawYPosition(intDivide(this.at, 2) - intDivide(this.ap, 2));
234
- }
235
- if (this.i == null) {
236
- var a = this.ad.getSubRenderer(this.ag);
237
- this.i = new GridExpansionIndicator();
238
- this.i.ab(a);
239
- this.i.y(24, 24);
240
- }
241
- if (this.ag.parent() == null) {
242
- this.af.append(this.ag);
243
- }
244
- };
245
- GridCellBase.prototype.by = function () {
246
- this.as = 0;
247
- this.ar = 0;
248
- if (this.ag != null) {
249
- if (this.ag.parent() != null) {
250
- this.ag.remove();
251
- }
252
- }
253
- };
254
- Object.defineProperty(GridCellBase.prototype, "u", {
239
+ Object.defineProperty(GridCellBase.prototype, "b0", {
255
240
  get: function () {
256
- return this.n;
241
+ return this.bn;
257
242
  },
258
243
  set: function (a) {
259
- this.n = a;
244
+ var b = this.bn;
245
+ this.bn = a;
246
+ if (b != this.bn) {
247
+ this.ch("SuffixText", b, this.bn);
248
+ }
260
249
  },
261
250
  enumerable: false,
262
251
  configurable: true
263
252
  });
264
- GridCellBase.prototype.get_z = function () {
265
- return false;
253
+ Object.defineProperty(GridCellBase.prototype, "dp", {
254
+ get: function () {
255
+ return this.dl;
256
+ },
257
+ set: function (a) {
258
+ var b = this.dl;
259
+ this.dl = a;
260
+ if (b != this.dl) {
261
+ this.ch("SuffixTextColor", b, this.dl);
262
+ }
263
+ },
264
+ enumerable: false,
265
+ configurable: true
266
+ });
267
+ Object.defineProperty(GridCellBase.prototype, "n", {
268
+ get: function () {
269
+ return this.m;
270
+ },
271
+ set: function (a) {
272
+ var b = this.m;
273
+ this.m = a;
274
+ if (b != this.m) {
275
+ this.ch("SuffixTextFont", b, this.m);
276
+ }
277
+ },
278
+ enumerable: false,
279
+ configurable: true
280
+ });
281
+ GridCellBase.prototype.ci = function () {
282
+ if (this.bn != null) {
283
+ if (this.ao == null) {
284
+ this.ao = this.ai.createElement("span");
285
+ this.ao.setRawStyleProperty("display", "inline-block");
286
+ this.ao.setRawStyleProperty("overflow", "hidden");
287
+ this.ao.setRawStyleProperty("white-space", "nowrap");
288
+ this.ao.setRawStyleProperty("margin-left", "5px");
289
+ }
290
+ this.ck();
291
+ if (!this.x) {
292
+ this.ap.setRawStyleProperty("display", "grid");
293
+ this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
294
+ this.ap.append(this.ao);
295
+ this.x = true;
296
+ }
297
+ }
298
+ else {
299
+ if (this.x) {
300
+ this.ap.setRawStyleProperty("display", "unset");
301
+ this.ap.setRawStyleProperty("grid-template-columns", "unset");
302
+ this.ap.removeChild(this.ao);
303
+ this.x = false;
304
+ }
305
+ }
306
+ };
307
+ Object.defineProperty(GridCellBase.prototype, "bw", {
308
+ get: function () {
309
+ return this.bm;
310
+ },
311
+ set: function (a) {
312
+ var b = this.bm;
313
+ this.bm = a;
314
+ if (b != this.bm) {
315
+ this.ch("SuffixIconName", b, this.bm);
316
+ }
317
+ },
318
+ enumerable: false,
319
+ configurable: true
320
+ });
321
+ Object.defineProperty(GridCellBase.prototype, "bt", {
322
+ get: function () {
323
+ return this.bl;
324
+ },
325
+ set: function (a) {
326
+ var b = this.bl;
327
+ this.bl = a;
328
+ if (b != this.bl) {
329
+ this.ch("SuffixIconCollectionName", b, this.bl);
330
+ }
331
+ },
332
+ enumerable: false,
333
+ configurable: true
334
+ });
335
+ Object.defineProperty(GridCellBase.prototype, "dn", {
336
+ get: function () {
337
+ return this.dk;
338
+ },
339
+ set: function (a) {
340
+ var b = this.dk;
341
+ this.dk = a;
342
+ if (b != this.dk) {
343
+ this.ch("SuffixIconStroke", b, this.dk);
344
+ }
345
+ },
346
+ enumerable: false,
347
+ configurable: true
348
+ });
349
+ Object.defineProperty(GridCellBase.prototype, "dm", {
350
+ get: function () {
351
+ return this.dj;
352
+ },
353
+ set: function (a) {
354
+ var b = this.dj;
355
+ this.dj = a;
356
+ if (b != this.dj) {
357
+ this.ch("SuffixIconFill", b, this.dj);
358
+ }
359
+ },
360
+ enumerable: false,
361
+ configurable: true
362
+ });
363
+ Object.defineProperty(GridCellBase.prototype, "dr", {
364
+ get: function () {
365
+ return this.dq;
366
+ },
367
+ set: function (a) {
368
+ var b = this.dq;
369
+ this.dq = a;
370
+ if (Rect.l_op_Inequality(b, this.dq)) {
371
+ this.ch("SuffixIconViewBox", b, this.dq);
372
+ }
373
+ },
374
+ enumerable: false,
375
+ configurable: true
376
+ });
377
+ GridCellBase.prototype.cj = function () {
378
+ if (this.bm != null && this.bl != null) {
379
+ if (this.l == null) {
380
+ this.an = this.ai.createElement("div");
381
+ this.aj = this.ai.getSubRenderer(this.an);
382
+ this.l = new XIcon();
383
+ this.l.provideContainer(this.aj);
384
+ this.an.setRawStyleProperty("display", "inline-block");
385
+ this.an.setRawStyleProperty("overflow", "hidden");
386
+ this.an.setRawStyleProperty("margin-left", "5px");
387
+ }
388
+ this.ck();
389
+ if (!this.x) {
390
+ this.ap.setRawStyleProperty("display", "grid");
391
+ this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
392
+ this.ap.append(this.an);
393
+ this.x = true;
394
+ }
395
+ }
396
+ else {
397
+ if (this.x) {
398
+ this.ap.setRawStyleProperty("display", "unset");
399
+ this.ap.setRawStyleProperty("grid-template-columns", "unset");
400
+ this.ap.removeChild(this.an);
401
+ this.x = false;
402
+ }
403
+ }
404
+ };
405
+ GridCellBase.prototype.ck = function () {
406
+ if (this.ao != null) {
407
+ this.c5(this.ao, this.bn);
408
+ this.c6(this.ao, this.dp);
409
+ this.cx(this.ao, this.n);
410
+ this.c7(this.ao, this.h);
411
+ }
412
+ if (this.l != null) {
413
+ this.l.ea = this.dn;
414
+ this.l.fill = this.dm;
415
+ if (!this.dr.isEmpty && !isNaN_(this.dr.left) && !isNaN_(this.dr.top) && !isNaN_(this.dr.width) && !isNaN_(this.dr.height)) {
416
+ this.l.a6 = this.dr.left;
417
+ this.l.a7 = this.dr.top;
418
+ this.l.a8 = this.dr.width;
419
+ this.l.a5 = this.dr.height;
420
+ }
421
+ this.c4(this.an, this.dn);
422
+ this.cw(this.an, this.dm);
423
+ this.c7(this.an, this.h);
424
+ this.c0(this.l, this.bt, this.bw);
425
+ }
426
+ };
427
+ GridCellBase.prototype.c0 = function (a, b, c) {
428
+ a.svg = null;
429
+ a.svgPath = null;
430
+ a.b = null;
431
+ a.b0 = null;
432
+ a.bh = null;
433
+ var d = SvgIconRegistry.instance.getSvgPathString(this.bl, this.bm);
434
+ if (d != null) {
435
+ if (stringStartsWith(d, "<svg")) {
436
+ a.svg = d;
437
+ }
438
+ else {
439
+ a.svgPath = d;
440
+ }
441
+ return;
442
+ }
443
+ var e = SvgIconRegistry.instance.getSvgPathsString(this.bl, this.bm);
444
+ if (e != null) {
445
+ a.b = e;
446
+ return;
447
+ }
448
+ var f = SvgIconRegistry.instance.getDataURLString(this.bl, this.bm);
449
+ if (f != null) {
450
+ a.b0 = f;
451
+ return;
452
+ }
453
+ var g = SvgIconRegistry.instance.getIconSource(this.bl, this.bm);
454
+ if (g != null) {
455
+ a.bh = g;
456
+ }
457
+ };
458
+ GridCellBase.prototype.b7 = function () {
459
+ this.az = 10;
460
+ this.ay = this.bg * 24;
461
+ this.a0 = 24;
462
+ if (this.am == null) {
463
+ this.am = this.ai.createElement("div");
464
+ this.am.setRawStyleProperty("display", "inline-block");
465
+ this.am.setRawStyleProperty("vertical-align", "middle");
466
+ this.am.setRawStyleProperty("width", this.a0 + "px");
467
+ this.am.setRawStyleProperty("height", this.a0 + "px");
468
+ this.am.setRawStyleProperty("cursor", "pointer");
469
+ this.am.setRawStyleProperty("position", "absolute");
470
+ this.am.setRawXPosition(this.a5 + this.ay);
471
+ this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.ax, 2));
472
+ }
473
+ if (this.j == null) {
474
+ var a = this.ai.getSubRenderer(this.am);
475
+ this.j = new GridExpansionIndicator();
476
+ this.j.ab(a);
477
+ this.j.y(24, 24);
478
+ }
479
+ if (this.am.parent() == null) {
480
+ this.al.append(this.am);
481
+ }
482
+ };
483
+ GridCellBase.prototype.cr = function () {
484
+ this.a0 = 0;
485
+ this.az = 0;
486
+ if (this.am != null) {
487
+ if (this.am.parent() != null) {
488
+ this.am.remove();
489
+ }
490
+ }
266
491
  };
267
492
  Object.defineProperty(GridCellBase.prototype, "z", {
268
493
  get: function () {
269
- return this.get_z();
494
+ return this.r;
495
+ },
496
+ set: function (a) {
497
+ this.r = a;
270
498
  },
271
499
  enumerable: false,
272
500
  configurable: true
273
501
  });
274
- GridCellBase.prototype.b7 = function (a, b, c, d) {
275
- this.ax = a;
276
- this.az = b;
277
- this.ay = c;
278
- this.aw = d;
279
- this.af.setRawStyleProperty("padding-left", a.toString() + "px");
280
- this.af.setRawStyleProperty("padding-top", b.toString() + "px");
281
- this.af.setRawStyleProperty("padding-right", c.toString() + "px");
282
- this.af.setRawStyleProperty("padding-bottom", d.toString() + "px");
283
- };
284
- GridCellBase.prototype.b1 = function (a, b, c, d, e) {
285
- this.ak = b;
286
- this.am = c;
287
- this.al = d;
288
- this.aj = e;
289
- this.cj = a;
502
+ GridCellBase.prototype.get_ae = function () {
503
+ return false;
504
+ };
505
+ Object.defineProperty(GridCellBase.prototype, "ae", {
506
+ get: function () {
507
+ return this.get_ae();
508
+ },
509
+ enumerable: false,
510
+ configurable: true
511
+ });
512
+ GridCellBase.prototype.c3 = function (a, b, c, d) {
513
+ this.a5 = a;
514
+ this.a7 = b;
515
+ this.a6 = c;
516
+ this.a4 = d;
517
+ this.al.setRawStyleProperty("padding-left", a.toString() + "px");
518
+ this.al.setRawStyleProperty("padding-top", b.toString() + "px");
519
+ this.al.setRawStyleProperty("padding-right", c.toString() + "px");
520
+ this.al.setRawStyleProperty("padding-bottom", d.toString() + "px");
521
+ };
522
+ GridCellBase.prototype.cu = function (a, b, c, d, e) {
523
+ this.as = b;
524
+ this.au = c;
525
+ this.at = d;
526
+ this.ar = e;
527
+ this.di = a;
290
528
  if (a == null) {
291
- this.af.setRawStyleProperty("border", "");
529
+ this.al.setRawStyleProperty("border", "");
292
530
  }
293
531
  else {
294
- this.af.setRawStyleProperty("border-color", a._fill);
295
- this.af.setRawStyleProperty("border-left-width", b.toString() + "px");
296
- this.af.setRawStyleProperty("border-top-width", c.toString() + "px");
297
- this.af.setRawStyleProperty("border-right-width", d.toString() + "px");
298
- this.af.setRawStyleProperty("border-bottom-width", e.toString() + "px");
299
- this.af.setRawStyleProperty("border-style", "solid");
532
+ this.al.setRawStyleProperty("border-color", a._fill);
533
+ this.al.setRawStyleProperty("border-left-width", b.toString() + "px");
534
+ this.al.setRawStyleProperty("border-top-width", c.toString() + "px");
535
+ this.al.setRawStyleProperty("border-right-width", d.toString() + "px");
536
+ this.al.setRawStyleProperty("border-bottom-width", e.toString() + "px");
537
+ this.al.setRawStyleProperty("border-style", "solid");
300
538
  }
301
539
  };
302
- GridCellBase.prototype.get_x = function () {
540
+ GridCellBase.prototype.get_ac = function () {
303
541
  return false;
304
542
  };
305
- Object.defineProperty(GridCellBase.prototype, "x", {
543
+ Object.defineProperty(GridCellBase.prototype, "ac", {
306
544
  get: function () {
307
- return this.get_x();
545
+ return this.get_ac();
308
546
  },
309
547
  enumerable: false,
310
548
  configurable: true
311
549
  });
312
- GridCellBase.prototype.b3 = function (a, b) {
313
- if (this.at != a || this.au != b) {
314
- var c = this.at;
315
- this.at = a;
316
- this.au = b;
317
- var d = Math.max(0, this.at - this.au);
318
- this.af.setRawStyleProperty("height", a.toString() + "px");
319
- this.af.setRawStyleProperty("line-height", d.toString() + "px");
320
- if (this.ag != null) {
321
- this.ag.setRawYPosition(intDivide(this.at, 2) - intDivide(this.as, 2));
550
+ Object.defineProperty(GridCellBase.prototype, "be", {
551
+ get: function () {
552
+ return this.a1;
553
+ },
554
+ enumerable: false,
555
+ configurable: true
556
+ });
557
+ Object.defineProperty(GridCellBase.prototype, "bh", {
558
+ get: function () {
559
+ return this.ba;
560
+ },
561
+ enumerable: false,
562
+ configurable: true
563
+ });
564
+ Object.defineProperty(GridCellBase.prototype, "bf", {
565
+ get: function () {
566
+ return this.a2;
567
+ },
568
+ enumerable: false,
569
+ configurable: true
570
+ });
571
+ GridCellBase.prototype.cy = function (a, b) {
572
+ if (this.a1 != a || this.a2 != b) {
573
+ var c = this.a1;
574
+ this.a1 = a;
575
+ this.a2 = b;
576
+ var d = Math.max(0, this.a1 - this.a2);
577
+ this.al.setRawStyleProperty("height", a.toString() + "px");
578
+ if (this.am != null) {
579
+ this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.a0, 2));
322
580
  }
323
- this.ca(this.a2, this.at, this.a2, c);
581
+ this.c9(this.ba, this.a1, this.ba, c);
324
582
  }
325
583
  };
326
- GridCellBase.prototype.b9 = function (a, b) {
327
- if (this.a2 != a) {
328
- var c = this.a2;
329
- this.a2 = a;
330
- this.af.setRawStyleProperty("width", a.toString() + "px");
331
- this.ca(this.a2, this.at, c, this.at);
584
+ GridCellBase.prototype.c8 = function (a, b) {
585
+ if (this.ba != a) {
586
+ var c = this.ba;
587
+ this.ba = a;
588
+ this.al.setRawStyleProperty("width", a.toString() + "px");
589
+ this.c9(this.ba, this.a1, c, this.a1);
332
590
  }
333
591
  };
334
- GridCellBase.prototype.ca = function (a, b, c, d) {
592
+ GridCellBase.prototype.c9 = function (a, b, c, d) {
335
593
  };
336
- GridCellBase.prototype.bg = function () {
337
- if (!this.z) {
594
+ GridCellBase.prototype.b5 = function () {
595
+ if (!this.ae) {
338
596
  return;
339
597
  }
340
- this.n = true;
341
- this.j = new PlaceholderView(this.ad);
598
+ this.r = true;
599
+ this.k = new PlaceholderView(this.ai);
342
600
  this.g = 0;
343
- this.h = 1;
344
- this.j.l = Color.u(120, 120, 120, 120);
345
- this.j.i = 0;
346
- this.af.append(this.j.g);
601
+ this.i = 1;
602
+ this.k.l = Color.u(120, 120, 120, 120);
603
+ this.k.i = 0;
604
+ this.al.append(this.k.g);
605
+ };
606
+ GridCellBase.prototype.ct = function (a) {
607
+ this.al.setRawStyleProperty("background-color", a.colorString);
608
+ };
609
+ GridCellBase.prototype.c2 = function (a) {
610
+ this.al.setRawStyleProperty("opacity", a.toString());
347
611
  };
348
- GridCellBase.prototype.b0 = function (a) {
349
- this.af.setRawStyleProperty("background-color", a.colorString);
612
+ GridCellBase.prototype.cx = function (a, b) {
613
+ if (b == null) {
614
+ b = FontUtil.getDefaultFont(this.ak);
615
+ }
616
+ a.setRawStyleProperty("font", b.fontString);
350
617
  };
351
- GridCellBase.prototype.b6 = function (a) {
352
- this.af.setRawStyleProperty("opacity", a.toString());
618
+ GridCellBase.prototype.c6 = function (a, b) {
619
+ var c = Color.u(0, 0, 0, 0);
620
+ if (b != null) {
621
+ c = b.color;
622
+ }
623
+ a.setRawStyleProperty("color", c.colorString);
353
624
  };
354
- GridCellBase.prototype.m = function () {
625
+ GridCellBase.prototype.c4 = function (a, b) {
626
+ var c = Color.u(0, 0, 0, 0);
627
+ if (b != null) {
628
+ c = b.color;
629
+ }
630
+ a.setRawStyleProperty("stroke", c.colorString);
631
+ };
632
+ GridCellBase.prototype.cw = function (a, b) {
633
+ var c = Color.u(0, 0, 0, 0);
634
+ if (b != null) {
635
+ c = b.color;
636
+ }
637
+ a.setRawStyleProperty("fill", c.colorString);
638
+ };
639
+ GridCellBase.prototype.c5 = function (a, b) {
640
+ if (a != null) {
641
+ a.setRawText(b);
642
+ }
643
+ };
644
+ GridCellBase.prototype.q = function () {
355
645
  if (TestRandomness.instance.testRandomnessSource != null) {
356
646
  return TestRandomness.instance.testRandomnessSource;
357
647
  }
358
- return new DefaultRandomnessSource(1, GridCellBase.a7);
648
+ return new DefaultRandomnessSource(1, GridCellBase.bi);
359
649
  };
360
- GridCellBase.prototype.l = function () {
361
- var a = this.m();
650
+ GridCellBase.prototype.p = function () {
651
+ var a = this.q();
362
652
  return a.getGenerator("PlaceholderWidths");
363
653
  };
364
- GridCellBase.prototype.ci = function (a) {
365
- if (!this.z) {
654
+ GridCellBase.prototype.dh = function (a) {
655
+ if (!this.ae) {
366
656
  return;
367
657
  }
368
- this.j.i = (a * 0.20000000298023224);
658
+ this.k.i = (a * 0.20000000298023224);
369
659
  };
370
- GridCellBase.prototype.cg = function (a, b, c, d) {
371
- if (this.j != null) {
372
- var e = this.ac;
373
- var f = this.ab;
374
- if (this.h == 1) {
660
+ GridCellBase.prototype.df = function (a, b, c, d) {
661
+ if (this.k != null) {
662
+ var e = this.ah;
663
+ var f = this.ag;
664
+ if (this.i == 1) {
375
665
  b = truncate((b + (d / 2) - (f / 2)));
376
666
  }
377
- else if (this.h == 2) {
667
+ else if (this.i == 2) {
378
668
  b = truncate((b + (d) - (f)));
379
669
  }
380
670
  if (this.g == 1) {
@@ -383,182 +673,192 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
383
673
  else if (this.g == 2) {
384
674
  a = truncate((a + (c) - (e)));
385
675
  }
386
- this.j.g.setRawXPosition(a);
387
- this.j.g.setRawYPosition(b);
676
+ this.k.g.setRawXPosition(a);
677
+ this.k.g.setRawYPosition(b);
388
678
  }
389
679
  };
390
- GridCellBase.prototype.bq = function (a, b, c) {
680
+ GridCellBase.prototype.cf = function (a, b, c) {
681
+ };
682
+ GridCellBase.prototype.cl = function (a) {
683
+ this.h = a;
684
+ if (this.ao != null) {
685
+ this.c7(this.ao, a);
686
+ }
391
687
  };
392
- GridCellBase.prototype.ch = function (a) {
393
- if (!this.z) {
688
+ GridCellBase.prototype.dg = function (a) {
689
+ if (!this.ae) {
394
690
  return;
395
691
  }
396
692
  var b = DeviceUtils.f(12);
397
- if (a.ag != null && !isNaN_(a.ag.f)) {
398
- b = a.ag.f;
693
+ if (a.aj != null && !isNaN_(a.aj.f)) {
694
+ b = a.aj.f;
399
695
  }
400
- if (this.ab != b) {
401
- this.ab = b;
402
- this.j.d = (b);
696
+ if (this.ag != b) {
697
+ this.ag = b;
698
+ this.k.d = (b);
403
699
  }
404
- var c = a.he * 0.2;
405
- var d = a.fu * 0.6;
406
- if (this.ac >= c && this.ac <= d && !this.t) {
700
+ var c = a.h2 * 0.2;
701
+ var d = a.f6 * 0.6;
702
+ if (this.ah >= c && this.ah <= d && !this.y) {
407
703
  return;
408
704
  }
409
- this.t = false;
410
- if (GridCellBase.k == null) {
411
- GridCellBase.k = this.l();
705
+ this.y = false;
706
+ if (GridCellBase.o == null) {
707
+ GridCellBase.o = this.p();
412
708
  }
413
- var e = (GridCellBase.k.nextDouble() * (d - c) + c);
414
- if (this.ac != e) {
415
- this.ac = e;
416
- this.j.e = e;
709
+ var e = (GridCellBase.o.nextDouble() * (d - c) + c);
710
+ if (this.ah != e) {
711
+ this.ah = e;
712
+ this.k.e = e;
417
713
  }
418
- this.cg(this.ax + this.aq + this.as, this.az, this.a2 - (this.ax + this.ay), this.at - (this.az + this.aw));
714
+ this.df(this.a5 + this.ay + this.a0, this.a7, this.ba - (this.a5 + this.a6), this.a1 - (this.a7 + this.a4));
419
715
  };
420
- GridCellBase.prototype.ce = function (a, b) {
421
- if (!this.z) {
716
+ GridCellBase.prototype.dd = function (a, b) {
717
+ if (!this.ae) {
422
718
  return;
423
719
  }
424
720
  this.g = a;
425
- this.h = b;
426
- this.t = true;
721
+ this.i = b;
722
+ this.y = true;
427
723
  };
428
- GridCellBase.prototype.cf = function (a) {
429
- if (!this.z) {
724
+ GridCellBase.prototype.de = function (a) {
725
+ if (!this.ae) {
430
726
  return;
431
727
  }
432
728
  if (a != null) {
433
- this.j.l = a.color;
729
+ this.k.l = a.color;
434
730
  }
435
731
  };
436
- GridCellBase.prototype.bz = function (a) {
732
+ GridCellBase.prototype.cs = function (a) {
437
733
  this.a = a;
438
734
  };
439
- GridCellBase.prototype.b5 = function (a) {
735
+ GridCellBase.prototype.c1 = function (a) {
440
736
  this.e = a;
441
737
  };
442
- GridCellBase.prototype.b2 = function (a) {
738
+ GridCellBase.prototype.cv = function (a) {
443
739
  this.c = a;
444
740
  };
445
- GridCellBase.prototype.b4 = function (a, b) {
741
+ GridCellBase.prototype.cz = function (a, b) {
446
742
  switch (b) {
447
743
  case 0:
448
- this.ah.setRawStyleProperty("text-align", "left");
744
+ this.ap.setRawStyleProperty("text-align", "left");
449
745
  break;
450
746
  case 1:
451
- this.ah.setRawStyleProperty("text-align", "center");
747
+ this.ap.setRawStyleProperty("text-align", "center");
452
748
  break;
453
749
  case 2:
454
- this.ah.setRawStyleProperty("text-align", "right");
750
+ this.ap.setRawStyleProperty("text-align", "right");
455
751
  break;
456
752
  case 3:
457
- this.ah.setRawStyleProperty("text-align", "center");
753
+ this.ap.setRawStyleProperty("text-align", "center");
458
754
  break;
459
755
  }
460
756
  };
461
- GridCellBase.prototype.b8 = function (a, b) {
757
+ GridCellBase.prototype.c7 = function (a, b) {
462
758
  switch (b) {
463
759
  case 0:
464
760
  a.setRawStyleProperty("vertical-align", "top");
761
+ a.setRawStyleProperty("align-self", "flex-start");
465
762
  break;
466
763
  case 1:
467
- a.setRawStyleProperty("vertical-align", "center");
764
+ a.setRawStyleProperty("vertical-align", "middle");
765
+ a.setRawStyleProperty("align-self", "center");
468
766
  break;
469
767
  case 2:
470
768
  a.setRawStyleProperty("vertical-align", "bottom");
769
+ a.setRawStyleProperty("align-self", "flex-end");
471
770
  break;
472
771
  case 3:
473
772
  a.setRawStyleProperty("vertical-align", "center");
773
+ a.setRawStyleProperty("align-self", "center");
474
774
  break;
475
775
  }
476
776
  };
477
- GridCellBase.prototype.aa = function (a) {
777
+ GridCellBase.prototype.af = function (a) {
478
778
  return a.isClickActionDesired;
479
779
  };
480
- GridCellBase.prototype.bj = function (a) {
780
+ GridCellBase.prototype.b8 = function (a) {
481
781
  this.onContactStarted(a, false);
482
782
  };
483
- GridCellBase.prototype.bn = function (a) {
783
+ GridCellBase.prototype.cc = function (a) {
484
784
  this.onContactCompleted(a, false);
485
785
  };
486
- GridCellBase.prototype.bm = function (a) {
786
+ GridCellBase.prototype.cb = function (a) {
487
787
  this.onContactMoved(a, false);
488
788
  };
489
- GridCellBase.prototype.bl = function (a) {
490
- this.bp(a, false);
789
+ GridCellBase.prototype.ca = function (a) {
790
+ this.ce(a, false);
491
791
  };
492
- GridCellBase.prototype.bk = function (a) {
493
- this.bo(a, false);
792
+ GridCellBase.prototype.b9 = function (a) {
793
+ this.cd(a, false);
494
794
  };
495
- GridCellBase.prototype.bt = function (e_) {
795
+ GridCellBase.prototype.cm = function (e_) {
496
796
  var a = (e_.originalEvent.pointerType);
497
797
  if (a == "touch") {
498
- this.cb(e_);
798
+ this.da(e_);
499
799
  }
500
800
  else {
501
- this.bj(e_);
801
+ this.b8(e_);
502
802
  }
503
803
  };
504
- GridCellBase.prototype.bw = function (e_) {
804
+ GridCellBase.prototype.cp = function (e_) {
505
805
  var a = (e_.originalEvent.pointerType);
506
806
  if (a == "touch") {
507
- this.cc(e_);
807
+ this.db(e_);
508
808
  }
509
809
  else {
510
- this.bm(e_);
810
+ this.cb(e_);
511
811
  }
512
812
  };
513
- GridCellBase.prototype.bx = function (e_) {
813
+ GridCellBase.prototype.cq = function (e_) {
514
814
  var a = (e_.originalEvent.pointerType);
515
815
  if (a == "touch") {
516
- this.cd(e_);
816
+ this.dc(e_);
517
817
  }
518
818
  else {
519
- this.bn(e_);
819
+ this.cc(e_);
520
820
  }
521
821
  };
522
- GridCellBase.prototype.bv = function (e_) {
822
+ GridCellBase.prototype.co = function (e_) {
523
823
  var a = (e_.originalEvent.pointerType);
524
824
  if (a != "touch") {
525
- this.bl(e_);
825
+ this.ca(e_);
526
826
  }
527
827
  };
528
- GridCellBase.prototype.bu = function (e_) {
828
+ GridCellBase.prototype.cn = function (e_) {
529
829
  var a = (e_.originalEvent.pointerType);
530
830
  if (a != "touch") {
531
- this.bk(e_);
831
+ this.b9(e_);
532
832
  }
533
833
  };
534
- GridCellBase.prototype.cb = function (a) {
834
+ GridCellBase.prototype.da = function (a) {
535
835
  this.onContactStarted(a, true);
536
836
  };
537
- GridCellBase.prototype.cc = function (a) {
837
+ GridCellBase.prototype.db = function (a) {
538
838
  this.onContactMoved(a, true);
539
839
  };
540
- GridCellBase.prototype.cd = function (a) {
840
+ GridCellBase.prototype.dc = function (a) {
541
841
  this.onContactCompleted(a, true);
542
842
  };
543
843
  GridCellBase.prototype.onContactStarted = function (e_, a) {
544
844
  var b = false;
545
- if (this.v) {
546
- var indicator_ = this.i.q();
845
+ if (this.aa) {
846
+ var indicator_ = this.j.q();
547
847
  b = (e_.originalEvent.srcElement === indicator_ || e_.originalEvent.target === indicator_);
548
848
  }
549
- this.o = false;
849
+ this.s = false;
550
850
  if (b) {
551
- this.o = true;
851
+ this.s = true;
552
852
  }
553
853
  else {
554
- if (this.a != null && this.aa(this.a)) {
555
- this.a8 = e_.pageX;
556
- this.a9 = e_.pageY;
557
- if (this.a1 != e_.which) {
558
- this.an = 0;
854
+ if (this.a != null && this.af(this.a)) {
855
+ this.bj = e_.pageX;
856
+ this.bk = e_.pageY;
857
+ if (this.a9 != e_.which) {
858
+ this.av = 0;
559
859
  }
560
- this.a1 = e_.which;
561
- this.a.mouseDownCell(this.a8, this.a9);
860
+ this.a9 = e_.which;
861
+ this.a.mouseDownCell(this.bj, this.bk);
562
862
  }
563
863
  }
564
864
  };
@@ -566,10 +866,10 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
566
866
  if (this.a != null) {
567
867
  var c = a.pageX;
568
868
  var d = a.pageY;
569
- if (this.aa(this.a)) {
869
+ if (this.af(this.a)) {
570
870
  if (this.a.isMouseDown) {
571
871
  if (b) {
572
- if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.a0 || Math.abs(d - this.a.mousePosition.y) > GridCellBase.a0) {
872
+ if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.a8 || Math.abs(d - this.a.mousePosition.y) > GridCellBase.a8) {
573
873
  this.a.mouseUpCell(c, d);
574
874
  }
575
875
  else {
@@ -580,8 +880,8 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
580
880
  if (PointUtil.equals(this.a.mousePosition, null)) {
581
881
  this.a.mouseUpCell(c, d);
582
882
  }
583
- else if (this.a1 == 1) {
584
- if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.ao || Math.abs(d - this.a.mousePosition.y) > GridCellBase.ao) {
883
+ else if (this.a9 == 1) {
884
+ if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.aw || Math.abs(d - this.a.mousePosition.y) > GridCellBase.aw) {
585
885
  this.a.isControlPressed = a.ctrlKey;
586
886
  this.a.dragStarted();
587
887
  }
@@ -596,28 +896,28 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
596
896
  };
597
897
  GridCellBase.prototype.onContactCompleted = function (e_, a) {
598
898
  var _this = this;
599
- this.an++;
600
- window.setTimeout(function () { return _this.an = 0; }, 250);
899
+ this.av++;
900
+ window.setTimeout(function () { return _this.av = 0; }, 250);
601
901
  var b = false;
602
- if (this.v) {
603
- var indicator_ = this.i.q();
902
+ if (this.aa) {
903
+ var indicator_ = this.j.q();
604
904
  b = (e_.originalEvent.srcElement === indicator_ || e_.originalEvent.target === indicator_);
605
905
  }
606
- if (this.o && b) {
906
+ if (this.s && b) {
607
907
  this.b.clickExpansionIndicator();
608
908
  }
609
909
  else {
610
- if (this.a != null && this.aa(this.a)) {
910
+ if (this.a != null && this.af(this.a)) {
611
911
  var c = e_.pageX;
612
912
  var d = e_.pageY;
613
- if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.a0 || Math.abs(d - this.a.mousePosition.y) > GridCellBase.a0 || this.a.isDrag) {
913
+ if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.a8 || Math.abs(d - this.a.mousePosition.y) > GridCellBase.a8 || this.a.isDrag) {
614
914
  this.a.mouseUpCell(c, d);
615
915
  }
616
916
  if (this.a.isCellDown()) {
617
917
  this.a.isControlPressed = e_.ctrlKey;
618
918
  this.a.isShiftPressed = e_.shiftKey;
619
- if (this.an > 1) {
620
- switch (this.a1) {
919
+ if (this.av > 1) {
920
+ switch (this.a9) {
621
921
  case 1:
622
922
  this.a.doubleClicked(0);
623
923
  break;
@@ -652,11 +952,11 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
652
952
  }
653
953
  }
654
954
  }
655
- this.o = false;
955
+ this.s = false;
656
956
  };
657
- GridCellBase.prototype.bp = function (a, b) {
957
+ GridCellBase.prototype.ce = function (a, b) {
658
958
  if (this.a != null) {
659
- if (this.aa(this.a)) {
959
+ if (this.af(this.a)) {
660
960
  if (this.a.isMouseDown) {
661
961
  if (!b && PointUtil.notEquals(this.a.mousePosition, null)) {
662
962
  this.a.isControlPressed = a.ctrlKey;
@@ -671,7 +971,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
671
971
  }
672
972
  }
673
973
  };
674
- GridCellBase.prototype.bo = function (a, b) {
974
+ GridCellBase.prototype.cd = function (a, b) {
675
975
  if (this.a != null && this.a.isEnterActionDesired) {
676
976
  var c = a.pageX;
677
977
  var d = a.pageY;
@@ -680,52 +980,66 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
680
980
  };
681
981
  GridCellBase.prototype.onDoubleClick = function (a) {
682
982
  };
683
- GridCellBase.prototype.bs = function (a, b, c) {
983
+ GridCellBase.prototype.ch = function (a, b, c) {
684
984
  switch (a) {
685
985
  case "Indent":
686
- this.aq = this.a6 * 24;
687
- this.ar = this.a6 > 0 ? 10 : 0;
688
- if (this.ag != null) {
689
- this.ag.setRawXPosition(this.ax + this.aq);
690
- this.ag.setRawYPosition(intDivide(this.at, 2) - intDivide(this.ap, 2));
986
+ this.ay = this.bg * 24;
987
+ this.az = this.bg > 0 ? 10 : 0;
988
+ if (this.am != null) {
989
+ this.am.setRawXPosition(this.a5 + this.ay);
990
+ this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.ax, 2));
691
991
  }
692
992
  break;
693
993
  case "IsCollapsable":
694
- if (this.v) {
695
- this.bi();
994
+ if (this.aa) {
995
+ this.b7();
696
996
  }
697
997
  else {
698
- this.by();
998
+ this.cr();
699
999
  }
700
1000
  break;
701
1001
  case "IsExpanded":
702
- if (this.i != null) {
703
- this.i.g = this.w;
1002
+ if (this.j != null) {
1003
+ this.j.g = this.ab;
704
1004
  }
705
1005
  break;
706
1006
  case "IsHitTestVisible":
707
- this.ah.setRawStyleProperty("pointer-events", this.y ? "auto" : "none");
1007
+ this.ap.setRawStyleProperty("pointer-events", this.ad ? "auto" : "none");
1008
+ break;
1009
+ case "SuffixText":
1010
+ this.ci();
1011
+ break;
1012
+ case "SuffixIconName":
1013
+ case "SuffixIconCollectionName":
1014
+ this.cj();
1015
+ break;
1016
+ case "SuffixTextColor":
1017
+ case "SuffixTextFont":
1018
+ case "SuffixIconStroke":
1019
+ case "SuffixIconFill":
1020
+ case "SuffixIconViewBox":
1021
+ this.ck();
708
1022
  break;
709
1023
  }
710
1024
  };
711
- GridCellBase.prototype.br = function () {
1025
+ GridCellBase.prototype.cg = function () {
712
1026
  };
713
- GridCellBase.prototype.bh = function () {
714
- this.af.focus(true);
1027
+ GridCellBase.prototype.b6 = function () {
1028
+ this.al.focus(true);
715
1029
  };
716
- GridCellBase.prototype.bf = function () {
1030
+ GridCellBase.prototype.b4 = function () {
717
1031
  if (this.a != null) {
718
- var a = this.af.clone();
1032
+ var a = this.al.clone();
719
1033
  this.a.passCellClone(a);
720
1034
  }
721
1035
  };
722
1036
  GridCellBase.prototype.detach = function () {
723
1037
  };
724
1038
  GridCellBase.$t = markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
725
- GridCellBase.k = null;
726
- GridCellBase.a7 = new Random(0);
727
- GridCellBase.a0 = 10;
728
- GridCellBase.ao = 3;
1039
+ GridCellBase.o = null;
1040
+ GridCellBase.bi = new Random(0);
1041
+ GridCellBase.a8 = 10;
1042
+ GridCellBase.aw = 3;
729
1043
  return GridCellBase;
730
1044
  }(Base));
731
1045
  export { GridCellBase };