igniteui-webcomponents-grids 5.1.0 → 5.1.1-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 (427) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +29290 -22265
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/AccessibilityRow.js +3 -3
  4. package/esm2015/lib/BaseEditorView.js +36 -30
  5. package/esm2015/lib/CanvasCellPresenterBase.js +17 -17
  6. package/esm2015/lib/CanvasContentCellModelHelper.js +26 -26
  7. package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
  8. package/esm2015/lib/CanvasGridCellBase.js +377 -361
  9. package/esm2015/lib/CanvasImageCell.js +30 -30
  10. package/esm2015/lib/CanvasImageCellPresenter.js +17 -17
  11. package/esm2015/lib/CanvasNumericCell.js +2 -2
  12. package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
  13. package/esm2015/lib/CanvasSectionHeaderCell.js +3 -3
  14. package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +11 -11
  15. package/esm2015/lib/CanvasSummaryCell.js +50 -50
  16. package/esm2015/lib/CanvasSummaryCellPresenter.js +10 -10
  17. package/esm2015/lib/CanvasTemplateCell.js +7 -7
  18. package/esm2015/lib/CanvasTemplateCellPresenter.js +6 -6
  19. package/esm2015/lib/CanvasTemplateHeaderCell.js +7 -7
  20. package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
  21. package/esm2015/lib/CanvasTextCell.js +3 -3
  22. package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
  23. package/esm2015/lib/CanvasTextHeaderCell.js +24 -24
  24. package/esm2015/lib/CanvasTextHeaderCellPresenter.js +20 -20
  25. package/esm2015/lib/CellPresenterBase.js +40 -38
  26. package/esm2015/lib/CheckboxListBridge.js +88 -23
  27. package/esm2015/lib/CheckboxListExternalIndexType.js +11 -0
  28. package/esm2015/lib/CheckboxListExternalIndexTypeChangedEventArgs.js +21 -0
  29. package/esm2015/lib/CheckboxListExternalKeysClearedEventArgs.js +16 -0
  30. package/esm2015/lib/CheckboxListIndexTypeChangedEventArgs.js +21 -0
  31. package/esm2015/lib/CheckboxListKeysClearedEventArgs.js +16 -0
  32. package/esm2015/lib/CheckboxListViewExternal.js +11 -0
  33. package/esm2015/lib/CheckboxListView_combined.js +617 -520
  34. package/esm2015/lib/ColumnChooserView_combined.js +15 -15
  35. package/esm2015/lib/ColumnFilterCondition_combined.js +13473 -10334
  36. package/esm2015/lib/ColumnGroupingView_combined.js +6 -5
  37. package/esm2015/lib/ColumnOptionsToolbarManagerOpeningEventArgs.js +16 -0
  38. package/esm2015/lib/ColumnPinningView_combined.js +15 -15
  39. package/esm2015/lib/ColumnSummaryDescription.js +53 -46
  40. package/esm2015/lib/ColumnSummaryDescriptionCollection.js +4 -2
  41. package/esm2015/lib/ComboEditorView.js +119 -117
  42. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +12 -12
  43. package/esm2015/lib/ContentCellModelHelper.js +19 -19
  44. package/esm2015/lib/DataGridCellLayoutPanel.js +21 -21
  45. package/esm2015/lib/DataGridColumnToolbarManager.js +7 -0
  46. package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
  47. package/esm2015/lib/DataGridToolbarView_combined.js +3 -2
  48. package/esm2015/lib/DateEditorView.js +94 -94
  49. package/esm2015/lib/DateTimeCellPresenter.js +8 -8
  50. package/esm2015/lib/Dragger.js +3 -2
  51. package/esm2015/lib/DraggerView.js +1 -1
  52. package/esm2015/lib/EditorCell.js +303 -303
  53. package/esm2015/lib/EditorCellPresenter.js +28 -28
  54. package/esm2015/lib/EditorRowCell.js +1 -1
  55. package/esm2015/lib/FilterCell.js +272 -272
  56. package/esm2015/lib/FilterCellPresenter.js +18 -18
  57. package/esm2015/lib/GridCellBase.js +295 -279
  58. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +23 -22
  59. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
  60. package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
  61. package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
  62. package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
  63. package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
  64. package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
  65. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +19 -18
  66. package/esm2015/lib/GridCompoundConditionalStyle.js +7 -0
  67. package/esm2015/lib/GridConditionFilterStringErrorsParsingEventArgs.js +33 -0
  68. package/esm2015/lib/GridConditionalStyle.js +7 -0
  69. package/esm2015/lib/GridConditionalStyleBoundType.js +16 -0
  70. package/esm2015/lib/GridConditionalStyleCollection.js +7 -0
  71. package/esm2015/lib/GridConditionalStyleProperty.js +615 -0
  72. package/esm2015/lib/GridConditionalStylePropertyCollection.js +21 -0
  73. package/esm2015/lib/GridConditionalStylePropertyStylingType.js +18 -0
  74. package/esm2015/lib/GridExternalWrapper.js +6 -6
  75. package/esm2015/lib/GridFilterDialogView_combined.js +308 -301
  76. package/esm2015/lib/GridModuleHelper.js +24 -0
  77. package/esm2015/lib/GridSelectedKeysCollection.js +21 -3
  78. package/esm2015/lib/GridSortIndicatorView_combined.js +1 -1
  79. package/esm2015/lib/GridStyleRepository.js +206 -173
  80. package/esm2015/lib/ISummaryChooserView_combined.js +10 -10
  81. package/esm2015/lib/ImageCell.js +60 -60
  82. package/esm2015/lib/ImageCellPresenter.js +18 -18
  83. package/esm2015/lib/MultiColumnComboBoxView_combined.js +34 -34
  84. package/esm2015/lib/NativeUIComboFactory.js +47 -0
  85. package/esm2015/lib/NativeUIGridFactory.js +1 -1
  86. package/esm2015/lib/NumericCell.js +5 -5
  87. package/esm2015/lib/NumericCellPresenter.js +8 -8
  88. package/esm2015/lib/NumericEditorView.js +3 -3
  89. package/esm2015/lib/PropertyEditorView_combined.js +66 -66
  90. package/esm2015/lib/SectionHeaderCell.js +17 -17
  91. package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
  92. package/esm2015/lib/SummaryCell.js +41 -41
  93. package/esm2015/lib/SummaryCellPresenter.js +14 -14
  94. package/esm2015/lib/TemplateCell.js +16 -16
  95. package/esm2015/lib/TemplateCellPresenter.js +5 -5
  96. package/esm2015/lib/TemplateHeader.js +9 -9
  97. package/esm2015/lib/TemplateHeaderCell.js +6 -6
  98. package/esm2015/lib/TemplateHeaderCellModel.js +23 -17
  99. package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
  100. package/esm2015/lib/TemplateSectionHeader.js +3 -3
  101. package/esm2015/lib/TextCell.js +30 -30
  102. package/esm2015/lib/TextCellPresenter.js +9 -9
  103. package/esm2015/lib/TextEditorView.js +78 -78
  104. package/esm2015/lib/TextHeaderCell.js +149 -153
  105. package/esm2015/lib/TextHeaderCellPresenter.js +38 -32
  106. package/esm2015/lib/TextIconSetBuiltInTypes.js +18 -0
  107. package/esm2015/lib/TextIconSetConditionalStyle.js +101 -0
  108. package/esm2015/lib/VerticalSeparatorCell.js +37 -37
  109. package/esm2015/lib/igc-cell-info.js +177 -177
  110. package/esm2015/lib/igc-checkbox-list-component.js +131 -79
  111. package/esm2015/lib/igc-checkbox-list-index-type-changed-event-args.js +44 -0
  112. package/esm2015/lib/igc-checkbox-list-keys-cleared-event-args.js +30 -0
  113. package/esm2015/lib/igc-column-moving-separator-component.js +15 -9
  114. package/esm2015/lib/igc-column-resizing-separator-component.js +12 -6
  115. package/esm2015/lib/igc-column-summary-description.js +24 -15
  116. package/esm2015/lib/igc-combo-box-column-component.js +16 -10
  117. package/esm2015/lib/igc-data-grid-all-columns-module.js +4 -0
  118. package/esm2015/lib/igc-data-grid-column-component.js +182 -160
  119. package/esm2015/lib/igc-data-grid-component.js +50 -24
  120. package/esm2015/lib/igc-data-grid-core-module.js +5 -0
  121. package/esm2015/lib/igc-data-grid-filter-dialog-component.js +51 -20
  122. package/esm2015/lib/igc-date-time-cell-info.js +12 -12
  123. package/esm2015/lib/igc-date-time-column-component.js +29 -23
  124. package/esm2015/lib/igc-definition-base-component.js +317 -111
  125. package/esm2015/lib/igc-edit-row-definition-component.js +6 -0
  126. package/esm2015/lib/igc-editor-cell-info.js +23 -23
  127. package/esm2015/lib/igc-editor-definition-component.js +6 -0
  128. package/esm2015/lib/igc-filter-cell-info.js +26 -26
  129. package/esm2015/lib/igc-filter-row-definition-component.js +18 -12
  130. package/esm2015/lib/igc-grid-compound-conditional-style-component.js +88 -0
  131. package/esm2015/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +48 -0
  132. package/esm2015/lib/igc-grid-conditional-style-collection.js +53 -0
  133. package/esm2015/lib/igc-grid-conditional-style-component.js +413 -0
  134. package/esm2015/lib/igc-grid-conditional-style-module.js +16 -0
  135. package/esm2015/lib/igc-grid-conditional-style-property-collection.js +53 -0
  136. package/esm2015/lib/igc-grid-conditional-style-property-component.js +400 -0
  137. package/esm2015/lib/igc-grid-conditional-style-property-module.js +16 -0
  138. package/esm2015/lib/igc-header-component.js +30 -24
  139. package/esm2015/lib/igc-header-row-separator-component.js +6 -0
  140. package/esm2015/lib/igc-header-separator-component.js +6 -0
  141. package/esm2015/lib/igc-image-cell-info.js +6 -6
  142. package/esm2015/lib/igc-image-column-component.js +18 -12
  143. package/esm2015/lib/igc-multi-column-combo-box-component.js +24 -24
  144. package/esm2015/lib/igc-numeric-cell-info.js +26 -26
  145. package/esm2015/lib/igc-numeric-column-component.js +41 -35
  146. package/esm2015/lib/igc-pinned-area-separator-component.js +6 -0
  147. package/esm2015/lib/igc-row-separator-component.js +6 -0
  148. package/esm2015/lib/igc-section-footer-component.js +6 -0
  149. package/esm2015/lib/igc-section-header-cell-info.js +6 -6
  150. package/esm2015/lib/igc-section-header-component.js +30 -24
  151. package/esm2015/lib/igc-summary-cell-info.js +9 -9
  152. package/esm2015/lib/igc-summary-row-component.js +30 -24
  153. package/esm2015/lib/igc-summary-row-root-component.js +6 -0
  154. package/esm2015/lib/igc-summary-row-section-component.js +6 -0
  155. package/esm2015/lib/igc-template-cell-info.js +2 -2
  156. package/esm2015/lib/igc-template-column-component.js +6 -0
  157. package/esm2015/lib/igc-template-header-cell-info.js +2 -2
  158. package/esm2015/lib/igc-template-header-component.js +6 -0
  159. package/esm2015/lib/igc-template-section-header-component.js +6 -0
  160. package/esm2015/lib/igc-text-cell-info.js +2 -2
  161. package/esm2015/lib/igc-text-column-component.js +15 -9
  162. package/esm2015/lib/igc-text-header-cell-info.js +10 -10
  163. package/esm2015/lib/igc-text-header-component.js +6 -0
  164. package/esm2015/lib/igc-text-icon-set-conditional-style-component.js +94 -0
  165. package/esm2015/lib/igc-text-icon-set-conditional-style-module.js +16 -0
  166. package/esm2015/public_api.js +36 -4
  167. package/esm5/lib/AccessibilityRow.js +3 -3
  168. package/esm5/lib/BaseEditorView.js +36 -30
  169. package/esm5/lib/CanvasCellPresenterBase.js +17 -17
  170. package/esm5/lib/CanvasContentCellModelHelper.js +26 -26
  171. package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
  172. package/esm5/lib/CanvasGridCellBase.js +375 -359
  173. package/esm5/lib/CanvasImageCell.js +29 -29
  174. package/esm5/lib/CanvasImageCellPresenter.js +17 -17
  175. package/esm5/lib/CanvasNumericCell.js +2 -2
  176. package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
  177. package/esm5/lib/CanvasSectionHeaderCell.js +3 -3
  178. package/esm5/lib/CanvasSectionHeaderCellPresenter.js +11 -11
  179. package/esm5/lib/CanvasSummaryCell.js +50 -50
  180. package/esm5/lib/CanvasSummaryCellPresenter.js +10 -10
  181. package/esm5/lib/CanvasTemplateCell.js +7 -7
  182. package/esm5/lib/CanvasTemplateCellPresenter.js +6 -6
  183. package/esm5/lib/CanvasTemplateHeaderCell.js +7 -7
  184. package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
  185. package/esm5/lib/CanvasTextCell.js +3 -3
  186. package/esm5/lib/CanvasTextCellPresenter.js +9 -9
  187. package/esm5/lib/CanvasTextHeaderCell.js +24 -24
  188. package/esm5/lib/CanvasTextHeaderCellPresenter.js +20 -20
  189. package/esm5/lib/CellPresenterBase.js +40 -38
  190. package/esm5/lib/CheckboxListBridge.js +88 -23
  191. package/esm5/lib/CheckboxListExternalIndexType.js +11 -0
  192. package/esm5/lib/CheckboxListExternalIndexTypeChangedEventArgs.js +23 -0
  193. package/esm5/lib/CheckboxListExternalKeysClearedEventArgs.js +20 -0
  194. package/esm5/lib/CheckboxListIndexTypeChangedEventArgs.js +23 -0
  195. package/esm5/lib/CheckboxListKeysClearedEventArgs.js +20 -0
  196. package/esm5/lib/CheckboxListViewExternal.js +11 -0
  197. package/esm5/lib/CheckboxListView_combined.js +599 -498
  198. package/esm5/lib/ColumnChooserView_combined.js +15 -15
  199. package/esm5/lib/ColumnFilterCondition_combined.js +13154 -9751
  200. package/esm5/lib/ColumnGroupingView_combined.js +6 -5
  201. package/esm5/lib/ColumnOptionsToolbarManagerOpeningEventArgs.js +20 -0
  202. package/esm5/lib/ColumnPinningView_combined.js +15 -15
  203. package/esm5/lib/ColumnSummaryDescription.js +56 -45
  204. package/esm5/lib/ColumnSummaryDescriptionCollection.js +4 -2
  205. package/esm5/lib/ComboEditorView.js +116 -114
  206. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +12 -12
  207. package/esm5/lib/ContentCellModelHelper.js +19 -19
  208. package/esm5/lib/DataGridCellLayoutPanel.js +21 -21
  209. package/esm5/lib/DataGridColumnToolbarManager.js +7 -0
  210. package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
  211. package/esm5/lib/DataGridToolbarView_combined.js +3 -2
  212. package/esm5/lib/DateEditorView.js +92 -92
  213. package/esm5/lib/DateTimeCellPresenter.js +8 -8
  214. package/esm5/lib/Dragger.js +3 -2
  215. package/esm5/lib/DraggerView.js +1 -1
  216. package/esm5/lib/EditorCell.js +285 -285
  217. package/esm5/lib/EditorCellPresenter.js +28 -28
  218. package/esm5/lib/EditorRowCell.js +1 -1
  219. package/esm5/lib/FilterCell.js +262 -262
  220. package/esm5/lib/FilterCellPresenter.js +18 -18
  221. package/esm5/lib/GridCellBase.js +286 -270
  222. package/esm5/lib/GridColumnFilterOptionsView_combined.js +23 -22
  223. package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
  224. package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
  225. package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
  226. package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
  227. package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
  228. package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
  229. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +19 -18
  230. package/esm5/lib/GridCompoundConditionalStyle.js +7 -0
  231. package/esm5/lib/GridConditionFilterStringErrorsParsingEventArgs.js +43 -0
  232. package/esm5/lib/GridConditionalStyle.js +7 -0
  233. package/esm5/lib/GridConditionalStyleBoundType.js +16 -0
  234. package/esm5/lib/GridConditionalStyleCollection.js +7 -0
  235. package/esm5/lib/GridConditionalStyleProperty.js +761 -0
  236. package/esm5/lib/GridConditionalStylePropertyCollection.js +22 -0
  237. package/esm5/lib/GridConditionalStylePropertyStylingType.js +18 -0
  238. package/esm5/lib/GridExternalWrapper.js +6 -6
  239. package/esm5/lib/GridFilterDialogView_combined.js +311 -291
  240. package/esm5/lib/GridModuleHelper.js +28 -0
  241. package/esm5/lib/GridSelectedKeysCollection.js +54 -3
  242. package/esm5/lib/GridSortIndicatorView_combined.js +1 -1
  243. package/esm5/lib/GridStyleRepository.js +248 -203
  244. package/esm5/lib/ISummaryChooserView_combined.js +10 -10
  245. package/esm5/lib/ImageCell.js +60 -60
  246. package/esm5/lib/ImageCellPresenter.js +18 -18
  247. package/esm5/lib/MultiColumnComboBoxView_combined.js +34 -34
  248. package/esm5/lib/NativeUIComboFactory.js +57 -0
  249. package/esm5/lib/NativeUIGridFactory.js +1 -1
  250. package/esm5/lib/NumericCell.js +5 -5
  251. package/esm5/lib/NumericCellPresenter.js +8 -8
  252. package/esm5/lib/NumericEditorView.js +3 -3
  253. package/esm5/lib/PropertyEditorView_combined.js +66 -66
  254. package/esm5/lib/SectionHeaderCell.js +17 -17
  255. package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
  256. package/esm5/lib/SummaryCell.js +41 -41
  257. package/esm5/lib/SummaryCellPresenter.js +14 -14
  258. package/esm5/lib/TemplateCell.js +16 -16
  259. package/esm5/lib/TemplateCellPresenter.js +5 -5
  260. package/esm5/lib/TemplateHeader.js +9 -9
  261. package/esm5/lib/TemplateHeaderCell.js +6 -6
  262. package/esm5/lib/TemplateHeaderCellModel.js +22 -16
  263. package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
  264. package/esm5/lib/TemplateSectionHeader.js +3 -3
  265. package/esm5/lib/TextCell.js +30 -30
  266. package/esm5/lib/TextCellPresenter.js +9 -9
  267. package/esm5/lib/TextEditorView.js +78 -78
  268. package/esm5/lib/TextHeaderCell.js +147 -151
  269. package/esm5/lib/TextHeaderCellPresenter.js +38 -32
  270. package/esm5/lib/TextIconSetBuiltInTypes.js +18 -0
  271. package/esm5/lib/TextIconSetConditionalStyle.js +107 -0
  272. package/esm5/lib/VerticalSeparatorCell.js +37 -37
  273. package/esm5/lib/igc-cell-info.js +177 -177
  274. package/esm5/lib/igc-checkbox-list-component.js +141 -79
  275. package/esm5/lib/igc-checkbox-list-index-type-changed-event-args.js +58 -0
  276. package/esm5/lib/igc-checkbox-list-keys-cleared-event-args.js +36 -0
  277. package/esm5/lib/igc-column-moving-separator-component.js +15 -9
  278. package/esm5/lib/igc-column-resizing-separator-component.js +12 -6
  279. package/esm5/lib/igc-column-summary-description.js +28 -15
  280. package/esm5/lib/igc-combo-box-column-component.js +16 -10
  281. package/esm5/lib/igc-data-grid-all-columns-module.js +4 -0
  282. package/esm5/lib/igc-data-grid-column-component.js +182 -160
  283. package/esm5/lib/igc-data-grid-component.js +55 -24
  284. package/esm5/lib/igc-data-grid-core-module.js +5 -0
  285. package/esm5/lib/igc-data-grid-filter-dialog-component.js +59 -20
  286. package/esm5/lib/igc-date-time-cell-info.js +12 -12
  287. package/esm5/lib/igc-date-time-column-component.js +29 -23
  288. package/esm5/lib/igc-definition-base-component.js +389 -112
  289. package/esm5/lib/igc-edit-row-definition-component.js +6 -0
  290. package/esm5/lib/igc-editor-cell-info.js +23 -23
  291. package/esm5/lib/igc-editor-definition-component.js +6 -0
  292. package/esm5/lib/igc-filter-cell-info.js +26 -26
  293. package/esm5/lib/igc-filter-row-definition-component.js +18 -12
  294. package/esm5/lib/igc-grid-compound-conditional-style-component.js +101 -0
  295. package/esm5/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +62 -0
  296. package/esm5/lib/igc-grid-conditional-style-collection.js +58 -0
  297. package/esm5/lib/igc-grid-conditional-style-component.js +500 -0
  298. package/esm5/lib/igc-grid-conditional-style-module.js +20 -0
  299. package/esm5/lib/igc-grid-conditional-style-property-collection.js +58 -0
  300. package/esm5/lib/igc-grid-conditional-style-property-component.js +535 -0
  301. package/esm5/lib/igc-grid-conditional-style-property-module.js +20 -0
  302. package/esm5/lib/igc-header-component.js +30 -24
  303. package/esm5/lib/igc-header-row-separator-component.js +6 -0
  304. package/esm5/lib/igc-header-separator-component.js +6 -0
  305. package/esm5/lib/igc-image-cell-info.js +6 -6
  306. package/esm5/lib/igc-image-column-component.js +18 -12
  307. package/esm5/lib/igc-multi-column-combo-box-component.js +24 -24
  308. package/esm5/lib/igc-numeric-cell-info.js +26 -26
  309. package/esm5/lib/igc-numeric-column-component.js +41 -35
  310. package/esm5/lib/igc-pinned-area-separator-component.js +6 -0
  311. package/esm5/lib/igc-row-separator-component.js +6 -0
  312. package/esm5/lib/igc-section-footer-component.js +6 -0
  313. package/esm5/lib/igc-section-header-cell-info.js +6 -6
  314. package/esm5/lib/igc-section-header-component.js +30 -24
  315. package/esm5/lib/igc-summary-cell-info.js +9 -9
  316. package/esm5/lib/igc-summary-row-component.js +30 -24
  317. package/esm5/lib/igc-summary-row-root-component.js +6 -0
  318. package/esm5/lib/igc-summary-row-section-component.js +6 -0
  319. package/esm5/lib/igc-template-cell-info.js +2 -2
  320. package/esm5/lib/igc-template-column-component.js +6 -0
  321. package/esm5/lib/igc-template-header-cell-info.js +2 -2
  322. package/esm5/lib/igc-template-header-component.js +6 -0
  323. package/esm5/lib/igc-template-section-header-component.js +6 -0
  324. package/esm5/lib/igc-text-cell-info.js +2 -2
  325. package/esm5/lib/igc-text-column-component.js +15 -9
  326. package/esm5/lib/igc-text-header-cell-info.js +10 -10
  327. package/esm5/lib/igc-text-header-component.js +6 -0
  328. package/esm5/lib/igc-text-icon-set-conditional-style-component.js +107 -0
  329. package/esm5/lib/igc-text-icon-set-conditional-style-module.js +20 -0
  330. package/esm5/public_api.js +36 -4
  331. package/fesm2015/igniteui-webcomponents-grids.js +20004 -13895
  332. package/fesm5/igniteui-webcomponents-grids.js +29259 -22269
  333. package/grids/combined.js +7842 -7830
  334. package/grids/styles.css +1 -1
  335. package/grids/themes/dark/bootstrap.css +1 -1
  336. package/grids/themes/dark/fluent.css +1 -1
  337. package/grids/themes/dark/indigo.css +1 -1
  338. package/grids/themes/dark/material.css +1 -1
  339. package/grids/themes/light/bootstrap.css +1 -1
  340. package/grids/themes/light/fluent.css +1 -1
  341. package/grids/themes/light/indigo.css +1 -1
  342. package/grids/themes/light/material.css +1 -1
  343. package/lib/BaseEditorView.d.ts +12 -11
  344. package/lib/CanvasGridCellBase.d.ts +113 -110
  345. package/lib/CanvasImageCell.d.ts +13 -13
  346. package/lib/CanvasSectionHeaderCell.d.ts +1 -1
  347. package/lib/CanvasSummaryCell.d.ts +14 -14
  348. package/lib/CanvasTemplateCell.d.ts +4 -4
  349. package/lib/CanvasTemplateHeaderCell.d.ts +4 -4
  350. package/lib/CanvasTextCell.d.ts +1 -1
  351. package/lib/CanvasTextHeaderCell.d.ts +6 -6
  352. package/lib/CheckboxListBridge.d.ts +20 -9
  353. package/lib/CheckboxListExternal.d.ts +6 -6
  354. package/lib/CheckboxListExternalIndexType.d.ts +12 -0
  355. package/lib/CheckboxListExternalIndexTypeChangedEventArgs.d.ts +10 -0
  356. package/lib/CheckboxListExternalKeysClearedEventArgs.d.ts +7 -0
  357. package/lib/CheckboxListIndexTypeChangedEventArgs.d.ts +10 -0
  358. package/lib/CheckboxListKeysClearedEventArgs.d.ts +7 -0
  359. package/lib/CheckboxListViewExternal.d.ts +20 -0
  360. package/lib/CheckboxListView_combined.d.ts +135 -121
  361. package/lib/ColumnFilterCondition_combined.d.ts +2301 -1956
  362. package/lib/ColumnOptionsToolbarManagerOpeningEventArgs.d.ts +7 -0
  363. package/lib/ColumnSummaryDescription.d.ts +21 -18
  364. package/lib/ComboEditorView.d.ts +17 -17
  365. package/lib/DataGridColumnToolbarManager.d.ts +1 -0
  366. package/lib/DateEditorView.d.ts +14 -14
  367. package/lib/EditorCell.d.ts +67 -67
  368. package/lib/FilterCell.d.ts +55 -55
  369. package/lib/GridCellBase.d.ts +92 -89
  370. package/lib/GridCompoundConditionalStyle.d.ts +1 -0
  371. package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +14 -0
  372. package/lib/GridConditionalStyle.d.ts +1 -0
  373. package/lib/GridConditionalStyleBoundType.d.ts +9 -0
  374. package/lib/GridConditionalStyleCollection.d.ts +1 -0
  375. package/lib/GridConditionalStyleProperty.d.ts +127 -0
  376. package/lib/GridConditionalStylePropertyCollection.d.ts +10 -0
  377. package/lib/GridConditionalStylePropertyStylingType.d.ts +11 -0
  378. package/lib/GridFilterDialogView_combined.d.ts +103 -79
  379. package/lib/GridModuleHelper.d.ts +8 -0
  380. package/lib/GridSelectedKeysCollection.d.ts +6 -2
  381. package/lib/GridStyleRepository.d.ts +68 -62
  382. package/lib/ICellActionManager.d.ts +1 -1
  383. package/lib/ICellPresenter.d.ts +1 -1
  384. package/lib/ICellRenderingEngine.d.ts +1 -1
  385. package/lib/IDataAdapter.d.ts +1 -1
  386. package/lib/IDragger.d.ts +1 -1
  387. package/lib/IDraggerView.d.ts +1 -1
  388. package/lib/IExternalDefinitionBase.d.ts +1 -1
  389. package/lib/IExternalGrid.d.ts +1 -1
  390. package/lib/IGridInfoRequestor.d.ts +1 -1
  391. package/lib/ISummaryChooserView.d.ts +1 -1
  392. package/lib/ImageCell.d.ts +18 -18
  393. package/lib/NativeUIComboFactory.d.ts +18 -0
  394. package/lib/NumericCell.d.ts +1 -1
  395. package/lib/SectionHeaderCell.d.ts +4 -4
  396. package/lib/SummaryCell.d.ts +10 -10
  397. package/lib/TemplateCell.d.ts +6 -6
  398. package/lib/TemplateHeader.d.ts +4 -4
  399. package/lib/TemplateHeaderCell.d.ts +3 -3
  400. package/lib/TemplateHeaderCellModel.d.ts +7 -6
  401. package/lib/TemplateSectionHeader.d.ts +3 -3
  402. package/lib/TextCell.d.ts +7 -7
  403. package/lib/TextEditorView.d.ts +7 -7
  404. package/lib/TextHeaderCell.d.ts +30 -30
  405. package/lib/TextIconSetBuiltInTypes.d.ts +11 -0
  406. package/lib/TextIconSetConditionalStyle.d.ts +18 -0
  407. package/lib/VerticalSeparatorCell.d.ts +8 -8
  408. package/lib/igc-checkbox-list-component.d.ts +10 -0
  409. package/lib/igc-checkbox-list-index-type-changed-event-args.d.ts +17 -0
  410. package/lib/igc-checkbox-list-keys-cleared-event-args.d.ts +12 -0
  411. package/lib/igc-column-summary-description.d.ts +5 -0
  412. package/lib/igc-data-grid-column-component.d.ts +8 -0
  413. package/lib/igc-data-grid-component.d.ts +5 -0
  414. package/lib/igc-data-grid-filter-dialog-component.d.ts +15 -0
  415. package/lib/igc-definition-base-component.d.ts +63 -0
  416. package/lib/igc-grid-compound-conditional-style-component.d.ts +19 -0
  417. package/lib/igc-grid-condition-filter-string-errors-parsing-event-args.d.ts +22 -0
  418. package/lib/igc-grid-conditional-style-collection.d.ts +8 -0
  419. package/lib/igc-grid-conditional-style-component.d.ts +80 -0
  420. package/lib/igc-grid-conditional-style-module.d.ts +3 -0
  421. package/lib/igc-grid-conditional-style-property-collection.d.ts +8 -0
  422. package/lib/igc-grid-conditional-style-property-component.d.ts +101 -0
  423. package/lib/igc-grid-conditional-style-property-module.d.ts +3 -0
  424. package/lib/igc-text-icon-set-conditional-style-component.d.ts +22 -0
  425. package/lib/igc-text-icon-set-conditional-style-module.d.ts +3 -0
  426. package/package.json +4 -4
  427. package/public_api.d.ts +36 -4
