igniteui-webcomponents-data-grids 6.0.1 → 6.0.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +41 -41
  241. package/public_api.d.ts +4 -0
@@ -78,11 +78,11 @@ var IgcFilterRowDefinitionComponent = /** @class */ /*@__PURE__*/ (function (_su
78
78
  * Gets or sets the amount of left padding to use for the cell content for this column.
79
79
  */
80
80
  get: function () {
81
- return this.i.g3;
81
+ return this.i.g4;
82
82
  },
83
83
  set: function (v) {
84
- this.i.g3 = +v;
85
- this._a("paddingLeft", this.i.g3);
84
+ this.i.g4 = +v;
85
+ this._a("paddingLeft", this.i.g4);
86
86
  },
87
87
  enumerable: false,
88
88
  configurable: true
@@ -92,11 +92,11 @@ var IgcFilterRowDefinitionComponent = /** @class */ /*@__PURE__*/ (function (_su
92
92
  * Gets or sets the amount of top padding to use for the cell content for this column.
93
93
  */
94
94
  get: function () {
95
- return this.i.g5;
95
+ return this.i.g6;
96
96
  },
97
97
  set: function (v) {
98
- this.i.g5 = +v;
99
- this._a("paddingTop", this.i.g5);
98
+ this.i.g6 = +v;
99
+ this._a("paddingTop", this.i.g6);
100
100
  },
101
101
  enumerable: false,
102
102
  configurable: true
@@ -106,11 +106,11 @@ var IgcFilterRowDefinitionComponent = /** @class */ /*@__PURE__*/ (function (_su
106
106
  * Gets or sets the amount of right padding to use for the cell content of this column.
107
107
  */
108
108
  get: function () {
109
- return this.i.g4;
109
+ return this.i.g5;
110
110
  },
111
111
  set: function (v) {
112
- this.i.g4 = +v;
113
- this._a("paddingRight", this.i.g4);
112
+ this.i.g5 = +v;
113
+ this._a("paddingRight", this.i.g5);
114
114
  },
115
115
  enumerable: false,
116
116
  configurable: true
@@ -120,11 +120,11 @@ var IgcFilterRowDefinitionComponent = /** @class */ /*@__PURE__*/ (function (_su
120
120
  * Gets or sets the amount of bottom padding to use for the cell content of this column.
121
121
  */
122
122
  get: function () {
123
- return this.i.g2;
123
+ return this.i.g3;
124
124
  },
125
125
  set: function (v) {
126
- this.i.g2 = +v;
127
- this._a("paddingBottom", this.i.g2);
126
+ this.i.g3 = +v;
127
+ this._a("paddingBottom", this.i.g3);
128
128
  },
129
129
  enumerable: false,
130
130
  configurable: true
@@ -36,10 +36,10 @@ var IgcGridConditionFilterStringErrorsParsingEventArgs = /** @class */ /*@__PURE
36
36
  };
37
37
  Object.defineProperty(IgcGridConditionFilterStringErrorsParsingEventArgs.prototype, "propertyName", {
38
38
  get: function () {
39
- return this.i.propertyName;
39
+ return this.i.b;
40
40
  },
41
41
  set: function (v) {
42
- this.i.propertyName = v;
42
+ this.i.b = v;
43
43
  },
44
44
  enumerable: false,
45
45
  configurable: true
@@ -49,10 +49,10 @@ var IgcGridConditionFilterStringErrorsParsingEventArgs = /** @class */ /*@__PURE
49
49
  * Gets the errors from parsing the filter string.
50
50
  */
51
51
  get: function () {
52
- return this.i.errors;
52
+ return this.i.a;
53
53
  },
54
54
  set: function (v) {
55
- this.i.errors = v;
55
+ this.i.a = v;
56
56
  },
57
57
  enumerable: false,
58
58
  configurable: true
@@ -0,0 +1,232 @@
1
+ import { __extends } from "tslib";
2
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
3
+ import { GridConditionalStyleFontInfo } from "./GridConditionalStyleFontInfo";
4
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
5
+ import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, initializePropertiesFromCss } from "igniteui-webcomponents-core";
6
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
7
+ import { FontInfo } from "igniteui-webcomponents-core";
8
+ var IgcGridConditionalStyleFontInfoComponent = /** @class */ /*@__PURE__*/ (function (_super) {
9
+ __extends(IgcGridConditionalStyleFontInfoComponent, _super);
10
+ function IgcGridConditionalStyleFontInfoComponent() {
11
+ var _this = _super.call(this) || this;
12
+ _this._settingAttributes = false;
13
+ _this._attached = false;
14
+ _this._queuedSetAttributes = [];
15
+ _this._updatingFromAttribute = false;
16
+ _this.__p = null;
17
+ _this._hasUserValues = new Set();
18
+ _this._stylingContainer = null;
19
+ _this._stylingParent = null;
20
+ _this._inStyling = false;
21
+ if (_this._styling) {
22
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
23
+ }
24
+ _this._implementation = _this.createImplementation();
25
+ _this._implementation.externalObject = _this;
26
+ _this.onImplementationCreated();
27
+ if (_this._initializeAdapters) {
28
+ _this._initializeAdapters();
29
+ }
30
+ return _this;
31
+ }
32
+ IgcGridConditionalStyleFontInfoComponent.prototype.createImplementation = function () {
33
+ return new GridConditionalStyleFontInfo();
34
+ };
35
+ Object.defineProperty(IgcGridConditionalStyleFontInfoComponent.prototype, "i", {
36
+ /**
37
+ * @hidden
38
+ */
39
+ get: function () {
40
+ return this._implementation;
41
+ } /**
42
+ * @hidden
43
+ */,
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ IgcGridConditionalStyleFontInfoComponent._createFromInternal = function (internal) {
48
+ if (!internal) {
49
+ return null;
50
+ }
51
+ if (!internal.$type) {
52
+ return null;
53
+ }
54
+ var name = internal.$type.name;
55
+ var externalName = "Igc" + name + "Component";
56
+ if (!TypeRegistrar.isRegistered(externalName)) {
57
+ return null;
58
+ }
59
+ return TypeRegistrar.create(externalName);
60
+ };
61
+ IgcGridConditionalStyleFontInfoComponent.prototype.onImplementationCreated = function () {
62
+ };
63
+ IgcGridConditionalStyleFontInfoComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
64
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
65
+ };
66
+ IgcGridConditionalStyleFontInfoComponent.prototype._flushQueuedAttributes = function () {
67
+ this._settingAttributes = true;
68
+ for (var i = 0; i < this._queuedSetAttributes.length; i++) {
69
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
70
+ }
71
+ this._settingAttributes = false;
72
+ this._queuedSetAttributes.length = 0;
73
+ };
74
+ IgcGridConditionalStyleFontInfoComponent.prototype._a = function (attrName, attrValue) {
75
+ if (this._updatingFromAttribute) {
76
+ return;
77
+ }
78
+ if (attrValue) {
79
+ attrValue = attrValue.toString();
80
+ }
81
+ this._settingAttributes = true;
82
+ attrName = toSpinal(attrName);
83
+ if (this._attached) {
84
+ this.setAttribute(attrName, attrValue);
85
+ }
86
+ else {
87
+ this._enqueueSetAttribute(attrName, attrValue);
88
+ }
89
+ this._settingAttributes = false;
90
+ };
91
+ IgcGridConditionalStyleFontInfoComponent.prototype.connectedCallback = function () {
92
+ if (_super.prototype["connectedCallback"]) {
93
+ _super.prototype["connectedCallback"].call(this);
94
+ }
95
+ if (this.i.connectedCallback) {
96
+ this.i.connectedCallback();
97
+ }
98
+ if (!this._attached) {
99
+ this._attached = true;
100
+ this._flushQueuedAttributes();
101
+ }
102
+ };
103
+ IgcGridConditionalStyleFontInfoComponent.prototype.disconnectedCallback = function () {
104
+ if (_super.prototype["disconnectedCallback"]) {
105
+ _super.prototype["disconnectedCallback"].call(this);
106
+ }
107
+ if (this.i.disconnectedCallback) {
108
+ this.i.disconnectedCallback();
109
+ }
110
+ if (this._attached) {
111
+ this._attached = false;
112
+ }
113
+ };
114
+ Object.defineProperty(IgcGridConditionalStyleFontInfoComponent, "observedAttributes", {
115
+ get: function () {
116
+ if (IgcGridConditionalStyleFontInfoComponent._observedAttributesIgcGridConditionalStyleFontInfoComponent == null) {
117
+ var names = getAllPropertyNames(IgcGridConditionalStyleFontInfoComponent);
118
+ for (var i = 0; i < names.length; i++) {
119
+ names[i] = toSpinal(names[i]);
120
+ }
121
+ IgcGridConditionalStyleFontInfoComponent._observedAttributesIgcGridConditionalStyleFontInfoComponent = names;
122
+ }
123
+ return IgcGridConditionalStyleFontInfoComponent._observedAttributesIgcGridConditionalStyleFontInfoComponent;
124
+ },
125
+ enumerable: false,
126
+ configurable: true
127
+ });
128
+ IgcGridConditionalStyleFontInfoComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
129
+ if (this._settingAttributes) {
130
+ return;
131
+ }
132
+ var setName = fromSpinal(name);
133
+ this._updatingFromAttribute = true;
134
+ this[setName] = newValue;
135
+ this._updatingFromAttribute = false;
136
+ };
137
+ IgcGridConditionalStyleFontInfoComponent.register = function () {
138
+ if (!IgcGridConditionalStyleFontInfoComponent._isElementRegistered) {
139
+ IgcGridConditionalStyleFontInfoComponent._isElementRegistered = true;
140
+ RegisterElementHelper.registerElement(IgcGridConditionalStyleFontInfoComponent.htmlTagName, IgcGridConditionalStyleFontInfoComponent);
141
+ }
142
+ };
143
+ Object.defineProperty(IgcGridConditionalStyleFontInfoComponent.prototype, "textStyle", {
144
+ /**
145
+ * Gets or sets the font info for a conditional style.
146
+ */
147
+ get: function () {
148
+ if (this.i.textStyle == null) {
149
+ return null;
150
+ }
151
+ return this.i.textStyle.fontString;
152
+ },
153
+ set: function (v) {
154
+ var fi = new FontInfo();
155
+ fi.fontString = v;
156
+ this.i.textStyle = fi;
157
+ this._a("textStyle", this.i.textStyle != null ? this.i.textStyle.fontString : "");
158
+ },
159
+ enumerable: false,
160
+ configurable: true
161
+ });
162
+ IgcGridConditionalStyleFontInfoComponent.prototype.findByName = function (name) {
163
+ if (this.findEphemera) {
164
+ if (name && name.indexOf("@@e:") == 0) {
165
+ return this.findEphemera(name);
166
+ }
167
+ }
168
+ return null;
169
+ };
170
+ Object.defineProperty(IgcGridConditionalStyleFontInfoComponent.prototype, "hasUserValues", {
171
+ get: function () {
172
+ return this._hasUserValues;
173
+ },
174
+ enumerable: false,
175
+ configurable: true
176
+ });
177
+ IgcGridConditionalStyleFontInfoComponent.prototype.__m = function (propertyName) {
178
+ if (!this._inStyling) {
179
+ this._hasUserValues.add(propertyName);
180
+ }
181
+ };
182
+ IgcGridConditionalStyleFontInfoComponent.prototype._styling = function (container, component, parent) {
183
+ if (this._inStyling) {
184
+ return;
185
+ }
186
+ this._inStyling = true;
187
+ this._stylingContainer = container;
188
+ this._stylingParent = component;
189
+ var genericPrefix = "";
190
+ var typeName = this.i.$type.name;
191
+ if (typeName.indexOf("Xam") === 0) {
192
+ typeName = typeName.substring(3);
193
+ }
194
+ genericPrefix = toSpinal("GridConditionalStyleFontInfoComponent");
195
+ var additionalPrefixes = [];
196
+ var prefix = toSpinal(typeName);
197
+ additionalPrefixes.push(prefix + "-");
198
+ var b = this.i.$type.baseType;
199
+ while (b && b.name != "Object" &&
200
+ b.name != "Base" &&
201
+ b.name != "Control" &&
202
+ b.Name != "DependencyObject" &&
203
+ b.Name != "FrameworkElement") {
204
+ typeName = b.name;
205
+ if (typeName.indexOf("Xam") === 0) {
206
+ typeName = typeName.substring(3);
207
+ }
208
+ var basePrefix = toSpinal(typeName);
209
+ additionalPrefixes.push(basePrefix + "-");
210
+ b = b.baseType;
211
+ }
212
+ if (parent) {
213
+ var parentTypeName = parent.i.$type.name;
214
+ if (parentTypeName.indexOf("Xam") === 0) {
215
+ parentTypeName = parentTypeName.substring(3);
216
+ }
217
+ var parentPrefix = toSpinal(parentTypeName);
218
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
219
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
220
+ }
221
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
222
+ if (this._otherStyling) {
223
+ this._otherStyling(container, component, parent);
224
+ }
225
+ this._inStyling = false;
226
+ };
227
+ IgcGridConditionalStyleFontInfoComponent._observedAttributesIgcGridConditionalStyleFontInfoComponent = null;
228
+ IgcGridConditionalStyleFontInfoComponent.htmlTagName = "igc-grid-conditional-style-font-info";
229
+ IgcGridConditionalStyleFontInfoComponent._isElementRegistered = false;
230
+ return IgcGridConditionalStyleFontInfoComponent;
231
+ }(IgcHTMLElement));
232
+ export { IgcGridConditionalStyleFontInfoComponent };
@@ -0,0 +1,20 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { IgcGridConditionalStyleFontInfoComponent } from './igc-grid-conditional-style-font-info-component';
8
+ import { GridConditionalStyleFontInfo } from './GridConditionalStyleFontInfo';
9
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
10
+ var IgcGridConditionalStyleFontInfoModule = /** @class */ /*@__PURE__*/ (function () {
11
+ function IgcGridConditionalStyleFontInfoModule() {
12
+ }
13
+ IgcGridConditionalStyleFontInfoModule.register = function () {
14
+ IgcGridConditionalStyleFontInfoComponent.register();
15
+ TypeRegistrar.registerCons("IgcGridConditionalStyleFontInfoComponent", IgcGridConditionalStyleFontInfoComponent);
16
+ TypeRegistrar.register("GridConditionalStyleFontInfo", GridConditionalStyleFontInfo.$type);
17
+ };
18
+ return IgcGridConditionalStyleFontInfoModule;
19
+ }());
20
+ export { IgcGridConditionalStyleFontInfoModule };
@@ -3,6 +3,7 @@ import { IgcHTMLElement } from "igniteui-webcomponents-core";
3
3
  import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
4
4
  import { GridConditionalStylePropertyStylingType_$type } from "./GridConditionalStylePropertyStylingType";
5
5
  import { GridConditionalStyleBoundType_$type } from "./GridConditionalStyleBoundType";
6
+ import { IgcGridConditionalStyleFontInfoComponent } from "./igc-grid-conditional-style-font-info-component";
6
7
  import { IgcGridConditionFilterStringErrorsParsingEventArgs } from "./igc-grid-condition-filter-string-errors-parsing-event-args";
7
8
  import { GridConditionalStyleProperty } from "./GridConditionalStyleProperty";
8
9
  import { TypeRegistrar } from "igniteui-webcomponents-core";
@@ -147,11 +148,11 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
147
148
  };
148
149
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "stylingType", {
149
150
  get: function () {
150
- return this.i.aj;
151
+ return this.i.al;
151
152
  },
152
153
  set: function (v) {
153
- this.i.aj = ensureEnum(GridConditionalStylePropertyStylingType_$type, v);
154
- this._a("stylingType", enumToString(GridConditionalStylePropertyStylingType_$type, this.i.aj));
154
+ this.i.al = ensureEnum(GridConditionalStylePropertyStylingType_$type, v);
155
+ this._a("stylingType", enumToString(GridConditionalStylePropertyStylingType_$type, this.i.al));
155
156
  },
156
157
  enumerable: false,
157
158
  configurable: true
@@ -180,10 +181,10 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
180
181
  });
181
182
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "propertyName", {
182
183
  get: function () {
183
- return this.i.b9;
184
+ return this.i.cs;
184
185
  },
185
186
  set: function (v) {
186
- this.i.b9 = v;
187
+ this.i.cs = v;
187
188
  },
188
189
  enumerable: false,
189
190
  configurable: true
@@ -200,10 +201,10 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
200
201
  });
201
202
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "inputValueExpressionString", {
202
203
  get: function () {
203
- return this.i.bo;
204
+ return this.i.b5;
204
205
  },
205
206
  set: function (v) {
206
- this.i.bo = v;
207
+ this.i.b5 = v;
207
208
  },
208
209
  enumerable: false,
209
210
  configurable: true
@@ -230,10 +231,10 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
230
231
  });
231
232
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "minimumInputValueExpressionString", {
232
233
  get: function () {
233
- return this.i.b5;
234
+ return this.i.cn;
234
235
  },
235
236
  set: function (v) {
236
- this.i.b5 = v;
237
+ this.i.cn = v;
237
238
  },
238
239
  enumerable: false,
239
240
  configurable: true
@@ -260,10 +261,10 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
260
261
  });
261
262
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "maximumInputValueExpressionString", {
262
263
  get: function () {
263
- return this.i.bz;
264
+ return this.i.ch;
264
265
  },
265
266
  set: function (v) {
266
- this.i.bz = v;
267
+ this.i.ch = v;
267
268
  },
268
269
  enumerable: false,
269
270
  configurable: true
@@ -290,10 +291,10 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
290
291
  });
291
292
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "sumInputValueExpressionString", {
292
293
  get: function () {
293
- return this.i.ce;
294
+ return this.i.cz;
294
295
  },
295
296
  set: function (v) {
296
- this.i.ce = v;
297
+ this.i.cz = v;
297
298
  },
298
299
  enumerable: false,
299
300
  configurable: true
@@ -308,75 +309,162 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
308
309
  enumerable: false,
309
310
  configurable: true
310
311
  });
