igniteui-webcomponents-data-grids 6.0.1-beta.1 → 6.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 (241) hide show
  1. package/bundles/igniteui-webcomponents-data-grids.umd.js +12298 -10495
  2. package/bundles/igniteui-webcomponents-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 +8409 -7998
  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 +308 -308
  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 +11 -11
  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 +326 -205
  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 +8 -8
  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/TextIconSetConditionalStyle.js +14 -9
  74. package/esm2015/lib/VerticalSeparatorCell.js +37 -37
  75. package/esm2015/lib/igc-cell-info.js +301 -190
  76. package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
  77. package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
  78. package/esm2015/lib/igc-combo-box-column-component.js +10 -10
  79. package/esm2015/lib/igc-data-grid-column-component.js +284 -160
  80. package/esm2015/lib/igc-data-grid-component.js +64 -4
  81. package/esm2015/lib/igc-date-time-cell-info.js +12 -12
  82. package/esm2015/lib/igc-date-time-column-component.js +23 -23
  83. package/esm2015/lib/igc-definition-base-component.js +66 -65
  84. package/esm2015/lib/igc-editor-cell-info.js +23 -23
  85. package/esm2015/lib/igc-filter-cell-info.js +26 -26
  86. package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
  87. package/esm2015/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
  88. package/esm2015/lib/igc-grid-conditional-style-font-info-component.js +214 -0
  89. package/esm2015/lib/igc-grid-conditional-style-font-info-module.js +16 -0
  90. package/esm2015/lib/igc-grid-conditional-style-property-component.js +101 -35
  91. package/esm2015/lib/igc-header-component.js +24 -24
  92. package/esm2015/lib/igc-image-cell-info.js +6 -6
  93. package/esm2015/lib/igc-image-column-component.js +12 -12
  94. package/esm2015/lib/igc-numeric-cell-info.js +26 -26
  95. package/esm2015/lib/igc-numeric-column-component.js +35 -35
  96. package/esm2015/lib/igc-section-header-cell-info.js +6 -6
  97. package/esm2015/lib/igc-section-header-component.js +24 -24
  98. package/esm2015/lib/igc-summary-cell-info.js +9 -9
  99. package/esm2015/lib/igc-summary-row-component.js +24 -24
  100. package/esm2015/lib/igc-template-cell-info.js +2 -2
  101. package/esm2015/lib/igc-template-header-cell-info.js +2 -2
  102. package/esm2015/lib/igc-text-cell-info.js +2 -2
  103. package/esm2015/lib/igc-text-column-component.js +9 -9
  104. package/esm2015/lib/igc-text-header-cell-info.js +10 -10
  105. package/esm2015/public_api.js +4 -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 +8205 -7695
  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 +11 -11
  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 +343 -194
  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 +8 -8
  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/TextIconSetConditionalStyle.js +14 -9
  177. package/esm5/lib/VerticalSeparatorCell.js +37 -37
  178. package/esm5/lib/igc-cell-info.js +349 -190
  179. package/esm5/lib/igc-column-moving-separator-component.js +9 -9
  180. package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
  181. package/esm5/lib/igc-combo-box-column-component.js +10 -10
  182. package/esm5/lib/igc-data-grid-column-component.js +332 -160
  183. package/esm5/lib/igc-data-grid-component.js +68 -4
  184. package/esm5/lib/igc-date-time-cell-info.js +12 -12
  185. package/esm5/lib/igc-date-time-column-component.js +23 -23
  186. package/esm5/lib/igc-definition-base-component.js +66 -65
  187. package/esm5/lib/igc-editor-cell-info.js +23 -23
  188. package/esm5/lib/igc-filter-cell-info.js +26 -26
  189. package/esm5/lib/igc-filter-row-definition-component.js +12 -12
  190. package/esm5/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
  191. package/esm5/lib/igc-grid-conditional-style-font-info-component.js +232 -0
  192. package/esm5/lib/igc-grid-conditional-style-font-info-module.js +20 -0
  193. package/esm5/lib/igc-grid-conditional-style-property-component.js +128 -34
  194. package/esm5/lib/igc-header-component.js +24 -24
  195. package/esm5/lib/igc-image-cell-info.js +6 -6
  196. package/esm5/lib/igc-image-column-component.js +12 -12
  197. package/esm5/lib/igc-numeric-cell-info.js +26 -26
  198. package/esm5/lib/igc-numeric-column-component.js +35 -35
  199. package/esm5/lib/igc-section-header-cell-info.js +6 -6
  200. package/esm5/lib/igc-section-header-component.js +24 -24
  201. package/esm5/lib/igc-summary-cell-info.js +9 -9
  202. package/esm5/lib/igc-summary-row-component.js +24 -24
  203. package/esm5/lib/igc-template-cell-info.js +2 -2
  204. package/esm5/lib/igc-template-header-cell-info.js +2 -2
  205. package/esm5/lib/igc-text-cell-info.js +2 -2
  206. package/esm5/lib/igc-text-column-component.js +9 -9
  207. package/esm5/lib/igc-text-header-cell-info.js +10 -10
  208. package/esm5/public_api.js +4 -0
  209. package/fesm2015/igniteui-webcomponents-data-grids.js +12290 -10806
  210. package/fesm5/igniteui-webcomponents-data-grids.js +12295 -10497
  211. package/lib/ColumnFilterCondition_combined.d.ts +1999 -1901
  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/GridConditionalStyleProperty.d.ts +84 -61
  219. package/lib/ImageCell.d.ts +20 -20
  220. package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
  221. package/lib/NumericCell.d.ts +2 -1
  222. package/lib/SectionHeaderCell.d.ts +4 -4
  223. package/lib/SummaryCell.d.ts +11 -11
  224. package/lib/TemplateCell.d.ts +6 -6
  225. package/lib/TemplateHeader.d.ts +3 -3
  226. package/lib/TemplateHeaderCell.d.ts +3 -3
  227. package/lib/TemplateHeaderCellModel.d.ts +7 -7
  228. package/lib/TemplateSectionHeader.d.ts +2 -2
  229. package/lib/TextCell.d.ts +10 -8
  230. package/lib/TextCellDecoration.d.ts +26 -0
  231. package/lib/TextHeaderCell.d.ts +37 -35
  232. package/lib/VerticalSeparatorCell.d.ts +9 -9
  233. package/lib/igc-cell-info.d.ts +58 -0
  234. package/lib/igc-data-grid-column-component.d.ts +62 -1
  235. package/lib/igc-data-grid-component.d.ts +15 -1
  236. package/lib/igc-definition-base-component.d.ts +1 -1
  237. package/lib/igc-grid-conditional-style-font-info-component.d.ts +44 -0
  238. package/lib/igc-grid-conditional-style-font-info-module.d.ts +3 -0
  239. package/lib/igc-grid-conditional-style-property-component.d.ts +17 -2
  240. package/package.json +4 -4
  241. package/public_api.d.ts +4 -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-webcomponents-core";
