@sankhyalabs/ezui 7.3.4 → 7.3.5-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 (1035) hide show
  1. package/README.md +8 -8
  2. package/dist/cjs/{ApplicationUtils-999d2366.js → ApplicationUtils-34e43a14.js} +1 -1
  3. package/dist/cjs/{search-column-254df8ea.js → DataBinder-cdc66d4e.js} +4 -31
  4. package/dist/cjs/FormLayout-fe8da83c.js +9 -0
  5. package/dist/cjs/FormMetadata-16c68f51.js +278 -0
  6. package/dist/cjs/{app-globals-1fea23aa.js → app-globals-a03da63f.js} +1 -1
  7. package/dist/cjs/classic-search-list_11.cjs.entry.js +1483 -0
  8. package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
  9. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-card-item.cjs.entry.js +62 -0
  13. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +38 -15
  15. package/dist/cjs/ez-classic-date-input.cjs.entry.js +201 -0
  16. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +246 -0
  17. package/dist/cjs/ez-classic-input.cjs.entry.js +144 -18
  18. package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
  19. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +420 -0
  20. package/dist/cjs/ez-classic-search.cjs.entry.js +683 -0
  21. package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
  22. package/dist/cjs/ez-classic-time-input.cjs.entry.js +198 -0
  23. package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -3
  24. package/dist/cjs/ez-combo-box.cjs.entry.js +4 -3
  25. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-filter.cjs.entry.js +426 -0
  33. package/dist/cjs/ez-form-view.cjs.entry.js +130 -37
  34. package/dist/cjs/ez-form.cjs.entry.js +27 -233
  35. package/dist/cjs/ez-grid-pagination.cjs.entry.js +331 -0
  36. package/dist/cjs/ez-grid.cjs.entry.js +984 -267
  37. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/{ez-card-item_5.cjs.entry.js → ez-multi-selection-list_5.cjs.entry.js} +222 -56
  43. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-popover.cjs.entry.js +8 -0
  46. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  48. package/dist/cjs/ez-rich-toolbar-arrows_3.cjs.entry.js +57 -0
  49. package/dist/cjs/ez-scroller_2.cjs.entry.js +81 -14
  50. package/dist/cjs/ez-search-plus.cjs.entry.js +18 -8
  51. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-search.cjs.entry.js +49 -11
  53. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
  56. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-split-button.cjs.entry.js +16 -17
  58. package/dist/cjs/ez-split-item.cjs.entry.js +7 -5
  59. package/dist/cjs/ez-split-panel.cjs.entry.js +6 -4
  60. package/dist/cjs/ez-tabselector.cjs.entry.js +209 -61
  61. package/dist/cjs/ez-text-input.cjs.entry.js +37 -0
  62. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  64. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  65. package/dist/cjs/ezui.cjs.js +3 -3
  66. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  67. package/dist/cjs/index-a7b0c73d.js +70 -34
  68. package/dist/cjs/{index-637af219.js → index-f98939e1.js} +180 -12
  69. package/dist/cjs/loader.cjs.js +3 -3
  70. package/dist/cjs/{purify-ef86f048.js → purify-4f39f037.js} +1 -0
  71. package/dist/cjs/search-column-f1c7a355.js +32 -0
  72. package/dist/cjs/searchFormatters-051f8677.js +23 -0
  73. package/dist/cjs/{FormLayout-18853e70.js → types-6a5df0c7.js} +0 -6
  74. package/dist/collection/collection-manifest.json +65 -3
  75. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +5 -0
  76. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +96 -18
  77. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +44 -0
  78. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +541 -0
  79. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +44 -0
  80. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +586 -0
  81. package/dist/collection/components/ez-classic-input/ez-classic-input.css +33 -5
  82. package/dist/collection/components/ez-classic-input/ez-classic-input.js +200 -19
  83. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +16 -0
  84. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +583 -0
  85. package/dist/collection/components/ez-classic-search/ez-classic-search.css +126 -0
  86. package/dist/collection/components/ez-classic-search/ez-classic-search.js +1330 -0
  87. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +227 -0
  88. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +316 -0
  89. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +18 -0
  90. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +428 -0
  91. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +1003 -0
  92. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +221 -0
  93. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +298 -0
  94. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +3 -2
  95. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
  96. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +14 -0
  97. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +512 -0
  98. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  99. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  100. package/dist/collection/components/ez-filter/ez-filter.css +134 -0
  101. package/dist/collection/components/ez-filter/ez-filter.js +1076 -0
  102. package/dist/collection/components/ez-filter/interfaces/IFilterChange.js +1 -0
  103. package/dist/collection/components/ez-filter/interfaces/IFilterCustomField.js +1 -0
  104. package/dist/collection/components/ez-filter/interfaces/index.js +1 -0
  105. package/dist/collection/components/ez-form/ez-form.js +30 -4
  106. package/dist/collection/components/ez-form-view/ez-form-view.css +27 -8
  107. package/dist/collection/components/ez-form-view/ez-form-view.js +62 -4
  108. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +9 -4
  109. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +9 -6
  110. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +8 -1
  111. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +30 -6
  112. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  113. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +4 -0
  114. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +12 -5
  115. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
  116. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +9 -3
  117. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +8 -1
  118. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +7 -1
  119. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +8 -1
  120. package/dist/collection/components/ez-form-view/structure/index.js +1 -1
  121. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +138 -13
  122. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +11 -1
  123. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
  124. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
  125. package/dist/collection/components/ez-grid/ez-grid.css +5 -60
  126. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  127. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
  128. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  129. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +217 -0
  130. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +516 -0
  131. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +1 -0
  132. package/dist/collection/components/ez-icon/ez-icon.css +8 -7
  133. package/dist/collection/components/ez-image-input/ez-image-input.css +189 -0
  134. package/dist/collection/components/ez-image-input/ez-image-input.js +329 -0
  135. package/dist/collection/components/ez-modal/ez-modal.css +3 -0
  136. package/dist/collection/components/ez-popover/ez-popover.js +27 -0
  137. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  138. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  139. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  140. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  141. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  142. package/dist/collection/components/ez-search/ez-search.css +4 -0
  143. package/dist/collection/components/ez-search/ez-search.js +75 -3
  144. package/dist/collection/components/ez-search-plus/ez-search-plus.js +11 -2
  145. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  146. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  147. package/dist/collection/components/ez-split-button/ez-split-button.js +20 -15
  148. package/dist/collection/components/ez-split-panel/ez-split-panel.css +29 -0
  149. package/dist/collection/components/ez-split-panel/ez-split-panel.js +23 -3
  150. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +9 -0
  151. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +20 -1
  152. package/dist/collection/components/ez-tabselector/ez-tabselector.css +33 -1
  153. package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
  154. package/dist/collection/components/ez-text-input/ez-text-input.js +38 -1
  155. package/dist/collection/utils/form/DataBinder.js +2 -2
  156. package/dist/collection/utils/form/FormMetadata.js +132 -74
  157. package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
  158. package/dist/collection/utils/i18n/locales/en-us.js +60 -4
  159. package/dist/collection/utils/i18n/locales/es-es.js +60 -4
  160. package/dist/collection/utils/i18n/locales/pt-br.js +60 -4
  161. package/dist/collection/utils/searchColumn/search-column.js +8 -6
  162. package/dist/custom-elements/index.d.ts +72 -0
  163. package/dist/custom-elements/index.js +5231 -572
  164. package/dist/esm/{ApplicationUtils-7270d89f.js → ApplicationUtils-aaf24be5.js} +1 -1
  165. package/dist/esm/{search-column-d98f7d96.js → DataBinder-81d15b1b.js} +5 -28
  166. package/dist/esm/FormLayout-bda67973.js +9 -0
  167. package/dist/esm/FormMetadata-112f11d8.js +276 -0
  168. package/dist/esm/{RichToolbarHelper-f3a149c4.js → RichToolbarHelper-cad0978a.js} +1 -1
  169. package/dist/esm/{app-globals-6208a4b6.js → app-globals-d5fb68f0.js} +1 -1
  170. package/dist/esm/classic-search-list_11.entry.js +1469 -0
  171. package/dist/esm/ez-actions-button.entry.js +4 -3
  172. package/dist/esm/ez-alert-list.entry.js +1 -1
  173. package/dist/esm/ez-avatar.entry.js +1 -1
  174. package/dist/esm/ez-calendar.entry.js +1 -1
  175. package/dist/esm/ez-card-item.entry.js +58 -0
  176. package/dist/esm/ez-chart.entry.js +1 -1
  177. package/dist/esm/ez-classic-combo-box.entry.js +38 -15
  178. package/dist/esm/ez-classic-date-input.entry.js +197 -0
  179. package/dist/esm/ez-classic-date-time-input.entry.js +242 -0
  180. package/dist/esm/ez-classic-input.entry.js +145 -19
  181. package/dist/esm/ez-classic-number-input.entry.js +201 -0
  182. package/dist/esm/ez-classic-search-plus.entry.js +416 -0
  183. package/dist/esm/ez-classic-search.entry.js +679 -0
  184. package/dist/esm/ez-classic-text-area.entry.js +13 -2
  185. package/dist/esm/ez-classic-time-input.entry.js +194 -0
  186. package/dist/esm/ez-collapsible-box.entry.js +4 -3
  187. package/dist/esm/ez-combo-box.entry.js +4 -3
  188. package/dist/esm/ez-date-input.entry.js +1 -1
  189. package/dist/esm/ez-date-time-input.entry.js +1 -1
  190. package/dist/esm/ez-dialog.entry.js +1 -1
  191. package/dist/esm/ez-double-list.entry.js +1 -1
  192. package/dist/esm/ez-dropdown.entry.js +1 -1
  193. package/dist/esm/ez-empty-card.entry.js +1 -1
  194. package/dist/esm/ez-file-item.entry.js +1 -1
  195. package/dist/esm/ez-filter.entry.js +422 -0
  196. package/dist/esm/ez-form-view.entry.js +130 -37
  197. package/dist/esm/ez-form.entry.js +15 -221
  198. package/dist/esm/ez-grid-pagination.entry.js +327 -0
  199. package/dist/esm/ez-grid.entry.js +980 -263
  200. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  201. package/dist/esm/ez-icon.entry.js +1 -1
  202. package/dist/esm/ez-list.entry.js +1 -1
  203. package/dist/esm/ez-modal-container.entry.js +1 -1
  204. package/dist/esm/ez-modal.entry.js +2 -2
  205. package/dist/esm/{ez-card-item_5.entry.js → ez-multi-selection-list_5.entry.js} +224 -58
  206. package/dist/esm/ez-number-input.entry.js +1 -1
  207. package/dist/esm/ez-pagination.entry.js +1 -1
  208. package/dist/esm/ez-popover.entry.js +8 -0
  209. package/dist/esm/ez-popup.entry.js +1 -1
  210. package/dist/esm/ez-record-navigation.entry.js +117 -0
  211. package/dist/esm/ez-rich-toolbar-arrows_3.entry.js +51 -0
  212. package/dist/esm/ez-scroller_2.entry.js +81 -14
  213. package/dist/esm/ez-search-plus.entry.js +15 -5
  214. package/dist/esm/ez-search-result-list.entry.js +1 -1
  215. package/dist/esm/ez-search.entry.js +44 -6
  216. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  217. package/dist/esm/ez-skeleton.entry.js +1 -1
  218. package/dist/esm/ez-sortable-list.entry.js +2 -2
  219. package/dist/esm/ez-spinner.entry.js +1 -1
  220. package/dist/esm/ez-split-button.entry.js +16 -17
  221. package/dist/esm/ez-split-item.entry.js +7 -5
  222. package/dist/esm/ez-split-panel.entry.js +6 -4
  223. package/dist/esm/ez-tabselector.entry.js +209 -61
  224. package/dist/esm/ez-text-input.entry.js +37 -0
  225. package/dist/esm/ez-time-input.entry.js +1 -1
  226. package/dist/esm/ez-tree.entry.js +1 -1
  227. package/dist/esm/ez-upload.entry.js +2 -2
  228. package/dist/esm/ezui.js +3 -3
  229. package/dist/esm/filter-column.entry.js +1 -1
  230. package/dist/esm/index-baa5e267.js +70 -34
  231. package/dist/esm/{index-8088eb6e.js → index-d37095f4.js} +180 -12
  232. package/dist/esm/loader.js +3 -3
  233. package/dist/esm/{purify-96c0d5c2.js → purify-f52f5419.js} +1 -0
  234. package/dist/esm/search-column-8b15de9a.js +27 -0
  235. package/dist/esm/searchFormatters-6d9b06e4.js +20 -0
  236. package/dist/esm/{FormLayout-071d324c.js → types-6f6b2650.js} +1 -7
  237. package/dist/ezui/ezui.esm.js +1 -1
  238. package/dist/ezui/p-0583e935.entry.js +1 -0
  239. package/dist/ezui/p-05af2c30.entry.js +1 -0
  240. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  241. package/dist/ezui/{p-fadf0509.entry.js → p-0ec3061a.entry.js} +1 -1
  242. package/dist/ezui/p-0f6e6ff6.entry.js +1 -0
  243. package/dist/ezui/p-10da38bf.js +1 -0
  244. package/dist/ezui/p-1283b53a.entry.js +1 -0
  245. package/dist/ezui/p-133c9bac.entry.js +1 -0
  246. package/dist/ezui/p-178cb9df.entry.js +1 -0
  247. package/dist/ezui/p-1878f204.entry.js +1 -0
  248. package/dist/ezui/p-1a017dc3.entry.js +1 -0
  249. package/dist/ezui/{p-513baabe.entry.js → p-1b3151a3.entry.js} +1 -1
  250. package/dist/ezui/p-1e82a5b6.entry.js +1 -0
  251. package/dist/ezui/p-20059180.js +1 -0
  252. package/dist/ezui/{p-87d12992.entry.js → p-2b467976.entry.js} +1 -1
  253. package/dist/ezui/p-2c74a7c2.entry.js +1 -0
  254. package/dist/ezui/p-2fe3d4c5.entry.js +1 -0
  255. package/dist/ezui/p-3a3926dd.entry.js +1 -0
  256. package/dist/ezui/{p-bf5b6db2.entry.js → p-3ff798b2.entry.js} +1 -1
  257. package/dist/ezui/p-47e4a8ce.js +1 -0
  258. package/dist/ezui/p-49bc0b59.entry.js +1 -0
  259. package/dist/ezui/{p-95a521ce.entry.js → p-4f48f23a.entry.js} +1 -1
  260. package/dist/ezui/p-53ed3234.entry.js +1 -0
  261. package/dist/ezui/p-5895e687.js +1 -0
  262. package/dist/ezui/{p-f90e8299.js → p-58ce160e.js} +1 -1
  263. package/dist/ezui/{p-b663ec25.entry.js → p-5a1abe6a.entry.js} +1 -1
  264. package/dist/ezui/p-5af2fb3b.entry.js +1 -0
  265. package/dist/ezui/{p-8a74deab.entry.js → p-62f331fe.entry.js} +1 -1
  266. package/dist/ezui/p-63409a57.entry.js +1 -0
  267. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  268. package/dist/ezui/p-638a30d0.js +1 -0
  269. package/dist/ezui/{p-27fd20cf.entry.js → p-65215a4f.entry.js} +1 -1
  270. package/dist/ezui/p-65b9fe4c.entry.js +1 -0
  271. package/dist/ezui/{p-f949bb8b.entry.js → p-68107165.entry.js} +1 -1
  272. package/dist/ezui/{p-f14b1400.entry.js → p-7a0a96fa.entry.js} +1 -1
  273. package/dist/ezui/p-7f7b4b9b.js +1 -0
  274. package/dist/ezui/p-83781530.entry.js +1 -0
  275. package/dist/ezui/p-88a115b3.js +1 -0
  276. package/dist/ezui/p-8c339d46.entry.js +1 -0
  277. package/dist/ezui/{p-8bbb3df7.entry.js → p-8d346a47.entry.js} +1 -1
  278. package/dist/ezui/{p-7ab75605.entry.js → p-8ddeb58b.entry.js} +1 -1
  279. package/dist/ezui/p-989849b8.entry.js +1 -0
  280. package/dist/ezui/{p-1cfe7c1b.entry.js → p-9bff4320.entry.js} +1 -1
  281. package/dist/ezui/{p-e2fe1b5d.entry.js → p-9c0fdc8e.entry.js} +1 -1
  282. package/dist/ezui/p-abfbbe1e.entry.js +1 -0
  283. package/dist/ezui/{p-b6bc4499.entry.js → p-af0196b7.entry.js} +1 -1
  284. package/dist/ezui/p-b29d9b0e.entry.js +1 -0
  285. package/dist/ezui/{p-4d30b703.entry.js → p-b50289bb.entry.js} +1 -1
  286. package/dist/ezui/{p-3e767a74.js → p-b50ed164.js} +1 -1
  287. package/dist/ezui/p-bcf0460e.entry.js +1 -0
  288. package/dist/ezui/{p-e50e1c80.entry.js → p-bd7c1dd6.entry.js} +1 -1
  289. package/dist/ezui/p-bf3c7f5f.entry.js +1 -0
  290. package/dist/ezui/{p-f9054bd6.entry.js → p-c086e527.entry.js} +1 -1
  291. package/dist/ezui/p-c6f28649.entry.js +309 -0
  292. package/dist/ezui/{p-efd28447.entry.js → p-ca707def.entry.js} +2 -2
  293. package/dist/ezui/{p-8ddeb513.entry.js → p-ce4d51eb.entry.js} +1 -1
  294. package/dist/ezui/p-d393677b.entry.js +1 -0
  295. package/dist/ezui/p-d6f50207.entry.js +1 -0
  296. package/dist/ezui/{p-25c1aa0a.js → p-d878fb19.js} +1 -1
  297. package/dist/ezui/p-df1cb82b.entry.js +1 -0
  298. package/dist/ezui/p-df539dd1.entry.js +1 -0
  299. package/dist/ezui/p-df6173c8.entry.js +1 -0
  300. package/dist/ezui/{p-30425ea2.entry.js → p-e11574fb.entry.js} +1 -1
  301. package/dist/ezui/p-e25a7874.entry.js +1 -0
  302. package/dist/ezui/{p-fa5cc755.entry.js → p-e2defb84.entry.js} +1 -1
  303. package/dist/ezui/{p-abe0dd62.entry.js → p-e95d93ba.entry.js} +1 -1
  304. package/dist/ezui/p-ea184272.entry.js +1 -0
  305. package/dist/ezui/{p-fa6732f2.entry.js → p-efea2c79.entry.js} +1 -1
  306. package/dist/ezui/p-f60a6b1f.js +1 -0
  307. package/dist/ezui/{p-ce269c9c.entry.js → p-ff79e5c2.entry.js} +1 -1
  308. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +11 -3
  309. package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +91 -0
  310. package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +95 -0
  311. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +24 -1
  312. package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +101 -0
  313. package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +219 -0
  314. package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +29 -0
  315. package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +2 -0
  316. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +189 -0
  317. package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +29 -0
  318. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
  319. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  320. package/dist/types/components/ez-filter/ez-filter.d.ts +207 -0
  321. package/dist/types/components/ez-filter/interfaces/IFilterChange.d.ts +13 -0
  322. package/dist/types/components/ez-filter/interfaces/IFilterCustomField.d.ts +34 -0
  323. package/dist/types/components/ez-filter/interfaces/index.d.ts +2 -0
  324. package/dist/types/components/ez-form/ez-form.d.ts +6 -0
  325. package/dist/types/components/ez-form-view/ez-form-view.d.ts +11 -0
  326. package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +9 -0
  327. package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +3 -2
  328. package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +2 -1
  329. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +5 -4
  330. package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +2 -1
  331. package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +2 -0
  332. package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +3 -2
  333. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -1
  334. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +2 -1
  335. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -1
  336. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +2 -1
  337. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +2 -1
  338. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
  339. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +14 -0
  340. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
  341. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
  342. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  343. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
  344. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  345. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +91 -0
  346. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +7 -0
  347. package/dist/types/components/ez-image-input/ez-image-input.d.ts +43 -0
  348. package/dist/types/components/ez-popover/ez-popover.d.ts +9 -0
  349. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  350. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  351. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  352. package/dist/types/components/ez-search/ez-search.d.ts +12 -1
  353. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +1 -0
  354. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
  355. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +4 -0
  356. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +4 -0
  357. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +42 -20
  358. package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
  359. package/dist/types/components.d.ts +3747 -2031
  360. package/dist/types/utils/form/FormMetadata.d.ts +2 -1
  361. package/dist/types/utils/form/interfaces/FormLayout.d.ts +3 -1
  362. package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +3 -0
  363. package/dist/types/utils/form/interfaces/ITabConfig.d.ts +3 -0
  364. package/dist/types/utils/i18n/locales/en-us.d.ts +59 -3
  365. package/dist/types/utils/i18n/locales/es-es.d.ts +59 -3
  366. package/dist/types/utils/i18n/locales/pt-br.d.ts +59 -3
  367. package/dist/types/utils/i18n/translations.d.ts +177 -9
  368. package/package.json +5 -5
  369. package/react/components.d.ts +12 -0
  370. package/react/components.js +12 -0
  371. package/react/components.js.map +1 -1
  372. package/dist/cjs/ApplicationUtils-999d2366.js.gz +0 -0
  373. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  374. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  375. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  376. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  377. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  378. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  379. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  380. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  381. package/dist/cjs/app-globals-1fea23aa.js.gz +0 -0
  382. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  383. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  384. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  385. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  386. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  387. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  388. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  389. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  390. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  391. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  392. package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
  393. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  394. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  395. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  396. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  397. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  398. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  399. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  400. package/dist/cjs/ez-combo-box-list_5.cjs.entry.js +0 -866
  401. package/dist/cjs/ez-combo-box-list_5.cjs.entry.js.gz +0 -0
  402. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  403. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  404. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  405. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  406. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  407. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  408. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  409. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  410. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  411. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  412. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  413. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  414. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  415. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  416. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  417. package/dist/cjs/ez-link-builder_6.cjs.entry.js +0 -315
  418. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  419. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  420. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  421. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  422. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  423. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  424. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  425. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  426. package/dist/cjs/ez-popover-core.cjs.entry.js +0 -227
  427. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  428. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  429. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  430. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  431. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  432. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  433. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  434. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  435. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  436. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  437. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  438. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  439. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  440. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  441. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  442. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  443. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  444. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  445. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  446. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  447. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  448. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  449. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  450. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  451. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  452. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  453. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  454. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  455. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  456. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  457. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  458. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  459. package/dist/cjs/ezui.cjs.js.gz +0 -0
  460. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  461. package/dist/cjs/floating-ui.dom.esm-4a0428c0.js.gz +0 -0
  462. package/dist/cjs/index-637af219.js.gz +0 -0
  463. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  464. package/dist/cjs/index.cjs.js.gz +0 -0
  465. package/dist/cjs/loader.cjs.js.gz +0 -0
  466. package/dist/cjs/purify-ef86f048.js.gz +0 -0
  467. package/dist/cjs/search-column-254df8ea.js.gz +0 -0
  468. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  469. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  470. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  471. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  472. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  473. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  474. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  475. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  476. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  477. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  478. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  479. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  480. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  481. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  482. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  483. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  484. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  485. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  486. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  487. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  488. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  489. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  490. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  491. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  492. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  493. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  494. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  495. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  496. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  497. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  498. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  499. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  500. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  501. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  502. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  503. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  504. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  505. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  506. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  507. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  508. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  509. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  510. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  511. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  512. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  513. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  514. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  515. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  516. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  517. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  518. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  519. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  520. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  521. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  522. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  523. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  524. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  525. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  526. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  527. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  528. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  529. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  530. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  531. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  532. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  533. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  534. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  535. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  536. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  537. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  538. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  539. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  540. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  541. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  542. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  543. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  544. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  545. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  546. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  547. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  548. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  549. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  550. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  551. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  552. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  553. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  554. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  555. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  556. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  557. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  558. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  559. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  560. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  561. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  562. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  563. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  564. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  565. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  566. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  567. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  568. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  569. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  570. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  571. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  572. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  573. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  574. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  575. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  576. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  577. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  578. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  579. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  580. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  581. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  582. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  583. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  584. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  585. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  586. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  587. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  588. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  589. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  590. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  591. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  592. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  593. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  594. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  595. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  596. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  597. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  598. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  599. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  600. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  601. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  602. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  603. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  604. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  605. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  606. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  607. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  608. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  609. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  610. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  611. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  612. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  613. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  614. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  615. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  616. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  617. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  618. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  619. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  620. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  621. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  622. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  623. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  624. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  625. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  626. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  627. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  628. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  629. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  630. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  631. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  632. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  633. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  634. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  635. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  636. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  637. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  638. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  639. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  640. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  641. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  642. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  643. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  644. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  645. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  646. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  647. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  648. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  649. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  650. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  651. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  652. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  653. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  654. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  655. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  656. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  657. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  658. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  659. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  660. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  661. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  662. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  663. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  664. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  665. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  666. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  667. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  668. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  669. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  670. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  671. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  672. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  673. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  674. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  675. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  676. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  677. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  678. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  679. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  680. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  681. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  682. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  683. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  684. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  685. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  686. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  687. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  688. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  689. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  690. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  691. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  692. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  693. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  694. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  695. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  696. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  697. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  698. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  699. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  700. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  701. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  702. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  703. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  704. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  705. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  706. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  707. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  708. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  709. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  710. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  711. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  712. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  713. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  714. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  715. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  716. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  717. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  718. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  719. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  720. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  721. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  722. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  723. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  724. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  725. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  726. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  727. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  728. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  729. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  730. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  731. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  732. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  733. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  734. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  735. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  736. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  737. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  738. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  739. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  740. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  741. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  742. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  743. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  744. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  745. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  746. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  747. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  748. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  749. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  750. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  751. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  752. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  753. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  754. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  755. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  756. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  757. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  758. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  759. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  760. package/dist/collection/global/app-init.js.gz +0 -0
  761. package/dist/collection/index.js.gz +0 -0
  762. package/dist/collection/servidor.js.gz +0 -0
  763. package/dist/collection/setupTests.js.gz +0 -0
  764. package/dist/collection/sw.js.gz +0 -0
  765. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  766. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  767. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  768. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  769. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  770. package/dist/collection/utils/constants.js.gz +0 -0
  771. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  772. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  773. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  774. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  775. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  776. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  777. package/dist/collection/utils/form/index.js.gz +0 -0
  778. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  779. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  780. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  781. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  782. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  783. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  784. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  785. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  786. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  787. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  788. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  789. package/dist/collection/utils/i18n/index.js.gz +0 -0
  790. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  791. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  792. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  793. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  794. package/dist/collection/utils/index.js.gz +0 -0
  795. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  796. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  797. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  798. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  799. package/dist/collection/utils/search/types.js.gz +0 -0
  800. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  801. package/dist/collection/utils/utils.js.gz +0 -0
  802. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  803. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  804. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  805. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  806. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  807. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  808. package/dist/custom-elements/index.js.gz +0 -0
  809. package/dist/esm/ApplicationUtils-7270d89f.js.gz +0 -0
  810. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  811. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  812. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  813. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  814. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  815. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  816. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  817. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  818. package/dist/esm/app-globals-6208a4b6.js.gz +0 -0
  819. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  820. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  821. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  822. package/dist/esm/ez-alert.entry.js.gz +0 -0
  823. package/dist/esm/ez-application.entry.js.gz +0 -0
  824. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  825. package/dist/esm/ez-badge.entry.js.gz +0 -0
  826. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  827. package/dist/esm/ez-button.entry.js.gz +0 -0
  828. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  829. package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
  830. package/dist/esm/ez-chart.entry.js.gz +0 -0
  831. package/dist/esm/ez-check.entry.js.gz +0 -0
  832. package/dist/esm/ez-chip.entry.js.gz +0 -0
  833. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  834. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  835. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  836. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  837. package/dist/esm/ez-combo-box-list_5.entry.js +0 -858
  838. package/dist/esm/ez-combo-box-list_5.entry.js.gz +0 -0
  839. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  840. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  841. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  842. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  843. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  844. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  845. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  846. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  847. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  848. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  849. package/dist/esm/ez-form.entry.js.gz +0 -0
  850. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  851. package/dist/esm/ez-grid.entry.js.gz +0 -0
  852. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  853. package/dist/esm/ez-icon.entry.js.gz +0 -0
  854. package/dist/esm/ez-link-builder_6.entry.js +0 -306
  855. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  856. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  857. package/dist/esm/ez-list.entry.js.gz +0 -0
  858. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  859. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  860. package/dist/esm/ez-modal.entry.js.gz +0 -0
  861. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  862. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  863. package/dist/esm/ez-popover-core.entry.js +0 -223
  864. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  865. package/dist/esm/ez-popover.entry.js.gz +0 -0
  866. package/dist/esm/ez-popup.entry.js.gz +0 -0
  867. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  868. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  869. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  870. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  871. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  872. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  873. package/dist/esm/ez-search.entry.js.gz +0 -0
  874. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  875. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  876. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  877. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  878. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  879. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  880. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  881. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  882. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  883. package/dist/esm/ez-tag.entry.js.gz +0 -0
  884. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  885. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  886. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  887. package/dist/esm/ez-tile.entry.js.gz +0 -0
  888. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  889. package/dist/esm/ez-toast.entry.js.gz +0 -0
  890. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  891. package/dist/esm/ez-tree.entry.js.gz +0 -0
  892. package/dist/esm/ez-underface.entry.js.gz +0 -0
  893. package/dist/esm/ez-upload.entry.js.gz +0 -0
  894. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  895. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  896. package/dist/esm/ezui.js.gz +0 -0
  897. package/dist/esm/filter-column.entry.js.gz +0 -0
  898. package/dist/esm/floating-ui.dom.esm-ffa73324.js.gz +0 -0
  899. package/dist/esm/index-8088eb6e.js.gz +0 -0
  900. package/dist/esm/index-baa5e267.js.gz +0 -0
  901. package/dist/esm/index.js.gz +0 -0
  902. package/dist/esm/loader.js.gz +0 -0
  903. package/dist/esm/polyfills/core-js.js.gz +0 -0
  904. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  905. package/dist/esm/polyfills/dom.js.gz +0 -0
  906. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  907. package/dist/esm/polyfills/index.js.gz +0 -0
  908. package/dist/esm/polyfills/system.js.gz +0 -0
  909. package/dist/esm/purify-96c0d5c2.js.gz +0 -0
  910. package/dist/esm/search-column-d98f7d96.js.gz +0 -0
  911. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  912. package/dist/ezui/ezui.esm.js.gz +0 -0
  913. package/dist/ezui/index.esm.js.gz +0 -0
  914. package/dist/ezui/p-03eb09b0.entry.js +0 -1
  915. package/dist/ezui/p-03eb09b0.entry.js.gz +0 -0
  916. package/dist/ezui/p-0ec37151.entry.js +0 -1
  917. package/dist/ezui/p-0ec37151.entry.js.gz +0 -0
  918. package/dist/ezui/p-112455b1.js.gz +0 -0
  919. package/dist/ezui/p-1cfe7c1b.entry.js.gz +0 -0
  920. package/dist/ezui/p-1e21475d.entry.js +0 -1
  921. package/dist/ezui/p-1e21475d.entry.js.gz +0 -0
  922. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  923. package/dist/ezui/p-1f3867a8.entry.js +0 -1
  924. package/dist/ezui/p-1f3867a8.entry.js.gz +0 -0
  925. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  926. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  927. package/dist/ezui/p-21647085.entry.js +0 -1
  928. package/dist/ezui/p-21647085.entry.js.gz +0 -0
  929. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  930. package/dist/ezui/p-25c1aa0a.js.gz +0 -0
  931. package/dist/ezui/p-27fd20cf.entry.js.gz +0 -0
  932. package/dist/ezui/p-288631d1.entry.js +0 -1
  933. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  934. package/dist/ezui/p-29aa849f.js +0 -1
  935. package/dist/ezui/p-29aa849f.js.gz +0 -0
  936. package/dist/ezui/p-30425ea2.entry.js.gz +0 -0
  937. package/dist/ezui/p-30da1152.entry.js +0 -1
  938. package/dist/ezui/p-30da1152.entry.js.gz +0 -0
  939. package/dist/ezui/p-30ffb9ed.js +0 -1
  940. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  941. package/dist/ezui/p-359430a5.entry.js.gz +0 -0
  942. package/dist/ezui/p-3e767a74.js.gz +0 -0
  943. package/dist/ezui/p-40a60148.js.gz +0 -0
  944. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  945. package/dist/ezui/p-48effc69.entry.js +0 -1
  946. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  947. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  948. package/dist/ezui/p-513baabe.entry.js.gz +0 -0
  949. package/dist/ezui/p-55cc66bb.entry.js +0 -1
  950. package/dist/ezui/p-55cc66bb.entry.js.gz +0 -0
  951. package/dist/ezui/p-5832d458.entry.js +0 -1
  952. package/dist/ezui/p-5832d458.entry.js.gz +0 -0
  953. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  954. package/dist/ezui/p-6020f3d5.entry.js +0 -1
  955. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  956. package/dist/ezui/p-65f830ba.entry.js +0 -1
  957. package/dist/ezui/p-65f830ba.entry.js.gz +0 -0
  958. package/dist/ezui/p-669dc773.entry.js +0 -1
  959. package/dist/ezui/p-669dc773.entry.js.gz +0 -0
  960. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  961. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  962. package/dist/ezui/p-7995dcb4.entry.js +0 -1
  963. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  964. package/dist/ezui/p-7ab75605.entry.js.gz +0 -0
  965. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  966. package/dist/ezui/p-7fe97ef5.entry.js +0 -1
  967. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  968. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  969. package/dist/ezui/p-85deadad.entry.js +0 -1
  970. package/dist/ezui/p-85deadad.entry.js.gz +0 -0
  971. package/dist/ezui/p-87d12992.entry.js.gz +0 -0
  972. package/dist/ezui/p-8a74deab.entry.js.gz +0 -0
  973. package/dist/ezui/p-8bbb3df7.entry.js.gz +0 -0
  974. package/dist/ezui/p-8ddeb513.entry.js.gz +0 -0
  975. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  976. package/dist/ezui/p-8dfd01b1.js +0 -1
  977. package/dist/ezui/p-8dfd01b1.js.gz +0 -0
  978. package/dist/ezui/p-8ebe11f4.js.gz +0 -0
  979. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  980. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  981. package/dist/ezui/p-941e02ff.entry.js +0 -1
  982. package/dist/ezui/p-941e02ff.entry.js.gz +0 -0
  983. package/dist/ezui/p-95a521ce.entry.js.gz +0 -0
  984. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  985. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  986. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  987. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  988. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  989. package/dist/ezui/p-a80b1287.entry.js +0 -1
  990. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  991. package/dist/ezui/p-ab574d59.js.gz +0 -0
  992. package/dist/ezui/p-abe0dd62.entry.js.gz +0 -0
  993. package/dist/ezui/p-b1e45320.js.gz +0 -0
  994. package/dist/ezui/p-b663ec25.entry.js.gz +0 -0
  995. package/dist/ezui/p-b6bc4499.entry.js.gz +0 -0
  996. package/dist/ezui/p-b853763b.js.gz +0 -0
  997. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  998. package/dist/ezui/p-bf5b6db2.entry.js.gz +0 -0
  999. package/dist/ezui/p-bf9ff8fe.js +0 -1
  1000. package/dist/ezui/p-bf9ff8fe.js.gz +0 -0
  1001. package/dist/ezui/p-ce269c9c.entry.js.gz +0 -0
  1002. package/dist/ezui/p-d1421af5.entry.js +0 -1
  1003. package/dist/ezui/p-d1421af5.entry.js.gz +0 -0
  1004. package/dist/ezui/p-d2645bdf.entry.js +0 -1
  1005. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  1006. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  1007. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  1008. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  1009. package/dist/ezui/p-e2fe1b5d.entry.js.gz +0 -0
  1010. package/dist/ezui/p-e50e1c80.entry.js.gz +0 -0
  1011. package/dist/ezui/p-e6ac0c4d.entry.js +0 -309
  1012. package/dist/ezui/p-e6ac0c4d.entry.js.gz +0 -0
  1013. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  1014. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  1015. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  1016. package/dist/ezui/p-ec7db713.js.gz +0 -0
  1017. package/dist/ezui/p-efd28447.entry.js.gz +0 -0
  1018. package/dist/ezui/p-f00c9dc2.entry.js +0 -1
  1019. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  1020. package/dist/ezui/p-f14b1400.entry.js.gz +0 -0
  1021. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  1022. package/dist/ezui/p-f67d789c.entry.js +0 -1
  1023. package/dist/ezui/p-f67d789c.entry.js.gz +0 -0
  1024. package/dist/ezui/p-f7b8d2b9.entry.js +0 -1
  1025. package/dist/ezui/p-f7b8d2b9.entry.js.gz +0 -0
  1026. package/dist/ezui/p-f9054bd6.entry.js.gz +0 -0
  1027. package/dist/ezui/p-f90e8299.js.gz +0 -0
  1028. package/dist/ezui/p-f949bb8b.entry.js.gz +0 -0
  1029. package/dist/ezui/p-fa5cc755.entry.js.gz +0 -0
  1030. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  1031. package/dist/ezui/p-fa7fc44f.entry.js +0 -1
  1032. package/dist/ezui/p-fa7fc44f.entry.js.gz +0 -0
  1033. package/dist/ezui/p-fadf0509.entry.js.gz +0 -0
  1034. package/dist/index.cjs.js.gz +0 -0
  1035. package/dist/index.js.gz +0 -0