311
- Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "value", {
312
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "doubleValue", {
313
+ get: function () {
314
+ return this.i.a7;
315
+ },
316
+ set: function (v) {
317
+ this.i.a7 = +v;
318
+ this._a("doubleValue", this.i.a7);
319
+ },
320
+ enumerable: false,
321
+ configurable: true
322
+ });
323
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "intValue", {
312
324
  get: function () {
313
325
  return this.i.bc;
314
326
  },
315
327
  set: function (v) {
316
- this.i.bc = v;
328
+ this.i.bc = +v;
329
+ this._a("intValue", this.i.bc);
330
+ },
331
+ enumerable: false,
332
+ configurable: true
333
+ });
334
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "boolValue", {
335
+ get: function () {
336
+ return this.i.ap;
337
+ },
338
+ set: function (v) {
339
+ this.i.ap = ensureBool(v);
340
+ this._a("boolValue", this.i.ap);
341
+ },
342
+ enumerable: false,
343
+ configurable: true
344
+ });
345
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "dateValue", {
346
+ get: function () {
347
+ return this.i.a0;
348
+ },
349
+ set: function (v) {
350
+ this.i.a0 = v;
351
+ },
352
+ enumerable: false,
353
+ configurable: true
354
+ });
355
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "fontValue", {
356
+ get: function () {
357
+ var r = this.i.aj;
358
+ if (r == null) {
359
+ return null;
360
+ }
361
+ if (!r.externalObject) {
362
+ var e = IgcGridConditionalStyleFontInfoComponent._createFromInternal(r);
363
+ if (e) {
364
+ e._implementation = r;
365
+ }
366
+ r.externalObject = e;
367
+ }
368
+ return r.externalObject;
369
+ },
370
+ set: function (v) {
371
+ if (v != null && this._stylingContainer && v._styling)
372
+ v._styling(this._stylingContainer, this, this);
373
+ v == null ? this.i.aj = null : this.i.aj = v.i;
374
+ },
375
+ enumerable: false,
376
+ configurable: true
377
+ });
378
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "objectValue", {
379
+ get: function () {
380
+ return this.i.bm;
381
+ },
382
+ set: function (v) {
383
+ this.i.bm = v;
384
+ },
385
+ enumerable: false,
386
+ configurable: true
387
+ });
388
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "stringValue", {
389
+ get: function () {
390
+ return this.i.cv;
391
+ },
392
+ set: function (v) {
393
+ this.i.cv = v;
394
+ },
395
+ enumerable: false,
396
+ configurable: true
397
+ });
398
+ Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "brushValue", {
399
+ get: function () {
400
+ return brushToString(this.i.c8);
401
+ },
402
+ set: function (v) {
403
+ this.i.c8 = stringToBrush(v);
404
+ this._a("brushValue", brushToString(this.i.c8));
317
405
  },
318
406
  enumerable: false,
319
407
  configurable: true
320
408
  });