8
8
  import { INativeCell_$type } from "./INativeCell";
9
+ import { Rect } from "igniteui-webcomponents-core";
10
+ import { XIcon } from "igniteui-webcomponents-inputs";
11
+ import { SvgIconRegistry } from "igniteui-webcomponents-core";
9
12
  import { GridExpansionIndicator } from "./GridExpansionIndicator";
10
13
  import { PlaceholderView } from "./PlaceholderView";
11
14
  import { Color } from "igniteui-webcomponents-core";
15
+ import { FontUtil } from "igniteui-webcomponents-core";
12
16
  import { TestRandomness } from "igniteui-webcomponents-core";
13
17
  import { Random } from "igniteui-webcomponents-core";
14
18
  import { DefaultRandomnessSource } from "igniteui-webcomponents-core";
15
19
  import { DeviceUtils } from "igniteui-webcomponents-core";
16
20
  import { intDivide, truncate, isNaN_ } from "igniteui-webcomponents-core";
21
+ import { stringStartsWith } from "igniteui-webcomponents-core";
17
22
  /**
18
23
  * @hidden
19
24
  */
@@ -28,69 +33,256 @@ export let GridCellBase = /*@__PURE__*/ (() => {
28
33
  get d() {
29
34
  return this.c;
30
35
  }
31
- get ae() {
32
- return this.ad;
36
+ get ak() {
37
+ return this.ai;
33
38
  }
34
- get ah() {
35
- return this.af;
39
+ get ap() {
40
+ return this.al;
36
41
  }
37
42
  get isRemoved() {
38
- return this.s;
43
+ return this.w;
39
44
  }
40
45
  set isRemoved(a) {
41
- let b = this.s;
42
- this.s = a;
43
- if (b != this.s) {
44
- this.bs("IsRemoved", b, this.s);
46
+ let b = this.w;
47
+ this.w = a;
48
+ if (b != this.w) {
49
+ this.ch("IsRemoved", b, this.w);
45
50
  }
46
51
  }
47
- get a5() {
48
- return this.as;
52
+ get bd() {
53
+ return this.a0;
49
54
  }
50
- get a3() {
51
- return this.aq;
55
+ get bb() {
56
+ return this.ay;
52
57
  }
53
- get a4() {
54
- return this.ar;
58
+ get bc() {
59
+ return this.az;
55
60
  }
56
- get a6() {
57
- return this.av;
61
+ get bg() {
62
+ return this.a3;
58
63
  }
59
- set a6(a) {
60
- let b = this.av;
61
- this.av = a;
62
- if (b != this.av) {
63
- this.bs("Indent", b, this.av);
64
+ set bg(a) {
65
+ let b = this.a3;
66
+ this.a3 = a;
67
+ if (b != this.a3) {
68
+ this.ch("Indent", b, this.a3);
64
69
  }
65
70
  }
66
- get v() {
67
- return this.p;
71
+ get aa() {
72
+ return this.t;
68
73
  }
69
- set v(a) {
70
- let b = this.p;
71
- this.p = a;
72
- if (b != this.p) {
73
- this.bs("IsCollapsable", b, this.p);
74
+ set aa(a) {
75
+ let b = this.t;
76
+ this.t = a;
77
+ if (b != this.t) {
78
+ this.ch("IsCollapsable", b, this.t);
74
79
  }
75
80
  }
76
- get w() {
77
- return this.q;
81
+ get ab() {
82
+ return this.u;
78
83
  }
79
- set w(a) {
80
- let b = this.q;
81
- this.q = a;
82
- if (b != this.q) {
83
- this.bs("IsExpanded", b, this.q);
84
+ set ab(a) {
85
+ let b = this.u;
86
+ this.u = a;
87
+ if (b != this.u) {
88
+ this.ch("IsExpanded", b, this.u);
84
89
  }
85
90
  }
86
- get y() {
87
- return this.r;
91
+ get ad() {
92
+ return this.v;
88
93
  }
89
- set y(a) {
90
- let b = this.r;
91
- this.r = a;
92
- if (b != this.r) {
93
- this.bs("IsHitTestVisible", b, this.r);
94
+ set ad(a) {
95
+ let b = this.v;
96
+ this.v = a;
97
+ if (b != this.v) {
98
+ this.ch("IsHitTestVisible", b, this.v);
99
+ }
100
+ }
101
+ get b0() {
102
+ return this.bn;
103
+ }
104
+ set b0(a) {
105
+ let b = this.bn;
106
+ this.bn = a;
107
+ if (b != this.bn) {
108
+ this.ch("SuffixText", b, this.bn);
109
+ }
110
+ }
111
+ get dp() {
112
+ return this.dl;
113
+ }
114
+ set dp(a) {
115
+ let b = this.dl;
116
+ this.dl = a;
117
+ if (b != this.dl) {
118
+ this.ch("SuffixTextColor", b, this.dl);
119
+ }
120
+ }
121
+ get n() {
122
+ return this.m;
123
+ }
124
+ set n(a) {
125
+ let b = this.m;
126
+ this.m = a;
127
+ if (b != this.m) {
128
+ this.ch("SuffixTextFont", b, this.m);
129
+ }
130
+ }
131
+ ci() {
132
+ if (this.bn != null) {
133
+ if (this.ao == null) {
134
+ this.ao = this.ai.createElement("span");
135
+ this.ao.setRawStyleProperty("display", "inline-block");
136
+ this.ao.setRawStyleProperty("overflow", "hidden");
137
+ this.ao.setRawStyleProperty("white-space", "nowrap");
138
+ this.ao.setRawStyleProperty("margin-left", "5px");
139
+ }
140
+ this.ck();
141
+ if (!this.x) {
142
+ this.ap.setRawStyleProperty("display", "grid");
143
+ this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
144
+ this.ap.append(this.ao);
145
+ this.x = true;
146
+ }
147
+ }
148
+ else {
149
+ if (this.x) {
150
+ this.ap.setRawStyleProperty("display", "unset");
151
+ this.ap.setRawStyleProperty("grid-template-columns", "unset");
152
+ this.ap.removeChild(this.ao);
153
+ this.x = false;
154
+ }
155
+ }
156
+ }
157
+ get bw() {
158
+ return this.bm;
159
+ }
160
+ set bw(a) {
161
+ let b = this.bm;
162
+ this.bm = a;
163
+ if (b != this.bm) {
164
+ this.ch("SuffixIconName", b, this.bm);
165
+ }
166
+ }
167
+ get bt() {
168
+ return this.bl;
169
+ }
170
+ set bt(a) {
171
+ let b = this.bl;
172
+ this.bl = a;
173
+ if (b != this.bl) {
174
+ this.ch("SuffixIconCollectionName", b, this.bl);
175
+ }
176
+ }
177
+ get dn() {
178
+ return this.dk;
179
+ }
180
+ set dn(a) {
181
+ let b = this.dk;
182
+ this.dk = a;
183
+ if (b != this.dk) {
184
+ this.ch("SuffixIconStroke", b, this.dk);
185
+ }
186
+ }
187
+ get dm() {
188
+ return this.dj;
189
+ }
190
+ set dm(a) {
191
+ let b = this.dj;
192
+ this.dj = a;
193
+ if (b != this.dj) {
194
+ this.ch("SuffixIconFill", b, this.dj);
195
+ }
196
+ }
197
+ get dr() {
198
+ return this.dq;
199
+ }
200
+ set dr(a) {
201
+ let b = this.dq;
202
+ this.dq = a;
203
+ if (Rect.l_op_Inequality(b, this.dq)) {
204
+ this.ch("SuffixIconViewBox", b, this.dq);
205
+ }
206
+ }
207
+ cj() {
208
+ if (this.bm != null && this.bl != null) {
209
+ if (this.l == null) {
210
+ this.an = this.ai.createElement("div");
211
+ this.aj = this.ai.getSubRenderer(this.an);
212
+ this.l = new XIcon();
213
+ this.l.provideContainer(this.aj);
214
+ this.an.setRawStyleProperty("display", "inline-block");
215
+ this.an.setRawStyleProperty("overflow", "hidden");
216
+ this.an.setRawStyleProperty("margin-left", "5px");
217
+ }
218
+ this.ck();
219
+ if (!this.x) {
220
+ this.ap.setRawStyleProperty("display", "grid");
221
+ this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
222
+ this.ap.append(this.an);
223
+ this.x = true;
224
+ }
225
+ }
226
+ else {
227
+ if (this.x) {
228
+ this.ap.setRawStyleProperty("display", "unset");
229
+ this.ap.setRawStyleProperty("grid-template-columns", "unset");
230
+ this.ap.removeChild(this.an);
231
+ this.x = false;
232
+ }
233
+ }
234
+ }
235
+ ck() {
236
+ if (this.ao != null) {
237
+ this.c5(this.ao, this.bn);
238
+ this.c6(this.ao, this.dp);
239
+ this.cx(this.ao, this.n);
240
+ this.c7(this.ao, this.h);
241
+ }
242
+ if (this.l != null) {
243
+ this.l.ea = this.dn;
244
+ this.l.fill = this.dm;
245
+ if (!this.dr.isEmpty && !isNaN_(this.dr.left) && !isNaN_(this.dr.top) && !isNaN_(this.dr.width) && !isNaN_(this.dr.height)) {
246
+ this.l.a6 = this.dr.left;
247
+ this.l.a7 = this.dr.top;
248
+ this.l.a8 = this.dr.width;
249
+ this.l.a5 = this.dr.height;
250
+ }
251
+ this.c4(this.an, this.dn);
252
+ this.cw(this.an, this.dm);
253
+ this.c7(this.an, this.h);
254
+ this.c0(this.l, this.bt, this.bw);
255
+ }
256
+ }
257
+ c0(a, b, c) {
258
+ a.svg = null;
259
+ a.svgPath = null;
260
+ a.b = null;
261
+ a.b0 = null;
262
+ a.bh = null;
263
+ let d = SvgIconRegistry.instance.getSvgPathString(this.bl, this.bm);
264
+ if (d != null) {
265
+ if (stringStartsWith(d, "<svg")) {
266
+ a.svg = d;
267
+ }
268
+ else {
269
+ a.svgPath = d;
270
+ }
271
+ return;
272
+ }
273
+ let e = SvgIconRegistry.instance.getSvgPathsString(this.bl, this.bm);
274
+ if (e != null) {
275
+ a.b = e;
276
+ return;
277
+ }
278
+ let f = SvgIconRegistry.instance.getDataURLString(this.bl, this.bm);
279
+ if (f != null) {
280
+ a.b0 = f;
281
+ return;
282
+ }
283
+ let g = SvgIconRegistry.instance.getIconSource(this.bl, this.bm);
284
+ if (g != null) {
285
+ a.bh = g;
94
286
  }
95
287
  }
96
288
  constructor(a) {
@@ -98,217 +290,271 @@ export let GridCellBase = /*@__PURE__*/ (() => {
98
290
  this.a = null;
99
291
  this.e = null;
100
292
  this.c = null;
101
- this.ad = null;
102
- this.af = null;
103
- this.s = false;
104
- this.ag = null;
105
- this.i = null;
106
- this.as = 0;
107
- this.ap = 24;
108
- this.ar = 0;
109
- this.aq = 0;
110
- this.av = 0;
111
- this.p = false;
112
- this.q = false;
113
- this.r = true;
114
- this.n = false;
115
- this.ax = 0;
293
+ this.ai = null;
294
+ this.al = null;
295
+ this.w = false;
296
+ this.am = null;
297
+ this.j = null;
298
+ this.a0 = 0;
299
+ this.ax = 24;
116
300
  this.az = 0;
117
301
  this.ay = 0;
118
- this.aw = 0;
119
- this.ak = 0;
120
- this.am = 0;
121
- this.al = 0;
122
- this.aj = 0;
123
- this.cj = null;
302
+ this.a3 = 0;
303
+ this.t = false;
304
+ this.u = false;
305
+ this.v = true;
306
+ this.ao = null;
307
+ this.bn = null;
308
+ this.dl = null;
309
+ this.m = null;
310
+ this.x = false;
311
+ this.bm = null;
312
+ this.bl = null;
313
+ this.dk = null;
314
+ this.dj = null;
315
+ this.dq = Rect.empty;
316
+ this.aj = null;
317
+ this.an = null;
318
+ this.l = null;
319
+ this.r = false;
320
+ this.a5 = 0;
321
+ this.a7 = 0;
322
+ this.a6 = 0;
323
+ this.a4 = 0;
324
+ this.as = 0;
325
+ this.au = 0;
124
326
  this.at = 0;
327
+ this.ar = 0;
328
+ this.di = null;
329
+ this.a1 = 0;
330
+ this.ba = 0;
125
331
  this.a2 = 0;
126
- this.au = 0;
127
- this.j = null;
332
+ this.k = null;
128
333
  this.g = 0;
129
- this.h = 0;
130
- this.ac = 0;
131
- this.ab = 0;
132
- this.t = false;
133
- this.a8 = 0;
134
- this.a9 = 0;
135
- this.ai = 0;
136
- this.a1 = -1;
137
- this.an = 0;
138
- this.o = false;
139
- this.ad = a;
140
- this.af = this.ad.createElement("div");
141
- this.af.setAttribute("tabindex", "-1");
142
- this.af.setRawStyleProperty("position", "absolute");
143
- this.af.setRawStyleProperty("overflow", "hidden");
144
- this.af.setRawStyleProperty("box-sizing", "border-box");
145
- this.af.setRawStyleProperty("outline", "none");
334
+ this.i = 0;
335
+ this.ah = 0;
336
+ this.ag = 0;
337
+ this.h = 1;
338
+ this.y = false;
339
+ this.bj = 0;
340
+ this.bk = 0;
341
+ this.aq = 0;
342
+ this.a9 = -1;
343
+ this.av = 0;
344
+ this.s = false;
345
+ this.ai = a;
346
+ this.al = this.ai.createElement("div");
347
+ this.al.setAttribute("tabindex", "-1");
348
+ this.al.setRawStyleProperty("position", "absolute");
349
+ this.al.setRawStyleProperty("overflow", "hidden");
350
+ this.al.setRawStyleProperty("box-sizing", "border-box");
351
+ this.al.setRawStyleProperty("outline", "none");
146
352
  let b = (window.navigator.msPointerEnabled && window.MSGesture !== undefined);
147
353
  let c = (window.PointerEvent !== undefined);
148
354
  let d = (window.TouchEvent);
149
355
  if ((b || c)) {
150
- this.af.listen("pointerdown", runOn(this, this.bt));
151
- this.af.listen("pointerup", runOn(this, this.bx));
152
- this.af.listen("pointermove", runOn(this, this.bw));
153
- this.af.listen("pointerleave", runOn(this, this.bv));
154
- this.af.listen("pointerenter", runOn(this, this.bu));
356
+ this.al.listen("pointerdown", runOn(this, this.cm));
357
+ this.al.listen("pointerup", runOn(this, this.cq));
358
+ this.al.listen("pointermove", runOn(this, this.cp));
359
+ this.al.listen("pointerleave", runOn(this, this.co));
360
+ this.al.listen("pointerenter", runOn(this, this.cn));
155
361
  }
156
362
  else {
157
- this.af.listen("mousedown", runOn(this, this.bj));
158
- this.af.listen("mouseup", runOn(this, this.bn));
159
- this.af.listen("mousemove", runOn(this, this.bm));
160
- this.af.listen("mouseleave", runOn(this, this.bl));
161
- this.af.listen("touchstart", runOn(this, this.cb));
162
- this.af.listen("touchend", runOn(this, this.cd));
163
- this.af.listen("touchmove", runOn(this, this.cc));
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();
363
+ this.al.listen("mousedown", runOn(this, this.b8));
364
+ this.al.listen("mouseup", runOn(this, this.cc));
365
+ this.al.listen("mousemove", runOn(this, this.cb));
366
+ this.al.listen("mouseleave", runOn(this, this.ca));
367
+ this.al.listen("touchstart", runOn(this, this.da));
368
+ this.al.listen("touchend", runOn(this, this.dc));
369
+ this.al.listen("touchmove", runOn(this, this.db));
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();
197
403
  }
198
404
  }
199
405
  }
200
- get u() {
201
- return this.n;
406
+ get z() {
407
+ return this.r;
202
408
  }
203
- set u(a) {
204
- this.n = a;
409
+ set z(a) {
410
+ this.r = a;
205
411
  }
206
- get_z() {
412
+ get_ae() {
207
413
  return false;
208
414
  }
209
- 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;
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 = /*@__PURE__*/ markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
659
- GridCellBase.k = null;
660
- GridCellBase.a7 = /*@__PURE__*/ new Random(0);
661
- GridCellBase.a0 = 10;
662
- GridCellBase.ao = 3;
929
+ GridCellBase.o = null;
930
+ GridCellBase.bi = /*@__PURE__*/ new Random(0);
931
+ GridCellBase.a8 = 10;
932
+ GridCellBase.aw = 3;
663
933
  return GridCellBase;
664
934
  })();