@sankhyalabs/ezui 7.3.3-rc.1 → 7.3.4-dev.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 (721) hide show
  1. package/README.md +8 -8
  2. package/dist/cjs/classic-search-list_8.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-grid.cjs.entry.js +821 -105
  5. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  7. package/dist/cjs/{floating-ui.dom.esm-9c8bfebb.js → floating-ui.dom.esm-4a0428c0.js} +189 -186
  8. package/dist/cjs/purify-4f39f037.js +2672 -0
  9. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +56 -0
  10. package/dist/custom-elements/index.js +2623 -630
  11. package/dist/esm/classic-search-list_8.entry.js +1 -1
  12. package/dist/esm/ez-chart.entry.js +1 -1
  13. package/dist/esm/ez-grid.entry.js +821 -105
  14. package/dist/esm/ez-multi-selection-list_5.entry.js +1 -1
  15. package/dist/esm/ez-tooltip.entry.js +1 -1
  16. package/dist/esm/{floating-ui.dom.esm-0c464cef.js → floating-ui.dom.esm-ffa73324.js} +189 -186
  17. package/dist/esm/purify-f52f5419.js +2670 -0
  18. package/dist/ezui/ezui.esm.js +1 -1
  19. package/dist/ezui/{p-9d06f315.entry.js → p-1222005d.entry.js} +1 -1
  20. package/dist/ezui/{p-1222e1b6.entry.js → p-359430a5.entry.js} +1 -1
  21. package/dist/ezui/p-58ce160e.js +3 -0
  22. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  23. package/dist/ezui/p-7b6c9097.entry.js +309 -0
  24. package/dist/ezui/p-8ebe11f4.js +1 -0
  25. package/dist/ezui/{p-f7f7bb17.entry.js → p-b5d88625.entry.js} +1 -1
  26. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +17 -0
  27. package/package.json +9 -4
  28. package/dist/cjs/ApplicationUtils-9a9185fc.js.gz +0 -0
  29. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  30. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  31. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  32. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  33. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  34. package/dist/cjs/FormLayout-fe8da83c.js.gz +0 -0
  35. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  36. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  37. package/dist/cjs/app-globals-27a943d9.js.gz +0 -0
  38. package/dist/cjs/classic-search-list_8.cjs.entry.js.gz +0 -0
  39. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  40. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  41. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  42. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  43. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  44. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  45. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  46. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  47. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  48. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  49. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  50. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  51. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  52. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  53. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  54. package/dist/cjs/ez-classic-date-input.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js.gz +0 -0
  56. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/ez-classic-number-input.cjs.entry.js.gz +0 -0
  58. package/dist/cjs/ez-classic-search-plus.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/ez-classic-search.cjs.entry.js.gz +0 -0
  60. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  61. package/dist/cjs/ez-classic-time-input.cjs.entry.js.gz +0 -0
  62. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  63. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  65. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  66. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  67. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  68. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  69. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  70. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  71. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  72. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  74. package/dist/cjs/ez-grid-pagination.cjs.entry.js.gz +0 -0
  75. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  76. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  77. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  78. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  79. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  80. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  81. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  82. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  83. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  84. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  85. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js.gz +0 -0
  86. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  87. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  88. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  90. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  91. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  92. package/dist/cjs/ez-record-navigation.cjs.entry.js.gz +0 -0
  93. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  94. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  95. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  96. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  97. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  98. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  99. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  100. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  101. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  102. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  103. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  104. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  105. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  106. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  107. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  108. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  109. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  110. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  111. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  112. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  113. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  114. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  115. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  116. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  117. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  118. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  119. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  120. package/dist/cjs/ezui.cjs.js.gz +0 -0
  121. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  122. package/dist/cjs/floating-ui.dom.esm-9c8bfebb.js.gz +0 -0
  123. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  124. package/dist/cjs/index-d4a1cad8.js.gz +0 -0
  125. package/dist/cjs/index.cjs.js.gz +0 -0
  126. package/dist/cjs/loader.cjs.js.gz +0 -0
  127. package/dist/cjs/purify-8c74770b.js +0 -1398
  128. package/dist/cjs/purify-8c74770b.js.gz +0 -0
  129. package/dist/cjs/search-column-c04897a9.js.gz +0 -0
  130. package/dist/cjs/searchFormatters-051f8677.js.gz +0 -0
  131. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  132. package/dist/cjs/types-6a5df0c7.js.gz +0 -0
  133. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  134. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  135. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  136. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  137. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  138. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  139. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  140. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  141. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  142. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  143. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  144. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  145. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  146. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  147. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  148. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  149. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  150. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  151. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  152. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  153. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  154. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  155. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  156. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  157. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  158. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  159. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  160. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  161. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  162. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  163. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  164. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  165. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  166. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  167. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  168. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  169. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  170. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  171. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  172. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  173. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  174. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  175. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  176. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  177. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  178. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  179. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  180. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  181. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  182. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css.gz +0 -0
  183. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js.gz +0 -0
  184. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css.gz +0 -0
  185. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js.gz +0 -0
  186. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  187. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  188. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  189. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  190. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css.gz +0 -0
  191. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js.gz +0 -0
  192. package/dist/collection/components/ez-classic-search/ez-classic-search.css.gz +0 -0
  193. package/dist/collection/components/ez-classic-search/ez-classic-search.js.gz +0 -0
  194. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css.gz +0 -0
  195. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js.gz +0 -0
  196. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js.gz +0 -0
  197. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css.gz +0 -0
  198. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js.gz +0 -0
  199. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css.gz +0 -0
  200. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js.gz +0 -0
  201. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  202. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  203. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  204. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css.gz +0 -0
  205. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js.gz +0 -0
  206. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  207. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  208. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  209. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  210. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  211. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  212. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  213. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  214. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  215. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  216. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  217. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  218. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  219. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  220. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  221. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  222. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  223. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  224. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  225. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  226. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  227. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  228. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  229. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  230. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  231. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  232. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  233. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  234. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  235. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  236. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  237. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  238. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  239. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  240. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  241. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  242. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  243. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js.gz +0 -0
  244. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  245. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  246. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  247. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  248. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  249. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  250. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  251. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  252. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  253. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  254. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  255. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  256. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  257. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  258. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  259. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  260. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  261. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  262. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  263. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  264. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  265. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  266. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  267. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  268. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  269. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  270. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  271. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  272. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  273. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  274. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  275. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  276. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  277. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  278. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js.gz +0 -0
  279. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  280. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  281. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js.gz +0 -0
  282. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  283. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  284. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  285. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js.gz +0 -0
  286. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  287. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  288. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  289. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  290. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  291. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  292. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  293. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  294. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  295. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  296. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  297. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  298. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  299. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  300. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css.gz +0 -0
  301. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js.gz +0 -0
  302. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js.gz +0 -0
  303. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  304. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  305. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  306. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  307. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  308. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  309. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  310. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  311. package/dist/collection/components/ez-image-input/ez-image-input.css.gz +0 -0
  312. package/dist/collection/components/ez-image-input/ez-image-input.js.gz +0 -0
  313. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  314. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  315. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  316. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  317. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  318. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  319. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  320. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  321. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  322. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  323. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  324. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  325. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  326. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  327. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  328. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  329. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  330. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  331. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  332. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  333. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  334. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  335. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  336. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  337. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  338. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  339. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  340. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  341. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  342. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  343. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  344. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  345. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  346. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  347. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  348. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  349. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  350. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  351. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  352. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  353. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css.gz +0 -0
  354. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js.gz +0 -0
  355. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  356. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  357. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  358. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  359. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  360. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  361. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  362. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  363. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  364. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  365. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  366. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  367. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  368. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  369. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  370. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  371. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  372. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  373. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  374. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  375. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  376. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js.gz +0 -0
  377. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  378. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  379. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  380. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  381. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  382. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  383. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  384. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  385. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  386. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  387. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  388. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  389. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  390. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  391. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  392. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  393. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  394. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  395. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  396. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  397. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  398. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  399. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  400. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  401. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  402. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  403. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  404. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  405. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  406. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  407. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  408. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  409. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  410. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  411. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  412. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  413. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  414. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  415. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  416. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  417. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  418. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  419. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  420. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  421. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  422. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  423. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  424. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  425. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  426. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  427. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  428. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  429. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  430. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  431. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  432. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  433. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  434. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  435. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  436. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  437. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  438. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  439. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  440. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  441. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  442. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  443. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  444. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  445. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  446. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  447. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  448. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  449. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  450. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  451. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  452. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  453. package/dist/collection/global/app-init.js.gz +0 -0
  454. package/dist/collection/index.js.gz +0 -0
  455. package/dist/collection/servidor.js.gz +0 -0
  456. package/dist/collection/setupTests.js.gz +0 -0
  457. package/dist/collection/sw.js.gz +0 -0
  458. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  459. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  460. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  461. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  462. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  463. package/dist/collection/utils/constants.js.gz +0 -0
  464. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  465. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  466. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  467. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  468. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  469. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  470. package/dist/collection/utils/form/index.js.gz +0 -0
  471. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  472. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  473. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  474. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  475. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  476. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  477. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  478. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  479. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  480. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  481. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  482. package/dist/collection/utils/i18n/index.js.gz +0 -0
  483. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  484. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  485. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  486. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  487. package/dist/collection/utils/index.js.gz +0 -0
  488. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  489. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  490. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  491. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  492. package/dist/collection/utils/search/types.js.gz +0 -0
  493. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  494. package/dist/collection/utils/utils.js.gz +0 -0
  495. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  496. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  497. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  498. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  499. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  500. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  501. package/dist/custom-elements/index.js.gz +0 -0
  502. package/dist/esm/ApplicationUtils-29d2709c.js.gz +0 -0
  503. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  504. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  505. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  506. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  507. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  508. package/dist/esm/FormLayout-bda67973.js.gz +0 -0
  509. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  510. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  511. package/dist/esm/app-globals-44bdc4c4.js.gz +0 -0
  512. package/dist/esm/classic-search-list_8.entry.js.gz +0 -0
  513. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  514. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  515. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  516. package/dist/esm/ez-alert.entry.js.gz +0 -0
  517. package/dist/esm/ez-application.entry.js.gz +0 -0
  518. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  519. package/dist/esm/ez-badge.entry.js.gz +0 -0
  520. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  521. package/dist/esm/ez-button.entry.js.gz +0 -0
  522. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  523. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  524. package/dist/esm/ez-chart.entry.js.gz +0 -0
  525. package/dist/esm/ez-check.entry.js.gz +0 -0
  526. package/dist/esm/ez-chip.entry.js.gz +0 -0
  527. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  528. package/dist/esm/ez-classic-date-input.entry.js.gz +0 -0
  529. package/dist/esm/ez-classic-date-time-input.entry.js.gz +0 -0
  530. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  531. package/dist/esm/ez-classic-number-input.entry.js.gz +0 -0
  532. package/dist/esm/ez-classic-search-plus.entry.js.gz +0 -0
  533. package/dist/esm/ez-classic-search.entry.js.gz +0 -0
  534. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  535. package/dist/esm/ez-classic-time-input.entry.js.gz +0 -0
  536. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  537. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  538. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  539. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  540. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  541. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  542. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  543. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  544. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  545. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  546. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  547. package/dist/esm/ez-form.entry.js.gz +0 -0
  548. package/dist/esm/ez-grid-pagination.entry.js.gz +0 -0
  549. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  550. package/dist/esm/ez-grid.entry.js.gz +0 -0
  551. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  552. package/dist/esm/ez-icon.entry.js.gz +0 -0
  553. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  554. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  555. package/dist/esm/ez-list.entry.js.gz +0 -0
  556. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  557. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  558. package/dist/esm/ez-modal.entry.js.gz +0 -0
  559. package/dist/esm/ez-multi-selection-list_5.entry.js.gz +0 -0
  560. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  561. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  562. package/dist/esm/ez-popover.entry.js.gz +0 -0
  563. package/dist/esm/ez-popup.entry.js.gz +0 -0
  564. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  565. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  566. package/dist/esm/ez-record-navigation.entry.js.gz +0 -0
  567. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  568. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  569. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  570. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  571. package/dist/esm/ez-search.entry.js.gz +0 -0
  572. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  573. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  574. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  575. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  576. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  577. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  578. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  579. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  580. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  581. package/dist/esm/ez-tag.entry.js.gz +0 -0
  582. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  583. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  584. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  585. package/dist/esm/ez-tile.entry.js.gz +0 -0
  586. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  587. package/dist/esm/ez-toast.entry.js.gz +0 -0
  588. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  589. package/dist/esm/ez-tree.entry.js.gz +0 -0
  590. package/dist/esm/ez-underface.entry.js.gz +0 -0
  591. package/dist/esm/ez-upload.entry.js.gz +0 -0
  592. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  593. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  594. package/dist/esm/ezui.js.gz +0 -0
  595. package/dist/esm/filter-column.entry.js.gz +0 -0
  596. package/dist/esm/floating-ui.dom.esm-0c464cef.js.gz +0 -0
  597. package/dist/esm/index-b5a15d4b.js.gz +0 -0
  598. package/dist/esm/index-baa5e267.js.gz +0 -0
  599. package/dist/esm/index.js.gz +0 -0
  600. package/dist/esm/loader.js.gz +0 -0
  601. package/dist/esm/polyfills/core-js.js.gz +0 -0
  602. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  603. package/dist/esm/polyfills/dom.js.gz +0 -0
  604. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  605. package/dist/esm/polyfills/index.js.gz +0 -0
  606. package/dist/esm/polyfills/system.js.gz +0 -0
  607. package/dist/esm/purify-ff423562.js +0 -1396
  608. package/dist/esm/purify-ff423562.js.gz +0 -0
  609. package/dist/esm/search-column-9414ad22.js.gz +0 -0
  610. package/dist/esm/searchFormatters-6d9b06e4.js.gz +0 -0
  611. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  612. package/dist/esm/types-6f6b2650.js.gz +0 -0
  613. package/dist/ezui/ezui.esm.js.gz +0 -0
  614. package/dist/ezui/index.esm.js.gz +0 -0
  615. package/dist/ezui/p-08e3184d.entry.js.gz +0 -0
  616. package/dist/ezui/p-0d80e3ec.entry.js.gz +0 -0
  617. package/dist/ezui/p-0ddb9a95.entry.js.gz +0 -0
  618. package/dist/ezui/p-0fbf5842.entry.js.gz +0 -0
  619. package/dist/ezui/p-112455b1.js.gz +0 -0
  620. package/dist/ezui/p-1160c33a.entry.js.gz +0 -0
  621. package/dist/ezui/p-11fa490d.entry.js +0 -309
  622. package/dist/ezui/p-11fa490d.entry.js.gz +0 -0
  623. package/dist/ezui/p-1222e1b6.entry.js.gz +0 -0
  624. package/dist/ezui/p-178cb9df.entry.js.gz +0 -0
  625. package/dist/ezui/p-1c7aa5af.entry.js.gz +0 -0
  626. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  627. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  628. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  629. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  630. package/dist/ezui/p-27236a0f.entry.js.gz +0 -0
  631. package/dist/ezui/p-2c1c9ec6.entry.js.gz +0 -0
  632. package/dist/ezui/p-320c401f.js.gz +0 -0
  633. package/dist/ezui/p-34a09786.entry.js.gz +0 -0
  634. package/dist/ezui/p-381570d2.entry.js.gz +0 -0
  635. package/dist/ezui/p-3b7d9f30.js.gz +0 -0
  636. package/dist/ezui/p-3b9ccdb7.entry.js.gz +0 -0
  637. package/dist/ezui/p-3e767a74.js.gz +0 -0
  638. package/dist/ezui/p-40a0a773.entry.js.gz +0 -0
  639. package/dist/ezui/p-40a60148.js.gz +0 -0
  640. package/dist/ezui/p-40c92fc7.entry.js.gz +0 -0
  641. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  642. package/dist/ezui/p-45d09b32.entry.js.gz +0 -0
  643. package/dist/ezui/p-46188bfe.entry.js.gz +0 -0
  644. package/dist/ezui/p-47e4a8ce.js.gz +0 -0
  645. package/dist/ezui/p-49bc0b59.entry.js.gz +0 -0
  646. package/dist/ezui/p-5124ba43.entry.js.gz +0 -0
  647. package/dist/ezui/p-52122022.entry.js.gz +0 -0
  648. package/dist/ezui/p-5895e687.js.gz +0 -0
  649. package/dist/ezui/p-58fa7883.js.gz +0 -0
  650. package/dist/ezui/p-5a217a52.entry.js.gz +0 -0
  651. package/dist/ezui/p-5c440899.js +0 -3
  652. package/dist/ezui/p-5c440899.js.gz +0 -0
  653. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  654. package/dist/ezui/p-63409a57.entry.js.gz +0 -0
  655. package/dist/ezui/p-664b9f4c.entry.js.gz +0 -0
  656. package/dist/ezui/p-6c24ab67.entry.js.gz +0 -0
  657. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  658. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  659. package/dist/ezui/p-73bae77e.entry.js.gz +0 -0
  660. package/dist/ezui/p-7995dcb4.entry.js +0 -1
  661. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  662. package/dist/ezui/p-7ecac0c4.entry.js.gz +0 -0
  663. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  664. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  665. package/dist/ezui/p-83ffba67.entry.js.gz +0 -0
  666. package/dist/ezui/p-852d6133.entry.js.gz +0 -0
  667. package/dist/ezui/p-88a115b3.js.gz +0 -0
  668. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  669. package/dist/ezui/p-90a0b52b.entry.js.gz +0 -0
  670. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  671. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  672. package/dist/ezui/p-95fb50d1.entry.js.gz +0 -0
  673. package/dist/ezui/p-97545f8e.entry.js.gz +0 -0
  674. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  675. package/dist/ezui/p-9d06f315.entry.js.gz +0 -0
  676. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  677. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  678. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  679. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  680. package/dist/ezui/p-a62bbd49.entry.js.gz +0 -0
  681. package/dist/ezui/p-ab574d59.js.gz +0 -0
  682. package/dist/ezui/p-abfbbe1e.entry.js.gz +0 -0
  683. package/dist/ezui/p-ade1c43b.entry.js.gz +0 -0
  684. package/dist/ezui/p-afb2f145.entry.js.gz +0 -0
  685. package/dist/ezui/p-b1e45320.js.gz +0 -0
  686. package/dist/ezui/p-b29d9b0e.entry.js.gz +0 -0
  687. package/dist/ezui/p-b43fcdb6.js.gz +0 -0
  688. package/dist/ezui/p-b50289bb.entry.js.gz +0 -0
  689. package/dist/ezui/p-b853763b.js.gz +0 -0
  690. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  691. package/dist/ezui/p-bcf0460e.entry.js.gz +0 -0
  692. package/dist/ezui/p-be4b042f.entry.js.gz +0 -0
  693. package/dist/ezui/p-c547f48f.entry.js.gz +0 -0
  694. package/dist/ezui/p-c6b9a72a.entry.js.gz +0 -0
  695. package/dist/ezui/p-ca4c015a.entry.js.gz +0 -0
  696. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  697. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  698. package/dist/ezui/p-d892e4c5.entry.js.gz +0 -0
  699. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  700. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  701. package/dist/ezui/p-dcb7275b.entry.js.gz +0 -0
  702. package/dist/ezui/p-dcd6a163.entry.js.gz +0 -0
  703. package/dist/ezui/p-dcde2e69.entry.js.gz +0 -0
  704. package/dist/ezui/p-ddf856db.entry.js.gz +0 -0
  705. package/dist/ezui/p-de14fe07.js +0 -1
  706. package/dist/ezui/p-de14fe07.js.gz +0 -0
  707. package/dist/ezui/p-df6173c8.entry.js.gz +0 -0
  708. package/dist/ezui/p-e60aa084.entry.js.gz +0 -0
  709. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  710. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  711. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  712. package/dist/ezui/p-eb0cfd29.entry.js.gz +0 -0
  713. package/dist/ezui/p-ec7db713.js.gz +0 -0
  714. package/dist/ezui/p-ef3cd4ef.entry.js.gz +0 -0
  715. package/dist/ezui/p-efea2c79.entry.js.gz +0 -0
  716. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  717. package/dist/ezui/p-f7f7bb17.entry.js.gz +0 -0
  718. package/dist/ezui/p-f7fb2587.entry.js.gz +0 -0
  719. package/dist/ezui/p-fed3f5fe.entry.js.gz +0 -0
  720. package/dist/index.cjs.js.gz +0 -0
  721. package/dist/index.js.gz +0 -0