321
409
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "shouldSetValue", {
322
410
  get: function () {
323
- return this.i.as;
411
+ return this.i.aw;
324
412
  },
325
413
  set: function (v) {
326
- this.i.as = ensureBool(v);
327
- this._a("shouldSetValue", this.i.as);
414
+ this.i.aw = ensureBool(v);
415
+ this._a("shouldSetValue", this.i.aw);
328
416
  },
329
417
  enumerable: false,
330
418
  configurable: true
331
419
  });
332
420
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "minimumColor", {
333
421
  get: function () {
334
- return brushToString(this.i.co);
422
+ return brushToString(this.i.da);
335
423
  },
336
424
  set: function (v) {
337
- this.i.co = stringToBrush(v);
338
- this._a("minimumColor", brushToString(this.i.co));
425
+ this.i.da = stringToBrush(v);
426
+ this._a("minimumColor", brushToString(this.i.da));
339
427
  },
340
428
  enumerable: false,
341
429
  configurable: true
342
430
  });
343
431
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "maximumColor", {
344
432
  get: function () {
345
- return brushToString(this.i.cn);
433
+ return brushToString(this.i.c9);
346
434
  },
347
435
  set: function (v) {
348
- this.i.cn = stringToBrush(v);
349
- this._a("maximumColor", brushToString(this.i.cn));
436
+ this.i.c9 = stringToBrush(v);
437
+ this._a("maximumColor", brushToString(this.i.c9));
350
438
  },
351
439
  enumerable: false,
352
440
  configurable: true
353
441
  });
