@sankhyalabs/ezui 6.3.3 → 6.4.0-dev.2

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 (920) hide show
  1. package/dist/cjs/{ApplicationUtils-c9d1205c.js → ApplicationUtils-6a76ac09.js} +43 -15
  2. package/dist/cjs/RichToolbarHelper-ea12328f.js +33 -0
  3. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  4. package/dist/cjs/app-globals-0a67e214.js +14 -0
  5. package/dist/cjs/{constants-569271bc.js → constants-72b7e05e.js} +0 -2
  6. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -1
  7. package/dist/cjs/ez-alert-list.cjs.entry.js +5 -3
  8. package/dist/cjs/ez-avatar.cjs.entry.js +10 -2
  9. package/dist/cjs/ez-button.cjs.entry.js +96 -26
  10. package/dist/cjs/ez-calendar.cjs.entry.js +7 -6
  11. package/dist/cjs/ez-chart.cjs.entry.js +4 -19
  12. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-chip.cjs.entry.js +51 -47
  14. package/dist/cjs/ez-collapsible-box.cjs.entry.js +14 -11
  15. package/dist/cjs/{ez-combo-box-list_3.cjs.entry.js → ez-combo-box-list_4.cjs.entry.js} +290 -4
  16. package/dist/cjs/ez-combo-box.cjs.entry.js +10 -7
  17. package/dist/cjs/ez-date-input.cjs.entry.js +5 -1
  18. package/dist/cjs/ez-date-time-input.cjs.entry.js +5 -1
  19. package/dist/cjs/ez-dialog.cjs.entry.js +8 -6
  20. package/dist/cjs/ez-double-list.cjs.entry.js +12 -4
  21. package/dist/cjs/ez-file-item.cjs.entry.js +9 -6
  22. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  23. package/dist/cjs/ez-form-view.cjs.entry.js +11 -3
  24. package/dist/cjs/ez-form.cjs.entry.js +19 -16
  25. package/dist/cjs/ez-grid.cjs.entry.js +919 -233
  26. package/dist/cjs/ez-guide-navigator.cjs.entry.js +5 -1
  27. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-link-builder_6.cjs.entry.js +315 -0
  29. package/dist/cjs/ez-list-item.cjs.entry.js +22 -0
  30. package/dist/cjs/ez-list.cjs.entry.js +4 -2
  31. package/dist/cjs/ez-modal-container.cjs.entry.js +6 -2
  32. package/dist/cjs/ez-modal.cjs.entry.js +5 -1
  33. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +9 -5
  34. package/dist/cjs/ez-number-input.cjs.entry.js +5 -1
  35. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +27 -0
  36. package/dist/cjs/ez-search-plus.cjs.entry.js +9 -7
  37. package/dist/cjs/ez-search-result-list.cjs.entry.js +5 -2
  38. package/dist/cjs/ez-search.cjs.entry.js +8 -9
  39. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +5 -7
  40. package/dist/cjs/ez-skeleton.cjs.entry.js +5 -3
  41. package/dist/cjs/ez-sortable-list.cjs.entry.js +12 -5
  42. package/dist/cjs/ez-split-button.cjs.entry.js +5 -4
  43. package/dist/cjs/ez-split-item.cjs.entry.js +6 -2
  44. package/dist/cjs/ez-text-area.cjs.entry.js +34 -27
  45. package/dist/cjs/ez-text-input.cjs.entry.js +1 -0
  46. package/dist/cjs/ez-time-input.cjs.entry.js +12 -10
  47. package/dist/cjs/{ez-filter-input_2.cjs.entry.js → ez-tooltip.cjs.entry.js} +1 -123
  48. package/dist/cjs/ez-tree.cjs.entry.js +40 -1
  49. package/dist/cjs/ez-upload.cjs.entry.js +17 -11
  50. package/dist/cjs/ezui.cjs.js +5 -1
  51. package/dist/cjs/filter-column.cjs.entry.js +8 -4
  52. package/dist/cjs/index-425b1f67.js +3672 -0
  53. package/dist/cjs/index-a7b0c73d.js +24 -8
  54. package/dist/cjs/loader.cjs.js +5 -1
  55. package/dist/cjs/purify-0bd8a150.js +1359 -0
  56. package/dist/cjs/{search-column-27d1f72f.js → search-column-78dd20d5.js} +11 -9
  57. package/dist/collection/collection-manifest.json +11 -1
  58. package/dist/collection/components/ez-alert-list/ez-alert-list.js +5 -3
  59. package/dist/collection/components/ez-avatar/ez-avatar.js +26 -2
  60. package/dist/collection/components/ez-button/ez-button.css +292 -80
  61. package/dist/collection/components/ez-button/ez-button.js +226 -29
  62. package/dist/collection/components/ez-calendar/ez-calendar.js +7 -6
  63. package/dist/collection/components/ez-check/ez-check.css +1 -1
  64. package/dist/collection/components/ez-chip/ez-chip.css +102 -83
  65. package/dist/collection/components/ez-chip/ez-chip.js +158 -53
  66. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -0
  67. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -9
  68. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +7 -4
  69. package/dist/collection/components/ez-combo-box/ez-combo-box.js +28 -8
  70. package/dist/collection/components/ez-date-input/ez-date-input.js +5 -1
  71. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +5 -1
  72. package/dist/collection/components/ez-dialog/ez-dialog.js +8 -6
  73. package/dist/collection/components/ez-double-list/ez-double-list.js +12 -4
  74. package/dist/collection/components/ez-file-item/ez-file-item.js +9 -6
  75. package/dist/collection/components/ez-form/ez-form.js +5 -3
  76. package/dist/collection/components/ez-form-view/ez-form-view.js +2 -1
  77. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -2
  78. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +4 -0
  79. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +33 -9
  80. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +4 -1
  81. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +3 -1
  82. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js +67 -0
  83. package/dist/collection/components/ez-grid/ez-grid.js +17 -15
  84. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -3
  85. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +2 -2
  86. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js +11 -7
  87. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +5 -1
  88. package/dist/collection/components/ez-icon/ez-icon.css +1371 -161
  89. package/dist/collection/components/ez-list/ez-list.js +4 -2
  90. package/dist/collection/components/ez-list-item/ez-list-item.css +61 -0
  91. package/dist/collection/components/ez-list-item/ez-list-item.js +78 -0
  92. package/dist/collection/components/ez-modal/ez-modal.js +5 -1
  93. package/dist/collection/components/ez-modal-container/ez-modal-container.css +2 -0
  94. package/dist/collection/components/ez-modal-container/ez-modal-container.js +5 -1
  95. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +9 -5
  96. package/dist/collection/components/ez-number-input/ez-number-input.js +5 -1
  97. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css +22 -0
  98. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js +135 -0
  99. package/dist/collection/components/ez-rich-text/ez-rich-text.css +30 -0
  100. package/dist/collection/components/ez-rich-text/ez-rich-text.js +575 -0
  101. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js +27 -0
  102. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css +4 -0
  103. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js +23 -0
  104. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css +4 -0
  105. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js +23 -0
  106. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css +20 -0
  107. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js +122 -0
  108. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css +4 -0
  109. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js +23 -0
  110. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css +42 -0
  111. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js +187 -0
  112. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css +70 -0
  113. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js +220 -0
  114. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js +1 -0
  115. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js +14 -0
  116. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js +10 -0
  117. package/dist/collection/components/ez-search/ez-search.js +7 -8
  118. package/dist/collection/components/ez-search-plus/ez-search-plus.js +8 -6
  119. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +5 -2
  120. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js +5 -2
  121. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +0 -1
  122. package/dist/collection/components/ez-skeleton/ez-skeleton.js +4 -2
  123. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js +15 -11
  124. package/dist/collection/components/ez-split-button/ez-split-button.js +6 -6
  125. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +5 -1
  126. package/dist/collection/components/ez-text-area/ez-text-area.css +244 -212
  127. package/dist/collection/components/ez-text-area/ez-text-area.js +35 -28
  128. package/dist/collection/components/ez-text-edit/ez-text-edit.js +5 -1
  129. package/dist/collection/components/ez-text-input/ez-text-input.js +1 -0
  130. package/dist/collection/components/ez-time-input/ez-time-input.js +12 -10
  131. package/dist/collection/components/ez-tooltip/ez-tooltip.js +1 -1
  132. package/dist/collection/components/ez-tree/ez-tree.js +49 -1
  133. package/dist/collection/components/ez-tree/types/Tree.js +23 -0
  134. package/dist/collection/components/ez-upload/ez-upload.js +18 -12
  135. package/dist/collection/global/app-init.js +8 -0
  136. package/dist/collection/setupTests.js +1 -1
  137. package/dist/collection/utils/ApplicationUtils.js +43 -15
  138. package/dist/collection/utils/constants.js +0 -1
  139. package/dist/collection/utils/form/FormMetadata.js +3 -1
  140. package/dist/collection/utils/i18n/elanguages.js +6 -0
  141. package/dist/collection/utils/i18n/index.js +30 -0
  142. package/dist/collection/utils/i18n/locales/en-us.js +280 -0
  143. package/dist/collection/utils/i18n/locales/es-es.js +280 -0
  144. package/dist/collection/utils/i18n/locales/pt-br.js +280 -0
  145. package/dist/collection/utils/i18n/translations.js +9 -0
  146. package/dist/collection/utils/index.js +1 -1
  147. package/dist/collection/utils/searchColumn/search-column.js +0 -2
  148. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +8 -2
  149. package/dist/custom-elements/index.d.ts +54 -0
  150. package/dist/custom-elements/index.js +7074 -471
  151. package/dist/esm/{ApplicationUtils-eaf91331.js → ApplicationUtils-1fd662ab.js} +43 -15
  152. package/dist/esm/RichToolbarHelper-f3a149c4.js +29 -0
  153. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  154. package/dist/esm/app-globals-8a94d86c.js +12 -0
  155. package/dist/esm/{constants-b036528f.js → constants-3fabe81e.js} +1 -2
  156. package/dist/esm/ez-actions-button.entry.js +2 -1
  157. package/dist/esm/ez-alert-list.entry.js +5 -3
  158. package/dist/esm/ez-avatar.entry.js +10 -2
  159. package/dist/esm/ez-button.entry.js +97 -27
  160. package/dist/esm/ez-calendar.entry.js +7 -6
  161. package/dist/esm/ez-chart.entry.js +2 -17
  162. package/dist/esm/ez-check.entry.js +1 -1
  163. package/dist/esm/ez-chip.entry.js +51 -47
  164. package/dist/esm/ez-collapsible-box.entry.js +14 -11
  165. package/dist/esm/{ez-combo-box-list_3.entry.js → ez-combo-box-list_4.entry.js} +291 -6
  166. package/dist/esm/ez-combo-box.entry.js +10 -7
  167. package/dist/esm/ez-date-input.entry.js +5 -1
  168. package/dist/esm/ez-date-time-input.entry.js +5 -1
  169. package/dist/esm/ez-dialog.entry.js +8 -6
  170. package/dist/esm/ez-double-list.entry.js +12 -4
  171. package/dist/esm/ez-file-item.entry.js +9 -6
  172. package/dist/esm/ez-filter-input.entry.js +125 -0
  173. package/dist/esm/ez-form-view.entry.js +11 -3
  174. package/dist/esm/ez-form.entry.js +8 -5
  175. package/dist/esm/ez-grid.entry.js +901 -215
  176. package/dist/esm/ez-guide-navigator.entry.js +5 -1
  177. package/dist/esm/ez-icon.entry.js +1 -1
  178. package/dist/esm/ez-link-builder_6.entry.js +306 -0
  179. package/dist/esm/ez-list-item.entry.js +18 -0
  180. package/dist/esm/ez-list.entry.js +4 -2
  181. package/dist/esm/ez-modal-container.entry.js +6 -2
  182. package/dist/esm/ez-modal.entry.js +5 -1
  183. package/dist/esm/ez-multi-selection-list.entry.js +9 -5
  184. package/dist/esm/ez-number-input.entry.js +5 -1
  185. package/dist/esm/ez-rich-toolbar-item.entry.js +23 -0
  186. package/dist/esm/ez-search-plus.entry.js +9 -7
  187. package/dist/esm/ez-search-result-list.entry.js +5 -2
  188. package/dist/esm/ez-search.entry.js +8 -9
  189. package/dist/esm/ez-sidebar-navigator.entry.js +5 -7
  190. package/dist/esm/ez-skeleton.entry.js +5 -3
  191. package/dist/esm/ez-sortable-list.entry.js +12 -5
  192. package/dist/esm/ez-split-button.entry.js +5 -4
  193. package/dist/esm/ez-split-item.entry.js +6 -2
  194. package/dist/esm/ez-text-area.entry.js +34 -27
  195. package/dist/esm/ez-text-input.entry.js +1 -0
  196. package/dist/esm/ez-time-input.entry.js +12 -10
  197. package/dist/esm/{ez-filter-input_2.entry.js → ez-tooltip.entry.js} +3 -124
  198. package/dist/esm/ez-tree.entry.js +40 -1
  199. package/dist/esm/ez-upload.entry.js +17 -11
  200. package/dist/esm/ezui.js +5 -1
  201. package/dist/esm/filter-column.entry.js +8 -4
  202. package/dist/esm/index-498e0126.js +3669 -0
  203. package/dist/esm/index-baa5e267.js +24 -8
  204. package/dist/esm/loader.js +5 -1
  205. package/dist/esm/purify-34e6ff6f.js +1357 -0
  206. package/dist/esm/{search-column-e609d513.js → search-column-729f3655.js} +10 -6
  207. package/dist/ezui/ezui.esm.js +1 -1
  208. package/dist/ezui/p-02e1efa8.entry.js +1 -0
  209. package/dist/ezui/p-07819d50.js +1 -0
  210. package/dist/ezui/p-0c1a288c.entry.js +1 -0
  211. package/dist/ezui/p-112455b1.js +1 -0
  212. package/dist/ezui/p-1e21d31b.entry.js +1 -0
  213. package/dist/ezui/p-20c024f7.entry.js +1 -0
  214. package/dist/ezui/p-24732fea.entry.js +1 -0
  215. package/dist/ezui/p-2879c45f.entry.js +1 -0
  216. package/dist/ezui/p-31450a28.entry.js +1 -0
  217. package/dist/ezui/p-3751da14.entry.js +1 -0
  218. package/dist/ezui/p-39b16566.entry.js +1 -0
  219. package/dist/ezui/p-3cecb4cb.entry.js +1 -0
  220. package/dist/ezui/p-3e767a74.js +1 -0
  221. package/dist/ezui/p-451a17ad.entry.js +1 -0
  222. package/dist/ezui/p-4c5cb0da.entry.js +1 -0
  223. package/dist/ezui/p-4e6e0740.entry.js +1 -0
  224. package/dist/ezui/p-5172793a.entry.js +1 -0
  225. package/dist/ezui/p-52d9b604.entry.js +1 -0
  226. package/dist/ezui/p-53bc30a1.entry.js +1 -0
  227. package/dist/ezui/p-559b915a.entry.js +1 -0
  228. package/dist/ezui/p-57b40333.entry.js +309 -0
  229. package/dist/ezui/p-5ac7c4b3.entry.js +1 -0
  230. package/dist/ezui/p-5b9060ad.entry.js +1 -0
  231. package/dist/ezui/p-5dd12c80.entry.js +1 -0
  232. package/dist/ezui/p-60f5483c.entry.js +1 -0
  233. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  234. package/dist/ezui/p-66b00dec.entry.js +1 -0
  235. package/dist/ezui/p-6f77a359.entry.js +1 -0
  236. package/dist/ezui/p-762a1033.entry.js +1 -0
  237. package/dist/ezui/p-79044c3e.entry.js +1 -0
  238. package/dist/ezui/p-7aed8d32.entry.js +1 -0
  239. package/dist/ezui/p-7e5c7b4c.js +1 -0
  240. package/dist/ezui/{p-b81881ac.entry.js → p-7f792043.entry.js} +1 -1
  241. package/dist/ezui/p-82fa431b.entry.js +1 -0
  242. package/dist/ezui/p-86b065e6.entry.js +1 -0
  243. package/dist/ezui/p-91c9d50e.entry.js +1 -0
  244. package/dist/ezui/p-94630d41.entry.js +1 -0
  245. package/dist/ezui/p-9dc31fc6.js +1 -0
  246. package/dist/ezui/p-af47458b.js +1 -0
  247. package/dist/ezui/p-b1e45320.js +1 -0
  248. package/dist/ezui/p-bc22f56d.entry.js +1 -0
  249. package/dist/ezui/p-c2d38fbf.entry.js +1 -0
  250. package/dist/ezui/p-d2364956.js +3 -0
  251. package/dist/ezui/p-d512cb84.entry.js +1 -0
  252. package/dist/ezui/p-d6742c1e.entry.js +1 -0
  253. package/dist/ezui/p-d845fa56.entry.js +1 -0
  254. package/dist/ezui/p-da4419a6.entry.js +1 -0
  255. package/dist/ezui/p-dee18824.entry.js +1 -0
  256. package/dist/ezui/p-e20ad35d.entry.js +7 -0
  257. package/dist/ezui/p-e5e623d9.entry.js +1 -0
  258. package/dist/ezui/p-e7a7c594.entry.js +1 -0
  259. package/dist/ezui/p-ec04285e.entry.js +1 -0
  260. package/dist/ezui/p-fcdc7d0b.entry.js +1 -0
  261. package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +2 -1
  262. package/dist/types/components/ez-avatar/ez-avatar.d.ts +5 -0
  263. package/dist/types/components/ez-button/ez-button.d.ts +48 -2
  264. package/dist/types/components/ez-calendar/ez-calendar.d.ts +2 -3
  265. package/dist/types/components/ez-chip/ez-chip.d.ts +32 -6
  266. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +2 -0
  267. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +2 -0
  268. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +6 -2
  269. package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -0
  270. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -0
  271. package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -2
  272. package/dist/types/components/ez-double-list/ez-double-list.d.ts +2 -0
  273. package/dist/types/components/ez-file-item/ez-file-item.d.ts +2 -0
  274. package/dist/types/components/ez-form/ez-form.d.ts +1 -0
  275. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -0
  276. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +5 -0
  277. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
  278. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +1 -0
  279. package/dist/types/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.d.ts +1 -1
  280. package/dist/types/components/ez-grid/controller/ag-grid/utils/buildLocaleText.d.ts +66 -0
  281. package/dist/types/components/ez-grid/ez-grid.d.ts +2 -2
  282. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +2 -0
  283. package/dist/types/components/ez-grid/subcomponents/selection-counter.d.ts +2 -0
  284. package/dist/types/components/ez-grid/subcomponents/utils/selectionCounterUtils.d.ts +2 -2
  285. package/dist/types/components/ez-guide-navigator/ez-guide-navigator.d.ts +2 -0
  286. package/dist/types/components/ez-list/ez-list.d.ts +2 -1
  287. package/dist/types/components/ez-list-item/ez-list-item.d.ts +9 -0
  288. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
  289. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  290. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +2 -0
  291. package/dist/types/components/ez-number-input/ez-number-input.d.ts +2 -0
  292. package/dist/types/components/ez-rich-text/ez-link-builder/ez-link-builder.d.ts +19 -0
  293. package/dist/types/components/ez-rich-text/ez-rich-text.d.ts +105 -0
  294. package/dist/types/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.d.ts +31 -0
  295. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.d.ts +5 -0
  296. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.d.ts +5 -0
  297. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.d.ts +11 -0
  298. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.d.ts +5 -0
  299. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.d.ts +35 -0
  300. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.d.ts +39 -0
  301. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.d.ts +1 -0
  302. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.d.ts +1 -0
  303. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.d.ts +1 -0
  304. package/dist/types/components/ez-search/ez-search.d.ts +2 -3
  305. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +2 -1
  306. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +2 -1
  307. package/dist/types/components/ez-sidebar-navigator/ez-sidebar-navigator.d.ts +2 -0
  308. package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +0 -1
  309. package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +2 -1
  310. package/dist/types/components/ez-sortable-list/ez-sortable-list.d.ts +2 -0
  311. package/dist/types/components/ez-split-button/ez-split-button.d.ts +2 -2
  312. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +2 -0
  313. package/dist/types/components/ez-text-area/ez-text-area.d.ts +6 -3
  314. package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +2 -0
  315. package/dist/types/components/ez-time-input/ez-time-input.d.ts +2 -1
  316. package/dist/types/components/ez-tree/ez-tree.d.ts +10 -0
  317. package/dist/types/components/ez-tree/types/Tree.d.ts +3 -0
  318. package/dist/types/components/ez-upload/ez-upload.d.ts +3 -1
  319. package/dist/types/components.d.ts +458 -4
  320. package/dist/types/global/app-init.d.ts +1 -0
  321. package/dist/types/utils/ApplicationUtils.d.ts +3 -1
  322. package/dist/types/utils/constants.d.ts +0 -1
  323. package/dist/types/utils/i18n/elanguages.d.ts +5 -0
  324. package/dist/types/utils/i18n/index.d.ts +5 -0
  325. package/dist/types/utils/i18n/locales/en-us.d.ts +281 -0
  326. package/dist/types/utils/i18n/locales/es-es.d.ts +281 -0
  327. package/dist/types/utils/i18n/locales/pt-br.d.ts +281 -0
  328. package/dist/types/utils/i18n/translations.d.ts +843 -0
  329. package/dist/types/utils/index.d.ts +1 -1
  330. package/dist/types/utils/searchColumn/search-column.d.ts +0 -2
  331. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -0
  332. package/package.json +11 -3
  333. package/react/components.d.ts +9 -0
  334. package/react/components.js +9 -0
  335. package/react/components.js.map +1 -1
  336. package/dist/cjs/ApplicationUtils-c9d1205c.js.gz +0 -0
  337. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  338. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  339. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  340. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  341. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  342. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  343. package/dist/cjs/constants-569271bc.js.gz +0 -0
  344. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  345. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  346. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  347. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  348. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  349. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  350. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  351. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  352. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  353. package/dist/cjs/ez-card-item_2.cjs.entry.js.gz +0 -0
  354. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  355. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  356. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  357. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  358. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  359. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  360. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js.gz +0 -0
  361. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  362. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  363. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  364. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  365. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  366. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  367. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  368. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  369. package/dist/cjs/ez-filter-input_2.cjs.entry.js.gz +0 -0
  370. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  371. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  372. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  373. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  374. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  375. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  376. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  377. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  378. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  379. package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
  380. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  381. package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
  382. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  383. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  384. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  385. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  386. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  387. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  388. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  389. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  390. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  391. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  392. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  393. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  394. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  395. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  396. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  397. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  398. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  399. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  400. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  401. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  402. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  403. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  404. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  405. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  406. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  407. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  408. package/dist/cjs/ezui.cjs.js.gz +0 -0
  409. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  410. package/dist/cjs/floating-ui.dom.esm-017acce4.js.gz +0 -0
  411. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  412. package/dist/cjs/index.cjs.js.gz +0 -0
  413. package/dist/cjs/loader.cjs.js.gz +0 -0
  414. package/dist/cjs/search-column-27d1f72f.js.gz +0 -0
  415. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  416. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  417. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  418. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  419. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  420. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  421. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  422. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  423. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  424. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  425. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  426. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  427. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  428. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  429. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  430. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  431. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  432. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  433. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  434. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  435. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  436. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  437. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  438. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  439. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  440. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  441. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  442. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  443. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  444. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  445. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  446. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  447. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  448. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  449. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  450. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  451. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  452. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  453. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  454. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  455. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  456. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  457. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  458. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  459. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  460. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  461. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  462. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  463. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  464. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  465. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  466. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  467. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  468. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  469. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  470. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  471. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  472. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  473. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  474. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  475. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  476. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  477. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  478. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  479. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  480. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  481. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  482. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  483. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  484. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  485. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  486. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  487. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  488. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  489. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  490. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  491. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  492. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  493. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  494. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  495. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  496. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  497. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  498. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  499. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  500. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  501. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  502. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  503. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  504. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  505. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  506. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  507. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  508. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  509. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  510. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  511. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  512. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  513. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  514. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  515. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  516. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  517. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  518. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  519. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  520. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  521. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  522. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  523. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  524. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  525. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  526. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  527. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  528. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  529. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  530. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  531. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  532. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  533. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  534. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  535. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  536. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  537. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  538. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js +0 -75
  539. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js.gz +0 -0
  540. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  541. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  542. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  543. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  544. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  545. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  546. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  547. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  548. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  549. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  550. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  551. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  552. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  553. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  554. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  555. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  556. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  557. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  558. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  559. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  560. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  561. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  562. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  563. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  564. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  565. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  566. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  567. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  568. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  569. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  570. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  571. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  572. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  573. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  574. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  575. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  576. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  577. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  578. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  579. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  580. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  581. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  582. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  583. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  584. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  585. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  586. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  587. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  588. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  589. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  590. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  591. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  592. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  593. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  594. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  595. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  596. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  597. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  598. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  599. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  600. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  601. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  602. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  603. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  604. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  605. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  606. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  607. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  608. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  609. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  610. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  611. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  612. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  613. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  614. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  615. package/dist/collection/components/ez-sidebar-navigator/messages/constants.js +0 -5
  616. package/dist/collection/components/ez-sidebar-navigator/messages/constants.js.gz +0 -0
  617. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  618. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  619. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  620. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  621. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  622. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  623. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  624. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  625. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  626. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  627. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  628. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  629. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  630. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  631. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  632. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  633. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  634. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  635. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  636. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  637. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  638. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  639. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  640. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  641. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  642. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  643. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  644. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  645. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  646. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  647. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  648. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  649. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  650. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  651. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  652. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  653. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  654. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  655. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  656. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  657. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  658. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  659. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  660. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  661. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  662. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  663. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  664. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  665. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  666. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  667. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  668. package/dist/collection/index.js.gz +0 -0
  669. package/dist/collection/servidor.js.gz +0 -0
  670. package/dist/collection/setupTests.js.gz +0 -0
  671. package/dist/collection/sw.js.gz +0 -0
  672. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  673. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  674. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  675. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  676. package/dist/collection/utils/constants.js.gz +0 -0
  677. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  678. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  679. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  680. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  681. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  682. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  683. package/dist/collection/utils/form/index.js.gz +0 -0
  684. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  685. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  686. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  687. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  688. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  689. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  690. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  691. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  692. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  693. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  694. package/dist/collection/utils/index.js.gz +0 -0
  695. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  696. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  697. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  698. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  699. package/dist/collection/utils/search/types.js.gz +0 -0
  700. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  701. package/dist/collection/utils/utils.js.gz +0 -0
  702. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  703. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  704. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  705. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  706. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  707. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  708. package/dist/custom-elements/index.js.gz +0 -0
  709. package/dist/esm/ApplicationUtils-eaf91331.js.gz +0 -0
  710. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  711. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  712. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  713. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  714. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  715. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  716. package/dist/esm/constants-b036528f.js.gz +0 -0
  717. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  718. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  719. package/dist/esm/ez-alert.entry.js.gz +0 -0
  720. package/dist/esm/ez-application.entry.js.gz +0 -0
  721. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  722. package/dist/esm/ez-badge.entry.js.gz +0 -0
  723. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  724. package/dist/esm/ez-button.entry.js.gz +0 -0
  725. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  726. package/dist/esm/ez-card-item_2.entry.js.gz +0 -0
  727. package/dist/esm/ez-chart.entry.js.gz +0 -0
  728. package/dist/esm/ez-check.entry.js.gz +0 -0
  729. package/dist/esm/ez-chip.entry.js.gz +0 -0
  730. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  731. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  732. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  733. package/dist/esm/ez-combo-box-list_3.entry.js.gz +0 -0
  734. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  735. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  736. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  737. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  738. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  739. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  740. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  741. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  742. package/dist/esm/ez-filter-input_2.entry.js.gz +0 -0
  743. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  744. package/dist/esm/ez-form.entry.js.gz +0 -0
  745. package/dist/esm/ez-grid.entry.js.gz +0 -0
  746. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  747. package/dist/esm/ez-icon.entry.js.gz +0 -0
  748. package/dist/esm/ez-list.entry.js.gz +0 -0
  749. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  750. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  751. package/dist/esm/ez-modal.entry.js.gz +0 -0
  752. package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
  753. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  754. package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
  755. package/dist/esm/ez-popover.entry.js.gz +0 -0
  756. package/dist/esm/ez-popup.entry.js.gz +0 -0
  757. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  758. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  759. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  760. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  761. package/dist/esm/ez-search.entry.js.gz +0 -0
  762. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  763. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  764. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  765. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  766. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  767. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  768. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  769. package/dist/esm/ez-tag.entry.js.gz +0 -0
  770. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  771. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  772. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  773. package/dist/esm/ez-tile.entry.js.gz +0 -0
  774. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  775. package/dist/esm/ez-toast.entry.js.gz +0 -0
  776. package/dist/esm/ez-tree.entry.js.gz +0 -0
  777. package/dist/esm/ez-underface.entry.js.gz +0 -0
  778. package/dist/esm/ez-upload.entry.js.gz +0 -0
  779. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  780. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  781. package/dist/esm/ezui.js.gz +0 -0
  782. package/dist/esm/filter-column.entry.js.gz +0 -0
  783. package/dist/esm/floating-ui.dom.esm-5d3da819.js.gz +0 -0
  784. package/dist/esm/index-baa5e267.js.gz +0 -0
  785. package/dist/esm/index.js.gz +0 -0
  786. package/dist/esm/loader.js.gz +0 -0
  787. package/dist/esm/polyfills/core-js.js.gz +0 -0
  788. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  789. package/dist/esm/polyfills/dom.js.gz +0 -0
  790. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  791. package/dist/esm/polyfills/index.js.gz +0 -0
  792. package/dist/esm/polyfills/system.js.gz +0 -0
  793. package/dist/esm/search-column-e609d513.js.gz +0 -0
  794. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  795. package/dist/ezui/ezui.esm.js.gz +0 -0
  796. package/dist/ezui/index.esm.js.gz +0 -0
  797. package/dist/ezui/p-0306dff7.entry.js +0 -1
  798. package/dist/ezui/p-0306dff7.entry.js.gz +0 -0
  799. package/dist/ezui/p-04c17dca.entry.js +0 -1
  800. package/dist/ezui/p-04c17dca.entry.js.gz +0 -0
  801. package/dist/ezui/p-07894c4a.entry.js +0 -1
  802. package/dist/ezui/p-07894c4a.entry.js.gz +0 -0
  803. package/dist/ezui/p-09de35a2.entry.js +0 -1
  804. package/dist/ezui/p-09de35a2.entry.js.gz +0 -0
  805. package/dist/ezui/p-1bcfd88c.entry.js +0 -1
  806. package/dist/ezui/p-1bcfd88c.entry.js.gz +0 -0
  807. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  808. package/dist/ezui/p-1eb34cad.entry.js +0 -1
  809. package/dist/ezui/p-1eb34cad.entry.js.gz +0 -0
  810. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  811. package/dist/ezui/p-2187f86c.js +0 -1
  812. package/dist/ezui/p-2187f86c.js.gz +0 -0
  813. package/dist/ezui/p-2279190f.entry.js +0 -1
  814. package/dist/ezui/p-2279190f.entry.js.gz +0 -0
  815. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  816. package/dist/ezui/p-26685c50.entry.js +0 -1
  817. package/dist/ezui/p-26685c50.entry.js.gz +0 -0
  818. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  819. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  820. package/dist/ezui/p-33326ac5.entry.js +0 -1
  821. package/dist/ezui/p-33326ac5.entry.js.gz +0 -0
  822. package/dist/ezui/p-3ba9565c.entry.js +0 -1
  823. package/dist/ezui/p-3ba9565c.entry.js.gz +0 -0
  824. package/dist/ezui/p-40a60148.js.gz +0 -0
  825. package/dist/ezui/p-43dbd0f9.entry.js +0 -1
  826. package/dist/ezui/p-43dbd0f9.entry.js.gz +0 -0
  827. package/dist/ezui/p-44caad9a.entry.js.gz +0 -0
  828. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  829. package/dist/ezui/p-4bb47bbe.entry.js +0 -1
  830. package/dist/ezui/p-4bb47bbe.entry.js.gz +0 -0
  831. package/dist/ezui/p-4bd6dd6a.entry.js +0 -1
  832. package/dist/ezui/p-4bd6dd6a.entry.js.gz +0 -0
  833. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  834. package/dist/ezui/p-555c9018.entry.js +0 -1
  835. package/dist/ezui/p-555c9018.entry.js.gz +0 -0
  836. package/dist/ezui/p-57363cfd.entry.js +0 -1
  837. package/dist/ezui/p-57363cfd.entry.js.gz +0 -0
  838. package/dist/ezui/p-58f69d24.entry.js +0 -1
  839. package/dist/ezui/p-58f69d24.entry.js.gz +0 -0
  840. package/dist/ezui/p-59561756.entry.js +0 -7
  841. package/dist/ezui/p-59561756.entry.js.gz +0 -0
  842. package/dist/ezui/p-5dde9df3.entry.js +0 -1
  843. package/dist/ezui/p-5dde9df3.entry.js.gz +0 -0
  844. package/dist/ezui/p-5e495d47.entry.js.gz +0 -0
  845. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  846. package/dist/ezui/p-5eea9886.js +0 -1
  847. package/dist/ezui/p-5eea9886.js.gz +0 -0
  848. package/dist/ezui/p-603ef267.entry.js.gz +0 -0
  849. package/dist/ezui/p-63cb493e.entry.js +0 -1
  850. package/dist/ezui/p-63cb493e.entry.js.gz +0 -0
  851. package/dist/ezui/p-6b3e4940.entry.js +0 -1
  852. package/dist/ezui/p-6b3e4940.entry.js.gz +0 -0
  853. package/dist/ezui/p-6bcf4ba2.entry.js +0 -1
  854. package/dist/ezui/p-6bcf4ba2.entry.js.gz +0 -0
  855. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  856. package/dist/ezui/p-6e429cff.entry.js +0 -1
  857. package/dist/ezui/p-6e429cff.entry.js.gz +0 -0
  858. package/dist/ezui/p-77a4bd35.entry.js +0 -1
  859. package/dist/ezui/p-77a4bd35.entry.js.gz +0 -0
  860. package/dist/ezui/p-7828dab5.entry.js +0 -1
  861. package/dist/ezui/p-7828dab5.entry.js.gz +0 -0
  862. package/dist/ezui/p-7ab19270.entry.js +0 -1
  863. package/dist/ezui/p-7ab19270.entry.js.gz +0 -0
  864. package/dist/ezui/p-7eae6986.entry.js +0 -1
  865. package/dist/ezui/p-7eae6986.entry.js.gz +0 -0
  866. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  867. package/dist/ezui/p-87831cd0.entry.js +0 -1
  868. package/dist/ezui/p-87831cd0.entry.js.gz +0 -0
  869. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  870. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  871. package/dist/ezui/p-9478b13b.entry.js +0 -1
  872. package/dist/ezui/p-9478b13b.entry.js.gz +0 -0
  873. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  874. package/dist/ezui/p-9c5cd3b2.entry.js.gz +0 -0
  875. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  876. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  877. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  878. package/dist/ezui/p-ab574d59.js.gz +0 -0
  879. package/dist/ezui/p-ad79f9d1.entry.js +0 -1
  880. package/dist/ezui/p-ad79f9d1.entry.js.gz +0 -0
  881. package/dist/ezui/p-adfeb253.entry.js +0 -1
  882. package/dist/ezui/p-adfeb253.entry.js.gz +0 -0
  883. package/dist/ezui/p-b796e213.entry.js +0 -1
  884. package/dist/ezui/p-b796e213.entry.js.gz +0 -0
  885. package/dist/ezui/p-b81881ac.entry.js.gz +0 -0
  886. package/dist/ezui/p-b853763b.js.gz +0 -0
  887. package/dist/ezui/p-bac0f920.entry.js +0 -1
  888. package/dist/ezui/p-bac0f920.entry.js.gz +0 -0
  889. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  890. package/dist/ezui/p-beb42de1.entry.js +0 -1
  891. package/dist/ezui/p-beb42de1.entry.js.gz +0 -0
  892. package/dist/ezui/p-bff24a7b.js +0 -1
  893. package/dist/ezui/p-bff24a7b.js.gz +0 -0
  894. package/dist/ezui/p-c0d9c4f8.entry.js.gz +0 -0
  895. package/dist/ezui/p-cb75eb46.entry.js +0 -1
  896. package/dist/ezui/p-cb75eb46.entry.js.gz +0 -0
  897. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  898. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  899. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  900. package/dist/ezui/p-dc73e1fe.entry.js +0 -1
  901. package/dist/ezui/p-dc73e1fe.entry.js.gz +0 -0
  902. package/dist/ezui/p-e07e4671.js.gz +0 -0
  903. package/dist/ezui/p-e4528470.entry.js +0 -1
  904. package/dist/ezui/p-e4528470.entry.js.gz +0 -0
  905. package/dist/ezui/p-e6a9041d.entry.js +0 -1
  906. package/dist/ezui/p-e6a9041d.entry.js.gz +0 -0
  907. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  908. package/dist/ezui/p-e78e87f5.entry.js.gz +0 -0
  909. package/dist/ezui/p-ec7db713.js.gz +0 -0
  910. package/dist/ezui/p-ecdb200a.entry.js +0 -1
  911. package/dist/ezui/p-ecdb200a.entry.js.gz +0 -0
  912. package/dist/ezui/p-f007eb33.entry.js +0 -1
  913. package/dist/ezui/p-f007eb33.entry.js.gz +0 -0
  914. package/dist/ezui/p-f5a66c3c.entry.js +0 -309
  915. package/dist/ezui/p-f5a66c3c.entry.js.gz +0 -0
  916. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  917. package/dist/index.cjs.js.gz +0 -0
  918. package/dist/index.js.gz +0 -0
  919. package/dist/types/components/ez-grid/controller/ag-grid/i18n/pt-BR.d.ts +0 -2
  920. package/dist/types/components/ez-sidebar-navigator/messages/constants.d.ts +0 -5
