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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +4 -4
  240. package/public_api.d.ts +5 -0
@@ -6,14 +6,19 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
6
6
  */
7
7
  import { Base, runOn, markType, PointUtil } from "igniteui-angular-core";
8
8
  import { INativeCell_$type } from "./INativeCell";
9
+ import { Rect } from "igniteui-angular-core";
10
+ import { XIcon } from "igniteui-angular-inputs";
11
+ import { SvgIconRegistry } from "igniteui-angular-core";
9
12
  import { GridExpansionIndicator } from "./GridExpansionIndicator";
10
13
  import { PlaceholderView } from "./PlaceholderView";
11
14
  import { Color } from "igniteui-angular-core";
15
+ import { FontUtil } from "igniteui-angular-core";
12
16
  import { TestRandomness } from "igniteui-angular-core";
13
17
  import { Random } from "igniteui-angular-core";
14
18
  import { DefaultRandomnessSource } from "igniteui-angular-core";
15
19
  import { DeviceUtils } from "igniteui-angular-core";
16
20
  import { intDivide, truncate, isNaN_ } from "igniteui-angular-core";
21
+ import { stringStartsWith } from "igniteui-angular-core";
17
22
  /**
18
23
  * @hidden
19
24
  */
@@ -24,69 +29,83 @@ export let GridCellBase = /*@__PURE__*/ (() => {
24
29
  this.a = null;
25
30
  this.e = null;
26
31
  this.c = null;
27
- this.ad = null;
28
- this.af = null;
29
- this.s = false;
30
- this.ag = null;
31
- this.i = null;
32
- this.as = 0;
33
- this.ap = 24;
34
- this.ar = 0;
35
- this.aq = 0;
36
- this.av = 0;
37
- this.p = false;
38
- this.q = false;
39
- this.r = true;
40
- this.n = false;
41
- this.ax = 0;
32
+ this.ai = null;
33
+ this.al = null;
34
+ this.w = false;
35
+ this.am = null;
36
+ this.j = null;
37
+ this.a0 = 0;
38
+ this.ax = 24;
42
39
  this.az = 0;
43
40
  this.ay = 0;
44
- this.aw = 0;
45
- this.ak = 0;
46
- this.am = 0;
47
- this.al = 0;
48
- this.aj = 0;
49
- this.cj = null;
41
+ this.a3 = 0;
42
+ this.t = false;
43
+ this.u = false;
44
+ this.v = true;
45
+ this.ao = null;
46
+ this.bn = null;
47
+ this.dl = null;
48
+ this.m = null;
49
+ this.x = false;
50
+ this.bm = null;
51
+ this.bl = null;
52
+ this.dk = null;
53
+ this.dj = null;
54
+ this.dq = Rect.empty;
55
+ this.aj = null;
56
+ this.an = null;
57
+ this.l = null;
58
+ this.r = false;
59
+ this.a5 = 0;
60
+ this.a7 = 0;
61
+ this.a6 = 0;
62
+ this.a4 = 0;
63
+ this.as = 0;
64
+ this.au = 0;
50
65
  this.at = 0;
66
+ this.ar = 0;
67
+ this.di = null;
68
+ this.a1 = 0;
69
+ this.ba = 0;
51
70
  this.a2 = 0;
52
- this.au = 0;
53
- this.j = null;
71
+ this.k = null;
54
72
  this.g = 0;
55
- this.h = 0;
56
- this.ac = 0;
57
- this.ab = 0;
58
- this.t = false;
59
- this.a8 = 0;
60
- this.a9 = 0;
61
- this.ai = 0;
62
- this.a1 = -1;
63
- this.an = 0;
64
- this.o = false;
65
- this.ad = a;
66
- this.af = this.ad.createElement("div");
67
- this.af.setAttribute("tabindex", "-1");
68
- this.af.setRawStyleProperty("position", "absolute");
69
- this.af.setRawStyleProperty("overflow", "hidden");
70
- this.af.setRawStyleProperty("box-sizing", "border-box");
71
- this.af.setRawStyleProperty("outline", "none");
73
+ this.i = 0;
74
+ this.ah = 0;
75
+ this.ag = 0;
76
+ this.h = 1;
77
+ this.y = false;
78
+ this.bj = 0;
79
+ this.bk = 0;
80
+ this.aq = 0;
81
+ this.a9 = -1;
82
+ this.av = 0;
83
+ this.s = false;
84
+ this.ai = a;
85
+ this.al = this.ai.createElement("div");
86
+ this.al.setAttribute("tabindex", "-1");
87
+ this.al.setRawStyleProperty("position", "absolute");
88
+ this.al.setRawStyleProperty("overflow", "hidden");
89
+ this.al.setRawStyleProperty("box-sizing", "border-box");
90
+ this.al.setRawStyleProperty("outline", "none");
72
91
  let b = (window.navigator.msPointerEnabled && window.MSGesture !== undefined);
73
92
  let c = (window.PointerEvent !== undefined);
74
93
  let d = (window.TouchEvent);
75
94
  if ((b || c)) {
76
- this.af.listen("pointerdown", runOn(this, this.bt));
77
- this.af.listen("pointerup", runOn(this, this.bx));
78
- this.af.listen("pointermove", runOn(this, this.bw));
79
- this.af.listen("pointerleave", runOn(this, this.bv));
80
- this.af.listen("pointerenter", runOn(this, this.bu));
95
+ this.al.listen("pointerdown", runOn(this, this.cm));
96
+ this.al.listen("pointerup", runOn(this, this.cq));
97
+ this.al.listen("pointermove", runOn(this, this.cp));
98
+ this.al.listen("pointerleave", runOn(this, this.co));
99
+ this.al.listen("pointerenter", runOn(this, this.cn));
81
100
  }
82
101
  else {
83
- this.af.listen("mousedown", runOn(this, this.bj));
84
- this.af.listen("mouseup", runOn(this, this.bn));
85
- this.af.listen("mousemove", runOn(this, this.bm));
86
- this.af.listen("mouseleave", runOn(this, this.bl));
87
- this.af.listen("touchstart", runOn(this, this.cb));
88
- this.af.listen("touchend", runOn(this, this.cd));
89
- this.af.listen("touchmove", runOn(this, this.cc));
102
+ this.al.listen("mousedown", runOn(this, this.b8));
103
+ this.al.listen("mouseup", runOn(this, this.cc));
104
+ this.al.listen("mousemove", runOn(this, this.cb));
105
+ this.al.listen("mouseleave", runOn(this, this.ca));
106
+ this.al.listen("touchstart", runOn(this, this.da));
107
+ this.al.listen("touchend", runOn(this, this.dc));
108
+ this.al.listen("touchmove", runOn(this, this.db));
90
109
  }
91
110
  }
92
111
  get b() {
@@ -98,217 +117,444 @@ export let GridCellBase = /*@__PURE__*/ (() => {
98
117
  get d() {
99
118
  return this.c;
100
119
  }
101
- get ae() {
102
- return this.ad;
120
+ get ak() {
121
+ return this.ai;
103
122
  }
104
- get ah() {
105
- return this.af;
123
+ get ap() {
124
+ return this.al;
106
125
  }
107
126
  get isRemoved() {
108
- return this.s;
127
+ return this.w;
109
128
  }
110
129
  set isRemoved(a) {
111
- let b = this.s;
112
- this.s = a;
113
- if (b != this.s) {
114
- this.bs("IsRemoved", b, this.s);
130
+ let b = this.w;
131
+ this.w = a;
132
+ if (b != this.w) {
133
+ this.ch("IsRemoved", b, this.w);
115
134
  }
116
135
  }
117
- get a5() {
118
- return this.as;
136
+ get bd() {
137
+ return this.a0;
119
138
  }
120
- get a3() {
121
- return this.aq;
139
+ get bb() {
140
+ return this.ay;
122
141
  }
123
- get a4() {
124
- return this.ar;
142
+ get bc() {
143
+ return this.az;
125
144
  }
126
- get a6() {
127
- return this.av;
145
+ get bg() {
146
+ return this.a3;
128
147
  }
129
- set a6(a) {
130
- let b = this.av;
131
- this.av = a;
132
- if (b != this.av) {
133
- this.bs("Indent", b, this.av);
148
+ set bg(a) {
149
+ let b = this.a3;
150
+ this.a3 = a;
151
+ if (b != this.a3) {
152
+ this.ch("Indent", b, this.a3);
134
153
  }
135
154
  }
136
- get v() {
137
- return this.p;
155
+ get aa() {
156
+ return this.t;
138
157
  }
139
- set v(a) {
140
- let b = this.p;
141
- this.p = a;
142
- if (b != this.p) {
143
- this.bs("IsCollapsable", b, this.p);
158
+ set aa(a) {
159
+ let b = this.t;
160
+ this.t = a;
161
+ if (b != this.t) {
162
+ this.ch("IsCollapsable", b, this.t);
144
163
  }
145
164
  }
146
- get w() {
147
- return this.q;
165
+ get ab() {
166
+ return this.u;
148
167
  }
149
- set w(a) {
150
- let b = this.q;
151
- this.q = a;
152
- if (b != this.q) {
153
- this.bs("IsExpanded", b, this.q);
168
+ set ab(a) {
169
+ let b = this.u;
170
+ this.u = a;
171
+ if (b != this.u) {
172
+ this.ch("IsExpanded", b, this.u);
154
173
  }
155
174
  }
156
- get y() {
157
- return this.r;
175
+ get ad() {
176
+ return this.v;
158
177
  }
159
- set y(a) {
160
- let b = this.r;
161
- this.r = a;
162
- if (b != this.r) {
163
- this.bs("IsHitTestVisible", b, this.r);
164
- }
165
- }
166
- bi() {
167
- this.ar = 10;
168
- this.aq = this.a6 * 24;
169
- this.as = 24;
170
- if (this.ag == null) {
171
- this.ag = this.ad.createElement("div");
172
- this.ag.setRawStyleProperty("display", "inline-block");
173
- this.ag.setRawStyleProperty("vertical-align", "middle");
174
- this.ag.setRawStyleProperty("width", this.as + "px");
175
- this.ag.setRawStyleProperty("height", this.as + "px");
176
- this.ag.setRawStyleProperty("cursor", "pointer");
177
- this.ag.setRawStyleProperty("position", "absolute");
178
- this.ag.setRawXPosition(this.ax + this.aq);
179
- this.ag.setRawYPosition(intDivide(this.at, 2) - intDivide(this.ap, 2));
180
- }
181
- if (this.i == null) {
182
- let a = this.ad.getSubRenderer(this.ag);
183
- this.i = new GridExpansionIndicator();
184
- this.i.ab(a);
185
- this.i.y(24, 24);
186
- }
187
- if (this.ag.parent() == null) {
188
- this.af.append(this.ag);
189
- }
190
- }
191
- by() {
192
- this.as = 0;
193
- this.ar = 0;
194
- if (this.ag != null) {
195
- if (this.ag.parent() != null) {
196
- this.ag.remove();
178
+ set ad(a) {
179
+ let b = this.v;
180
+ this.v = a;
181
+ if (b != this.v) {
182
+ this.ch("IsHitTestVisible", b, this.v);
183
+ }
184
+ }
185
+ get b0() {
186
+ return this.bn;
187
+ }
188
+ set b0(a) {
189
+ let b = this.bn;
190
+ this.bn = a;
191
+ if (b != this.bn) {
192
+ this.ch("SuffixText", b, this.bn);
193
+ }
194
+ }
195
+ get dp() {
196
+ return this.dl;
197
+ }
198
+ set dp(a) {
199
+ let b = this.dl;
200
+ this.dl = a;
201
+ if (b != this.dl) {
202
+ this.ch("SuffixTextColor", b, this.dl);
203
+ }
204
+ }
205
+ get n() {
206
+ return this.m;
207
+ }
208
+ set n(a) {
209
+ let b = this.m;
210
+ this.m = a;
211
+ if (b != this.m) {
212
+ this.ch("SuffixTextFont", b, this.m);
213
+ }
214
+ }
215
+ ci() {
216
+ if (this.bn != null) {
217
+ if (this.ao == null) {
218
+ this.ao = this.ai.createElement("span");
219
+ this.ao.setRawStyleProperty("display", "inline-block");
220
+ this.ao.setRawStyleProperty("overflow", "hidden");
221
+ this.ao.setRawStyleProperty("white-space", "nowrap");
222
+ this.ao.setRawStyleProperty("margin-left", "5px");
223
+ }
224
+ this.ck();
225
+ if (!this.x) {
226
+ this.ap.setRawStyleProperty("display", "grid");
227
+ this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
228
+ this.ap.append(this.ao);
229
+ this.x = true;
230
+ }
231
+ }
232
+ else {
233
+ if (this.x) {
234
+ this.ap.setRawStyleProperty("display", "unset");
235
+ this.ap.setRawStyleProperty("grid-template-columns", "unset");
236
+ this.ap.removeChild(this.ao);
237
+ this.x = false;
197
238
  }
198
239
  }
199
240
  }
200
- get u() {
201
- return this.n;
241
+ get bw() {
242
+ return this.bm;
202
243
  }
203
- set u(a) {
204
- this.n = a;
244
+ set bw(a) {
245
+ let b = this.bm;
246
+ this.bm = a;
247
+ if (b != this.bm) {
248
+ this.ch("SuffixIconName", b, this.bm);
249
+ }
205
250
  }
206
- get_z() {
207
- return false;
251
+ get bt() {
252
+ return this.bl;
253
+ }
254
+ set bt(a) {
255
+ let b = this.bl;
256
+ this.bl = a;
257
+ if (b != this.bl) {
258
+ this.ch("SuffixIconCollectionName", b, this.bl);
259
+ }
260
+ }
261
+ get dn() {
262
+ return this.dk;
263
+ }
264
+ set dn(a) {
265
+ let b = this.dk;
266
+ this.dk = a;
267
+ if (b != this.dk) {
268
+ this.ch("SuffixIconStroke", b, this.dk);
269
+ }
270
+ }
271
+ get dm() {
272
+ return this.dj;
273
+ }
274
+ set dm(a) {
275
+ let b = this.dj;
276
+ this.dj = a;
277
+ if (b != this.dj) {
278
+ this.ch("SuffixIconFill", b, this.dj);
279
+ }
280
+ }
281
+ get dr() {
282
+ return this.dq;
283
+ }
284
+ set dr(a) {
285
+ let b = this.dq;
286
+ this.dq = a;
287
+ if (Rect.l_op_Inequality(b, this.dq)) {
288
+ this.ch("SuffixIconViewBox", b, this.dq);
289
+ }
290
+ }
291
+ cj() {
292
+ if (this.bm != null && this.bl != null) {
293
+ if (this.l == null) {
294
+ this.an = this.ai.createElement("div");
295
+ this.aj = this.ai.getSubRenderer(this.an);
296
+ this.l = new XIcon();
297
+ this.l.provideContainer(this.aj);
298
+ this.an.setRawStyleProperty("display", "inline-block");
299
+ this.an.setRawStyleProperty("overflow", "hidden");
300
+ this.an.setRawStyleProperty("margin-left", "5px");
301
+ }
302
+ this.ck();
303
+ if (!this.x) {
304
+ this.ap.setRawStyleProperty("display", "grid");
305
+ this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
306
+ this.ap.append(this.an);
307
+ this.x = true;
308
+ }
309
+ }
310
+ else {
311
+ if (this.x) {
312
+ this.ap.setRawStyleProperty("display", "unset");
313
+ this.ap.setRawStyleProperty("grid-template-columns", "unset");
314
+ this.ap.removeChild(this.an);
315
+ this.x = false;
316
+ }
317
+ }
318
+ }
319
+ ck() {
320
+ if (this.ao != null) {
321
+ this.c5(this.ao, this.bn);
322
+ this.c6(this.ao, this.dp);
323
+ this.cx(this.ao, this.n);
324
+ this.c7(this.ao, this.h);
325
+ }
326
+ if (this.l != null) {
327
+ this.l.ea = this.dn;
328
+ this.l.fill = this.dm;
329
+ if (!this.dr.isEmpty && !isNaN_(this.dr.left) && !isNaN_(this.dr.top) && !isNaN_(this.dr.width) && !isNaN_(this.dr.height)) {
330
+ this.l.a6 = this.dr.left;
331
+ this.l.a7 = this.dr.top;
332
+ this.l.a8 = this.dr.width;
333
+ this.l.a5 = this.dr.height;
334
+ }
335
+ this.c4(this.an, this.dn);
336
+ this.cw(this.an, this.dm);
337
+ this.c7(this.an, this.h);
338
+ this.c0(this.l, this.bt, this.bw);
339
+ }
340
+ }
341
+ c0(a, b, c) {
342
+ a.svg = null;
343
+ a.svgPath = null;
344
+ a.b = null;
345
+ a.b0 = null;
346
+ a.bh = null;
347
+ let d = SvgIconRegistry.instance.getSvgPathString(this.bl, this.bm);
348
+ if (d != null) {
349
+ if (stringStartsWith(d, "<svg")) {
350
+ a.svg = d;
351
+ }
352
+ else {
353
+ a.svgPath = d;
354
+ }
355
+ return;
356
+ }
357
+ let e = SvgIconRegistry.instance.getSvgPathsString(this.bl, this.bm);
358
+ if (e != null) {
359
+ a.b = e;
360
+ return;
361
+ }
362
+ let f = SvgIconRegistry.instance.getDataURLString(this.bl, this.bm);
363
+ if (f != null) {
364
+ a.b0 = f;
365
+ return;
366
+ }
367
+ let g = SvgIconRegistry.instance.getIconSource(this.bl, this.bm);
368
+ if (g != null) {
369
+ a.bh = g;
370
+ }
371
+ }
372
+ b7() {
373
+ this.az = 10;
374
+ this.ay = this.bg * 24;
375
+ this.a0 = 24;
376
+ if (this.am == null) {
377
+ this.am = this.ai.createElement("div");
378
+ this.am.setRawStyleProperty("display", "inline-block");
379
+ this.am.setRawStyleProperty("vertical-align", "middle");
380
+ this.am.setRawStyleProperty("width", this.a0 + "px");
381
+ this.am.setRawStyleProperty("height", this.a0 + "px");
382
+ this.am.setRawStyleProperty("cursor", "pointer");
383
+ this.am.setRawStyleProperty("position", "absolute");
384
+ this.am.setRawXPosition(this.a5 + this.ay);
385
+ this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.ax, 2));
386
+ }
387
+ if (this.j == null) {
388
+ let a = this.ai.getSubRenderer(this.am);
389
+ this.j = new GridExpansionIndicator();
390
+ this.j.ab(a);
391
+ this.j.y(24, 24);
392
+ }
393
+ if (this.am.parent() == null) {
394
+ this.al.append(this.am);
395
+ }
396
+ }
397
+ cr() {
398
+ this.a0 = 0;
399
+ this.az = 0;
400
+ if (this.am != null) {
401
+ if (this.am.parent() != null) {
402
+ this.am.remove();
403
+ }
404
+ }
208
405
  }
209
406
  get z() {
210
- return this.get_z();
211
- }
212
- b7(a, b, c, d) {
213
- this.ax = a;
214
- this.az = b;
215
- this.ay = c;
216
- this.aw = d;
217
- this.af.setRawStyleProperty("padding-left", a.toString() + "px");
218
- this.af.setRawStyleProperty("padding-top", b.toString() + "px");
219
- this.af.setRawStyleProperty("padding-right", c.toString() + "px");
220
- this.af.setRawStyleProperty("padding-bottom", d.toString() + "px");
221
- }
222
- b1(a, b, c, d, e) {
223
- this.ak = b;
224
- this.am = c;
225
- this.al = d;
226
- this.aj = e;
227
- this.cj = a;
407
+ return this.r;
408
+ }
409
+ set z(a) {
410
+ this.r = a;
411
+ }
412
+ get_ae() {
413
+ return false;
414
+ }
415
+ get ae() {
416
+ return this.get_ae();
417
+ }
418
+ c3(a, b, c, d) {
419
+ this.a5 = a;
420
+ this.a7 = b;
421
+ this.a6 = c;
422
+ this.a4 = d;
423
+ this.al.setRawStyleProperty("padding-left", a.toString() + "px");
424
+ this.al.setRawStyleProperty("padding-top", b.toString() + "px");
425
+ this.al.setRawStyleProperty("padding-right", c.toString() + "px");
426
+ this.al.setRawStyleProperty("padding-bottom", d.toString() + "px");
427
+ }
428
+ cu(a, b, c, d, e) {
429
+ this.as = b;
430
+ this.au = c;
431
+ this.at = d;
432
+ this.ar = e;
433
+ this.di = a;
228
434
  if (a == null) {
229
- this.af.setRawStyleProperty("border", "");
435
+ this.al.setRawStyleProperty("border", "");
230
436
  }
231
437
  else {
232
- this.af.setRawStyleProperty("border-color", a._fill);
233
- this.af.setRawStyleProperty("border-left-width", b.toString() + "px");
234
- this.af.setRawStyleProperty("border-top-width", c.toString() + "px");
235
- this.af.setRawStyleProperty("border-right-width", d.toString() + "px");
236
- this.af.setRawStyleProperty("border-bottom-width", e.toString() + "px");
237
- this.af.setRawStyleProperty("border-style", "solid");
438
+ this.al.setRawStyleProperty("border-color", a._fill);
439
+ this.al.setRawStyleProperty("border-left-width", b.toString() + "px");
440
+ this.al.setRawStyleProperty("border-top-width", c.toString() + "px");
441
+ this.al.setRawStyleProperty("border-right-width", d.toString() + "px");
442
+ this.al.setRawStyleProperty("border-bottom-width", e.toString() + "px");
443
+ this.al.setRawStyleProperty("border-style", "solid");
238
444
  }
239
445
  }
240
- get_x() {
446
+ get_ac() {
241
447
  return false;
242
448
  }
243
- get x() {
244
- return this.get_x();
245
- }
246
- b3(a, b) {
247
- if (this.at != a || this.au != b) {
248
- let c = this.at;
249
- this.at = a;
250
- this.au = b;
251
- let d = Math.max(0, this.at - this.au);
252
- this.af.setRawStyleProperty("height", a.toString() + "px");
253
- this.af.setRawStyleProperty("line-height", d.toString() + "px");
254
- if (this.ag != null) {
255
- this.ag.setRawYPosition(intDivide(this.at, 2) - intDivide(this.as, 2));
449
+ get ac() {
450
+ return this.get_ac();
451
+ }
452
+ get be() {
453
+ return this.a1;
454
+ }
455
+ get bh() {
456
+ return this.ba;
457
+ }
458
+ get bf() {
459
+ return this.a2;
460
+ }
461
+ cy(a, b) {
462
+ if (this.a1 != a || this.a2 != b) {
463
+ let c = this.a1;
464
+ this.a1 = a;
465
+ this.a2 = b;
466
+ let d = Math.max(0, this.a1 - this.a2);
467
+ this.al.setRawStyleProperty("height", a.toString() + "px");
468
+ if (this.am != null) {
469
+ this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.a0, 2));
256
470
  }
257
- this.ca(this.a2, this.at, this.a2, c);
471
+ this.c9(this.ba, this.a1, this.ba, c);
258
472
  }
259
473
  }
260
- b9(a, b) {
261
- if (this.a2 != a) {
262
- let c = this.a2;
263
- this.a2 = a;
264
- this.af.setRawStyleProperty("width", a.toString() + "px");
265
- this.ca(this.a2, this.at, c, this.at);
474
+ c8(a, b) {
475
+ if (this.ba != a) {
476
+ let c = this.ba;
477
+ this.ba = a;
478
+ this.al.setRawStyleProperty("width", a.toString() + "px");
479
+ this.c9(this.ba, this.a1, c, this.a1);
266
480
  }
267
481
  }
268
- ca(a, b, c, d) {
482
+ c9(a, b, c, d) {
269
483
  }
270
- bg() {
271
- if (!this.z) {
484
+ b5() {
485
+ if (!this.ae) {
272
486
  return;
273
487
  }
274
- this.n = true;
275
- this.j = new PlaceholderView(this.ad);
488
+ this.r = true;
489
+ this.k = new PlaceholderView(this.ai);
276
490
  this.g = 0;
277
- this.h = 1;
278
- this.j.l = Color.u(120, 120, 120, 120);
279
- this.j.i = 0;
280
- this.af.append(this.j.g);
491
+ this.i = 1;
492
+ this.k.l = Color.u(120, 120, 120, 120);
493
+ this.k.i = 0;
494
+ this.al.append(this.k.g);
495
+ }
496
+ ct(a) {
497
+ this.al.setRawStyleProperty("background-color", a.colorString);
281
498
  }
282
- b0(a) {
283
- this.af.setRawStyleProperty("background-color", a.colorString);
499
+ c2(a) {
500
+ this.al.setRawStyleProperty("opacity", a.toString());
284
501
  }
285
- b6(a) {
286
- this.af.setRawStyleProperty("opacity", a.toString());
502
+ cx(a, b) {
503
+ if (b == null) {
504
+ b = FontUtil.getDefaultFont(this.ak);
505
+ }
506
+ a.setRawStyleProperty("font", b.fontString);
287
507
  }
288
- m() {
508
+ c6(a, b) {
509
+ let c = Color.u(0, 0, 0, 0);
510
+ if (b != null) {
511
+ c = b.color;
512
+ }
513
+ a.setRawStyleProperty("color", c.colorString);
514
+ }
515
+ c4(a, b) {
516
+ let c = Color.u(0, 0, 0, 0);
517
+ if (b != null) {
518
+ c = b.color;
519
+ }
520
+ a.setRawStyleProperty("stroke", c.colorString);
521
+ }
522
+ cw(a, b) {
523
+ let c = Color.u(0, 0, 0, 0);
524
+ if (b != null) {
525
+ c = b.color;
526
+ }
527
+ a.setRawStyleProperty("fill", c.colorString);
528
+ }
529
+ c5(a, b) {
530
+ if (a != null) {
531
+ a.setRawText(b);
532
+ }
533
+ }
534
+ q() {
289
535
  if (TestRandomness.instance.testRandomnessSource != null) {
290
536
  return TestRandomness.instance.testRandomnessSource;
291
537
  }
292
- return new DefaultRandomnessSource(1, GridCellBase.a7);
538
+ return new DefaultRandomnessSource(1, GridCellBase.bi);
293
539
  }
294
- l() {
295
- let a = this.m();
540
+ p() {
541
+ let a = this.q();
296
542
  return a.getGenerator("PlaceholderWidths");
297
543
  }
298
- ci(a) {
299
- if (!this.z) {
544
+ dh(a) {
545
+ if (!this.ae) {
300
546
  return;
301
547
  }
302
- this.j.i = (a * 0.20000000298023224);
548
+ this.k.i = (a * 0.20000000298023224);
303
549
  }
304
- cg(a, b, c, d) {
305
- if (this.j != null) {
306
- let e = this.ac;
307
- let f = this.ab;
308
- if (this.h == 1) {
550
+ df(a, b, c, d) {
551
+ if (this.k != null) {
552
+ let e = this.ah;
553
+ let f = this.ag;
554
+ if (this.i == 1) {
309
555
  b = truncate((b + (d / 2) - (f / 2)));
310
556
  }
311
- else if (this.h == 2) {
557
+ else if (this.i == 2) {
312
558
  b = truncate((b + (d) - (f)));
313
559
  }
314
560
  if (this.g == 1) {
@@ -317,182 +563,192 @@ export let GridCellBase = /*@__PURE__*/ (() => {
317
563
  else if (this.g == 2) {
318
564
  a = truncate((a + (c) - (e)));
319
565
  }
320
- this.j.g.setRawXPosition(a);
321
- this.j.g.setRawYPosition(b);
566
+ this.k.g.setRawXPosition(a);
567
+ this.k.g.setRawYPosition(b);
322
568
  }
323
569
  }
324
- bq(a, b, c) {
570
+ cf(a, b, c) {
571
+ }
572
+ cl(a) {
573
+ this.h = a;
574
+ if (this.ao != null) {
575
+ this.c7(this.ao, a);
576
+ }
325
577
  }
326
- ch(a) {
327
- if (!this.z) {
578
+ dg(a) {
579
+ if (!this.ae) {
328
580
  return;
329
581
  }
330
582
  let b = DeviceUtils.f(12);
331
- if (a.ag != null && !isNaN_(a.ag.f)) {
332
- b = a.ag.f;
583
+ if (a.aj != null && !isNaN_(a.aj.f)) {
584
+ b = a.aj.f;
333
585
  }
334
- if (this.ab != b) {
335
- this.ab = b;
336
- this.j.d = (b);
586
+ if (this.ag != b) {
587
+ this.ag = b;
588
+ this.k.d = (b);
337
589
  }
338
- let c = a.he * 0.2;
339
- let d = a.fu * 0.6;
340
- if (this.ac >= c && this.ac <= d && !this.t) {
590
+ let c = a.h2 * 0.2;
591
+ let d = a.f6 * 0.6;
592
+ if (this.ah >= c && this.ah <= d && !this.y) {
341
593
  return;
342
594
  }
343
- this.t = false;
344
- if (GridCellBase.k == null) {
345
- GridCellBase.k = this.l();
595
+ this.y = false;
596
+ if (GridCellBase.o == null) {
597
+ GridCellBase.o = this.p();
346
598
  }
347
- let e = (GridCellBase.k.nextDouble() * (d - c) + c);
348
- if (this.ac != e) {
349
- this.ac = e;
350
- this.j.e = e;
599
+ let e = (GridCellBase.o.nextDouble() * (d - c) + c);
600
+ if (this.ah != e) {
601
+ this.ah = e;
602
+ this.k.e = e;
351
603
  }
352
- this.cg(this.ax + this.aq + this.as, this.az, this.a2 - (this.ax + this.ay), this.at - (this.az + this.aw));
604
+ this.df(this.a5 + this.ay + this.a0, this.a7, this.ba - (this.a5 + this.a6), this.a1 - (this.a7 + this.a4));
353
605
  }
354
- ce(a, b) {
355
- if (!this.z) {
606
+ dd(a, b) {
607
+ if (!this.ae) {
356
608
  return;
357
609
  }
358
610
  this.g = a;
359
- this.h = b;
360
- this.t = true;
611
+ this.i = b;
612
+ this.y = true;
361
613
  }
362
- cf(a) {
363
- if (!this.z) {
614
+ de(a) {
615
+ if (!this.ae) {
364
616
  return;
365
617
  }
366
618
  if (a != null) {
367
- this.j.l = a.color;
619
+ this.k.l = a.color;
368
620
  }
369
621
  }
370
- bz(a) {
622
+ cs(a) {
371
623
  this.a = a;
372
624
  }
373
- b5(a) {
625
+ c1(a) {
374
626
  this.e = a;
375
627
  }
376
- b2(a) {
628
+ cv(a) {
377
629
  this.c = a;
378
630
  }
379
- b4(a, b) {
631
+ cz(a, b) {
380
632
  switch (b) {
381
633
  case 0:
382
- this.ah.setRawStyleProperty("text-align", "left");
634
+ this.ap.setRawStyleProperty("text-align", "left");
383
635
  break;
384
636
  case 1:
385
- this.ah.setRawStyleProperty("text-align", "center");
637
+ this.ap.setRawStyleProperty("text-align", "center");
386
638
  break;
387
639
  case 2:
388
- this.ah.setRawStyleProperty("text-align", "right");
640
+ this.ap.setRawStyleProperty("text-align", "right");
389
641
  break;
390
642
  case 3:
391
- this.ah.setRawStyleProperty("text-align", "center");
643
+ this.ap.setRawStyleProperty("text-align", "center");
392
644
  break;
393
645
  }
394
646
  }
395
- b8(a, b) {
647
+ c7(a, b) {
396
648
  switch (b) {
397
649
  case 0:
398
650
  a.setRawStyleProperty("vertical-align", "top");
651
+ a.setRawStyleProperty("align-self", "flex-start");
399
652
  break;
400
653
  case 1:
401
- a.setRawStyleProperty("vertical-align", "center");
654
+ a.setRawStyleProperty("vertical-align", "middle");
655
+ a.setRawStyleProperty("align-self", "center");
402
656
  break;
403
657
  case 2:
404
658
  a.setRawStyleProperty("vertical-align", "bottom");
659
+ a.setRawStyleProperty("align-self", "flex-end");
405
660
  break;
406
661
  case 3:
407
662
  a.setRawStyleProperty("vertical-align", "center");
663
+ a.setRawStyleProperty("align-self", "center");
408
664
  break;
409
665
  }
410
666
  }
411
- aa(a) {
667
+ af(a) {
412
668
  return a.isClickActionDesired;
413
669
  }
414
- bj(a) {
670
+ b8(a) {
415
671
  this.onContactStarted(a, false);
416
672
  }
417
- bn(a) {
673
+ cc(a) {
418
674
  this.onContactCompleted(a, false);
419
675
  }
420
- bm(a) {
676
+ cb(a) {
421
677
  this.onContactMoved(a, false);
422
678
  }
423
- bl(a) {
424
- this.bp(a, false);
679
+ ca(a) {
680
+ this.ce(a, false);
425
681
  }
426
- bk(a) {
427
- this.bo(a, false);
682
+ b9(a) {
683
+ this.cd(a, false);
428
684
  }
429
- bt(e_) {
685
+ cm(e_) {
430
686
  let a = (e_.originalEvent.pointerType);
431
687
  if (a == "touch") {
432
- this.cb(e_);
688
+ this.da(e_);
433
689
  }
434
690
  else {
435
- this.bj(e_);
691
+ this.b8(e_);
436
692
  }
437
693
  }
438
- bw(e_) {
694
+ cp(e_) {
439
695
  let a = (e_.originalEvent.pointerType);
440
696
  if (a == "touch") {
441
- this.cc(e_);
697
+ this.db(e_);
442
698
  }
443
699
  else {
444
- this.bm(e_);
700
+ this.cb(e_);
445
701
  }
446
702
  }
447
- bx(e_) {
703
+ cq(e_) {
448
704
  let a = (e_.originalEvent.pointerType);
449
705
  if (a == "touch") {
450
- this.cd(e_);
706
+ this.dc(e_);
451
707
  }
452
708
  else {
453
- this.bn(e_);
709
+ this.cc(e_);
454
710
  }
455
711
  }
456
- bv(e_) {
712
+ co(e_) {
457
713
  let a = (e_.originalEvent.pointerType);
458
714
  if (a != "touch") {
459
- this.bl(e_);
715
+ this.ca(e_);
460
716
  }
461
717
  }
462
- bu(e_) {
718
+ cn(e_) {
463
719
  let a = (e_.originalEvent.pointerType);
464
720
  if (a != "touch") {
465
- this.bk(e_);
721
+ this.b9(e_);
466
722
  }
467
723
  }
468
- cb(a) {
724
+ da(a) {
469
725
  this.onContactStarted(a, true);
470
726
  }
471
- cc(a) {
727
+ db(a) {
472
728
  this.onContactMoved(a, true);
473
729
  }
474
- cd(a) {
730
+ dc(a) {
475
731
  this.onContactCompleted(a, true);
476
732
  }
477
733
  onContactStarted(e_, a) {
478
734
  let b = false;
479
- if (this.v) {
480
- let indicator_ = this.i.q();
735
+ if (this.aa) {
736
+ let indicator_ = this.j.q();
481
737
  b = (e_.originalEvent.srcElement === indicator_ || e_.originalEvent.target === indicator_);
482
738
  }
483
- this.o = false;
739
+ this.s = false;
484
740
  if (b) {
485
- this.o = true;
741
+ this.s = true;
486
742
  }
487
743
  else {
488
- if (this.a != null && this.aa(this.a)) {
489
- this.a8 = e_.pageX;
490
- this.a9 = e_.pageY;
491
- if (this.a1 != e_.which) {
492
- this.an = 0;
744
+ if (this.a != null && this.af(this.a)) {
745
+ this.bj = e_.pageX;
746
+ this.bk = e_.pageY;
747
+ if (this.a9 != e_.which) {
748
+ this.av = 0;
493
749
  }
494
- this.a1 = e_.which;
495
- this.a.mouseDownCell(this.a8, this.a9);
750
+ this.a9 = e_.which;
751
+ this.a.mouseDownCell(this.bj, this.bk);
496
752
  }
497
753
  }
498
754
  }
@@ -500,10 +756,10 @@ export let GridCellBase = /*@__PURE__*/ (() => {
500
756
  if (this.a != null) {
501
757
  let c = a.pageX;
502
758
  let d = a.pageY;
503
- if (this.aa(this.a)) {
759
+ if (this.af(this.a)) {
504
760
  if (this.a.isMouseDown) {
505
761
  if (b) {
506
- 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) {
762
+ 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) {
507
763
  this.a.mouseUpCell(c, d);
508
764
  }
509
765
  else {
@@ -514,8 +770,8 @@ export let GridCellBase = /*@__PURE__*/ (() => {
514
770
  if (PointUtil.equals(this.a.mousePosition, null)) {
515
771
  this.a.mouseUpCell(c, d);
516
772
  }
517
- else if (this.a1 == 1) {
518
- if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.ao || Math.abs(d - this.a.mousePosition.y) > GridCellBase.ao) {
773
+ else if (this.a9 == 1) {
774
+ if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.aw || Math.abs(d - this.a.mousePosition.y) > GridCellBase.aw) {
519
775
  this.a.isControlPressed = a.ctrlKey;
520
776
  this.a.dragStarted();
521
777
  }
@@ -529,28 +785,28 @@ export let GridCellBase = /*@__PURE__*/ (() => {
529
785
  }
530
786
  }
531
787
  onContactCompleted(e_, a) {
532
- this.an++;
533
- window.setTimeout(() => this.an = 0, 250);
788
+ this.av++;
789
+ window.setTimeout(() => this.av = 0, 250);
534
790
  let b = false;
535
- if (this.v) {
536
- let indicator_ = this.i.q();
791
+ if (this.aa) {
792
+ let indicator_ = this.j.q();
537
793
  b = (e_.originalEvent.srcElement === indicator_ || e_.originalEvent.target === indicator_);
538
794
  }
539
- if (this.o && b) {
795
+ if (this.s && b) {
540
796
  this.b.clickExpansionIndicator();
541
797
  }
542
798
  else {
543
- if (this.a != null && this.aa(this.a)) {
799
+ if (this.a != null && this.af(this.a)) {
544
800
  let c = e_.pageX;
545
801
  let d = e_.pageY;
546
- 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) {
802
+ 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) {
547
803
  this.a.mouseUpCell(c, d);
548
804
  }
549
805
  if (this.a.isCellDown()) {
550
806
  this.a.isControlPressed = e_.ctrlKey;
551
807
  this.a.isShiftPressed = e_.shiftKey;
552
- if (this.an > 1) {
553
- switch (this.a1) {
808
+ if (this.av > 1) {
809
+ switch (this.a9) {
554
810
  case 1:
555
811
  this.a.doubleClicked(0);
556
812
  break;
@@ -585,11 +841,11 @@ export let GridCellBase = /*@__PURE__*/ (() => {
585
841
  }
586
842
  }
587
843
  }
588
- this.o = false;
844
+ this.s = false;
589
845
  }
590
- bp(a, b) {
846
+ ce(a, b) {
591
847
  if (this.a != null) {
592
- if (this.aa(this.a)) {
848
+ if (this.af(this.a)) {
593
849
  if (this.a.isMouseDown) {
594
850
  if (!b && PointUtil.notEquals(this.a.mousePosition, null)) {
595
851
  this.a.isControlPressed = a.ctrlKey;
@@ -604,7 +860,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
604
860
  }
605
861
  }
606
862
  }
607
- bo(a, b) {
863
+ cd(a, b) {
608
864
  if (this.a != null && this.a.isEnterActionDesired) {
609
865
  let c = a.pageX;
610
866
  let d = a.pageY;
@@ -613,42 +869,56 @@ export let GridCellBase = /*@__PURE__*/ (() => {
613
869
  }
614
870
  onDoubleClick(a) {
615
871
  }
616
- bs(a, b, c) {
872
+ ch(a, b, c) {
617
873
  switch (a) {
618
874
  case "Indent":
619
- this.aq = this.a6 * 24;
620
- this.ar = this.a6 > 0 ? 10 : 0;
621
- if (this.ag != null) {
622
- this.ag.setRawXPosition(this.ax + this.aq);
623
- this.ag.setRawYPosition(intDivide(this.at, 2) - intDivide(this.ap, 2));
875
+ this.ay = this.bg * 24;
876
+ this.az = this.bg > 0 ? 10 : 0;
877
+ if (this.am != null) {
878
+ this.am.setRawXPosition(this.a5 + this.ay);
879
+ this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.ax, 2));
624
880
  }
625
881
  break;
626
882
  case "IsCollapsable":
627
- if (this.v) {
628
- this.bi();
883
+ if (this.aa) {
884
+ this.b7();
629
885
  }
630
886
  else {
631
- this.by();
887
+ this.cr();
632
888
  }
633
889
  break;
634
890
  case "IsExpanded":
635
- if (this.i != null) {
636
- this.i.g = this.w;
891
+ if (this.j != null) {
892
+ this.j.g = this.ab;
637
893
  }
638
894
  break;
639
895
  case "IsHitTestVisible":
640
- this.ah.setRawStyleProperty("pointer-events", this.y ? "auto" : "none");
896
+ this.ap.setRawStyleProperty("pointer-events", this.ad ? "auto" : "none");
897
+ break;
898
+ case "SuffixText":
899
+ this.ci();
900
+ break;
901
+ case "SuffixIconName":
902
+ case "SuffixIconCollectionName":
903
+ this.cj();
904
+ break;
905
+ case "SuffixTextColor":
906
+ case "SuffixTextFont":
907
+ case "SuffixIconStroke":
908
+ case "SuffixIconFill":
909
+ case "SuffixIconViewBox":
910
+ this.ck();
641
911
  break;
642
912
  }
643
913
  }
644
- br() {
914
+ cg() {
645
915
  }
646
- bh() {
647
- this.af.focus(true);
916
+ b6() {
917
+ this.al.focus(true);
648
918
  }
649
- bf() {
919
+ b4() {
650
920
  if (this.a != null) {
651
- let a = this.af.clone();
921
+ let a = this.al.clone();
652
922
  this.a.passCellClone(a);
653
923
  }
654
924
  }
@@ -656,9 +926,9 @@ export let GridCellBase = /*@__PURE__*/ (() => {
656
926
  }
657
927
  }
658
928
  GridCellBase.$t = markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
659
- GridCellBase.k = null;
660
- GridCellBase.a7 = new Random(0);
661
- GridCellBase.a0 = 10;
662
- GridCellBase.ao = 3;
929
+ GridCellBase.o = null;
930
+ GridCellBase.bi = new Random(0);
931
+ GridCellBase.a8 = 10;
932
+ GridCellBase.aw = 3;
663
933
  return GridCellBase;
664
934
  })();