354
442
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "minimumInputValue", {
355
443
  get: function () {
356
- return this.i.ba;
444
+ return this.i.bl;
357
445
  },
358
446
  set: function (v) {
359
- this.i.ba = v;
447
+ this.i.bl = v;
360
448
  },
361
449
  enumerable: false,
362
450
  configurable: true
363
451
  });
364
452
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "maximumInputValue", {
365
453
  get: function () {
366
- return this.i.a9;
454
+ return this.i.bk;
367
455
  },
368
456
  set: function (v) {
369
- this.i.a9 = v;
457
+ this.i.bk = v;
370
458
  },
371
459
  enumerable: false,
372
460
  configurable: true
373
461
  });
374
462
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "sumInputValue", {
375
463
  get: function () {
376
- return this.i.bb;
464
+ return this.i.bn;
377
465
  },
378
466
  set: function (v) {
379
- this.i.bb = v;
467
+ this.i.bn = v;
380
468
  },
381
469
  enumerable: false,
382
470
  configurable: true
@@ -408,28 +496,28 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
408
496
  });
409
497
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "requiresGlobalValues", {
410
498
  get: function () {
411
- return this.i.ar;
499
+ return this.i.av;
412
500
  },
413
501
  enumerable: false,
414
502
  configurable: true
415
503
  });