@@ -10,7 +10,7 @@ import './FormLayout-bda67973.js';
10
10
  import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-9414ad22.js';
11
11
  import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
12
12
  import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
13
- import { p as purify } from './purify-ff423562.js';
13
+ import { p as purify } from './purify-f52f5419.js';
14
14
  import './_commonjsHelpers-9943807e.js';
15
15
 
16
16
  /**
@@ -436,6 +436,7 @@ function removeAllReferences(obj, objectName) {
436
436
  // leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
437
437
  if (typeof value === 'function') {
438
438
  var func = function () {
439
+ console.warn("AG Grid: " + objectName + " function " + key + "() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.");
439
440
  };
440
441
  properties[key] = { value: func, writable: true };
441
442
  }
@@ -606,6 +607,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
606
607
  window.clearInterval(interval);
607
608
  interval = null;
608
609
  }
610
+ if (reachedTimeout && timeoutMessage) {
611
+ console.warn(timeoutMessage);
612
+ }
609
613
  }
610
614
  };
611
615
  internalCallback();
@@ -707,9 +711,14 @@ var Context = /** @class */ (function () {
707
711
  Context.prototype.createBeanWrapper = function (BeanClass) {
708
712
  var metaData = BeanClass.__agBeanMetaData;
709
713
  if (!metaData) {
714
+ var beanName = void 0;
710
715
  if (BeanClass.prototype.constructor) {
711
- getFunctionName(BeanClass.prototype.constructor);
716
+ beanName = getFunctionName(BeanClass.prototype.constructor);
717
+ }
718
+ else {
719
+ beanName = "" + BeanClass;
712
720
  }
721
+ console.error("Context item " + beanName + " is not a bean");
713
722
  return;
714
723
  }
715
724
  var beanEntry = {
@@ -781,6 +790,7 @@ var Context = /** @class */ (function () {
781
790
  return beansList;
782
791
  };
783
792
  Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
793
+ if (optional === void 0) { optional = false; }
784
794
  if (beanName === "context") {
785
795
  return this;
786
796
  }
@@ -791,6 +801,9 @@ var Context = /** @class */ (function () {
791
801
  if (beanEntry) {
792
802
  return beanEntry.beanInstance;
793
803
  }
804
+ if (!optional) {
805
+ console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
806
+ }
794
807
  return null;
795
808
  };
796
809
  Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
@@ -897,9 +910,11 @@ function Optional(name) {
897
910
  }
898
911
  function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
899
912
  if (name === null) {
913
+ console.error("AG Grid: Autowired name should not be null");
900
914
  return;
901
915
  }
902
916
  if (typeof index === "number") {
917
+ console.error("AG Grid: Autowired should be on an attribute");
903
918
  return;
904
919
  }
905
920
  // it's an attribute on the class
@@ -1231,6 +1246,8 @@ var ModuleRegistry = /** @class */ (function () {
1231
1246
  else {
1232
1247
  if (ModuleRegistry.moduleBased !== moduleBased) {
1233
1248
  doOnce(function () {
1249
+ console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms.");
1250
+ console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
1234
1251
  }, 'ModulePackageCheck');
1235
1252
  }
1236
1253
  }
@@ -1248,7 +1265,15 @@ var ModuleRegistry = /** @class */ (function () {
1248
1265
  return true;
1249
1266
  }
1250
1267
  var warningKey = reason + moduleName;
1268
+ var warningMessage;
1269
+ if (ModuleRegistry.moduleBased) {
1270
+ warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
1271
+ }
1272
+ else {
1273
+ warningMessage = "AG Grid: unable to use " + reason + " as package 'ag-grid-enterprise' is not present. Please see: https://www.ag-grid.com/javascript-grid/packages/";
1274
+ }
1251
1275
  doOnce(function () {
1276
+ console.warn(warningMessage);
1252
1277
  }, warningKey);
1253
1278
  return false;
1254
1279
  };
@@ -1441,9 +1466,11 @@ var Column = /** @class */ (function () {
1441
1466
  var colDefAny = this.colDef;
1442
1467
  function warnOnce(msg, key, obj) {
1443
1468
  doOnce(function () {
1444
- if (obj) ;
1469
+ if (obj) {
1470
+ console.warn(msg, obj);
1471
+ }
1445
1472
  else {
1446
- doOnce(function () { return (void 0); }, key);
1473
+ doOnce(function () { return console.warn(msg); }, key);
1447
1474
  }
1448
1475
  }, key);
1449
1476
  }
@@ -1911,16 +1938,19 @@ var Column = /** @class */ (function () {
1911
1938
  // this used to be needed, as previous version of ag-grid had lockPosition as column state,
1912
1939
  // so couldn't depend on colDef version.
1913
1940
  Column.prototype.isLockPosition = function () {
1941
+ console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
1914
1942
  return this.colDef ? !!this.colDef.lockPosition : false;
1915
1943
  };
1916
1944
  // this used to be needed, as previous version of ag-grid had lockVisible as column state,
1917
1945
  // so couldn't depend on colDef version.
1918
1946
  Column.prototype.isLockVisible = function () {
1947
+ console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
1919
1948
  return this.colDef ? !!this.colDef.lockVisible : false;
1920
1949
  };
1921
1950
  // this used to be needed, as previous version of ag-grid had lockPinned as column state,
1922
1951
  // so couldn't depend on colDef version.
1923
1952
  Column.prototype.isLockPinned = function () {
1953
+ console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
1924
1954
  return this.colDef ? !!this.colDef.lockPinned : false;
1925
1955
  };
1926
1956
  // + renderedHeaderCell - for making header cell transparent when moving
@@ -2316,6 +2346,7 @@ var ColumnGroup = /** @class */ (function () {
2316
2346
  };
2317
2347
  /** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
2318
2348
  ColumnGroup.prototype.getOriginalColumnGroup = function () {
2349
+ console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
2319
2350
  return this.getProvidedColumnGroup();
2320
2351
  };
2321
2352
  ColumnGroup.prototype.getPaddingLevel = function () {
@@ -3191,7 +3222,9 @@ var ColumnFactory = /** @class */ (function (_super) {
3191
3222
  var typeKeys = [];
3192
3223
  if (type instanceof Array) {
3193
3224
  var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
3194
- if (invalidArray) ;
3225
+ if (invalidArray) {
3226
+ console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
3227
+ }
3195
3228
  else {
3196
3229
  typeKeys = type;
3197
3230
  }
@@ -3200,13 +3233,16 @@ var ColumnFactory = /** @class */ (function (_super) {
3200
3233
  typeKeys = type.split(',');
3201
3234
  }
3202
3235
  else {
3236
+ console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
3203
3237
  return;
3204
3238
  }
3205
3239
  // merge user defined with default column types
3206
3240
  var allColumnTypes = Object.assign({}, DefaultColumnTypes);
3207
3241
  var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
3208
3242
  iterateObject(userTypes, function (key, value) {
3209
- if (key in allColumnTypes) ;
3243
+ if (key in allColumnTypes) {
3244
+ console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
3245
+ }
3210
3246
  else {
3211
3247
  allColumnTypes[key] = value;
3212
3248
  }
@@ -3216,12 +3252,34 @@ var ColumnFactory = /** @class */ (function (_super) {
3216
3252
  if (typeColDef) {
3217
3253
  mergeDeep(colDefMerged, typeColDef, false, true);
3218
3254
  }
3255
+ else {
3256
+ console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
3257
+ }
3219
3258
  });
3220
3259
  };
3221
3260
  ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
3222
3261
  if (colDef) {
3223
3262
  var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
3263
+ if (colDefNoType.group !== undefined) {
3264
+ console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
3265
+ }
3266
+ if (colDefNoType.headerGroup !== undefined) {
3267
+ console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
3268
+ }
3269
+ if (colDefNoType.headerGroupShow !== undefined) {
3270
+ console.warn('AG Grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3');
3271
+ }
3272
+ if (colDefNoType.suppressRowGroup !== undefined) {
3273
+ console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
3274
+ }
3275
+ if (colDefNoType.suppressAggregation !== undefined) {
3276
+ console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
3277
+ }
3278
+ if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
3279
+ console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
3280
+ }
3224
3281
  if (colDefNoType.displayName) {
3282
+ console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
3225
3283
  colDefNoType.headerName = colDefNoType.displayName;
3226
3284
  }
3227
3285
  }
@@ -4283,6 +4341,7 @@ var SideBarDefParser = /** @class */ (function () {
4283
4341
  toParse.forEach(function (key) {
4284
4342
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
4285
4343
  if (!lookupResult) {
4344
+ console.warn("AG Grid: the key " + key + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
4286
4345
  return;
4287
4346
  }
4288
4347
  comps_1.push(lookupResult);
@@ -4313,6 +4372,7 @@ var SideBarDefParser = /** @class */ (function () {
4313
4372
  if (typeof it === 'string') {
4314
4373
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
4315
4374
  if (!lookupResult) {
4375
+ console.warn("AG Grid: the key " + it + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
4316
4376
  return;
4317
4377
  }
4318
4378
  toAdd = lookupResult;
@@ -4909,6 +4969,7 @@ var GridOptionsWrapper = /** @class */ (function () {
4909
4969
  this.destroyed = true;
4910
4970
  };
4911
4971
  GridOptionsWrapper.prototype.init = function () {
4972
+ var _this = this;
4912
4973
  if (this.gridOptions.suppressPropertyNamesCheck !== true) {
4913
4974
  this.checkGridOptionsProperties();
4914
4975
  this.checkColumnDefProperties();
@@ -4919,26 +4980,61 @@ var GridOptionsWrapper = /** @class */ (function () {
4919
4980
  }
4920
4981
  var async = this.useAsyncEvents();
4921
4982
  this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
4922
- if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
4983
+ if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
4984
+ console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
4985
+ }
4923
4986
  if (this.isGroupSelectsChildren()) {
4924
- if (!this.isRowSelectionMulti()) ;
4925
- if (this.isRowModelServerSide()) ;
4987
+ if (!this.isRowSelectionMulti()) {
4988
+ console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
4989
+ }
4990
+ if (this.isRowModelServerSide()) {
4991
+ console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
4992
+ 'This is because the rows are lazy loaded, so selecting a group is not possible as' +
4993
+ 'the grid has no way of knowing what the children are.');
4994
+ }
4995
+ }
4996
+ if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
4997
+ console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!");
4926
4998
  }
4927
- if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
4928
4999
  if (this.isRowModelServerSide()) {
4929
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4930
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4931
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
5000
+ var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
5001
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5002
+ console.warn(msg('groupDefaultExpanded'));
5003
+ }
5004
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5005
+ console.warn(msg('groupIncludeFooter'));
5006
+ }
5007
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5008
+ console.warn(msg('groupIncludeTotalFooter'));
5009
+ }
4932
5010
  }
4933
5011
  if (isTrue(this.gridOptions.enableRangeSelection)) {
4934
5012
  ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
4935
5013
  }
4936
- else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
5014
+ else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
5015
+ console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
5016
+ }
4937
5017
  if (this.isGroupRowsSticky()) {
4938
- if (this.isGroupHideOpenParents()) ;
4939
- if (this.isMasterDetail()) ;
4940
- if (this.isPagination()) ;
5018
+ if (this.isGroupHideOpenParents()) {
5019
+ console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
5020
+ }
5021
+ if (this.isMasterDetail()) {
5022
+ console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
5023
+ }
5024
+ if (this.isPagination()) {
5025
+ console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
5026
+ }
4941
5027
  }
5028
+ var warnOfDeprecaredIcon = function (name) {
5029
+ if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
5030
+ console.warn("gridOptions.icons." + name + " is no longer supported. For information on how to style checkboxes and radio buttons, see https://www.ag-grid.com/javascript-grid-icons/");
5031
+ }
5032
+ };
5033
+ warnOfDeprecaredIcon('radioButtonOff');
5034
+ warnOfDeprecaredIcon('radioButtonOn');
5035
+ warnOfDeprecaredIcon('checkboxChecked');
5036
+ warnOfDeprecaredIcon('checkboxUnchecked');
5037
+ warnOfDeprecaredIcon('checkboxIndeterminate');
4942
5038
  // sets an initial calculation for the scrollbar width
4943
5039
  this.getScrollbarWidth();
4944
5040
  };
@@ -4962,7 +5058,11 @@ var GridOptionsWrapper = /** @class */ (function () {
4962
5058
  GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
4963
5059
  var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
4964
5060
  iterateObject(invalidProperties, function (key, value) {
5061
+ console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
4965
5062
  });
5063
+ if (Object.keys(invalidProperties).length > 0) {
5064
+ console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
5065
+ }
4966
5066
  };
4967
5067
  /**
4968
5068
  * Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
@@ -5221,7 +5321,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5221
5321
  ];
5222
5322
  if (validLayouts.indexOf(domLayout) === -1) {
5223
5323
  doOnce(function () {
5224
- return (void 0);
5324
+ return console.warn("AG Grid: " + domLayout + " is not valid for DOM Layout, valid values are " + Constants.DOM_LAYOUT_NORMAL + ", " + Constants.DOM_LAYOUT_AUTO_HEIGHT + " and " + Constants.DOM_LAYOUT_PRINT);
5225
5325
  }, 'warn about dom layout values');
5226
5326
  return Constants.DOM_LAYOUT_NORMAL;
5227
5327
  }
@@ -5616,7 +5716,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5616
5716
  return 'xy';
5617
5717
  }
5618
5718
  if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
5619
- doOnce(function () { return (void 0); }, 'warn invalid fill direction');
5719
+ doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
5620
5720
  return 'xy';
5621
5721
  }
5622
5722
  return direction;
@@ -5715,6 +5815,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5715
5815
  };
5716
5816
  GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
5717
5817
  if (this.gridOptions.defaultExportParams) {
5818
+ console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
5718
5819
  if (type === 'csv') {
5719
5820
  return this.gridOptions.defaultExportParams;
5720
5821
  }
@@ -5847,7 +5948,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5847
5948
  GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
5848
5949
  var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
5849
5950
  if (!this.isRowModelServerSide() && isEnabled) {
5850
- doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
5951
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
5851
5952
  return false;
5852
5953
  }
5853
5954
  return isEnabled;
@@ -5855,7 +5956,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5855
5956
  GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
5856
5957
  var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
5857
5958
  if (!this.isRowModelServerSide() && isEnabled) {
5858
- doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
5959
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
5859
5960
  return false;
5860
5961
  }
5861
5962
  return isEnabled;
@@ -5863,11 +5964,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5863
5964
  GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
5864
5965
  var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
5865
5966
  if (!this.isRowModelServerSide() && isEnabled) {
5866
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
5967
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
5867
5968
  return false;
5868
5969
  }
5869
5970
  if (this.isTreeData() && isEnabled) {
5870
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
5971
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
5871
5972
  return false;
5872
5973
  }
5873
5974
  return isEnabled;
@@ -5875,11 +5976,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5875
5976
  GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
5876
5977
  var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
5877
5978
  if (!this.isRowModelServerSide() && isEnabled) {
5878
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
5979
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
5879
5980
  return false;
5880
5981
  }
5881
5982
  if (this.isTreeData() && isEnabled) {
5882
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
5983
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
5883
5984
  return false;
5884
5985
  }
5885
5986
  return isEnabled;
@@ -5988,7 +6089,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5988
6089
  var capitalisedType = capitalise(type);
5989
6090
  if (exists(delay)) {
5990
6091
  if (delay < 0) {
5991
- doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
6092
+ doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
5992
6093
  }
5993
6094
  return Math.max(200, delay);
5994
6095
  }
@@ -6039,7 +6140,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6039
6140
  var rowBuffer = this.gridOptions.rowBuffer;
6040
6141
  if (typeof rowBuffer === 'number') {
6041
6142
  if (rowBuffer < 0) {
6042
- doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
6143
+ doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
6043
6144
  this.gridOptions.rowBuffer = rowBuffer = 0;
6044
6145
  }
6045
6146
  }
@@ -6073,23 +6174,45 @@ var GridOptionsWrapper = /** @class */ (function () {
6073
6174
  // casting to generic object, so typescript compiles even though
6074
6175
  // we are looking for attributes that don't exist
6075
6176
  var options = this.gridOptions;
6177
+ if (options.deprecatedEmbedFullWidthRows) {
6178
+ console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
6179
+ }
6180
+ if (options.rowDeselection) {
6181
+ console.warn('AG Grid: since v24.x, rowDeselection is deprecated and the behaviour is true by default. Please use `suppressRowDeselection` to prevent rows from being deselected.');
6182
+ }
6076
6183
  if (options.enableMultiRowDragging) {
6077
6184
  options.rowDragMultiRow = true;
6078
6185
  delete options.enableMultiRowDragging;
6186
+ console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
6079
6187
  }
6080
6188
  var checkRenamedProperty = function (oldProp, newProp, version) {
6081
6189
  if (options[oldProp] != null) {
6190
+ console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
6082
6191
  if (options[newProp] == null) {
6083
6192
  options[newProp] = options[oldProp];
6084
6193
  }
6085
6194
  }
6086
6195
  };
6087
- checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
6088
- checkRenamedProperty('deltaRowDataMode', 'immutableData');
6089
- checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
6090
- checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
6091
- checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
6196
+ checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
6197
+ checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
6198
+ checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
6199
+ checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
6200
+ if (options.immutableColumns || options.deltaColumnMode) {
6201
+ console.warn('AG Grid: since v24.0, immutableColumns and deltaColumnMode properties are gone. The grid now works like this as default. To keep column order maintained, set grid property applyColumnDefOrder=true');
6202
+ }
6203
+ checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
6092
6204
  if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
6205
+ console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
6206
+ console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
6207
+ console.warn(' For example instead of this:');
6208
+ console.warn(' groupRowInnerRenderer: "myRenderer"');
6209
+ console.warn(' groupRowInnerRendererParams: {x: a}');
6210
+ console.warn(' Replace with this:');
6211
+ console.warn(' groupRowRendererParams: {');
6212
+ console.warn(' innerRenderer: "myRenderer",');
6213
+ console.warn(' innerRendererParams: {x: a}');
6214
+ console.warn(' }');
6215
+ console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
6093
6216
  if (!options.groupRowRendererParams) {
6094
6217
  options.groupRowRendererParams = {};
6095
6218
  }
@@ -6104,36 +6227,105 @@ var GridOptionsWrapper = /** @class */ (function () {
6104
6227
  params.innerRendererFramework = options.groupRowInnerRendererFramework;
6105
6228
  }
6106
6229
  }
6230
+ if (options.rememberGroupStateWhenNewData) {
6231
+ console.warn('AG Grid: since v24.0, grid property rememberGroupStateWhenNewData is deprecated. This feature was provided before Transaction Updates worked (which keep group state). Now that transaction updates are possible and they keep group state, this feature is no longer needed.');
6232
+ }
6107
6233
  if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
6234
+ console.warn('AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer');
6108
6235
  options.detailRowAutoHeight = true;
6109
6236
  }
6237
+ if (options.suppressKeyboardEvent) {
6238
+ console.warn("AG Grid: since v24.1 suppressKeyboardEvent in the gridOptions has been deprecated and will be removed in\n future versions of AG Grid. If you need this to be set for every column use the defaultColDef property.");
6239
+ }
6240
+ if (options.suppressEnterpriseResetOnNewColumns) {
6241
+ console.warn('AG Grid: since v25, grid property suppressEnterpriseResetOnNewColumns is deprecated. This was a temporary property to allow changing columns in Server Side Row Model without triggering a reload. Now that it is possible to dynamically change columns in the grid, this is no longer needed.');
6242
+ }
6243
+ if (options.suppressColumnStateEvents) {
6244
+ console.warn('AG Grid: since v25, grid property suppressColumnStateEvents no longer works due to a refactor that we did. It should be possible to achieve similar using event.source, which would be "api" if the event was due to setting column state via the API');
6245
+ }
6246
+ if (options.defaultExportParams) {
6247
+ console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
6248
+ }
6110
6249
  if (options.stopEditingWhenGridLosesFocus) {
6250
+ console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
6111
6251
  options.stopEditingWhenCellsLoseFocus = true;
6112
6252
  }
6253
+ if (options.applyColumnDefOrder) {
6254
+ console.warn('AG Grid: since v26.0, the grid property `applyColumnDefOrder` is no longer needed, as this is the default behaviour. To turn this behaviour off, set maintainColumnOrder=true');
6255
+ }
6113
6256
  if (options.groupMultiAutoColumn) {
6257
+ console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
6114
6258
  options.groupDisplayType = 'multipleColumns';
6115
6259
  }
6116
6260
  if (options.groupUseEntireRow) {
6261
+ console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
6117
6262
  options.groupDisplayType = 'groupRows';
6118
6263
  }
6119
6264
  if (options.groupSuppressAutoColumn) {
6265
+ var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
6266
+ console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
6120
6267
  options.groupDisplayType = 'custom';
6121
6268
  }
6269
+ if (options.defaultGroupOrderComparator) {
6270
+ console.warn("AG Grid: since v27.2, the grid property `defaultGroupOrderComparator` is deprecated and has been replaced by `initialGroupOrderComparator` and now receives a single params object.");
6271
+ }
6122
6272
  if (options.defaultGroupSortComparator) {
6273
+ console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
6123
6274
  options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
6124
6275
  }
6276
+ if (options.groupRowAggNodes) {
6277
+ console.warn("AG Grid: since v27.2, the grid property `groupRowAggNodes` is deprecated and has been replaced by `getGroupRowAgg` and now receives a single params object.");
6278
+ }
6279
+ if (options.postSort) {
6280
+ console.warn("AG Grid: since v27.2, the grid property `postSort` is deprecated and has been replaced by `postSortRows` and now receives a single params object.");
6281
+ }
6282
+ if (options.isFullWidthCell) {
6283
+ console.warn("AG Grid: since v27.2, the grid property `isFullWidthCell` is deprecated and has been replaced by `isFullWidthRow` and now receives a single params object.");
6284
+ }
6285
+ if (options.localeTextFunc) {
6286
+ console.warn("AG Grid: since v27.2, the grid property `localeTextFunc` is deprecated and has been replaced by `getLocaleText` and now receives a single params object.");
6287
+ }
6288
+ if (options.colWidth) {
6289
+ console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
6290
+ }
6291
+ if (options.minColWidth) {
6292
+ console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
6293
+ }
6294
+ if (options.maxColWidth) {
6295
+ console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
6296
+ }
6297
+ if (options.reactUi) {
6298
+ console.warn('AG Grid: since v27.0, React UI is on by default, so no need for reactUi=true. To turn it off, set suppressReactUi=true.');
6299
+ }
6300
+ if (options.suppressReactUi) {
6301
+ console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
6302
+ }
6125
6303
  if (options.suppressCellSelection) {
6304
+ console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
6126
6305
  options.suppressCellFocus = options.suppressCellSelection;
6127
6306
  }
6307
+ if (options.getRowNodeId) {
6308
+ console.warn('AG Grid: since v27.1, `getRowNodeId` is deprecated and has been replaced by `getRowId`. The difference: if getRowId() is implemented then immutable data is enabled by default.');
6309
+ }
6310
+ if (options.immutableData) {
6311
+ if (options.getRowId) {
6312
+ console.warn('AG Grid: since v27.1, `immutableData` is deprecated. With the `getRowId` callback implemented, immutable data is enabled by default so you can remove `immutableData=true`.');
6313
+ }
6314
+ else {
6315
+ console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
6316
+ }
6317
+ }
6128
6318
  if (options.clipboardDeliminator) {
6319
+ console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
6129
6320
  options.clipboardDelimiter = options.clipboardDeliminator;
6130
6321
  }
6131
- checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
6132
- checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
6322
+ checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
6323
+ checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
6133
6324
  if (options.serverSideStoreType) {
6325
+ console.warn('AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store.');
6134
6326
  options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
6135
6327
  }
6136
- checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
6328
+ checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
6137
6329
  };
6138
6330
  GridOptionsWrapper.prototype.checkForViolations = function () {
6139
6331
  if (this.isTreeData()) {
@@ -6142,11 +6334,20 @@ var GridOptionsWrapper = /** @class */ (function () {
6142
6334
  };
6143
6335
  GridOptionsWrapper.prototype.treeDataViolations = function () {
6144
6336
  if (this.isRowModelDefault()) {
6145
- if (missing(this.getDataPathFunc())) ;
6337
+ if (missing(this.getDataPathFunc())) {
6338
+ console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
6339
+ 'provide getDataPath function, please provide getDataPath function if using tree data.');
6340
+ }
6146
6341
  }
6147
6342
  if (this.isRowModelServerSide()) {
6148
- if (missing(this.getIsServerSideGroupFunc())) ;
6149
- if (missing(this.getServerSideGroupKeyFunc())) ;
6343
+ if (missing(this.getIsServerSideGroupFunc())) {
6344
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6345
+ 'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
6346
+ }
6347
+ if (missing(this.getServerSideGroupKeyFunc())) {
6348
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6349
+ 'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
6350
+ }
6150
6351
  }
6151
6352
  };
6152
6353
  GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
@@ -6215,6 +6416,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6215
6416
  this.setRowHeightVariable(rowHeight);
6216
6417
  return rowHeight;
6217
6418
  }
6419
+ console.warn('AG Grid row height must be a number if not using standard row model');
6218
6420
  return this.getDefaultRowHeight();
6219
6421
  };
6220
6422
  GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
@@ -6239,7 +6441,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6239
6441
  var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
6240
6442
  if (this.isNumeric(height)) {
6241
6443
  if (height === 0) {
6242
- doOnce(function () { return (void 0); }, 'invalidRowHeight');
6444
+ doOnce(function () { return console.warn('AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.'); }, 'invalidRowHeight');
6243
6445
  }
6244
6446
  return { height: Math.max(1, height), estimated: false };
6245
6447
  }
@@ -6284,6 +6486,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6284
6486
  GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
6285
6487
  var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
6286
6488
  if (groupDisplayTypeValues.indexOf(supplied) < 0) {
6489
+ console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
6287
6490
  return false;
6288
6491
  }
6289
6492
  return supplied === toMatch;
@@ -6291,6 +6494,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6291
6494
  GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
6292
6495
  var treeDataDisplayTypeValues = ['auto', 'custom'];
6293
6496
  if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
6497
+ console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
6294
6498
  return false;
6295
6499
  }
6296
6500
  return supplied === toMatch;
@@ -6675,6 +6879,7 @@ var ColumnModel = /** @class */ (function (_super) {
6675
6879
  };
6676
6880
  ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
6677
6881
  if (pivot && this.gridOptionsWrapper.isTreeData()) {
6882
+ console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
6678
6883
  return false;
6679
6884
  }
6680
6885
  return true;
@@ -7305,6 +7510,7 @@ var ColumnModel = /** @class */ (function (_super) {
7305
7510
  if (loopCount > 1000) {
7306
7511
  // this should never happen, but in the future, someone might introduce a bug here,
7307
7512
  // so we stop the browser from hanging and report bug properly
7513
+ console.error('AG Grid: infinite loop in resizeColumnSets');
7308
7514
  return "break";
7309
7515
  }
7310
7516
  finishedColsGrew = false;
@@ -7422,6 +7628,8 @@ var ColumnModel = /** @class */ (function (_super) {
7422
7628
  if (source === void 0) { source = "api"; }
7423
7629
  this.columnAnimationService.start();
7424
7630
  if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
7631
+ console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
7632
+ console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
7425
7633
  return;
7426
7634
  }
7427
7635
  // we want to pull all the columns out first and put them into an ordered list
@@ -7674,6 +7882,7 @@ var ColumnModel = /** @class */ (function (_super) {
7674
7882
  ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
7675
7883
  if (source === void 0) { source = "api"; }
7676
7884
  if (this.gridOptionsWrapper.getDomLayout() === 'print') {
7885
+ console.warn("Changing the column pinning status is not allowed with domLayout='print'");
7677
7886
  return;
7678
7887
  }
7679
7888
  this.columnAnimationService.start();
@@ -7943,6 +8152,7 @@ var ColumnModel = /** @class */ (function (_super) {
7943
8152
  return false;
7944
8153
  }
7945
8154
  if (params && params.state && !params.state.forEach) {
8155
+ console.warn('AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.');
7946
8156
  return false;
7947
8157
  }
7948
8158
  var applyStates = function (states, existingColumns, getById) {
@@ -8089,6 +8299,7 @@ var ColumnModel = /** @class */ (function (_super) {
8089
8299
  // is less sexy for the code here, but it keeps consistency.
8090
8300
  newOrder = this.placeLockedColumns(newOrder);
8091
8301
  if (!this.doesMovePassMarryChildren(newOrder)) {
8302
+ console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
8092
8303
  return;
8093
8304
  }
8094
8305
  this.gridColumns = newOrder;
@@ -8340,7 +8551,11 @@ var ColumnModel = /** @class */ (function (_super) {
8340
8551
  }
8341
8552
  }
8342
8553
  else {
8343
- if (exists(aggFunc)) ;
8554
+ if (exists(aggFunc)) {
8555
+ console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
8556
+ 'functions, register the functions first before using them in get/set state. This is because it is ' +
8557
+ 'intended for the column state to be stored and retrieved as simple JSON.');
8558
+ }
8344
8559
  // Note: we do not call column.setAggFunc(null), so that next time we aggregate
8345
8560
  // by this column (eg drag the column to the agg section int he toolpanel) it will
8346
8561
  // default to the last aggregation function.
@@ -8408,6 +8623,9 @@ var ColumnModel = /** @class */ (function (_super) {
8408
8623
  return null;
8409
8624
  }
8410
8625
  var column = this.getGridColumn(key);
8626
+ if (!column) {
8627
+ console.warn('AG Grid: could not find column ' + key);
8628
+ }
8411
8629
  return column;
8412
8630
  };
8413
8631
  ColumnModel.prototype.getPrimaryColumn = function (key) {
@@ -8510,6 +8728,7 @@ var ColumnModel = /** @class */ (function (_super) {
8510
8728
  // valueGetter is an expression, so execute the expression
8511
8729
  return this.expressionService.evaluate(headerValueGetter, params);
8512
8730
  }
8731
+ console.warn('ag-grid: headerValueGetter must be a function or a string');
8513
8732
  return '';
8514
8733
  }
8515
8734
  else if (colDef.headerName != null) {
@@ -8804,6 +9023,10 @@ var ColumnModel = /** @class */ (function (_super) {
8804
9023
  this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
8805
9024
  };
8806
9025
  ColumnModel.prototype.getProvidedColumnGroup = function (key) {
9026
+ // if (key instanceof ProvidedColumnGroup) { return key; }
9027
+ if (typeof key !== 'string') {
9028
+ console.error('AG Grid: group key must be a string');
9029
+ }
8807
9030
  // otherwise, search for the column group by id
8808
9031
  var res = null;
8809
9032
  this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
@@ -9014,7 +9237,8 @@ var ColumnModel = /** @class */ (function (_super) {
9014
9237
  var rowModelType = this.rowModel.getType();
9015
9238
  var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
9016
9239
  if (!supportedRowModel) {
9017
- doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
9240
+ var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
9241
+ doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
9018
9242
  }
9019
9243
  }
9020
9244
  };
@@ -10006,6 +10230,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
10006
10230
  if (found) {
10007
10231
  return result;
10008
10232
  }
10233
+ console.warn('AG Grid: could not get path');
10009
10234
  return null;
10010
10235
  };
10011
10236
  DisplayedGroupCreator = __decorate$36([
@@ -11689,12 +11914,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
11689
11914
  if (isNodeOrElement(rendererResult)) {
11690
11915
  return rendererResult;
11691
11916
  }
11917
+ console.warn('AG Grid: iconRenderer should return back a string or a dom object');
11692
11918
  }
11693
11919
  else {
11694
11920
  var span = document.createElement('span');
11695
11921
  var cssClass = iconNameClassMap[iconName];
11696
11922
  if (!cssClass) {
11697
11923
  if (!forceCreate) {
11924
+ console.warn("AG Grid: Did not find icon " + iconName);
11698
11925
  cssClass = '';
11699
11926
  }
11700
11927
  else {
@@ -12133,6 +12360,7 @@ var AgPromise = /** @class */ (function () {
12133
12360
  this.waiters.forEach(function (waiter) { return waiter(value); });
12134
12361
  };
12135
12362
  AgPromise.prototype.onReject = function (params) {
12363
+ console.warn('TBI');
12136
12364
  };
12137
12365
  return AgPromise;
12138
12366
  }());
@@ -12758,9 +12986,11 @@ function RefSelector(ref) {
12758
12986
  }
12759
12987
  function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
12760
12988
  if (selector === null) {
12989
+ console.error('AG Grid: QuerySelector selector should not be null');
12761
12990
  return;
12762
12991
  }
12763
12992
  if (typeof index === 'number') {
12993
+ console.error('AG Grid: QuerySelector should be on an attribute');
12764
12994
  return;
12765
12995
  }
12766
12996
  addToObjectProps(classPrototype, 'querySelectors', {
@@ -12995,8 +13225,12 @@ var OptionsFactory = /** @class */ (function () {
12995
13225
  this.checkForDeprecatedParams();
12996
13226
  };
12997
13227
  OptionsFactory.prototype.checkForDeprecatedParams = function () {
12998
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
12999
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
13228
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
13229
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
13230
+ }
13231
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
13232
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
13233
+ }
13000
13234
  };
13001
13235
  OptionsFactory.prototype.getFilterOptions = function () {
13002
13236
  return this.filterOptions;
@@ -13013,6 +13247,7 @@ var OptionsFactory = /** @class */ (function () {
13013
13247
  var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
13014
13248
  var propertyCheck = function (keys) {
13015
13249
  if (!keys.some(function (key) { return filterOption[key] != null; })) {
13250
+ console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
13016
13251
  return false;
13017
13252
  }
13018
13253
  return true;
@@ -13046,9 +13281,13 @@ var OptionsFactory = /** @class */ (function () {
13046
13281
  else if (firstFilterOption.displayKey) {
13047
13282
  this.defaultOption = firstFilterOption.displayKey;
13048
13283
  }
13049
- else ;
13284
+ else {
13285
+ console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
13286
+ }
13287
+ }
13288
+ else {
13289
+ console.warn('AG Grid: no filter options for filter');
13050
13290
  }
13051
- else ;
13052
13291
  };
13053
13292
  OptionsFactory.prototype.getDefaultOption = function () {
13054
13293
  return this.defaultOption;
@@ -13311,6 +13550,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
13311
13550
  clickListener = function (e) { _this.onBtCancel(e); };
13312
13551
  break;
13313
13552
  default:
13553
+ console.warn('AG Grid: Unknown button type specified');
13314
13554
  return;
13315
13555
  }
13316
13556
  var buttonType = type === 'apply' ? 'submit' : 'button';
@@ -13451,6 +13691,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
13451
13691
  // static, as used by floating filter also
13452
13692
  ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
13453
13693
  if (ProvidedFilter.isUseApplyButton(params)) {
13694
+ if (params.debounceMs != null) {
13695
+ console.warn('AG Grid: debounceMs is ignored when apply button is present');
13696
+ }
13454
13697
  return 0;
13455
13698
  }
13456
13699
  return params.debounceMs != null ? params.debounceMs : debounceDefault;
@@ -14827,6 +15070,7 @@ var ScalarFilter = /** @class */ (function (_super) {
14827
15070
  case ScalarFilter.NOT_BLANK:
14828
15071
  return !this.isBlank(cellValue);
14829
15072
  default:
15073
+ console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
14830
15074
  return true;
14831
15075
  }
14832
15076
  };
@@ -14920,11 +15164,17 @@ var DateFilter = /** @class */ (function (_super) {
14920
15164
  if (!isNaN(params[param])) {
14921
15165
  return params[param] == null ? fallback : Number(params[param]);
14922
15166
  }
15167
+ else {
15168
+ console.warn("AG Grid: DateFilter " + param + " is not a number");
15169
+ }
14923
15170
  }
14924
15171
  return fallback;
14925
15172
  };
14926
15173
  this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
14927
15174
  this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
15175
+ if (this.minValidYear > this.maxValidYear) {
15176
+ console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
15177
+ }
14928
15178
  this.createDateComponents();
14929
15179
  };
14930
15180
  DateFilter.prototype.createDateComponents = function () {
@@ -15625,7 +15875,7 @@ var TextFilter = /** @class */ (function (_super) {
15625
15875
  TextFilter.prototype.getTextMatcher = function () {
15626
15876
  var legacyComparator = this.textFilterParams.textCustomComparator;
15627
15877
  if (legacyComparator) {
15628
- _.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
15878
+ _.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
15629
15879
  return function (_a) {
15630
15880
  var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
15631
15881
  return legacyComparator(filterOption, value, filterText);
@@ -16551,7 +16801,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
16551
16801
  HeaderGroupComp.prototype.checkWarnings = function () {
16552
16802
  var paramsAny = this.params;
16553
16803
  if (paramsAny.template) {
16554
- doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
16804
+ var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
16805
+ doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
16555
16806
  }
16556
16807
  };
16557
16808
  HeaderGroupComp.prototype.setupExpandIcons = function () {
@@ -16782,6 +17033,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
16782
17033
  var _this = this;
16783
17034
  this.focusAfterAttached = params.cellStartedEdit;
16784
17035
  if (missing(params.values)) {
17036
+ console.warn('AG Grid: no values found for select cellEditor');
16785
17037
  return;
16786
17038
  }
16787
17039
  this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
@@ -16855,7 +17107,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
16855
17107
  __extends$2_(PopupSelectCellEditor, _super);
16856
17108
  function PopupSelectCellEditor() {
16857
17109
  var _this = _super.call(this) || this;
16858
- doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
17110
+ doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
16859
17111
  return _this;
16860
17112
  }
16861
17113
  PopupSelectCellEditor.prototype.isPopup = function () {
@@ -17009,7 +17261,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
17009
17261
  __extends$2Y(PopupTextCellEditor, _super);
17010
17262
  function PopupTextCellEditor() {
17011
17263
  var _this = _super.call(this) || this;
17012
- doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
17264
+ doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
17013
17265
  return _this;
17014
17266
  }
17015
17267
  PopupTextCellEditor.prototype.isPopup = function () {
@@ -17386,7 +17638,9 @@ var RowNode = /** @class */ (function () {
17386
17638
  });
17387
17639
  // make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
17388
17640
  // it has 'startsWith' in case the user provided a number.
17389
- if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
17641
+ if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
17642
+ console.error("AG Grid: Row IDs cannot start with " + RowNode.ID_PREFIX_ROW_GROUP + ", this is a reserved prefix for AG Grid's row grouping feature.");
17643
+ }
17390
17644
  // force id to be a string
17391
17645
  if (this.id !== null && typeof this.id !== 'string') {
17392
17646
  this.id = '' + this.id;
@@ -17845,9 +18099,11 @@ var RowNode = /** @class */ (function () {
17845
18099
  // groupSelectsFiltered only makes sense when group selects children
17846
18100
  var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
17847
18101
  if (this.id === undefined) {
18102
+ console.warn('AG Grid: cannot select node until id for node is known');
17848
18103
  return 0;
17849
18104
  }
17850
18105
  if (this.rowPinned) {
18106
+ console.warn('AG Grid: cannot select pinned rows');
17851
18107
  return 0;
17852
18108
  }
17853
18109
  // if we are a footer, we don't do selection, just pass the info
@@ -18622,7 +18878,9 @@ var DragAndDropService = /** @class */ (function (_super) {
18622
18878
  }
18623
18879
  }
18624
18880
  this.eGhostParent = targetEl;
18625
- if (!this.eGhostParent) ;
18881
+ if (!this.eGhostParent) {
18882
+ console.warn('AG Grid: could not find document body, it is needed for dragging columns');
18883
+ }
18626
18884
  else {
18627
18885
  this.eGhostParent.appendChild(this.eGhost);
18628
18886
  }
@@ -18785,7 +19043,7 @@ var RowDragComp = /** @class */ (function (_super) {
18785
19043
  var treeData = this.beans.gridOptionsWrapper.isTreeData();
18786
19044
  if (treeData && managed) {
18787
19045
  doOnce(function () {
18788
- return (void 0);
19046
+ return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
18789
19047
  }, 'RowDragComp.managedAndTreeData');
18790
19048
  }
18791
19049
  };
@@ -19194,7 +19452,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19194
19452
  else if (typeof footerValueGetter === 'string') {
19195
19453
  footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
19196
19454
  }
19197
- else ;
19455
+ else {
19456
+ console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
19457
+ }
19198
19458
  }
19199
19459
  else {
19200
19460
  footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
@@ -19412,7 +19672,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19412
19672
  var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
19413
19673
  var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
19414
19674
  if (userProvidedPaddingPixelsTheDeprecatedWay) {
19415
- doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
19675
+ doOnce(function () { return console.warn('AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.'); }, 'groupCellRenderer->doDeprecatedWay');
19416
19676
  }
19417
19677
  if (this.indentClass) {
19418
19678
  this.comp.addOrRemoveCssClass(this.indentClass, false);
@@ -19917,6 +20177,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19917
20177
  UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
19918
20178
  var name = this.translateIfDeprecated(rawName);
19919
20179
  if (this.agGridDefaults[name]) {
20180
+ console.error("Trying to overwrite a default component. You should call registerComponent");
19920
20181
  return;
19921
20182
  }
19922
20183
  this.agGridDefaults[name] = component;
@@ -19924,6 +20185,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19924
20185
  UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
19925
20186
  var name = this.translateIfDeprecated(rawName);
19926
20187
  if (this.fwComps[name]) {
20188
+ console.error("Trying to register a component that you have already registered for frameworks: " + name);
19927
20189
  return;
19928
20190
  }
19929
20191
  this.jsComps[name] = component;
@@ -19933,7 +20195,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19933
20195
  * A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
19934
20196
  */
19935
20197
  UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
19936
- doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
20198
+ var warningMessage = "AG Grid: As of v27, registering components via grid property frameworkComponents is deprecated. Instead register both JavaScript AND Framework Components via the components property.";
20199
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
19937
20200
  var name = this.translateIfDeprecated(rawName);
19938
20201
  this.fwComps[name] = component;
19939
20202
  };
@@ -19960,13 +20223,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19960
20223
  if (defaultComponent) {
19961
20224
  return createResult(defaultComponent, false);
19962
20225
  }
19963
- if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
20226
+ if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
20227
+ console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
20228
+ }
19964
20229
  return null;
19965
20230
  };
19966
20231
  UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
19967
20232
  var deprecatedInfo = this.agDeprecatedNames[raw];
19968
20233
  if (deprecatedInfo != null) {
19969
20234
  doOnce(function () {
20235
+ console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename " + deprecatedInfo.propertyHolder + ":" + raw + " to " + deprecatedInfo.propertyHolder + ":" + deprecatedInfo.newComponentName);
19970
20236
  }, 'DEPRECATE_COMPONENT_' + raw);
19971
20237
  return deprecatedInfo.newComponentName;
19972
20238
  }
@@ -20184,6 +20450,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
20184
20450
  };
20185
20451
  UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
20186
20452
  var _this = this;
20453
+ if (mandatory === void 0) { mandatory = false; }
20187
20454
  var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
20188
20455
  var _a = this.getCompKeys(defObject, type, params), compName = _a.compName, jsComp = _a.jsComp, fwComp = _a.fwComp, paramsFromSelector = _a.paramsFromSelector, popupFromSelector = _a.popupFromSelector, popupPositionFromSelector = _a.popupPositionFromSelector;
20189
20456
  var lookupFromRegistry = function (key) {
@@ -20206,6 +20473,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
20206
20473
  jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
20207
20474
  }
20208
20475
  if (!jsComp && !fwComp) {
20476
+ if (mandatory) {
20477
+ console.error("Could not find component " + compName + ", did you forget to configure this component?");
20478
+ }
20209
20479
  return;
20210
20480
  }
20211
20481
  var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
@@ -20242,7 +20512,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20242
20512
  var selectorRes = selectorFunc ? selectorFunc(params) : null;
20243
20513
  var assignComp = function (providedJsComp, providedFwComp) {
20244
20514
  var xxxFrameworkDeprecatedWarn = function () {
20245
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20515
+ var warningMessage = "AG Grid: As of v27, the property " + propertyName + "Framework is deprecated. The property " + propertyName + " can now be used for JavaScript AND Framework Components.";
20516
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20246
20517
  };
20247
20518
  if (typeof providedJsComp === 'string') {
20248
20519
  compName = providedJsComp;
@@ -20268,7 +20539,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20268
20539
  };
20269
20540
  if (selectorRes) {
20270
20541
  if (selectorRes.frameworkComponent != null) {
20271
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20542
+ var warningMessage_1 = "AG Grid: As of v27, the return for " + propertyName + "Selector has attributes [component, params] only. The attribute frameworkComponent is deprecated. You should now return back Framework Components using the 'component' attribute and the grid works out if it's a framework component or not.";
20543
+ doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20272
20544
  assignComp(selectorRes.frameworkComponent, undefined);
20273
20545
  }
20274
20546
  else {
@@ -20773,13 +21045,16 @@ var FilterManager = /** @class */ (function (_super) {
20773
21045
  modelKeys_1.forEach(function (colId) {
20774
21046
  var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
20775
21047
  if (!column) {
21048
+ console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
20776
21049
  return;
20777
21050
  }
20778
21051
  if (!column.isFilterAllowed()) {
21052
+ console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
20779
21053
  return;
20780
21054
  }
20781
21055
  var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
20782
21056
  if (!filterWrapper) {
21057
+ console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
20783
21058
  return;
20784
21059
  }
20785
21060
  allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
@@ -20809,6 +21084,7 @@ var FilterManager = /** @class */ (function (_super) {
20809
21084
  return new AgPromise(function (resolve) {
20810
21085
  filterPromise.then(function (filter) {
20811
21086
  if (typeof filter.setModel !== 'function') {
21087
+ console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
20812
21088
  resolve();
20813
21089
  }
20814
21090
  (filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
@@ -20825,6 +21101,7 @@ var FilterManager = /** @class */ (function (_super) {
20825
21101
  return null;
20826
21102
  }
20827
21103
  if (typeof filter.getModel !== 'function') {
21104
+ console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
20828
21105
  return;
20829
21106
  }
20830
21107
  var model = filter.getModel();
@@ -20858,6 +21135,7 @@ var FilterManager = /** @class */ (function (_super) {
20858
21135
  return false;
20859
21136
  } // this never happens, including to avoid compile error
20860
21137
  if (!filter.isFilterActive) {
21138
+ console.warn('AG Grid: Filter is missing isFilterActive() method');
20861
21139
  return false;
20862
21140
  }
20863
21141
  return filter.isFilterActive();
@@ -20931,12 +21209,14 @@ var FilterManager = /** @class */ (function (_super) {
20931
21209
  return null;
20932
21210
  }
20933
21211
  if (!this.gridOptionsWrapper.isRowModelDefault()) {
21212
+ console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
20934
21213
  return null;
20935
21214
  }
20936
21215
  return newFilter.toUpperCase();
20937
21216
  };
20938
21217
  FilterManager.prototype.setQuickFilter = function (newFilter) {
20939
21218
  if (newFilter != null && typeof newFilter !== 'string') {
21219
+ console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
20940
21220
  return;
20941
21221
  }
20942
21222
  var parsedFilter = this.parseQuickFilter(newFilter);
@@ -21196,7 +21476,9 @@ var FilterManager = /** @class */ (function (_super) {
21196
21476
  filterWrapper.guiPromise = new AgPromise(function (resolve) {
21197
21477
  filterWrapper.filterPromise.then(function (filter) {
21198
21478
  var guiFromFilter = filter.getGui();
21199
- if (!exists(guiFromFilter)) ;
21479
+ if (!exists(guiFromFilter)) {
21480
+ console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
21481
+ }
21200
21482
  // for backwards compatibility with Angular 1 - we
21201
21483
  // used to allow providing back HTML from getGui().
21202
21484
  // once we move away from supporting Angular 1
@@ -21788,6 +22070,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
21788
22070
  }
21789
22071
  var rowCount = this.paginationProxy.getRowCount();
21790
22072
  if (typeof index !== 'number' || index < 0 || index >= rowCount) {
22073
+ console.warn('invalid row index for ensureIndexVisible: ' + index);
21791
22074
  return;
21792
22075
  }
21793
22076
  var isPaging = this.gridOptionsWrapper.isPagination();
@@ -22282,10 +22565,11 @@ var RowDragFeature = /** @class */ (function (_super) {
22282
22565
  RowDragFeature.prototype.addRowDropZone = function (params) {
22283
22566
  var _this = this;
22284
22567
  if (!params.getContainer()) {
22285
- doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
22568
+ doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
22286
22569
  return;
22287
22570
  }
22288
22571
  if (this.dragAndDropService.findExternalZone(params)) {
22572
+ console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
22289
22573
  return;
22290
22574
  }
22291
22575
  var processedParams = {
@@ -22812,7 +23096,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
22812
23096
  _this.sizeColumnsToFit(params, -1);
22813
23097
  }, 500);
22814
23098
  }
22815
- else ;
23099
+ else {
23100
+ console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
23101
+ 'zero width, maybe the grid is not visible yet on the screen?');
23102
+ }
22816
23103
  };
22817
23104
  // + rangeService
22818
23105
  GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
@@ -24473,6 +24760,7 @@ var CellCtrl = /** @class */ (function (_super) {
24473
24760
  CellCtrl.prototype.createCellRendererParams = function () {
24474
24761
  var _this = this;
24475
24762
  var addRowCompListener = function (eventType, listener) {
24763
+ console.warn('AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided.');
24476
24764
  _this.rowCtrl.addEventListener(eventType, listener);
24477
24765
  };
24478
24766
  var res = {
@@ -25001,11 +25289,11 @@ var CellCtrl = /** @class */ (function (_super) {
25001
25289
  if (rowDragManaged) {
25002
25290
  // row dragging only available in default row model
25003
25291
  if (!clientSideRowModelActive) {
25004
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25292
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
25005
25293
  return;
25006
25294
  }
25007
25295
  if (pagination) {
25008
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25296
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
25009
25297
  return;
25010
25298
  }
25011
25299
  }
@@ -25222,6 +25510,7 @@ var RowCtrl = /** @class */ (function (_super) {
25222
25510
  var gow = this.beans.gridOptionsWrapper;
25223
25511
  if (gow.isEnableRangeSelection()) {
25224
25512
  doOnce(function () {
25513
+ console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
25225
25514
  }, 'rowDragAndRangeSelectionEnabled');
25226
25515
  return;
25227
25516
  }
@@ -25234,7 +25523,12 @@ var RowCtrl = /** @class */ (function (_super) {
25234
25523
  var params = this.createFullWidthParams(gui.element, pinned);
25235
25524
  var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
25236
25525
  if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
25237
- if (ModuleRegistry.isPackageBased()) ;
25526
+ if (ModuleRegistry.isPackageBased()) {
25527
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
25528
+ }
25529
+ else {
25530
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
25531
+ }
25238
25532
  return;
25239
25533
  }
25240
25534
  var compDetails;
@@ -25985,6 +26279,7 @@ var RowCtrl = /** @class */ (function (_super) {
25985
26279
  // part 1 - rowStyle
25986
26280
  var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
25987
26281
  if (rowStyle && typeof rowStyle === 'function') {
26282
+ console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
25988
26283
  return;
25989
26284
  }
25990
26285
  // part 1 - rowStyleFunc
@@ -26099,12 +26394,14 @@ var RowCtrl = /** @class */ (function (_super) {
26099
26394
  RowCtrl.prototype.addEventListener = function (eventType, listener) {
26100
26395
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26101
26396
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26397
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26102
26398
  }
26103
26399
  _super.prototype.addEventListener.call(this, eventType, listener);
26104
26400
  };
26105
26401
  RowCtrl.prototype.removeEventListener = function (eventType, listener) {
26106
26402
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26107
26403
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26404
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26108
26405
  }
26109
26406
  _super.prototype.removeEventListener.call(this, eventType, listener);
26110
26407
  };
@@ -28264,7 +28561,7 @@ var NavigationService = /** @class */ (function (_super) {
28264
28561
  var userCell = userFunc(params);
28265
28562
  if (exists(userCell)) {
28266
28563
  if (userCell.floating) {
28267
- doOnce(function () { }, 'no floating in userCell');
28564
+ doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
28268
28565
  userCell.rowPinned = userCell.floating;
28269
28566
  }
28270
28567
  nextPosition = {
@@ -28397,7 +28694,7 @@ var NavigationService = /** @class */ (function (_super) {
28397
28694
  var userCell = userFunc(params);
28398
28695
  if (exists(userCell)) {
28399
28696
  if (userCell.floating) {
28400
- doOnce(function () { }, 'no floating in userCell');
28697
+ doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
28401
28698
  userCell.rowPinned = userCell.floating;
28402
28699
  }
28403
28700
  nextCell = {
@@ -28952,6 +29249,7 @@ var CellComp = /** @class */ (function (_super) {
28952
29249
  return;
28953
29250
  }
28954
29251
  if (!cellEditor.getGui) {
29252
+ console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
28955
29253
  this.beans.context.destroyBean(cellEditor);
28956
29254
  return;
28957
29255
  }
@@ -28989,7 +29287,10 @@ var CellComp = /** @class */ (function (_super) {
28989
29287
  };
28990
29288
  CellComp.prototype.addPopupCellEditor = function (params, position) {
28991
29289
  var _this = this;
28992
- if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
29290
+ if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
29291
+ console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
29292
+ '- either turn off fullRowEdit, or stop using popup editors.');
29293
+ }
28993
29294
  var cellEditor = this.cellEditor;
28994
29295
  // if a popup, then we wrap in a popup editor and return the popup
28995
29296
  this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
@@ -29173,6 +29474,9 @@ var RowComp = /** @class */ (function (_super) {
29173
29474
  };
29174
29475
  RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
29175
29476
  var _this = this;
29477
+ if (this.fullWidthCellRenderer) {
29478
+ console.error('AG Grid - should not be setting fullWidthRowComponent twice');
29479
+ }
29176
29480
  this.fullWidthCellRenderer = fullWidthRowComponent;
29177
29481
  this.addDestroyFunc(function () {
29178
29482
  _this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
@@ -29597,6 +29901,7 @@ var MoveColumnFeature = /** @class */ (function () {
29597
29901
  switch (hDirection) {
29598
29902
  case HorizontalDirection.Left: return HorizontalDirection.Right;
29599
29903
  case HorizontalDirection.Right: return HorizontalDirection.Left;
29904
+ default: console.error("AG Grid: Unknown direction " + hDirection);
29600
29905
  }
29601
29906
  }
29602
29907
  else {
@@ -30637,6 +30942,7 @@ var GridApi = /** @class */ (function () {
30637
30942
  }
30638
30943
  var exportMode = this.getExcelExportMode(params);
30639
30944
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30945
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30640
30946
  return;
30641
30947
  }
30642
30948
  return this.excelCreator.getDataAsExcel(params);
@@ -30648,6 +30954,7 @@ var GridApi = /** @class */ (function () {
30648
30954
  }
30649
30955
  var exportMode = this.getExcelExportMode(params);
30650
30956
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30957
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30651
30958
  return;
30652
30959
  }
30653
30960
  this.excelCreator.exportDataAsExcel(params);
@@ -30675,6 +30982,7 @@ var GridApi = /** @class */ (function () {
30675
30982
  };
30676
30983
  /** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
30677
30984
  GridApi.prototype.setEnterpriseDatasource = function (datasource) {
30985
+ console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
30678
30986
  this.setServerSideDatasource(datasource);
30679
30987
  };
30680
30988
  /**
@@ -30703,6 +31011,9 @@ var GridApi = /** @class */ (function () {
30703
31011
  // should really have an IEnterpriseRowModel interface, so we are not casting to any
30704
31012
  this.serverSideRowModel.setDatasource(datasource);
30705
31013
  }
31014
+ else {
31015
+ console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
31016
+ }
30706
31017
  };
30707
31018
  /**
30708
31019
  * Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
@@ -30711,6 +31022,7 @@ var GridApi = /** @class */ (function () {
30711
31022
  * */
30712
31023
  GridApi.prototype.setCacheBlockSize = function (blockSize) {
30713
31024
  if (!this.serverSideRowModel) {
31025
+ console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
30714
31026
  return;
30715
31027
  }
30716
31028
  this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
@@ -30721,6 +31033,9 @@ var GridApi = /** @class */ (function () {
30721
31033
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
30722
31034
  this.rowModel.setDatasource(datasource);
30723
31035
  }
31036
+ else {
31037
+ console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
31038
+ }
30724
31039
  };
30725
31040
  /** Set new datasource for Viewport Row Model. */
30726
31041
  GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
@@ -30730,12 +31045,16 @@ var GridApi = /** @class */ (function () {
30730
31045
  // the enterprise implement it, rather than casting to 'any' here
30731
31046
  this.rowModel.setViewportDatasource(viewportDatasource);
30732
31047
  }
31048
+ else {
31049
+ console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
31050
+ }
30733
31051
  };
30734
31052
  /** Set the row data. */
30735
31053
  GridApi.prototype.setRowData = function (rowData) {
30736
31054
  // immutable service is part of the CSRM module, if missing, no CSRM
30737
31055
  var missingImmutableService = this.immutableService == null;
30738
31056
  if (missingImmutableService) {
31057
+ console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
30739
31058
  return;
30740
31059
  }
30741
31060
  // if no keys provided provided for rows, then we can tread the operation as Immutable
@@ -30749,26 +31068,32 @@ var GridApi = /** @class */ (function () {
30749
31068
  };
30750
31069
  /** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
30751
31070
  GridApi.prototype.setFloatingTopRowData = function (rows) {
31071
+ console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
30752
31072
  this.setPinnedTopRowData(rows);
30753
31073
  };
30754
31074
  /** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
30755
31075
  GridApi.prototype.setFloatingBottomRowData = function (rows) {
31076
+ console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
30756
31077
  this.setPinnedBottomRowData(rows);
30757
31078
  };
30758
31079
  /** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
30759
31080
  GridApi.prototype.getFloatingTopRowCount = function () {
31081
+ console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
30760
31082
  return this.getPinnedTopRowCount();
30761
31083
  };
30762
31084
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
30763
31085
  GridApi.prototype.getFloatingBottomRowCount = function () {
31086
+ console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
30764
31087
  return this.getPinnedBottomRowCount();
30765
31088
  };
30766
31089
  /** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
30767
31090
  GridApi.prototype.getFloatingTopRow = function (index) {
31091
+ console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
30768
31092
  return this.getPinnedTopRow(index);
30769
31093
  };
30770
31094
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
30771
31095
  GridApi.prototype.getFloatingBottomRow = function (index) {
31096
+ console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
30772
31097
  return this.getPinnedBottomRow(index);
30773
31098
  };
30774
31099
  /** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
@@ -30849,6 +31174,7 @@ var GridApi = /** @class */ (function () {
30849
31174
  if (params === void 0) { params = {}; }
30850
31175
  if (Array.isArray(params)) {
30851
31176
  // the old version of refreshCells() took an array of rowNodes for the first argument
31177
+ console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
30852
31178
  return;
30853
31179
  }
30854
31180
  this.rowRenderer.refreshCells(params);
@@ -30902,8 +31228,12 @@ var GridApi = /** @class */ (function () {
30902
31228
  * It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
30903
31229
  */
30904
31230
  GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
30905
- if (missing(this.clientSideRowModel)) ;
30906
- if (exists(deprecated_refreshFromIndex)) ;
31231
+ if (missing(this.clientSideRowModel)) {
31232
+ console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
31233
+ }
31234
+ if (exists(deprecated_refreshFromIndex)) {
31235
+ console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
31236
+ }
30907
31237
  // we don't really want the user calling this if only one rowNode was expanded, instead they should be
30908
31238
  // calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
30909
31239
  // grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
@@ -30912,6 +31242,7 @@ var GridApi = /** @class */ (function () {
30912
31242
  };
30913
31243
  /** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
30914
31244
  GridApi.prototype.refreshInMemoryRowModel = function (step) {
31245
+ console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
30915
31246
  this.refreshClientSideRowModel(step);
30916
31247
  };
30917
31248
  /**
@@ -30919,7 +31250,9 @@ var GridApi = /** @class */ (function () {
30919
31250
  * Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
30920
31251
  */
30921
31252
  GridApi.prototype.refreshClientSideRowModel = function (step) {
30922
- if (missing(this.clientSideRowModel)) ;
31253
+ if (missing(this.clientSideRowModel)) {
31254
+ console.warn('cannot call refreshClientSideRowModel unless using normal row model');
31255
+ }
30923
31256
  var paramsStep = ClientSideRowModelSteps.EVERYTHING;
30924
31257
  var stepsMapped = {
30925
31258
  everything: ClientSideRowModelSteps.EVERYTHING,
@@ -30934,6 +31267,7 @@ var GridApi = /** @class */ (function () {
30934
31267
  paramsStep = stepsMapped[step];
30935
31268
  }
30936
31269
  if (missing(paramsStep)) {
31270
+ console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
30937
31271
  return;
30938
31272
  }
30939
31273
  var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
@@ -30979,7 +31313,9 @@ var GridApi = /** @class */ (function () {
30979
31313
  else if (this.serverSideRowModel) {
30980
31314
  this.serverSideRowModel.expandAll(true);
30981
31315
  }
30982
- else ;
31316
+ else {
31317
+ console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
31318
+ }
30983
31319
  };
30984
31320
  /** Collapse all groups. */
30985
31321
  GridApi.prototype.collapseAll = function () {
@@ -30989,17 +31325,23 @@ var GridApi = /** @class */ (function () {
30989
31325
  else if (this.serverSideRowModel) {
30990
31326
  this.serverSideRowModel.expandAll(false);
30991
31327
  }
30992
- else ;
31328
+ else {
31329
+ console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
31330
+ }
30993
31331
  };
30994
31332
  /** Gets the tool panel instance corresponding to the supplied `id`. */
30995
31333
  GridApi.prototype.getToolPanelInstance = function (id) {
30996
31334
  if (!this.sideBarComp) {
31335
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
30997
31336
  return;
30998
31337
  }
30999
31338
  var comp = this.sideBarComp.getToolPanelInstance(id);
31000
31339
  return unwrapUserComp(comp);
31001
31340
  };
31002
31341
  GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
31342
+ if (typeof eventName !== 'string') {
31343
+ console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
31344
+ }
31003
31345
  this.addRenderedRowListener(eventName, rowIndex, callback);
31004
31346
  };
31005
31347
  /**
@@ -31010,6 +31352,9 @@ var GridApi = /** @class */ (function () {
31010
31352
  * listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
31011
31353
  */
31012
31354
  GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
31355
+ if (eventName === 'virtualRowSelected') {
31356
+ console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
31357
+ }
31013
31358
  this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
31014
31359
  };
31015
31360
  /** Pass a quick filter text into the grid for filtering. */
@@ -31018,19 +31363,38 @@ var GridApi = /** @class */ (function () {
31018
31363
  };
31019
31364
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
31020
31365
  GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
31366
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31367
+ if (suppressEvents) {
31368
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31369
+ }
31021
31370
  this.selectionService.selectIndex(index, tryMulti);
31022
31371
  };
31023
31372
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
31024
31373
  GridApi.prototype.deselectIndex = function (index, suppressEvents) {
31374
+ if (suppressEvents === void 0) { suppressEvents = false; }
31375
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31376
+ if (suppressEvents) {
31377
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31378
+ }
31025
31379
  this.selectionService.deselectIndex(index);
31026
31380
  };
31027
31381
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31028
31382
  GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
31029
31383
  if (tryMulti === void 0) { tryMulti = false; }
31384
+ if (suppressEvents === void 0) { suppressEvents = false; }
31385
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31386
+ if (suppressEvents) {
31387
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31388
+ }
31030
31389
  node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
31031
31390
  };
31032
31391
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31033
31392
  GridApi.prototype.deselectNode = function (node, suppressEvents) {
31393
+ if (suppressEvents === void 0) { suppressEvents = false; }
31394
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31395
+ if (suppressEvents) {
31396
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31397
+ }
31034
31398
  node.setSelectedParams({ newValue: false });
31035
31399
  };
31036
31400
  /** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
@@ -31051,7 +31415,10 @@ var GridApi = /** @class */ (function () {
31051
31415
  };
31052
31416
  /** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
31053
31417
  GridApi.prototype.recomputeAggregates = function () {
31054
- if (missing(this.clientSideRowModel)) ;
31418
+ if (missing(this.clientSideRowModel)) {
31419
+ console.warn('cannot call recomputeAggregates unless using normal row model');
31420
+ }
31421
+ console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
31055
31422
  this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
31056
31423
  };
31057
31424
  /**
@@ -31073,10 +31440,12 @@ var GridApi = /** @class */ (function () {
31073
31440
  this.overlayWrapperComp.hideOverlay();
31074
31441
  };
31075
31442
  GridApi.prototype.isNodeSelected = function (node) {
31443
+ console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
31076
31444
  return node.isSelected();
31077
31445
  };
31078
31446
  /** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
31079
31447
  GridApi.prototype.getSelectedNodesById = function () {
31448
+ console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
31080
31449
  return null;
31081
31450
  };
31082
31451
  /**
@@ -31105,6 +31474,7 @@ var GridApi = /** @class */ (function () {
31105
31474
  };
31106
31475
  /** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
31107
31476
  GridApi.prototype.ensureColIndexVisible = function (index) {
31477
+ console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
31108
31478
  };
31109
31479
  /**
31110
31480
  * Ensures the column is visible by scrolling the table if needed.
@@ -31146,7 +31516,9 @@ var GridApi = /** @class */ (function () {
31146
31516
  * but excluding groups the grid created where gaps were missing in the hierarchy.
31147
31517
  */
31148
31518
  GridApi.prototype.forEachLeafNode = function (callback) {
31149
- if (missing(this.clientSideRowModel)) ;
31519
+ if (missing(this.clientSideRowModel)) {
31520
+ console.warn('cannot call forEachNode unless using normal row model');
31521
+ }
31150
31522
  this.clientSideRowModel.forEachLeafNode(callback);
31151
31523
  };
31152
31524
  /**
@@ -31160,12 +31532,16 @@ var GridApi = /** @class */ (function () {
31160
31532
  };
31161
31533
  /** Similar to `forEachNode`, except skips any filtered out data. */
31162
31534
  GridApi.prototype.forEachNodeAfterFilter = function (callback) {
31163
- if (missing(this.clientSideRowModel)) ;
31535
+ if (missing(this.clientSideRowModel)) {
31536
+ console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
31537
+ }
31164
31538
  this.clientSideRowModel.forEachNodeAfterFilter(callback);
31165
31539
  };
31166
31540
  /** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
31167
31541
  GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
31168
- if (missing(this.clientSideRowModel)) ;
31542
+ if (missing(this.clientSideRowModel)) {
31543
+ console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
31544
+ }
31169
31545
  this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
31170
31546
  };
31171
31547
  /**
@@ -31403,10 +31779,12 @@ var GridApi = /** @class */ (function () {
31403
31779
  };
31404
31780
  /** @deprecated use `setProcessPivotResultColDef` instead */
31405
31781
  GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
31782
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
31406
31783
  this.setProcessPivotResultColDef(processSecondaryColDefFunc);
31407
31784
  };
31408
31785
  /** @deprecated use `setProcessPivotResultColGroupDef` instead */
31409
31786
  GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
31787
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
31410
31788
  this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
31411
31789
  };
31412
31790
  GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
@@ -31462,6 +31840,9 @@ var GridApi = /** @class */ (function () {
31462
31840
  /** Show/hide the entire side bar, including any visible panel and the tab buttons. */
31463
31841
  GridApi.prototype.setSideBarVisible = function (show) {
31464
31842
  if (!this.sideBarComp) {
31843
+ if (show) {
31844
+ console.warn('AG Grid: sideBar is not loaded');
31845
+ }
31465
31846
  return;
31466
31847
  }
31467
31848
  this.sideBarComp.setDisplayed(show);
@@ -31469,6 +31850,7 @@ var GridApi = /** @class */ (function () {
31469
31850
  /** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
31470
31851
  GridApi.prototype.setSideBarPosition = function (position) {
31471
31852
  if (!this.sideBarComp) {
31853
+ console.warn('AG Grid: sideBar is not loaded');
31472
31854
  return;
31473
31855
  }
31474
31856
  this.sideBarComp.setSideBarPosition(position);
@@ -31476,6 +31858,7 @@ var GridApi = /** @class */ (function () {
31476
31858
  /** Opens a particular tool panel. Provide the ID of the tool panel to open. */
31477
31859
  GridApi.prototype.openToolPanel = function (key) {
31478
31860
  if (!this.sideBarComp) {
31861
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31479
31862
  return;
31480
31863
  }
31481
31864
  this.sideBarComp.openToolPanel(key);
@@ -31483,6 +31866,7 @@ var GridApi = /** @class */ (function () {
31483
31866
  /** Closes the currently open tool panel (if any). */
31484
31867
  GridApi.prototype.closeToolPanel = function () {
31485
31868
  if (!this.sideBarComp) {
31869
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31486
31870
  return;
31487
31871
  }
31488
31872
  this.sideBarComp.close();
@@ -31508,12 +31892,14 @@ var GridApi = /** @class */ (function () {
31508
31892
  };
31509
31893
  /** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
31510
31894
  GridApi.prototype.doLayout = function () {
31511
- doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
31895
+ var message = "AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically";
31896
+ doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
31512
31897
  };
31513
31898
  /** Tells the grid to recalculate the row heights. */
31514
31899
  GridApi.prototype.resetRowHeights = function () {
31515
31900
  if (exists(this.clientSideRowModel)) {
31516
31901
  if (this.columnModel.isAutoRowHeightActive()) {
31902
+ console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
31517
31903
  return;
31518
31904
  }
31519
31905
  this.clientSideRowModel.resetRowHeights();
@@ -31600,6 +31986,9 @@ var GridApi = /** @class */ (function () {
31600
31986
  setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
31601
31987
  };
31602
31988
  GridApi.prototype.warnIfDestroyed = function (methodName) {
31989
+ if (this.destroyCalled) {
31990
+ console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
31991
+ }
31603
31992
  return this.destroyCalled;
31604
31993
  };
31605
31994
  /** Reset the quick filter cache text on every rowNode. */
@@ -31611,6 +32000,7 @@ var GridApi = /** @class */ (function () {
31611
32000
  };
31612
32001
  /** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
31613
32002
  GridApi.prototype.getRangeSelections = function () {
32003
+ console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation.");
31614
32004
  return null;
31615
32005
  };
31616
32006
  /** Returns the list of selected cell ranges. */
@@ -31618,6 +32008,7 @@ var GridApi = /** @class */ (function () {
31618
32008
  if (this.rangeService) {
31619
32009
  return this.rangeService.getCellRanges();
31620
32010
  }
32011
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
31621
32012
  return null;
31622
32013
  };
31623
32014
  GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
@@ -31625,13 +32016,20 @@ var GridApi = /** @class */ (function () {
31625
32016
  };
31626
32017
  /** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
31627
32018
  GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
32019
+ console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');
31628
32020
  };
31629
32021
  /** Adds the provided cell range to the selected ranges. */
31630
32022
  GridApi.prototype.addCellRange = function (params) {
32023
+ if (!this.rangeService) {
32024
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32025
+ }
31631
32026
  this.rangeService.addCellRange(params);
31632
32027
  };
31633
32028
  /** Clears the selected ranges. */
31634
32029
  GridApi.prototype.clearRangeSelection = function () {
32030
+ if (!this.rangeService) {
32031
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32032
+ }
31635
32033
  this.rangeService.removeAllCellRanges();
31636
32034
  };
31637
32035
  /** Reverts the last cell edit. */
@@ -31718,18 +32116,30 @@ var GridApi = /** @class */ (function () {
31718
32116
  };
31719
32117
  /** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
31720
32118
  GridApi.prototype.copyToClipboard = function (params) {
32119
+ if (!this.clipboardService) {
32120
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32121
+ }
31721
32122
  this.clipboardService.copyToClipboard(params);
31722
32123
  };
31723
32124
  /** Copies the selected rows to the clipboard. */
31724
32125
  GridApi.prototype.copySelectedRowsToClipboard = function (params) {
32126
+ if (!this.clipboardService) {
32127
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32128
+ }
31725
32129
  this.clipboardService.copySelectedRowsToClipboard(params);
31726
32130
  };
31727
32131
  /** Copies the selected ranges to the clipboard. */
31728
32132
  GridApi.prototype.copySelectedRangeToClipboard = function (params) {
32133
+ if (!this.clipboardService) {
32134
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32135
+ }
31729
32136
  this.clipboardService.copySelectedRangeToClipboard(params);
31730
32137
  };
31731
32138
  /** Copies the selected range down, similar to `Ctrl + D` in Excel. */
31732
32139
  GridApi.prototype.copySelectedRangeDown = function () {
32140
+ if (!this.clipboardService) {
32141
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32142
+ }
31733
32143
  this.clipboardService.copyRangeDown();
31734
32144
  };
31735
32145
  /** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
@@ -31746,6 +32156,7 @@ var GridApi = /** @class */ (function () {
31746
32156
  column = this.columnModel.getPrimaryColumn(colKey);
31747
32157
  }
31748
32158
  if (!column) {
32159
+ console.error("AG Grid: column '" + colKey + "' not found");
31749
32160
  return;
31750
32161
  }
31751
32162
  this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
@@ -31798,6 +32209,7 @@ var GridApi = /** @class */ (function () {
31798
32209
  GridApi.prototype.startEditingCell = function (params) {
31799
32210
  var column = this.columnModel.getGridColumn(params.colKey);
31800
32211
  if (!column) {
32212
+ console.warn("AG Grid: no column found for " + params.colKey);
31801
32213
  return;
31802
32214
  }
31803
32215
  var cellPosition = {
@@ -31836,12 +32248,14 @@ var GridApi = /** @class */ (function () {
31836
32248
  /** Apply transactions to the server side row model. */
31837
32249
  GridApi.prototype.applyServerSideTransaction = function (transaction) {
31838
32250
  if (!this.serverSideTransactionManager) {
32251
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31839
32252
  return;
31840
32253
  }
31841
32254
  return this.serverSideTransactionManager.applyTransaction(transaction);
31842
32255
  };
31843
32256
  GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
31844
32257
  if (!this.serverSideTransactionManager) {
32258
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31845
32259
  return;
31846
32260
  }
31847
32261
  return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
@@ -31849,12 +32263,14 @@ var GridApi = /** @class */ (function () {
31849
32263
  /** Gets all failed server side loads to retry. */
31850
32264
  GridApi.prototype.retryServerSideLoads = function () {
31851
32265
  if (!this.serverSideRowModel) {
32266
+ console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
31852
32267
  return;
31853
32268
  }
31854
32269
  this.serverSideRowModel.retryLoads();
31855
32270
  };
31856
32271
  GridApi.prototype.flushServerSideAsyncTransactions = function () {
31857
32272
  if (!this.serverSideTransactionManager) {
32273
+ console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
31858
32274
  return;
31859
32275
  }
31860
32276
  return this.serverSideTransactionManager.flushAsyncTransactions();
@@ -31862,6 +32278,7 @@ var GridApi = /** @class */ (function () {
31862
32278
  /** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
31863
32279
  GridApi.prototype.applyTransaction = function (rowDataTransaction) {
31864
32280
  if (!this.clientSideRowModel) {
32281
+ console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
31865
32282
  return;
31866
32283
  }
31867
32284
  var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
@@ -31879,12 +32296,14 @@ var GridApi = /** @class */ (function () {
31879
32296
  };
31880
32297
  /** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
31881
32298
  GridApi.prototype.updateRowData = function (rowDataTransaction) {
31882
- doOnce(function () { return (void 0); }, 'updateRowData deprecated');
32299
+ var message = 'AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). updateRowData is deprecated and will be removed in a future major release.';
32300
+ doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
31883
32301
  return this.applyTransaction(rowDataTransaction);
31884
32302
  };
31885
32303
  /** Same as `applyTransaction` except executes asynchronously for efficiency. */
31886
32304
  GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
31887
32305
  if (!this.clientSideRowModel) {
32306
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31888
32307
  return;
31889
32308
  }
31890
32309
  this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
@@ -31892,34 +32311,41 @@ var GridApi = /** @class */ (function () {
31892
32311
  /** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
31893
32312
  GridApi.prototype.flushAsyncTransactions = function () {
31894
32313
  if (!this.clientSideRowModel) {
32314
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31895
32315
  return;
31896
32316
  }
31897
32317
  this.clientSideRowModel.flushAsyncTransactions();
31898
32318
  };
31899
32319
  /** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
31900
32320
  GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
31901
- doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
32321
+ var message = 'AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). batchUpdateRowData is deprecated and will be removed in a future major release.';
32322
+ doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
31902
32323
  this.applyTransactionAsync(rowDataTransaction, callback);
31903
32324
  };
31904
32325
  /** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
31905
32326
  GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
32327
+ console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
31906
32328
  this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
31907
32329
  };
31908
32330
  /** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
31909
32331
  GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
32332
+ console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
31910
32333
  var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
31911
32334
  this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
31912
32335
  };
31913
32336
  /** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
31914
32337
  GridApi.prototype.addItems = function (items, skipRefresh) {
32338
+ console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
31915
32339
  this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
31916
32340
  };
31917
32341
  /** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31918
32342
  GridApi.prototype.refreshVirtualPageCache = function () {
32343
+ console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31919
32344
  this.refreshInfiniteCache();
31920
32345
  };
31921
32346
  /** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31922
32347
  GridApi.prototype.refreshInfinitePageCache = function () {
32348
+ console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31923
32349
  this.refreshInfiniteCache();
31924
32350
  };
31925
32351
  /**
@@ -31931,13 +32357,18 @@ var GridApi = /** @class */ (function () {
31931
32357
  if (this.infiniteRowModel) {
31932
32358
  this.infiniteRowModel.refreshCache();
31933
32359
  }
32360
+ else {
32361
+ console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
32362
+ }
31934
32363
  };
31935
32364
  /** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31936
32365
  GridApi.prototype.purgeVirtualPageCache = function () {
32366
+ console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31937
32367
  this.purgeInfinitePageCache();
31938
32368
  };
31939
32369
  /** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31940
32370
  GridApi.prototype.purgeInfinitePageCache = function () {
32371
+ console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31941
32372
  this.purgeInfiniteCache();
31942
32373
  };
31943
32374
  /**
@@ -31950,20 +32381,28 @@ var GridApi = /** @class */ (function () {
31950
32381
  if (this.infiniteRowModel) {
31951
32382
  this.infiniteRowModel.purgeCache();
31952
32383
  }
32384
+ else {
32385
+ console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
32386
+ }
31953
32387
  };
31954
32388
  /** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
31955
32389
  GridApi.prototype.purgeEnterpriseCache = function (route) {
32390
+ console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
31956
32391
  this.purgeServerSideCache(route);
31957
32392
  };
31958
32393
  /** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
31959
32394
  GridApi.prototype.purgeServerSideCache = function (route) {
31960
32395
  if (route === void 0) { route = []; }
31961
32396
  if (this.serverSideRowModel) {
32397
+ console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
31962
32398
  this.refreshServerSide({
31963
32399
  route: route,
31964
32400
  purge: true
31965
32401
  });
31966
32402
  }
32403
+ else {
32404
+ console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
32405
+ }
31967
32406
  };
31968
32407
  /**
31969
32408
  * Refresh a server-side level.
@@ -31972,29 +32411,34 @@ var GridApi = /** @class */ (function () {
31972
32411
  */
31973
32412
  GridApi.prototype.refreshServerSide = function (params) {
31974
32413
  if (!this.serverSideRowModel) {
32414
+ console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
31975
32415
  return;
31976
32416
  }
31977
32417
  this.serverSideRowModel.refreshStore(params);
31978
32418
  };
31979
32419
  /** @deprecated use `refreshServerSide` instead */
31980
32420
  GridApi.prototype.refreshServerSideStore = function (params) {
31981
- doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
32421
+ var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
32422
+ doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
31982
32423
  return this.refreshServerSide(params);
31983
32424
  };
31984
32425
  /** @deprecated use `getServerSideGroupLevelState` instead */
31985
32426
  GridApi.prototype.getServerSideStoreState = function () {
31986
- doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
32427
+ var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
32428
+ doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
31987
32429
  return this.getServerSideGroupLevelState();
31988
32430
  };
31989
32431
  /** Returns info on all server side group levels. */
31990
32432
  GridApi.prototype.getServerSideGroupLevelState = function () {
31991
32433
  if (!this.serverSideRowModel) {
32434
+ console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
31992
32435
  return [];
31993
32436
  }
31994
32437
  return this.serverSideRowModel.getStoreState();
31995
32438
  };
31996
32439
  /** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
31997
32440
  GridApi.prototype.getVirtualRowCount = function () {
32441
+ console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
31998
32442
  return this.getInfiniteRowCount();
31999
32443
  };
32000
32444
  /** The row count defines how many rows the grid allows scrolling to. */
@@ -32002,9 +32446,13 @@ var GridApi = /** @class */ (function () {
32002
32446
  if (this.infiniteRowModel) {
32003
32447
  return this.infiniteRowModel.getRowCount();
32004
32448
  }
32449
+ else {
32450
+ console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
32451
+ }
32005
32452
  };
32006
32453
  /** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
32007
32454
  GridApi.prototype.isMaxRowFound = function () {
32455
+ console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
32008
32456
  return this.isLastRowIndexKnown();
32009
32457
  };
32010
32458
  /** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
@@ -32012,13 +32460,18 @@ var GridApi = /** @class */ (function () {
32012
32460
  if (this.infiniteRowModel) {
32013
32461
  return this.infiniteRowModel.isLastRowIndexKnown();
32014
32462
  }
32463
+ else {
32464
+ console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
32465
+ }
32015
32466
  };
32016
32467
  /** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
32017
32468
  GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
32469
+ console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
32018
32470
  this.setRowCount(rowCount, maxRowFound);
32019
32471
  };
32020
32472
  /** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
32021
32473
  GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
32474
+ console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
32022
32475
  this.setRowCount(rowCount, maxRowFound);
32023
32476
  };
32024
32477
  /**
@@ -32032,13 +32485,18 @@ var GridApi = /** @class */ (function () {
32032
32485
  if (this.infiniteRowModel) {
32033
32486
  this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
32034
32487
  }
32488
+ else {
32489
+ console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
32490
+ }
32035
32491
  };
32036
32492
  /** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32037
32493
  GridApi.prototype.getVirtualPageState = function () {
32494
+ console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32038
32495
  return this.getCacheBlockState();
32039
32496
  };
32040
32497
  /** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32041
32498
  GridApi.prototype.getInfinitePageState = function () {
32499
+ console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32042
32500
  return this.getCacheBlockState();
32043
32501
  };
32044
32502
  /**
@@ -32049,9 +32507,11 @@ var GridApi = /** @class */ (function () {
32049
32507
  };
32050
32508
  /** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
32051
32509
  GridApi.prototype.checkGridSize = function () {
32510
+ console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
32052
32511
  };
32053
32512
  /** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
32054
32513
  GridApi.prototype.getFirstRenderedRow = function () {
32514
+ console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
32055
32515
  return this.getFirstDisplayedRow();
32056
32516
  };
32057
32517
  /** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -32060,6 +32520,7 @@ var GridApi = /** @class */ (function () {
32060
32520
  };
32061
32521
  /** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
32062
32522
  GridApi.prototype.getLastRenderedRow = function () {
32523
+ console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
32063
32524
  return this.getLastDisplayedRow();
32064
32525
  };
32065
32526
  /** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -33111,7 +33572,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
33111
33572
  };
33112
33573
  };
33113
33574
  SelectAllFeature.prototype.checkRightRowModelType = function () {
33114
- this.rowModel.getType();
33575
+ var rowModelType = this.rowModel.getType();
33576
+ var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
33577
+ if (!rowModelMatches) {
33578
+ console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
33579
+ }
33115
33580
  };
33116
33581
  SelectAllFeature.prototype.onCbSelectAll = function () {
33117
33582
  if (this.processingEventFromCheckbox) {
@@ -33143,12 +33608,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
33143
33608
  }
33144
33609
  if (result) {
33145
33610
  if (this.gridOptionsWrapper.isRowModelServerSide()) {
33611
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
33146
33612
  return false;
33147
33613
  }
33148
33614
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
33615
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
33149
33616
  return false;
33150
33617
  }
33151
33618
  if (this.gridOptionsWrapper.isRowModelViewport()) {
33619
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
33152
33620
  return false;
33153
33621
  }
33154
33622
  // otherwise the row model is compatible, so return true
@@ -35765,6 +36233,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
35765
36233
  // frames. this stops bugs - where some code is asking for a frame to be executed
35766
36234
  // when it should not.
35767
36235
  AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
36236
+ if (this.useAnimationFrame === false) {
36237
+ console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
36238
+ }
35768
36239
  };
35769
36240
  AnimationFrameService.prototype.createTask = function (task, index, list) {
35770
36241
  this.verifyAnimationFrameOn(list);
@@ -37001,10 +37472,10 @@ var RowRenderer = /** @class */ (function (_super) {
37001
37472
  this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
37002
37473
  if (this.gridOptionsWrapper.isGroupRowsSticky()) {
37003
37474
  if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
37004
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37475
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37005
37476
  }
37006
37477
  else if (this.gridOptionsWrapper.isTreeData()) {
37007
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37478
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37008
37479
  }
37009
37480
  else {
37010
37481
  this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
@@ -41148,7 +41619,9 @@ var AgMenuList = /** @class */ (function (_super) {
41148
41619
  if (menuItemOrString === 'separator') {
41149
41620
  _this.addSeparator();
41150
41621
  }
41151
- else if (typeof menuItemOrString === 'string') ;
41622
+ else if (typeof menuItemOrString === 'string') {
41623
+ console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
41624
+ }
41152
41625
  else {
41153
41626
  _this.addItem(menuItemOrString);
41154
41627
  }
@@ -41513,7 +41986,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
41513
41986
  else if (typeof this.params.icon === 'string') {
41514
41987
  icon.innerHTML = this.params.icon;
41515
41988
  }
41516
- else ;
41989
+ else {
41990
+ console.warn('AG Grid: menu item icon must be DOM node or string');
41991
+ }
41517
41992
  }
41518
41993
  this.getGui().appendChild(icon);
41519
41994
  };
@@ -42463,6 +42938,7 @@ var PopupService = /** @class */ (function (_super) {
42463
42938
  var eDocument = this.gridOptionsWrapper.getDocument();
42464
42939
  var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
42465
42940
  if (!eDocument) {
42941
+ console.warn('ag-grid: could not find the document, document is empty');
42466
42942
  return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
42467
42943
  }
42468
42944
  var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
@@ -42875,6 +43351,7 @@ var VirtualList = /** @class */ (function (_super) {
42875
43351
  VirtualList.prototype.ensureIndexVisible = function (index) {
42876
43352
  var lastRow = this.model.getRowCount();
42877
43353
  if (typeof index !== 'number' || index < 0 || index >= lastRow) {
43354
+ console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
42878
43355
  return;
42879
43356
  }
42880
43357
  var rowTopPixel = index * this.rowHeight;
@@ -43178,6 +43655,7 @@ var CellNavigationService = /** @class */ (function (_super) {
43178
43655
  break;
43179
43656
  default:
43180
43657
  pointer = null;
43658
+ console.warn('AG Grid: unknown key for navigation ' + key);
43181
43659
  break;
43182
43660
  }
43183
43661
  if (pointer) {
@@ -43572,6 +44050,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
43572
44050
  var groupOpenedEvent = event;
43573
44051
  _this.processGroupOpenedEvent(groupOpenedEvent);
43574
44052
  break;
44053
+ case Events.EVENT_COLUMN_PIVOT_CHANGED:
44054
+ // we cannot support pivoting with aligned grids as the columns will be out of sync as the
44055
+ // grids will have columns created based on the row data of the grid.
44056
+ console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
44057
+ 'You can only use one of these features at a time in a grid.');
44058
+ break;
43575
44059
  }
43576
44060
  });
43577
44061
  };
@@ -43873,11 +44357,13 @@ var SelectionService = /** @class */ (function (_super) {
43873
44357
  // where groups don't actually appear in the selection normally.
43874
44358
  SelectionService.prototype.getBestCostNodeSelection = function () {
43875
44359
  if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
44360
+ console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
43876
44361
  return;
43877
44362
  }
43878
44363
  var clientSideRowModel = this.rowModel;
43879
44364
  var topLevelNodes = clientSideRowModel.getTopLevelNodes();
43880
44365
  if (topLevelNodes === null) {
44366
+ console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
43881
44367
  return;
43882
44368
  }
43883
44369
  var result = [];
@@ -43919,6 +44405,7 @@ var SelectionService = /** @class */ (function (_super) {
43919
44405
  var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
43920
44406
  if (justFiltered) {
43921
44407
  if (!rowModelClientSide) {
44408
+ console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
43922
44409
  return;
43923
44410
  }
43924
44411
  var clientSideRowModel = this.rowModel;
@@ -44031,6 +44518,11 @@ var ColumnApi = /** @class */ (function () {
44031
44518
  }
44032
44519
  /** Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`. To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead. */
44033
44520
  ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
44521
+ // AG-3403 validate that gridWidth is provided because this method has the same name as
44522
+ // a method on the grid API that takes no arguments, and it's easy to confuse the two
44523
+ if (typeof gridWidth === "undefined") {
44524
+ console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
44525
+ }
44034
44526
  this.columnModel.sizeColumnsToFit(gridWidth, 'api');
44035
44527
  };
44036
44528
  /** Call this if you want to open or close a column group. */
@@ -44099,6 +44591,7 @@ var ColumnApi = /** @class */ (function () {
44099
44591
  ColumnApi.prototype.moveColumn = function (key, toIndex) {
44100
44592
  if (typeof key === 'number') {
44101
44593
  // moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
44594
+ console.warn('AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');
44102
44595
  this.columnModel.moveColumnByIndex(key, toIndex, 'api');
44103
44596
  }
44104
44597
  else {
@@ -44129,6 +44622,7 @@ var ColumnApi = /** @class */ (function () {
44129
44622
  ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
44130
44623
  /** @deprecated Use `getPivotResultColumn` instead */
44131
44624
  ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
44625
+ console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
44132
44626
  return this.getPivotResultColumn(pivotKeys, valueColKey);
44133
44627
  };
44134
44628
  /** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
@@ -44187,18 +44681,21 @@ var ColumnApi = /** @class */ (function () {
44187
44681
  ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
44188
44682
  /** @deprecated Use `setPivotResultColumns` instead. */
44189
44683
  ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
44684
+ console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
44190
44685
  this.setPivotResultColumns(colDefs);
44191
44686
  };
44192
44687
  /** Set the pivot result columns. */
44193
44688
  ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
44194
44689
  /** @deprecated Use `getPivotResultColumns` instead. */
44195
44690
  ColumnApi.prototype.getSecondaryColumns = function () {
44691
+ console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
44196
44692
  return this.getPivotResultColumns();
44197
44693
  };
44198
44694
  /** Returns the grid's pivot result columns. */
44199
44695
  ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
44200
44696
  /** @deprecated Use `getColumns` instead. */
44201
44697
  ColumnApi.prototype.getPrimaryColumns = function () {
44698
+ console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
44202
44699
  return this.getColumns();
44203
44700
  };
44204
44701
  ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
@@ -44217,66 +44714,82 @@ var ColumnApi = /** @class */ (function () {
44217
44714
  // }
44218
44715
  /** @deprecated Use `getColumns` instead */
44219
44716
  ColumnApi.prototype.getAllColumns = function () {
44717
+ console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
44220
44718
  return this.getColumns();
44221
44719
  };
44222
44720
  /** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
44223
44721
  ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
44722
+ console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
44224
44723
  this.setColumnGroupOpened(group, newValue);
44225
44724
  };
44226
44725
  /** @deprecated hideColumns is deprecated, use setColumnsVisible */
44227
44726
  ColumnApi.prototype.hideColumns = function (colIds, hide) {
44727
+ console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
44228
44728
  this.columnModel.setColumnsVisible(colIds, !hide, 'api');
44229
44729
  };
44230
44730
  /** @deprecated hideColumn is deprecated, use setColumnVisible */
44231
44731
  ColumnApi.prototype.hideColumn = function (colId, hide) {
44732
+ console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
44232
44733
  this.columnModel.setColumnVisible(colId, !hide, 'api');
44233
44734
  };
44234
44735
  /** @deprecated setState is deprecated, use setColumnState */
44235
44736
  ColumnApi.prototype.setState = function (columnState) {
44737
+ console.error('AG Grid: setState is deprecated, use setColumnState');
44236
44738
  return this.setColumnState(columnState);
44237
44739
  };
44238
44740
  /** @deprecated getState is deprecated, use getColumnState */
44239
44741
  ColumnApi.prototype.getState = function () {
44742
+ console.error('AG Grid: getState is deprecated, use getColumnState');
44240
44743
  return this.getColumnState();
44241
44744
  };
44242
44745
  /** @deprecated resetState is deprecated, use resetColumnState */
44243
44746
  ColumnApi.prototype.resetState = function () {
44747
+ console.error('AG Grid: resetState is deprecated, use resetColumnState');
44244
44748
  this.resetColumnState();
44245
44749
  };
44246
44750
  /** @deprecated getAggregationColumns is deprecated, use getValueColumns */
44247
44751
  ColumnApi.prototype.getAggregationColumns = function () {
44752
+ console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
44248
44753
  return this.columnModel.getValueColumns();
44249
44754
  };
44250
44755
  /** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
44251
44756
  ColumnApi.prototype.removeAggregationColumn = function (colKey) {
44757
+ console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
44252
44758
  this.columnModel.removeValueColumn(colKey, 'api');
44253
44759
  };
44254
44760
  /** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
44255
44761
  ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
44762
+ console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
44256
44763
  this.columnModel.removeValueColumns(colKeys, 'api');
44257
44764
  };
44258
44765
  /** @deprecated addAggregationColumn is deprecated, use addValueColumn */
44259
44766
  ColumnApi.prototype.addAggregationColumn = function (colKey) {
44767
+ console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
44260
44768
  this.columnModel.addValueColumn(colKey, 'api');
44261
44769
  };
44262
44770
  /** @deprecated addAggregationColumns is deprecated, use addValueColumns */
44263
44771
  ColumnApi.prototype.addAggregationColumns = function (colKeys) {
44772
+ console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
44264
44773
  this.columnModel.addValueColumns(colKeys, 'api');
44265
44774
  };
44266
44775
  /** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
44267
44776
  ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
44777
+ console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
44268
44778
  this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
44269
44779
  };
44270
44780
  /** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
44271
44781
  ColumnApi.prototype.getDisplayNameForCol = function (column) {
44782
+ console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
44272
44783
  return this.getDisplayNameForColumn(column, null);
44273
44784
  };
44274
44785
  /** @deprecated setColumnState is deprecated, use applyColumnState. */
44275
44786
  ColumnApi.prototype.setColumnState = function (columnState) {
44787
+ console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
44276
44788
  return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
44277
44789
  };
44278
44790
  /** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
44279
44791
  ColumnApi.prototype.getOriginalColumnGroup = function (name) {
44792
+ console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
44280
44793
  return this.columnModel.getProvidedColumnGroup(name);
44281
44794
  };
44282
44795
  __decorate$1n([
@@ -44429,6 +44942,7 @@ var ValueService = /** @class */ (function (_super) {
44429
44942
  // need either a field or a newValueHandler for this to work
44430
44943
  if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
44431
44944
  // we don't tell user about newValueHandler, as that is deprecated
44945
+ console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
44432
44946
  return false;
44433
44947
  }
44434
44948
  var params = {
@@ -44605,6 +45119,7 @@ var ValueService = /** @class */ (function (_super) {
44605
45119
  result = String(result);
44606
45120
  if (result === '[object Object]') {
44607
45121
  doOnce(function () {
45122
+ console.warn('AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key');
44608
45123
  }, 'getKeyForNode - warn about [object,object]');
44609
45124
  }
44610
45125
  return result;
@@ -44676,7 +45191,9 @@ var ExpressionService = /** @class */ (function (_super) {
44676
45191
  var expression = expressionOrFunc;
44677
45192
  return this.evaluateExpression(expression, params);
44678
45193
  }
44679
- else ;
45194
+ else {
45195
+ console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
45196
+ }
44680
45197
  };
44681
45198
  ExpressionService.prototype.evaluateExpression = function (expression, params) {
44682
45199
  try {
@@ -44690,9 +45207,13 @@ var ExpressionService = /** @class */ (function (_super) {
44690
45207
  // the expression failed, which can happen, as it's the client that
44691
45208
  // provides the expression. so print a nice message
44692
45209
  // tslint:disable-next-line
45210
+ console.log('Processing of the expression failed');
44693
45211
  // tslint:disable-next-line
45212
+ console.log('Expression = ' + expression);
44694
45213
  // tslint:disable-next-line
45214
+ console.log('Params =', params);
44695
45215
  // tslint:disable-next-line
45216
+ console.log('Exception = ' + e);
44696
45217
  return null;
44697
45218
  }
44698
45219
  };
@@ -44790,6 +45311,7 @@ var TemplateService = /** @class */ (function (_super) {
44790
45311
  };
44791
45312
  TemplateService.prototype.handleHttpResult = function (httpResult, url) {
44792
45313
  if (httpResult.status !== 200 || httpResult.response === null) {
45314
+ console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
44793
45315
  return;
44794
45316
  }
44795
45317
  // response success, so process it
@@ -44870,7 +45392,10 @@ var Logger = /** @class */ (function () {
44870
45392
  return this.isLoggingFunc();
44871
45393
  };
44872
45394
  Logger.prototype.log = function (message) {
44873
- if (this.isLoggingFunc()) ;
45395
+ if (this.isLoggingFunc()) {
45396
+ // tslint:disable-next-line
45397
+ console.log('AG Grid.' + this.name + ': ' + message);
45398
+ }
44874
45399
  };
44875
45400
  return Logger;
44876
45401
  }());
@@ -45270,6 +45795,7 @@ var SortController = /** @class */ (function (_super) {
45270
45795
  sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
45271
45796
  }
45272
45797
  if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
45798
+ console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
45273
45799
  return null;
45274
45800
  }
45275
45801
  var currentIndex = sortingOrder.indexOf(column.getSort());
@@ -45284,6 +45810,7 @@ var SortController = /** @class */ (function (_super) {
45284
45810
  }
45285
45811
  // verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
45286
45812
  if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
45813
+ console.warn('AG Grid: invalid sort type ' + result);
45287
45814
  return null;
45288
45815
  }
45289
45816
  return result;
@@ -45612,6 +46139,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
45612
46139
  var doingTreeData = this.gridOptionsWrapper.isTreeData();
45613
46140
  var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
45614
46141
  if (doingTreeData && doingMultiAutoColumn) {
46142
+ console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
45615
46143
  doingMultiAutoColumn = false;
45616
46144
  }
45617
46145
  // if doing groupMultiAutoColumn, then we call the method multiple times, once
@@ -46295,8 +46823,8 @@ var Environment = /** @class */ (function (_super) {
46295
46823
  var theme = themeMatch[0];
46296
46824
  var usingOldTheme = themeMatch[2] === undefined;
46297
46825
  if (usingOldTheme) {
46298
- theme.replace('ag-', 'ag-theme-');
46299
- doOnce(function () { return (void 0); }, 'using-old-theme');
46826
+ var newTheme_1 = theme.replace('ag-', 'ag-theme-');
46827
+ doOnce(function () { return console.warn("AG Grid: As of v19 old theme are no longer provided. Please replace " + theme + " with " + newTheme_1 + "."); }, 'using-old-theme');
46300
46828
  }
46301
46829
  return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
46302
46830
  };
@@ -47802,6 +48330,7 @@ var RowCssClassCalculator = /** @class */ (function () {
47802
48330
  var rowClass = this.gridOptionsWrapper.getRowClass();
47803
48331
  if (rowClass) {
47804
48332
  if (typeof rowClass === 'function') {
48333
+ console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
47805
48334
  return [];
47806
48335
  }
47807
48336
  process(rowClass);
@@ -48642,6 +49171,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
48642
49171
  var Grid = /** @class */ (function () {
48643
49172
  function Grid(eGridDiv, gridOptions, params) {
48644
49173
  if (!gridOptions) {
49174
+ console.error('AG Grid: no gridOptions provided to the grid');
48645
49175
  return;
48646
49176
  }
48647
49177
  this.gridOptions = gridOptions;
@@ -48847,7 +49377,32 @@ var GridCoreCreator = /** @class */ (function () {
48847
49377
  if (exists(rowModelClass)) {
48848
49378
  return rowModelClass;
48849
49379
  }
48850
- if (ModuleRegistry.isPackageBased()) ;
49380
+ if (ModuleRegistry.isPackageBased()) {
49381
+ if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
49382
+ // If package based only the enterprise row models could be missing.
49383
+ console.error("AG Grid: Row Model \"" + rowModelType + "\" not found. Please ensure the package 'ag-grid-enterprise' is imported. Please see: https://www.ag-grid.com/javascript-grid/packages/");
49384
+ }
49385
+ else {
49386
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49387
+ }
49388
+ }
49389
+ else {
49390
+ if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
49391
+ console.error("AG Grid: Row Model \"Infinite\" not found. Please ensure the " + ModuleNames.InfiniteRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
49392
+ }
49393
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
49394
+ console.error("AG Grid: Row Model \"Viewport\" not found. Please ensure the AG Grid Enterprise Module " + ModuleNames.ViewportRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
49395
+ }
49396
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
49397
+ console.error("AG Grid: Row Model \"Server Side\" not found. Please ensure the AG Grid Enterprise Module " + ModuleNames.ServerSideRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
49398
+ }
49399
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
49400
+ console.error("AG Grid: Row Model \"Client Side\" not found. Please ensure the " + ModuleNames.ClientSideRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
49401
+ }
49402
+ else {
49403
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49404
+ }
49405
+ }
48851
49406
  };
48852
49407
  return GridCoreCreator;
48853
49408
  }());
@@ -49109,15 +49664,51 @@ var LicenseManager = /** @class */ (function (_super) {
49109
49664
  }
49110
49665
  };
49111
49666
  LicenseManager.prototype.outputInvalidLicenseKey = function () {
49667
+ console.error('*****************************************************************************************************************');
49668
+ console.error('***************************************** AG Grid Enterprise License ********************************************');
49669
+ console.error('********************************************* Invalid License ***************************************************');
49670
+ console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
49671
+ console.error('*****************************************************************************************************************');
49672
+ console.error('*****************************************************************************************************************');
49112
49673
  this.watermarkMessage = "Invalid License";
49113
49674
  };
49114
49675
  LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
49676
+ console.error('****************************************************************************************************************');
49677
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49678
+ console.error('***************************************** Trial Period Expired. *******************************************');
49679
+ console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
49680
+ console.error('* Please email info@ag-grid.com to purchase a license. *');
49681
+ console.error('****************************************************************************************************************');
49682
+ console.error('****************************************************************************************************************');
49115
49683
  this.watermarkMessage = "Trial Period Expired";
49116
49684
  };
49117
49685
  LicenseManager.prototype.outputMissingLicenseKey = function () {
49686
+ console.error('****************************************************************************************************************');
49687
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49688
+ console.error('****************************************** License Key Not Found ***********************************************');
49689
+ console.error('* All AG Grid Enterprise features are unlocked. *');
49690
+ console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
49691
+ console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
49692
+ console.error('****************************************************************************************************************');
49693
+ console.error('****************************************************************************************************************');
49118
49694
  this.watermarkMessage = "For Trial Use Only";
49119
49695
  };
49120
49696
  LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
49697
+ console.error('****************************************************************************************************************************');
49698
+ console.error('****************************************************************************************************************************');
49699
+ console.error('* AG Grid Enterprise License *');
49700
+ console.error('* License not compatible with installed version of AG Grid Enterprise. *');
49701
+ console.error('* *');
49702
+ console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
49703
+ console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
49704
+ console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
49705
+ console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
49706
+ console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
49707
+ console.error('* *');
49708
+ console.error('* Please contact info@ag-grid.com to renew your subscription to new versions and get a new license key to work with this *');
49709
+ console.error('* version of AG Grid. *');
49710
+ console.error('****************************************************************************************************************************');
49711
+ console.error('****************************************************************************************************************************');
49121
49712
  this.watermarkMessage = "License Expired";
49122
49713
  };
49123
49714
  var LicenseManager_1;
@@ -51490,10 +52081,12 @@ var RangeService = /** @class */ (function (_super) {
51490
52081
  var isSameColumn = columnFrom === columnTo;
51491
52082
  var fromIndex = allColumns.indexOf(columnFrom);
51492
52083
  if (fromIndex < 0) {
52084
+ console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
51493
52085
  return;
51494
52086
  }
51495
52087
  var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
51496
52088
  if (toIndex < 0) {
52089
+ console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
51497
52090
  return;
51498
52091
  }
51499
52092
  if (isSameColumn) {
@@ -52428,10 +53021,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
52428
53021
  };
52429
53022
  ServerSideRowModel.prototype.verifyProps = function () {
52430
53023
  if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
52431
- _.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
53024
+ var message_1 = "AG Grid: initialGroupOrderComparator cannot be used with Server Side Row Model. If using Full Store, then provide the rows to the grid in the desired sort order. If using Infinite Scroll, then sorting is done on the server side, nothing to do with the client.";
53025
+ _.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
52432
53026
  }
52433
53027
  if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
52434
- _.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
53028
+ var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
53029
+ _.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
52435
53030
  }
52436
53031
  };
52437
53032
  ServerSideRowModel.prototype.setDatasource = function (datasource) {
@@ -52981,6 +53576,11 @@ var BlockUtils = /** @class */ (function (_super) {
52981
53576
  rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
52982
53577
  if (rowNode.key === null || rowNode.key === undefined) {
52983
53578
  _.doOnce(function () {
53579
+ console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
53580
+ if (rowNode.rowGroupColumn) {
53581
+ console.warn("column = " + rowNode.rowGroupColumn.getId());
53582
+ }
53583
+ console.warn("data is ", rowNode.data);
52984
53584
  }, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
52985
53585
  }
52986
53586
  };
@@ -53097,6 +53697,7 @@ var BlockUtils = /** @class */ (function (_super) {
53097
53697
  var bottomPointer = 0;
53098
53698
  var topPointer = rowNodes.length - 1;
53099
53699
  if (_.missing(topPointer) || _.missing(bottomPointer)) {
53700
+ console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
53100
53701
  return undefined;
53101
53702
  }
53102
53703
  while (true) {
@@ -53125,6 +53726,7 @@ var BlockUtils = /** @class */ (function (_super) {
53125
53726
  topPointer = midPointer - 1;
53126
53727
  }
53127
53728
  else {
53729
+ console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
53128
53730
  return undefined;
53129
53731
  }
53130
53732
  }
@@ -53240,6 +53842,11 @@ var NodeManager = /** @class */ (function () {
53240
53842
  }
53241
53843
  NodeManager.prototype.addRowNode = function (rowNode) {
53242
53844
  var id = rowNode.id;
53845
+ if (this.rowNodes[id]) {
53846
+ console.warn("AG Grid: Duplicate node id " + rowNode.id + ". Row ID's are provided via the getRowId() callback. Please modify the getRowId() callback code to provide unique row id values.");
53847
+ console.warn('first instance', this.rowNodes[id].data);
53848
+ console.warn('second instance', rowNode.data);
53849
+ }
53243
53850
  this.rowNodes[id] = rowNode;
53244
53851
  };
53245
53852
  NodeManager.prototype.removeNode = function (rowNode) {
@@ -54171,7 +54778,8 @@ var InfiniteStore = /** @class */ (function (_super) {
54171
54778
  Object.assign(this.info, info);
54172
54779
  }
54173
54780
  if (!params.rowData) {
54174
- _.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
54781
+ var message_1 = 'AG Grid: "params.rowData" is missing from Server-Side Row Model success() callback. Please use the "rowData" attribute. If no data is returned, set an empty list.';
54782
+ _.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
54175
54783
  }
54176
54784
  var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
54177
54785
  // if we are not active, then we ignore all events, otherwise we could end up getting the
@@ -54930,7 +55538,8 @@ var FullStore = /** @class */ (function (_super) {
54930
55538
  this.nodesAfterFilter = [];
54931
55539
  this.allNodesMap = {};
54932
55540
  if (!params.rowData) {
54933
- _.doOnce(function () { return (void 0); }, 'FullStore.noData');
55541
+ var message_1 = 'AG Grid: "params.data" is missing from Server-Side Row Model success() callback. Please use the "data" attribute. If no data is returned, set an empty list.';
55542
+ _.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
54934
55543
  }
54935
55544
  this.createOrRecycleNodes(nodesToRecycle, params.rowData);
54936
55545
  if (nodesToRecycle) {
@@ -55305,6 +55914,7 @@ var FullStore = /** @class */ (function (_super) {
55305
55914
  });
55306
55915
  rowNode = this.allNodesMap[id];
55307
55916
  if (!rowNode) {
55917
+ console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
55308
55918
  return null;
55309
55919
  }
55310
55920
  }
@@ -55312,6 +55922,7 @@ var FullStore = /** @class */ (function (_super) {
55312
55922
  // find rowNode using object references
55313
55923
  rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
55314
55924
  if (!rowNode) {
55925
+ console.error("AG Grid: could not find data item as object was not found", data);
55315
55926
  return null;
55316
55927
  }
55317
55928
  }
@@ -55459,11 +56070,15 @@ var StoreFactory = /** @class */ (function () {
55459
56070
  return undefined;
55460
56071
  }
55461
56072
  if (ssrmParams.dynamicRowHeight) {
55462
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
56073
+ var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
56074
+ 'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
56075
+ _.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
55463
56076
  return undefined;
55464
56077
  }
55465
56078
  if (this.columnModel.isAutoRowHeightActive()) {
55466
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
56079
+ var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
56080
+ 'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
56081
+ _.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
55467
56082
  return undefined;
55468
56083
  }
55469
56084
  return maxBlocksInCache;
@@ -55691,6 +56306,7 @@ var Downloader = /** @class */ (function () {
55691
56306
  Downloader.download = function (fileName, content) {
55692
56307
  var win = document.defaultView || window;
55693
56308
  if (!win) {
56309
+ console.warn('AG Grid: There is no `window` associated with the current `document`');
55694
56310
  return;
55695
56311
  }
55696
56312
  var element = document.createElement('a');
@@ -55824,6 +56440,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
55824
56440
  stringValue = value.toString();
55825
56441
  }
55826
56442
  else {
56443
+ console.warn('AG Grid: unknown value type during csv conversion');
55827
56444
  stringValue = '';
55828
56445
  }
55829
56446
  // replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
@@ -55878,6 +56495,7 @@ var CsvCreator = /** @class */ (function (_super) {
55878
56495
  };
55879
56496
  CsvCreator.prototype.export = function (userParams) {
55880
56497
  if (this.isExportSuppressed()) {
56498
+ console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
55881
56499
  return '';
55882
56500
  }
55883
56501
  var mergedParams = this.getMergedParams(userParams);
@@ -55997,7 +56615,7 @@ var GridSerializer = /** @class */ (function (_super) {
55997
56615
  var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
55998
56616
  var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
55999
56617
  if (skipRowGroups && params.skipGroups) {
56000
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
56618
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
56001
56619
  }
56002
56620
  if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
56003
56621
  (params.onlySelected && !node.isSelected()) ||
@@ -56031,7 +56649,7 @@ var GridSerializer = /** @class */ (function (_super) {
56031
56649
  var appendContent = params.customFooter || params.appendContent;
56032
56650
  if (appendContent) {
56033
56651
  if (params.customFooter) {
56034
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
56652
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
56035
56653
  }
56036
56654
  gridSerializingSession.addCustomContent(appendContent);
56037
56655
  }
@@ -56043,7 +56661,7 @@ var GridSerializer = /** @class */ (function (_super) {
56043
56661
  var prependContent = params.customHeader || params.prependContent;
56044
56662
  if (prependContent) {
56045
56663
  if (params.customHeader) {
56046
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
56664
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
56047
56665
  }
56048
56666
  gridSerializingSession.addCustomContent(prependContent);
56049
56667
  }
@@ -56065,7 +56683,7 @@ var GridSerializer = /** @class */ (function (_super) {
56065
56683
  _this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
56066
56684
  }
56067
56685
  else if (params.columnGroups) {
56068
- _.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
56686
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
56069
56687
  }
56070
56688
  return gridSerializingSession;
56071
56689
  };
@@ -56079,7 +56697,7 @@ var GridSerializer = /** @class */ (function (_super) {
56079
56697
  });
56080
56698
  }
56081
56699
  else if (params.skipHeader) {
56082
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
56700
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
56083
56701
  }
56084
56702
  return gridSerializingSession;
56085
56703
  };
@@ -56327,6 +56945,12 @@ var ClipboardService = /** @class */ (function (_super) {
56327
56945
  .then(this.processClipboardData.bind(this))
56328
56946
  .catch(function (e) {
56329
56947
  _.doOnce(function () {
56948
+ console.warn(e);
56949
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
56950
+ 'The reason why it could not be used has been logged in the previous line. ' +
56951
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
56952
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
56953
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
56330
56954
  }, 'clipboardApiError');
56331
56955
  _this.navigatorApiFailed = true;
56332
56956
  _this.pasteFromClipboardLegacy();
@@ -56853,6 +57477,12 @@ var ClipboardService = /** @class */ (function (_super) {
56853
57477
  if (allowNavigator && navigator.clipboard) {
56854
57478
  navigator.clipboard.writeText(data).catch(function (e) {
56855
57479
  _.doOnce(function () {
57480
+ console.warn(e);
57481
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
57482
+ 'The reason why it could not be used has been logged in the previous line. ' +
57483
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
57484
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
57485
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
56856
57486
  }, 'clipboardApiError');
56857
57487
  _this.copyDataToClipboardLegacy(data);
56858
57488
  });
@@ -56869,7 +57499,12 @@ var ClipboardService = /** @class */ (function (_super) {
56869
57499
  element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
56870
57500
  element.select();
56871
57501
  element.focus({ preventScroll: true });
56872
- eDocument.execCommand('copy');
57502
+ var result = eDocument.execCommand('copy');
57503
+ if (!result) {
57504
+ console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
57505
+ 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
57506
+ 'the browser will prevent it for security reasons.');
57507
+ }
56873
57508
  if (focusedElementBefore != null && focusedElementBefore.focus != null) {
56874
57509
  focusedElementBefore.focus({ preventScroll: true });
56875
57510
  }
@@ -56893,6 +57528,7 @@ var ClipboardService = /** @class */ (function (_super) {
56893
57528
  callbackNow(eTempInput);
56894
57529
  }
56895
57530
  catch (err) {
57531
+ console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
56896
57532
  }
56897
57533
  //It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
56898
57534
  if (callbackAfter) {
@@ -58165,6 +58801,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
58165
58801
  return false;
58166
58802
  };
58167
58803
  ToolPanelColumnComp.prototype.setExpanded = function (value) {
58804
+ console.warn('AG Grid: can not expand a column item that does not represent a column group header');
58168
58805
  };
58169
58806
  ToolPanelColumnComp.TEMPLATE = "<div class=\"ag-column-select-column\" aria-hidden=\"true\">\n <ag-checkbox ref=\"cbSelect\" class=\"ag-column-select-checkbox\"></ag-checkbox>\n <span class=\"ag-column-select-column-label\" ref=\"eLabel\"></span>\n </div>";
58170
58807
  __decorate$q([
@@ -58459,7 +59096,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
58459
59096
  expandedGroupIds.push(groupId);
58460
59097
  }
58461
59098
  });
58462
- groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59099
+ var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59100
+ if (unrecognisedGroupIds.length > 0) {
59101
+ console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
59102
+ }
58463
59103
  };
58464
59104
  PrimaryColsListPanel.prototype.getExpandState = function () {
58465
59105
  var expandedCount = 0;
@@ -58853,6 +59493,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
58853
59493
  this.aggFuncService.getAggFunc(aggFuncOrString) :
58854
59494
  aggFuncOrString;
58855
59495
  if (typeof aggFunc !== 'function') {
59496
+ console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
58856
59497
  return null;
58857
59498
  }
58858
59499
  var aggFuncAny = aggFunc;
@@ -59379,6 +60020,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59379
60020
  GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
59380
60021
  var path = this.getGroupInfo(childNode, details);
59381
60022
  var parentGroup = this.findParentForNode(childNode, path, details);
60023
+ if (!parentGroup.group) {
60024
+ console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
60025
+ }
59382
60026
  if (this.usingTreeData) {
59383
60027
  this.swapGroupWithUserNode(parentGroup, childNode, isMove);
59384
60028
  }
@@ -59516,7 +60160,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59516
60160
  GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
59517
60161
  var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
59518
60162
  if (keys === null || keys === undefined || keys.length === 0) {
59519
- _.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
60163
+ _.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
59520
60164
  }
59521
60165
  var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
59522
60166
  return keys ? keys.map(groupInfoMapper) : [];
@@ -62241,6 +62885,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
62241
62885
  var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
62242
62886
  var componentPromise = compDetails.newAgStackInstance();
62243
62887
  if (componentPromise == null) {
62888
+ console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
62244
62889
  return;
62245
62890
  }
62246
62891
  componentPromise.then(this.setToolPanelComponent.bind(this));
@@ -62435,6 +63080,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62435
63080
  var _this = this;
62436
63081
  defs.forEach(function (def) {
62437
63082
  if (def.id == null) {
63083
+ console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
62438
63084
  return;
62439
63085
  }
62440
63086
  // helpers, in case user doesn't have the right module loaded
@@ -62480,6 +63126,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62480
63126
  SideBarComp.prototype.getToolPanelInstance = function (key) {
62481
63127
  var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
62482
63128
  if (!toolPanelWrapper) {
63129
+ console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
62483
63130
  return;
62484
63131
  }
62485
63132
  return toolPanelWrapper.getToolPanelInstance();
@@ -62565,6 +63212,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62565
63212
  }
62566
63213
  ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
62567
63214
  var _this = this;
63215
+ var invalidColIds = [];
62568
63216
  var createDummyColGroup = function (abstractColDef, depth) {
62569
63217
  if (_this.isColGroupDef(abstractColDef)) {
62570
63218
  // creating 'dummy' group which is not associated with grid column group
@@ -62586,6 +63234,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62586
63234
  var colDef = abstractColDef;
62587
63235
  var key = colDef.colId ? colDef.colId : colDef.field;
62588
63236
  var column = _this.columnModel.getPrimaryColumn(key);
63237
+ if (!column) {
63238
+ invalidColIds.push(colDef);
63239
+ }
62589
63240
  return column;
62590
63241
  }
62591
63242
  };
@@ -62597,6 +63248,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62597
63248
  mappedResults.push(result);
62598
63249
  }
62599
63250
  });
63251
+ if (invalidColIds.length > 0) {
63252
+ console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
63253
+ }
62600
63254
  return mappedResults;
62601
63255
  };
62602
63256
  ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
@@ -63151,10 +63805,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
63151
63805
  };
63152
63806
  EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
63153
63807
  var isValid = true;
63808
+ var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
63154
63809
  if (this.restrictTo != null) {
63155
63810
  isValid = this.restrictTo.indexOf(menuTabName) > -1;
63811
+ itemsToConsider = this.restrictTo;
63156
63812
  }
63157
63813
  isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
63814
+ if (!isValid) {
63815
+ console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
63816
+ }
63158
63817
  return isValid;
63159
63818
  };
63160
63819
  EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
@@ -63865,6 +64524,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
63865
64524
  return chartMenuItem;
63866
64525
  }
63867
64526
  else {
64527
+ console.warn("AG Grid: unknown menu item type " + key);
63868
64528
  return null;
63869
64529
  }
63870
64530
  }
@@ -64259,6 +64919,8 @@ class AgGridController {
64259
64919
  this.DEFAULT_ICON_SIZE = 40;
64260
64920
  this.DEFAULT_MAX_SIZE = 300;
64261
64921
  this.MULTI_VALUES_PROP = '__multiValues';
64922
+ this.WHEEL_LINE_HEIGHT = 40;
64923
+ this.HORIZONTAL_SCROLL_VIEWPORT_SELECTOR = '.ag-body-horizontal-scroll-viewport';
64262
64924
  this._menuItems = [];
64263
64925
  this._idAttribName = '__record__id__';
64264
64926
  this._gridConfig = [];
@@ -64453,6 +65115,7 @@ class AgGridController {
64453
65115
  this.setOptionsSupress(this._gridOptions);
64454
65116
  this._gridOptions = this._editionManager.configureGrid(this._gridOptions);
64455
65117
  this._grid = new Grid(container, this._gridOptions);
65118
+ this.enableHorizontalWheelScroll(container);
64456
65119
  const selection = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getSelectionInfo();
64457
65120
  if (selection === null || selection === void 0 ? void 0 : selection.isAllRecords()) {
64458
65121
  this.selectAll(true);
@@ -64565,6 +65228,56 @@ class AgGridController {
64565
65228
  const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
64566
65229
  return (_b = response.records) !== null && _b !== void 0 ? _b : [];
64567
65230
  }
65231
+ /**
65232
+ * Habilita o scroll horizontal com a roda do mouse enquanto o ponteiro está sobre a grade.
65233
+ * O AG Grid usa uma barra horizontal "fake" e mantém o corpo sem overflow rolável no eixo X,
65234
+ * por isso, por padrão, só é possível rolar horizontalmente com o ponteiro sobre a barra.
65235
+ * Aqui traduzimos o gesto horizontal (trackpad/`deltaX`) ou `Shift + roda` em rolagem
65236
+ * horizontal do viewport interno do AG Grid.
65237
+ */
65238
+ enableHorizontalWheelScroll(container) {
65239
+ var _a;
65240
+ if (((_a = this._options) === null || _a === void 0 ? void 0 : _a.suppressHorizontalScroll) || !container)
65241
+ return;
65242
+ this._horizontalWheelHandler = (event) => {
65243
+ var _a;
65244
+ const target = event.target;
65245
+ // Evita rolagem dupla quando o ponteiro já está sobre a barra horizontal nativa.
65246
+ if ((_a = target === null || target === void 0 ? void 0 : target.closest) === null || _a === void 0 ? void 0 : _a.call(target, this.HORIZONTAL_SCROLL_VIEWPORT_SELECTOR))
65247
+ return;
65248
+ const horizontalDelta = this.resolveHorizontalWheelDelta(event);
65249
+ if (horizontalDelta === 0)
65250
+ return;
65251
+ const scrollViewport = container.querySelector(this.HORIZONTAL_SCROLL_VIEWPORT_SELECTOR);
65252
+ if (!scrollViewport)
65253
+ return;
65254
+ const maxScrollLeft = scrollViewport.scrollWidth - scrollViewport.clientWidth;
65255
+ if (maxScrollLeft <= 0)
65256
+ return;
65257
+ const nextScrollLeft = Math.max(0, Math.min(maxScrollLeft, scrollViewport.scrollLeft + horizontalDelta));
65258
+ if (nextScrollLeft === scrollViewport.scrollLeft)
65259
+ return;
65260
+ scrollViewport.scrollLeft = nextScrollLeft;
65261
+ event.preventDefault();
65262
+ };
65263
+ container.addEventListener('wheel', this._horizontalWheelHandler, { passive: false });
65264
+ }
65265
+ /**
65266
+ * Resolve o deslocamento horizontal desejado a partir do evento de roda.
65267
+ * Retorna 0 quando o gesto é predominantemente vertical (sem Shift), preservando o
65268
+ * comportamento nativo de scroll vertical do AG Grid.
65269
+ */
65270
+ resolveHorizontalWheelDelta(event) {
65271
+ const lineFactor = event.deltaMode === WheelEvent.DOM_DELTA_LINE ? this.WHEEL_LINE_HEIGHT : 1;
65272
+ if (event.shiftKey) {
65273
+ const delta = event.deltaX !== 0 ? event.deltaX : event.deltaY;
65274
+ return delta * lineFactor;
65275
+ }
65276
+ if (Math.abs(event.deltaX) > Math.abs(event.deltaY)) {
65277
+ return event.deltaX * lineFactor;
65278
+ }
65279
+ return 0;
65280
+ }
64568
65281
  processFormatterCellCallback(params) {
64569
65282
  const column = params.column.getColDef();
64570
65283
  if (typeof column.valueFormatter === 'function') {
@@ -65582,6 +66295,9 @@ class AgGridController {
65582
66295
  destroy() {
65583
66296
  var _a;
65584
66297
  this.observer.disconnect();
66298
+ if (this._horizontalWheelHandler && this._container) {
66299
+ this._container.removeEventListener('wheel', this._horizontalWheelHandler);
66300
+ }
65585
66301
  (_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
65586
66302
  this.handleDestroyBottomPinnedRowSubscriber();
65587
66303
  this.handleDestroySetBottomPinnedRowDebounce();