@@ -2,16 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a7b0c73d.js');
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-c9d1205c.js');
8
+ const ApplicationUtils = require('./ApplicationUtils-6a76ac09.js');
9
9
  require('./DialogType-2114c337.js');
10
10
  require('./CheckMode-ecb90b87.js');
11
+ const index = require('./index-425b1f67.js');
11
12
  const FormLayout = require('./FormLayout-18853e70.js');
12
- const searchColumn = require('./search-column-27d1f72f.js');
13
- const constants = require('./constants-569271bc.js');
13
+ const searchColumn = require('./search-column-78dd20d5.js');
14
+ const constants = require('./constants-72b7e05e.js');
14
15
  const FocusResolver = require('./FocusResolver-885f2173.js');
16
+ const purify = require('./purify-0bd8a150.js');
17
+ require('./_commonjsHelpers-537d719a.js');
15
18
 
16
19
  /**
17
20
  * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
@@ -436,6 +439,7 @@ function removeAllReferences(obj, objectName) {
436
439
  // leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
437
440
  if (typeof value === 'function') {
438
441
  var func = function () {
442
+ console.warn("AG Grid: " + objectName + " function " + key + "() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.");
439
443
  };
440
444
  properties[key] = { value: func, writable: true };
441
445
  }
@@ -606,6 +610,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
606
610
  window.clearInterval(interval);
607
611
  interval = null;
608
612
  }
613
+ if (reachedTimeout && timeoutMessage) {
614
+ console.warn(timeoutMessage);
615
+ }
609
616
  }
610
617
  };
611
618
  internalCallback();
@@ -707,9 +714,14 @@ var Context = /** @class */ (function () {
707
714
  Context.prototype.createBeanWrapper = function (BeanClass) {
708
715
  var metaData = BeanClass.__agBeanMetaData;
709
716
  if (!metaData) {
717
+ var beanName = void 0;
710
718
  if (BeanClass.prototype.constructor) {
711
- getFunctionName(BeanClass.prototype.constructor);
719
+ beanName = getFunctionName(BeanClass.prototype.constructor);
720
+ }
721
+ else {
722
+ beanName = "" + BeanClass;
712
723
  }
724
+ console.error("Context item " + beanName + " is not a bean");
713
725
  return;
714
726
  }
715
727
  var beanEntry = {
@@ -781,6 +793,7 @@ var Context = /** @class */ (function () {
781
793
  return beansList;
782
794
  };
783
795
  Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
796
+ if (optional === void 0) { optional = false; }
784
797
  if (beanName === "context") {
785
798
  return this;
786
799
  }
@@ -791,6 +804,9 @@ var Context = /** @class */ (function () {
791
804
  if (beanEntry) {
792
805
  return beanEntry.beanInstance;
793
806
  }
807
+ if (!optional) {
808
+ console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
809
+ }
794
810
  return null;
795
811
  };
796
812
  Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
@@ -897,9 +913,11 @@ function Optional(name) {
897
913
  }
898
914
  function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
899
915
  if (name === null) {
916
+ console.error("AG Grid: Autowired name should not be null");
900
917
  return;
901
918
  }
902
919
  if (typeof index === "number") {
920
+ console.error("AG Grid: Autowired should be on an attribute");
903
921
  return;
904
922
  }
905
923
  // it's an attribute on the class
@@ -1231,6 +1249,8 @@ var ModuleRegistry = /** @class */ (function () {
1231
1249
  else {
1232
1250
  if (ModuleRegistry.moduleBased !== moduleBased) {
1233
1251
  doOnce(function () {
1252
+ 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.");
1253
+ console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
1234
1254
  }, 'ModulePackageCheck');
1235
1255
  }
1236
1256
  }
@@ -1248,7 +1268,15 @@ var ModuleRegistry = /** @class */ (function () {
1248
1268
  return true;
1249
1269
  }
1250
1270
  var warningKey = reason + moduleName;
1271
+ var warningMessage;
1272
+ if (ModuleRegistry.moduleBased) {
1273
+ warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
1274
+ }
1275
+ else {
1276
+ 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/";
1277
+ }
1251
1278
  doOnce(function () {
1279
+ console.warn(warningMessage);
1252
1280
  }, warningKey);
1253
1281
  return false;
1254
1282
  };
@@ -1441,9 +1469,11 @@ var Column = /** @class */ (function () {
1441
1469
  var colDefAny = this.colDef;
1442
1470
  function warnOnce(msg, key, obj) {
1443
1471
  doOnce(function () {
1444
- if (obj) ;
1472
+ if (obj) {
1473
+ console.warn(msg, obj);
1474
+ }
1445
1475
  else {
1446
- doOnce(function () { return (void 0); }, key);
1476
+ doOnce(function () { return console.warn(msg); }, key);
1447
1477
  }
1448
1478
  }, key);
1449
1479
  }
@@ -1911,16 +1941,19 @@ var Column = /** @class */ (function () {
1911
1941
  // this used to be needed, as previous version of ag-grid had lockPosition as column state,
1912
1942
  // so couldn't depend on colDef version.
1913
1943
  Column.prototype.isLockPosition = function () {
1944
+ console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
1914
1945
  return this.colDef ? !!this.colDef.lockPosition : false;
1915
1946
  };
1916
1947
  // this used to be needed, as previous version of ag-grid had lockVisible as column state,
1917
1948
  // so couldn't depend on colDef version.
1918
1949
  Column.prototype.isLockVisible = function () {
1950
+ console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
1919
1951
  return this.colDef ? !!this.colDef.lockVisible : false;
1920
1952
  };
1921
1953
  // this used to be needed, as previous version of ag-grid had lockPinned as column state,
1922
1954
  // so couldn't depend on colDef version.
1923
1955
  Column.prototype.isLockPinned = function () {
1956
+ console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
1924
1957
  return this.colDef ? !!this.colDef.lockPinned : false;
1925
1958
  };
1926
1959
  // + renderedHeaderCell - for making header cell transparent when moving
@@ -2316,6 +2349,7 @@ var ColumnGroup = /** @class */ (function () {
2316
2349
  };
2317
2350
  /** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
2318
2351
  ColumnGroup.prototype.getOriginalColumnGroup = function () {
2352
+ console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
2319
2353
  return this.getProvidedColumnGroup();
2320
2354
  };
2321
2355
  ColumnGroup.prototype.getPaddingLevel = function () {
@@ -3191,7 +3225,9 @@ var ColumnFactory = /** @class */ (function (_super) {
3191
3225
  var typeKeys = [];
3192
3226
  if (type instanceof Array) {
3193
3227
  var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
3194
- if (invalidArray) ;
3228
+ if (invalidArray) {
3229
+ console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
3230
+ }
3195
3231
  else {
3196
3232
  typeKeys = type;
3197
3233
  }
@@ -3200,13 +3236,16 @@ var ColumnFactory = /** @class */ (function (_super) {
3200
3236
  typeKeys = type.split(',');
3201
3237
  }
3202
3238
  else {
3239
+ console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
3203
3240
  return;
3204
3241
  }
3205
3242
  // merge user defined with default column types
3206
3243
  var allColumnTypes = Object.assign({}, DefaultColumnTypes);
3207
3244
  var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
3208
3245
  iterateObject(userTypes, function (key, value) {
3209
- if (key in allColumnTypes) ;
3246
+ if (key in allColumnTypes) {
3247
+ console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
3248
+ }
3210
3249
  else {
3211
3250
  allColumnTypes[key] = value;
3212
3251
  }
@@ -3216,12 +3255,34 @@ var ColumnFactory = /** @class */ (function (_super) {
3216
3255
  if (typeColDef) {
3217
3256
  mergeDeep(colDefMerged, typeColDef, false, true);
3218
3257
  }
3258
+ else {
3259
+ console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
3260
+ }
3219
3261
  });
3220
3262
  };
3221
3263
  ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
3222
3264
  if (colDef) {
3223
3265
  var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
3266
+ if (colDefNoType.group !== undefined) {
3267
+ console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
3268
+ }
3269
+ if (colDefNoType.headerGroup !== undefined) {
3270
+ console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
3271
+ }
3272
+ if (colDefNoType.headerGroupShow !== undefined) {
3273
+ 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');
3274
+ }
3275
+ if (colDefNoType.suppressRowGroup !== undefined) {
3276
+ console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
3277
+ }
3278
+ if (colDefNoType.suppressAggregation !== undefined) {
3279
+ console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
3280
+ }
3281
+ if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
3282
+ console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
3283
+ }
3224
3284
  if (colDefNoType.displayName) {
3285
+ console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
3225
3286
  colDefNoType.headerName = colDefNoType.displayName;
3226
3287
  }
3227
3288
  }
@@ -4283,6 +4344,7 @@ var SideBarDefParser = /** @class */ (function () {
4283
4344
  toParse.forEach(function (key) {
4284
4345
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
4285
4346
  if (!lookupResult) {
4347
+ console.warn("AG Grid: the key " + key + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
4286
4348
  return;
4287
4349
  }
4288
4350
  comps_1.push(lookupResult);
@@ -4313,6 +4375,7 @@ var SideBarDefParser = /** @class */ (function () {
4313
4375
  if (typeof it === 'string') {
4314
4376
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
4315
4377
  if (!lookupResult) {
4378
+ console.warn("AG Grid: the key " + it + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
4316
4379
  return;
4317
4380
  }
4318
4381
  toAdd = lookupResult;
@@ -4909,6 +4972,7 @@ var GridOptionsWrapper = /** @class */ (function () {
4909
4972
  this.destroyed = true;
4910
4973
  };
4911
4974
  GridOptionsWrapper.prototype.init = function () {
4975
+ var _this = this;
4912
4976
  if (this.gridOptions.suppressPropertyNamesCheck !== true) {
4913
4977
  this.checkGridOptionsProperties();
4914
4978
  this.checkColumnDefProperties();
@@ -4919,26 +4983,61 @@ var GridOptionsWrapper = /** @class */ (function () {
4919
4983
  }
4920
4984
  var async = this.useAsyncEvents();
4921
4985
  this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
4922
- if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
4986
+ if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
4987
+ console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
4988
+ }
4923
4989
  if (this.isGroupSelectsChildren()) {
4924
- if (!this.isRowSelectionMulti()) ;
4925
- if (this.isRowModelServerSide()) ;
4990
+ if (!this.isRowSelectionMulti()) {
4991
+ console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
4992
+ }
4993
+ if (this.isRowModelServerSide()) {
4994
+ console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
4995
+ 'This is because the rows are lazy loaded, so selecting a group is not possible as' +
4996
+ 'the grid has no way of knowing what the children are.');
4997
+ }
4998
+ }
4999
+ if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
5000
+ console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!");
4926
5001
  }
4927
- if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
4928
5002
  if (this.isRowModelServerSide()) {
4929
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4930
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4931
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
5003
+ var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
5004
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5005
+ console.warn(msg('groupDefaultExpanded'));
5006
+ }
5007
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5008
+ console.warn(msg('groupIncludeFooter'));
5009
+ }
5010
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5011
+ console.warn(msg('groupIncludeTotalFooter'));
5012
+ }
4932
5013
  }
4933
5014
  if (isTrue(this.gridOptions.enableRangeSelection)) {
4934
5015
  ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
4935
5016
  }
4936
- else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
5017
+ else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
5018
+ console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
5019
+ }
4937
5020
  if (this.isGroupRowsSticky()) {
4938
- if (this.isGroupHideOpenParents()) ;
4939
- if (this.isMasterDetail()) ;
4940
- if (this.isPagination()) ;
5021
+ if (this.isGroupHideOpenParents()) {
5022
+ console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
5023
+ }
5024
+ if (this.isMasterDetail()) {
5025
+ console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
5026
+ }
5027
+ if (this.isPagination()) {
5028
+ console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
5029
+ }
4941
5030
  }
5031
+ var warnOfDeprecaredIcon = function (name) {
5032
+ if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
5033
+ 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/");
5034
+ }
5035
+ };
5036
+ warnOfDeprecaredIcon('radioButtonOff');
5037
+ warnOfDeprecaredIcon('radioButtonOn');
5038
+ warnOfDeprecaredIcon('checkboxChecked');
5039
+ warnOfDeprecaredIcon('checkboxUnchecked');
5040
+ warnOfDeprecaredIcon('checkboxIndeterminate');
4942
5041
  // sets an initial calculation for the scrollbar width
4943
5042
  this.getScrollbarWidth();
4944
5043
  };
@@ -4962,7 +5061,11 @@ var GridOptionsWrapper = /** @class */ (function () {
4962
5061
  GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
4963
5062
  var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
4964
5063
  iterateObject(invalidProperties, function (key, value) {
5064
+ console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
4965
5065
  });
5066
+ if (Object.keys(invalidProperties).length > 0) {
5067
+ console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
5068
+ }
4966
5069
  };
4967
5070
  /**
4968
5071
  * Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
@@ -5221,7 +5324,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5221
5324
  ];
5222
5325
  if (validLayouts.indexOf(domLayout) === -1) {
5223
5326
  doOnce(function () {
5224
- return (void 0);
5327
+ return console.warn("AG Grid: " + domLayout + " is not valid for DOM Layout, valid values are " + Constants.DOM_LAYOUT_NORMAL + ", " + Constants.DOM_LAYOUT_AUTO_HEIGHT + " and " + Constants.DOM_LAYOUT_PRINT);
5225
5328
  }, 'warn about dom layout values');
5226
5329
  return Constants.DOM_LAYOUT_NORMAL;
5227
5330
  }
@@ -5616,7 +5719,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5616
5719
  return 'xy';
5617
5720
  }
5618
5721
  if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
5619
- doOnce(function () { return (void 0); }, 'warn invalid fill direction');
5722
+ doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
5620
5723
  return 'xy';
5621
5724
  }
5622
5725
  return direction;
@@ -5715,6 +5818,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5715
5818
  };
5716
5819
  GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
5717
5820
  if (this.gridOptions.defaultExportParams) {
5821
+ console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
5718
5822
  if (type === 'csv') {
5719
5823
  return this.gridOptions.defaultExportParams;
5720
5824
  }
@@ -5847,7 +5951,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5847
5951
  GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
5848
5952
  var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
5849
5953
  if (!this.isRowModelServerSide() && isEnabled) {
5850
- doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
5954
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
5851
5955
  return false;
5852
5956
  }
5853
5957
  return isEnabled;
@@ -5855,7 +5959,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5855
5959
  GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
5856
5960
  var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
5857
5961
  if (!this.isRowModelServerSide() && isEnabled) {
5858
- doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
5962
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
5859
5963
  return false;
5860
5964
  }
5861
5965
  return isEnabled;
@@ -5863,11 +5967,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5863
5967
  GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
5864
5968
  var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
5865
5969
  if (!this.isRowModelServerSide() && isEnabled) {
5866
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
5970
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
5867
5971
  return false;
5868
5972
  }
5869
5973
  if (this.isTreeData() && isEnabled) {
5870
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
5974
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
5871
5975
  return false;
5872
5976
  }
5873
5977
  return isEnabled;
@@ -5875,11 +5979,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5875
5979
  GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
5876
5980
  var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
5877
5981
  if (!this.isRowModelServerSide() && isEnabled) {
5878
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
5982
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
5879
5983
  return false;
5880
5984
  }
5881
5985
  if (this.isTreeData() && isEnabled) {
5882
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
5986
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
5883
5987
  return false;
5884
5988
  }
5885
5989
  return isEnabled;
@@ -5988,7 +6092,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5988
6092
  var capitalisedType = capitalise(type);
5989
6093
  if (exists(delay)) {
5990
6094
  if (delay < 0) {
5991
- doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
6095
+ doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
5992
6096
  }
5993
6097
  return Math.max(200, delay);
5994
6098
  }
@@ -6039,7 +6143,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6039
6143
  var rowBuffer = this.gridOptions.rowBuffer;
6040
6144
  if (typeof rowBuffer === 'number') {
6041
6145
  if (rowBuffer < 0) {
6042
- doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
6146
+ doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
6043
6147
  this.gridOptions.rowBuffer = rowBuffer = 0;
6044
6148
  }
6045
6149
  }
@@ -6073,23 +6177,45 @@ var GridOptionsWrapper = /** @class */ (function () {
6073
6177
  // casting to generic object, so typescript compiles even though
6074
6178
  // we are looking for attributes that don't exist
6075
6179
  var options = this.gridOptions;
6180
+ if (options.deprecatedEmbedFullWidthRows) {
6181
+ console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
6182
+ }
6183
+ if (options.rowDeselection) {
6184
+ 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.');
6185
+ }
6076
6186
  if (options.enableMultiRowDragging) {
6077
6187
  options.rowDragMultiRow = true;
6078
6188
  delete options.enableMultiRowDragging;
6189
+ console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
6079
6190
  }
6080
6191
  var checkRenamedProperty = function (oldProp, newProp, version) {
6081
6192
  if (options[oldProp] != null) {
6193
+ console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
6082
6194
  if (options[newProp] == null) {
6083
6195
  options[newProp] = options[oldProp];
6084
6196
  }
6085
6197
  }
6086
6198
  };
6087
- checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
6088
- checkRenamedProperty('deltaRowDataMode', 'immutableData');
6089
- checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
6090
- checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
6091
- checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
6199
+ checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
6200
+ checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
6201
+ checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
6202
+ checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
6203
+ if (options.immutableColumns || options.deltaColumnMode) {
6204
+ 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');
6205
+ }
6206
+ checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
6092
6207
  if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
6208
+ console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
6209
+ console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
6210
+ console.warn(' For example instead of this:');
6211
+ console.warn(' groupRowInnerRenderer: "myRenderer"');
6212
+ console.warn(' groupRowInnerRendererParams: {x: a}');
6213
+ console.warn(' Replace with this:');
6214
+ console.warn(' groupRowRendererParams: {');
6215
+ console.warn(' innerRenderer: "myRenderer",');
6216
+ console.warn(' innerRendererParams: {x: a}');
6217
+ console.warn(' }');
6218
+ console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
6093
6219
  if (!options.groupRowRendererParams) {
6094
6220
  options.groupRowRendererParams = {};
6095
6221
  }
@@ -6104,36 +6230,105 @@ var GridOptionsWrapper = /** @class */ (function () {
6104
6230
  params.innerRendererFramework = options.groupRowInnerRendererFramework;
6105
6231
  }
6106
6232
  }
6233
+ if (options.rememberGroupStateWhenNewData) {
6234
+ 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.');
6235
+ }
6107
6236
  if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
6237
+ console.warn('AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer');
6108
6238
  options.detailRowAutoHeight = true;
6109
6239
  }
6240
+ if (options.suppressKeyboardEvent) {
6241
+ 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.");
6242
+ }
6243
+ if (options.suppressEnterpriseResetOnNewColumns) {
6244
+ 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.');
6245
+ }
6246
+ if (options.suppressColumnStateEvents) {
6247
+ 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');
6248
+ }
6249
+ if (options.defaultExportParams) {
6250
+ console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
6251
+ }
6110
6252
  if (options.stopEditingWhenGridLosesFocus) {
6253
+ console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
6111
6254
  options.stopEditingWhenCellsLoseFocus = true;
6112
6255
  }
6256
+ if (options.applyColumnDefOrder) {
6257
+ 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');
6258
+ }
6113
6259
  if (options.groupMultiAutoColumn) {
6260
+ console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
6114
6261
  options.groupDisplayType = 'multipleColumns';
6115
6262
  }
6116
6263
  if (options.groupUseEntireRow) {
6264
+ console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
6117
6265
  options.groupDisplayType = 'groupRows';
6118
6266
  }
6119
6267
  if (options.groupSuppressAutoColumn) {
6268
+ var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
6269
+ console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
6120
6270
  options.groupDisplayType = 'custom';
6121
6271
  }
6272
+ if (options.defaultGroupOrderComparator) {
6273
+ 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.");
6274
+ }
6122
6275
  if (options.defaultGroupSortComparator) {
6276
+ console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
6123
6277
  options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
6124
6278
  }
6279
+ if (options.groupRowAggNodes) {
6280
+ 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.");
6281
+ }
6282
+ if (options.postSort) {
6283
+ 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.");
6284
+ }
6285
+ if (options.isFullWidthCell) {
6286
+ 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.");
6287
+ }
6288
+ if (options.localeTextFunc) {
6289
+ 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.");
6290
+ }
6291
+ if (options.colWidth) {
6292
+ console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
6293
+ }
6294
+ if (options.minColWidth) {
6295
+ console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
6296
+ }
6297
+ if (options.maxColWidth) {
6298
+ console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
6299
+ }
6300
+ if (options.reactUi) {
6301
+ 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.');
6302
+ }
6303
+ if (options.suppressReactUi) {
6304
+ console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
6305
+ }
6125
6306
  if (options.suppressCellSelection) {
6307
+ console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
6126
6308
  options.suppressCellFocus = options.suppressCellSelection;
6127
6309
  }
6310
+ if (options.getRowNodeId) {
6311
+ 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.');
6312
+ }
6313
+ if (options.immutableData) {
6314
+ if (options.getRowId) {
6315
+ 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`.');
6316
+ }
6317
+ else {
6318
+ console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
6319
+ }
6320
+ }
6128
6321
  if (options.clipboardDeliminator) {
6322
+ console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
6129
6323
  options.clipboardDelimiter = options.clipboardDeliminator;
6130
6324
  }
6131
- checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
6132
- checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
6325
+ checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
6326
+ checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
6133
6327
  if (options.serverSideStoreType) {
6328
+ console.warn('AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store.');
6134
6329
  options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
6135
6330
  }
6136
- checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
6331
+ checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
6137
6332
  };
6138
6333
  GridOptionsWrapper.prototype.checkForViolations = function () {
6139
6334
  if (this.isTreeData()) {
@@ -6142,11 +6337,20 @@ var GridOptionsWrapper = /** @class */ (function () {
6142
6337
  };
6143
6338
  GridOptionsWrapper.prototype.treeDataViolations = function () {
6144
6339
  if (this.isRowModelDefault()) {
6145
- if (missing(this.getDataPathFunc())) ;
6340
+ if (missing(this.getDataPathFunc())) {
6341
+ console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
6342
+ 'provide getDataPath function, please provide getDataPath function if using tree data.');
6343
+ }
6146
6344
  }
6147
6345
  if (this.isRowModelServerSide()) {
6148
- if (missing(this.getIsServerSideGroupFunc())) ;
6149
- if (missing(this.getServerSideGroupKeyFunc())) ;
6346
+ if (missing(this.getIsServerSideGroupFunc())) {
6347
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6348
+ 'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
6349
+ }
6350
+ if (missing(this.getServerSideGroupKeyFunc())) {
6351
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6352
+ 'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
6353
+ }
6150
6354
  }
6151
6355
  };
6152
6356
  GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
@@ -6215,6 +6419,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6215
6419
  this.setRowHeightVariable(rowHeight);
6216
6420
  return rowHeight;
6217
6421
  }
6422
+ console.warn('AG Grid row height must be a number if not using standard row model');
6218
6423
  return this.getDefaultRowHeight();
6219
6424
  };
6220
6425
  GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
@@ -6239,7 +6444,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6239
6444
  var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
6240
6445
  if (this.isNumeric(height)) {
6241
6446
  if (height === 0) {
6242
- doOnce(function () { return (void 0); }, 'invalidRowHeight');
6447
+ doOnce(function () { return console.warn('AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.'); }, 'invalidRowHeight');
6243
6448
  }
6244
6449
  return { height: Math.max(1, height), estimated: false };
6245
6450
  }
@@ -6284,6 +6489,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6284
6489
  GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
6285
6490
  var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
6286
6491
  if (groupDisplayTypeValues.indexOf(supplied) < 0) {
6492
+ console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
6287
6493
  return false;
6288
6494
  }
6289
6495
  return supplied === toMatch;
@@ -6291,6 +6497,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6291
6497
  GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
6292
6498
  var treeDataDisplayTypeValues = ['auto', 'custom'];
6293
6499
  if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
6500
+ console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
6294
6501
  return false;
6295
6502
  }
6296
6503
  return supplied === toMatch;
@@ -6675,6 +6882,7 @@ var ColumnModel = /** @class */ (function (_super) {
6675
6882
  };
6676
6883
  ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
6677
6884
  if (pivot && this.gridOptionsWrapper.isTreeData()) {
6885
+ console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
6678
6886
  return false;
6679
6887
  }
6680
6888
  return true;
@@ -7305,6 +7513,7 @@ var ColumnModel = /** @class */ (function (_super) {
7305
7513
  if (loopCount > 1000) {
7306
7514
  // this should never happen, but in the future, someone might introduce a bug here,
7307
7515
  // so we stop the browser from hanging and report bug properly
7516
+ console.error('AG Grid: infinite loop in resizeColumnSets');
7308
7517
  return "break";
7309
7518
  }
7310
7519
  finishedColsGrew = false;
@@ -7422,6 +7631,8 @@ var ColumnModel = /** @class */ (function (_super) {
7422
7631
  if (source === void 0) { source = "api"; }
7423
7632
  this.columnAnimationService.start();
7424
7633
  if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
7634
+ console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
7635
+ console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
7425
7636
  return;
7426
7637
  }
7427
7638
  // we want to pull all the columns out first and put them into an ordered list
@@ -7674,6 +7885,7 @@ var ColumnModel = /** @class */ (function (_super) {
7674
7885
  ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
7675
7886
  if (source === void 0) { source = "api"; }
7676
7887
  if (this.gridOptionsWrapper.getDomLayout() === 'print') {
7888
+ console.warn("Changing the column pinning status is not allowed with domLayout='print'");
7677
7889
  return;
7678
7890
  }
7679
7891
  this.columnAnimationService.start();
@@ -7943,6 +8155,7 @@ var ColumnModel = /** @class */ (function (_super) {
7943
8155
  return false;
7944
8156
  }
7945
8157
  if (params && params.state && !params.state.forEach) {
8158
+ console.warn('AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.');
7946
8159
  return false;
7947
8160
  }
7948
8161
  var applyStates = function (states, existingColumns, getById) {
@@ -8089,6 +8302,7 @@ var ColumnModel = /** @class */ (function (_super) {
8089
8302
  // is less sexy for the code here, but it keeps consistency.
8090
8303
  newOrder = this.placeLockedColumns(newOrder);
8091
8304
  if (!this.doesMovePassMarryChildren(newOrder)) {
8305
+ console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
8092
8306
  return;
8093
8307
  }
8094
8308
  this.gridColumns = newOrder;
@@ -8340,7 +8554,11 @@ var ColumnModel = /** @class */ (function (_super) {
8340
8554
  }
8341
8555
  }
8342
8556
  else {
8343
- if (exists(aggFunc)) ;
8557
+ if (exists(aggFunc)) {
8558
+ console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
8559
+ 'functions, register the functions first before using them in get/set state. This is because it is ' +
8560
+ 'intended for the column state to be stored and retrieved as simple JSON.');
8561
+ }
8344
8562
  // Note: we do not call column.setAggFunc(null), so that next time we aggregate
8345
8563
  // by this column (eg drag the column to the agg section int he toolpanel) it will
8346
8564
  // default to the last aggregation function.
@@ -8408,6 +8626,9 @@ var ColumnModel = /** @class */ (function (_super) {
8408
8626
  return null;
8409
8627
  }
8410
8628
  var column = this.getGridColumn(key);
8629
+ if (!column) {
8630
+ console.warn('AG Grid: could not find column ' + key);
8631
+ }
8411
8632
  return column;
8412
8633
  };
8413
8634
  ColumnModel.prototype.getPrimaryColumn = function (key) {
@@ -8510,6 +8731,7 @@ var ColumnModel = /** @class */ (function (_super) {
8510
8731
  // valueGetter is an expression, so execute the expression
8511
8732
  return this.expressionService.evaluate(headerValueGetter, params);
8512
8733
  }
8734
+ console.warn('ag-grid: headerValueGetter must be a function or a string');
8513
8735
  return '';
8514
8736
  }
8515
8737
  else if (colDef.headerName != null) {
@@ -8804,6 +9026,10 @@ var ColumnModel = /** @class */ (function (_super) {
8804
9026
  this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
8805
9027
  };
8806
9028
  ColumnModel.prototype.getProvidedColumnGroup = function (key) {
9029
+ // if (key instanceof ProvidedColumnGroup) { return key; }
9030
+ if (typeof key !== 'string') {
9031
+ console.error('AG Grid: group key must be a string');
9032
+ }
8807
9033
  // otherwise, search for the column group by id
8808
9034
  var res = null;
8809
9035
  this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
@@ -9014,7 +9240,8 @@ var ColumnModel = /** @class */ (function (_super) {
9014
9240
  var rowModelType = this.rowModel.getType();
9015
9241
  var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
9016
9242
  if (!supportedRowModel) {
9017
- doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
9243
+ var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
9244
+ doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
9018
9245
  }
9019
9246
  }
9020
9247
  };
@@ -10006,6 +10233,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
10006
10233
  if (found) {
10007
10234
  return result;
10008
10235
  }
10236
+ console.warn('AG Grid: could not get path');
10009
10237
  return null;
10010
10238
  };
10011
10239
  DisplayedGroupCreator = __decorate$36([
@@ -11689,12 +11917,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
11689
11917
  if (isNodeOrElement(rendererResult)) {
11690
11918
  return rendererResult;
11691
11919
  }
11920
+ console.warn('AG Grid: iconRenderer should return back a string or a dom object');
11692
11921
  }
11693
11922
  else {
11694
11923
  var span = document.createElement('span');
11695
11924
  var cssClass = iconNameClassMap[iconName];
11696
11925
  if (!cssClass) {
11697
11926
  if (!forceCreate) {
11927
+ console.warn("AG Grid: Did not find icon " + iconName);
11698
11928
  cssClass = '';
11699
11929
  }
11700
11930
  else {
@@ -12133,6 +12363,7 @@ var AgPromise = /** @class */ (function () {
12133
12363
  this.waiters.forEach(function (waiter) { return waiter(value); });
12134
12364
  };
12135
12365
  AgPromise.prototype.onReject = function (params) {
12366
+ console.warn('TBI');
12136
12367
  };
12137
12368
  return AgPromise;
12138
12369
  }());
@@ -12758,9 +12989,11 @@ function RefSelector(ref) {
12758
12989
  }
12759
12990
  function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
12760
12991
  if (selector === null) {
12992
+ console.error('AG Grid: QuerySelector selector should not be null');
12761
12993
  return;
12762
12994
  }
12763
12995
  if (typeof index === 'number') {
12996
+ console.error('AG Grid: QuerySelector should be on an attribute');
12764
12997
  return;
12765
12998
  }
12766
12999
  addToObjectProps(classPrototype, 'querySelectors', {
@@ -12995,8 +13228,12 @@ var OptionsFactory = /** @class */ (function () {
12995
13228
  this.checkForDeprecatedParams();
12996
13229
  };
12997
13230
  OptionsFactory.prototype.checkForDeprecatedParams = function () {
12998
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
12999
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
13231
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
13232
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
13233
+ }
13234
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
13235
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
13236
+ }
13000
13237
  };
13001
13238
  OptionsFactory.prototype.getFilterOptions = function () {
13002
13239
  return this.filterOptions;
@@ -13013,6 +13250,7 @@ var OptionsFactory = /** @class */ (function () {
13013
13250
  var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
13014
13251
  var propertyCheck = function (keys) {
13015
13252
  if (!keys.some(function (key) { return filterOption[key] != null; })) {
13253
+ console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
13016
13254
  return false;
13017
13255
  }
13018
13256
  return true;
@@ -13046,9 +13284,13 @@ var OptionsFactory = /** @class */ (function () {
13046
13284
  else if (firstFilterOption.displayKey) {
13047
13285
  this.defaultOption = firstFilterOption.displayKey;
13048
13286
  }
13049
- else ;
13287
+ else {
13288
+ console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
13289
+ }
13290
+ }
13291
+ else {
13292
+ console.warn('AG Grid: no filter options for filter');
13050
13293
  }
13051
- else ;
13052
13294
  };
13053
13295
  OptionsFactory.prototype.getDefaultOption = function () {
13054
13296
  return this.defaultOption;
@@ -13311,6 +13553,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
13311
13553
  clickListener = function (e) { _this.onBtCancel(e); };
13312
13554
  break;
13313
13555
  default:
13556
+ console.warn('AG Grid: Unknown button type specified');
13314
13557
  return;
13315
13558
  }
13316
13559
  var buttonType = type === 'apply' ? 'submit' : 'button';
@@ -13451,6 +13694,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
13451
13694
  // static, as used by floating filter also
13452
13695
  ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
13453
13696
  if (ProvidedFilter.isUseApplyButton(params)) {
13697
+ if (params.debounceMs != null) {
13698
+ console.warn('AG Grid: debounceMs is ignored when apply button is present');
13699
+ }
13454
13700
  return 0;
13455
13701
  }
13456
13702
  return params.debounceMs != null ? params.debounceMs : debounceDefault;
@@ -14827,6 +15073,7 @@ var ScalarFilter = /** @class */ (function (_super) {
14827
15073
  case ScalarFilter.NOT_BLANK:
14828
15074
  return !this.isBlank(cellValue);
14829
15075
  default:
15076
+ console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
14830
15077
  return true;
14831
15078
  }
14832
15079
  };
@@ -14920,11 +15167,17 @@ var DateFilter = /** @class */ (function (_super) {
14920
15167
  if (!isNaN(params[param])) {
14921
15168
  return params[param] == null ? fallback : Number(params[param]);
14922
15169
  }
15170
+ else {
15171
+ console.warn("AG Grid: DateFilter " + param + " is not a number");
15172
+ }
14923
15173
  }
14924
15174
  return fallback;
14925
15175
  };
14926
15176
  this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
14927
15177
  this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
15178
+ if (this.minValidYear > this.maxValidYear) {
15179
+ console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
15180
+ }
14928
15181
  this.createDateComponents();
14929
15182
  };
14930
15183
  DateFilter.prototype.createDateComponents = function () {
@@ -15625,7 +15878,7 @@ var TextFilter = /** @class */ (function (_super) {
15625
15878
  TextFilter.prototype.getTextMatcher = function () {
15626
15879
  var legacyComparator = this.textFilterParams.textCustomComparator;
15627
15880
  if (legacyComparator) {
15628
- _.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
15881
+ _.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
15629
15882
  return function (_a) {
15630
15883
  var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
15631
15884
  return legacyComparator(filterOption, value, filterText);
@@ -16551,7 +16804,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
16551
16804
  HeaderGroupComp.prototype.checkWarnings = function () {
16552
16805
  var paramsAny = this.params;
16553
16806
  if (paramsAny.template) {
16554
- doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
16807
+ var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
16808
+ doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
16555
16809
  }
16556
16810
  };
16557
16811
  HeaderGroupComp.prototype.setupExpandIcons = function () {
@@ -16782,6 +17036,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
16782
17036
  var _this = this;
16783
17037
  this.focusAfterAttached = params.cellStartedEdit;
16784
17038
  if (missing(params.values)) {
17039
+ console.warn('AG Grid: no values found for select cellEditor');
16785
17040
  return;
16786
17041
  }
16787
17042
  this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
@@ -16855,7 +17110,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
16855
17110
  __extends$2_(PopupSelectCellEditor, _super);
16856
17111
  function PopupSelectCellEditor() {
16857
17112
  var _this = _super.call(this) || this;
16858
- doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
17113
+ doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
16859
17114
  return _this;
16860
17115
  }
16861
17116
  PopupSelectCellEditor.prototype.isPopup = function () {
@@ -17009,7 +17264,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
17009
17264
  __extends$2Y(PopupTextCellEditor, _super);
17010
17265
  function PopupTextCellEditor() {
17011
17266
  var _this = _super.call(this) || this;
17012
- doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
17267
+ doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
17013
17268
  return _this;
17014
17269
  }
17015
17270
  PopupTextCellEditor.prototype.isPopup = function () {
@@ -17386,7 +17641,9 @@ var RowNode = /** @class */ (function () {
17386
17641
  });
17387
17642
  // make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
17388
17643
  // it has 'startsWith' in case the user provided a number.
17389
- if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
17644
+ if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
17645
+ 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.");
17646
+ }
17390
17647
  // force id to be a string
17391
17648
  if (this.id !== null && typeof this.id !== 'string') {
17392
17649
  this.id = '' + this.id;
@@ -17845,9 +18102,11 @@ var RowNode = /** @class */ (function () {
17845
18102
  // groupSelectsFiltered only makes sense when group selects children
17846
18103
  var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
17847
18104
  if (this.id === undefined) {
18105
+ console.warn('AG Grid: cannot select node until id for node is known');
17848
18106
  return 0;
17849
18107
  }
17850
18108
  if (this.rowPinned) {
18109
+ console.warn('AG Grid: cannot select pinned rows');
17851
18110
  return 0;
17852
18111
  }
17853
18112
  // if we are a footer, we don't do selection, just pass the info
@@ -18622,7 +18881,9 @@ var DragAndDropService = /** @class */ (function (_super) {
18622
18881
  }
18623
18882
  }
18624
18883
  this.eGhostParent = targetEl;
18625
- if (!this.eGhostParent) ;
18884
+ if (!this.eGhostParent) {
18885
+ console.warn('AG Grid: could not find document body, it is needed for dragging columns');
18886
+ }
18626
18887
  else {
18627
18888
  this.eGhostParent.appendChild(this.eGhost);
18628
18889
  }
@@ -18785,7 +19046,7 @@ var RowDragComp = /** @class */ (function (_super) {
18785
19046
  var treeData = this.beans.gridOptionsWrapper.isTreeData();
18786
19047
  if (treeData && managed) {
18787
19048
  doOnce(function () {
18788
- return (void 0);
19049
+ return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
18789
19050
  }, 'RowDragComp.managedAndTreeData');
18790
19051
  }
18791
19052
  };
@@ -19194,7 +19455,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19194
19455
  else if (typeof footerValueGetter === 'string') {
19195
19456
  footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
19196
19457
  }
19197
- else ;
19458
+ else {
19459
+ console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
19460
+ }
19198
19461
  }
19199
19462
  else {
19200
19463
  footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
@@ -19412,7 +19675,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19412
19675
  var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
19413
19676
  var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
19414
19677
  if (userProvidedPaddingPixelsTheDeprecatedWay) {
19415
- doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
19678
+ doOnce(function () { return console.warn('AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.'); }, 'groupCellRenderer->doDeprecatedWay');
19416
19679
  }
19417
19680
  if (this.indentClass) {
19418
19681
  this.comp.addOrRemoveCssClass(this.indentClass, false);
@@ -19917,6 +20180,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19917
20180
  UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
19918
20181
  var name = this.translateIfDeprecated(rawName);
19919
20182
  if (this.agGridDefaults[name]) {
20183
+ console.error("Trying to overwrite a default component. You should call registerComponent");
19920
20184
  return;
19921
20185
  }
19922
20186
  this.agGridDefaults[name] = component;
@@ -19924,6 +20188,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19924
20188
  UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
19925
20189
  var name = this.translateIfDeprecated(rawName);
19926
20190
  if (this.fwComps[name]) {
20191
+ console.error("Trying to register a component that you have already registered for frameworks: " + name);
19927
20192
  return;
19928
20193
  }
19929
20194
  this.jsComps[name] = component;
@@ -19933,7 +20198,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19933
20198
  * A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
19934
20199
  */
19935
20200
  UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
19936
- doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
20201
+ 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.";
20202
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
19937
20203
  var name = this.translateIfDeprecated(rawName);
19938
20204
  this.fwComps[name] = component;
19939
20205
  };
@@ -19960,13 +20226,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19960
20226
  if (defaultComponent) {
19961
20227
  return createResult(defaultComponent, false);
19962
20228
  }
19963
- if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
20229
+ if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
20230
+ console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
20231
+ }
19964
20232
  return null;
19965
20233
  };
19966
20234
  UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
19967
20235
  var deprecatedInfo = this.agDeprecatedNames[raw];
19968
20236
  if (deprecatedInfo != null) {
19969
20237
  doOnce(function () {
20238
+ console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename " + deprecatedInfo.propertyHolder + ":" + raw + " to " + deprecatedInfo.propertyHolder + ":" + deprecatedInfo.newComponentName);
19970
20239
  }, 'DEPRECATE_COMPONENT_' + raw);
19971
20240
  return deprecatedInfo.newComponentName;
19972
20241
  }
@@ -20184,6 +20453,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
20184
20453
  };
20185
20454
  UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
20186
20455
  var _this = this;
20456
+ if (mandatory === void 0) { mandatory = false; }
20187
20457
  var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
20188
20458
  var _a = this.getCompKeys(defObject, type, params), compName = _a.compName, jsComp = _a.jsComp, fwComp = _a.fwComp, paramsFromSelector = _a.paramsFromSelector, popupFromSelector = _a.popupFromSelector, popupPositionFromSelector = _a.popupPositionFromSelector;
20189
20459
  var lookupFromRegistry = function (key) {
@@ -20206,6 +20476,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
20206
20476
  jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
20207
20477
  }
20208
20478
  if (!jsComp && !fwComp) {
20479
+ if (mandatory) {
20480
+ console.error("Could not find component " + compName + ", did you forget to configure this component?");
20481
+ }
20209
20482
  return;
20210
20483
  }
20211
20484
  var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
@@ -20242,7 +20515,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20242
20515
  var selectorRes = selectorFunc ? selectorFunc(params) : null;
20243
20516
  var assignComp = function (providedJsComp, providedFwComp) {
20244
20517
  var xxxFrameworkDeprecatedWarn = function () {
20245
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20518
+ 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.";
20519
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20246
20520
  };
20247
20521
  if (typeof providedJsComp === 'string') {
20248
20522
  compName = providedJsComp;
@@ -20268,7 +20542,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20268
20542
  };
20269
20543
  if (selectorRes) {
20270
20544
  if (selectorRes.frameworkComponent != null) {
20271
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20545
+ 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.";
20546
+ doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20272
20547
  assignComp(selectorRes.frameworkComponent, undefined);
20273
20548
  }
20274
20549
  else {
@@ -20773,13 +21048,16 @@ var FilterManager = /** @class */ (function (_super) {
20773
21048
  modelKeys_1.forEach(function (colId) {
20774
21049
  var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
20775
21050
  if (!column) {
21051
+ console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
20776
21052
  return;
20777
21053
  }
20778
21054
  if (!column.isFilterAllowed()) {
21055
+ console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
20779
21056
  return;
20780
21057
  }
20781
21058
  var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
20782
21059
  if (!filterWrapper) {
21060
+ console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
20783
21061
  return;
20784
21062
  }
20785
21063
  allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
@@ -20809,6 +21087,7 @@ var FilterManager = /** @class */ (function (_super) {
20809
21087
  return new AgPromise(function (resolve) {
20810
21088
  filterPromise.then(function (filter) {
20811
21089
  if (typeof filter.setModel !== 'function') {
21090
+ console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
20812
21091
  resolve();
20813
21092
  }
20814
21093
  (filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
@@ -20825,6 +21104,7 @@ var FilterManager = /** @class */ (function (_super) {
20825
21104
  return null;
20826
21105
  }
20827
21106
  if (typeof filter.getModel !== 'function') {
21107
+ console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
20828
21108
  return;
20829
21109
  }
20830
21110
  var model = filter.getModel();
@@ -20858,6 +21138,7 @@ var FilterManager = /** @class */ (function (_super) {
20858
21138
  return false;
20859
21139
  } // this never happens, including to avoid compile error
20860
21140
  if (!filter.isFilterActive) {
21141
+ console.warn('AG Grid: Filter is missing isFilterActive() method');
20861
21142
  return false;
20862
21143
  }
20863
21144
  return filter.isFilterActive();
@@ -20931,12 +21212,14 @@ var FilterManager = /** @class */ (function (_super) {
20931
21212
  return null;
20932
21213
  }
20933
21214
  if (!this.gridOptionsWrapper.isRowModelDefault()) {
21215
+ console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
20934
21216
  return null;
20935
21217
  }
20936
21218
  return newFilter.toUpperCase();
20937
21219
  };
20938
21220
  FilterManager.prototype.setQuickFilter = function (newFilter) {
20939
21221
  if (newFilter != null && typeof newFilter !== 'string') {
21222
+ console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
20940
21223
  return;
20941
21224
  }
20942
21225
  var parsedFilter = this.parseQuickFilter(newFilter);
@@ -21196,7 +21479,9 @@ var FilterManager = /** @class */ (function (_super) {
21196
21479
  filterWrapper.guiPromise = new AgPromise(function (resolve) {
21197
21480
  filterWrapper.filterPromise.then(function (filter) {
21198
21481
  var guiFromFilter = filter.getGui();
21199
- if (!exists(guiFromFilter)) ;
21482
+ if (!exists(guiFromFilter)) {
21483
+ console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
21484
+ }
21200
21485
  // for backwards compatibility with Angular 1 - we
21201
21486
  // used to allow providing back HTML from getGui().
21202
21487
  // once we move away from supporting Angular 1
@@ -21788,6 +22073,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
21788
22073
  }
21789
22074
  var rowCount = this.paginationProxy.getRowCount();
21790
22075
  if (typeof index !== 'number' || index < 0 || index >= rowCount) {
22076
+ console.warn('invalid row index for ensureIndexVisible: ' + index);
21791
22077
  return;
21792
22078
  }
21793
22079
  var isPaging = this.gridOptionsWrapper.isPagination();
@@ -22282,10 +22568,11 @@ var RowDragFeature = /** @class */ (function (_super) {
22282
22568
  RowDragFeature.prototype.addRowDropZone = function (params) {
22283
22569
  var _this = this;
22284
22570
  if (!params.getContainer()) {
22285
- doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
22571
+ doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
22286
22572
  return;
22287
22573
  }
22288
22574
  if (this.dragAndDropService.findExternalZone(params)) {
22575
+ console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
22289
22576
  return;
22290
22577
  }
22291
22578
  var processedParams = {
@@ -22812,7 +23099,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
22812
23099
  _this.sizeColumnsToFit(params, -1);
22813
23100
  }, 500);
22814
23101
  }
22815
- else ;
23102
+ else {
23103
+ console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
23104
+ 'zero width, maybe the grid is not visible yet on the screen?');
23105
+ }
22816
23106
  };
22817
23107
  // + rangeService
22818
23108
  GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
@@ -24473,6 +24763,7 @@ var CellCtrl = /** @class */ (function (_super) {
24473
24763
  CellCtrl.prototype.createCellRendererParams = function () {
24474
24764
  var _this = this;
24475
24765
  var addRowCompListener = function (eventType, listener) {
24766
+ console.warn('AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided.');
24476
24767
  _this.rowCtrl.addEventListener(eventType, listener);
24477
24768
  };
24478
24769
  var res = {
@@ -25001,11 +25292,11 @@ var CellCtrl = /** @class */ (function (_super) {
25001
25292
  if (rowDragManaged) {
25002
25293
  // row dragging only available in default row model
25003
25294
  if (!clientSideRowModelActive) {
25004
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25295
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
25005
25296
  return;
25006
25297
  }
25007
25298
  if (pagination) {
25008
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25299
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
25009
25300
  return;
25010
25301
  }
25011
25302
  }
@@ -25222,6 +25513,7 @@ var RowCtrl = /** @class */ (function (_super) {
25222
25513
  var gow = this.beans.gridOptionsWrapper;
25223
25514
  if (gow.isEnableRangeSelection()) {
25224
25515
  doOnce(function () {
25516
+ console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
25225
25517
  }, 'rowDragAndRangeSelectionEnabled');
25226
25518
  return;
25227
25519
  }
@@ -25234,7 +25526,12 @@ var RowCtrl = /** @class */ (function (_super) {
25234
25526
  var params = this.createFullWidthParams(gui.element, pinned);
25235
25527
  var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
25236
25528
  if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
25237
- if (ModuleRegistry.isPackageBased()) ;
25529
+ if (ModuleRegistry.isPackageBased()) {
25530
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
25531
+ }
25532
+ else {
25533
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
25534
+ }
25238
25535
  return;
25239
25536
  }
25240
25537
  var compDetails;
@@ -25985,6 +26282,7 @@ var RowCtrl = /** @class */ (function (_super) {
25985
26282
  // part 1 - rowStyle
25986
26283
  var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
25987
26284
  if (rowStyle && typeof rowStyle === 'function') {
26285
+ console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
25988
26286
  return;
25989
26287
  }
25990
26288
  // part 1 - rowStyleFunc
@@ -26099,12 +26397,14 @@ var RowCtrl = /** @class */ (function (_super) {
26099
26397
  RowCtrl.prototype.addEventListener = function (eventType, listener) {
26100
26398
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26101
26399
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26400
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26102
26401
  }
26103
26402
  _super.prototype.addEventListener.call(this, eventType, listener);
26104
26403
  };
26105
26404
  RowCtrl.prototype.removeEventListener = function (eventType, listener) {
26106
26405
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26107
26406
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26407
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26108
26408
  }
26109
26409
  _super.prototype.removeEventListener.call(this, eventType, listener);
26110
26410
  };
@@ -28264,7 +28564,7 @@ var NavigationService = /** @class */ (function (_super) {
28264
28564
  var userCell = userFunc(params);
28265
28565
  if (exists(userCell)) {
28266
28566
  if (userCell.floating) {
28267
- doOnce(function () { }, 'no floating in userCell');
28567
+ doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
28268
28568
  userCell.rowPinned = userCell.floating;
28269
28569
  }
28270
28570
  nextPosition = {
@@ -28397,7 +28697,7 @@ var NavigationService = /** @class */ (function (_super) {
28397
28697
  var userCell = userFunc(params);
28398
28698
  if (exists(userCell)) {
28399
28699
  if (userCell.floating) {
28400
- doOnce(function () { }, 'no floating in userCell');
28700
+ doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
28401
28701
  userCell.rowPinned = userCell.floating;
28402
28702
  }
28403
28703
  nextCell = {
@@ -28952,6 +29252,7 @@ var CellComp = /** @class */ (function (_super) {
28952
29252
  return;
28953
29253
  }
28954
29254
  if (!cellEditor.getGui) {
29255
+ console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
28955
29256
  this.beans.context.destroyBean(cellEditor);
28956
29257
  return;
28957
29258
  }
@@ -28989,7 +29290,10 @@ var CellComp = /** @class */ (function (_super) {
28989
29290
  };
28990
29291
  CellComp.prototype.addPopupCellEditor = function (params, position) {
28991
29292
  var _this = this;
28992
- if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
29293
+ if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
29294
+ console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
29295
+ '- either turn off fullRowEdit, or stop using popup editors.');
29296
+ }
28993
29297
  var cellEditor = this.cellEditor;
28994
29298
  // if a popup, then we wrap in a popup editor and return the popup
28995
29299
  this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
@@ -29173,6 +29477,9 @@ var RowComp = /** @class */ (function (_super) {
29173
29477
  };
29174
29478
  RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
29175
29479
  var _this = this;
29480
+ if (this.fullWidthCellRenderer) {
29481
+ console.error('AG Grid - should not be setting fullWidthRowComponent twice');
29482
+ }
29176
29483
  this.fullWidthCellRenderer = fullWidthRowComponent;
29177
29484
  this.addDestroyFunc(function () {
29178
29485
  _this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
@@ -29597,6 +29904,7 @@ var MoveColumnFeature = /** @class */ (function () {
29597
29904
  switch (hDirection) {
29598
29905
  case HorizontalDirection.Left: return HorizontalDirection.Right;
29599
29906
  case HorizontalDirection.Right: return HorizontalDirection.Left;
29907
+ default: console.error("AG Grid: Unknown direction " + hDirection);
29600
29908
  }
29601
29909
  }
29602
29910
  else {
@@ -30637,6 +30945,7 @@ var GridApi = /** @class */ (function () {
30637
30945
  }
30638
30946
  var exportMode = this.getExcelExportMode(params);
30639
30947
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30948
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30640
30949
  return;
30641
30950
  }
30642
30951
  return this.excelCreator.getDataAsExcel(params);
@@ -30648,6 +30957,7 @@ var GridApi = /** @class */ (function () {
30648
30957
  }
30649
30958
  var exportMode = this.getExcelExportMode(params);
30650
30959
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30960
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30651
30961
  return;
30652
30962
  }
30653
30963
  this.excelCreator.exportDataAsExcel(params);
@@ -30675,6 +30985,7 @@ var GridApi = /** @class */ (function () {
30675
30985
  };
30676
30986
  /** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
30677
30987
  GridApi.prototype.setEnterpriseDatasource = function (datasource) {
30988
+ console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
30678
30989
  this.setServerSideDatasource(datasource);
30679
30990
  };
30680
30991
  /**
@@ -30703,6 +31014,9 @@ var GridApi = /** @class */ (function () {
30703
31014
  // should really have an IEnterpriseRowModel interface, so we are not casting to any
30704
31015
  this.serverSideRowModel.setDatasource(datasource);
30705
31016
  }
31017
+ else {
31018
+ console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
31019
+ }
30706
31020
  };
30707
31021
  /**
30708
31022
  * Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
@@ -30711,6 +31025,7 @@ var GridApi = /** @class */ (function () {
30711
31025
  * */
30712
31026
  GridApi.prototype.setCacheBlockSize = function (blockSize) {
30713
31027
  if (!this.serverSideRowModel) {
31028
+ console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
30714
31029
  return;
30715
31030
  }
30716
31031
  this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
@@ -30721,6 +31036,9 @@ var GridApi = /** @class */ (function () {
30721
31036
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
30722
31037
  this.rowModel.setDatasource(datasource);
30723
31038
  }
31039
+ else {
31040
+ console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
31041
+ }
30724
31042
  };
30725
31043
  /** Set new datasource for Viewport Row Model. */
30726
31044
  GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
@@ -30730,12 +31048,16 @@ var GridApi = /** @class */ (function () {
30730
31048
  // the enterprise implement it, rather than casting to 'any' here
30731
31049
  this.rowModel.setViewportDatasource(viewportDatasource);
30732
31050
  }
31051
+ else {
31052
+ console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
31053
+ }
30733
31054
  };
30734
31055
  /** Set the row data. */
30735
31056
  GridApi.prototype.setRowData = function (rowData) {
30736
31057
  // immutable service is part of the CSRM module, if missing, no CSRM
30737
31058
  var missingImmutableService = this.immutableService == null;
30738
31059
  if (missingImmutableService) {
31060
+ console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
30739
31061
  return;
30740
31062
  }
30741
31063
  // if no keys provided provided for rows, then we can tread the operation as Immutable
@@ -30749,26 +31071,32 @@ var GridApi = /** @class */ (function () {
30749
31071
  };
30750
31072
  /** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
30751
31073
  GridApi.prototype.setFloatingTopRowData = function (rows) {
31074
+ console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
30752
31075
  this.setPinnedTopRowData(rows);
30753
31076
  };
30754
31077
  /** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
30755
31078
  GridApi.prototype.setFloatingBottomRowData = function (rows) {
31079
+ console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
30756
31080
  this.setPinnedBottomRowData(rows);
30757
31081
  };
30758
31082
  /** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
30759
31083
  GridApi.prototype.getFloatingTopRowCount = function () {
31084
+ console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
30760
31085
  return this.getPinnedTopRowCount();
30761
31086
  };
30762
31087
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
30763
31088
  GridApi.prototype.getFloatingBottomRowCount = function () {
31089
+ console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
30764
31090
  return this.getPinnedBottomRowCount();
30765
31091
  };
30766
31092
  /** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
30767
31093
  GridApi.prototype.getFloatingTopRow = function (index) {
31094
+ console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
30768
31095
  return this.getPinnedTopRow(index);
30769
31096
  };
30770
31097
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
30771
31098
  GridApi.prototype.getFloatingBottomRow = function (index) {
31099
+ console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
30772
31100
  return this.getPinnedBottomRow(index);
30773
31101
  };
30774
31102
  /** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
@@ -30849,6 +31177,7 @@ var GridApi = /** @class */ (function () {
30849
31177
  if (params === void 0) { params = {}; }
30850
31178
  if (Array.isArray(params)) {
30851
31179
  // the old version of refreshCells() took an array of rowNodes for the first argument
31180
+ console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
30852
31181
  return;
30853
31182
  }
30854
31183
  this.rowRenderer.refreshCells(params);
@@ -30902,8 +31231,12 @@ var GridApi = /** @class */ (function () {
30902
31231
  * It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
30903
31232
  */
30904
31233
  GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
30905
- if (missing(this.clientSideRowModel)) ;
30906
- if (exists(deprecated_refreshFromIndex)) ;
31234
+ if (missing(this.clientSideRowModel)) {
31235
+ console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
31236
+ }
31237
+ if (exists(deprecated_refreshFromIndex)) {
31238
+ console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
31239
+ }
30907
31240
  // we don't really want the user calling this if only one rowNode was expanded, instead they should be
30908
31241
  // calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
30909
31242
  // grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
@@ -30912,6 +31245,7 @@ var GridApi = /** @class */ (function () {
30912
31245
  };
30913
31246
  /** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
30914
31247
  GridApi.prototype.refreshInMemoryRowModel = function (step) {
31248
+ console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
30915
31249
  this.refreshClientSideRowModel(step);
30916
31250
  };
30917
31251
  /**
@@ -30919,7 +31253,9 @@ var GridApi = /** @class */ (function () {
30919
31253
  * Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
30920
31254
  */
30921
31255
  GridApi.prototype.refreshClientSideRowModel = function (step) {
30922
- if (missing(this.clientSideRowModel)) ;
31256
+ if (missing(this.clientSideRowModel)) {
31257
+ console.warn('cannot call refreshClientSideRowModel unless using normal row model');
31258
+ }
30923
31259
  var paramsStep = ClientSideRowModelSteps.EVERYTHING;
30924
31260
  var stepsMapped = {
30925
31261
  everything: ClientSideRowModelSteps.EVERYTHING,
@@ -30934,6 +31270,7 @@ var GridApi = /** @class */ (function () {
30934
31270
  paramsStep = stepsMapped[step];
30935
31271
  }
30936
31272
  if (missing(paramsStep)) {
31273
+ console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
30937
31274
  return;
30938
31275
  }
30939
31276
  var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
@@ -30979,7 +31316,9 @@ var GridApi = /** @class */ (function () {
30979
31316
  else if (this.serverSideRowModel) {
30980
31317
  this.serverSideRowModel.expandAll(true);
30981
31318
  }
30982
- else ;
31319
+ else {
31320
+ console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
31321
+ }
30983
31322
  };
30984
31323
  /** Collapse all groups. */
30985
31324
  GridApi.prototype.collapseAll = function () {
@@ -30989,17 +31328,23 @@ var GridApi = /** @class */ (function () {
30989
31328
  else if (this.serverSideRowModel) {
30990
31329
  this.serverSideRowModel.expandAll(false);
30991
31330
  }
30992
- else ;
31331
+ else {
31332
+ console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
31333
+ }
30993
31334
  };
30994
31335
  /** Gets the tool panel instance corresponding to the supplied `id`. */
30995
31336
  GridApi.prototype.getToolPanelInstance = function (id) {
30996
31337
  if (!this.sideBarComp) {
31338
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
30997
31339
  return;
30998
31340
  }
30999
31341
  var comp = this.sideBarComp.getToolPanelInstance(id);
31000
31342
  return unwrapUserComp(comp);
31001
31343
  };
31002
31344
  GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
31345
+ if (typeof eventName !== 'string') {
31346
+ console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
31347
+ }
31003
31348
  this.addRenderedRowListener(eventName, rowIndex, callback);
31004
31349
  };
31005
31350
  /**
@@ -31010,6 +31355,9 @@ var GridApi = /** @class */ (function () {
31010
31355
  * listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
31011
31356
  */
31012
31357
  GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
31358
+ if (eventName === 'virtualRowSelected') {
31359
+ console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
31360
+ }
31013
31361
  this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
31014
31362
  };
31015
31363
  /** Pass a quick filter text into the grid for filtering. */
@@ -31018,19 +31366,38 @@ var GridApi = /** @class */ (function () {
31018
31366
  };
31019
31367
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
31020
31368
  GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
31369
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31370
+ if (suppressEvents) {
31371
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31372
+ }
31021
31373
  this.selectionService.selectIndex(index, tryMulti);
31022
31374
  };
31023
31375
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
31024
31376
  GridApi.prototype.deselectIndex = function (index, suppressEvents) {
31377
+ if (suppressEvents === void 0) { suppressEvents = false; }
31378
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31379
+ if (suppressEvents) {
31380
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31381
+ }
31025
31382
  this.selectionService.deselectIndex(index);
31026
31383
  };
31027
31384
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31028
31385
  GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
31029
31386
  if (tryMulti === void 0) { tryMulti = false; }
31387
+ if (suppressEvents === void 0) { suppressEvents = false; }
31388
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31389
+ if (suppressEvents) {
31390
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31391
+ }
31030
31392
  node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
31031
31393
  };
31032
31394
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31033
31395
  GridApi.prototype.deselectNode = function (node, suppressEvents) {
31396
+ if (suppressEvents === void 0) { suppressEvents = false; }
31397
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31398
+ if (suppressEvents) {
31399
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31400
+ }
31034
31401
  node.setSelectedParams({ newValue: false });
31035
31402
  };
31036
31403
  /** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
@@ -31051,7 +31418,10 @@ var GridApi = /** @class */ (function () {
31051
31418
  };
31052
31419
  /** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
31053
31420
  GridApi.prototype.recomputeAggregates = function () {
31054
- if (missing(this.clientSideRowModel)) ;
31421
+ if (missing(this.clientSideRowModel)) {
31422
+ console.warn('cannot call recomputeAggregates unless using normal row model');
31423
+ }
31424
+ console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
31055
31425
  this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
31056
31426
  };
31057
31427
  /**
@@ -31073,10 +31443,12 @@ var GridApi = /** @class */ (function () {
31073
31443
  this.overlayWrapperComp.hideOverlay();
31074
31444
  };
31075
31445
  GridApi.prototype.isNodeSelected = function (node) {
31446
+ console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
31076
31447
  return node.isSelected();
31077
31448
  };
31078
31449
  /** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
31079
31450
  GridApi.prototype.getSelectedNodesById = function () {
31451
+ console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
31080
31452
  return null;
31081
31453
  };
31082
31454
  /**
@@ -31105,6 +31477,7 @@ var GridApi = /** @class */ (function () {
31105
31477
  };
31106
31478
  /** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
31107
31479
  GridApi.prototype.ensureColIndexVisible = function (index) {
31480
+ console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
31108
31481
  };
31109
31482
  /**
31110
31483
  * Ensures the column is visible by scrolling the table if needed.
@@ -31146,7 +31519,9 @@ var GridApi = /** @class */ (function () {
31146
31519
  * but excluding groups the grid created where gaps were missing in the hierarchy.
31147
31520
  */
31148
31521
  GridApi.prototype.forEachLeafNode = function (callback) {
31149
- if (missing(this.clientSideRowModel)) ;
31522
+ if (missing(this.clientSideRowModel)) {
31523
+ console.warn('cannot call forEachNode unless using normal row model');
31524
+ }
31150
31525
  this.clientSideRowModel.forEachLeafNode(callback);
31151
31526
  };
31152
31527
  /**
@@ -31160,12 +31535,16 @@ var GridApi = /** @class */ (function () {
31160
31535
  };
31161
31536
  /** Similar to `forEachNode`, except skips any filtered out data. */
31162
31537
  GridApi.prototype.forEachNodeAfterFilter = function (callback) {
31163
- if (missing(this.clientSideRowModel)) ;
31538
+ if (missing(this.clientSideRowModel)) {
31539
+ console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
31540
+ }
31164
31541
  this.clientSideRowModel.forEachNodeAfterFilter(callback);
31165
31542
  };
31166
31543
  /** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
31167
31544
  GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
31168
- if (missing(this.clientSideRowModel)) ;
31545
+ if (missing(this.clientSideRowModel)) {
31546
+ console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
31547
+ }
31169
31548
  this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
31170
31549
  };
31171
31550
  /**
@@ -31403,10 +31782,12 @@ var GridApi = /** @class */ (function () {
31403
31782
  };
31404
31783
  /** @deprecated use `setProcessPivotResultColDef` instead */
31405
31784
  GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
31785
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
31406
31786
  this.setProcessPivotResultColDef(processSecondaryColDefFunc);
31407
31787
  };
31408
31788
  /** @deprecated use `setProcessPivotResultColGroupDef` instead */
31409
31789
  GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
31790
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
31410
31791
  this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
31411
31792
  };
31412
31793
  GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
@@ -31462,6 +31843,9 @@ var GridApi = /** @class */ (function () {
31462
31843
  /** Show/hide the entire side bar, including any visible panel and the tab buttons. */
31463
31844
  GridApi.prototype.setSideBarVisible = function (show) {
31464
31845
  if (!this.sideBarComp) {
31846
+ if (show) {
31847
+ console.warn('AG Grid: sideBar is not loaded');
31848
+ }
31465
31849
  return;
31466
31850
  }
31467
31851
  this.sideBarComp.setDisplayed(show);
@@ -31469,6 +31853,7 @@ var GridApi = /** @class */ (function () {
31469
31853
  /** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
31470
31854
  GridApi.prototype.setSideBarPosition = function (position) {
31471
31855
  if (!this.sideBarComp) {
31856
+ console.warn('AG Grid: sideBar is not loaded');
31472
31857
  return;
31473
31858
  }
31474
31859
  this.sideBarComp.setSideBarPosition(position);
@@ -31476,6 +31861,7 @@ var GridApi = /** @class */ (function () {
31476
31861
  /** Opens a particular tool panel. Provide the ID of the tool panel to open. */
31477
31862
  GridApi.prototype.openToolPanel = function (key) {
31478
31863
  if (!this.sideBarComp) {
31864
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31479
31865
  return;
31480
31866
  }
31481
31867
  this.sideBarComp.openToolPanel(key);
@@ -31483,6 +31869,7 @@ var GridApi = /** @class */ (function () {
31483
31869
  /** Closes the currently open tool panel (if any). */
31484
31870
  GridApi.prototype.closeToolPanel = function () {
31485
31871
  if (!this.sideBarComp) {
31872
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31486
31873
  return;
31487
31874
  }
31488
31875
  this.sideBarComp.close();
@@ -31508,12 +31895,14 @@ var GridApi = /** @class */ (function () {
31508
31895
  };
31509
31896
  /** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
31510
31897
  GridApi.prototype.doLayout = function () {
31511
- doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
31898
+ 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";
31899
+ doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
31512
31900
  };
31513
31901
  /** Tells the grid to recalculate the row heights. */
31514
31902
  GridApi.prototype.resetRowHeights = function () {
31515
31903
  if (exists(this.clientSideRowModel)) {
31516
31904
  if (this.columnModel.isAutoRowHeightActive()) {
31905
+ console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
31517
31906
  return;
31518
31907
  }
31519
31908
  this.clientSideRowModel.resetRowHeights();
@@ -31600,6 +31989,9 @@ var GridApi = /** @class */ (function () {
31600
31989
  setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
31601
31990
  };
31602
31991
  GridApi.prototype.warnIfDestroyed = function (methodName) {
31992
+ if (this.destroyCalled) {
31993
+ console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
31994
+ }
31603
31995
  return this.destroyCalled;
31604
31996
  };
31605
31997
  /** Reset the quick filter cache text on every rowNode. */
@@ -31611,6 +32003,7 @@ var GridApi = /** @class */ (function () {
31611
32003
  };
31612
32004
  /** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
31613
32005
  GridApi.prototype.getRangeSelections = function () {
32006
+ console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation.");
31614
32007
  return null;
31615
32008
  };
31616
32009
  /** Returns the list of selected cell ranges. */
@@ -31618,6 +32011,7 @@ var GridApi = /** @class */ (function () {
31618
32011
  if (this.rangeService) {
31619
32012
  return this.rangeService.getCellRanges();
31620
32013
  }
32014
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
31621
32015
  return null;
31622
32016
  };
31623
32017
  GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
@@ -31625,13 +32019,20 @@ var GridApi = /** @class */ (function () {
31625
32019
  };
31626
32020
  /** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
31627
32021
  GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
32022
+ console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');
31628
32023
  };
31629
32024
  /** Adds the provided cell range to the selected ranges. */
31630
32025
  GridApi.prototype.addCellRange = function (params) {
32026
+ if (!this.rangeService) {
32027
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32028
+ }
31631
32029
  this.rangeService.addCellRange(params);
31632
32030
  };
31633
32031
  /** Clears the selected ranges. */
31634
32032
  GridApi.prototype.clearRangeSelection = function () {
32033
+ if (!this.rangeService) {
32034
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32035
+ }
31635
32036
  this.rangeService.removeAllCellRanges();
31636
32037
  };
31637
32038
  /** Reverts the last cell edit. */
@@ -31718,18 +32119,30 @@ var GridApi = /** @class */ (function () {
31718
32119
  };
31719
32120
  /** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
31720
32121
  GridApi.prototype.copyToClipboard = function (params) {
32122
+ if (!this.clipboardService) {
32123
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32124
+ }
31721
32125
  this.clipboardService.copyToClipboard(params);
31722
32126
  };
31723
32127
  /** Copies the selected rows to the clipboard. */
31724
32128
  GridApi.prototype.copySelectedRowsToClipboard = function (params) {
32129
+ if (!this.clipboardService) {
32130
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32131
+ }
31725
32132
  this.clipboardService.copySelectedRowsToClipboard(params);
31726
32133
  };
31727
32134
  /** Copies the selected ranges to the clipboard. */
31728
32135
  GridApi.prototype.copySelectedRangeToClipboard = function (params) {
32136
+ if (!this.clipboardService) {
32137
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32138
+ }
31729
32139
  this.clipboardService.copySelectedRangeToClipboard(params);
31730
32140
  };
31731
32141
  /** Copies the selected range down, similar to `Ctrl + D` in Excel. */
31732
32142
  GridApi.prototype.copySelectedRangeDown = function () {
32143
+ if (!this.clipboardService) {
32144
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32145
+ }
31733
32146
  this.clipboardService.copyRangeDown();
31734
32147
  };
31735
32148
  /** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
@@ -31746,6 +32159,7 @@ var GridApi = /** @class */ (function () {
31746
32159
  column = this.columnModel.getPrimaryColumn(colKey);
31747
32160
  }
31748
32161
  if (!column) {
32162
+ console.error("AG Grid: column '" + colKey + "' not found");
31749
32163
  return;
31750
32164
  }
31751
32165
  this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
@@ -31798,6 +32212,7 @@ var GridApi = /** @class */ (function () {
31798
32212
  GridApi.prototype.startEditingCell = function (params) {
31799
32213
  var column = this.columnModel.getGridColumn(params.colKey);
31800
32214
  if (!column) {
32215
+ console.warn("AG Grid: no column found for " + params.colKey);
31801
32216
  return;
31802
32217
  }
31803
32218
  var cellPosition = {
@@ -31836,12 +32251,14 @@ var GridApi = /** @class */ (function () {
31836
32251
  /** Apply transactions to the server side row model. */
31837
32252
  GridApi.prototype.applyServerSideTransaction = function (transaction) {
31838
32253
  if (!this.serverSideTransactionManager) {
32254
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31839
32255
  return;
31840
32256
  }
31841
32257
  return this.serverSideTransactionManager.applyTransaction(transaction);
31842
32258
  };
31843
32259
  GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
31844
32260
  if (!this.serverSideTransactionManager) {
32261
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31845
32262
  return;
31846
32263
  }
31847
32264
  return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
@@ -31849,12 +32266,14 @@ var GridApi = /** @class */ (function () {
31849
32266
  /** Gets all failed server side loads to retry. */
31850
32267
  GridApi.prototype.retryServerSideLoads = function () {
31851
32268
  if (!this.serverSideRowModel) {
32269
+ console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
31852
32270
  return;
31853
32271
  }
31854
32272
  this.serverSideRowModel.retryLoads();
31855
32273
  };
31856
32274
  GridApi.prototype.flushServerSideAsyncTransactions = function () {
31857
32275
  if (!this.serverSideTransactionManager) {
32276
+ console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
31858
32277
  return;
31859
32278
  }
31860
32279
  return this.serverSideTransactionManager.flushAsyncTransactions();
@@ -31862,6 +32281,7 @@ var GridApi = /** @class */ (function () {
31862
32281
  /** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
31863
32282
  GridApi.prototype.applyTransaction = function (rowDataTransaction) {
31864
32283
  if (!this.clientSideRowModel) {
32284
+ console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
31865
32285
  return;
31866
32286
  }
31867
32287
  var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
@@ -31879,12 +32299,14 @@ var GridApi = /** @class */ (function () {
31879
32299
  };
31880
32300
  /** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
31881
32301
  GridApi.prototype.updateRowData = function (rowDataTransaction) {
31882
- doOnce(function () { return (void 0); }, 'updateRowData deprecated');
32302
+ 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.';
32303
+ doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
31883
32304
  return this.applyTransaction(rowDataTransaction);
31884
32305
  };
31885
32306
  /** Same as `applyTransaction` except executes asynchronously for efficiency. */
31886
32307
  GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
31887
32308
  if (!this.clientSideRowModel) {
32309
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31888
32310
  return;
31889
32311
  }
31890
32312
  this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
@@ -31892,34 +32314,41 @@ var GridApi = /** @class */ (function () {
31892
32314
  /** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
31893
32315
  GridApi.prototype.flushAsyncTransactions = function () {
31894
32316
  if (!this.clientSideRowModel) {
32317
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31895
32318
  return;
31896
32319
  }
31897
32320
  this.clientSideRowModel.flushAsyncTransactions();
31898
32321
  };
31899
32322
  /** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
31900
32323
  GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
31901
- doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
32324
+ 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.';
32325
+ doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
31902
32326
  this.applyTransactionAsync(rowDataTransaction, callback);
31903
32327
  };
31904
32328
  /** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
31905
32329
  GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
32330
+ console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
31906
32331
  this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
31907
32332
  };
31908
32333
  /** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
31909
32334
  GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
32335
+ console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
31910
32336
  var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
31911
32337
  this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
31912
32338
  };
31913
32339
  /** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
31914
32340
  GridApi.prototype.addItems = function (items, skipRefresh) {
32341
+ console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
31915
32342
  this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
31916
32343
  };
31917
32344
  /** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31918
32345
  GridApi.prototype.refreshVirtualPageCache = function () {
32346
+ console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31919
32347
  this.refreshInfiniteCache();
31920
32348
  };
31921
32349
  /** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31922
32350
  GridApi.prototype.refreshInfinitePageCache = function () {
32351
+ console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31923
32352
  this.refreshInfiniteCache();
31924
32353
  };
31925
32354
  /**
@@ -31931,13 +32360,18 @@ var GridApi = /** @class */ (function () {
31931
32360
  if (this.infiniteRowModel) {
31932
32361
  this.infiniteRowModel.refreshCache();
31933
32362
  }
32363
+ else {
32364
+ console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
32365
+ }
31934
32366
  };
31935
32367
  /** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31936
32368
  GridApi.prototype.purgeVirtualPageCache = function () {
32369
+ console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31937
32370
  this.purgeInfinitePageCache();
31938
32371
  };
31939
32372
  /** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31940
32373
  GridApi.prototype.purgeInfinitePageCache = function () {
32374
+ console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31941
32375
  this.purgeInfiniteCache();
31942
32376
  };
31943
32377
  /**
@@ -31950,20 +32384,28 @@ var GridApi = /** @class */ (function () {
31950
32384
  if (this.infiniteRowModel) {
31951
32385
  this.infiniteRowModel.purgeCache();
31952
32386
  }
32387
+ else {
32388
+ console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
32389
+ }
31953
32390
  };
31954
32391
  /** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
31955
32392
  GridApi.prototype.purgeEnterpriseCache = function (route) {
32393
+ console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
31956
32394
  this.purgeServerSideCache(route);
31957
32395
  };
31958
32396
  /** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
31959
32397
  GridApi.prototype.purgeServerSideCache = function (route) {
31960
32398
  if (route === void 0) { route = []; }
31961
32399
  if (this.serverSideRowModel) {
32400
+ console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
31962
32401
  this.refreshServerSide({
31963
32402
  route: route,
31964
32403
  purge: true
31965
32404
  });
31966
32405
  }
32406
+ else {
32407
+ console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
32408
+ }
31967
32409
  };
31968
32410
  /**
31969
32411
  * Refresh a server-side level.
@@ -31972,29 +32414,34 @@ var GridApi = /** @class */ (function () {
31972
32414
  */
31973
32415
  GridApi.prototype.refreshServerSide = function (params) {
31974
32416
  if (!this.serverSideRowModel) {
32417
+ console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
31975
32418
  return;
31976
32419
  }
31977
32420
  this.serverSideRowModel.refreshStore(params);
31978
32421
  };
31979
32422
  /** @deprecated use `refreshServerSide` instead */
31980
32423
  GridApi.prototype.refreshServerSideStore = function (params) {
31981
- doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
32424
+ var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
32425
+ doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
31982
32426
  return this.refreshServerSide(params);
31983
32427
  };
31984
32428
  /** @deprecated use `getServerSideGroupLevelState` instead */
31985
32429
  GridApi.prototype.getServerSideStoreState = function () {
31986
- doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
32430
+ var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
32431
+ doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
31987
32432
  return this.getServerSideGroupLevelState();
31988
32433
  };
31989
32434
  /** Returns info on all server side group levels. */
31990
32435
  GridApi.prototype.getServerSideGroupLevelState = function () {
31991
32436
  if (!this.serverSideRowModel) {
32437
+ console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
31992
32438
  return [];
31993
32439
  }
31994
32440
  return this.serverSideRowModel.getStoreState();
31995
32441
  };
31996
32442
  /** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
31997
32443
  GridApi.prototype.getVirtualRowCount = function () {
32444
+ console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
31998
32445
  return this.getInfiniteRowCount();
31999
32446
  };
32000
32447
  /** The row count defines how many rows the grid allows scrolling to. */
@@ -32002,9 +32449,13 @@ var GridApi = /** @class */ (function () {
32002
32449
  if (this.infiniteRowModel) {
32003
32450
  return this.infiniteRowModel.getRowCount();
32004
32451
  }
32452
+ else {
32453
+ console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
32454
+ }
32005
32455
  };
32006
32456
  /** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
32007
32457
  GridApi.prototype.isMaxRowFound = function () {
32458
+ console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
32008
32459
  return this.isLastRowIndexKnown();
32009
32460
  };
32010
32461
  /** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
@@ -32012,13 +32463,18 @@ var GridApi = /** @class */ (function () {
32012
32463
  if (this.infiniteRowModel) {
32013
32464
  return this.infiniteRowModel.isLastRowIndexKnown();
32014
32465
  }
32466
+ else {
32467
+ console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
32468
+ }
32015
32469
  };
32016
32470
  /** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
32017
32471
  GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
32472
+ console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
32018
32473
  this.setRowCount(rowCount, maxRowFound);
32019
32474
  };
32020
32475
  /** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
32021
32476
  GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
32477
+ console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
32022
32478
  this.setRowCount(rowCount, maxRowFound);
32023
32479
  };
32024
32480
  /**
@@ -32032,13 +32488,18 @@ var GridApi = /** @class */ (function () {
32032
32488
  if (this.infiniteRowModel) {
32033
32489
  this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
32034
32490
  }
32491
+ else {
32492
+ console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
32493
+ }
32035
32494
  };
32036
32495
  /** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32037
32496
  GridApi.prototype.getVirtualPageState = function () {
32497
+ console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32038
32498
  return this.getCacheBlockState();
32039
32499
  };
32040
32500
  /** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32041
32501
  GridApi.prototype.getInfinitePageState = function () {
32502
+ console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32042
32503
  return this.getCacheBlockState();
32043
32504
  };
32044
32505
  /**
@@ -32049,9 +32510,11 @@ var GridApi = /** @class */ (function () {
32049
32510
  };
32050
32511
  /** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
32051
32512
  GridApi.prototype.checkGridSize = function () {
32513
+ console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
32052
32514
  };
32053
32515
  /** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
32054
32516
  GridApi.prototype.getFirstRenderedRow = function () {
32517
+ console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
32055
32518
  return this.getFirstDisplayedRow();
32056
32519
  };
32057
32520
  /** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -32060,6 +32523,7 @@ var GridApi = /** @class */ (function () {
32060
32523
  };
32061
32524
  /** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
32062
32525
  GridApi.prototype.getLastRenderedRow = function () {
32526
+ console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
32063
32527
  return this.getLastDisplayedRow();
32064
32528
  };
32065
32529
  /** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -33111,7 +33575,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
33111
33575
  };
33112
33576
  };
33113
33577
  SelectAllFeature.prototype.checkRightRowModelType = function () {
33114
- this.rowModel.getType();
33578
+ var rowModelType = this.rowModel.getType();
33579
+ var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
33580
+ if (!rowModelMatches) {
33581
+ console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
33582
+ }
33115
33583
  };
33116
33584
  SelectAllFeature.prototype.onCbSelectAll = function () {
33117
33585
  if (this.processingEventFromCheckbox) {
@@ -33143,12 +33611,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
33143
33611
  }
33144
33612
  if (result) {
33145
33613
  if (this.gridOptionsWrapper.isRowModelServerSide()) {
33614
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
33146
33615
  return false;
33147
33616
  }
33148
33617
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
33618
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
33149
33619
  return false;
33150
33620
  }
33151
33621
  if (this.gridOptionsWrapper.isRowModelViewport()) {
33622
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
33152
33623
  return false;
33153
33624
  }
33154
33625
  // otherwise the row model is compatible, so return true
@@ -35765,6 +36236,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
35765
36236
  // frames. this stops bugs - where some code is asking for a frame to be executed
35766
36237
  // when it should not.
35767
36238
  AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
36239
+ if (this.useAnimationFrame === false) {
36240
+ console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
36241
+ }
35768
36242
  };
35769
36243
  AnimationFrameService.prototype.createTask = function (task, index, list) {
35770
36244
  this.verifyAnimationFrameOn(list);
@@ -37001,10 +37475,10 @@ var RowRenderer = /** @class */ (function (_super) {
37001
37475
  this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
37002
37476
  if (this.gridOptionsWrapper.isGroupRowsSticky()) {
37003
37477
  if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
37004
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37478
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37005
37479
  }
37006
37480
  else if (this.gridOptionsWrapper.isTreeData()) {
37007
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37481
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37008
37482
  }
37009
37483
  else {
37010
37484
  this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
@@ -41148,7 +41622,9 @@ var AgMenuList = /** @class */ (function (_super) {
41148
41622
  if (menuItemOrString === 'separator') {
41149
41623
  _this.addSeparator();
41150
41624
  }
41151
- else if (typeof menuItemOrString === 'string') ;
41625
+ else if (typeof menuItemOrString === 'string') {
41626
+ console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
41627
+ }
41152
41628
  else {
41153
41629
  _this.addItem(menuItemOrString);
41154
41630
  }
@@ -41513,7 +41989,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
41513
41989
  else if (typeof this.params.icon === 'string') {
41514
41990
  icon.innerHTML = this.params.icon;
41515
41991
  }
41516
- else ;
41992
+ else {
41993
+ console.warn('AG Grid: menu item icon must be DOM node or string');
41994
+ }
41517
41995
  }
41518
41996
  this.getGui().appendChild(icon);
41519
41997
  };
@@ -42463,6 +42941,7 @@ var PopupService = /** @class */ (function (_super) {
42463
42941
  var eDocument = this.gridOptionsWrapper.getDocument();
42464
42942
  var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
42465
42943
  if (!eDocument) {
42944
+ console.warn('ag-grid: could not find the document, document is empty');
42466
42945
  return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
42467
42946
  }
42468
42947
  var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
@@ -42875,6 +43354,7 @@ var VirtualList = /** @class */ (function (_super) {
42875
43354
  VirtualList.prototype.ensureIndexVisible = function (index) {
42876
43355
  var lastRow = this.model.getRowCount();
42877
43356
  if (typeof index !== 'number' || index < 0 || index >= lastRow) {
43357
+ console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
42878
43358
  return;
42879
43359
  }
42880
43360
  var rowTopPixel = index * this.rowHeight;
@@ -43178,6 +43658,7 @@ var CellNavigationService = /** @class */ (function (_super) {
43178
43658
  break;
43179
43659
  default:
43180
43660
  pointer = null;
43661
+ console.warn('AG Grid: unknown key for navigation ' + key);
43181
43662
  break;
43182
43663
  }
43183
43664
  if (pointer) {
@@ -43572,6 +44053,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
43572
44053
  var groupOpenedEvent = event;
43573
44054
  _this.processGroupOpenedEvent(groupOpenedEvent);
43574
44055
  break;
44056
+ case Events.EVENT_COLUMN_PIVOT_CHANGED:
44057
+ // we cannot support pivoting with aligned grids as the columns will be out of sync as the
44058
+ // grids will have columns created based on the row data of the grid.
44059
+ console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
44060
+ 'You can only use one of these features at a time in a grid.');
44061
+ break;
43575
44062
  }
43576
44063
  });
43577
44064
  };
@@ -43873,11 +44360,13 @@ var SelectionService = /** @class */ (function (_super) {
43873
44360
  // where groups don't actually appear in the selection normally.
43874
44361
  SelectionService.prototype.getBestCostNodeSelection = function () {
43875
44362
  if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
44363
+ console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
43876
44364
  return;
43877
44365
  }
43878
44366
  var clientSideRowModel = this.rowModel;
43879
44367
  var topLevelNodes = clientSideRowModel.getTopLevelNodes();
43880
44368
  if (topLevelNodes === null) {
44369
+ console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
43881
44370
  return;
43882
44371
  }
43883
44372
  var result = [];
@@ -43919,6 +44408,7 @@ var SelectionService = /** @class */ (function (_super) {
43919
44408
  var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
43920
44409
  if (justFiltered) {
43921
44410
  if (!rowModelClientSide) {
44411
+ console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
43922
44412
  return;
43923
44413
  }
43924
44414
  var clientSideRowModel = this.rowModel;
@@ -44031,6 +44521,11 @@ var ColumnApi = /** @class */ (function () {
44031
44521
  }
44032
44522
  /** Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`. To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead. */
44033
44523
  ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
44524
+ // AG-3403 validate that gridWidth is provided because this method has the same name as
44525
+ // a method on the grid API that takes no arguments, and it's easy to confuse the two
44526
+ if (typeof gridWidth === "undefined") {
44527
+ console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
44528
+ }
44034
44529
  this.columnModel.sizeColumnsToFit(gridWidth, 'api');
44035
44530
  };
44036
44531
  /** Call this if you want to open or close a column group. */
@@ -44099,6 +44594,7 @@ var ColumnApi = /** @class */ (function () {
44099
44594
  ColumnApi.prototype.moveColumn = function (key, toIndex) {
44100
44595
  if (typeof key === 'number') {
44101
44596
  // moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
44597
+ console.warn('AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');
44102
44598
  this.columnModel.moveColumnByIndex(key, toIndex, 'api');
44103
44599
  }
44104
44600
  else {
@@ -44129,6 +44625,7 @@ var ColumnApi = /** @class */ (function () {
44129
44625
  ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
44130
44626
  /** @deprecated Use `getPivotResultColumn` instead */
44131
44627
  ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
44628
+ console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
44132
44629
  return this.getPivotResultColumn(pivotKeys, valueColKey);
44133
44630
  };
44134
44631
  /** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
@@ -44187,18 +44684,21 @@ var ColumnApi = /** @class */ (function () {
44187
44684
  ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
44188
44685
  /** @deprecated Use `setPivotResultColumns` instead. */
44189
44686
  ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
44687
+ console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
44190
44688
  this.setPivotResultColumns(colDefs);
44191
44689
  };
44192
44690
  /** Set the pivot result columns. */
44193
44691
  ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
44194
44692
  /** @deprecated Use `getPivotResultColumns` instead. */
44195
44693
  ColumnApi.prototype.getSecondaryColumns = function () {
44694
+ console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
44196
44695
  return this.getPivotResultColumns();
44197
44696
  };
44198
44697
  /** Returns the grid's pivot result columns. */
44199
44698
  ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
44200
44699
  /** @deprecated Use `getColumns` instead. */
44201
44700
  ColumnApi.prototype.getPrimaryColumns = function () {
44701
+ console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
44202
44702
  return this.getColumns();
44203
44703
  };
44204
44704
  ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
@@ -44217,66 +44717,82 @@ var ColumnApi = /** @class */ (function () {
44217
44717
  // }
44218
44718
  /** @deprecated Use `getColumns` instead */
44219
44719
  ColumnApi.prototype.getAllColumns = function () {
44720
+ console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
44220
44721
  return this.getColumns();
44221
44722
  };
44222
44723
  /** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
44223
44724
  ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
44725
+ console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
44224
44726
  this.setColumnGroupOpened(group, newValue);
44225
44727
  };
44226
44728
  /** @deprecated hideColumns is deprecated, use setColumnsVisible */
44227
44729
  ColumnApi.prototype.hideColumns = function (colIds, hide) {
44730
+ console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
44228
44731
  this.columnModel.setColumnsVisible(colIds, !hide, 'api');
44229
44732
  };
44230
44733
  /** @deprecated hideColumn is deprecated, use setColumnVisible */
44231
44734
  ColumnApi.prototype.hideColumn = function (colId, hide) {
44735
+ console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
44232
44736
  this.columnModel.setColumnVisible(colId, !hide, 'api');
44233
44737
  };
44234
44738
  /** @deprecated setState is deprecated, use setColumnState */
44235
44739
  ColumnApi.prototype.setState = function (columnState) {
44740
+ console.error('AG Grid: setState is deprecated, use setColumnState');
44236
44741
  return this.setColumnState(columnState);
44237
44742
  };
44238
44743
  /** @deprecated getState is deprecated, use getColumnState */
44239
44744
  ColumnApi.prototype.getState = function () {
44745
+ console.error('AG Grid: getState is deprecated, use getColumnState');
44240
44746
  return this.getColumnState();
44241
44747
  };
44242
44748
  /** @deprecated resetState is deprecated, use resetColumnState */
44243
44749
  ColumnApi.prototype.resetState = function () {
44750
+ console.error('AG Grid: resetState is deprecated, use resetColumnState');
44244
44751
  this.resetColumnState();
44245
44752
  };
44246
44753
  /** @deprecated getAggregationColumns is deprecated, use getValueColumns */
44247
44754
  ColumnApi.prototype.getAggregationColumns = function () {
44755
+ console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
44248
44756
  return this.columnModel.getValueColumns();
44249
44757
  };
44250
44758
  /** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
44251
44759
  ColumnApi.prototype.removeAggregationColumn = function (colKey) {
44760
+ console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
44252
44761
  this.columnModel.removeValueColumn(colKey, 'api');
44253
44762
  };
44254
44763
  /** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
44255
44764
  ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
44765
+ console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
44256
44766
  this.columnModel.removeValueColumns(colKeys, 'api');
44257
44767
  };
44258
44768
  /** @deprecated addAggregationColumn is deprecated, use addValueColumn */
44259
44769
  ColumnApi.prototype.addAggregationColumn = function (colKey) {
44770
+ console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
44260
44771
  this.columnModel.addValueColumn(colKey, 'api');
44261
44772
  };
44262
44773
  /** @deprecated addAggregationColumns is deprecated, use addValueColumns */
44263
44774
  ColumnApi.prototype.addAggregationColumns = function (colKeys) {
44775
+ console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
44264
44776
  this.columnModel.addValueColumns(colKeys, 'api');
44265
44777
  };
44266
44778
  /** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
44267
44779
  ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
44780
+ console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
44268
44781
  this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
44269
44782
  };
44270
44783
  /** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
44271
44784
  ColumnApi.prototype.getDisplayNameForCol = function (column) {
44785
+ console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
44272
44786
  return this.getDisplayNameForColumn(column, null);
44273
44787
  };
44274
44788
  /** @deprecated setColumnState is deprecated, use applyColumnState. */
44275
44789
  ColumnApi.prototype.setColumnState = function (columnState) {
44790
+ console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
44276
44791
  return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
44277
44792
  };
44278
44793
  /** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
44279
44794
  ColumnApi.prototype.getOriginalColumnGroup = function (name) {
44795
+ console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
44280
44796
  return this.columnModel.getProvidedColumnGroup(name);
44281
44797
  };
44282
44798
  __decorate$1n([
@@ -44429,6 +44945,7 @@ var ValueService = /** @class */ (function (_super) {
44429
44945
  // need either a field or a newValueHandler for this to work
44430
44946
  if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
44431
44947
  // we don't tell user about newValueHandler, as that is deprecated
44948
+ console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
44432
44949
  return false;
44433
44950
  }
44434
44951
  var params = {
@@ -44605,6 +45122,7 @@ var ValueService = /** @class */ (function (_super) {
44605
45122
  result = String(result);
44606
45123
  if (result === '[object Object]') {
44607
45124
  doOnce(function () {
45125
+ console.warn('AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key');
44608
45126
  }, 'getKeyForNode - warn about [object,object]');
44609
45127
  }
44610
45128
  return result;
@@ -44676,7 +45194,9 @@ var ExpressionService = /** @class */ (function (_super) {
44676
45194
  var expression = expressionOrFunc;
44677
45195
  return this.evaluateExpression(expression, params);
44678
45196
  }
44679
- else ;
45197
+ else {
45198
+ console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
45199
+ }
44680
45200
  };
44681
45201
  ExpressionService.prototype.evaluateExpression = function (expression, params) {
44682
45202
  try {
@@ -44690,9 +45210,13 @@ var ExpressionService = /** @class */ (function (_super) {
44690
45210
  // the expression failed, which can happen, as it's the client that
44691
45211
  // provides the expression. so print a nice message
44692
45212
  // tslint:disable-next-line
45213
+ console.log('Processing of the expression failed');
44693
45214
  // tslint:disable-next-line
45215
+ console.log('Expression = ' + expression);
44694
45216
  // tslint:disable-next-line
45217
+ console.log('Params =', params);
44695
45218
  // tslint:disable-next-line
45219
+ console.log('Exception = ' + e);
44696
45220
  return null;
44697
45221
  }
44698
45222
  };
@@ -44790,6 +45314,7 @@ var TemplateService = /** @class */ (function (_super) {
44790
45314
  };
44791
45315
  TemplateService.prototype.handleHttpResult = function (httpResult, url) {
44792
45316
  if (httpResult.status !== 200 || httpResult.response === null) {
45317
+ console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
44793
45318
  return;
44794
45319
  }
44795
45320
  // response success, so process it
@@ -44870,7 +45395,10 @@ var Logger = /** @class */ (function () {
44870
45395
  return this.isLoggingFunc();
44871
45396
  };
44872
45397
  Logger.prototype.log = function (message) {
44873
- if (this.isLoggingFunc()) ;
45398
+ if (this.isLoggingFunc()) {
45399
+ // tslint:disable-next-line
45400
+ console.log('AG Grid.' + this.name + ': ' + message);
45401
+ }
44874
45402
  };
44875
45403
  return Logger;
44876
45404
  }());
@@ -45270,6 +45798,7 @@ var SortController = /** @class */ (function (_super) {
45270
45798
  sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
45271
45799
  }
45272
45800
  if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
45801
+ console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
45273
45802
  return null;
45274
45803
  }
45275
45804
  var currentIndex = sortingOrder.indexOf(column.getSort());
@@ -45284,6 +45813,7 @@ var SortController = /** @class */ (function (_super) {
45284
45813
  }
45285
45814
  // verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
45286
45815
  if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
45816
+ console.warn('AG Grid: invalid sort type ' + result);
45287
45817
  return null;
45288
45818
  }
45289
45819
  return result;
@@ -45612,6 +46142,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
45612
46142
  var doingTreeData = this.gridOptionsWrapper.isTreeData();
45613
46143
  var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
45614
46144
  if (doingTreeData && doingMultiAutoColumn) {
46145
+ console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
45615
46146
  doingMultiAutoColumn = false;
45616
46147
  }
45617
46148
  // if doing groupMultiAutoColumn, then we call the method multiple times, once
@@ -46295,8 +46826,8 @@ var Environment = /** @class */ (function (_super) {
46295
46826
  var theme = themeMatch[0];
46296
46827
  var usingOldTheme = themeMatch[2] === undefined;
46297
46828
  if (usingOldTheme) {
46298
- theme.replace('ag-', 'ag-theme-');
46299
- doOnce(function () { return (void 0); }, 'using-old-theme');
46829
+ var newTheme_1 = theme.replace('ag-', 'ag-theme-');
46830
+ doOnce(function () { return console.warn("AG Grid: As of v19 old theme are no longer provided. Please replace " + theme + " with " + newTheme_1 + "."); }, 'using-old-theme');
46300
46831
  }
46301
46832
  return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
46302
46833
  };
@@ -47802,6 +48333,7 @@ var RowCssClassCalculator = /** @class */ (function () {
47802
48333
  var rowClass = this.gridOptionsWrapper.getRowClass();
47803
48334
  if (rowClass) {
47804
48335
  if (typeof rowClass === 'function') {
48336
+ console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
47805
48337
  return [];
47806
48338
  }
47807
48339
  process(rowClass);
@@ -48642,6 +49174,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
48642
49174
  var Grid = /** @class */ (function () {
48643
49175
  function Grid(eGridDiv, gridOptions, params) {
48644
49176
  if (!gridOptions) {
49177
+ console.error('AG Grid: no gridOptions provided to the grid');
48645
49178
  return;
48646
49179
  }
48647
49180
  this.gridOptions = gridOptions;
@@ -48847,7 +49380,32 @@ var GridCoreCreator = /** @class */ (function () {
48847
49380
  if (exists(rowModelClass)) {
48848
49381
  return rowModelClass;
48849
49382
  }
48850
- if (ModuleRegistry.isPackageBased()) ;
49383
+ if (ModuleRegistry.isPackageBased()) {
49384
+ if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
49385
+ // If package based only the enterprise row models could be missing.
49386
+ 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/");
49387
+ }
49388
+ else {
49389
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49390
+ }
49391
+ }
49392
+ else {
49393
+ if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
49394
+ 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/");
49395
+ }
49396
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
49397
+ 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/");
49398
+ }
49399
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
49400
+ 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/");
49401
+ }
49402
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
49403
+ 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/");
49404
+ }
49405
+ else {
49406
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49407
+ }
49408
+ }
48851
49409
  };
48852
49410
  return GridCoreCreator;
48853
49411
  }());
@@ -49109,15 +49667,51 @@ var LicenseManager = /** @class */ (function (_super) {
49109
49667
  }
49110
49668
  };
49111
49669
  LicenseManager.prototype.outputInvalidLicenseKey = function () {
49670
+ console.error('*****************************************************************************************************************');
49671
+ console.error('***************************************** AG Grid Enterprise License ********************************************');
49672
+ console.error('********************************************* Invalid License ***************************************************');
49673
+ console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
49674
+ console.error('*****************************************************************************************************************');
49675
+ console.error('*****************************************************************************************************************');
49112
49676
  this.watermarkMessage = "Invalid License";
49113
49677
  };
49114
49678
  LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
49679
+ console.error('****************************************************************************************************************');
49680
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49681
+ console.error('***************************************** Trial Period Expired. *******************************************');
49682
+ console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
49683
+ console.error('* Please email info@ag-grid.com to purchase a license. *');
49684
+ console.error('****************************************************************************************************************');
49685
+ console.error('****************************************************************************************************************');
49115
49686
  this.watermarkMessage = "Trial Period Expired";
49116
49687
  };
49117
49688
  LicenseManager.prototype.outputMissingLicenseKey = function () {
49689
+ console.error('****************************************************************************************************************');
49690
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49691
+ console.error('****************************************** License Key Not Found ***********************************************');
49692
+ console.error('* All AG Grid Enterprise features are unlocked. *');
49693
+ console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
49694
+ console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
49695
+ console.error('****************************************************************************************************************');
49696
+ console.error('****************************************************************************************************************');
49118
49697
  this.watermarkMessage = "For Trial Use Only";
49119
49698
  };
49120
49699
  LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
49700
+ console.error('****************************************************************************************************************************');
49701
+ console.error('****************************************************************************************************************************');
49702
+ console.error('* AG Grid Enterprise License *');
49703
+ console.error('* License not compatible with installed version of AG Grid Enterprise. *');
49704
+ console.error('* *');
49705
+ console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
49706
+ console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
49707
+ console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
49708
+ console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
49709
+ console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
49710
+ console.error('* *');
49711
+ 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 *');
49712
+ console.error('* version of AG Grid. *');
49713
+ console.error('****************************************************************************************************************************');
49714
+ console.error('****************************************************************************************************************************');
49121
49715
  this.watermarkMessage = "License Expired";
49122
49716
  };
49123
49717
  var LicenseManager_1;
@@ -49879,81 +50473,6 @@ class SelectionHeader {
49879
50473
  }
49880
50474
  }
49881
50475
 
49882
- const gridTerms = {
49883
- // for filter panel
49884
- page: "Página",
49885
- more: "mais",
49886
- to: "para",
49887
- of: "de",
49888
- next: "Próximo",
49889
- last: "Último",
49890
- first: "Primeiro",
49891
- previous: "Anterior",
49892
- loadingOoo: "Carregar",
49893
- // for set filter
49894
- selectAll: "Selecionar tudo",
49895
- searchOoo: "Procurar",
49896
- blanks: "Vazio",
49897
- // for number filter and text filter
49898
- filterOoo: "Filtrar",
49899
- applyFilter: "Aplicar filtro",
49900
- // for number filter
49901
- equals: "Igual",
49902
- lessThan: "Menor que",
49903
- greaterThan: "Maior que",
49904
- // for text filter
49905
- contains: "Contém",
49906
- startsWith: "Começa com",
49907
- endsWith: "Termina com",
49908
- // the header of the default group column
49909
- group: "Grupo",
49910
- // tool panel
49911
- columns: "Colunas",
49912
- rowGroupColumns: "Colunas do grupo de linhas",
49913
- rowGroupColumnsEmptyMessage: "Colunas do grupo de linhas vazias",
49914
- valueColumns: "Valores das colunas",
49915
- pivotMode: "Modo pivô",
49916
- groups: "Grupos",
49917
- values: "Valores",
49918
- pivots: "Pivôs",
49919
- valueColumnsEmptyMessage: "Valores de colunas vazias",
49920
- pivotColumnsEmptyMessage: "Pivôs de colunas vazias",
49921
- toolPanelButton: "Botão de painel de ferramentas",
49922
- // other
49923
- noRowsToShow: "Não há registros para mostrar.",
49924
- // enterprise menu
49925
- pinColumn: "Fixar coluna",
49926
- valueAggregation: "Agregar valor",
49927
- autosizeThiscolumn: "Redimensionar esta coluna",
49928
- autosizeAllColumns: "Redimensionar todas colunas",
49929
- groupBy: "Agrupar por",
49930
- ungroupBy: "Desagrupar por",
49931
- resetColumns: "Resetar colunas",
49932
- expandAll: "Expandir tudo",
49933
- collapseAll: "Contrair tudo",
49934
- toolPanel: "Painel de ferramentas",
49935
- export: "Exportar",
49936
- csvExport: "Exportar para CSV",
49937
- excelExport: "Exportar para Excel",
49938
- // enterprise menu pinning
49939
- pinLeft: "Fixar coluna",
49940
- pinRight: "Fixar a direita",
49941
- noPin: "Desfixar coluna",
49942
- // enterprise menu aggregation and status panel
49943
- sum: "Soma",
49944
- min: "Mínimo",
49945
- max: "Máximo",
49946
- none: "Nenhum",
49947
- count: "Contagem",
49948
- average: "Média",
49949
- // standard menu
49950
- copy: "Copiar",
49951
- copyWithHeaders: "Copiar com cabeçalho",
49952
- ctrlC: "Ctrl+C",
49953
- paste: "Colar",
49954
- ctrlV: "Ctrl+V"
49955
- };
49956
-
49957
50476
  const buildEditorMetadata = (descriptor, eGridCell, dataUnit, editionManager) => {
49958
50477
  return Object.assign(Object.assign({}, searchColumn.buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
49959
50478
  };
@@ -50698,11 +51217,14 @@ class GridEditionManager {
50698
51217
  }
50699
51218
  isColEditable(fieldName) {
50700
51219
  const fieldDefinition = this._dataUnit.getField(fieldName);
50701
- if (fieldDefinition) {
51220
+ if (fieldDefinition && !this.isTypeFile(fieldDefinition)) {
50702
51221
  return !fieldDefinition.readOnly;
50703
51222
  }
50704
51223
  return false;
50705
51224
  }
51225
+ isTypeFile(file) {
51226
+ return file.userInterface === core.UserInterface.FILE;
51227
+ }
50706
51228
  isSecondClick(cellClicked) {
50707
51229
  if (!this._lastCellClicked) {
50708
51230
  return false;
@@ -51552,10 +52074,12 @@ var RangeService = /** @class */ (function (_super) {
51552
52074
  var isSameColumn = columnFrom === columnTo;
51553
52075
  var fromIndex = allColumns.indexOf(columnFrom);
51554
52076
  if (fromIndex < 0) {
52077
+ console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
51555
52078
  return;
51556
52079
  }
51557
52080
  var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
51558
52081
  if (toIndex < 0) {
52082
+ console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
51559
52083
  return;
51560
52084
  }
51561
52085
  if (isSameColumn) {
@@ -52490,10 +53014,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
52490
53014
  };
52491
53015
  ServerSideRowModel.prototype.verifyProps = function () {
52492
53016
  if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
52493
- _.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
53017
+ 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.";
53018
+ _.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
52494
53019
  }
52495
53020
  if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
52496
- _.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
53021
+ var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
53022
+ _.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
52497
53023
  }
52498
53024
  };
52499
53025
  ServerSideRowModel.prototype.setDatasource = function (datasource) {
@@ -53043,6 +53569,11 @@ var BlockUtils = /** @class */ (function (_super) {
53043
53569
  rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
53044
53570
  if (rowNode.key === null || rowNode.key === undefined) {
53045
53571
  _.doOnce(function () {
53572
+ console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
53573
+ if (rowNode.rowGroupColumn) {
53574
+ console.warn("column = " + rowNode.rowGroupColumn.getId());
53575
+ }
53576
+ console.warn("data is ", rowNode.data);
53046
53577
  }, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
53047
53578
  }
53048
53579
  };
@@ -53159,6 +53690,7 @@ var BlockUtils = /** @class */ (function (_super) {
53159
53690
  var bottomPointer = 0;
53160
53691
  var topPointer = rowNodes.length - 1;
53161
53692
  if (_.missing(topPointer) || _.missing(bottomPointer)) {
53693
+ console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
53162
53694
  return undefined;
53163
53695
  }
53164
53696
  while (true) {
@@ -53187,6 +53719,7 @@ var BlockUtils = /** @class */ (function (_super) {
53187
53719
  topPointer = midPointer - 1;
53188
53720
  }
53189
53721
  else {
53722
+ console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
53190
53723
  return undefined;
53191
53724
  }
53192
53725
  }
@@ -53302,6 +53835,11 @@ var NodeManager = /** @class */ (function () {
53302
53835
  }
53303
53836
  NodeManager.prototype.addRowNode = function (rowNode) {
53304
53837
  var id = rowNode.id;
53838
+ if (this.rowNodes[id]) {
53839
+ 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.");
53840
+ console.warn('first instance', this.rowNodes[id].data);
53841
+ console.warn('second instance', rowNode.data);
53842
+ }
53305
53843
  this.rowNodes[id] = rowNode;
53306
53844
  };
53307
53845
  NodeManager.prototype.removeNode = function (rowNode) {
@@ -54233,7 +54771,8 @@ var InfiniteStore = /** @class */ (function (_super) {
54233
54771
  Object.assign(this.info, info);
54234
54772
  }
54235
54773
  if (!params.rowData) {
54236
- _.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
54774
+ 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.';
54775
+ _.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
54237
54776
  }
54238
54777
  var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
54239
54778
  // if we are not active, then we ignore all events, otherwise we could end up getting the
@@ -54992,7 +55531,8 @@ var FullStore = /** @class */ (function (_super) {
54992
55531
  this.nodesAfterFilter = [];
54993
55532
  this.allNodesMap = {};
54994
55533
  if (!params.rowData) {
54995
- _.doOnce(function () { return (void 0); }, 'FullStore.noData');
55534
+ 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.';
55535
+ _.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
54996
55536
  }
54997
55537
  this.createOrRecycleNodes(nodesToRecycle, params.rowData);
54998
55538
  if (nodesToRecycle) {
@@ -55367,6 +55907,7 @@ var FullStore = /** @class */ (function (_super) {
55367
55907
  });
55368
55908
  rowNode = this.allNodesMap[id];
55369
55909
  if (!rowNode) {
55910
+ console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
55370
55911
  return null;
55371
55912
  }
55372
55913
  }
@@ -55374,6 +55915,7 @@ var FullStore = /** @class */ (function (_super) {
55374
55915
  // find rowNode using object references
55375
55916
  rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
55376
55917
  if (!rowNode) {
55918
+ console.error("AG Grid: could not find data item as object was not found", data);
55377
55919
  return null;
55378
55920
  }
55379
55921
  }
@@ -55521,11 +56063,15 @@ var StoreFactory = /** @class */ (function () {
55521
56063
  return undefined;
55522
56064
  }
55523
56065
  if (ssrmParams.dynamicRowHeight) {
55524
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
56066
+ var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
56067
+ 'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
56068
+ _.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
55525
56069
  return undefined;
55526
56070
  }
55527
56071
  if (this.columnModel.isAutoRowHeightActive()) {
55528
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
56072
+ var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
56073
+ 'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
56074
+ _.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
55529
56075
  return undefined;
55530
56076
  }
55531
56077
  return maxBlocksInCache;
@@ -55753,6 +56299,7 @@ var Downloader = /** @class */ (function () {
55753
56299
  Downloader.download = function (fileName, content) {
55754
56300
  var win = document.defaultView || window;
55755
56301
  if (!win) {
56302
+ console.warn('AG Grid: There is no `window` associated with the current `document`');
55756
56303
  return;
55757
56304
  }
55758
56305
  var element = document.createElement('a');
@@ -55886,6 +56433,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
55886
56433
  stringValue = value.toString();
55887
56434
  }
55888
56435
  else {
56436
+ console.warn('AG Grid: unknown value type during csv conversion');
55889
56437
  stringValue = '';
55890
56438
  }
55891
56439
  // replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
@@ -55940,6 +56488,7 @@ var CsvCreator = /** @class */ (function (_super) {
55940
56488
  };
55941
56489
  CsvCreator.prototype.export = function (userParams) {
55942
56490
  if (this.isExportSuppressed()) {
56491
+ console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
55943
56492
  return '';
55944
56493
  }
55945
56494
  var mergedParams = this.getMergedParams(userParams);
@@ -56059,7 +56608,7 @@ var GridSerializer = /** @class */ (function (_super) {
56059
56608
  var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
56060
56609
  var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
56061
56610
  if (skipRowGroups && params.skipGroups) {
56062
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
56611
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
56063
56612
  }
56064
56613
  if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
56065
56614
  (params.onlySelected && !node.isSelected()) ||
@@ -56093,7 +56642,7 @@ var GridSerializer = /** @class */ (function (_super) {
56093
56642
  var appendContent = params.customFooter || params.appendContent;
56094
56643
  if (appendContent) {
56095
56644
  if (params.customFooter) {
56096
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
56645
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
56097
56646
  }
56098
56647
  gridSerializingSession.addCustomContent(appendContent);
56099
56648
  }
@@ -56105,7 +56654,7 @@ var GridSerializer = /** @class */ (function (_super) {
56105
56654
  var prependContent = params.customHeader || params.prependContent;
56106
56655
  if (prependContent) {
56107
56656
  if (params.customHeader) {
56108
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
56657
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
56109
56658
  }
56110
56659
  gridSerializingSession.addCustomContent(prependContent);
56111
56660
  }
@@ -56127,7 +56676,7 @@ var GridSerializer = /** @class */ (function (_super) {
56127
56676
  _this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
56128
56677
  }
56129
56678
  else if (params.columnGroups) {
56130
- _.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
56679
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
56131
56680
  }
56132
56681
  return gridSerializingSession;
56133
56682
  };
@@ -56141,7 +56690,7 @@ var GridSerializer = /** @class */ (function (_super) {
56141
56690
  });
56142
56691
  }
56143
56692
  else if (params.skipHeader) {
56144
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
56693
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
56145
56694
  }
56146
56695
  return gridSerializingSession;
56147
56696
  };
@@ -56389,6 +56938,12 @@ var ClipboardService = /** @class */ (function (_super) {
56389
56938
  .then(this.processClipboardData.bind(this))
56390
56939
  .catch(function (e) {
56391
56940
  _.doOnce(function () {
56941
+ console.warn(e);
56942
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
56943
+ 'The reason why it could not be used has been logged in the previous line. ' +
56944
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
56945
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
56946
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
56392
56947
  }, 'clipboardApiError');
56393
56948
  _this.navigatorApiFailed = true;
56394
56949
  _this.pasteFromClipboardLegacy();
@@ -56915,6 +57470,12 @@ var ClipboardService = /** @class */ (function (_super) {
56915
57470
  if (allowNavigator && navigator.clipboard) {
56916
57471
  navigator.clipboard.writeText(data).catch(function (e) {
56917
57472
  _.doOnce(function () {
57473
+ console.warn(e);
57474
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
57475
+ 'The reason why it could not be used has been logged in the previous line. ' +
57476
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
57477
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
57478
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
56918
57479
  }, 'clipboardApiError');
56919
57480
  _this.copyDataToClipboardLegacy(data);
56920
57481
  });
@@ -56931,7 +57492,12 @@ var ClipboardService = /** @class */ (function (_super) {
56931
57492
  element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
56932
57493
  element.select();
56933
57494
  element.focus({ preventScroll: true });
56934
- eDocument.execCommand('copy');
57495
+ var result = eDocument.execCommand('copy');
57496
+ if (!result) {
57497
+ console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
57498
+ 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
57499
+ 'the browser will prevent it for security reasons.');
57500
+ }
56935
57501
  if (focusedElementBefore != null && focusedElementBefore.focus != null) {
56936
57502
  focusedElementBefore.focus({ preventScroll: true });
56937
57503
  }
@@ -56955,6 +57521,7 @@ var ClipboardService = /** @class */ (function (_super) {
56955
57521
  callbackNow(eTempInput);
56956
57522
  }
56957
57523
  catch (err) {
57524
+ console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
56958
57525
  }
56959
57526
  //It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
56960
57527
  if (callbackAfter) {
@@ -58227,6 +58794,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
58227
58794
  return false;
58228
58795
  };
58229
58796
  ToolPanelColumnComp.prototype.setExpanded = function (value) {
58797
+ console.warn('AG Grid: can not expand a column item that does not represent a column group header');
58230
58798
  };
58231
58799
  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>";
58232
58800
  __decorate$q([
@@ -58521,7 +59089,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
58521
59089
  expandedGroupIds.push(groupId);
58522
59090
  }
58523
59091
  });
58524
- groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59092
+ var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59093
+ if (unrecognisedGroupIds.length > 0) {
59094
+ console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
59095
+ }
58525
59096
  };
58526
59097
  PrimaryColsListPanel.prototype.getExpandState = function () {
58527
59098
  var expandedCount = 0;
@@ -58915,6 +59486,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
58915
59486
  this.aggFuncService.getAggFunc(aggFuncOrString) :
58916
59487
  aggFuncOrString;
58917
59488
  if (typeof aggFunc !== 'function') {
59489
+ console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
58918
59490
  return null;
58919
59491
  }
58920
59492
  var aggFuncAny = aggFunc;
@@ -59441,6 +60013,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59441
60013
  GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
59442
60014
  var path = this.getGroupInfo(childNode, details);
59443
60015
  var parentGroup = this.findParentForNode(childNode, path, details);
60016
+ if (!parentGroup.group) {
60017
+ console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
60018
+ }
59444
60019
  if (this.usingTreeData) {
59445
60020
  this.swapGroupWithUserNode(parentGroup, childNode, isMove);
59446
60021
  }
@@ -59578,7 +60153,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59578
60153
  GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
59579
60154
  var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
59580
60155
  if (keys === null || keys === undefined || keys.length === 0) {
59581
- _.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
60156
+ _.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
59582
60157
  }
59583
60158
  var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
59584
60159
  return keys ? keys.map(groupInfoMapper) : [];
@@ -62303,6 +62878,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
62303
62878
  var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
62304
62879
  var componentPromise = compDetails.newAgStackInstance();
62305
62880
  if (componentPromise == null) {
62881
+ console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
62306
62882
  return;
62307
62883
  }
62308
62884
  componentPromise.then(this.setToolPanelComponent.bind(this));
@@ -62497,6 +63073,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62497
63073
  var _this = this;
62498
63074
  defs.forEach(function (def) {
62499
63075
  if (def.id == null) {
63076
+ console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
62500
63077
  return;
62501
63078
  }
62502
63079
  // helpers, in case user doesn't have the right module loaded
@@ -62542,6 +63119,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62542
63119
  SideBarComp.prototype.getToolPanelInstance = function (key) {
62543
63120
  var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
62544
63121
  if (!toolPanelWrapper) {
63122
+ console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
62545
63123
  return;
62546
63124
  }
62547
63125
  return toolPanelWrapper.getToolPanelInstance();
@@ -62627,6 +63205,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62627
63205
  }
62628
63206
  ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
62629
63207
  var _this = this;
63208
+ var invalidColIds = [];
62630
63209
  var createDummyColGroup = function (abstractColDef, depth) {
62631
63210
  if (_this.isColGroupDef(abstractColDef)) {
62632
63211
  // creating 'dummy' group which is not associated with grid column group
@@ -62648,6 +63227,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62648
63227
  var colDef = abstractColDef;
62649
63228
  var key = colDef.colId ? colDef.colId : colDef.field;
62650
63229
  var column = _this.columnModel.getPrimaryColumn(key);
63230
+ if (!column) {
63231
+ invalidColIds.push(colDef);
63232
+ }
62651
63233
  return column;
62652
63234
  }
62653
63235
  };
@@ -62659,6 +63241,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62659
63241
  mappedResults.push(result);
62660
63242
  }
62661
63243
  });
63244
+ if (invalidColIds.length > 0) {
63245
+ console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
63246
+ }
62662
63247
  return mappedResults;
62663
63248
  };
62664
63249
  ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
@@ -63213,10 +63798,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
63213
63798
  };
63214
63799
  EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
63215
63800
  var isValid = true;
63801
+ var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
63216
63802
  if (this.restrictTo != null) {
63217
63803
  isValid = this.restrictTo.indexOf(menuTabName) > -1;
63804
+ itemsToConsider = this.restrictTo;
63218
63805
  }
63219
63806
  isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
63807
+ if (!isValid) {
63808
+ console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
63809
+ }
63220
63810
  return isValid;
63221
63811
  };
63222
63812
  EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
@@ -63927,6 +64517,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
63927
64517
  return chartMenuItem;
63928
64518
  }
63929
64519
  else {
64520
+ console.warn("AG Grid: unknown menu item type " + key);
63930
64521
  return null;
63931
64522
  }
63932
64523
  }
@@ -64153,6 +64744,74 @@ var MenuModule = {
64153
64744
  ]
64154
64745
  };
64155
64746
 
64747
+ function buildLocaleText(i18n) {
64748
+ return ({
64749
+ page: i18n("ez-grid.pageLabel"),
64750
+ more: i18n("ez-grid.remainingPageLabel"),
64751
+ to: i18n("ez-grid.remainingTotalLabel"),
64752
+ of: i18n("ez-grid.remainingTotalLabel"),
64753
+ next: i18n("ez-grid.nextPage"),
64754
+ previous: i18n("ez-grid.previousPage"),
64755
+ loadingOoo: i18n("app.loading"),
64756
+ noRowsToShow: i18n("ez-grid.noRowsToShow"),
64757
+ pinColumn: i18n("ez-grid.pinColumn"),
64758
+ unpinColumn: i18n("ez-grid.unpinColumn"),
64759
+ filterOoo: i18n("ez-grid.filter"),
64760
+ sortAscending: i18n("ez-grid.sortAscending"),
64761
+ sortDescending: i18n("ez-grid.sortDescending"),
64762
+ last: i18n("ez-grid.last"),
64763
+ first: i18n("ez-grid.first"),
64764
+ selectAll: i18n("ez-grid.selectAll"),
64765
+ searchOoo: i18n("ez-grid.searchOoo"),
64766
+ blanks: i18n("ez-grid.blanks"),
64767
+ applyFilter: i18n("ez-grid.applyFilter"),
64768
+ equals: i18n("ez-grid.equals"),
64769
+ lessThan: i18n("ez-grid.lessThan"),
64770
+ greaterThan: i18n("ez-grid.greaterThan"),
64771
+ contains: i18n("ez-grid.contains"),
64772
+ startsWith: i18n("ez-grid.startsWith"),
64773
+ endsWith: i18n("ez-grid.endsWith"),
64774
+ group: i18n("ez-grid.group"),
64775
+ columns: i18n("ez-grid.columns"),
64776
+ rowGroupColumns: i18n("ez-grid.rowGroupColumns"),
64777
+ rowGroupColumnsEmptyMessage: i18n("ez-grid.rowGroupColumnsEmptyMessage"),
64778
+ valueColumns: i18n("ez-grid.valueColumns"),
64779
+ pivotMode: i18n("ez-grid.pivotMode"),
64780
+ groups: i18n("ez-grid.groups"),
64781
+ values: i18n("ez-grid.values"),
64782
+ pivots: i18n("ez-grid.pivots"),
64783
+ valueColumnsEmptyMessage: i18n("ez-grid.valueColumnsEmptyMessage"),
64784
+ pivotColumnsEmptyMessage: i18n("ez-grid.pivotColumnsEmptyMessage"),
64785
+ toolPanelButton: i18n("ez-grid.toolPanelButton"),
64786
+ valueAggregation: i18n("ez-grid.valueAggregation"),
64787
+ autosizeThiscolumn: i18n("ez-grid.autosizeThiscolumn"),
64788
+ autosizeAllColumns: i18n("ez-grid.autosizeAllColumns"),
64789
+ groupBy: i18n("ez-grid.groupBy"),
64790
+ ungroupBy: i18n("ez-grid.ungroupBy"),
64791
+ resetColumns: i18n("ez-grid.resetColumns"),
64792
+ expandAll: i18n("ez-grid.expandAll"),
64793
+ collapseAll: i18n("ez-grid.collapseAll"),
64794
+ toolPanel: i18n("ez-grid.toolPanel"),
64795
+ export: i18n("ez-grid.export"),
64796
+ csvExport: i18n("ez-grid.csvExport"),
64797
+ excelExport: i18n("ez-grid.excelExport"),
64798
+ pinLeft: i18n("ez-grid.pinLeft"),
64799
+ pinRight: i18n("ez-grid.pinRight"),
64800
+ noPin: i18n("ez-grid.noPin"),
64801
+ sum: i18n("ez-grid.sum"),
64802
+ min: i18n("ez-grid.min"),
64803
+ max: i18n("ez-grid.max"),
64804
+ none: i18n("ez-grid.none"),
64805
+ count: i18n("ez-grid.count"),
64806
+ average: i18n("ez-grid.average"),
64807
+ copy: i18n("ez-grid.copy"),
64808
+ copyWithHeaders: i18n("ez-grid.copyWithHeaders"),
64809
+ ctrlC: i18n("ez-grid.ctrlC"),
64810
+ paste: i18n("ez-grid.paste"),
64811
+ ctrlV: i18n("ez-grid.ctrlV"),
64812
+ });
64813
+ }
64814
+
64156
64815
  class AgGridController {
64157
64816
  configFilterColumn(filterColumn) {
64158
64817
  this._filterColumn = filterColumn;
@@ -64307,6 +64966,7 @@ class AgGridController {
64307
64966
  }
64308
64967
  if (this._grid === undefined) {
64309
64968
  LicenseManager.setLicenseKey(core.ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
64969
+ this._i18n = options.i18n;
64310
64970
  this._columnStateChangeCallback = options.onColumnStateChange;
64311
64971
  this._selectionChangeCallback = options.onSelectionChange;
64312
64972
  this._doubleClickCallBack = options.onDoubleClick;
@@ -64320,7 +64980,7 @@ class AgGridController {
64320
64980
  }
64321
64981
  this._gridOptions = {
64322
64982
  suppressHorizontalScroll: options.suppressHorizontalScroll,
64323
- localeText: gridTerms,
64983
+ localeText: buildLocaleText(this._options.i18n),
64324
64984
  enableRangeSelection: this._multipleSelection,
64325
64985
  rowSelection: this._multipleSelection ? 'multiple' : 'single',
64326
64986
  sortingOrder: ['desc', 'asc', null],
@@ -64436,7 +65096,7 @@ class AgGridController {
64436
65096
  buildMenuItemOptionSort(params, sortOrder) {
64437
65097
  return {
64438
65098
  icon: sortOrder === 'asc' ? `<i class='ez-icon-ordem-ascendente'></i>` : `<i class='ez-icon-ordem-descendente'></i>`,
64439
- name: sortOrder === 'asc' ? 'Ordenar Ascendente' : 'Ordenar Descendente',
65099
+ name: sortOrder === 'asc' ? this._i18n("ez-grid.sortAscending") : this._i18n("ez-grid.sortDescending"),
64440
65100
  action: () => this.sortDataByColumn(params, sortOrder),
64441
65101
  };
64442
65102
  }
@@ -64445,7 +65105,7 @@ class AgGridController {
64445
65105
  const columnLabel = params.column.getColDef().headerName;
64446
65106
  return {
64447
65107
  icon: `<i class='ez-icon-filter'></i>`,
64448
- name: 'Filtrar',
65108
+ name: this._i18n("ez-grid.filter"),
64449
65109
  action: () => this.showFilterColumn({ columnName, columnLabel, leftPosition: this._filterColumnleftPosition, filteredOptions: this._filteredColumns.get(columnName) }),
64450
65110
  };
64451
65111
  }
@@ -64471,7 +65131,7 @@ class AgGridController {
64471
65131
  const isPinned = params.column.isPinned();
64472
65132
  return {
64473
65133
  icon: `<i class='ez-icon-${isPinned ? 'un-pin' : 'push-pin'}'></i>`,
64474
- name: isPinned ? 'Desafixar coluna' : 'Fixar coluna',
65134
+ name: isPinned ? this._i18n("ez-grid.unpinColumn") : this._i18n("ez-grid.pinColumn"),
64475
65135
  action: () => {
64476
65136
  columnApi.applyColumnState({
64477
65137
  state: [{ colId: column.getColId(), pinned: column.isPinned() ? null : 'left' }],
@@ -65076,7 +65736,7 @@ class AgGridController {
65076
65736
  tooltip = (_c = source.props) === null || _c === void 0 ? void 0 : _c.get('gridHeaderTooltip');
65077
65737
  }
65078
65738
  else if (propSortable === false) {
65079
- tooltip = 'Coluna não pode ser ordenada';
65739
+ tooltip = this._i18n('ez-grid.columnCantBeOrder');
65080
65740
  }
65081
65741
  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);
65082
65742
  return this._editionManager.configureColumn({
@@ -65101,7 +65761,11 @@ class AgGridController {
65101
65761
  return "";
65102
65762
  }
65103
65763
  if (params.value instanceof Promise) {
65104
- return "Carregando...";
65764
+ return `${this._i18n("app.loading")}...`;
65765
+ }
65766
+ if (source.userInterface === core.UserInterface.HTML) {
65767
+ this.setHTMLRender(params, source);
65768
+ return "";
65105
65769
  }
65106
65770
  const customFormatter = this._customFormatters.get(source.name);
65107
65771
  if (customFormatter) {
@@ -65119,6 +65783,24 @@ class AgGridController {
65119
65783
  editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(constants.PRESENTATION_FROM_COL_PROP_NAME))
65120
65784
  });
65121
65785
  }
65786
+ setHTMLRender(params, source) {
65787
+ const htmlSanitized = purify.purify.sanitize(params.value);
65788
+ params.colDef.cellRenderer = (cellParams) => {
65789
+ if (cellParams.node.rowIndex === params.node.rowIndex) {
65790
+ const element = document.createElement('span');
65791
+ element.innerHTML = htmlSanitized;
65792
+ return element;
65793
+ }
65794
+ return cellParams.value;
65795
+ };
65796
+ params.colDef.cellStyle = (cellParams) => {
65797
+ const defaultStyle = this.getStyleByColumn(source);
65798
+ if (cellParams.node.rowIndex === params.node.rowIndex) {
65799
+ return Object.assign(defaultStyle, { padding: 0 });
65800
+ }
65801
+ return defaultStyle;
65802
+ };
65803
+ }
65122
65804
  setCustomFormatters(customFormatters) {
65123
65805
  this._customFormatters = customFormatters;
65124
65806
  }
@@ -65175,10 +65857,10 @@ class AgGridController {
65175
65857
  }
65176
65858
  if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.SWITCH) {
65177
65859
  if ((params === null || params === void 0 ? void 0 : params.value) === 'S' || (params === null || params === void 0 ? void 0 : params.value) === true || (params === null || params === void 0 ? void 0 : params.value) === 'true') {
65178
- return 'Sim';
65860
+ return this._i18n("app.yes");
65179
65861
  }
65180
65862
  else if ((params === null || params === void 0 ? void 0 : params.value) === 'N' || (params === null || params === void 0 ? void 0 : params.value) === false || (params === null || params === void 0 ? void 0 : params.value) === 'false') {
65181
- return 'Não';
65863
+ return this._i18n("app.no");
65182
65864
  }
65183
65865
  }
65184
65866
  if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.SEARCH) {
@@ -65401,27 +66083,30 @@ function enableSelectAll(total) {
65401
66083
  return total !== undefined;
65402
66084
  }
65403
66085
  function buildSelectAllLabel(allRecordSelected, count, total) {
66086
+ const i18n = index.getI18n();
65404
66087
  if (allRecordSelected)
65405
- return 'Selecionar apenas a página atual';
66088
+ return i18n('utils.selectAllPage');
65406
66089
  if (total === undefined)
65407
- return `Carregando todos os ${count} registros`;
65408
- return `Selecionar todos os ${total} registros`;
66090
+ return i18n('utils.loadingAllRecords', { count });
66091
+ return i18n('utils.selectAllRecords', { total });
65409
66092
  }
65410
66093
  function buildSelectAllTitle(total) {
65411
66094
  if (enableSelectAll(total))
65412
66095
  return '';
65413
- return 'Aguarde o carregamento para selecionar o registro de todas as páginas';
66096
+ const i18n = index.getI18n();
66097
+ return i18n('utils.waitForLoad');
65414
66098
  }
65415
66099
  function getText(selectionCount, allSelectedRecords) {
66100
+ const i18n = index.getI18n();
65416
66101
  if (allSelectedRecords) {
65417
- return `Todos os <strong>${selectionCount} registros</strong> da grade estão selecionados.`;
66102
+ return i18n('utils.allRecordsSelected', { selectionCount });
65418
66103
  }
65419
- const pluralCharacter = selectionCount > 1 ? "s" : "";
65420
- return `Há <strong>${selectionCount} registro${pluralCharacter}</strong> selecionado${pluralCharacter} na grade.`;
66104
+ const plural = selectionCount > 1 ? "s" : "";
66105
+ return i18n('utils.selectedRecords', { selectionCount, plural });
65421
66106
  }
65422
66107
 
65423
66108
  const SelectionCounter = (props) => {
65424
- const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose } = props;
66109
+ const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose, i18n } = props;
65425
66110
  const { total, hasMore, count } = paginationInfo || {};
65426
66111
  const shouldRenderSelectionButton = () => {
65427
66112
  if ((!allRecordSelected && selectionCount === total) || (allRecordSelected && !hasMore))
@@ -65430,16 +66115,16 @@ const SelectionCounter = (props) => {
65430
66115
  return canSelectAll;
65431
66116
  return !!paginationInfo && (currentPageSelected || allRecordSelected);
65432
66117
  };
65433
- return (index.h("div", Object.assign({ class: "ez-box ez-box--shadow-small" }, getElementID("ezGridSelectionCounter")),
65434
- index.h("div", { class: "ez-flex ez-flex--align-items-center ez-size-width--full ez-padding-horizontal--medium" },
65435
- index.h("div", { class: "ez-flex ez-flex--wrap ez-flex--align-items-baseline ez-flex--justify-center" },
65436
- index.h("label", Object.assign({ innerHTML: getText(selectionCount, allRecordSelected), class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium ez-margin-top--medium" }, getElementID("ezGridSelectionCounter_label"))),
65437
- index.h("div", { class: "ez-flex ez-margin-right--medium" },
66118
+ return (index$1.h("div", Object.assign({ class: "ez-box ez-box--shadow-small" }, getElementID("ezGridSelectionCounter")),
66119
+ index$1.h("div", { class: "ez-flex ez-flex--align-items-center ez-size-width--full ez-padding-horizontal--medium" },
66120
+ index$1.h("div", { class: "ez-flex ez-flex--wrap ez-flex--align-items-baseline ez-flex--justify-center" },
66121
+ index$1.h("label", Object.assign({ innerHTML: getText(selectionCount, allRecordSelected), class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium ez-margin-top--medium" }, getElementID("ezGridSelectionCounter_label"))),
66122
+ index$1.h("div", { class: "ez-flex ez-margin-right--medium" },
65438
66123
  shouldRenderSelectionButton() &&
65439
- index.h("ez-button", Object.assign({ key: "selectAllRecordsEzButton", title: buildSelectAllTitle(total), enabled: enableSelectAll(total), class: "ez-margin-right--medium", label: buildSelectAllLabel(allRecordSelected, count, total), mode: "link", onClick: allRecordSelected ? onSelectPage : onSelectAll }, getElementID(`ezGridSelectionCounter_select${allRecordSelected ? "Page" : "All"}`))),
65440
- index.h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: "Limpar Sele\u00E7\u00E3o", mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
65441
- index.h("button", Object.assign({ class: "grid__btn-close", title: "Fechar", onClick: onClose }, getElementID("ezGridSelectionCounter_close")),
65442
- index.h("ez-icon", { iconName: "close" })))));
66124
+ index$1.h("ez-button", Object.assign({ key: "selectAllRecordsEzButton", title: buildSelectAllTitle(total), enabled: enableSelectAll(total), class: "ez-margin-right--medium", label: buildSelectAllLabel(allRecordSelected, count, total), mode: "link", onClick: allRecordSelected ? onSelectPage : onSelectAll }, getElementID(`ezGridSelectionCounter_select${allRecordSelected ? "Page" : "All"}`))),
66125
+ index$1.h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: i18n("ez-grid.clearSelection"), mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
66126
+ index$1.h("button", Object.assign({ class: "grid__btn-close", title: i18n("app.close"), onClick: onClose }, getElementID("ezGridSelectionCounter_close")),
66127
+ index$1.h("ez-icon", { iconName: "close" })))));
65443
66128
  };
65444
66129
  function getElementID(sufix) {
65445
66130
  return {
@@ -65581,14 +66266,13 @@ const matches = (text, filter) => {
65581
66266
  };
65582
66267
  const EzGrid = class {
65583
66268
  constructor(hostRef) {
65584
- index.registerInstance(this, hostRef);
65585
- this.ezColumnStateChange = index.createEvent(this, "ezColumnStateChange", 7);
65586
- this.ezSelectionChange = index.createEvent(this, "ezSelectionChange", 7);
65587
- this.ezDoubleClick = index.createEvent(this, "ezDoubleClick", 7);
65588
- this.configChange = index.createEvent(this, "configChange", 7);
65589
- this.componentReady = index.createEvent(this, "componentReady", 7);
66269
+ index$1.registerInstance(this, hostRef);
66270
+ this.ezColumnStateChange = index$1.createEvent(this, "ezColumnStateChange", 7);
66271
+ this.ezSelectionChange = index$1.createEvent(this, "ezSelectionChange", 7);
66272
+ this.ezDoubleClick = index$1.createEvent(this, "ezDoubleClick", 7);
66273
+ this.configChange = index$1.createEvent(this, "configChange", 7);
66274
+ this.componentReady = index$1.createEvent(this, "componentReady", 7);
65590
66275
  this._gridController = new AgGridController(false);
65591
- this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
65592
66276
  this._customEditor = new Map();
65593
66277
  this._customRenders = new Map();
65594
66278
  this._paginationInfo = undefined;
@@ -65983,7 +66667,7 @@ const EzGrid = class {
65983
66667
  await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
65984
66668
  }
65985
66669
  renderCancelPagination() {
65986
- return (index.h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, index.h("div", { class: 'cancel-pagination' }, index.h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), index.h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, "Cancelar pagina\u00E7\u00E3o"))));
66670
+ 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")))));
65987
66671
  }
65988
66672
  handleShowCancelPagination() {
65989
66673
  var _a, _b, _c;
@@ -65999,7 +66683,7 @@ const EzGrid = class {
65999
66683
  if (!this._paginationInfo)
66000
66684
  return null;
66001
66685
  const { currentPage, hasMore } = this._paginationInfo;
66002
- return (index.h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), index.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, index.h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && index.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), index.h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, index.h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }), index.h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" }))));
66686
+ 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") }))));
66003
66687
  }
66004
66688
  shouldPresentPaginationLabel() {
66005
66689
  return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
@@ -66040,7 +66724,8 @@ const EzGrid = class {
66040
66724
  enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
66041
66725
  enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
66042
66726
  enableRowTableStriped: this.enableRowTableStriped,
66043
- suppressHorizontalScroll: this.suppressHorizontalScroll
66727
+ suppressHorizontalScroll: this.suppressHorizontalScroll,
66728
+ i18n: this.i18n
66044
66729
  });
66045
66730
  if (this.config) {
66046
66731
  this.observeConfig(this.config);
@@ -66073,7 +66758,7 @@ const EzGrid = class {
66073
66758
  }
66074
66759
  _getRemainingPageLabel() {
66075
66760
  const { total, count } = this._paginationInfo;
66076
- return `${total == undefined ? ` de ${count + 1} ou mais` : ` de ${total}`}`;
66761
+ return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
66077
66762
  }
66078
66763
  _hasToShowCancelPagination() {
66079
66764
  var _a;
@@ -66149,10 +66834,11 @@ const EzGrid = class {
66149
66834
  }
66150
66835
  componentDidRender() {
66151
66836
  windowInstace.addEventListener('onSubmitFilter', () => {
66152
- ApplicationUtils.ApplicationUtils.info(this._messageFilterAppliedSuccess);
66837
+ ApplicationUtils.ApplicationUtils.info(this.i18n("ez-grid.filterAppliedSuccess"));
66153
66838
  });
66154
66839
  }
66155
- componentWillLoad() {
66840
+ async componentWillLoad() {
66841
+ this.i18n = await index.initI18n();
66156
66842
  this._hasLeftButtons = !!this._element.querySelector('[slot="leftButtons"]');
66157
66843
  if (!this.dataUnit.name.includes("InMemoryDataUnit"))
66158
66844
  return;
@@ -66191,12 +66877,12 @@ const EzGrid = class {
66191
66877
  if (!this._paginationInfo)
66192
66878
  return;
66193
66879
  this.nextRecord();
66194
- }, { description: "Avança para o próximo registro.", element: this._element })
66880
+ }, { description: this.i18n("ez-grid.nextRecord"), element: this._element })
66195
66881
  .bind("ctrl + ,", () => {
66196
66882
  if (!this._paginationInfo)
66197
66883
  return;
66198
66884
  this.previousRecord();
66199
- }, { description: "Retorna ao registro anterior.", element: this._element })
66885
+ }, { description: this.i18n("ez-grid.previousRecord"), element: this._element })
66200
66886
  .bind("ctrl + alt + ArrowLeft", () => {
66201
66887
  if (!this._paginationInfo)
66202
66888
  return;
@@ -66204,7 +66890,7 @@ const EzGrid = class {
66204
66890
  if (currentPage > 0) {
66205
66891
  this.previousPage();
66206
66892
  }
66207
- }, { description: "Retorna a pagina anterior.", element: this._element })
66893
+ }, { description: this.i18n("ez-grid.previousPage"), element: this._element })
66208
66894
  .bind("ctrl + alt + ArrowRight", () => {
66209
66895
  if (!this._paginationInfo)
66210
66896
  return;
@@ -66212,7 +66898,7 @@ const EzGrid = class {
66212
66898
  if (hasMore) {
66213
66899
  this.nextPage();
66214
66900
  }
66215
- }, { description: "Avança para a próxima página.", element: this._element });
66901
+ }, { description: this.i18n("ez-grid.nextPage"), element: this._element });
66216
66902
  if (this.useSearchColumn) {
66217
66903
  this._keyboardManager.bind(searchColumn.SHORTCUT_SEARCH_FIELD, async () => {
66218
66904
  if (!this._container || !this._ezPopoverSearchColumn)
@@ -66220,7 +66906,7 @@ const EzGrid = class {
66220
66906
  const container = this._container.getBoundingClientRect();
66221
66907
  await searchColumn.focusOnFieldSerch(this._columnSearch);
66222
66908
  this._ezPopoverSearchColumn.showUnder(this._container, { horizontalGap: container.width - (searchColumn.SEARCH_FIELD_FULL_WIDTH), verticalGap: container.height * -1 });
66223
- }, { description: searchColumn.LABEL_SEARCH_COLUMN, element: this._element });
66909
+ }, { description: this.i18n("ez-grid.searchColumn"), element: this._element });
66224
66910
  }
66225
66911
  }
66226
66912
  async removeShortcuts() {
@@ -66230,7 +66916,7 @@ const EzGrid = class {
66230
66916
  renderFieldSearchColumn() {
66231
66917
  this._columnSearch = searchColumn.buildFieldSearch({
66232
66918
  value: core.StringUtils.generateUUID(),
66233
- label: searchColumn.LABEL_SEARCH_COLUMN,
66919
+ label: this.i18n("ez-grid.labelSearchColumn"),
66234
66920
  }, ({ argument }) => new Promise(accept => {
66235
66921
  this.filterColumns(argument).then((columns) => {
66236
66922
  accept(columns
@@ -66252,23 +66938,23 @@ const EzGrid = class {
66252
66938
  }
66253
66939
  render() {
66254
66940
  var _a;
66255
- return (index.h(index.Host, { "no-header": this.hideHeader() }, index.h("div", { class: {
66941
+ return (index$1.h(index$1.Host, { "no-header": this.hideHeader() }, index$1.h("div", { class: {
66256
66942
  'grid__container ez-grid': true,
66257
66943
  'outline-mode': this.outlineMode,
66258
66944
  'shadow-mode': !this.outlineMode,
66259
66945
  'no-padding': this.compact,
66260
66946
  'header-overlay': !this.hideHeader(),
66261
66947
  'no-scroll': this.suppressHorizontalScroll
66262
- }, ref: elem => (this._container = elem), tabindex: "0" }), index.h("div", { class: {
66948
+ }, ref: elem => (this._container = elem), tabindex: "0" }), index$1.h("div", { class: {
66263
66949
  'ez-box ez-padding--small grid-header': true,
66264
66950
  'outline-mode': this.outlineMode,
66265
66951
  'shadow-mode': !this.outlineMode && !this.hideHeader(),
66266
- }, tabindex: "0" }, index.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.h("div", { class: "grid-header__position" }, index.h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, index.h("slot", { name: "leftButtons" })), this.getPaginationControl())), index.h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), index.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
66952
+ }, 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
66267
66953
  ${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
66268
- ` }, index.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, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), index.h("div", { class: "grid__footer" }, index.h("slot", { name: "footer" }))));
66954
+ ` }, 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" }))));
66269
66955
  }
66270
66956
  static get assetsDirs() { return ["../assets"]; }
66271
- get _element() { return index.getElement(this); }
66957
+ get _element() { return index$1.getElement(this); }
66272
66958
  static get watchers() { return {
66273
66959
  "config": ["observeConfig"],
66274
66960
  "_paginationInfo": ["updatePaginationTooltip"],