416
504
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "needsGlobalMinimum", {
417
505
  get: function () {
418
- return this.i.ap;
506
+ return this.i.at;
419
507
  },
420
508
  enumerable: false,
421
509
  configurable: true
422
510
  });
423
511
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "needsGlobalMaximum", {
424
512
  get: function () {
425
- return this.i.ao;
513
+ return this.i.as;
426
514
  },
427
515
  enumerable: false,
428
516
  configurable: true
429
517
  });
430
518
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "needsGlobalSum", {
431
519
  get: function () {
432
- return this.i.aq;
520
+ return this.i.au;
433
521
  },
434
522
  enumerable: false,
435
523
  configurable: true
@@ -440,6 +528,9 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
440
528
  return this.findEphemera(name);
441
529
  }
442
530
  }
531
+ if (this.fontValue && this.fontValue.name && this.fontValue.name == name) {
532
+ return this.fontValue;
533
+ }
443
534
  return null;
444
535
  };
445
536
  Object.defineProperty(IgcGridConditionalStylePropertyComponent.prototype, "hasUserValues", {
@@ -494,6 +585,9 @@ var IgcGridConditionalStylePropertyComponent = /** @class */ /*@__PURE__*/ (func
494
585
  additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
495
586
  }
496
587
  initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
588
+ if (this.fontValue && this.fontValue._styling) {
589
+ this.fontValue._styling(container, component, this);
590
+ }
497
591
  if (this._otherStyling) {
498
592
  this._otherStyling(container, component, parent);
499
593
  }