@@ -0,0 +1,413 @@
1
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
2
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
3
+ import { IgcGridConditionalStylePropertyCollection } from "./igc-grid-conditional-style-property-collection";
4
+ import { IgcPropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
5
+ import { IgcGridConditionFilterStringErrorsParsingEventArgs } from "./igc-grid-condition-filter-string-errors-parsing-event-args";
6
+ import { GridConditionalStyle } from "./GridConditionalStyle";
7
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
8
+ import { CollectionAdapter, NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureBool, initializePropertiesFromCss } from "igniteui-webcomponents-core";
9
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
10
+ import { IgcGridConditionalStylePropertyComponent } from "./igc-grid-conditional-style-property-component";
11
+ import { NotifyCollectionChangedAction } from "igniteui-webcomponents-core";
12
+ export let IgcGridConditionalStyleComponent = /*@__PURE__*/ (() => {
13
+ class IgcGridConditionalStyleComponent extends IgcHTMLElement {
14
+ createImplementation() {
15
+ return new GridConditionalStyle();
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ get i() {
21
+ return this._implementation;
22
+ } /**
23
+ * @hidden
24
+ */
25
+ static _createFromInternal(internal) {
26
+ if (!internal) {
27
+ return null;
28
+ }
29
+ if (!internal.$type) {
30
+ return null;
31
+ }
32
+ let name = internal.$type.name;
33
+ let externalName = "Igc" + name + "Component";
34
+ if (!TypeRegistrar.isRegistered(externalName)) {
35
+ return null;
36
+ }
37
+ return TypeRegistrar.create(externalName);
38
+ }
39
+ onImplementationCreated() {
40
+ }
41
+ _initializeAdapters() {
42
+ if (!this.__observingChildren) {
43
+ this.__observingChildren = true;
44
+ let mut = new MutationObserver((list) => {
45
+ for (var mutation of list) {
46
+ if (mutation.type == 'childList') {
47
+ if (this.updateContentChildren) {
48
+ this.updateContentChildren();
49
+ }
50
+ else if (this._initializeAdapters) {
51
+ this.initializeAdapters();
52
+ }
53
+ }
54
+ }
55
+ });
56
+ mut.observe(this, {
57
+ childList: true
58
+ });
59
+ }
60
+ this._propertiesAdapter = new CollectionAdapter([], this.i.properties, this.actualProperties, (c) => c.i, (i) => {
61
+ if (this._initializeElement) {
62
+ this._initializeElement(i);
63
+ }
64
+ }, (i) => {
65
+ if (this._destroyElement) {
66
+ this._destroyElement(i);
67
+ }
68
+ });
69
+ if (super["_initializeAdapters"]) {
70
+ super["_initializeAdapters"]();
71
+ }
72
+ }
73
+ _updateAdapters() {
74
+ if (super["_updateAdapters"]) {
75
+ super["_updateAdapters"]();
76
+ }
77
+ this.contentProperties.length = 0;
78
+ for (var i = 0; i < this.children.length; i++) {
79
+ if (this.children[i] instanceof IgcGridConditionalStylePropertyComponent) {
80
+ this.contentProperties.push(this.children[i]);
81
+ }
82
+ }
83
+ if (this._propertiesAdapter != null) {
84
+ this._propertiesAdapter.notifyContentChanged();
85
+ }
86
+ }
87
+ constructor() {
88
+ super();
89
+ this._settingAttributes = false;
90
+ this._attached = false;
91
+ this._queuedSetAttributes = [];
92
+ this._updatingFromAttribute = false;
93
+ this._properties = null;
94
+ this.__p = null;
95
+ this._hasUserValues = new Set();
96
+ this._stylingContainer = null;
97
+ this._stylingParent = null;
98
+ this._inStyling = false;
99
+ this._propertyUpdated = null;
100
+ this._propertyUpdated_wrapped = null;
101
+ this._filterStringErrorsParsing = null;
102
+ this._filterStringErrorsParsing_wrapped = null;
103
+ if (this._styling) {
104
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
105
+ }
106
+ this._implementation = this.createImplementation();
107
+ this._implementation.externalObject = this;
108
+ this.onImplementationCreated();
109
+ if (this._initializeAdapters) {
110
+ this._initializeAdapters();
111
+ }
112
+ }
113
+ _enqueueSetAttribute(attrName, attrValue) {
114
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
115
+ }
116
+ _flushQueuedAttributes() {
117
+ this._settingAttributes = true;
118
+ for (let i = 0; i < this._queuedSetAttributes.length; i++) {
119
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
120
+ }
121
+ this._settingAttributes = false;
122
+ this._queuedSetAttributes.length = 0;
123
+ }
124
+ _a(attrName, attrValue) {
125
+ if (this._updatingFromAttribute) {
126
+ return;
127
+ }
128
+ if (attrValue) {
129
+ attrValue = attrValue.toString();
130
+ }
131
+ this._settingAttributes = true;
132
+ attrName = toSpinal(attrName);
133
+ if (this._attached) {
134
+ this.setAttribute(attrName, attrValue);
135
+ }
136
+ else {
137
+ this._enqueueSetAttribute(attrName, attrValue);
138
+ }
139
+ this._settingAttributes = false;
140
+ }
141
+ connectedCallback() {
142
+ if (super["connectedCallback"]) {
143
+ super["connectedCallback"]();
144
+ }
145
+ if (this.i.connectedCallback) {
146
+ this.i.connectedCallback();
147
+ }
148
+ if (this.updateContentChildren) {
149
+ this.updateContentChildren();
150
+ }
151
+ else if (this._updateAdapters) {
152
+ this._updateAdapters();
153
+ }
154
+ if (!this._attached) {
155
+ this._attached = true;
156
+ this._flushQueuedAttributes();
157
+ }
158
+ }
159
+ disconnectedCallback() {
160
+ if (super["disconnectedCallback"]) {
161
+ super["disconnectedCallback"]();
162
+ }
163
+ if (this.i.disconnectedCallback) {
164
+ this.i.disconnectedCallback();
165
+ }
166
+ if (this._attached) {
167
+ this._attached = false;
168
+ }
169
+ }
170
+ static get observedAttributes() {
171
+ if (IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent == null) {
172
+ let names = getAllPropertyNames(IgcGridConditionalStyleComponent);
173
+ for (let i = 0; i < names.length; i++) {
174
+ names[i] = toSpinal(names[i]);
175
+ }
176
+ IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent = names;
177
+ }
178
+ return IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent;
179
+ }
180
+ attributeChangedCallback(name, oldValue, newValue) {
181
+ if (this._settingAttributes) {
182
+ return;
183
+ }
184
+ let setName = fromSpinal(name);
185
+ this._updatingFromAttribute = true;
186
+ this[setName] = newValue;
187
+ this._updatingFromAttribute = false;
188
+ }
189
+ static register() {
190
+ if (!IgcGridConditionalStyleComponent._isElementRegistered) {
191
+ IgcGridConditionalStyleComponent._isElementRegistered = true;
192
+ RegisterElementHelper.registerElement(IgcGridConditionalStyleComponent.htmlTagName, IgcGridConditionalStyleComponent);
193
+ }
194
+ }
195
+ get isCompound() {
196
+ return this.i.s;
197
+ }
198
+ get styleKey() {
199
+ return this.i.ak;
200
+ }
201
+ set styleKey(v) {
202
+ this.i.ak = v;
203
+ }
204
+ get isTransitionInEnabled() {
205
+ return this.i.w;
206
+ }
207
+ set isTransitionInEnabled(v) {
208
+ this.i.w = ensureBool(v);
209
+ this._a("isTransitionInEnabled", this.i.w);
210
+ }
211
+ get actualProperties() {
212
+ if (!this._actualProperties) {
213
+ this._actualProperties = [];
214
+ }
215
+ return this._actualProperties;
216
+ }
217
+ get contentProperties() {
218
+ if (!this._contentProperties) {
219
+ this._contentProperties = [];
220
+ }
221
+ return this._contentProperties;
222
+ }
223
+ get properties() {
224
+ if (this._properties === null) {
225
+ let coll = new IgcGridConditionalStylePropertyCollection();
226
+ let inner = coll._innerColl;
227
+ this._properties = coll;
228
+ inner.addListener((sender, e) => {
229
+ switch (e.action) {
230
+ case NotifyCollectionChangedAction.Add:
231
+ this._propertiesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
232
+ break;
233
+ case NotifyCollectionChangedAction.Remove:
234
+ this._propertiesAdapter.removeManualItemAt(e.oldStartingIndex);
235
+ break;
236
+ case NotifyCollectionChangedAction.Replace:
237
+ this._propertiesAdapter.removeManualItemAt(e.oldStartingIndex);
238
+ this._propertiesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
239
+ break;
240
+ case NotifyCollectionChangedAction.Reset:
241
+ this._propertiesAdapter.clearManualItems();
242
+ break;
243
+ }
244
+ });
245
+ ;
246
+ }
247
+ return this._properties;
248
+ }
249
+ get conditionString() {
250
+ return this.i.ae;
251
+ }
252
+ set conditionString(v) {
253
+ this.i.ae = v;
254
+ }
255
+ get condition() {
256
+ return this.i.e;
257
+ }
258
+ set condition(v) {
259
+ this.i.e = v;
260
+ }
261
+ get isFieldMinimumNeeded() {
262
+ return this.i.u;
263
+ }
264
+ set isFieldMinimumNeeded(v) {
265
+ this.i.u = ensureBool(v);
266
+ this._a("isFieldMinimumNeeded", this.i.u);
267
+ }
268
+ get isFieldMaximumNeeded() {
269
+ return this.i.t;
270
+ }
271
+ set isFieldMaximumNeeded(v) {
272
+ this.i.t = ensureBool(v);
273
+ this._a("isFieldMaximumNeeded", this.i.t);
274
+ }
275
+ get isFieldSumNeeded() {
276
+ return this.i.v;
277
+ }
278
+ set isFieldSumNeeded(v) {
279
+ this.i.v = ensureBool(v);
280
+ this._a("isFieldSumNeeded", this.i.v);
281
+ }
282
+ findByName(name) {
283
+ if (this.findEphemera) {
284
+ if (name && name.indexOf("@@e:") == 0) {
285
+ return this.findEphemera(name);
286
+ }
287
+ }
288
+ if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
289
+ return this.properties.findByName(name);
290
+ }
291
+ return null;
292
+ }
293
+ get hasUserValues() {
294
+ return this._hasUserValues;
295
+ }
296
+ __m(propertyName) {
297
+ if (!this._inStyling) {
298
+ this._hasUserValues.add(propertyName);
299
+ }
300
+ }
301
+ _styling(container, component, parent) {
302
+ if (this._inStyling) {
303
+ return;
304
+ }
305
+ this._inStyling = true;
306
+ this._stylingContainer = container;
307
+ this._stylingParent = component;
308
+ let genericPrefix = "";
309
+ let typeName = this.i.$type.name;
310
+ if (typeName.indexOf("Xam") === 0) {
311
+ typeName = typeName.substring(3);
312
+ }
313
+ genericPrefix = toSpinal("GridConditionalStyleComponent");
314
+ let additionalPrefixes = [];
315
+ let prefix = toSpinal(typeName);
316
+ additionalPrefixes.push(prefix + "-");
317
+ let b = this.i.$type.baseType;
318
+ while (b && b.name != "Object" &&
319
+ b.name != "Base" &&
320
+ b.name != "Control" &&
321
+ b.Name != "DependencyObject" &&
322
+ b.Name != "FrameworkElement") {
323
+ typeName = b.name;
324
+ if (typeName.indexOf("Xam") === 0) {
325
+ typeName = typeName.substring(3);
326
+ }
327
+ let basePrefix = toSpinal(typeName);
328
+ additionalPrefixes.push(basePrefix + "-");
329
+ b = b.baseType;
330
+ }
331
+ if (parent) {
332
+ let parentTypeName = parent.i.$type.name;
333
+ if (parentTypeName.indexOf("Xam") === 0) {
334
+ parentTypeName = parentTypeName.substring(3);
335
+ }
336
+ let parentPrefix = toSpinal(parentTypeName);
337
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
338
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
339
+ }
340
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
341
+ if (this._otherStyling) {
342
+ this._otherStyling(container, component, parent);
343
+ }
344
+ this._inStyling = false;
345
+ }
346
+ requiresGlobalValues() {
347
+ let iv = this.i.x();
348
+ return (iv);
349
+ }
350
+ actualNeedsFieldMinimum() {
351
+ let iv = this.i.q();
352
+ return (iv);
353
+ }
354
+ actualNeedsFieldMaximum() {
355
+ let iv = this.i.p();
356
+ return (iv);
357
+ }
358
+ actualNeedsFieldSum() {
359
+ let iv = this.i.r();
360
+ return (iv);
361
+ }
362
+ get propertyUpdated() {
363
+ return this._propertyUpdated;
364
+ }
365
+ set propertyUpdated(ev) {
366
+ if (this._propertyUpdated_wrapped !== null) {
367
+ this.i.propertyUpdated = delegateRemove(this.i.propertyUpdated, this._propertyUpdated_wrapped);
368
+ this._propertyUpdated_wrapped = null;
369
+ this._propertyUpdated = null;
370
+ }
371
+ this._propertyUpdated = ev;
372
+ this._propertyUpdated_wrapped = (o, e) => {
373
+ let outerArgs = new IgcPropertyUpdatedEventArgs();
374
+ outerArgs._provideImplementation(e);
375
+ if (this.beforePropertyUpdated) {
376
+ this.beforePropertyUpdated(this, outerArgs);
377
+ }
378
+ if (this._propertyUpdated) {
379
+ this._propertyUpdated(this, outerArgs);
380
+ }
381
+ };
382
+ this.i.propertyUpdated = delegateCombine(this.i.propertyUpdated, this._propertyUpdated_wrapped);
383
+ ;
384
+ }
385
+ get filterStringErrorsParsing() {
386
+ return this._filterStringErrorsParsing;
387
+ }
388
+ set filterStringErrorsParsing(ev) {
389
+ if (this._filterStringErrorsParsing_wrapped !== null) {
390
+ this.i.filterStringErrorsParsing = delegateRemove(this.i.filterStringErrorsParsing, this._filterStringErrorsParsing_wrapped);
391
+ this._filterStringErrorsParsing_wrapped = null;
392
+ this._filterStringErrorsParsing = null;
393
+ }
394
+ this._filterStringErrorsParsing = ev;
395
+ this._filterStringErrorsParsing_wrapped = (o, e) => {
396
+ let outerArgs = new IgcGridConditionFilterStringErrorsParsingEventArgs();
397
+ outerArgs._provideImplementation(e);
398
+ if (this.beforeFilterStringErrorsParsing) {
399
+ this.beforeFilterStringErrorsParsing(this, outerArgs);
400
+ }
401
+ if (this._filterStringErrorsParsing) {
402
+ this._filterStringErrorsParsing(this, outerArgs);
403
+ }
404
+ };
405
+ this.i.filterStringErrorsParsing = delegateCombine(this.i.filterStringErrorsParsing, this._filterStringErrorsParsing_wrapped);
406
+ ;
407
+ }
408
+ }
409
+ IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent = null;
410
+ IgcGridConditionalStyleComponent.htmlTagName = "igc-grid-conditional-style";
411
+ IgcGridConditionalStyleComponent._isElementRegistered = false;
412
+ return IgcGridConditionalStyleComponent;
413
+ })();
@@ -0,0 +1,16 @@
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 { IgcGridConditionalStyleComponent } from './igc-grid-conditional-style-component';
8
+ import { GridConditionalStyle } from './GridConditionalStyle';
9
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
10
+ export class IgcGridConditionalStyleModule {
11
+ static register() {
12
+ IgcGridConditionalStyleComponent.register();
13
+ TypeRegistrar.registerCons("IgcGridConditionalStyleComponent", IgcGridConditionalStyleComponent);
14
+ TypeRegistrar.register("GridConditionalStyle", GridConditionalStyle.$type);
15
+ }
16
+ }
@@ -0,0 +1,53 @@
1
+ import { IgCollection } from "igniteui-webcomponents-core";
2
+ import { markType } from "igniteui-webcomponents-core";
3
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
4
+ import { GridConditionalStyleProperty as GridConditionalStyleProperty_internal } from './GridConditionalStyleProperty';
5
+ import { IgcGridConditionalStylePropertyComponent as IgcGridConditionalStylePropertyComponent } from './igc-grid-conditional-style-property-component';
6
+ export class IgcGridConditionalStylePropertyCollection extends IgCollection {
7
+ constructor(list) {
8
+ super();
9
+ if (!IgcGridConditionalStylePropertyComponent.$type) {
10
+ IgcGridConditionalStylePropertyComponent.$type = markType(IgcGridConditionalStylePropertyComponent, "IgcGridConditionalStylePropertyComponent");
11
+ }
12
+ if (list) {
13
+ for (let i = 0; i < list.length; i++) {
14
+ this.add(list[i]);
15
+ }
16
+ }
17
+ }
18
+ _createInnerColl() {
19
+ if (!IgcGridConditionalStylePropertyComponent.$type) {
20
+ IgcGridConditionalStylePropertyComponent.$type = markType(IgcGridConditionalStylePropertyComponent, "IgcGridConditionalStylePropertyComponent");
21
+ }
22
+ let coll = new SyncableObservableCollection$2(IgcGridConditionalStylePropertyComponent.$type, GridConditionalStyleProperty_internal.$type, 0);
23
+ coll.compare = (ext, int) => {
24
+ let comp = ext;
25
+ if (comp._implementation) {
26
+ comp = comp._implementation;
27
+ }
28
+ if (comp.equals) {
29
+ return comp.equals(int);
30
+ }
31
+ return comp === int;
32
+ };
33
+ coll.createTo = (ext) => {
34
+ return ext._implementation;
35
+ };
36
+ coll.createFrom = (int) => {
37
+ let ext = int.externalObject;
38
+ if (!ext) {
39
+ ext = new IgcGridConditionalStylePropertyComponent();
40
+ if (ext) {
41
+ if (!int.$type && ext._implementation.setNativeElement) {
42
+ ext._implementation.setNativeElement(int);
43
+ }
44
+ else {
45
+ ext._implementation = int;
46
+ }
47
+ }
48
+ }
49
+ return ext;
50
+ };
51
+ return coll;
52
+ }
53
+ }