@@ -5,15 +5,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index$1 = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
8
- const ApplicationUtils = require('./ApplicationUtils-999d2366.js');
8
+ const ApplicationUtils = require('./ApplicationUtils-34e43a14.js');
9
9
  require('./DialogType-2114c337.js');
10
10
  require('./CheckMode-ecb90b87.js');
11
- const index = require('./index-637af219.js');
12
- const FormLayout = require('./FormLayout-18853e70.js');
13
- const searchColumn = require('./search-column-254df8ea.js');
11
+ const index = require('./index-f98939e1.js');
12
+ const types = require('./types-6a5df0c7.js');
13
+ require('./FormLayout-fe8da83c.js');
14
+ const searchColumn = require('./search-column-f1c7a355.js');
14
15
  const constants = require('./constants-72b7e05e.js');
16
+ const DataBinder = require('./DataBinder-cdc66d4e.js');
15
17
  const FocusResolver = require('./FocusResolver-885f2173.js');
16
- const purify = require('./purify-ef86f048.js');
18
+ const purify = require('./purify-4f39f037.js');
17
19
  require('./_commonjsHelpers-537d719a.js');
18
20
 
19
21
  /**
@@ -439,6 +441,7 @@ function removeAllReferences(obj, objectName) {
439
441
  // leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
440
442
  if (typeof value === 'function') {
441
443
  var func = function () {
444
+ 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.");
442
445
  };
443
446
  properties[key] = { value: func, writable: true };
444
447
  }
@@ -609,6 +612,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
609
612
  window.clearInterval(interval);
610
613
  interval = null;
611
614
  }
615
+ if (reachedTimeout && timeoutMessage) {
616
+ console.warn(timeoutMessage);
617
+ }
612
618
  }
613
619
  };
614
620
  internalCallback();
@@ -710,9 +716,14 @@ var Context = /** @class */ (function () {
710
716
  Context.prototype.createBeanWrapper = function (BeanClass) {
711
717
  var metaData = BeanClass.__agBeanMetaData;
712
718
  if (!metaData) {
719
+ var beanName = void 0;
713
720
  if (BeanClass.prototype.constructor) {
714
- getFunctionName(BeanClass.prototype.constructor);
721
+ beanName = getFunctionName(BeanClass.prototype.constructor);
722
+ }
723
+ else {
724
+ beanName = "" + BeanClass;
715
725
  }
726
+ console.error("Context item " + beanName + " is not a bean");
716
727
  return;
717
728
  }
718
729
  var beanEntry = {
@@ -784,6 +795,7 @@ var Context = /** @class */ (function () {
784
795
  return beansList;
785
796
  };
786
797
  Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
798
+ if (optional === void 0) { optional = false; }
787
799
  if (beanName === "context") {
788
800
  return this;
789
801
  }
@@ -794,6 +806,9 @@ var Context = /** @class */ (function () {
794
806
  if (beanEntry) {
795
807
  return beanEntry.beanInstance;
796
808
  }
809
+ if (!optional) {
810
+ console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
811
+ }
797
812
  return null;
798
813
  };
799
814
  Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
@@ -900,9 +915,11 @@ function Optional(name) {
900
915
  }
901
916
  function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
902
917
  if (name === null) {
918
+ console.error("AG Grid: Autowired name should not be null");
903
919
  return;
904
920
  }
905
921
  if (typeof index === "number") {
922
+ console.error("AG Grid: Autowired should be on an attribute");
906
923
  return;
907
924
  }
908
925
  // it's an attribute on the class
@@ -1234,6 +1251,8 @@ var ModuleRegistry = /** @class */ (function () {
1234
1251
  else {
1235
1252
  if (ModuleRegistry.moduleBased !== moduleBased) {
1236
1253
  doOnce(function () {
1254
+ 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.");
1255
+ console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
1237
1256
  }, 'ModulePackageCheck');
1238
1257
  }
1239
1258
  }
@@ -1251,7 +1270,15 @@ var ModuleRegistry = /** @class */ (function () {
1251
1270
  return true;
1252
1271
  }
1253
1272
  var warningKey = reason + moduleName;
1273
+ var warningMessage;
1274
+ if (ModuleRegistry.moduleBased) {
1275
+ warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
1276
+ }
1277
+ else {
1278
+ 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/";
1279
+ }
1254
1280
  doOnce(function () {
1281
+ console.warn(warningMessage);
1255
1282
  }, warningKey);
1256
1283
  return false;
1257
1284
  };
@@ -1444,9 +1471,11 @@ var Column = /** @class */ (function () {
1444
1471
  var colDefAny = this.colDef;
1445
1472
  function warnOnce(msg, key, obj) {
1446
1473
  doOnce(function () {
1447
- if (obj) ;
1474
+ if (obj) {
1475
+ console.warn(msg, obj);
1476
+ }
1448
1477
  else {
1449
- doOnce(function () { return (void 0); }, key);
1478
+ doOnce(function () { return console.warn(msg); }, key);
1450
1479
  }
1451
1480
  }, key);
1452
1481
  }
@@ -1914,16 +1943,19 @@ var Column = /** @class */ (function () {
1914
1943
  // this used to be needed, as previous version of ag-grid had lockPosition as column state,
1915
1944
  // so couldn't depend on colDef version.
1916
1945
  Column.prototype.isLockPosition = function () {
1946
+ console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
1917
1947
  return this.colDef ? !!this.colDef.lockPosition : false;
1918
1948
  };
1919
1949
  // this used to be needed, as previous version of ag-grid had lockVisible as column state,
1920
1950
  // so couldn't depend on colDef version.
1921
1951
  Column.prototype.isLockVisible = function () {
1952
+ console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
1922
1953
  return this.colDef ? !!this.colDef.lockVisible : false;
1923
1954
  };
1924
1955
  // this used to be needed, as previous version of ag-grid had lockPinned as column state,
1925
1956
  // so couldn't depend on colDef version.
1926
1957
  Column.prototype.isLockPinned = function () {
1958
+ console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
1927
1959
  return this.colDef ? !!this.colDef.lockPinned : false;
1928
1960
  };
1929
1961
  // + renderedHeaderCell - for making header cell transparent when moving
@@ -2319,6 +2351,7 @@ var ColumnGroup = /** @class */ (function () {
2319
2351
  };
2320
2352
  /** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
2321
2353
  ColumnGroup.prototype.getOriginalColumnGroup = function () {
2354
+ console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
2322
2355
  return this.getProvidedColumnGroup();
2323
2356
  };
2324
2357
  ColumnGroup.prototype.getPaddingLevel = function () {
@@ -3194,7 +3227,9 @@ var ColumnFactory = /** @class */ (function (_super) {
3194
3227
  var typeKeys = [];
3195
3228
  if (type instanceof Array) {
3196
3229
  var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
3197
- if (invalidArray) ;
3230
+ if (invalidArray) {
3231
+ console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
3232
+ }
3198
3233
  else {
3199
3234
  typeKeys = type;
3200
3235
  }
@@ -3203,13 +3238,16 @@ var ColumnFactory = /** @class */ (function (_super) {
3203
3238
  typeKeys = type.split(',');
3204
3239
  }
3205
3240
  else {
3241
+ console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
3206
3242
  return;
3207
3243
  }
3208
3244
  // merge user defined with default column types
3209
3245
  var allColumnTypes = Object.assign({}, DefaultColumnTypes);
3210
3246
  var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
3211
3247
  iterateObject(userTypes, function (key, value) {
3212
- if (key in allColumnTypes) ;
3248
+ if (key in allColumnTypes) {
3249
+ console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
3250
+ }
3213
3251
  else {
3214
3252
  allColumnTypes[key] = value;
3215
3253
  }
@@ -3219,12 +3257,34 @@ var ColumnFactory = /** @class */ (function (_super) {
3219
3257
  if (typeColDef) {
3220
3258
  mergeDeep(colDefMerged, typeColDef, false, true);
3221
3259
  }
3260
+ else {
3261
+ console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
3262
+ }
3222
3263
  });
3223
3264
  };
3224
3265
  ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
3225
3266
  if (colDef) {
3226
3267
  var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
3268
+ if (colDefNoType.group !== undefined) {
3269
+ console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
3270
+ }
3271
+ if (colDefNoType.headerGroup !== undefined) {
3272
+ console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
3273
+ }
3274
+ if (colDefNoType.headerGroupShow !== undefined) {
3275
+ 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');
3276
+ }
3277
+ if (colDefNoType.suppressRowGroup !== undefined) {
3278
+ console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
3279
+ }
3280
+ if (colDefNoType.suppressAggregation !== undefined) {
3281
+ console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
3282
+ }
3283
+ if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
3284
+ console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
3285
+ }
3227
3286
  if (colDefNoType.displayName) {
3287
+ console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
3228
3288
  colDefNoType.headerName = colDefNoType.displayName;
3229
3289
  }
3230
3290
  }
@@ -4286,6 +4346,7 @@ var SideBarDefParser = /** @class */ (function () {
4286
4346
  toParse.forEach(function (key) {
4287
4347
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
4288
4348
  if (!lookupResult) {
4349
+ 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(','));
4289
4350
  return;
4290
4351
  }
4291
4352
  comps_1.push(lookupResult);
@@ -4316,6 +4377,7 @@ var SideBarDefParser = /** @class */ (function () {
4316
4377
  if (typeof it === 'string') {
4317
4378
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
4318
4379
  if (!lookupResult) {
4380
+ 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(','));
4319
4381
  return;
4320
4382
  }
4321
4383
  toAdd = lookupResult;
@@ -4912,6 +4974,7 @@ var GridOptionsWrapper = /** @class */ (function () {
4912
4974
  this.destroyed = true;
4913
4975
  };
4914
4976
  GridOptionsWrapper.prototype.init = function () {
4977
+ var _this = this;
4915
4978
  if (this.gridOptions.suppressPropertyNamesCheck !== true) {
4916
4979
  this.checkGridOptionsProperties();
4917
4980
  this.checkColumnDefProperties();
@@ -4922,26 +4985,61 @@ var GridOptionsWrapper = /** @class */ (function () {
4922
4985
  }
4923
4986
  var async = this.useAsyncEvents();
4924
4987
  this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
4925
- if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
4988
+ if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
4989
+ console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
4990
+ }
4926
4991
  if (this.isGroupSelectsChildren()) {
4927
- if (!this.isRowSelectionMulti()) ;
4928
- if (this.isRowModelServerSide()) ;
4992
+ if (!this.isRowSelectionMulti()) {
4993
+ console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
4994
+ }
4995
+ if (this.isRowModelServerSide()) {
4996
+ console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
4997
+ 'This is because the rows are lazy loaded, so selecting a group is not possible as' +
4998
+ 'the grid has no way of knowing what the children are.');
4999
+ }
5000
+ }
5001
+ if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
5002
+ 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!");
4929
5003
  }
4930
- if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
4931
5004
  if (this.isRowModelServerSide()) {
4932
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4933
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4934
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
5005
+ var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
5006
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5007
+ console.warn(msg('groupDefaultExpanded'));
5008
+ }
5009
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5010
+ console.warn(msg('groupIncludeFooter'));
5011
+ }
5012
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5013
+ console.warn(msg('groupIncludeTotalFooter'));
5014
+ }
4935
5015
  }
4936
5016
  if (isTrue(this.gridOptions.enableRangeSelection)) {
4937
5017
  ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
4938
5018
  }
4939
- else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
5019
+ else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
5020
+ console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
5021
+ }
4940
5022
  if (this.isGroupRowsSticky()) {
4941
- if (this.isGroupHideOpenParents()) ;
4942
- if (this.isMasterDetail()) ;
4943
- if (this.isPagination()) ;
5023
+ if (this.isGroupHideOpenParents()) {
5024
+ console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
5025
+ }
5026
+ if (this.isMasterDetail()) {
5027
+ console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
5028
+ }
5029
+ if (this.isPagination()) {
5030
+ console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
5031
+ }
4944
5032
  }
5033
+ var warnOfDeprecaredIcon = function (name) {
5034
+ if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
5035
+ 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/");
5036
+ }
5037
+ };
5038
+ warnOfDeprecaredIcon('radioButtonOff');
5039
+ warnOfDeprecaredIcon('radioButtonOn');
5040
+ warnOfDeprecaredIcon('checkboxChecked');
5041
+ warnOfDeprecaredIcon('checkboxUnchecked');
5042
+ warnOfDeprecaredIcon('checkboxIndeterminate');
4945
5043
  // sets an initial calculation for the scrollbar width
4946
5044
  this.getScrollbarWidth();
4947
5045
  };
@@ -4965,7 +5063,11 @@ var GridOptionsWrapper = /** @class */ (function () {
4965
5063
  GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
4966
5064
  var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
4967
5065
  iterateObject(invalidProperties, function (key, value) {
5066
+ console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
4968
5067
  });
5068
+ if (Object.keys(invalidProperties).length > 0) {
5069
+ console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
5070
+ }
4969
5071
  };
4970
5072
  /**
4971
5073
  * Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
@@ -5224,7 +5326,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5224
5326
  ];
5225
5327
  if (validLayouts.indexOf(domLayout) === -1) {
5226
5328
  doOnce(function () {
5227
- return (void 0);
5329
+ 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);
5228
5330
  }, 'warn about dom layout values');
5229
5331
  return Constants.DOM_LAYOUT_NORMAL;
5230
5332
  }
@@ -5619,7 +5721,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5619
5721
  return 'xy';
5620
5722
  }
5621
5723
  if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
5622
- doOnce(function () { return (void 0); }, 'warn invalid fill direction');
5724
+ doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
5623
5725
  return 'xy';
5624
5726
  }
5625
5727
  return direction;
@@ -5718,6 +5820,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5718
5820
  };
5719
5821
  GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
5720
5822
  if (this.gridOptions.defaultExportParams) {
5823
+ console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
5721
5824
  if (type === 'csv') {
5722
5825
  return this.gridOptions.defaultExportParams;
5723
5826
  }
@@ -5850,7 +5953,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5850
5953
  GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
5851
5954
  var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
5852
5955
  if (!this.isRowModelServerSide() && isEnabled) {
5853
- doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
5956
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
5854
5957
  return false;
5855
5958
  }
5856
5959
  return isEnabled;
@@ -5858,7 +5961,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5858
5961
  GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
5859
5962
  var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
5860
5963
  if (!this.isRowModelServerSide() && isEnabled) {
5861
- doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
5964
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
5862
5965
  return false;
5863
5966
  }
5864
5967
  return isEnabled;
@@ -5866,11 +5969,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5866
5969
  GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
5867
5970
  var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
5868
5971
  if (!this.isRowModelServerSide() && isEnabled) {
5869
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
5972
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
5870
5973
  return false;
5871
5974
  }
5872
5975
  if (this.isTreeData() && isEnabled) {
5873
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
5976
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
5874
5977
  return false;
5875
5978
  }
5876
5979
  return isEnabled;
@@ -5878,11 +5981,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5878
5981
  GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
5879
5982
  var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
5880
5983
  if (!this.isRowModelServerSide() && isEnabled) {
5881
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
5984
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
5882
5985
  return false;
5883
5986
  }
5884
5987
  if (this.isTreeData() && isEnabled) {
5885
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
5988
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
5886
5989
  return false;
5887
5990
  }
5888
5991
  return isEnabled;
@@ -5991,7 +6094,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5991
6094
  var capitalisedType = capitalise(type);
5992
6095
  if (exists(delay)) {
5993
6096
  if (delay < 0) {
5994
- doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
6097
+ doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
5995
6098
  }
5996
6099
  return Math.max(200, delay);
5997
6100
  }
@@ -6042,7 +6145,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6042
6145
  var rowBuffer = this.gridOptions.rowBuffer;
6043
6146
  if (typeof rowBuffer === 'number') {
6044
6147
  if (rowBuffer < 0) {
6045
- doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
6148
+ doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
6046
6149
  this.gridOptions.rowBuffer = rowBuffer = 0;
6047
6150
  }
6048
6151
  }
@@ -6076,23 +6179,45 @@ var GridOptionsWrapper = /** @class */ (function () {
6076
6179
  // casting to generic object, so typescript compiles even though
6077
6180
  // we are looking for attributes that don't exist
6078
6181
  var options = this.gridOptions;
6182
+ if (options.deprecatedEmbedFullWidthRows) {
6183
+ console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
6184
+ }
6185
+ if (options.rowDeselection) {
6186
+ 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.');
6187
+ }
6079
6188
  if (options.enableMultiRowDragging) {
6080
6189
  options.rowDragMultiRow = true;
6081
6190
  delete options.enableMultiRowDragging;
6191
+ console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
6082
6192
  }
6083
6193
  var checkRenamedProperty = function (oldProp, newProp, version) {
6084
6194
  if (options[oldProp] != null) {
6195
+ console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
6085
6196
  if (options[newProp] == null) {
6086
6197
  options[newProp] = options[oldProp];
6087
6198
  }
6088
6199
  }
6089
6200
  };
6090
- checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
6091
- checkRenamedProperty('deltaRowDataMode', 'immutableData');
6092
- checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
6093
- checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
6094
- checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
6201
+ checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
6202
+ checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
6203
+ checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
6204
+ checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
6205
+ if (options.immutableColumns || options.deltaColumnMode) {
6206
+ 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');
6207
+ }
6208
+ checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
6095
6209
  if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
6210
+ console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
6211
+ console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
6212
+ console.warn(' For example instead of this:');
6213
+ console.warn(' groupRowInnerRenderer: "myRenderer"');
6214
+ console.warn(' groupRowInnerRendererParams: {x: a}');
6215
+ console.warn(' Replace with this:');
6216
+ console.warn(' groupRowRendererParams: {');
6217
+ console.warn(' innerRenderer: "myRenderer",');
6218
+ console.warn(' innerRendererParams: {x: a}');
6219
+ console.warn(' }');
6220
+ console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
6096
6221
  if (!options.groupRowRendererParams) {
6097
6222
  options.groupRowRendererParams = {};
6098
6223
  }
@@ -6107,36 +6232,105 @@ var GridOptionsWrapper = /** @class */ (function () {
6107
6232
  params.innerRendererFramework = options.groupRowInnerRendererFramework;
6108
6233
  }
6109
6234
  }
6235
+ if (options.rememberGroupStateWhenNewData) {
6236
+ 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.');
6237
+ }
6110
6238
  if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
6239
+ 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');
6111
6240
  options.detailRowAutoHeight = true;
6112
6241
  }
6242
+ if (options.suppressKeyboardEvent) {
6243
+ 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.");
6244
+ }
6245
+ if (options.suppressEnterpriseResetOnNewColumns) {
6246
+ 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.');
6247
+ }
6248
+ if (options.suppressColumnStateEvents) {
6249
+ 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');
6250
+ }
6251
+ if (options.defaultExportParams) {
6252
+ console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
6253
+ }
6113
6254
  if (options.stopEditingWhenGridLosesFocus) {
6255
+ console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
6114
6256
  options.stopEditingWhenCellsLoseFocus = true;
6115
6257
  }
6258
+ if (options.applyColumnDefOrder) {
6259
+ 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');
6260
+ }
6116
6261
  if (options.groupMultiAutoColumn) {
6262
+ console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
6117
6263
  options.groupDisplayType = 'multipleColumns';
6118
6264
  }
6119
6265
  if (options.groupUseEntireRow) {
6266
+ console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
6120
6267
  options.groupDisplayType = 'groupRows';
6121
6268
  }
6122
6269
  if (options.groupSuppressAutoColumn) {
6270
+ var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
6271
+ console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
6123
6272
  options.groupDisplayType = 'custom';
6124
6273
  }
6274
+ if (options.defaultGroupOrderComparator) {
6275
+ 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.");
6276
+ }
6125
6277
  if (options.defaultGroupSortComparator) {
6278
+ console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
6126
6279
  options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
6127
6280
  }
6281
+ if (options.groupRowAggNodes) {
6282
+ 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.");
6283
+ }
6284
+ if (options.postSort) {
6285
+ 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.");
6286
+ }
6287
+ if (options.isFullWidthCell) {
6288
+ 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.");
6289
+ }
6290
+ if (options.localeTextFunc) {
6291
+ 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.");
6292
+ }
6293
+ if (options.colWidth) {
6294
+ console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
6295
+ }
6296
+ if (options.minColWidth) {
6297
+ console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
6298
+ }
6299
+ if (options.maxColWidth) {
6300
+ console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
6301
+ }
6302
+ if (options.reactUi) {
6303
+ 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.');
6304
+ }
6305
+ if (options.suppressReactUi) {
6306
+ console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
6307
+ }
6128
6308
  if (options.suppressCellSelection) {
6309
+ console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
6129
6310
  options.suppressCellFocus = options.suppressCellSelection;
6130
6311
  }
6312
+ if (options.getRowNodeId) {
6313
+ 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.');
6314
+ }
6315
+ if (options.immutableData) {
6316
+ if (options.getRowId) {
6317
+ 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`.');
6318
+ }
6319
+ else {
6320
+ console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
6321
+ }
6322
+ }
6131
6323
  if (options.clipboardDeliminator) {
6324
+ console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
6132
6325
  options.clipboardDelimiter = options.clipboardDeliminator;
6133
6326
  }
6134
- checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
6135
- checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
6327
+ checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
6328
+ checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
6136
6329
  if (options.serverSideStoreType) {
6330
+ 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.');
6137
6331
  options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
6138
6332
  }
6139
- checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
6333
+ checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
6140
6334
  };
6141
6335
  GridOptionsWrapper.prototype.checkForViolations = function () {
6142
6336
  if (this.isTreeData()) {
@@ -6145,11 +6339,20 @@ var GridOptionsWrapper = /** @class */ (function () {
6145
6339
  };
6146
6340
  GridOptionsWrapper.prototype.treeDataViolations = function () {
6147
6341
  if (this.isRowModelDefault()) {
6148
- if (missing(this.getDataPathFunc())) ;
6342
+ if (missing(this.getDataPathFunc())) {
6343
+ console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
6344
+ 'provide getDataPath function, please provide getDataPath function if using tree data.');
6345
+ }
6149
6346
  }
6150
6347
  if (this.isRowModelServerSide()) {
6151
- if (missing(this.getIsServerSideGroupFunc())) ;
6152
- if (missing(this.getServerSideGroupKeyFunc())) ;
6348
+ if (missing(this.getIsServerSideGroupFunc())) {
6349
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6350
+ 'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
6351
+ }
6352
+ if (missing(this.getServerSideGroupKeyFunc())) {
6353
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6354
+ 'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
6355
+ }
6153
6356
  }
6154
6357
  };
6155
6358
  GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
@@ -6218,6 +6421,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6218
6421
  this.setRowHeightVariable(rowHeight);
6219
6422
  return rowHeight;
6220
6423
  }
6424
+ console.warn('AG Grid row height must be a number if not using standard row model');
6221
6425
  return this.getDefaultRowHeight();
6222
6426
  };
6223
6427
  GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
@@ -6242,7 +6446,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6242
6446
  var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
6243
6447
  if (this.isNumeric(height)) {
6244
6448
  if (height === 0) {
6245
- doOnce(function () { return (void 0); }, 'invalidRowHeight');
6449
+ 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');
6246
6450
  }
6247
6451
  return { height: Math.max(1, height), estimated: false };
6248
6452
  }
@@ -6287,6 +6491,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6287
6491
  GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
6288
6492
  var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
6289
6493
  if (groupDisplayTypeValues.indexOf(supplied) < 0) {
6494
+ console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
6290
6495
  return false;
6291
6496
  }
6292
6497
  return supplied === toMatch;
@@ -6294,6 +6499,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6294
6499
  GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
6295
6500
  var treeDataDisplayTypeValues = ['auto', 'custom'];
6296
6501
  if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
6502
+ console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
6297
6503
  return false;
6298
6504
  }
6299
6505
  return supplied === toMatch;
@@ -6678,6 +6884,7 @@ var ColumnModel = /** @class */ (function (_super) {
6678
6884
  };
6679
6885
  ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
6680
6886
  if (pivot && this.gridOptionsWrapper.isTreeData()) {
6887
+ console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
6681
6888
  return false;
6682
6889
  }
6683
6890
  return true;
@@ -7308,6 +7515,7 @@ var ColumnModel = /** @class */ (function (_super) {
7308
7515
  if (loopCount > 1000) {
7309
7516
  // this should never happen, but in the future, someone might introduce a bug here,
7310
7517
  // so we stop the browser from hanging and report bug properly
7518
+ console.error('AG Grid: infinite loop in resizeColumnSets');
7311
7519
  return "break";
7312
7520
  }
7313
7521
  finishedColsGrew = false;
@@ -7425,6 +7633,8 @@ var ColumnModel = /** @class */ (function (_super) {
7425
7633
  if (source === void 0) { source = "api"; }
7426
7634
  this.columnAnimationService.start();
7427
7635
  if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
7636
+ console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
7637
+ console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
7428
7638
  return;
7429
7639
  }
7430
7640
  // we want to pull all the columns out first and put them into an ordered list
@@ -7677,6 +7887,7 @@ var ColumnModel = /** @class */ (function (_super) {
7677
7887
  ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
7678
7888
  if (source === void 0) { source = "api"; }
7679
7889
  if (this.gridOptionsWrapper.getDomLayout() === 'print') {
7890
+ console.warn("Changing the column pinning status is not allowed with domLayout='print'");
7680
7891
  return;
7681
7892
  }
7682
7893
  this.columnAnimationService.start();
@@ -7946,6 +8157,7 @@ var ColumnModel = /** @class */ (function (_super) {
7946
8157
  return false;
7947
8158
  }
7948
8159
  if (params && params.state && !params.state.forEach) {
8160
+ 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.');
7949
8161
  return false;
7950
8162
  }
7951
8163
  var applyStates = function (states, existingColumns, getById) {
@@ -8092,6 +8304,7 @@ var ColumnModel = /** @class */ (function (_super) {
8092
8304
  // is less sexy for the code here, but it keeps consistency.
8093
8305
  newOrder = this.placeLockedColumns(newOrder);
8094
8306
  if (!this.doesMovePassMarryChildren(newOrder)) {
8307
+ console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
8095
8308
  return;
8096
8309
  }
8097
8310
  this.gridColumns = newOrder;
@@ -8343,7 +8556,11 @@ var ColumnModel = /** @class */ (function (_super) {
8343
8556
  }
8344
8557
  }
8345
8558
  else {
8346
- if (exists(aggFunc)) ;
8559
+ if (exists(aggFunc)) {
8560
+ console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
8561
+ 'functions, register the functions first before using them in get/set state. This is because it is ' +
8562
+ 'intended for the column state to be stored and retrieved as simple JSON.');
8563
+ }
8347
8564
  // Note: we do not call column.setAggFunc(null), so that next time we aggregate
8348
8565
  // by this column (eg drag the column to the agg section int he toolpanel) it will
8349
8566
  // default to the last aggregation function.
@@ -8411,6 +8628,9 @@ var ColumnModel = /** @class */ (function (_super) {
8411
8628
  return null;
8412
8629
  }
8413
8630
  var column = this.getGridColumn(key);
8631
+ if (!column) {
8632
+ console.warn('AG Grid: could not find column ' + key);
8633
+ }
8414
8634
  return column;
8415
8635
  };
8416
8636
  ColumnModel.prototype.getPrimaryColumn = function (key) {
@@ -8513,6 +8733,7 @@ var ColumnModel = /** @class */ (function (_super) {
8513
8733
  // valueGetter is an expression, so execute the expression
8514
8734
  return this.expressionService.evaluate(headerValueGetter, params);
8515
8735
  }
8736
+ console.warn('ag-grid: headerValueGetter must be a function or a string');
8516
8737
  return '';
8517
8738
  }
8518
8739
  else if (colDef.headerName != null) {
@@ -8807,6 +9028,10 @@ var ColumnModel = /** @class */ (function (_super) {
8807
9028
  this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
8808
9029
  };
8809
9030
  ColumnModel.prototype.getProvidedColumnGroup = function (key) {
9031
+ // if (key instanceof ProvidedColumnGroup) { return key; }
9032
+ if (typeof key !== 'string') {
9033
+ console.error('AG Grid: group key must be a string');
9034
+ }
8810
9035
  // otherwise, search for the column group by id
8811
9036
  var res = null;
8812
9037
  this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
@@ -9017,7 +9242,8 @@ var ColumnModel = /** @class */ (function (_super) {
9017
9242
  var rowModelType = this.rowModel.getType();
9018
9243
  var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
9019
9244
  if (!supportedRowModel) {
9020
- doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
9245
+ var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
9246
+ doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
9021
9247
  }
9022
9248
  }
9023
9249
  };
@@ -10009,6 +10235,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
10009
10235
  if (found) {
10010
10236
  return result;
10011
10237
  }
10238
+ console.warn('AG Grid: could not get path');
10012
10239
  return null;
10013
10240
  };
10014
10241
  DisplayedGroupCreator = __decorate$36([
@@ -11692,12 +11919,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
11692
11919
  if (isNodeOrElement(rendererResult)) {
11693
11920
  return rendererResult;
11694
11921
  }
11922
+ console.warn('AG Grid: iconRenderer should return back a string or a dom object');
11695
11923
  }
11696
11924
  else {
11697
11925
  var span = document.createElement('span');
11698
11926
  var cssClass = iconNameClassMap[iconName];
11699
11927
  if (!cssClass) {
11700
11928
  if (!forceCreate) {
11929
+ console.warn("AG Grid: Did not find icon " + iconName);
11701
11930
  cssClass = '';
11702
11931
  }
11703
11932
  else {
@@ -12136,6 +12365,7 @@ var AgPromise = /** @class */ (function () {
12136
12365
  this.waiters.forEach(function (waiter) { return waiter(value); });
12137
12366
  };
12138
12367
  AgPromise.prototype.onReject = function (params) {
12368
+ console.warn('TBI');
12139
12369
  };
12140
12370
  return AgPromise;
12141
12371
  }());
@@ -12761,9 +12991,11 @@ function RefSelector(ref) {
12761
12991
  }
12762
12992
  function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
12763
12993
  if (selector === null) {
12994
+ console.error('AG Grid: QuerySelector selector should not be null');
12764
12995
  return;
12765
12996
  }
12766
12997
  if (typeof index === 'number') {
12998
+ console.error('AG Grid: QuerySelector should be on an attribute');
12767
12999
  return;
12768
13000
  }
12769
13001
  addToObjectProps(classPrototype, 'querySelectors', {
@@ -12998,8 +13230,12 @@ var OptionsFactory = /** @class */ (function () {
12998
13230
  this.checkForDeprecatedParams();
12999
13231
  };
13000
13232
  OptionsFactory.prototype.checkForDeprecatedParams = function () {
13001
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
13002
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
13233
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
13234
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
13235
+ }
13236
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
13237
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
13238
+ }
13003
13239
  };
13004
13240
  OptionsFactory.prototype.getFilterOptions = function () {
13005
13241
  return this.filterOptions;
@@ -13016,6 +13252,7 @@ var OptionsFactory = /** @class */ (function () {
13016
13252
  var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
13017
13253
  var propertyCheck = function (keys) {
13018
13254
  if (!keys.some(function (key) { return filterOption[key] != null; })) {
13255
+ console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
13019
13256
  return false;
13020
13257
  }
13021
13258
  return true;
@@ -13049,9 +13286,13 @@ var OptionsFactory = /** @class */ (function () {
13049
13286
  else if (firstFilterOption.displayKey) {
13050
13287
  this.defaultOption = firstFilterOption.displayKey;
13051
13288
  }
13052
- else ;
13289
+ else {
13290
+ console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
13291
+ }
13292
+ }
13293
+ else {
13294
+ console.warn('AG Grid: no filter options for filter');
13053
13295
  }
13054
- else ;
13055
13296
  };
13056
13297
  OptionsFactory.prototype.getDefaultOption = function () {
13057
13298
  return this.defaultOption;
@@ -13314,6 +13555,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
13314
13555
  clickListener = function (e) { _this.onBtCancel(e); };
13315
13556
  break;
13316
13557
  default:
13558
+ console.warn('AG Grid: Unknown button type specified');
13317
13559
  return;
13318
13560
  }
13319
13561
  var buttonType = type === 'apply' ? 'submit' : 'button';
@@ -13454,6 +13696,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
13454
13696
  // static, as used by floating filter also
13455
13697
  ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
13456
13698
  if (ProvidedFilter.isUseApplyButton(params)) {
13699
+ if (params.debounceMs != null) {
13700
+ console.warn('AG Grid: debounceMs is ignored when apply button is present');
13701
+ }
13457
13702
  return 0;
13458
13703
  }
13459
13704
  return params.debounceMs != null ? params.debounceMs : debounceDefault;
@@ -14830,6 +15075,7 @@ var ScalarFilter = /** @class */ (function (_super) {
14830
15075
  case ScalarFilter.NOT_BLANK:
14831
15076
  return !this.isBlank(cellValue);
14832
15077
  default:
15078
+ console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
14833
15079
  return true;
14834
15080
  }
14835
15081
  };
@@ -14923,11 +15169,17 @@ var DateFilter = /** @class */ (function (_super) {
14923
15169
  if (!isNaN(params[param])) {
14924
15170
  return params[param] == null ? fallback : Number(params[param]);
14925
15171
  }
15172
+ else {
15173
+ console.warn("AG Grid: DateFilter " + param + " is not a number");
15174
+ }
14926
15175
  }
14927
15176
  return fallback;
14928
15177
  };
14929
15178
  this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
14930
15179
  this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
15180
+ if (this.minValidYear > this.maxValidYear) {
15181
+ console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
15182
+ }
14931
15183
  this.createDateComponents();
14932
15184
  };
14933
15185
  DateFilter.prototype.createDateComponents = function () {
@@ -15628,7 +15880,7 @@ var TextFilter = /** @class */ (function (_super) {
15628
15880
  TextFilter.prototype.getTextMatcher = function () {
15629
15881
  var legacyComparator = this.textFilterParams.textCustomComparator;
15630
15882
  if (legacyComparator) {
15631
- _.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
15883
+ _.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
15632
15884
  return function (_a) {
15633
15885
  var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
15634
15886
  return legacyComparator(filterOption, value, filterText);
@@ -16554,7 +16806,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
16554
16806
  HeaderGroupComp.prototype.checkWarnings = function () {
16555
16807
  var paramsAny = this.params;
16556
16808
  if (paramsAny.template) {
16557
- doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
16809
+ var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
16810
+ doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
16558
16811
  }
16559
16812
  };
16560
16813
  HeaderGroupComp.prototype.setupExpandIcons = function () {
@@ -16785,6 +17038,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
16785
17038
  var _this = this;
16786
17039
  this.focusAfterAttached = params.cellStartedEdit;
16787
17040
  if (missing(params.values)) {
17041
+ console.warn('AG Grid: no values found for select cellEditor');
16788
17042
  return;
16789
17043
  }
16790
17044
  this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
@@ -16858,7 +17112,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
16858
17112
  __extends$2_(PopupSelectCellEditor, _super);
16859
17113
  function PopupSelectCellEditor() {
16860
17114
  var _this = _super.call(this) || this;
16861
- doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
17115
+ doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
16862
17116
  return _this;
16863
17117
  }
16864
17118
  PopupSelectCellEditor.prototype.isPopup = function () {
@@ -17012,7 +17266,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
17012
17266
  __extends$2Y(PopupTextCellEditor, _super);
17013
17267
  function PopupTextCellEditor() {
17014
17268
  var _this = _super.call(this) || this;
17015
- doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
17269
+ doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
17016
17270
  return _this;
17017
17271
  }
17018
17272
  PopupTextCellEditor.prototype.isPopup = function () {
@@ -17389,7 +17643,9 @@ var RowNode = /** @class */ (function () {
17389
17643
  });
17390
17644
  // make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
17391
17645
  // it has 'startsWith' in case the user provided a number.
17392
- if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
17646
+ if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
17647
+ 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.");
17648
+ }
17393
17649
  // force id to be a string
17394
17650
  if (this.id !== null && typeof this.id !== 'string') {
17395
17651
  this.id = '' + this.id;
@@ -17848,9 +18104,11 @@ var RowNode = /** @class */ (function () {
17848
18104
  // groupSelectsFiltered only makes sense when group selects children
17849
18105
  var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
17850
18106
  if (this.id === undefined) {
18107
+ console.warn('AG Grid: cannot select node until id for node is known');
17851
18108
  return 0;
17852
18109
  }
17853
18110
  if (this.rowPinned) {
18111
+ console.warn('AG Grid: cannot select pinned rows');
17854
18112
  return 0;
17855
18113
  }
17856
18114
  // if we are a footer, we don't do selection, just pass the info
@@ -18625,7 +18883,9 @@ var DragAndDropService = /** @class */ (function (_super) {
18625
18883
  }
18626
18884
  }
18627
18885
  this.eGhostParent = targetEl;
18628
- if (!this.eGhostParent) ;
18886
+ if (!this.eGhostParent) {
18887
+ console.warn('AG Grid: could not find document body, it is needed for dragging columns');
18888
+ }
18629
18889
  else {
18630
18890
  this.eGhostParent.appendChild(this.eGhost);
18631
18891
  }
@@ -18788,7 +19048,7 @@ var RowDragComp = /** @class */ (function (_super) {
18788
19048
  var treeData = this.beans.gridOptionsWrapper.isTreeData();
18789
19049
  if (treeData && managed) {
18790
19050
  doOnce(function () {
18791
- return (void 0);
19051
+ return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
18792
19052
  }, 'RowDragComp.managedAndTreeData');
18793
19053
  }
18794
19054
  };
@@ -19197,7 +19457,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19197
19457
  else if (typeof footerValueGetter === 'string') {
19198
19458
  footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
19199
19459
  }
19200
- else ;
19460
+ else {
19461
+ console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
19462
+ }
19201
19463
  }
19202
19464
  else {
19203
19465
  footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
@@ -19415,7 +19677,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19415
19677
  var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
19416
19678
  var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
19417
19679
  if (userProvidedPaddingPixelsTheDeprecatedWay) {
19418
- doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
19680
+ 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');
19419
19681
  }
19420
19682
  if (this.indentClass) {
19421
19683
  this.comp.addOrRemoveCssClass(this.indentClass, false);
@@ -19920,6 +20182,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19920
20182
  UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
19921
20183
  var name = this.translateIfDeprecated(rawName);
19922
20184
  if (this.agGridDefaults[name]) {
20185
+ console.error("Trying to overwrite a default component. You should call registerComponent");
19923
20186
  return;
19924
20187
  }
19925
20188
  this.agGridDefaults[name] = component;
@@ -19927,6 +20190,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19927
20190
  UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
19928
20191
  var name = this.translateIfDeprecated(rawName);
19929
20192
  if (this.fwComps[name]) {
20193
+ console.error("Trying to register a component that you have already registered for frameworks: " + name);
19930
20194
  return;
19931
20195
  }
19932
20196
  this.jsComps[name] = component;
@@ -19936,7 +20200,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19936
20200
  * A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
19937
20201
  */
19938
20202
  UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
19939
- doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
20203
+ 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.";
20204
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
19940
20205
  var name = this.translateIfDeprecated(rawName);
19941
20206
  this.fwComps[name] = component;
19942
20207
  };
@@ -19963,13 +20228,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19963
20228
  if (defaultComponent) {
19964
20229
  return createResult(defaultComponent, false);
19965
20230
  }
19966
- if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
20231
+ if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
20232
+ console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
20233
+ }
19967
20234
  return null;
19968
20235
  };
19969
20236
  UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
19970
20237
  var deprecatedInfo = this.agDeprecatedNames[raw];
19971
20238
  if (deprecatedInfo != null) {
19972
20239
  doOnce(function () {
20240
+ 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);
19973
20241
  }, 'DEPRECATE_COMPONENT_' + raw);
19974
20242
  return deprecatedInfo.newComponentName;
19975
20243
  }
@@ -20187,6 +20455,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
20187
20455
  };
20188
20456
  UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
20189
20457
  var _this = this;
20458
+ if (mandatory === void 0) { mandatory = false; }
20190
20459
  var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
20191
20460
  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;
20192
20461
  var lookupFromRegistry = function (key) {
@@ -20209,6 +20478,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
20209
20478
  jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
20210
20479
  }
20211
20480
  if (!jsComp && !fwComp) {
20481
+ if (mandatory) {
20482
+ console.error("Could not find component " + compName + ", did you forget to configure this component?");
20483
+ }
20212
20484
  return;
20213
20485
  }
20214
20486
  var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
@@ -20245,7 +20517,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20245
20517
  var selectorRes = selectorFunc ? selectorFunc(params) : null;
20246
20518
  var assignComp = function (providedJsComp, providedFwComp) {
20247
20519
  var xxxFrameworkDeprecatedWarn = function () {
20248
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20520
+ 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.";
20521
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20249
20522
  };
20250
20523
  if (typeof providedJsComp === 'string') {
20251
20524
  compName = providedJsComp;
@@ -20271,7 +20544,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20271
20544
  };
20272
20545
  if (selectorRes) {
20273
20546
  if (selectorRes.frameworkComponent != null) {
20274
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20547
+ 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.";
20548
+ doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20275
20549
  assignComp(selectorRes.frameworkComponent, undefined);
20276
20550
  }
20277
20551
  else {
@@ -20776,13 +21050,16 @@ var FilterManager = /** @class */ (function (_super) {
20776
21050
  modelKeys_1.forEach(function (colId) {
20777
21051
  var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
20778
21052
  if (!column) {
21053
+ console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
20779
21054
  return;
20780
21055
  }
20781
21056
  if (!column.isFilterAllowed()) {
21057
+ console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
20782
21058
  return;
20783
21059
  }
20784
21060
  var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
20785
21061
  if (!filterWrapper) {
21062
+ console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
20786
21063
  return;
20787
21064
  }
20788
21065
  allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
@@ -20812,6 +21089,7 @@ var FilterManager = /** @class */ (function (_super) {
20812
21089
  return new AgPromise(function (resolve) {
20813
21090
  filterPromise.then(function (filter) {
20814
21091
  if (typeof filter.setModel !== 'function') {
21092
+ console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
20815
21093
  resolve();
20816
21094
  }
20817
21095
  (filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
@@ -20828,6 +21106,7 @@ var FilterManager = /** @class */ (function (_super) {
20828
21106
  return null;
20829
21107
  }
20830
21108
  if (typeof filter.getModel !== 'function') {
21109
+ console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
20831
21110
  return;
20832
21111
  }
20833
21112
  var model = filter.getModel();
@@ -20861,6 +21140,7 @@ var FilterManager = /** @class */ (function (_super) {
20861
21140
  return false;
20862
21141
  } // this never happens, including to avoid compile error
20863
21142
  if (!filter.isFilterActive) {
21143
+ console.warn('AG Grid: Filter is missing isFilterActive() method');
20864
21144
  return false;
20865
21145
  }
20866
21146
  return filter.isFilterActive();
@@ -20934,12 +21214,14 @@ var FilterManager = /** @class */ (function (_super) {
20934
21214
  return null;
20935
21215
  }
20936
21216
  if (!this.gridOptionsWrapper.isRowModelDefault()) {
21217
+ console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
20937
21218
  return null;
20938
21219
  }
20939
21220
  return newFilter.toUpperCase();
20940
21221
  };
20941
21222
  FilterManager.prototype.setQuickFilter = function (newFilter) {
20942
21223
  if (newFilter != null && typeof newFilter !== 'string') {
21224
+ console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
20943
21225
  return;
20944
21226
  }
20945
21227
  var parsedFilter = this.parseQuickFilter(newFilter);
@@ -21199,7 +21481,9 @@ var FilterManager = /** @class */ (function (_super) {
21199
21481
  filterWrapper.guiPromise = new AgPromise(function (resolve) {
21200
21482
  filterWrapper.filterPromise.then(function (filter) {
21201
21483
  var guiFromFilter = filter.getGui();
21202
- if (!exists(guiFromFilter)) ;
21484
+ if (!exists(guiFromFilter)) {
21485
+ console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
21486
+ }
21203
21487
  // for backwards compatibility with Angular 1 - we
21204
21488
  // used to allow providing back HTML from getGui().
21205
21489
  // once we move away from supporting Angular 1
@@ -21791,6 +22075,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
21791
22075
  }
21792
22076
  var rowCount = this.paginationProxy.getRowCount();
21793
22077
  if (typeof index !== 'number' || index < 0 || index >= rowCount) {
22078
+ console.warn('invalid row index for ensureIndexVisible: ' + index);
21794
22079
  return;
21795
22080
  }
21796
22081
  var isPaging = this.gridOptionsWrapper.isPagination();
@@ -22285,10 +22570,11 @@ var RowDragFeature = /** @class */ (function (_super) {
22285
22570
  RowDragFeature.prototype.addRowDropZone = function (params) {
22286
22571
  var _this = this;
22287
22572
  if (!params.getContainer()) {
22288
- doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
22573
+ doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
22289
22574
  return;
22290
22575
  }
22291
22576
  if (this.dragAndDropService.findExternalZone(params)) {
22577
+ console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
22292
22578
  return;
22293
22579
  }
22294
22580
  var processedParams = {
@@ -22815,7 +23101,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
22815
23101
  _this.sizeColumnsToFit(params, -1);
22816
23102
  }, 500);
22817
23103
  }
22818
- else ;
23104
+ else {
23105
+ console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
23106
+ 'zero width, maybe the grid is not visible yet on the screen?');
23107
+ }
22819
23108
  };
22820
23109
  // + rangeService
22821
23110
  GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
@@ -24476,6 +24765,7 @@ var CellCtrl = /** @class */ (function (_super) {
24476
24765
  CellCtrl.prototype.createCellRendererParams = function () {
24477
24766
  var _this = this;
24478
24767
  var addRowCompListener = function (eventType, listener) {
24768
+ 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.');
24479
24769
  _this.rowCtrl.addEventListener(eventType, listener);
24480
24770
  };
24481
24771
  var res = {
@@ -25004,11 +25294,11 @@ var CellCtrl = /** @class */ (function (_super) {
25004
25294
  if (rowDragManaged) {
25005
25295
  // row dragging only available in default row model
25006
25296
  if (!clientSideRowModelActive) {
25007
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25297
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
25008
25298
  return;
25009
25299
  }
25010
25300
  if (pagination) {
25011
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25301
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
25012
25302
  return;
25013
25303
  }
25014
25304
  }
@@ -25225,6 +25515,7 @@ var RowCtrl = /** @class */ (function (_super) {
25225
25515
  var gow = this.beans.gridOptionsWrapper;
25226
25516
  if (gow.isEnableRangeSelection()) {
25227
25517
  doOnce(function () {
25518
+ console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
25228
25519
  }, 'rowDragAndRangeSelectionEnabled');
25229
25520
  return;
25230
25521
  }
@@ -25237,7 +25528,12 @@ var RowCtrl = /** @class */ (function (_super) {
25237
25528
  var params = this.createFullWidthParams(gui.element, pinned);
25238
25529
  var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
25239
25530
  if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
25240
- if (ModuleRegistry.isPackageBased()) ;
25531
+ if (ModuleRegistry.isPackageBased()) {
25532
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
25533
+ }
25534
+ else {
25535
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
25536
+ }
25241
25537
  return;
25242
25538
  }
25243
25539
  var compDetails;
@@ -25988,6 +26284,7 @@ var RowCtrl = /** @class */ (function (_super) {
25988
26284
  // part 1 - rowStyle
25989
26285
  var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
25990
26286
  if (rowStyle && typeof rowStyle === 'function') {
26287
+ console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
25991
26288
  return;
25992
26289
  }
25993
26290
  // part 1 - rowStyleFunc
@@ -26102,12 +26399,14 @@ var RowCtrl = /** @class */ (function (_super) {
26102
26399
  RowCtrl.prototype.addEventListener = function (eventType, listener) {
26103
26400
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26104
26401
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26402
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26105
26403
  }
26106
26404
  _super.prototype.addEventListener.call(this, eventType, listener);
26107
26405
  };
26108
26406
  RowCtrl.prototype.removeEventListener = function (eventType, listener) {
26109
26407
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26110
26408
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26409
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26111
26410
  }
26112
26411
  _super.prototype.removeEventListener.call(this, eventType, listener);
26113
26412
  };
@@ -28267,7 +28566,7 @@ var NavigationService = /** @class */ (function (_super) {
28267
28566
  var userCell = userFunc(params);
28268
28567
  if (exists(userCell)) {
28269
28568
  if (userCell.floating) {
28270
- doOnce(function () { }, 'no floating in userCell');
28569
+ 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');
28271
28570
  userCell.rowPinned = userCell.floating;
28272
28571
  }
28273
28572
  nextPosition = {
@@ -28400,7 +28699,7 @@ var NavigationService = /** @class */ (function (_super) {
28400
28699
  var userCell = userFunc(params);
28401
28700
  if (exists(userCell)) {
28402
28701
  if (userCell.floating) {
28403
- doOnce(function () { }, 'no floating in userCell');
28702
+ 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');
28404
28703
  userCell.rowPinned = userCell.floating;
28405
28704
  }
28406
28705
  nextCell = {
@@ -28955,6 +29254,7 @@ var CellComp = /** @class */ (function (_super) {
28955
29254
  return;
28956
29255
  }
28957
29256
  if (!cellEditor.getGui) {
29257
+ console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
28958
29258
  this.beans.context.destroyBean(cellEditor);
28959
29259
  return;
28960
29260
  }
@@ -28992,7 +29292,10 @@ var CellComp = /** @class */ (function (_super) {
28992
29292
  };
28993
29293
  CellComp.prototype.addPopupCellEditor = function (params, position) {
28994
29294
  var _this = this;
28995
- if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
29295
+ if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
29296
+ console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
29297
+ '- either turn off fullRowEdit, or stop using popup editors.');
29298
+ }
28996
29299
  var cellEditor = this.cellEditor;
28997
29300
  // if a popup, then we wrap in a popup editor and return the popup
28998
29301
  this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
@@ -29176,6 +29479,9 @@ var RowComp = /** @class */ (function (_super) {
29176
29479
  };
29177
29480
  RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
29178
29481
  var _this = this;
29482
+ if (this.fullWidthCellRenderer) {
29483
+ console.error('AG Grid - should not be setting fullWidthRowComponent twice');
29484
+ }
29179
29485
  this.fullWidthCellRenderer = fullWidthRowComponent;
29180
29486
  this.addDestroyFunc(function () {
29181
29487
  _this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
@@ -29600,6 +29906,7 @@ var MoveColumnFeature = /** @class */ (function () {
29600
29906
  switch (hDirection) {
29601
29907
  case HorizontalDirection.Left: return HorizontalDirection.Right;
29602
29908
  case HorizontalDirection.Right: return HorizontalDirection.Left;
29909
+ default: console.error("AG Grid: Unknown direction " + hDirection);
29603
29910
  }
29604
29911
  }
29605
29912
  else {
@@ -30640,6 +30947,7 @@ var GridApi = /** @class */ (function () {
30640
30947
  }
30641
30948
  var exportMode = this.getExcelExportMode(params);
30642
30949
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30950
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30643
30951
  return;
30644
30952
  }
30645
30953
  return this.excelCreator.getDataAsExcel(params);
@@ -30651,6 +30959,7 @@ var GridApi = /** @class */ (function () {
30651
30959
  }
30652
30960
  var exportMode = this.getExcelExportMode(params);
30653
30961
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30962
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30654
30963
  return;
30655
30964
  }
30656
30965
  this.excelCreator.exportDataAsExcel(params);
@@ -30678,6 +30987,7 @@ var GridApi = /** @class */ (function () {
30678
30987
  };
30679
30988
  /** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
30680
30989
  GridApi.prototype.setEnterpriseDatasource = function (datasource) {
30990
+ console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
30681
30991
  this.setServerSideDatasource(datasource);
30682
30992
  };
30683
30993
  /**
@@ -30706,6 +31016,9 @@ var GridApi = /** @class */ (function () {
30706
31016
  // should really have an IEnterpriseRowModel interface, so we are not casting to any
30707
31017
  this.serverSideRowModel.setDatasource(datasource);
30708
31018
  }
31019
+ else {
31020
+ console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
31021
+ }
30709
31022
  };
30710
31023
  /**
30711
31024
  * Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
@@ -30714,6 +31027,7 @@ var GridApi = /** @class */ (function () {
30714
31027
  * */
30715
31028
  GridApi.prototype.setCacheBlockSize = function (blockSize) {
30716
31029
  if (!this.serverSideRowModel) {
31030
+ console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
30717
31031
  return;
30718
31032
  }
30719
31033
  this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
@@ -30724,6 +31038,9 @@ var GridApi = /** @class */ (function () {
30724
31038
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
30725
31039
  this.rowModel.setDatasource(datasource);
30726
31040
  }
31041
+ else {
31042
+ console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
31043
+ }
30727
31044
  };
30728
31045
  /** Set new datasource for Viewport Row Model. */
30729
31046
  GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
@@ -30733,12 +31050,16 @@ var GridApi = /** @class */ (function () {
30733
31050
  // the enterprise implement it, rather than casting to 'any' here
30734
31051
  this.rowModel.setViewportDatasource(viewportDatasource);
30735
31052
  }
31053
+ else {
31054
+ console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
31055
+ }
30736
31056
  };
30737
31057
  /** Set the row data. */
30738
31058
  GridApi.prototype.setRowData = function (rowData) {
30739
31059
  // immutable service is part of the CSRM module, if missing, no CSRM
30740
31060
  var missingImmutableService = this.immutableService == null;
30741
31061
  if (missingImmutableService) {
31062
+ console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
30742
31063
  return;
30743
31064
  }
30744
31065
  // if no keys provided provided for rows, then we can tread the operation as Immutable
@@ -30752,26 +31073,32 @@ var GridApi = /** @class */ (function () {
30752
31073
  };
30753
31074
  /** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
30754
31075
  GridApi.prototype.setFloatingTopRowData = function (rows) {
31076
+ console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
30755
31077
  this.setPinnedTopRowData(rows);
30756
31078
  };
30757
31079
  /** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
30758
31080
  GridApi.prototype.setFloatingBottomRowData = function (rows) {
31081
+ console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
30759
31082
  this.setPinnedBottomRowData(rows);
30760
31083
  };
30761
31084
  /** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
30762
31085
  GridApi.prototype.getFloatingTopRowCount = function () {
31086
+ console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
30763
31087
  return this.getPinnedTopRowCount();
30764
31088
  };
30765
31089
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
30766
31090
  GridApi.prototype.getFloatingBottomRowCount = function () {
31091
+ console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
30767
31092
  return this.getPinnedBottomRowCount();
30768
31093
  };
30769
31094
  /** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
30770
31095
  GridApi.prototype.getFloatingTopRow = function (index) {
31096
+ console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
30771
31097
  return this.getPinnedTopRow(index);
30772
31098
  };
30773
31099
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
30774
31100
  GridApi.prototype.getFloatingBottomRow = function (index) {
31101
+ console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
30775
31102
  return this.getPinnedBottomRow(index);
30776
31103
  };
30777
31104
  /** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
@@ -30852,6 +31179,7 @@ var GridApi = /** @class */ (function () {
30852
31179
  if (params === void 0) { params = {}; }
30853
31180
  if (Array.isArray(params)) {
30854
31181
  // the old version of refreshCells() took an array of rowNodes for the first argument
31182
+ console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
30855
31183
  return;
30856
31184
  }
30857
31185
  this.rowRenderer.refreshCells(params);
@@ -30905,8 +31233,12 @@ var GridApi = /** @class */ (function () {
30905
31233
  * It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
30906
31234
  */
30907
31235
  GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
30908
- if (missing(this.clientSideRowModel)) ;
30909
- if (exists(deprecated_refreshFromIndex)) ;
31236
+ if (missing(this.clientSideRowModel)) {
31237
+ console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
31238
+ }
31239
+ if (exists(deprecated_refreshFromIndex)) {
31240
+ console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
31241
+ }
30910
31242
  // we don't really want the user calling this if only one rowNode was expanded, instead they should be
30911
31243
  // calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
30912
31244
  // grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
@@ -30915,6 +31247,7 @@ var GridApi = /** @class */ (function () {
30915
31247
  };
30916
31248
  /** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
30917
31249
  GridApi.prototype.refreshInMemoryRowModel = function (step) {
31250
+ console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
30918
31251
  this.refreshClientSideRowModel(step);
30919
31252
  };
30920
31253
  /**
@@ -30922,7 +31255,9 @@ var GridApi = /** @class */ (function () {
30922
31255
  * Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
30923
31256
  */
30924
31257
  GridApi.prototype.refreshClientSideRowModel = function (step) {
30925
- if (missing(this.clientSideRowModel)) ;
31258
+ if (missing(this.clientSideRowModel)) {
31259
+ console.warn('cannot call refreshClientSideRowModel unless using normal row model');
31260
+ }
30926
31261
  var paramsStep = ClientSideRowModelSteps.EVERYTHING;
30927
31262
  var stepsMapped = {
30928
31263
  everything: ClientSideRowModelSteps.EVERYTHING,
@@ -30937,6 +31272,7 @@ var GridApi = /** @class */ (function () {
30937
31272
  paramsStep = stepsMapped[step];
30938
31273
  }
30939
31274
  if (missing(paramsStep)) {
31275
+ console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
30940
31276
  return;
30941
31277
  }
30942
31278
  var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
@@ -30982,7 +31318,9 @@ var GridApi = /** @class */ (function () {
30982
31318
  else if (this.serverSideRowModel) {
30983
31319
  this.serverSideRowModel.expandAll(true);
30984
31320
  }
30985
- else ;
31321
+ else {
31322
+ console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
31323
+ }
30986
31324
  };
30987
31325
  /** Collapse all groups. */
30988
31326
  GridApi.prototype.collapseAll = function () {
@@ -30992,17 +31330,23 @@ var GridApi = /** @class */ (function () {
30992
31330
  else if (this.serverSideRowModel) {
30993
31331
  this.serverSideRowModel.expandAll(false);
30994
31332
  }
30995
- else ;
31333
+ else {
31334
+ console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
31335
+ }
30996
31336
  };
30997
31337
  /** Gets the tool panel instance corresponding to the supplied `id`. */
30998
31338
  GridApi.prototype.getToolPanelInstance = function (id) {
30999
31339
  if (!this.sideBarComp) {
31340
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31000
31341
  return;
31001
31342
  }
31002
31343
  var comp = this.sideBarComp.getToolPanelInstance(id);
31003
31344
  return unwrapUserComp(comp);
31004
31345
  };
31005
31346
  GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
31347
+ if (typeof eventName !== 'string') {
31348
+ console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
31349
+ }
31006
31350
  this.addRenderedRowListener(eventName, rowIndex, callback);
31007
31351
  };
31008
31352
  /**
@@ -31013,6 +31357,9 @@ var GridApi = /** @class */ (function () {
31013
31357
  * listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
31014
31358
  */
31015
31359
  GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
31360
+ if (eventName === 'virtualRowSelected') {
31361
+ console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
31362
+ }
31016
31363
  this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
31017
31364
  };
31018
31365
  /** Pass a quick filter text into the grid for filtering. */
@@ -31021,19 +31368,38 @@ var GridApi = /** @class */ (function () {
31021
31368
  };
31022
31369
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
31023
31370
  GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
31371
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31372
+ if (suppressEvents) {
31373
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31374
+ }
31024
31375
  this.selectionService.selectIndex(index, tryMulti);
31025
31376
  };
31026
31377
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
31027
31378
  GridApi.prototype.deselectIndex = function (index, suppressEvents) {
31379
+ if (suppressEvents === void 0) { suppressEvents = false; }
31380
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31381
+ if (suppressEvents) {
31382
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31383
+ }
31028
31384
  this.selectionService.deselectIndex(index);
31029
31385
  };
31030
31386
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31031
31387
  GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
31032
31388
  if (tryMulti === void 0) { tryMulti = false; }
31389
+ if (suppressEvents === void 0) { suppressEvents = false; }
31390
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31391
+ if (suppressEvents) {
31392
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31393
+ }
31033
31394
  node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
31034
31395
  };
31035
31396
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31036
31397
  GridApi.prototype.deselectNode = function (node, suppressEvents) {
31398
+ if (suppressEvents === void 0) { suppressEvents = false; }
31399
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31400
+ if (suppressEvents) {
31401
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31402
+ }
31037
31403
  node.setSelectedParams({ newValue: false });
31038
31404
  };
31039
31405
  /** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
@@ -31054,7 +31420,10 @@ var GridApi = /** @class */ (function () {
31054
31420
  };
31055
31421
  /** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
31056
31422
  GridApi.prototype.recomputeAggregates = function () {
31057
- if (missing(this.clientSideRowModel)) ;
31423
+ if (missing(this.clientSideRowModel)) {
31424
+ console.warn('cannot call recomputeAggregates unless using normal row model');
31425
+ }
31426
+ console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
31058
31427
  this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
31059
31428
  };
31060
31429
  /**
@@ -31076,10 +31445,12 @@ var GridApi = /** @class */ (function () {
31076
31445
  this.overlayWrapperComp.hideOverlay();
31077
31446
  };
31078
31447
  GridApi.prototype.isNodeSelected = function (node) {
31448
+ console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
31079
31449
  return node.isSelected();
31080
31450
  };
31081
31451
  /** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
31082
31452
  GridApi.prototype.getSelectedNodesById = function () {
31453
+ console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
31083
31454
  return null;
31084
31455
  };
31085
31456
  /**
@@ -31108,6 +31479,7 @@ var GridApi = /** @class */ (function () {
31108
31479
  };
31109
31480
  /** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
31110
31481
  GridApi.prototype.ensureColIndexVisible = function (index) {
31482
+ console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
31111
31483
  };
31112
31484
  /**
31113
31485
  * Ensures the column is visible by scrolling the table if needed.
@@ -31149,7 +31521,9 @@ var GridApi = /** @class */ (function () {
31149
31521
  * but excluding groups the grid created where gaps were missing in the hierarchy.
31150
31522
  */
31151
31523
  GridApi.prototype.forEachLeafNode = function (callback) {
31152
- if (missing(this.clientSideRowModel)) ;
31524
+ if (missing(this.clientSideRowModel)) {
31525
+ console.warn('cannot call forEachNode unless using normal row model');
31526
+ }
31153
31527
  this.clientSideRowModel.forEachLeafNode(callback);
31154
31528
  };
31155
31529
  /**
@@ -31163,12 +31537,16 @@ var GridApi = /** @class */ (function () {
31163
31537
  };
31164
31538
  /** Similar to `forEachNode`, except skips any filtered out data. */
31165
31539
  GridApi.prototype.forEachNodeAfterFilter = function (callback) {
31166
- if (missing(this.clientSideRowModel)) ;
31540
+ if (missing(this.clientSideRowModel)) {
31541
+ console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
31542
+ }
31167
31543
  this.clientSideRowModel.forEachNodeAfterFilter(callback);
31168
31544
  };
31169
31545
  /** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
31170
31546
  GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
31171
- if (missing(this.clientSideRowModel)) ;
31547
+ if (missing(this.clientSideRowModel)) {
31548
+ console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
31549
+ }
31172
31550
  this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
31173
31551
  };
31174
31552
  /**
@@ -31406,10 +31784,12 @@ var GridApi = /** @class */ (function () {
31406
31784
  };
31407
31785
  /** @deprecated use `setProcessPivotResultColDef` instead */
31408
31786
  GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
31787
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
31409
31788
  this.setProcessPivotResultColDef(processSecondaryColDefFunc);
31410
31789
  };
31411
31790
  /** @deprecated use `setProcessPivotResultColGroupDef` instead */
31412
31791
  GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
31792
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
31413
31793
  this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
31414
31794
  };
31415
31795
  GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
@@ -31465,6 +31845,9 @@ var GridApi = /** @class */ (function () {
31465
31845
  /** Show/hide the entire side bar, including any visible panel and the tab buttons. */
31466
31846
  GridApi.prototype.setSideBarVisible = function (show) {
31467
31847
  if (!this.sideBarComp) {
31848
+ if (show) {
31849
+ console.warn('AG Grid: sideBar is not loaded');
31850
+ }
31468
31851
  return;
31469
31852
  }
31470
31853
  this.sideBarComp.setDisplayed(show);
@@ -31472,6 +31855,7 @@ var GridApi = /** @class */ (function () {
31472
31855
  /** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
31473
31856
  GridApi.prototype.setSideBarPosition = function (position) {
31474
31857
  if (!this.sideBarComp) {
31858
+ console.warn('AG Grid: sideBar is not loaded');
31475
31859
  return;
31476
31860
  }
31477
31861
  this.sideBarComp.setSideBarPosition(position);
@@ -31479,6 +31863,7 @@ var GridApi = /** @class */ (function () {
31479
31863
  /** Opens a particular tool panel. Provide the ID of the tool panel to open. */
31480
31864
  GridApi.prototype.openToolPanel = function (key) {
31481
31865
  if (!this.sideBarComp) {
31866
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31482
31867
  return;
31483
31868
  }
31484
31869
  this.sideBarComp.openToolPanel(key);
@@ -31486,6 +31871,7 @@ var GridApi = /** @class */ (function () {
31486
31871
  /** Closes the currently open tool panel (if any). */
31487
31872
  GridApi.prototype.closeToolPanel = function () {
31488
31873
  if (!this.sideBarComp) {
31874
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31489
31875
  return;
31490
31876
  }
31491
31877
  this.sideBarComp.close();
@@ -31511,12 +31897,14 @@ var GridApi = /** @class */ (function () {
31511
31897
  };
31512
31898
  /** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
31513
31899
  GridApi.prototype.doLayout = function () {
31514
- doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
31900
+ 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";
31901
+ doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
31515
31902
  };
31516
31903
  /** Tells the grid to recalculate the row heights. */
31517
31904
  GridApi.prototype.resetRowHeights = function () {
31518
31905
  if (exists(this.clientSideRowModel)) {
31519
31906
  if (this.columnModel.isAutoRowHeightActive()) {
31907
+ console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
31520
31908
  return;
31521
31909
  }
31522
31910
  this.clientSideRowModel.resetRowHeights();
@@ -31603,6 +31991,9 @@ var GridApi = /** @class */ (function () {
31603
31991
  setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
31604
31992
  };
31605
31993
  GridApi.prototype.warnIfDestroyed = function (methodName) {
31994
+ if (this.destroyCalled) {
31995
+ console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
31996
+ }
31606
31997
  return this.destroyCalled;
31607
31998
  };
31608
31999
  /** Reset the quick filter cache text on every rowNode. */
@@ -31614,6 +32005,7 @@ var GridApi = /** @class */ (function () {
31614
32005
  };
31615
32006
  /** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
31616
32007
  GridApi.prototype.getRangeSelections = function () {
32008
+ 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.");
31617
32009
  return null;
31618
32010
  };
31619
32011
  /** Returns the list of selected cell ranges. */
@@ -31621,6 +32013,7 @@ var GridApi = /** @class */ (function () {
31621
32013
  if (this.rangeService) {
31622
32014
  return this.rangeService.getCellRanges();
31623
32015
  }
32016
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
31624
32017
  return null;
31625
32018
  };
31626
32019
  GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
@@ -31628,13 +32021,20 @@ var GridApi = /** @class */ (function () {
31628
32021
  };
31629
32022
  /** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
31630
32023
  GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
32024
+ 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()');
31631
32025
  };
31632
32026
  /** Adds the provided cell range to the selected ranges. */
31633
32027
  GridApi.prototype.addCellRange = function (params) {
32028
+ if (!this.rangeService) {
32029
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32030
+ }
31634
32031
  this.rangeService.addCellRange(params);
31635
32032
  };
31636
32033
  /** Clears the selected ranges. */
31637
32034
  GridApi.prototype.clearRangeSelection = function () {
32035
+ if (!this.rangeService) {
32036
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32037
+ }
31638
32038
  this.rangeService.removeAllCellRanges();
31639
32039
  };
31640
32040
  /** Reverts the last cell edit. */
@@ -31721,18 +32121,30 @@ var GridApi = /** @class */ (function () {
31721
32121
  };
31722
32122
  /** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
31723
32123
  GridApi.prototype.copyToClipboard = function (params) {
32124
+ if (!this.clipboardService) {
32125
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32126
+ }
31724
32127
  this.clipboardService.copyToClipboard(params);
31725
32128
  };
31726
32129
  /** Copies the selected rows to the clipboard. */
31727
32130
  GridApi.prototype.copySelectedRowsToClipboard = function (params) {
32131
+ if (!this.clipboardService) {
32132
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32133
+ }
31728
32134
  this.clipboardService.copySelectedRowsToClipboard(params);
31729
32135
  };
31730
32136
  /** Copies the selected ranges to the clipboard. */
31731
32137
  GridApi.prototype.copySelectedRangeToClipboard = function (params) {
32138
+ if (!this.clipboardService) {
32139
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32140
+ }
31732
32141
  this.clipboardService.copySelectedRangeToClipboard(params);
31733
32142
  };
31734
32143
  /** Copies the selected range down, similar to `Ctrl + D` in Excel. */
31735
32144
  GridApi.prototype.copySelectedRangeDown = function () {
32145
+ if (!this.clipboardService) {
32146
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32147
+ }
31736
32148
  this.clipboardService.copyRangeDown();
31737
32149
  };
31738
32150
  /** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
@@ -31749,6 +32161,7 @@ var GridApi = /** @class */ (function () {
31749
32161
  column = this.columnModel.getPrimaryColumn(colKey);
31750
32162
  }
31751
32163
  if (!column) {
32164
+ console.error("AG Grid: column '" + colKey + "' not found");
31752
32165
  return;
31753
32166
  }
31754
32167
  this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
@@ -31801,6 +32214,7 @@ var GridApi = /** @class */ (function () {
31801
32214
  GridApi.prototype.startEditingCell = function (params) {
31802
32215
  var column = this.columnModel.getGridColumn(params.colKey);
31803
32216
  if (!column) {
32217
+ console.warn("AG Grid: no column found for " + params.colKey);
31804
32218
  return;
31805
32219
  }
31806
32220
  var cellPosition = {
@@ -31839,12 +32253,14 @@ var GridApi = /** @class */ (function () {
31839
32253
  /** Apply transactions to the server side row model. */
31840
32254
  GridApi.prototype.applyServerSideTransaction = function (transaction) {
31841
32255
  if (!this.serverSideTransactionManager) {
32256
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31842
32257
  return;
31843
32258
  }
31844
32259
  return this.serverSideTransactionManager.applyTransaction(transaction);
31845
32260
  };
31846
32261
  GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
31847
32262
  if (!this.serverSideTransactionManager) {
32263
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31848
32264
  return;
31849
32265
  }
31850
32266
  return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
@@ -31852,12 +32268,14 @@ var GridApi = /** @class */ (function () {
31852
32268
  /** Gets all failed server side loads to retry. */
31853
32269
  GridApi.prototype.retryServerSideLoads = function () {
31854
32270
  if (!this.serverSideRowModel) {
32271
+ console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
31855
32272
  return;
31856
32273
  }
31857
32274
  this.serverSideRowModel.retryLoads();
31858
32275
  };
31859
32276
  GridApi.prototype.flushServerSideAsyncTransactions = function () {
31860
32277
  if (!this.serverSideTransactionManager) {
32278
+ console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
31861
32279
  return;
31862
32280
  }
31863
32281
  return this.serverSideTransactionManager.flushAsyncTransactions();
@@ -31865,6 +32283,7 @@ var GridApi = /** @class */ (function () {
31865
32283
  /** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
31866
32284
  GridApi.prototype.applyTransaction = function (rowDataTransaction) {
31867
32285
  if (!this.clientSideRowModel) {
32286
+ console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
31868
32287
  return;
31869
32288
  }
31870
32289
  var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
@@ -31882,12 +32301,14 @@ var GridApi = /** @class */ (function () {
31882
32301
  };
31883
32302
  /** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
31884
32303
  GridApi.prototype.updateRowData = function (rowDataTransaction) {
31885
- doOnce(function () { return (void 0); }, 'updateRowData deprecated');
32304
+ 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.';
32305
+ doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
31886
32306
  return this.applyTransaction(rowDataTransaction);
31887
32307
  };
31888
32308
  /** Same as `applyTransaction` except executes asynchronously for efficiency. */
31889
32309
  GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
31890
32310
  if (!this.clientSideRowModel) {
32311
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31891
32312
  return;
31892
32313
  }
31893
32314
  this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
@@ -31895,34 +32316,41 @@ var GridApi = /** @class */ (function () {
31895
32316
  /** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
31896
32317
  GridApi.prototype.flushAsyncTransactions = function () {
31897
32318
  if (!this.clientSideRowModel) {
32319
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31898
32320
  return;
31899
32321
  }
31900
32322
  this.clientSideRowModel.flushAsyncTransactions();
31901
32323
  };
31902
32324
  /** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
31903
32325
  GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
31904
- doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
32326
+ 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.';
32327
+ doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
31905
32328
  this.applyTransactionAsync(rowDataTransaction, callback);
31906
32329
  };
31907
32330
  /** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
31908
32331
  GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
32332
+ console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
31909
32333
  this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
31910
32334
  };
31911
32335
  /** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
31912
32336
  GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
32337
+ console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
31913
32338
  var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
31914
32339
  this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
31915
32340
  };
31916
32341
  /** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
31917
32342
  GridApi.prototype.addItems = function (items, skipRefresh) {
32343
+ console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
31918
32344
  this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
31919
32345
  };
31920
32346
  /** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31921
32347
  GridApi.prototype.refreshVirtualPageCache = function () {
32348
+ console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31922
32349
  this.refreshInfiniteCache();
31923
32350
  };
31924
32351
  /** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31925
32352
  GridApi.prototype.refreshInfinitePageCache = function () {
32353
+ console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31926
32354
  this.refreshInfiniteCache();
31927
32355
  };
31928
32356
  /**
@@ -31934,13 +32362,18 @@ var GridApi = /** @class */ (function () {
31934
32362
  if (this.infiniteRowModel) {
31935
32363
  this.infiniteRowModel.refreshCache();
31936
32364
  }
32365
+ else {
32366
+ console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
32367
+ }
31937
32368
  };
31938
32369
  /** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31939
32370
  GridApi.prototype.purgeVirtualPageCache = function () {
32371
+ console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31940
32372
  this.purgeInfinitePageCache();
31941
32373
  };
31942
32374
  /** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31943
32375
  GridApi.prototype.purgeInfinitePageCache = function () {
32376
+ console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31944
32377
  this.purgeInfiniteCache();
31945
32378
  };
31946
32379
  /**
@@ -31953,20 +32386,28 @@ var GridApi = /** @class */ (function () {
31953
32386
  if (this.infiniteRowModel) {
31954
32387
  this.infiniteRowModel.purgeCache();
31955
32388
  }
32389
+ else {
32390
+ console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
32391
+ }
31956
32392
  };
31957
32393
  /** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
31958
32394
  GridApi.prototype.purgeEnterpriseCache = function (route) {
32395
+ console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
31959
32396
  this.purgeServerSideCache(route);
31960
32397
  };
31961
32398
  /** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
31962
32399
  GridApi.prototype.purgeServerSideCache = function (route) {
31963
32400
  if (route === void 0) { route = []; }
31964
32401
  if (this.serverSideRowModel) {
32402
+ console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
31965
32403
  this.refreshServerSide({
31966
32404
  route: route,
31967
32405
  purge: true
31968
32406
  });
31969
32407
  }
32408
+ else {
32409
+ console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
32410
+ }
31970
32411
  };
31971
32412
  /**
31972
32413
  * Refresh a server-side level.
@@ -31975,29 +32416,34 @@ var GridApi = /** @class */ (function () {
31975
32416
  */
31976
32417
  GridApi.prototype.refreshServerSide = function (params) {
31977
32418
  if (!this.serverSideRowModel) {
32419
+ console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
31978
32420
  return;
31979
32421
  }
31980
32422
  this.serverSideRowModel.refreshStore(params);
31981
32423
  };
31982
32424
  /** @deprecated use `refreshServerSide` instead */
31983
32425
  GridApi.prototype.refreshServerSideStore = function (params) {
31984
- doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
32426
+ var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
32427
+ doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
31985
32428
  return this.refreshServerSide(params);
31986
32429
  };
31987
32430
  /** @deprecated use `getServerSideGroupLevelState` instead */
31988
32431
  GridApi.prototype.getServerSideStoreState = function () {
31989
- doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
32432
+ var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
32433
+ doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
31990
32434
  return this.getServerSideGroupLevelState();
31991
32435
  };
31992
32436
  /** Returns info on all server side group levels. */
31993
32437
  GridApi.prototype.getServerSideGroupLevelState = function () {
31994
32438
  if (!this.serverSideRowModel) {
32439
+ console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
31995
32440
  return [];
31996
32441
  }
31997
32442
  return this.serverSideRowModel.getStoreState();
31998
32443
  };
31999
32444
  /** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
32000
32445
  GridApi.prototype.getVirtualRowCount = function () {
32446
+ console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
32001
32447
  return this.getInfiniteRowCount();
32002
32448
  };
32003
32449
  /** The row count defines how many rows the grid allows scrolling to. */
@@ -32005,9 +32451,13 @@ var GridApi = /** @class */ (function () {
32005
32451
  if (this.infiniteRowModel) {
32006
32452
  return this.infiniteRowModel.getRowCount();
32007
32453
  }
32454
+ else {
32455
+ console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
32456
+ }
32008
32457
  };
32009
32458
  /** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
32010
32459
  GridApi.prototype.isMaxRowFound = function () {
32460
+ console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
32011
32461
  return this.isLastRowIndexKnown();
32012
32462
  };
32013
32463
  /** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
@@ -32015,13 +32465,18 @@ var GridApi = /** @class */ (function () {
32015
32465
  if (this.infiniteRowModel) {
32016
32466
  return this.infiniteRowModel.isLastRowIndexKnown();
32017
32467
  }
32468
+ else {
32469
+ console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
32470
+ }
32018
32471
  };
32019
32472
  /** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
32020
32473
  GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
32474
+ console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
32021
32475
  this.setRowCount(rowCount, maxRowFound);
32022
32476
  };
32023
32477
  /** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
32024
32478
  GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
32479
+ console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
32025
32480
  this.setRowCount(rowCount, maxRowFound);
32026
32481
  };
32027
32482
  /**
@@ -32035,13 +32490,18 @@ var GridApi = /** @class */ (function () {
32035
32490
  if (this.infiniteRowModel) {
32036
32491
  this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
32037
32492
  }
32493
+ else {
32494
+ console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
32495
+ }
32038
32496
  };
32039
32497
  /** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32040
32498
  GridApi.prototype.getVirtualPageState = function () {
32499
+ console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32041
32500
  return this.getCacheBlockState();
32042
32501
  };
32043
32502
  /** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32044
32503
  GridApi.prototype.getInfinitePageState = function () {
32504
+ console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32045
32505
  return this.getCacheBlockState();
32046
32506
  };
32047
32507
  /**
@@ -32052,9 +32512,11 @@ var GridApi = /** @class */ (function () {
32052
32512
  };
32053
32513
  /** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
32054
32514
  GridApi.prototype.checkGridSize = function () {
32515
+ console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
32055
32516
  };
32056
32517
  /** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
32057
32518
  GridApi.prototype.getFirstRenderedRow = function () {
32519
+ console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
32058
32520
  return this.getFirstDisplayedRow();
32059
32521
  };
32060
32522
  /** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -32063,6 +32525,7 @@ var GridApi = /** @class */ (function () {
32063
32525
  };
32064
32526
  /** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
32065
32527
  GridApi.prototype.getLastRenderedRow = function () {
32528
+ console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
32066
32529
  return this.getLastDisplayedRow();
32067
32530
  };
32068
32531
  /** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -33114,7 +33577,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
33114
33577
  };
33115
33578
  };
33116
33579
  SelectAllFeature.prototype.checkRightRowModelType = function () {
33117
- this.rowModel.getType();
33580
+ var rowModelType = this.rowModel.getType();
33581
+ var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
33582
+ if (!rowModelMatches) {
33583
+ console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
33584
+ }
33118
33585
  };
33119
33586
  SelectAllFeature.prototype.onCbSelectAll = function () {
33120
33587
  if (this.processingEventFromCheckbox) {
@@ -33146,12 +33613,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
33146
33613
  }
33147
33614
  if (result) {
33148
33615
  if (this.gridOptionsWrapper.isRowModelServerSide()) {
33616
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
33149
33617
  return false;
33150
33618
  }
33151
33619
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
33620
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
33152
33621
  return false;
33153
33622
  }
33154
33623
  if (this.gridOptionsWrapper.isRowModelViewport()) {
33624
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
33155
33625
  return false;
33156
33626
  }
33157
33627
  // otherwise the row model is compatible, so return true
@@ -35768,6 +36238,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
35768
36238
  // frames. this stops bugs - where some code is asking for a frame to be executed
35769
36239
  // when it should not.
35770
36240
  AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
36241
+ if (this.useAnimationFrame === false) {
36242
+ console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
36243
+ }
35771
36244
  };
35772
36245
  AnimationFrameService.prototype.createTask = function (task, index, list) {
35773
36246
  this.verifyAnimationFrameOn(list);
@@ -37004,10 +37477,10 @@ var RowRenderer = /** @class */ (function (_super) {
37004
37477
  this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
37005
37478
  if (this.gridOptionsWrapper.isGroupRowsSticky()) {
37006
37479
  if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
37007
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37480
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37008
37481
  }
37009
37482
  else if (this.gridOptionsWrapper.isTreeData()) {
37010
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37483
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37011
37484
  }
37012
37485
  else {
37013
37486
  this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
@@ -41151,7 +41624,9 @@ var AgMenuList = /** @class */ (function (_super) {
41151
41624
  if (menuItemOrString === 'separator') {
41152
41625
  _this.addSeparator();
41153
41626
  }
41154
- else if (typeof menuItemOrString === 'string') ;
41627
+ else if (typeof menuItemOrString === 'string') {
41628
+ console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
41629
+ }
41155
41630
  else {
41156
41631
  _this.addItem(menuItemOrString);
41157
41632
  }
@@ -41516,7 +41991,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
41516
41991
  else if (typeof this.params.icon === 'string') {
41517
41992
  icon.innerHTML = this.params.icon;
41518
41993
  }
41519
- else ;
41994
+ else {
41995
+ console.warn('AG Grid: menu item icon must be DOM node or string');
41996
+ }
41520
41997
  }
41521
41998
  this.getGui().appendChild(icon);
41522
41999
  };
@@ -42466,6 +42943,7 @@ var PopupService = /** @class */ (function (_super) {
42466
42943
  var eDocument = this.gridOptionsWrapper.getDocument();
42467
42944
  var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
42468
42945
  if (!eDocument) {
42946
+ console.warn('ag-grid: could not find the document, document is empty');
42469
42947
  return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
42470
42948
  }
42471
42949
  var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
@@ -42878,6 +43356,7 @@ var VirtualList = /** @class */ (function (_super) {
42878
43356
  VirtualList.prototype.ensureIndexVisible = function (index) {
42879
43357
  var lastRow = this.model.getRowCount();
42880
43358
  if (typeof index !== 'number' || index < 0 || index >= lastRow) {
43359
+ console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
42881
43360
  return;
42882
43361
  }
42883
43362
  var rowTopPixel = index * this.rowHeight;
@@ -43181,6 +43660,7 @@ var CellNavigationService = /** @class */ (function (_super) {
43181
43660
  break;
43182
43661
  default:
43183
43662
  pointer = null;
43663
+ console.warn('AG Grid: unknown key for navigation ' + key);
43184
43664
  break;
43185
43665
  }
43186
43666
  if (pointer) {
@@ -43575,6 +44055,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
43575
44055
  var groupOpenedEvent = event;
43576
44056
  _this.processGroupOpenedEvent(groupOpenedEvent);
43577
44057
  break;
44058
+ case Events.EVENT_COLUMN_PIVOT_CHANGED:
44059
+ // we cannot support pivoting with aligned grids as the columns will be out of sync as the
44060
+ // grids will have columns created based on the row data of the grid.
44061
+ console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
44062
+ 'You can only use one of these features at a time in a grid.');
44063
+ break;
43578
44064
  }
43579
44065
  });
43580
44066
  };
@@ -43876,11 +44362,13 @@ var SelectionService = /** @class */ (function (_super) {
43876
44362
  // where groups don't actually appear in the selection normally.
43877
44363
  SelectionService.prototype.getBestCostNodeSelection = function () {
43878
44364
  if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
44365
+ console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
43879
44366
  return;
43880
44367
  }
43881
44368
  var clientSideRowModel = this.rowModel;
43882
44369
  var topLevelNodes = clientSideRowModel.getTopLevelNodes();
43883
44370
  if (topLevelNodes === null) {
44371
+ console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
43884
44372
  return;
43885
44373
  }
43886
44374
  var result = [];
@@ -43922,6 +44410,7 @@ var SelectionService = /** @class */ (function (_super) {
43922
44410
  var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
43923
44411
  if (justFiltered) {
43924
44412
  if (!rowModelClientSide) {
44413
+ console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
43925
44414
  return;
43926
44415
  }
43927
44416
  var clientSideRowModel = this.rowModel;
@@ -44034,6 +44523,11 @@ var ColumnApi = /** @class */ (function () {
44034
44523
  }
44035
44524
  /** 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. */
44036
44525
  ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
44526
+ // AG-3403 validate that gridWidth is provided because this method has the same name as
44527
+ // a method on the grid API that takes no arguments, and it's easy to confuse the two
44528
+ if (typeof gridWidth === "undefined") {
44529
+ console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
44530
+ }
44037
44531
  this.columnModel.sizeColumnsToFit(gridWidth, 'api');
44038
44532
  };
44039
44533
  /** Call this if you want to open or close a column group. */
@@ -44102,6 +44596,7 @@ var ColumnApi = /** @class */ (function () {
44102
44596
  ColumnApi.prototype.moveColumn = function (key, toIndex) {
44103
44597
  if (typeof key === 'number') {
44104
44598
  // moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
44599
+ 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');
44105
44600
  this.columnModel.moveColumnByIndex(key, toIndex, 'api');
44106
44601
  }
44107
44602
  else {
@@ -44132,6 +44627,7 @@ var ColumnApi = /** @class */ (function () {
44132
44627
  ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
44133
44628
  /** @deprecated Use `getPivotResultColumn` instead */
44134
44629
  ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
44630
+ console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
44135
44631
  return this.getPivotResultColumn(pivotKeys, valueColKey);
44136
44632
  };
44137
44633
  /** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
@@ -44190,18 +44686,21 @@ var ColumnApi = /** @class */ (function () {
44190
44686
  ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
44191
44687
  /** @deprecated Use `setPivotResultColumns` instead. */
44192
44688
  ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
44689
+ console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
44193
44690
  this.setPivotResultColumns(colDefs);
44194
44691
  };
44195
44692
  /** Set the pivot result columns. */
44196
44693
  ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
44197
44694
  /** @deprecated Use `getPivotResultColumns` instead. */
44198
44695
  ColumnApi.prototype.getSecondaryColumns = function () {
44696
+ console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
44199
44697
  return this.getPivotResultColumns();
44200
44698
  };
44201
44699
  /** Returns the grid's pivot result columns. */
44202
44700
  ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
44203
44701
  /** @deprecated Use `getColumns` instead. */
44204
44702
  ColumnApi.prototype.getPrimaryColumns = function () {
44703
+ console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
44205
44704
  return this.getColumns();
44206
44705
  };
44207
44706
  ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
@@ -44220,66 +44719,82 @@ var ColumnApi = /** @class */ (function () {
44220
44719
  // }
44221
44720
  /** @deprecated Use `getColumns` instead */
44222
44721
  ColumnApi.prototype.getAllColumns = function () {
44722
+ console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
44223
44723
  return this.getColumns();
44224
44724
  };
44225
44725
  /** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
44226
44726
  ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
44727
+ console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
44227
44728
  this.setColumnGroupOpened(group, newValue);
44228
44729
  };
44229
44730
  /** @deprecated hideColumns is deprecated, use setColumnsVisible */
44230
44731
  ColumnApi.prototype.hideColumns = function (colIds, hide) {
44732
+ console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
44231
44733
  this.columnModel.setColumnsVisible(colIds, !hide, 'api');
44232
44734
  };
44233
44735
  /** @deprecated hideColumn is deprecated, use setColumnVisible */
44234
44736
  ColumnApi.prototype.hideColumn = function (colId, hide) {
44737
+ console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
44235
44738
  this.columnModel.setColumnVisible(colId, !hide, 'api');
44236
44739
  };
44237
44740
  /** @deprecated setState is deprecated, use setColumnState */
44238
44741
  ColumnApi.prototype.setState = function (columnState) {
44742
+ console.error('AG Grid: setState is deprecated, use setColumnState');
44239
44743
  return this.setColumnState(columnState);
44240
44744
  };
44241
44745
  /** @deprecated getState is deprecated, use getColumnState */
44242
44746
  ColumnApi.prototype.getState = function () {
44747
+ console.error('AG Grid: getState is deprecated, use getColumnState');
44243
44748
  return this.getColumnState();
44244
44749
  };
44245
44750
  /** @deprecated resetState is deprecated, use resetColumnState */
44246
44751
  ColumnApi.prototype.resetState = function () {
44752
+ console.error('AG Grid: resetState is deprecated, use resetColumnState');
44247
44753
  this.resetColumnState();
44248
44754
  };
44249
44755
  /** @deprecated getAggregationColumns is deprecated, use getValueColumns */
44250
44756
  ColumnApi.prototype.getAggregationColumns = function () {
44757
+ console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
44251
44758
  return this.columnModel.getValueColumns();
44252
44759
  };
44253
44760
  /** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
44254
44761
  ColumnApi.prototype.removeAggregationColumn = function (colKey) {
44762
+ console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
44255
44763
  this.columnModel.removeValueColumn(colKey, 'api');
44256
44764
  };
44257
44765
  /** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
44258
44766
  ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
44767
+ console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
44259
44768
  this.columnModel.removeValueColumns(colKeys, 'api');
44260
44769
  };
44261
44770
  /** @deprecated addAggregationColumn is deprecated, use addValueColumn */
44262
44771
  ColumnApi.prototype.addAggregationColumn = function (colKey) {
44772
+ console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
44263
44773
  this.columnModel.addValueColumn(colKey, 'api');
44264
44774
  };
44265
44775
  /** @deprecated addAggregationColumns is deprecated, use addValueColumns */
44266
44776
  ColumnApi.prototype.addAggregationColumns = function (colKeys) {
44777
+ console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
44267
44778
  this.columnModel.addValueColumns(colKeys, 'api');
44268
44779
  };
44269
44780
  /** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
44270
44781
  ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
44782
+ console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
44271
44783
  this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
44272
44784
  };
44273
44785
  /** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
44274
44786
  ColumnApi.prototype.getDisplayNameForCol = function (column) {
44787
+ console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
44275
44788
  return this.getDisplayNameForColumn(column, null);
44276
44789
  };
44277
44790
  /** @deprecated setColumnState is deprecated, use applyColumnState. */
44278
44791
  ColumnApi.prototype.setColumnState = function (columnState) {
44792
+ console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
44279
44793
  return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
44280
44794
  };
44281
44795
  /** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
44282
44796
  ColumnApi.prototype.getOriginalColumnGroup = function (name) {
44797
+ console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
44283
44798
  return this.columnModel.getProvidedColumnGroup(name);
44284
44799
  };
44285
44800
  __decorate$1n([
@@ -44432,6 +44947,7 @@ var ValueService = /** @class */ (function (_super) {
44432
44947
  // need either a field or a newValueHandler for this to work
44433
44948
  if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
44434
44949
  // we don't tell user about newValueHandler, as that is deprecated
44950
+ console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
44435
44951
  return false;
44436
44952
  }
44437
44953
  var params = {
@@ -44608,6 +45124,7 @@ var ValueService = /** @class */ (function (_super) {
44608
45124
  result = String(result);
44609
45125
  if (result === '[object Object]') {
44610
45126
  doOnce(function () {
45127
+ 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');
44611
45128
  }, 'getKeyForNode - warn about [object,object]');
44612
45129
  }
44613
45130
  return result;
@@ -44679,7 +45196,9 @@ var ExpressionService = /** @class */ (function (_super) {
44679
45196
  var expression = expressionOrFunc;
44680
45197
  return this.evaluateExpression(expression, params);
44681
45198
  }
44682
- else ;
45199
+ else {
45200
+ console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
45201
+ }
44683
45202
  };
44684
45203
  ExpressionService.prototype.evaluateExpression = function (expression, params) {
44685
45204
  try {
@@ -44693,9 +45212,13 @@ var ExpressionService = /** @class */ (function (_super) {
44693
45212
  // the expression failed, which can happen, as it's the client that
44694
45213
  // provides the expression. so print a nice message
44695
45214
  // tslint:disable-next-line
45215
+ console.log('Processing of the expression failed');
44696
45216
  // tslint:disable-next-line
45217
+ console.log('Expression = ' + expression);
44697
45218
  // tslint:disable-next-line
45219
+ console.log('Params =', params);
44698
45220
  // tslint:disable-next-line
45221
+ console.log('Exception = ' + e);
44699
45222
  return null;
44700
45223
  }
44701
45224
  };
@@ -44793,6 +45316,7 @@ var TemplateService = /** @class */ (function (_super) {
44793
45316
  };
44794
45317
  TemplateService.prototype.handleHttpResult = function (httpResult, url) {
44795
45318
  if (httpResult.status !== 200 || httpResult.response === null) {
45319
+ console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
44796
45320
  return;
44797
45321
  }
44798
45322
  // response success, so process it
@@ -44873,7 +45397,10 @@ var Logger = /** @class */ (function () {
44873
45397
  return this.isLoggingFunc();
44874
45398
  };
44875
45399
  Logger.prototype.log = function (message) {
44876
- if (this.isLoggingFunc()) ;
45400
+ if (this.isLoggingFunc()) {
45401
+ // tslint:disable-next-line
45402
+ console.log('AG Grid.' + this.name + ': ' + message);
45403
+ }
44877
45404
  };
44878
45405
  return Logger;
44879
45406
  }());
@@ -45273,6 +45800,7 @@ var SortController = /** @class */ (function (_super) {
45273
45800
  sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
45274
45801
  }
45275
45802
  if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
45803
+ console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
45276
45804
  return null;
45277
45805
  }
45278
45806
  var currentIndex = sortingOrder.indexOf(column.getSort());
@@ -45287,6 +45815,7 @@ var SortController = /** @class */ (function (_super) {
45287
45815
  }
45288
45816
  // verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
45289
45817
  if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
45818
+ console.warn('AG Grid: invalid sort type ' + result);
45290
45819
  return null;
45291
45820
  }
45292
45821
  return result;
@@ -45615,6 +46144,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
45615
46144
  var doingTreeData = this.gridOptionsWrapper.isTreeData();
45616
46145
  var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
45617
46146
  if (doingTreeData && doingMultiAutoColumn) {
46147
+ console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
45618
46148
  doingMultiAutoColumn = false;
45619
46149
  }
45620
46150
  // if doing groupMultiAutoColumn, then we call the method multiple times, once
@@ -46298,8 +46828,8 @@ var Environment = /** @class */ (function (_super) {
46298
46828
  var theme = themeMatch[0];
46299
46829
  var usingOldTheme = themeMatch[2] === undefined;
46300
46830
  if (usingOldTheme) {
46301
- theme.replace('ag-', 'ag-theme-');
46302
- doOnce(function () { return (void 0); }, 'using-old-theme');
46831
+ var newTheme_1 = theme.replace('ag-', 'ag-theme-');
46832
+ 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');
46303
46833
  }
46304
46834
  return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
46305
46835
  };
@@ -47805,6 +48335,7 @@ var RowCssClassCalculator = /** @class */ (function () {
47805
48335
  var rowClass = this.gridOptionsWrapper.getRowClass();
47806
48336
  if (rowClass) {
47807
48337
  if (typeof rowClass === 'function') {
48338
+ console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
47808
48339
  return [];
47809
48340
  }
47810
48341
  process(rowClass);
@@ -48645,6 +49176,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
48645
49176
  var Grid = /** @class */ (function () {
48646
49177
  function Grid(eGridDiv, gridOptions, params) {
48647
49178
  if (!gridOptions) {
49179
+ console.error('AG Grid: no gridOptions provided to the grid');
48648
49180
  return;
48649
49181
  }
48650
49182
  this.gridOptions = gridOptions;
@@ -48850,7 +49382,32 @@ var GridCoreCreator = /** @class */ (function () {
48850
49382
  if (exists(rowModelClass)) {
48851
49383
  return rowModelClass;
48852
49384
  }
48853
- if (ModuleRegistry.isPackageBased()) ;
49385
+ if (ModuleRegistry.isPackageBased()) {
49386
+ if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
49387
+ // If package based only the enterprise row models could be missing.
49388
+ 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/");
49389
+ }
49390
+ else {
49391
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49392
+ }
49393
+ }
49394
+ else {
49395
+ if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
49396
+ 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/");
49397
+ }
49398
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
49399
+ 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/");
49400
+ }
49401
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
49402
+ 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/");
49403
+ }
49404
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
49405
+ 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/");
49406
+ }
49407
+ else {
49408
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49409
+ }
49410
+ }
48854
49411
  };
48855
49412
  return GridCoreCreator;
48856
49413
  }());
@@ -49112,15 +49669,51 @@ var LicenseManager = /** @class */ (function (_super) {
49112
49669
  }
49113
49670
  };
49114
49671
  LicenseManager.prototype.outputInvalidLicenseKey = function () {
49672
+ console.error('*****************************************************************************************************************');
49673
+ console.error('***************************************** AG Grid Enterprise License ********************************************');
49674
+ console.error('********************************************* Invalid License ***************************************************');
49675
+ console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
49676
+ console.error('*****************************************************************************************************************');
49677
+ console.error('*****************************************************************************************************************');
49115
49678
  this.watermarkMessage = "Invalid License";
49116
49679
  };
49117
49680
  LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
49681
+ console.error('****************************************************************************************************************');
49682
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49683
+ console.error('***************************************** Trial Period Expired. *******************************************');
49684
+ console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
49685
+ console.error('* Please email info@ag-grid.com to purchase a license. *');
49686
+ console.error('****************************************************************************************************************');
49687
+ console.error('****************************************************************************************************************');
49118
49688
  this.watermarkMessage = "Trial Period Expired";
49119
49689
  };
49120
49690
  LicenseManager.prototype.outputMissingLicenseKey = function () {
49691
+ console.error('****************************************************************************************************************');
49692
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49693
+ console.error('****************************************** License Key Not Found ***********************************************');
49694
+ console.error('* All AG Grid Enterprise features are unlocked. *');
49695
+ console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
49696
+ console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
49697
+ console.error('****************************************************************************************************************');
49698
+ console.error('****************************************************************************************************************');
49121
49699
  this.watermarkMessage = "For Trial Use Only";
49122
49700
  };
49123
49701
  LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
49702
+ console.error('****************************************************************************************************************************');
49703
+ console.error('****************************************************************************************************************************');
49704
+ console.error('* AG Grid Enterprise License *');
49705
+ console.error('* License not compatible with installed version of AG Grid Enterprise. *');
49706
+ console.error('* *');
49707
+ console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
49708
+ console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
49709
+ console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
49710
+ console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
49711
+ console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
49712
+ console.error('* *');
49713
+ 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 *');
49714
+ console.error('* version of AG Grid. *');
49715
+ console.error('****************************************************************************************************************************');
49716
+ console.error('****************************************************************************************************************************');
49124
49717
  this.watermarkMessage = "License Expired";
49125
49718
  };
49126
49719
  var LicenseManager_1;
@@ -49667,13 +50260,23 @@ class DataSource {
49667
50260
  });
49668
50261
  this._dataUnit.metadata.fields.forEach(f => {
49669
50262
  var _a, _b, _c, _d, _e, _f;
50263
+ if (f.userInterface === core.UserInterface.IMAGE) {
50264
+ return;
50265
+ }
49670
50266
  if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
49671
50267
  const props = new Map();
49672
50268
  const properties = this._dataUnit.getField(f.name).properties;
49673
50269
  for (const value in properties) {
49674
50270
  props.set(value, properties[value]);
49675
50271
  }
49676
- const col = { label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props };
50272
+ const col = {
50273
+ label: f.label,
50274
+ name: f.name,
50275
+ userInterface: f.userInterface,
50276
+ options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options,
50277
+ props,
50278
+ aggFunc: f['aggFunc']
50279
+ };
49677
50280
  columnDefs.push(col);
49678
50281
  if (f.userInterface === core.UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
49679
50282
  const descriptionField = this.getDescriptionField((_c = f.properties) === null || _c === void 0 ? void 0 : _c.DESCRIPTIONFIELD, (_d = f.properties) === null || _d === void 0 ? void 0 : _d.ENTITYNAME);
@@ -49883,7 +50486,7 @@ class SelectionHeader {
49883
50486
  }
49884
50487
 
49885
50488
  const buildEditorMetadata = (descriptor, eGridCell, dataUnit, editionManager) => {
49886
- return Object.assign(Object.assign({}, searchColumn.buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
50489
+ return Object.assign(Object.assign({}, DataBinder.buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
49887
50490
  };
49888
50491
 
49889
50492
  const MINIMIUM_WIDTH_TEXTAREA = 210;
@@ -50154,7 +50757,7 @@ class EzGridCustomCellEditor extends EzCellEditor {
50154
50757
  charPress: params.charPress,
50155
50758
  currentEditor: this._defaultGui,
50156
50759
  name: this._fieldName,
50157
- source: FormLayout.CustomEditorSource.GRID,
50760
+ source: types.CustomEditorSource.GRID,
50158
50761
  detailContext: params.customEditorsInfo.detailContext,
50159
50762
  setValue: (value) => this.setValue(value),
50160
50763
  getValue: () => this.getValue(),
@@ -50261,7 +50864,7 @@ class EzGridCustomCellRender extends EzCellRender {
50261
50864
  charPress: '',
50262
50865
  currentRender: super.getGui(),
50263
50866
  name: this._fieldName,
50264
- source: FormLayout.CustomRenderSource.GRID,
50867
+ source: types.CustomRenderSource.GRID,
50265
50868
  getValue: () => params.getValue(),
50266
50869
  detailContext: params.customRendersInfo.detailContext,
50267
50870
  renderMetadata: {
@@ -50291,7 +50894,7 @@ class GridEditionManager {
50291
50894
  constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders, enableContinuousInsert, enableGridInsert, lockerId) {
50292
50895
  this._inProgressChanges = [];
50293
50896
  this._dataUnit = dataUnit;
50294
- this._recordValidationProcessor = new searchColumn.RecordValidationProcessor(this._dataUnit, {
50897
+ this._recordValidationProcessor = new DataBinder.RecordValidationProcessor(this._dataUnit, {
50295
50898
  getRequiredFields: () => this.getRequiredFields(),
50296
50899
  markAsInvalid: (invalidField, recordId) => { this.pushInvalidCell(invalidField, recordId); },
50297
50900
  getMessageForField: () => null,
@@ -50511,7 +51114,7 @@ class GridEditionManager {
50511
51114
  }
50512
51115
  getFormRequiredFields() {
50513
51116
  const formRequiredFields = [];
50514
- const dataBinders = searchColumn.DataBinder.getDataBindersByDataUnit(this._dataUnit);
51117
+ const dataBinders = DataBinder.DataBinder.getDataBindersByDataUnit(this._dataUnit);
50515
51118
  dataBinders.forEach(dataBinder => {
50516
51119
  formRequiredFields.push(...dataBinder.getFormRequiredFields());
50517
51120
  });
@@ -51483,10 +52086,12 @@ var RangeService = /** @class */ (function (_super) {
51483
52086
  var isSameColumn = columnFrom === columnTo;
51484
52087
  var fromIndex = allColumns.indexOf(columnFrom);
51485
52088
  if (fromIndex < 0) {
52089
+ console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
51486
52090
  return;
51487
52091
  }
51488
52092
  var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
51489
52093
  if (toIndex < 0) {
52094
+ console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
51490
52095
  return;
51491
52096
  }
51492
52097
  if (isSameColumn) {
@@ -52421,10 +53026,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
52421
53026
  };
52422
53027
  ServerSideRowModel.prototype.verifyProps = function () {
52423
53028
  if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
52424
- _.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
53029
+ 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.";
53030
+ _.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
52425
53031
  }
52426
53032
  if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
52427
- _.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
53033
+ var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
53034
+ _.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
52428
53035
  }
52429
53036
  };
52430
53037
  ServerSideRowModel.prototype.setDatasource = function (datasource) {
@@ -52974,6 +53581,11 @@ var BlockUtils = /** @class */ (function (_super) {
52974
53581
  rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
52975
53582
  if (rowNode.key === null || rowNode.key === undefined) {
52976
53583
  _.doOnce(function () {
53584
+ console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
53585
+ if (rowNode.rowGroupColumn) {
53586
+ console.warn("column = " + rowNode.rowGroupColumn.getId());
53587
+ }
53588
+ console.warn("data is ", rowNode.data);
52977
53589
  }, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
52978
53590
  }
52979
53591
  };
@@ -53090,6 +53702,7 @@ var BlockUtils = /** @class */ (function (_super) {
53090
53702
  var bottomPointer = 0;
53091
53703
  var topPointer = rowNodes.length - 1;
53092
53704
  if (_.missing(topPointer) || _.missing(bottomPointer)) {
53705
+ console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
53093
53706
  return undefined;
53094
53707
  }
53095
53708
  while (true) {
@@ -53118,6 +53731,7 @@ var BlockUtils = /** @class */ (function (_super) {
53118
53731
  topPointer = midPointer - 1;
53119
53732
  }
53120
53733
  else {
53734
+ console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
53121
53735
  return undefined;
53122
53736
  }
53123
53737
  }
@@ -53233,6 +53847,11 @@ var NodeManager = /** @class */ (function () {
53233
53847
  }
53234
53848
  NodeManager.prototype.addRowNode = function (rowNode) {
53235
53849
  var id = rowNode.id;
53850
+ if (this.rowNodes[id]) {
53851
+ 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.");
53852
+ console.warn('first instance', this.rowNodes[id].data);
53853
+ console.warn('second instance', rowNode.data);
53854
+ }
53236
53855
  this.rowNodes[id] = rowNode;
53237
53856
  };
53238
53857
  NodeManager.prototype.removeNode = function (rowNode) {
@@ -54164,7 +54783,8 @@ var InfiniteStore = /** @class */ (function (_super) {
54164
54783
  Object.assign(this.info, info);
54165
54784
  }
54166
54785
  if (!params.rowData) {
54167
- _.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
54786
+ 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.';
54787
+ _.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
54168
54788
  }
54169
54789
  var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
54170
54790
  // if we are not active, then we ignore all events, otherwise we could end up getting the
@@ -54923,7 +55543,8 @@ var FullStore = /** @class */ (function (_super) {
54923
55543
  this.nodesAfterFilter = [];
54924
55544
  this.allNodesMap = {};
54925
55545
  if (!params.rowData) {
54926
- _.doOnce(function () { return (void 0); }, 'FullStore.noData');
55546
+ 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.';
55547
+ _.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
54927
55548
  }
54928
55549
  this.createOrRecycleNodes(nodesToRecycle, params.rowData);
54929
55550
  if (nodesToRecycle) {
@@ -55298,6 +55919,7 @@ var FullStore = /** @class */ (function (_super) {
55298
55919
  });
55299
55920
  rowNode = this.allNodesMap[id];
55300
55921
  if (!rowNode) {
55922
+ console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
55301
55923
  return null;
55302
55924
  }
55303
55925
  }
@@ -55305,6 +55927,7 @@ var FullStore = /** @class */ (function (_super) {
55305
55927
  // find rowNode using object references
55306
55928
  rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
55307
55929
  if (!rowNode) {
55930
+ console.error("AG Grid: could not find data item as object was not found", data);
55308
55931
  return null;
55309
55932
  }
55310
55933
  }
@@ -55452,11 +56075,15 @@ var StoreFactory = /** @class */ (function () {
55452
56075
  return undefined;
55453
56076
  }
55454
56077
  if (ssrmParams.dynamicRowHeight) {
55455
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
56078
+ var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
56079
+ 'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
56080
+ _.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
55456
56081
  return undefined;
55457
56082
  }
55458
56083
  if (this.columnModel.isAutoRowHeightActive()) {
55459
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
56084
+ var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
56085
+ 'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
56086
+ _.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
55460
56087
  return undefined;
55461
56088
  }
55462
56089
  return maxBlocksInCache;
@@ -55684,6 +56311,7 @@ var Downloader = /** @class */ (function () {
55684
56311
  Downloader.download = function (fileName, content) {
55685
56312
  var win = document.defaultView || window;
55686
56313
  if (!win) {
56314
+ console.warn('AG Grid: There is no `window` associated with the current `document`');
55687
56315
  return;
55688
56316
  }
55689
56317
  var element = document.createElement('a');
@@ -55817,6 +56445,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
55817
56445
  stringValue = value.toString();
55818
56446
  }
55819
56447
  else {
56448
+ console.warn('AG Grid: unknown value type during csv conversion');
55820
56449
  stringValue = '';
55821
56450
  }
55822
56451
  // replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
@@ -55871,6 +56500,7 @@ var CsvCreator = /** @class */ (function (_super) {
55871
56500
  };
55872
56501
  CsvCreator.prototype.export = function (userParams) {
55873
56502
  if (this.isExportSuppressed()) {
56503
+ console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
55874
56504
  return '';
55875
56505
  }
55876
56506
  var mergedParams = this.getMergedParams(userParams);
@@ -55990,7 +56620,7 @@ var GridSerializer = /** @class */ (function (_super) {
55990
56620
  var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
55991
56621
  var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
55992
56622
  if (skipRowGroups && params.skipGroups) {
55993
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
56623
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
55994
56624
  }
55995
56625
  if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
55996
56626
  (params.onlySelected && !node.isSelected()) ||
@@ -56024,7 +56654,7 @@ var GridSerializer = /** @class */ (function (_super) {
56024
56654
  var appendContent = params.customFooter || params.appendContent;
56025
56655
  if (appendContent) {
56026
56656
  if (params.customFooter) {
56027
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
56657
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
56028
56658
  }
56029
56659
  gridSerializingSession.addCustomContent(appendContent);
56030
56660
  }
@@ -56036,7 +56666,7 @@ var GridSerializer = /** @class */ (function (_super) {
56036
56666
  var prependContent = params.customHeader || params.prependContent;
56037
56667
  if (prependContent) {
56038
56668
  if (params.customHeader) {
56039
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
56669
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
56040
56670
  }
56041
56671
  gridSerializingSession.addCustomContent(prependContent);
56042
56672
  }
@@ -56058,7 +56688,7 @@ var GridSerializer = /** @class */ (function (_super) {
56058
56688
  _this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
56059
56689
  }
56060
56690
  else if (params.columnGroups) {
56061
- _.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
56691
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
56062
56692
  }
56063
56693
  return gridSerializingSession;
56064
56694
  };
@@ -56072,7 +56702,7 @@ var GridSerializer = /** @class */ (function (_super) {
56072
56702
  });
56073
56703
  }
56074
56704
  else if (params.skipHeader) {
56075
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
56705
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
56076
56706
  }
56077
56707
  return gridSerializingSession;
56078
56708
  };
@@ -56320,6 +56950,12 @@ var ClipboardService = /** @class */ (function (_super) {
56320
56950
  .then(this.processClipboardData.bind(this))
56321
56951
  .catch(function (e) {
56322
56952
  _.doOnce(function () {
56953
+ console.warn(e);
56954
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
56955
+ 'The reason why it could not be used has been logged in the previous line. ' +
56956
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
56957
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
56958
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
56323
56959
  }, 'clipboardApiError');
56324
56960
  _this.navigatorApiFailed = true;
56325
56961
  _this.pasteFromClipboardLegacy();
@@ -56846,6 +57482,12 @@ var ClipboardService = /** @class */ (function (_super) {
56846
57482
  if (allowNavigator && navigator.clipboard) {
56847
57483
  navigator.clipboard.writeText(data).catch(function (e) {
56848
57484
  _.doOnce(function () {
57485
+ console.warn(e);
57486
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
57487
+ 'The reason why it could not be used has been logged in the previous line. ' +
57488
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
57489
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
57490
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
56849
57491
  }, 'clipboardApiError');
56850
57492
  _this.copyDataToClipboardLegacy(data);
56851
57493
  });
@@ -56862,7 +57504,12 @@ var ClipboardService = /** @class */ (function (_super) {
56862
57504
  element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
56863
57505
  element.select();
56864
57506
  element.focus({ preventScroll: true });
56865
- eDocument.execCommand('copy');
57507
+ var result = eDocument.execCommand('copy');
57508
+ if (!result) {
57509
+ console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
57510
+ 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
57511
+ 'the browser will prevent it for security reasons.');
57512
+ }
56866
57513
  if (focusedElementBefore != null && focusedElementBefore.focus != null) {
56867
57514
  focusedElementBefore.focus({ preventScroll: true });
56868
57515
  }
@@ -56886,6 +57533,7 @@ var ClipboardService = /** @class */ (function (_super) {
56886
57533
  callbackNow(eTempInput);
56887
57534
  }
56888
57535
  catch (err) {
57536
+ console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
56889
57537
  }
56890
57538
  //It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
56891
57539
  if (callbackAfter) {
@@ -58158,6 +58806,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
58158
58806
  return false;
58159
58807
  };
58160
58808
  ToolPanelColumnComp.prototype.setExpanded = function (value) {
58809
+ console.warn('AG Grid: can not expand a column item that does not represent a column group header');
58161
58810
  };
58162
58811
  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>";
58163
58812
  __decorate$q([
@@ -58452,7 +59101,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
58452
59101
  expandedGroupIds.push(groupId);
58453
59102
  }
58454
59103
  });
58455
- groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59104
+ var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59105
+ if (unrecognisedGroupIds.length > 0) {
59106
+ console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
59107
+ }
58456
59108
  };
58457
59109
  PrimaryColsListPanel.prototype.getExpandState = function () {
58458
59110
  var expandedCount = 0;
@@ -58846,6 +59498,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
58846
59498
  this.aggFuncService.getAggFunc(aggFuncOrString) :
58847
59499
  aggFuncOrString;
58848
59500
  if (typeof aggFunc !== 'function') {
59501
+ console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
58849
59502
  return null;
58850
59503
  }
58851
59504
  var aggFuncAny = aggFunc;
@@ -59372,6 +60025,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59372
60025
  GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
59373
60026
  var path = this.getGroupInfo(childNode, details);
59374
60027
  var parentGroup = this.findParentForNode(childNode, path, details);
60028
+ if (!parentGroup.group) {
60029
+ console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
60030
+ }
59375
60031
  if (this.usingTreeData) {
59376
60032
  this.swapGroupWithUserNode(parentGroup, childNode, isMove);
59377
60033
  }
@@ -59509,7 +60165,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59509
60165
  GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
59510
60166
  var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
59511
60167
  if (keys === null || keys === undefined || keys.length === 0) {
59512
- _.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
60168
+ _.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
59513
60169
  }
59514
60170
  var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
59515
60171
  return keys ? keys.map(groupInfoMapper) : [];
@@ -62234,6 +62890,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
62234
62890
  var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
62235
62891
  var componentPromise = compDetails.newAgStackInstance();
62236
62892
  if (componentPromise == null) {
62893
+ console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
62237
62894
  return;
62238
62895
  }
62239
62896
  componentPromise.then(this.setToolPanelComponent.bind(this));
@@ -62428,6 +63085,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62428
63085
  var _this = this;
62429
63086
  defs.forEach(function (def) {
62430
63087
  if (def.id == null) {
63088
+ console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
62431
63089
  return;
62432
63090
  }
62433
63091
  // helpers, in case user doesn't have the right module loaded
@@ -62473,6 +63131,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62473
63131
  SideBarComp.prototype.getToolPanelInstance = function (key) {
62474
63132
  var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
62475
63133
  if (!toolPanelWrapper) {
63134
+ console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
62476
63135
  return;
62477
63136
  }
62478
63137
  return toolPanelWrapper.getToolPanelInstance();
@@ -62558,6 +63217,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62558
63217
  }
62559
63218
  ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
62560
63219
  var _this = this;
63220
+ var invalidColIds = [];
62561
63221
  var createDummyColGroup = function (abstractColDef, depth) {
62562
63222
  if (_this.isColGroupDef(abstractColDef)) {
62563
63223
  // creating 'dummy' group which is not associated with grid column group
@@ -62579,6 +63239,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62579
63239
  var colDef = abstractColDef;
62580
63240
  var key = colDef.colId ? colDef.colId : colDef.field;
62581
63241
  var column = _this.columnModel.getPrimaryColumn(key);
63242
+ if (!column) {
63243
+ invalidColIds.push(colDef);
63244
+ }
62582
63245
  return column;
62583
63246
  }
62584
63247
  };
@@ -62590,6 +63253,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62590
63253
  mappedResults.push(result);
62591
63254
  }
62592
63255
  });
63256
+ if (invalidColIds.length > 0) {
63257
+ console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
63258
+ }
62593
63259
  return mappedResults;
62594
63260
  };
62595
63261
  ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
@@ -63144,10 +63810,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
63144
63810
  };
63145
63811
  EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
63146
63812
  var isValid = true;
63813
+ var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
63147
63814
  if (this.restrictTo != null) {
63148
63815
  isValid = this.restrictTo.indexOf(menuTabName) > -1;
63816
+ itemsToConsider = this.restrictTo;
63149
63817
  }
63150
63818
  isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
63819
+ if (!isValid) {
63820
+ console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
63821
+ }
63151
63822
  return isValid;
63152
63823
  };
63153
63824
  EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
@@ -63858,6 +64529,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
63858
64529
  return chartMenuItem;
63859
64530
  }
63860
64531
  else {
64532
+ console.warn("AG Grid: unknown menu item type " + key);
63861
64533
  return null;
63862
64534
  }
63863
64535
  }
@@ -64171,6 +64843,54 @@ function _0x15c2(_0x353a9c, _0x3e4a5a) { const _0x53e110 = _0x53e1(); return _0x
64171
64843
  } }(_0x53e1, 0xe8676));
64172
64844
  const agGridLicense = _0xc7632f(0x18c);
64173
64845
 
64846
+ const BUILTIN_AGG_FUNCS = {
64847
+ "sum": (params) => params.values.reduce((a, b) => Number(a !== null && a !== void 0 ? a : 0) + Number(b !== null && b !== void 0 ? b : 0), 0),
64848
+ avg: (params) => {
64849
+ const valid = params.values.filter(v => v != null && !Number.isNaN(v));
64850
+ return valid.length
64851
+ ? valid.reduce((a, b) => a + b, 0) / valid.length
64852
+ : null;
64853
+ },
64854
+ min: (params) => {
64855
+ const valid = params.values.filter(v => v != null && !Number.isNaN(v));
64856
+ return valid.length ? Math.min(...valid) : null;
64857
+ },
64858
+ max: (params) => Math.max(...params.values.filter(v => v != null && !Number.isNaN(v))),
64859
+ count: (params) => params.values.filter(v => v != null).length
64860
+ };
64861
+ function resolveAggFunc(aggFunc) {
64862
+ if (typeof aggFunc === 'function')
64863
+ return aggFunc;
64864
+ const fn = BUILTIN_AGG_FUNCS[aggFunc];
64865
+ if (!fn) {
64866
+ throw new Error(`aggFunc "${aggFunc}" não suportada`);
64867
+ }
64868
+ return fn;
64869
+ }
64870
+
64871
+ /**
64872
+ * Larguras padrão das colunas do grid por tipo de UserInterface
64873
+ */
64874
+ const GRID_COLUMN_DEFAULT_WIDTHS = {
64875
+ [core.UserInterface.SEARCH]: 200,
64876
+ [core.UserInterface.SEARCHPLUS]: 100,
64877
+ [core.UserInterface.DATE]: 120,
64878
+ [core.UserInterface.DATETIME]: 160,
64879
+ [core.UserInterface.TIME]: 100,
64880
+ [core.UserInterface.ELAPSEDTIME]: 100,
64881
+ [core.UserInterface.DECIMALNUMBER]: 130,
64882
+ [core.UserInterface.INTEGERNUMBER]: 120,
64883
+ [core.UserInterface.SWITCH]: 80,
64884
+ [core.UserInterface.FILE]: 100,
64885
+ [core.UserInterface.HTML]: 200,
64886
+ [core.UserInterface.LONGTEXT]: 200,
64887
+ [core.UserInterface.CHECKBOX]: 80,
64888
+ [core.UserInterface.OPTIONSELECTOR]: 100,
64889
+ [core.UserInterface.SHORTTEXT]: 200,
64890
+ [core.UserInterface.PASSWORD]: 100,
64891
+ [core.UserInterface.MASKEDTEXT]: 100,
64892
+ };
64893
+
64174
64894
  class AgGridController {
64175
64895
  configFilterColumn(filterColumn) {
64176
64896
  this._filterColumn = filterColumn;
@@ -64196,12 +64916,13 @@ class AgGridController {
64196
64916
  this.DEFAULT_HEADER_ROW_HEIGHT = 32;
64197
64917
  this.CHECK_BOX_COL_ID = 'checkBoxColumn';
64198
64918
  this.STATUS_COL_ID = 'statusColumn';
64919
+ this.COLUMN_FOOTER_OPER = 'gridFooterOper';
64199
64920
  this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
64200
64921
  this.BLOCK_LOAD_DEBOUNCE = 100;
64201
- this.DEFAULT_FONT_SIZE = 14;
64922
+ this.DEFAULT_FONT_SIZE = 8;
64202
64923
  this.DEFAULT_FONT_SIZE_HTML5 = 32;
64203
- this.DEFAULT_ICON_SIZE = 12;
64204
- this.DEFAULT_MAX_SIZE = 200;
64924
+ this.DEFAULT_ICON_SIZE = 40;
64925
+ this.DEFAULT_MAX_SIZE = 300;
64205
64926
  this.MULTI_VALUES_PROP = '__multiValues';
64206
64927
  this.WHEEL_LINE_HEIGHT = 40;
64207
64928
  this.HORIZONTAL_SCROLL_VIEWPORT_SELECTOR = '.ag-body-horizontal-scroll-viewport';
@@ -64214,6 +64935,9 @@ class AgGridController {
64214
64935
  this._gridShowDom = false;
64215
64936
  this.peddingExecutionsOnGridShow = [];
64216
64937
  this._lastColsConfig = undefined;
64938
+ this._pinnedBottomDebounceTimer = null;
64939
+ this._pinnedBottomDebounceDelay = 150;
64940
+ this._pinnedBottomPendingArgs = null;
64217
64941
  ModuleRegistry.registerModules([
64218
64942
  EnterpriseCoreModule,
64219
64943
  RangeSelectionModule,
@@ -64425,6 +65149,90 @@ class AgGridController {
64425
65149
  this.observer.observe(container);
64426
65150
  }
64427
65151
  }
65152
+ onGridReady(evt) {
65153
+ var _a;
65154
+ this._bottomPinnedRowSubscriber = async (action) => {
65155
+ if (action.type === core.Action.DATA_LOADED || action.type === core.Action.PAGINATION_UPDATED) {
65156
+ this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
65157
+ }
65158
+ };
65159
+ (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.subscribe(this._bottomPinnedRowSubscriber);
65160
+ }
65161
+ scheduleSetPinnedBottomRow(api, columnApi) {
65162
+ if (!api || !columnApi)
65163
+ return;
65164
+ // atualiza args pendentes
65165
+ this._pinnedBottomPendingArgs = { api, columnApi };
65166
+ // limpa timer anterior
65167
+ if (this._pinnedBottomDebounceTimer != null) {
65168
+ window.clearTimeout(this._pinnedBottomDebounceTimer);
65169
+ }
65170
+ // agenda execução
65171
+ this._pinnedBottomDebounceTimer = window.setTimeout(async () => {
65172
+ this._pinnedBottomDebounceTimer = null;
65173
+ const args = this._pinnedBottomPendingArgs;
65174
+ this._pinnedBottomPendingArgs = null;
65175
+ if (!args)
65176
+ return;
65177
+ try {
65178
+ await this.setPinnedBottomRow(args.api, args.columnApi);
65179
+ }
65180
+ catch (err) {
65181
+ console.error('Erro em setPinnedBottomRow debounced:', err);
65182
+ }
65183
+ }, this._pinnedBottomDebounceDelay);
65184
+ }
65185
+ async setPinnedBottomRow(api, columnApi) {
65186
+ const paginationInfo = this._dataUnit.getPaginationInfo();
65187
+ const loadingInProgress = paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.loadingInProgress;
65188
+ if (!api || !columnApi || loadingInProgress)
65189
+ return;
65190
+ const columns = columnApi.getAllGridColumns();
65191
+ const columnsWithAgg = columns.filter(col => col.getColDef().aggFunc);
65192
+ if (columnsWithAgg.length === 0)
65193
+ return;
65194
+ const accumulators = new Map();
65195
+ columnsWithAgg.forEach(col => {
65196
+ const colId = col.getColId();
65197
+ accumulators.set(colId, { values: [], aggFunc: col.getColDef().aggFunc });
65198
+ });
65199
+ const recordsToAggregate = await this.getAllRecordsToAggregate();
65200
+ recordsToAggregate.forEach(record => {
65201
+ columnsWithAgg.forEach(col => {
65202
+ const colId = col.getColId();
65203
+ const value = record[colId];
65204
+ if (value != null) {
65205
+ accumulators.get(colId).values.push(value);
65206
+ }
65207
+ });
65208
+ });
65209
+ const totalRow = {};
65210
+ accumulators.forEach((acc, colId) => {
65211
+ try {
65212
+ const aggFn = resolveAggFunc(acc.aggFunc);
65213
+ totalRow[colId] = aggFn({ values: acc.values });
65214
+ }
65215
+ catch (error) {
65216
+ console.error(`Erro ao calcular agregação para coluna ${colId}:`, error);
65217
+ totalRow[colId] = null;
65218
+ }
65219
+ });
65220
+ const hasData = Object.values(totalRow).some(value => value !== null && value !== undefined && value !== 0 && !Number.isNaN(value));
65221
+ if (hasData) {
65222
+ api.setPinnedBottomRowData([totalRow]);
65223
+ }
65224
+ }
65225
+ async getAllRecordsToAggregate() {
65226
+ var _a, _b;
65227
+ if ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.allRecordsLoader) {
65228
+ return this._dataUnit.allRecordsLoader(this._dataUnit);
65229
+ }
65230
+ const paginationInfo = this._dataUnit.getPaginationInfo();
65231
+ if (!paginationInfo || !paginationInfo.total)
65232
+ return [];
65233
+ const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
65234
+ return (_b = response.records) !== null && _b !== void 0 ? _b : [];
65235
+ }
64428
65236
  /**
64429
65237
  * Habilita o scroll horizontal com a roda do mouse enquanto o ponteiro está sobre a grade.
64430
65238
  * O AG Grid usa uma barra horizontal "fake" e mantém o corpo sem overflow rolável no eixo X,
@@ -64640,6 +65448,8 @@ class AgGridController {
64640
65448
  opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
64641
65449
  opt.onDragStopped = evt => this.onCallStateChange('columnMovedEnd', evt);
64642
65450
  opt.onCellClicked = evt => this.onCellClicked(evt);
65451
+ opt.onGridReady = evt => this.onGridReady(evt);
65452
+ opt.onModelUpdated = async (evt) => this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
64643
65453
  }
64644
65454
  setOptionsSupress(opt) {
64645
65455
  opt.suppressDragLeaveHidesColumns = true;
@@ -65162,9 +65972,12 @@ class AgGridController {
65162
65972
  tooltip = this._i18n('ez-grid.columnCantBeOrder');
65163
65973
  }
65164
65974
  const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(constants.PRESENTATION_FROM_COL_PROP_NAME);
65975
+ const initialWidth = this.getInitialColumnWidth(source.userInterface, source.label);
65165
65976
  return this._editionManager.configureColumn({
65166
65977
  headerName: source.label,
65167
65978
  field: source.name,
65979
+ width: initialWidth,
65980
+ aggFunc: this.getAggFunc(source),
65168
65981
  sortable: propSortable,
65169
65982
  resizable: true,
65170
65983
  headerComponent: 'ezGridCustomHeader',
@@ -65206,6 +66019,10 @@ class AgGridController {
65206
66019
  editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(constants.PRESENTATION_FROM_COL_PROP_NAME))
65207
66020
  });
65208
66021
  }
66022
+ getAggFunc(column) {
66023
+ var _a, _b;
66024
+ return (_b = (_a = column.props) === null || _a === void 0 ? void 0 : _a.get(this.COLUMN_FOOTER_OPER)) !== null && _b !== void 0 ? _b : column.aggFunc;
66025
+ }
65209
66026
  setHTMLRender(params, source) {
65210
66027
  const htmlSanitized = purify.purify.sanitize(params.value);
65211
66028
  params.colDef.cellRenderer = (cellParams) => {
@@ -65328,12 +66145,13 @@ class AgGridController {
65328
66145
  }
65329
66146
  }
65330
66147
  onCallStateChange(type, e) {
66148
+ var _a, _b;
65331
66149
  const finished = !('finished' in e) || e['finished'];
65332
66150
  if (finished && this._columnStateChangeCallback) {
65333
66151
  let info = {};
65334
66152
  let isUserChange = this.isUIEvent(e['source'], e['type']);
65335
66153
  if (type === 'columnResize') {
65336
- info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
66154
+ info['column'] = { colId: (_a = e['column']) === null || _a === void 0 ? void 0 : _a.colId, actualWidth: (_b = e['column']) === null || _b === void 0 ? void 0 : _b.actualWidth };
65337
66155
  }
65338
66156
  info['isUserChange'] = isUserChange;
65339
66157
  info['isElementResize'] = this.isElementResize(e);
@@ -65486,6 +66304,22 @@ class AgGridController {
65486
66304
  this._container.removeEventListener('wheel', this._horizontalWheelHandler);
65487
66305
  }
65488
66306
  (_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
66307
+ this.handleDestroyBottomPinnedRowSubscriber();
66308
+ this.handleDestroySetBottomPinnedRowDebounce();
66309
+ }
66310
+ handleDestroyBottomPinnedRowSubscriber() {
66311
+ var _a;
66312
+ if (this._bottomPinnedRowSubscriber) {
66313
+ (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._bottomPinnedRowSubscriber);
66314
+ this._bottomPinnedRowSubscriber = null;
66315
+ }
66316
+ }
66317
+ handleDestroySetBottomPinnedRowDebounce() {
66318
+ if (this._pinnedBottomDebounceTimer != null) {
66319
+ clearTimeout(this._pinnedBottomDebounceTimer);
66320
+ this._pinnedBottomDebounceTimer = null;
66321
+ this._pinnedBottomPendingArgs = null;
66322
+ }
65489
66323
  }
65490
66324
  registryListeners() {
65491
66325
  var _a;
@@ -65514,10 +66348,21 @@ class AgGridController {
65514
66348
  }
65515
66349
  const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
65516
66350
  const label = (_b = field === null || field === void 0 ? void 0 : field.label) !== null && _b !== void 0 ? _b : (_f = (_e = (_d = (_c = this._gridOptions) === null || _c === void 0 ? void 0 : _c.columnApi) === null || _d === void 0 ? void 0 : _d.getColumn(cfgColumn.name)) === null || _e === void 0 ? void 0 : _e.getColDef()) === null || _f === void 0 ? void 0 : _f.headerName;
65517
- if ((field === null || field === void 0 ? void 0 : field.userInterface) === core.UserInterface.SEARCH) {
65518
- return this.DEFAULT_MAX_SIZE;
66351
+ return this.getInitialColumnWidth(field === null || field === void 0 ? void 0 : field.userInterface, label);
66352
+ }
66353
+ getInitialColumnWidth(userInterface, label) {
66354
+ const columnWidthByLabel = this.getColumnWidthByLabel(label);
66355
+ const defaultWidth = this.getDefaultWidthByUserInterface(userInterface);
66356
+ if (!defaultWidth) {
66357
+ return columnWidthByLabel;
66358
+ }
66359
+ return Math.max(defaultWidth, columnWidthByLabel);
66360
+ }
66361
+ getDefaultWidthByUserInterface(userInterface) {
66362
+ if (!userInterface) {
66363
+ return undefined;
65519
66364
  }
65520
- return this.getColumnWidthByLabel(label);
66365
+ return GRID_COLUMN_DEFAULT_WIDTHS[userInterface];
65521
66366
  }
65522
66367
  getColumnWidthByLabel(label) {
65523
66368
  const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
@@ -65711,7 +66556,7 @@ class InMemoryFilterColumnDataSource {
65711
66556
  }
65712
66557
  }
65713
66558
 
65714
- const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color);border:var(--border--small) var(--color--strokes);border-radius:var(--border--radius-small)}.grid__container.no-scroll.sc-ez-grid{width:100vw}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}.grid-header__pagination.sc-ez-grid{justify-content:flex-end;flex-wrap:nowrap;flex-shrink:1;flex-grow:1}.grid-header__pagination-label.sc-ez-grid{width:100%;white-space:nowrap}.overflowed.sc-ez-grid{display:none}.pagination-contracted.sc-ez-grid{width:100px}.pagination-expanded.sc-ez-grid{min-width:150px}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium);box-shadow:var(--shadow--small)}.cancel-pagination.sc-ez-grid{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;padding:8px;width:180px}.cancel-pagination-btn.sc-ez-grid{color:var(--color--error);font-size:var(--text--medium);font-weight:var(--text-weight--large);font-family:var(--font-pattern, Roboto);text-wrap:nowrap;cursor:pointer}.spin.sc-ez-grid{animation-name:spin;animation-duration:5000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}";
66559
+ const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;background-color:var(--ez-grid__header--background-color);border-radius:var(--border--radius-12, 12px) var(--border--radius-12, 12px) 0 0}.grid__container.no-scroll.sc-ez-grid{width:100vw}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0;border:none;box-shadow:none;outline:none}.overflowed.sc-ez-grid{display:none}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0px 0px var(--border--radius-medium) var(--border--radius-medium)}";
65715
66560
 
65716
66561
  const windowInstace = window;
65717
66562
  const matches = (text, filter) => {
@@ -65764,6 +66609,7 @@ const EzGrid = class {
65764
66609
  this.useSearchColumn = true;
65765
66610
  this.suppressHorizontalScroll = false;
65766
66611
  this.mode = "complete";
66612
+ this.hidePagination = false;
65767
66613
  }
65768
66614
  /**
65769
66615
  * Aplica a definição de colunas.
@@ -65913,26 +66759,17 @@ const EzGrid = class {
65913
66759
  return;
65914
66760
  this._gridController.stopEdit();
65915
66761
  }
66762
+ /**
66763
+ * Manipula a mudança de página da grid.
66764
+ */
66765
+ async handlePageChange() {
66766
+ this.resetPaginationState();
66767
+ this._gridController.setFocusFirstRow();
66768
+ this.ezPageChangedChanged.emit();
66769
+ }
65916
66770
  observeConfig(config) {
65917
66771
  this._gridController.setColumnsState(config === null || config === void 0 ? void 0 : config.columns);
65918
66772
  }
65919
- updatePaginationTooltip() {
65920
- this.handleShowCancelPagination();
65921
- if (!this._refPaginationLabelTooltip)
65922
- return;
65923
- const alreadyDefined = this._refPaginationLabelTooltip.getAttribute('data-tooltip');
65924
- if (alreadyDefined) {
65925
- this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
65926
- }
65927
- }
65928
- observePaginationCounterMode(newValue) {
65929
- if (newValue === 'hidden') {
65930
- this._hidePaginationDescription();
65931
- }
65932
- if (newValue === 'show') {
65933
- this._showPaginationDescription();
65934
- }
65935
- }
65936
66773
  async observeModeChange(newMode = this.mode) {
65937
66774
  if (newMode === "simple") {
65938
66775
  this.canEdit = false;
@@ -66095,23 +66932,6 @@ const EzGrid = class {
66095
66932
  core.ElementIDUtils.addIDInfo(this._refPaginationControl, 'pagination', dtInfo);
66096
66933
  }
66097
66934
  }
66098
- handlePageChange() {
66099
- this.resetPaginationState();
66100
- this._gridController.setFocusFirstRow();
66101
- this.ezPageChangedChanged.emit();
66102
- }
66103
- previousPage() {
66104
- if (this.dataUnit) {
66105
- this.dataUnit.previousPage()
66106
- .then(() => this.handlePageChange());
66107
- }
66108
- }
66109
- nextPage() {
66110
- if (this.dataUnit) {
66111
- this.dataUnit.nextPage()
66112
- .then(() => this.handlePageChange());
66113
- }
66114
- }
66115
66935
  nextRecord() {
66116
66936
  if (this.dataUnit) {
66117
66937
  if (this.dataUnit.getSelectionInfo().records.length === 0) {
@@ -66131,38 +66951,6 @@ const EzGrid = class {
66131
66951
  this._paginationChangedByKeyboard = false;
66132
66952
  (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.resetPaginationState();
66133
66953
  }
66134
- resolvePaginationClassMode() {
66135
- if (this.shouldPresentPaginationLabel())
66136
- return "pagination-expanded";
66137
- return "pagination-contracted";
66138
- }
66139
- async handleCancelPagination() {
66140
- var _a;
66141
- this.dataUnit.cancelPagination = true;
66142
- await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
66143
- }
66144
- renderCancelPagination() {
66145
- return (index$1.h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, index$1.h("div", { class: 'cancel-pagination' }, index$1.h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), index$1.h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, this.i18n("ez-grid.cancelPagination")))));
66146
- }
66147
- handleShowCancelPagination() {
66148
- var _a, _b, _c;
66149
- if (!this._hasToShowCancelPagination()) {
66150
- (_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide();
66151
- return;
66152
- }
66153
- if ((_b = this._cancelPaginationPopoverElement) === null || _b === void 0 ? void 0 : _b.opened)
66154
- return;
66155
- (_c = this._cancelPaginationPopoverElement) === null || _c === void 0 ? void 0 : _c.show("15px");
66156
- }
66157
- getPaginationControl() {
66158
- if (!this._paginationInfo)
66159
- return null;
66160
- const { currentPage, hasMore } = this._paginationInfo;
66161
- return (index$1.h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), index$1.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, index$1.h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && index$1.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), index$1.h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, index$1.h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: this.i18n("ez-grid.previousPage") }), index$1.h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: this.i18n("ez-grid.nextPage") }))));
66162
- }
66163
- shouldPresentPaginationLabel() {
66164
- return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
66165
- }
66166
66954
  componentDidLoad() {
66167
66955
  const _application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
66168
66956
  this.enableLockManagerLoadingComp = (!_application || (_application === null || _application === void 0 ? void 0 : _application.enableLockManagerLoadingApp)) ? this.enableLockManagerLoadingComp : false;
@@ -66227,76 +67015,9 @@ const EzGrid = class {
66227
67015
  }
66228
67016
  this._paginationInfo = paginationInfo;
66229
67017
  }
66230
- _getActualPageLabel() {
66231
- const { firstRecord, lastRecord } = this._paginationInfo;
66232
- return `${firstRecord}-${lastRecord}`;
66233
- }
66234
- _getRemainingPageLabel() {
66235
- const { total, count } = this._paginationInfo;
66236
- return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
66237
- }
66238
- _hasToShowCancelPagination() {
66239
- var _a;
66240
- const { total, count } = (_a = this._paginationInfo) !== null && _a !== void 0 ? _a : {};
66241
- const hasMore = (total === undefined);
66242
- return !this.dataUnit.cancelPagination && hasMore && count > this.dataUnit.pageSize;
66243
- }
66244
- _getPaginationTooltip() {
66245
- return this._getActualPageLabel() + this._getRemainingPageLabel();
66246
- }
66247
- _initHeaderOverflowWatcher() {
66248
- var _a;
66249
- (_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
66250
- if (this._refPaginationControl)
66251
- this._headerOverflowWatcher = new core.OverflowWatcher(this.buildOverFlowWatcherParams());
66252
- }
66253
- buildOverFlowWatcherParams() {
66254
- return {
66255
- element: this._refPaginationControl,
66256
- callback: this.handleOverFlow.bind(this),
66257
- notOverFlow: ["grid-pagination-tooltip"]
66258
- };
66259
- }
66260
- handleOverFlow() {
66261
- if (!this._refPaginationLabel || !this._refPaginationControl)
66262
- return;
66263
- const controlWidth = this._refPaginationControl.clientWidth;
66264
- const labelWidth = this._refPaginationLabel.scrollWidth;
66265
- const buttonsElement = this._refPaginationControl.querySelector('#grid-pagination-tooltip');
66266
- const buttonsWidth = (buttonsElement === null || buttonsElement === void 0 ? void 0 : buttonsElement.clientWidth) || 0;
66267
- const totalMargins = this._getElementMargins(this._refPaginationLabel) + (buttonsElement ? this._getElementMargins(buttonsElement) : 0);
66268
- const paginationWidthWithoutDescription = labelWidth + buttonsWidth + totalMargins;
66269
- const paginationWidthWithDescription = paginationWidthWithoutDescription + this._getPaginationDescriptionWidth();
66270
- if (controlWidth > paginationWidthWithDescription) {
66271
- this._showPaginationDescription();
66272
- }
66273
- else if (controlWidth <= paginationWidthWithoutDescription) {
66274
- this._hidePaginationDescription();
66275
- }
66276
- }
66277
- _getPaginationDescriptionWidth() {
66278
- var _a;
66279
- return ((_a = this._refPaginationLabelTooltip) === null || _a === void 0 ? void 0 : _a.scrollWidth) || 0;
66280
- }
66281
- _getElementMargins(element) {
66282
- const style = getComputedStyle(element);
66283
- return parseFloat(style.marginLeft) + parseFloat(style.marginRight);
66284
- }
66285
- _hidePaginationDescription() {
66286
- this._refPaginationLabel.classList.add(core.OVERFLOWED_CLASS_NAME);
66287
- this._refPaginationLabelTooltip.setAttribute('data-flow', 'bottom');
66288
- this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
66289
- }
66290
- ;
66291
- _showPaginationDescription() {
66292
- this._refPaginationLabel.classList.remove(core.OVERFLOWED_CLASS_NAME);
66293
- this._refPaginationLabelTooltip.removeAttribute('data-flow');
66294
- this._refPaginationLabelTooltip.removeAttribute('data-tooltip');
66295
- }
66296
67018
  disconnectedCallback() {
66297
- var _a, _b;
66298
- (_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
66299
- (_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
67019
+ var _a;
67020
+ (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.destroy();
66300
67021
  this.removeShortcuts();
66301
67022
  }
66302
67023
  connectedCallback() {
@@ -66325,8 +67046,6 @@ const EzGrid = class {
66325
67046
  if (this.dataUnit && this._showSelectionCounter) {
66326
67047
  this.setSelection(this.dataUnit.getSelectionInfo());
66327
67048
  }
66328
- if (this.paginationCounterMode === 'auto')
66329
- this._initHeaderOverflowWatcher();
66330
67049
  }
66331
67050
  getDataSource() {
66332
67051
  if (!this.columnfilterDataSource) {
@@ -66338,7 +67057,7 @@ const EzGrid = class {
66338
67057
  if (this.mode === "simple") {
66339
67058
  return true;
66340
67059
  }
66341
- return !this._hasLeftButtons && !this._paginationInfo;
67060
+ return !this._hasLeftButtons;
66342
67061
  }
66343
67062
  resolveLeftHeaderClass() {
66344
67063
  if (this.paginationCounterMode == 'show')
@@ -66363,7 +67082,7 @@ const EzGrid = class {
66363
67082
  return;
66364
67083
  const { currentPage } = this._paginationInfo;
66365
67084
  if (currentPage > 0) {
66366
- this.previousPage();
67085
+ this._refGridPagination.previousPage();
66367
67086
  }
66368
67087
  }, { description: this.i18n("ez-grid.previousPage"), element: this._element })
66369
67088
  .bind("ctrl + alt + ArrowRight", () => {
@@ -66371,7 +67090,7 @@ const EzGrid = class {
66371
67090
  return;
66372
67091
  const { hasMore } = this._paginationInfo;
66373
67092
  if (hasMore) {
66374
- this.nextPage();
67093
+ this._refGridPagination.nextPage();
66375
67094
  }
66376
67095
  }, { description: this.i18n("ez-grid.nextPage"), element: this._element });
66377
67096
  if (this.useSearchColumn) {
@@ -66424,16 +67143,14 @@ const EzGrid = class {
66424
67143
  'ez-box ez-padding--small grid-header': true,
66425
67144
  'outline-mode': this.outlineMode,
66426
67145
  'shadow-mode': !this.outlineMode && !this.hideHeader(),
66427
- }, tabindex: "0" }, index$1.h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), index$1.h("div", { class: "grid-header__position" }, index$1.h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, index$1.h("slot", { name: "leftButtons" })), this.getPaginationControl())), index$1.h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), index$1.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
67146
+ }, tabindex: "0" }, index$1.h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), index$1.h("div", { class: "grid-header__position" }, index$1.h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, index$1.h("slot", { name: "leftButtons" })))), index$1.h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), index$1.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
66428
67147
  ${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
66429
- ` }, index$1.h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), index$1.h("div", { class: "grid__footer" }, index$1.h("slot", { name: "footer" }))));
67148
+ ` }, index$1.h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), index$1.h("div", { class: "grid__footer" }, (this.mode !== "simple" && !this.hidePagination) && (index$1.h("ez-grid-pagination", { class: `ez-flex ez-flex--content-end`, ref: ref => (this._refGridPagination = ref), dataUnit: this.dataUnit, paginationCounterMode: this.paginationCounterMode, onPageChange: () => this.handlePageChange() })), index$1.h("slot", { name: "footer" }))));
66430
67149
  }
66431
67150
  static get assetsDirs() { return ["../assets"]; }
66432
67151
  get _element() { return index$1.getElement(this); }
66433
67152
  static get watchers() { return {
66434
67153
  "config": ["observeConfig"],
66435
- "_paginationInfo": ["updatePaginationTooltip"],
66436
- "paginationCounterMode": ["observePaginationCounterMode"],
66437
67154
  "mode": ["observeModeChange"]
66438
67155
  }; }
66439
67156
  };