@sankhyalabs/ezui 6.0.2 → 6.1.0-dev.10

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 (885) hide show
  1. package/dist/cjs/FormLayout-18853e70.js +27 -0
  2. package/dist/cjs/RichToolbarHelper-438916fa.js +46 -0
  3. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  4. package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
  5. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -3
  6. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-avatar.cjs.entry.js +50 -0
  10. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-card-item_2.cjs.entry.js +5 -1219
  15. package/dist/cjs/ez-chart.cjs.entry.js +5 -20
  16. package/dist/cjs/ez-check.cjs.entry.js +19 -11
  17. package/dist/cjs/ez-chip.cjs.entry.js +3 -2
  18. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -4
  19. package/dist/cjs/{ez-combo-box-list_3.cjs.entry.js → ez-combo-box-list_4.cjs.entry.js} +274 -6
  20. package/dist/cjs/ez-combo-box.cjs.entry.js +25 -19
  21. package/dist/cjs/ez-date-input.cjs.entry.js +3 -2
  22. package/dist/cjs/ez-date-time-input.cjs.entry.js +3 -2
  23. package/dist/cjs/ez-dialog.cjs.entry.js +7 -4
  24. package/dist/cjs/ez-double-list.cjs.entry.js +115 -54
  25. package/dist/cjs/{ez-dropdown_2.cjs.entry.js → ez-dropdown.cjs.entry.js} +2 -63
  26. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-form-view.cjs.entry.js +23 -9
  29. package/dist/cjs/ez-form.cjs.entry.js +61 -6
  30. package/dist/cjs/ez-grid.cjs.entry.js +1071 -147
  31. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-icon.cjs.entry.js +13 -7
  33. package/dist/cjs/ez-link-builder_6.cjs.entry.js +295 -0
  34. package/dist/cjs/ez-list.cjs.entry.js +3 -3
  35. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-modal-container.cjs.entry.js +8 -4
  37. package/dist/cjs/ez-modal.cjs.entry.js +6 -2
  38. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-number-input.cjs.entry.js +3 -2
  40. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-popup.cjs.entry.js +6 -2
  43. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +27 -0
  45. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-search-plus.cjs.entry.js +400 -0
  47. package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
  48. package/dist/cjs/ez-search.cjs.entry.js +5 -5
  49. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-skeleton.cjs.entry.js +149 -0
  51. package/dist/cjs/ez-sortable-list.cjs.entry.js +3510 -0
  52. package/dist/cjs/ez-split-button.cjs.entry.js +16 -7
  53. package/dist/cjs/ez-split-item.cjs.entry.js +2 -3
  54. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-text-area.cjs.entry.js +25 -4
  57. package/dist/cjs/ez-text-input.cjs.entry.js +84 -101
  58. package/dist/cjs/ez-time-input.cjs.entry.js +3 -2
  59. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  60. package/dist/cjs/ez-tooltip.cjs.entry.js +110 -30
  61. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  62. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  64. package/dist/cjs/ezui.cjs.js +2 -2
  65. package/dist/cjs/filter-column.cjs.entry.js +15 -6
  66. package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
  67. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +36 -11
  68. package/dist/cjs/loader.cjs.js +2 -2
  69. package/dist/cjs/purify-a7dc3a08.js +1354 -0
  70. package/dist/cjs/{DataBinder-e92314c2.js → search-column-27d1f72f.js} +73 -13
  71. package/dist/collection/collection-manifest.json +22 -0
  72. package/dist/collection/components/ez-avatar/ez-avatar.css +139 -0
  73. package/dist/collection/components/ez-avatar/ez-avatar.js +143 -0
  74. package/dist/collection/components/ez-check/ez-check.css +9 -0
  75. package/dist/collection/components/ez-check/ez-check.js +34 -9
  76. package/dist/collection/components/ez-chip/ez-chip.js +20 -1
  77. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -0
  78. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +1 -0
  79. package/dist/collection/components/ez-combo-box/ez-combo-box.js +77 -18
  80. package/dist/collection/components/ez-date-input/ez-date-input.js +19 -1
  81. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +19 -1
  82. package/dist/collection/components/ez-dialog/ez-dialog.css +24 -21
  83. package/dist/collection/components/ez-dialog/ez-dialog.js +5 -2
  84. package/dist/collection/components/ez-double-list/doubleListHelper.js +9 -10
  85. package/dist/collection/components/ez-double-list/ez-double-list.css +6 -38
  86. package/dist/collection/components/ez-double-list/ez-double-list.js +168 -50
  87. package/dist/collection/components/ez-dropdown/ez-dropdown.js +1 -1
  88. package/dist/collection/components/ez-form/ez-form.js +95 -2
  89. package/dist/collection/components/ez-form-view/ez-form-view.js +2 -1
  90. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -1
  91. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +4 -0
  92. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
  93. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +173 -15
  94. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +23 -4
  95. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +34 -7
  96. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +2 -0
  97. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
  98. package/dist/collection/components/ez-grid/ez-grid.css +4 -0
  99. package/dist/collection/components/ez-grid/ez-grid.js +122 -15
  100. package/dist/collection/components/ez-grid/interfaces/IGridMode.js +1 -0
  101. package/dist/collection/components/ez-grid/interfaces/index.js +1 -0
  102. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +14 -5
  103. package/dist/collection/components/ez-icon/ez-icon.css +147 -140
  104. package/dist/collection/components/ez-icon/ez-icon.js +28 -5
  105. package/dist/collection/components/ez-list/ez-list.js +2 -2
  106. package/dist/collection/components/ez-modal/ez-modal.js +5 -1
  107. package/dist/collection/components/ez-modal-container/ez-modal-container.css +3 -0
  108. package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
  109. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
  110. package/dist/collection/components/ez-number-input/ez-number-input.js +19 -1
  111. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +3 -2
  112. package/dist/collection/components/ez-popup/ez-popup.js +5 -1
  113. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css +22 -0
  114. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js +131 -0
  115. package/dist/collection/components/ez-rich-text/ez-rich-text.css +35 -0
  116. package/dist/collection/components/ez-rich-text/ez-rich-text.js +544 -0
  117. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js +39 -0
  118. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css +4 -0
  119. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js +19 -0
  120. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css +4 -0
  121. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js +19 -0
  122. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css +20 -0
  123. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js +122 -0
  124. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css +4 -0
  125. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js +19 -0
  126. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css +42 -0
  127. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js +183 -0
  128. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css +70 -0
  129. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js +216 -0
  130. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js +1 -0
  131. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js +14 -0
  132. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js +10 -0
  133. package/dist/collection/components/ez-search/ez-search.js +19 -1
  134. package/dist/collection/components/ez-search-plus/ez-search-plus.css +374 -0
  135. package/dist/collection/components/ez-search-plus/ez-search-plus.js +963 -0
  136. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
  137. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
  138. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +25 -1
  139. package/dist/collection/components/ez-skeleton/ez-skeleton.css +122 -80
  140. package/dist/collection/components/ez-skeleton/ez-skeleton.js +210 -46
  141. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +226 -0
  142. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js +582 -0
  143. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  144. package/dist/collection/components/ez-split-button/ez-split-button.js +87 -10
  145. package/dist/collection/components/ez-text-area/ez-text-area.js +47 -2
  146. package/dist/collection/components/ez-text-input/ez-text-input.css +27 -2
  147. package/dist/collection/components/ez-text-input/ez-text-input.js +124 -73
  148. package/dist/collection/components/ez-time-input/ez-time-input.js +19 -1
  149. package/dist/collection/components/ez-tooltip/ez-tooltip.css +54 -12
  150. package/dist/collection/components/ez-tooltip/ez-tooltip.js +241 -47
  151. package/dist/collection/utils/constants.js +2 -0
  152. package/dist/collection/utils/form/DataBinder.js +43 -14
  153. package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
  154. package/dist/collection/utils/index.js +2 -0
  155. package/dist/collection/utils/search/types.js +7 -0
  156. package/dist/collection/utils/searchColumn/search-column.js +35 -0
  157. package/dist/custom-elements/index.d.ts +72 -0
  158. package/dist/custom-elements/index.js +8104 -565
  159. package/dist/esm/FormLayout-071d324c.js +27 -0
  160. package/dist/esm/RichToolbarHelper-fd6427df.js +41 -0
  161. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  162. package/dist/esm/constants-b036528f.js +7 -0
  163. package/dist/esm/ez-actions-button.entry.js +2 -3
  164. package/dist/esm/ez-alert-list.entry.js +1 -1
  165. package/dist/esm/ez-alert.entry.js +1 -1
  166. package/dist/esm/ez-application.entry.js +1 -1
  167. package/dist/esm/ez-avatar.entry.js +46 -0
  168. package/dist/esm/ez-badge.entry.js +1 -1
  169. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  170. package/dist/esm/ez-button.entry.js +1 -1
  171. package/dist/esm/ez-calendar.entry.js +1 -1
  172. package/dist/esm/ez-card-item_2.entry.js +3 -1217
  173. package/dist/esm/ez-chart.entry.js +3 -18
  174. package/dist/esm/ez-check.entry.js +19 -11
  175. package/dist/esm/ez-chip.entry.js +3 -2
  176. package/dist/esm/ez-collapsible-box.entry.js +3 -4
  177. package/dist/esm/{ez-combo-box-list_3.entry.js → ez-combo-box-list_4.entry.js} +274 -7
  178. package/dist/esm/ez-combo-box.entry.js +25 -19
  179. package/dist/esm/ez-date-input.entry.js +3 -2
  180. package/dist/esm/ez-date-time-input.entry.js +3 -2
  181. package/dist/esm/ez-dialog.entry.js +7 -4
  182. package/dist/esm/ez-double-list.entry.js +116 -55
  183. package/dist/esm/{ez-dropdown_2.entry.js → ez-dropdown.entry.js} +3 -63
  184. package/dist/esm/ez-file-item.entry.js +1 -1
  185. package/dist/esm/ez-filter-input.entry.js +1 -1
  186. package/dist/esm/ez-form-view.entry.js +24 -10
  187. package/dist/esm/ez-form.entry.js +60 -5
  188. package/dist/esm/ez-grid.entry.js +1067 -143
  189. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  190. package/dist/esm/ez-icon.entry.js +13 -7
  191. package/dist/esm/ez-link-builder_6.entry.js +286 -0
  192. package/dist/esm/ez-list.entry.js +3 -3
  193. package/dist/esm/ez-loading-bar.entry.js +1 -1
  194. package/dist/esm/ez-modal-container.entry.js +8 -4
  195. package/dist/esm/ez-modal.entry.js +6 -2
  196. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  197. package/dist/esm/ez-number-input.entry.js +3 -2
  198. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  199. package/dist/esm/ez-popover.entry.js +1 -1
  200. package/dist/esm/ez-popup.entry.js +6 -2
  201. package/dist/esm/ez-radio-button.entry.js +1 -1
  202. package/dist/esm/ez-rich-toolbar-item.entry.js +23 -0
  203. package/dist/esm/ez-scroller_2.entry.js +1 -1
  204. package/dist/esm/ez-search-plus.entry.js +396 -0
  205. package/dist/esm/ez-search-result-list.entry.js +93 -0
  206. package/dist/esm/ez-search.entry.js +5 -5
  207. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  208. package/dist/esm/ez-skeleton.entry.js +145 -0
  209. package/dist/esm/ez-sortable-list.entry.js +3506 -0
  210. package/dist/esm/ez-split-button.entry.js +16 -7
  211. package/dist/esm/ez-split-item.entry.js +2 -3
  212. package/dist/esm/ez-split-panel.entry.js +1 -1
  213. package/dist/esm/ez-tabselector.entry.js +1 -1
  214. package/dist/esm/ez-text-area.entry.js +25 -4
  215. package/dist/esm/ez-text-input.entry.js +84 -101
  216. package/dist/esm/ez-time-input.entry.js +3 -2
  217. package/dist/esm/ez-toast.entry.js +1 -1
  218. package/dist/esm/ez-tooltip.entry.js +110 -30
  219. package/dist/esm/ez-tree.entry.js +1 -1
  220. package/dist/esm/ez-upload.entry.js +1 -1
  221. package/dist/esm/ez-view-stack.entry.js +1 -1
  222. package/dist/esm/ezui.js +3 -3
  223. package/dist/esm/filter-column.entry.js +15 -6
  224. package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
  225. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +37 -11
  226. package/dist/esm/loader.js +3 -3
  227. package/dist/esm/purify-da6317bb.js +1352 -0
  228. package/dist/esm/{DataBinder-9c877244.js → search-column-e609d513.js} +69 -15
  229. package/dist/ezui/ezui.esm.js +1 -1
  230. package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
  231. package/dist/ezui/p-07894c4a.entry.js +1 -0
  232. package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
  233. package/dist/ezui/p-0d9856a4.entry.js +1 -0
  234. package/dist/ezui/p-112455b1.js +1 -0
  235. package/dist/ezui/p-1276ef79.entry.js +1 -0
  236. package/dist/ezui/{p-87f5a060.entry.js → p-1bcfd88c.entry.js} +1 -1
  237. package/dist/ezui/p-1c55dda0.js +3 -0
  238. package/dist/ezui/p-1cebdc92.js +1 -0
  239. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  240. package/dist/ezui/p-1eb34cad.entry.js +1 -0
  241. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  242. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  243. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  244. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  245. package/dist/ezui/p-2b4df33d.entry.js +1 -0
  246. package/dist/ezui/p-30ffb9ed.js +1 -0
  247. package/dist/ezui/p-31f0d5f8.entry.js +309 -0
  248. package/dist/ezui/p-33326ac5.entry.js +1 -0
  249. package/dist/ezui/p-3ba9565c.entry.js +1 -0
  250. package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
  251. package/dist/ezui/p-454bba13.entry.js +1 -0
  252. package/dist/ezui/p-496f7832.entry.js +1 -0
  253. package/dist/ezui/{p-769632d5.entry.js → p-4b67138e.entry.js} +1 -1
  254. package/dist/ezui/p-4bd6dd6a.entry.js +1 -0
  255. package/dist/ezui/p-4d30b703.entry.js +1 -0
  256. package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
  257. package/dist/ezui/p-57363cfd.entry.js +1 -0
  258. package/dist/ezui/p-58f69d24.entry.js +1 -0
  259. package/dist/ezui/p-59561756.entry.js +7 -0
  260. package/dist/ezui/p-5cda9526.entry.js +1 -0
  261. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  262. package/dist/ezui/p-5eea9886.js +1 -0
  263. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  264. package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
  265. package/dist/ezui/p-7019f782.entry.js +1 -0
  266. package/dist/ezui/p-71c2ec1f.entry.js +1 -0
  267. package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
  268. package/dist/ezui/p-79044c3e.entry.js +1 -0
  269. package/dist/ezui/p-7eae6986.entry.js +1 -0
  270. package/dist/ezui/p-7f792043.entry.js +1 -0
  271. package/dist/ezui/p-80461324.entry.js +1 -0
  272. package/dist/ezui/p-8afb6e8a.entry.js +1 -0
  273. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  274. package/dist/ezui/p-91c9d50e.entry.js +1 -0
  275. package/dist/ezui/p-9478b13b.entry.js +1 -0
  276. package/dist/ezui/p-998afb6a.entry.js +1 -0
  277. package/dist/ezui/p-9c5cd3b2.entry.js +1 -0
  278. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  279. package/dist/ezui/p-a148e994.entry.js +1 -0
  280. package/dist/ezui/p-a3782637.entry.js +1 -0
  281. package/dist/ezui/p-a3bf8cf1.entry.js +1 -0
  282. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  283. package/dist/ezui/p-bac0f920.entry.js +1 -0
  284. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  285. package/dist/ezui/p-beb42de1.entry.js +1 -0
  286. package/dist/ezui/p-bff24a7b.js +1 -0
  287. package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
  288. package/dist/ezui/p-cb75eb46.entry.js +1 -0
  289. package/dist/ezui/{p-708b196e.entry.js → p-da1b4a38.entry.js} +1 -1
  290. package/dist/ezui/{p-c7035d65.entry.js → p-dc73e1fe.entry.js} +1 -1
  291. package/dist/ezui/p-dfd9c473.entry.js +1 -0
  292. package/dist/ezui/p-e07e4671.js +1 -0
  293. package/dist/ezui/p-e4528470.entry.js +1 -0
  294. package/dist/ezui/{p-9e95bfeb.entry.js → p-e6a9041d.entry.js} +1 -1
  295. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  296. package/dist/ezui/p-ec0d8122.entry.js +1 -0
  297. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  298. package/dist/types/components/ez-avatar/ez-avatar.d.ts +24 -0
  299. package/dist/types/components/ez-check/ez-check.d.ts +7 -2
  300. package/dist/types/components/ez-chip/ez-chip.d.ts +4 -0
  301. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +14 -2
  302. package/dist/types/components/ez-date-input/ez-date-input.d.ts +4 -0
  303. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +4 -0
  304. package/dist/types/components/ez-dialog/ez-dialog.d.ts +1 -0
  305. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +4 -2
  306. package/dist/types/components/ez-double-list/ez-double-list.d.ts +60 -24
  307. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +4 -4
  308. package/dist/types/components/ez-form/ez-form.d.ts +18 -0
  309. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -0
  310. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
  311. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +9 -1
  312. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +10 -1
  313. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
  314. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +2 -0
  315. package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
  316. package/dist/types/components/ez-grid/ez-grid.d.ts +17 -1
  317. package/dist/types/components/ez-grid/interfaces/IGridMode.d.ts +1 -0
  318. package/dist/types/components/ez-grid/interfaces/index.d.ts +1 -0
  319. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -0
  320. package/dist/types/components/ez-icon/ez-icon.d.ts +5 -0
  321. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
  322. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  323. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
  324. package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
  325. package/dist/types/components/ez-number-input/ez-number-input.d.ts +4 -0
  326. package/dist/types/components/ez-popup/ez-popup.d.ts +2 -0
  327. package/dist/types/components/ez-rich-text/ez-link-builder/ez-link-builder.d.ts +17 -0
  328. package/dist/types/components/ez-rich-text/ez-rich-text.d.ts +98 -0
  329. package/dist/types/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.d.ts +43 -0
  330. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.d.ts +3 -0
  331. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.d.ts +3 -0
  332. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.d.ts +11 -0
  333. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.d.ts +3 -0
  334. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.d.ts +33 -0
  335. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.d.ts +37 -0
  336. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.d.ts +1 -0
  337. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.d.ts +1 -0
  338. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.d.ts +1 -0
  339. package/dist/types/components/ez-search/ez-search.d.ts +4 -0
  340. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +187 -0
  341. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
  342. package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +55 -1
  343. package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +50 -22
  344. package/dist/types/components/ez-sortable-list/ez-sortable-list.d.ts +91 -0
  345. package/dist/types/components/ez-split-button/ez-split-button.d.ts +14 -2
  346. package/dist/types/components/ez-text-area/ez-text-area.d.ts +8 -0
  347. package/dist/types/components/ez-text-input/ez-text-input.d.ts +21 -9
  348. package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
  349. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +41 -5
  350. package/dist/types/components.d.ts +1105 -44
  351. package/dist/types/utils/constants.d.ts +2 -0
  352. package/dist/types/utils/form/DataBinder.d.ts +4 -2
  353. package/dist/types/utils/index.d.ts +2 -0
  354. package/dist/types/utils/search/types.d.ts +12 -0
  355. package/dist/types/utils/searchColumn/search-column.d.ts +9 -0
  356. package/package.json +8 -2
  357. package/react/components.d.ts +72 -60
  358. package/react/components.js +12 -0
  359. package/react/components.js.map +1 -1
  360. package/react/react-component-lib/createComponent.d.ts +1 -1
  361. package/react/react-component-lib/createComponent.js.map +1 -1
  362. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  363. package/react/react-component-lib/interfaces.js +1 -0
  364. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  365. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  366. package/react/react-component-lib/utils/dev.js.map +1 -1
  367. package/react/react-component-lib/utils/index.d.ts +2 -2
  368. package/react/react-component-lib/utils/index.js.map +1 -1
  369. package/dist/cjs/ApplicationUtils-c9d1205c.js.gz +0 -0
  370. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  371. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  372. package/dist/cjs/DataBinder-e92314c2.js.gz +0 -0
  373. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  374. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  375. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  376. package/dist/cjs/FormLayout-c2451c7f.js +0 -7
  377. package/dist/cjs/FormLayout-c2451c7f.js.gz +0 -0
  378. package/dist/cjs/ICustomRender-6fafffce.js +0 -13
  379. package/dist/cjs/ICustomRender-6fafffce.js.gz +0 -0
  380. package/dist/cjs/constants-2714478b.js.gz +0 -0
  381. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  382. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  383. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  384. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  385. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  386. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  387. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  388. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  389. package/dist/cjs/ez-card-item_2.cjs.entry.js.gz +0 -0
  390. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  391. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  392. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  393. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  394. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js.gz +0 -0
  395. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  396. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  397. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  398. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  399. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  400. package/dist/cjs/ez-dropdown_2.cjs.entry.js.gz +0 -0
  401. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  402. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  403. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  404. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  405. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  406. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  407. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  408. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  409. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  410. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  411. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  412. package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
  413. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  414. package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
  415. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  416. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  417. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  418. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  419. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  420. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  421. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  422. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  423. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  424. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  425. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  426. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  427. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  428. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  429. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  430. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  431. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  432. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  433. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  434. package/dist/cjs/ezui.cjs.js.gz +0 -0
  435. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  436. package/dist/cjs/index-9e5554cb.js.gz +0 -0
  437. package/dist/cjs/index.cjs.js.gz +0 -0
  438. package/dist/cjs/loader.cjs.js.gz +0 -0
  439. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  440. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  441. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  442. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  443. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  444. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  445. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  446. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  447. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  448. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  449. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  450. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  451. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  452. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  453. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  454. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  455. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  456. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  457. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  458. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  459. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  460. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  461. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  462. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  463. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  464. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  465. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  466. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  467. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  468. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  469. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  470. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  471. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  472. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  473. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  474. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  475. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  476. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  477. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  478. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  479. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  480. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  481. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  482. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  483. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  484. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  485. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  486. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  487. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  488. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  489. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  490. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  491. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  492. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  493. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  494. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  495. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  496. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  497. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  498. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  499. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  500. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  501. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  502. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  503. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  504. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  505. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  506. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  507. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  508. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  509. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  510. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  511. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  512. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  513. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  514. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  515. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  516. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  517. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  518. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  519. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  520. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  521. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  522. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  523. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  524. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  525. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  526. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  527. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  528. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  529. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  530. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  531. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  532. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  533. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  534. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  535. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  536. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  537. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  538. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  539. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  540. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  541. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  542. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  543. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  544. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  545. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  546. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  547. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  548. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  549. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js.gz +0 -0
  550. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  551. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  552. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  553. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  554. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  555. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  556. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  557. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  558. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  559. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  560. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  561. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  562. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  563. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  564. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  565. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  566. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  567. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  568. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  569. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  570. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  571. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  572. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  573. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  574. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  575. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  576. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  577. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  578. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  579. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  580. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  581. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  582. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  583. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  584. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  585. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  586. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  587. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  588. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  589. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  590. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  591. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  592. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  593. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  594. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  595. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  596. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  597. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  598. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  599. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  600. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  601. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  602. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  603. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  604. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  605. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  606. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  607. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  608. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  609. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  610. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  611. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  612. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  613. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  614. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  615. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  616. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  617. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  618. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  619. package/dist/collection/components/ez-sidebar-navigator/messages/constants.js.gz +0 -0
  620. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  621. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  622. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  623. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  624. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  625. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  626. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  627. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  628. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  629. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  630. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  631. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  632. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  633. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  634. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  635. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  636. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  637. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  638. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  639. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  640. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  641. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  642. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  643. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  644. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  645. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  646. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  647. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  648. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  649. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  650. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  651. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  652. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  653. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  654. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  655. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  656. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  657. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  658. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  659. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  660. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  661. package/dist/collection/index.js.gz +0 -0
  662. package/dist/collection/servidor.js.gz +0 -0
  663. package/dist/collection/setupTests.js.gz +0 -0
  664. package/dist/collection/sw.js.gz +0 -0
  665. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  666. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  667. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  668. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  669. package/dist/collection/utils/ResponsiveInputUtils.js +0 -26
  670. package/dist/collection/utils/ResponsiveInputUtils.js.gz +0 -0
  671. package/dist/collection/utils/constants.js.gz +0 -0
  672. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  673. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  674. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  675. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  676. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  677. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  678. package/dist/collection/utils/form/index.js.gz +0 -0
  679. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  680. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  681. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  682. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  683. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  684. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  685. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  686. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  687. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  688. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  689. package/dist/collection/utils/index.js.gz +0 -0
  690. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  691. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  692. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  693. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  694. package/dist/collection/utils/utils.js.gz +0 -0
  695. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  696. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  697. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  698. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  699. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  700. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  701. package/dist/custom-elements/index.js.gz +0 -0
  702. package/dist/esm/ApplicationUtils-eaf91331.js.gz +0 -0
  703. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  704. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  705. package/dist/esm/DataBinder-9c877244.js.gz +0 -0
  706. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  707. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  708. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  709. package/dist/esm/FormLayout-54092963.js +0 -7
  710. package/dist/esm/FormLayout-54092963.js.gz +0 -0
  711. package/dist/esm/ICustomRender-875b5a40.js +0 -13
  712. package/dist/esm/ICustomRender-875b5a40.js.gz +0 -0
  713. package/dist/esm/constants-4e0d35b7.js +0 -5
  714. package/dist/esm/constants-4e0d35b7.js.gz +0 -0
  715. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  716. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  717. package/dist/esm/ez-alert.entry.js.gz +0 -0
  718. package/dist/esm/ez-application.entry.js.gz +0 -0
  719. package/dist/esm/ez-badge.entry.js.gz +0 -0
  720. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  721. package/dist/esm/ez-button.entry.js.gz +0 -0
  722. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  723. package/dist/esm/ez-card-item_2.entry.js.gz +0 -0
  724. package/dist/esm/ez-chart.entry.js.gz +0 -0
  725. package/dist/esm/ez-check.entry.js.gz +0 -0
  726. package/dist/esm/ez-chip.entry.js.gz +0 -0
  727. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  728. package/dist/esm/ez-combo-box-list_3.entry.js.gz +0 -0
  729. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  730. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  731. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  732. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  733. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  734. package/dist/esm/ez-dropdown_2.entry.js.gz +0 -0
  735. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  736. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  737. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  738. package/dist/esm/ez-form.entry.js.gz +0 -0
  739. package/dist/esm/ez-grid.entry.js.gz +0 -0
  740. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  741. package/dist/esm/ez-icon.entry.js.gz +0 -0
  742. package/dist/esm/ez-list.entry.js.gz +0 -0
  743. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  744. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  745. package/dist/esm/ez-modal.entry.js.gz +0 -0
  746. package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
  747. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  748. package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
  749. package/dist/esm/ez-popover.entry.js.gz +0 -0
  750. package/dist/esm/ez-popup.entry.js.gz +0 -0
  751. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  752. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  753. package/dist/esm/ez-search.entry.js.gz +0 -0
  754. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  755. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  756. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  757. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  758. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  759. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  760. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  761. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  762. package/dist/esm/ez-toast.entry.js.gz +0 -0
  763. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  764. package/dist/esm/ez-tree.entry.js.gz +0 -0
  765. package/dist/esm/ez-upload.entry.js.gz +0 -0
  766. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  767. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  768. package/dist/esm/ezui.js.gz +0 -0
  769. package/dist/esm/filter-column.entry.js.gz +0 -0
  770. package/dist/esm/index-5a720e56.js.gz +0 -0
  771. package/dist/esm/index.js.gz +0 -0
  772. package/dist/esm/loader.js.gz +0 -0
  773. package/dist/esm/polyfills/core-js.js.gz +0 -0
  774. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  775. package/dist/esm/polyfills/dom.js.gz +0 -0
  776. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  777. package/dist/esm/polyfills/index.js.gz +0 -0
  778. package/dist/esm/polyfills/system.js.gz +0 -0
  779. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  780. package/dist/ezui/ezui.esm.js.gz +0 -0
  781. package/dist/ezui/index.esm.js.gz +0 -0
  782. package/dist/ezui/p-000159dc.entry.js.gz +0 -0
  783. package/dist/ezui/p-0378416a.entry.js.gz +0 -0
  784. package/dist/ezui/p-05e1f4e7.js +0 -1
  785. package/dist/ezui/p-05e1f4e7.js.gz +0 -0
  786. package/dist/ezui/p-06f1b8e4.entry.js.gz +0 -0
  787. package/dist/ezui/p-0cd9d4ec.entry.js +0 -1
  788. package/dist/ezui/p-0cd9d4ec.entry.js.gz +0 -0
  789. package/dist/ezui/p-0cfbbe82.entry.js +0 -1
  790. package/dist/ezui/p-0cfbbe82.entry.js.gz +0 -0
  791. package/dist/ezui/p-11bfeca3.entry.js.gz +0 -0
  792. package/dist/ezui/p-173f68ea.js +0 -1
  793. package/dist/ezui/p-173f68ea.js.gz +0 -0
  794. package/dist/ezui/p-1bb62d6b.entry.js +0 -1
  795. package/dist/ezui/p-1bb62d6b.entry.js.gz +0 -0
  796. package/dist/ezui/p-2069c78a.entry.js +0 -1
  797. package/dist/ezui/p-2069c78a.entry.js.gz +0 -0
  798. package/dist/ezui/p-2187f86c.js.gz +0 -0
  799. package/dist/ezui/p-22ea800a.entry.js +0 -1
  800. package/dist/ezui/p-22ea800a.entry.js.gz +0 -0
  801. package/dist/ezui/p-23dab72f.entry.js +0 -1
  802. package/dist/ezui/p-23dab72f.entry.js.gz +0 -0
  803. package/dist/ezui/p-24b42f3d.entry.js +0 -1
  804. package/dist/ezui/p-24b42f3d.entry.js.gz +0 -0
  805. package/dist/ezui/p-2f351332.entry.js +0 -1
  806. package/dist/ezui/p-2f351332.entry.js.gz +0 -0
  807. package/dist/ezui/p-37c840e8.entry.js +0 -1
  808. package/dist/ezui/p-37c840e8.entry.js.gz +0 -0
  809. package/dist/ezui/p-40a60148.js.gz +0 -0
  810. package/dist/ezui/p-41652617.entry.js +0 -1
  811. package/dist/ezui/p-41652617.entry.js.gz +0 -0
  812. package/dist/ezui/p-44b39e81.entry.js.gz +0 -0
  813. package/dist/ezui/p-4607fb89.js +0 -1
  814. package/dist/ezui/p-4607fb89.js.gz +0 -0
  815. package/dist/ezui/p-4818b8ce.entry.js +0 -1
  816. package/dist/ezui/p-4818b8ce.entry.js.gz +0 -0
  817. package/dist/ezui/p-68b2e579.entry.js +0 -1
  818. package/dist/ezui/p-68b2e579.entry.js.gz +0 -0
  819. package/dist/ezui/p-6b51c9cc.entry.js.gz +0 -0
  820. package/dist/ezui/p-6d8b3298.entry.js +0 -1
  821. package/dist/ezui/p-6d8b3298.entry.js.gz +0 -0
  822. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  823. package/dist/ezui/p-6ec40dec.entry.js.gz +0 -0
  824. package/dist/ezui/p-6fc26622.entry.js.gz +0 -0
  825. package/dist/ezui/p-708b196e.entry.js.gz +0 -0
  826. package/dist/ezui/p-7567ccdd.entry.js.gz +0 -0
  827. package/dist/ezui/p-769632d5.entry.js.gz +0 -0
  828. package/dist/ezui/p-7c1b3cef.entry.js +0 -1
  829. package/dist/ezui/p-7c1b3cef.entry.js.gz +0 -0
  830. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  831. package/dist/ezui/p-81461d2f.entry.js.gz +0 -0
  832. package/dist/ezui/p-82fa4b09.entry.js.gz +0 -0
  833. package/dist/ezui/p-87f5a060.entry.js.gz +0 -0
  834. package/dist/ezui/p-88c615f0.entry.js +0 -1
  835. package/dist/ezui/p-88c615f0.entry.js.gz +0 -0
  836. package/dist/ezui/p-9066b0b0.entry.js +0 -1
  837. package/dist/ezui/p-9066b0b0.entry.js.gz +0 -0
  838. package/dist/ezui/p-91ccae0c.entry.js.gz +0 -0
  839. package/dist/ezui/p-92748142.entry.js.gz +0 -0
  840. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  841. package/dist/ezui/p-9c5a6ec4.entry.js +0 -1
  842. package/dist/ezui/p-9c5a6ec4.entry.js.gz +0 -0
  843. package/dist/ezui/p-9d6d339e.entry.js +0 -1
  844. package/dist/ezui/p-9d6d339e.entry.js.gz +0 -0
  845. package/dist/ezui/p-9e45446f.entry.js +0 -1
  846. package/dist/ezui/p-9e45446f.entry.js.gz +0 -0
  847. package/dist/ezui/p-9e95bfeb.entry.js.gz +0 -0
  848. package/dist/ezui/p-a5d0b66b.entry.js +0 -309
  849. package/dist/ezui/p-a5d0b66b.entry.js.gz +0 -0
  850. package/dist/ezui/p-a79f3789.entry.js +0 -1
  851. package/dist/ezui/p-a79f3789.entry.js.gz +0 -0
  852. package/dist/ezui/p-ab574d59.js.gz +0 -0
  853. package/dist/ezui/p-acddfb2e.js +0 -1
  854. package/dist/ezui/p-acddfb2e.js.gz +0 -0
  855. package/dist/ezui/p-b853763b.js.gz +0 -0
  856. package/dist/ezui/p-b9282c79.entry.js +0 -1
  857. package/dist/ezui/p-b9282c79.entry.js.gz +0 -0
  858. package/dist/ezui/p-c2b20f78.entry.js.gz +0 -0
  859. package/dist/ezui/p-c7035d65.entry.js.gz +0 -0
  860. package/dist/ezui/p-c96fbbef.entry.js +0 -1
  861. package/dist/ezui/p-c96fbbef.entry.js.gz +0 -0
  862. package/dist/ezui/p-ca8936df.entry.js +0 -1
  863. package/dist/ezui/p-ca8936df.entry.js.gz +0 -0
  864. package/dist/ezui/p-cb83960b.entry.js +0 -1
  865. package/dist/ezui/p-cb83960b.entry.js.gz +0 -0
  866. package/dist/ezui/p-cc4ffa6b.entry.js +0 -1
  867. package/dist/ezui/p-cc4ffa6b.entry.js.gz +0 -0
  868. package/dist/ezui/p-cf33bc48.entry.js.gz +0 -0
  869. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  870. package/dist/ezui/p-dfca5946.entry.js.gz +0 -0
  871. package/dist/ezui/p-e18d9e6a.entry.js +0 -1
  872. package/dist/ezui/p-e18d9e6a.entry.js.gz +0 -0
  873. package/dist/ezui/p-e3f8660b.entry.js +0 -1
  874. package/dist/ezui/p-e3f8660b.entry.js.gz +0 -0
  875. package/dist/ezui/p-e4c7eb39.js.gz +0 -0
  876. package/dist/ezui/p-e6b38ade.entry.js.gz +0 -0
  877. package/dist/ezui/p-ec7db713.js.gz +0 -0
  878. package/dist/ezui/p-ede42942.entry.js +0 -1
  879. package/dist/ezui/p-ede42942.entry.js.gz +0 -0
  880. package/dist/ezui/p-f6754848.entry.js +0 -1
  881. package/dist/ezui/p-f6754848.entry.js.gz +0 -0
  882. package/dist/ezui/p-fc194825.entry.js.gz +0 -0
  883. package/dist/index.cjs.js.gz +0 -0
  884. package/dist/index.js.gz +0 -0
  885. package/dist/types/utils/ResponsiveInputUtils.d.ts +0 -6
@@ -2,17 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9e5554cb.js');
5
+ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
8
8
  const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
9
9
  require('./DialogType-2114c337.js');
10
10
  require('./CheckMode-ecb90b87.js');
11
- const ICustomRender = require('./ICustomRender-6fafffce.js');
12
- require('./FormLayout-c2451c7f.js');
13
- const constants = require('./constants-2714478b.js');
14
- const DataBinder = require('./DataBinder-e92314c2.js');
11
+ const FormLayout = require('./FormLayout-18853e70.js');
12
+ const searchColumn = require('./search-column-27d1f72f.js');
13
+ const constants = require('./constants-569271bc.js');
15
14
  const FocusResolver = require('./FocusResolver-885f2173.js');
15
+ const purify = require('./purify-a7dc3a08.js');
16
+ require('./_commonjsHelpers-537d719a.js');
16
17
 
17
18
  /**
18
19
  * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
@@ -437,6 +438,7 @@ function removeAllReferences(obj, objectName) {
437
438
  // leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
438
439
  if (typeof value === 'function') {
439
440
  var func = function () {
441
+ 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.");
440
442
  };
441
443
  properties[key] = { value: func, writable: true };
442
444
  }
@@ -607,6 +609,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
607
609
  window.clearInterval(interval);
608
610
  interval = null;
609
611
  }
612
+ if (reachedTimeout && timeoutMessage) {
613
+ console.warn(timeoutMessage);
614
+ }
610
615
  }
611
616
  };
612
617
  internalCallback();
@@ -708,9 +713,14 @@ var Context = /** @class */ (function () {
708
713
  Context.prototype.createBeanWrapper = function (BeanClass) {
709
714
  var metaData = BeanClass.__agBeanMetaData;
710
715
  if (!metaData) {
716
+ var beanName = void 0;
711
717
  if (BeanClass.prototype.constructor) {
712
- getFunctionName(BeanClass.prototype.constructor);
718
+ beanName = getFunctionName(BeanClass.prototype.constructor);
719
+ }
720
+ else {
721
+ beanName = "" + BeanClass;
713
722
  }
723
+ console.error("Context item " + beanName + " is not a bean");
714
724
  return;
715
725
  }
716
726
  var beanEntry = {
@@ -782,6 +792,7 @@ var Context = /** @class */ (function () {
782
792
  return beansList;
783
793
  };
784
794
  Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
795
+ if (optional === void 0) { optional = false; }
785
796
  if (beanName === "context") {
786
797
  return this;
787
798
  }
@@ -792,6 +803,9 @@ var Context = /** @class */ (function () {
792
803
  if (beanEntry) {
793
804
  return beanEntry.beanInstance;
794
805
  }
806
+ if (!optional) {
807
+ console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
808
+ }
795
809
  return null;
796
810
  };
797
811
  Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
@@ -898,9 +912,11 @@ function Optional(name) {
898
912
  }
899
913
  function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
900
914
  if (name === null) {
915
+ console.error("AG Grid: Autowired name should not be null");
901
916
  return;
902
917
  }
903
918
  if (typeof index === "number") {
919
+ console.error("AG Grid: Autowired should be on an attribute");
904
920
  return;
905
921
  }
906
922
  // it's an attribute on the class
@@ -1232,6 +1248,8 @@ var ModuleRegistry = /** @class */ (function () {
1232
1248
  else {
1233
1249
  if (ModuleRegistry.moduleBased !== moduleBased) {
1234
1250
  doOnce(function () {
1251
+ 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.");
1252
+ console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
1235
1253
  }, 'ModulePackageCheck');
1236
1254
  }
1237
1255
  }
@@ -1249,7 +1267,15 @@ var ModuleRegistry = /** @class */ (function () {
1249
1267
  return true;
1250
1268
  }
1251
1269
  var warningKey = reason + moduleName;
1270
+ var warningMessage;
1271
+ if (ModuleRegistry.moduleBased) {
1272
+ warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
1273
+ }
1274
+ else {
1275
+ 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/";
1276
+ }
1252
1277
  doOnce(function () {
1278
+ console.warn(warningMessage);
1253
1279
  }, warningKey);
1254
1280
  return false;
1255
1281
  };
@@ -1442,9 +1468,11 @@ var Column = /** @class */ (function () {
1442
1468
  var colDefAny = this.colDef;
1443
1469
  function warnOnce(msg, key, obj) {
1444
1470
  doOnce(function () {
1445
- if (obj) ;
1471
+ if (obj) {
1472
+ console.warn(msg, obj);
1473
+ }
1446
1474
  else {
1447
- doOnce(function () { return (void 0); }, key);
1475
+ doOnce(function () { return console.warn(msg); }, key);
1448
1476
  }
1449
1477
  }, key);
1450
1478
  }
@@ -1912,16 +1940,19 @@ var Column = /** @class */ (function () {
1912
1940
  // this used to be needed, as previous version of ag-grid had lockPosition as column state,
1913
1941
  // so couldn't depend on colDef version.
1914
1942
  Column.prototype.isLockPosition = function () {
1943
+ console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
1915
1944
  return this.colDef ? !!this.colDef.lockPosition : false;
1916
1945
  };
1917
1946
  // this used to be needed, as previous version of ag-grid had lockVisible as column state,
1918
1947
  // so couldn't depend on colDef version.
1919
1948
  Column.prototype.isLockVisible = function () {
1949
+ console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
1920
1950
  return this.colDef ? !!this.colDef.lockVisible : false;
1921
1951
  };
1922
1952
  // this used to be needed, as previous version of ag-grid had lockPinned as column state,
1923
1953
  // so couldn't depend on colDef version.
1924
1954
  Column.prototype.isLockPinned = function () {
1955
+ console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
1925
1956
  return this.colDef ? !!this.colDef.lockPinned : false;
1926
1957
  };
1927
1958
  // + renderedHeaderCell - for making header cell transparent when moving
@@ -2317,6 +2348,7 @@ var ColumnGroup = /** @class */ (function () {
2317
2348
  };
2318
2349
  /** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
2319
2350
  ColumnGroup.prototype.getOriginalColumnGroup = function () {
2351
+ console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
2320
2352
  return this.getProvidedColumnGroup();
2321
2353
  };
2322
2354
  ColumnGroup.prototype.getPaddingLevel = function () {
@@ -3192,7 +3224,9 @@ var ColumnFactory = /** @class */ (function (_super) {
3192
3224
  var typeKeys = [];
3193
3225
  if (type instanceof Array) {
3194
3226
  var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
3195
- if (invalidArray) ;
3227
+ if (invalidArray) {
3228
+ console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
3229
+ }
3196
3230
  else {
3197
3231
  typeKeys = type;
3198
3232
  }
@@ -3201,13 +3235,16 @@ var ColumnFactory = /** @class */ (function (_super) {
3201
3235
  typeKeys = type.split(',');
3202
3236
  }
3203
3237
  else {
3238
+ console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
3204
3239
  return;
3205
3240
  }
3206
3241
  // merge user defined with default column types
3207
3242
  var allColumnTypes = Object.assign({}, DefaultColumnTypes);
3208
3243
  var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
3209
3244
  iterateObject(userTypes, function (key, value) {
3210
- if (key in allColumnTypes) ;
3245
+ if (key in allColumnTypes) {
3246
+ console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
3247
+ }
3211
3248
  else {
3212
3249
  allColumnTypes[key] = value;
3213
3250
  }
@@ -3217,12 +3254,34 @@ var ColumnFactory = /** @class */ (function (_super) {
3217
3254
  if (typeColDef) {
3218
3255
  mergeDeep(colDefMerged, typeColDef, false, true);
3219
3256
  }
3257
+ else {
3258
+ console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
3259
+ }
3220
3260
  });
3221
3261
  };
3222
3262
  ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
3223
3263
  if (colDef) {
3224
3264
  var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
3265
+ if (colDefNoType.group !== undefined) {
3266
+ console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
3267
+ }
3268
+ if (colDefNoType.headerGroup !== undefined) {
3269
+ console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
3270
+ }
3271
+ if (colDefNoType.headerGroupShow !== undefined) {
3272
+ 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');
3273
+ }
3274
+ if (colDefNoType.suppressRowGroup !== undefined) {
3275
+ console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
3276
+ }
3277
+ if (colDefNoType.suppressAggregation !== undefined) {
3278
+ console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
3279
+ }
3280
+ if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
3281
+ console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
3282
+ }
3225
3283
  if (colDefNoType.displayName) {
3284
+ console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
3226
3285
  colDefNoType.headerName = colDefNoType.displayName;
3227
3286
  }
3228
3287
  }
@@ -4284,6 +4343,7 @@ var SideBarDefParser = /** @class */ (function () {
4284
4343
  toParse.forEach(function (key) {
4285
4344
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
4286
4345
  if (!lookupResult) {
4346
+ 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(','));
4287
4347
  return;
4288
4348
  }
4289
4349
  comps_1.push(lookupResult);
@@ -4314,6 +4374,7 @@ var SideBarDefParser = /** @class */ (function () {
4314
4374
  if (typeof it === 'string') {
4315
4375
  var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
4316
4376
  if (!lookupResult) {
4377
+ 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(','));
4317
4378
  return;
4318
4379
  }
4319
4380
  toAdd = lookupResult;
@@ -4910,6 +4971,7 @@ var GridOptionsWrapper = /** @class */ (function () {
4910
4971
  this.destroyed = true;
4911
4972
  };
4912
4973
  GridOptionsWrapper.prototype.init = function () {
4974
+ var _this = this;
4913
4975
  if (this.gridOptions.suppressPropertyNamesCheck !== true) {
4914
4976
  this.checkGridOptionsProperties();
4915
4977
  this.checkColumnDefProperties();
@@ -4920,26 +4982,61 @@ var GridOptionsWrapper = /** @class */ (function () {
4920
4982
  }
4921
4983
  var async = this.useAsyncEvents();
4922
4984
  this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
4923
- if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
4985
+ if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
4986
+ console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
4987
+ }
4924
4988
  if (this.isGroupSelectsChildren()) {
4925
- if (!this.isRowSelectionMulti()) ;
4926
- if (this.isRowModelServerSide()) ;
4989
+ if (!this.isRowSelectionMulti()) {
4990
+ console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
4991
+ }
4992
+ if (this.isRowModelServerSide()) {
4993
+ console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
4994
+ 'This is because the rows are lazy loaded, so selecting a group is not possible as' +
4995
+ 'the grid has no way of knowing what the children are.');
4996
+ }
4997
+ }
4998
+ if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
4999
+ 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!");
4927
5000
  }
4928
- if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
4929
5001
  if (this.isRowModelServerSide()) {
4930
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4931
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
4932
- if (exists(this.gridOptions.groupDefaultExpanded)) ;
5002
+ var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
5003
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5004
+ console.warn(msg('groupDefaultExpanded'));
5005
+ }
5006
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5007
+ console.warn(msg('groupIncludeFooter'));
5008
+ }
5009
+ if (exists(this.gridOptions.groupDefaultExpanded)) {
5010
+ console.warn(msg('groupIncludeTotalFooter'));
5011
+ }
4933
5012
  }
4934
5013
  if (isTrue(this.gridOptions.enableRangeSelection)) {
4935
5014
  ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
4936
5015
  }
4937
- else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
5016
+ else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
5017
+ console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
5018
+ }
4938
5019
  if (this.isGroupRowsSticky()) {
4939
- if (this.isGroupHideOpenParents()) ;
4940
- if (this.isMasterDetail()) ;
4941
- if (this.isPagination()) ;
5020
+ if (this.isGroupHideOpenParents()) {
5021
+ console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
5022
+ }
5023
+ if (this.isMasterDetail()) {
5024
+ console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
5025
+ }
5026
+ if (this.isPagination()) {
5027
+ console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
5028
+ }
4942
5029
  }
5030
+ var warnOfDeprecaredIcon = function (name) {
5031
+ if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
5032
+ 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/");
5033
+ }
5034
+ };
5035
+ warnOfDeprecaredIcon('radioButtonOff');
5036
+ warnOfDeprecaredIcon('radioButtonOn');
5037
+ warnOfDeprecaredIcon('checkboxChecked');
5038
+ warnOfDeprecaredIcon('checkboxUnchecked');
5039
+ warnOfDeprecaredIcon('checkboxIndeterminate');
4943
5040
  // sets an initial calculation for the scrollbar width
4944
5041
  this.getScrollbarWidth();
4945
5042
  };
@@ -4963,7 +5060,11 @@ var GridOptionsWrapper = /** @class */ (function () {
4963
5060
  GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
4964
5061
  var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
4965
5062
  iterateObject(invalidProperties, function (key, value) {
5063
+ console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
4966
5064
  });
5065
+ if (Object.keys(invalidProperties).length > 0) {
5066
+ console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
5067
+ }
4967
5068
  };
4968
5069
  /**
4969
5070
  * Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
@@ -5222,7 +5323,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5222
5323
  ];
5223
5324
  if (validLayouts.indexOf(domLayout) === -1) {
5224
5325
  doOnce(function () {
5225
- return (void 0);
5326
+ 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);
5226
5327
  }, 'warn about dom layout values');
5227
5328
  return Constants.DOM_LAYOUT_NORMAL;
5228
5329
  }
@@ -5617,7 +5718,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5617
5718
  return 'xy';
5618
5719
  }
5619
5720
  if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
5620
- doOnce(function () { return (void 0); }, 'warn invalid fill direction');
5721
+ doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
5621
5722
  return 'xy';
5622
5723
  }
5623
5724
  return direction;
@@ -5716,6 +5817,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5716
5817
  };
5717
5818
  GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
5718
5819
  if (this.gridOptions.defaultExportParams) {
5820
+ console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
5719
5821
  if (type === 'csv') {
5720
5822
  return this.gridOptions.defaultExportParams;
5721
5823
  }
@@ -5848,7 +5950,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5848
5950
  GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
5849
5951
  var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
5850
5952
  if (!this.isRowModelServerSide() && isEnabled) {
5851
- doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
5953
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
5852
5954
  return false;
5853
5955
  }
5854
5956
  return isEnabled;
@@ -5856,7 +5958,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5856
5958
  GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
5857
5959
  var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
5858
5960
  if (!this.isRowModelServerSide() && isEnabled) {
5859
- doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
5961
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
5860
5962
  return false;
5861
5963
  }
5862
5964
  return isEnabled;
@@ -5864,11 +5966,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5864
5966
  GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
5865
5967
  var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
5866
5968
  if (!this.isRowModelServerSide() && isEnabled) {
5867
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
5969
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
5868
5970
  return false;
5869
5971
  }
5870
5972
  if (this.isTreeData() && isEnabled) {
5871
- doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
5973
+ doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
5872
5974
  return false;
5873
5975
  }
5874
5976
  return isEnabled;
@@ -5876,11 +5978,11 @@ var GridOptionsWrapper = /** @class */ (function () {
5876
5978
  GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
5877
5979
  var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
5878
5980
  if (!this.isRowModelServerSide() && isEnabled) {
5879
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
5981
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
5880
5982
  return false;
5881
5983
  }
5882
5984
  if (this.isTreeData() && isEnabled) {
5883
- doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
5985
+ doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
5884
5986
  return false;
5885
5987
  }
5886
5988
  return isEnabled;
@@ -5989,7 +6091,7 @@ var GridOptionsWrapper = /** @class */ (function () {
5989
6091
  var capitalisedType = capitalise(type);
5990
6092
  if (exists(delay)) {
5991
6093
  if (delay < 0) {
5992
- doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
6094
+ doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
5993
6095
  }
5994
6096
  return Math.max(200, delay);
5995
6097
  }
@@ -6040,7 +6142,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6040
6142
  var rowBuffer = this.gridOptions.rowBuffer;
6041
6143
  if (typeof rowBuffer === 'number') {
6042
6144
  if (rowBuffer < 0) {
6043
- doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
6145
+ doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
6044
6146
  this.gridOptions.rowBuffer = rowBuffer = 0;
6045
6147
  }
6046
6148
  }
@@ -6074,23 +6176,45 @@ var GridOptionsWrapper = /** @class */ (function () {
6074
6176
  // casting to generic object, so typescript compiles even though
6075
6177
  // we are looking for attributes that don't exist
6076
6178
  var options = this.gridOptions;
6179
+ if (options.deprecatedEmbedFullWidthRows) {
6180
+ console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
6181
+ }
6182
+ if (options.rowDeselection) {
6183
+ 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.');
6184
+ }
6077
6185
  if (options.enableMultiRowDragging) {
6078
6186
  options.rowDragMultiRow = true;
6079
6187
  delete options.enableMultiRowDragging;
6188
+ console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
6080
6189
  }
6081
6190
  var checkRenamedProperty = function (oldProp, newProp, version) {
6082
6191
  if (options[oldProp] != null) {
6192
+ console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
6083
6193
  if (options[newProp] == null) {
6084
6194
  options[newProp] = options[oldProp];
6085
6195
  }
6086
6196
  }
6087
6197
  };
6088
- checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
6089
- checkRenamedProperty('deltaRowDataMode', 'immutableData');
6090
- checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
6091
- checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
6092
- checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
6198
+ checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
6199
+ checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
6200
+ checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
6201
+ checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
6202
+ if (options.immutableColumns || options.deltaColumnMode) {
6203
+ 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');
6204
+ }
6205
+ checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
6093
6206
  if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
6207
+ console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
6208
+ console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
6209
+ console.warn(' For example instead of this:');
6210
+ console.warn(' groupRowInnerRenderer: "myRenderer"');
6211
+ console.warn(' groupRowInnerRendererParams: {x: a}');
6212
+ console.warn(' Replace with this:');
6213
+ console.warn(' groupRowRendererParams: {');
6214
+ console.warn(' innerRenderer: "myRenderer",');
6215
+ console.warn(' innerRendererParams: {x: a}');
6216
+ console.warn(' }');
6217
+ console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
6094
6218
  if (!options.groupRowRendererParams) {
6095
6219
  options.groupRowRendererParams = {};
6096
6220
  }
@@ -6105,36 +6229,105 @@ var GridOptionsWrapper = /** @class */ (function () {
6105
6229
  params.innerRendererFramework = options.groupRowInnerRendererFramework;
6106
6230
  }
6107
6231
  }
6232
+ if (options.rememberGroupStateWhenNewData) {
6233
+ 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.');
6234
+ }
6108
6235
  if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
6236
+ 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');
6109
6237
  options.detailRowAutoHeight = true;
6110
6238
  }
6239
+ if (options.suppressKeyboardEvent) {
6240
+ 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.");
6241
+ }
6242
+ if (options.suppressEnterpriseResetOnNewColumns) {
6243
+ 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.');
6244
+ }
6245
+ if (options.suppressColumnStateEvents) {
6246
+ 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');
6247
+ }
6248
+ if (options.defaultExportParams) {
6249
+ console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
6250
+ }
6111
6251
  if (options.stopEditingWhenGridLosesFocus) {
6252
+ console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
6112
6253
  options.stopEditingWhenCellsLoseFocus = true;
6113
6254
  }
6255
+ if (options.applyColumnDefOrder) {
6256
+ 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');
6257
+ }
6114
6258
  if (options.groupMultiAutoColumn) {
6259
+ console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
6115
6260
  options.groupDisplayType = 'multipleColumns';
6116
6261
  }
6117
6262
  if (options.groupUseEntireRow) {
6263
+ console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
6118
6264
  options.groupDisplayType = 'groupRows';
6119
6265
  }
6120
6266
  if (options.groupSuppressAutoColumn) {
6267
+ var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
6268
+ console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
6121
6269
  options.groupDisplayType = 'custom';
6122
6270
  }
6271
+ if (options.defaultGroupOrderComparator) {
6272
+ 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.");
6273
+ }
6123
6274
  if (options.defaultGroupSortComparator) {
6275
+ console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
6124
6276
  options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
6125
6277
  }
6278
+ if (options.groupRowAggNodes) {
6279
+ 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.");
6280
+ }
6281
+ if (options.postSort) {
6282
+ 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.");
6283
+ }
6284
+ if (options.isFullWidthCell) {
6285
+ 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.");
6286
+ }
6287
+ if (options.localeTextFunc) {
6288
+ 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.");
6289
+ }
6290
+ if (options.colWidth) {
6291
+ console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
6292
+ }
6293
+ if (options.minColWidth) {
6294
+ console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
6295
+ }
6296
+ if (options.maxColWidth) {
6297
+ console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
6298
+ }
6299
+ if (options.reactUi) {
6300
+ 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.');
6301
+ }
6302
+ if (options.suppressReactUi) {
6303
+ console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
6304
+ }
6126
6305
  if (options.suppressCellSelection) {
6306
+ console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
6127
6307
  options.suppressCellFocus = options.suppressCellSelection;
6128
6308
  }
6309
+ if (options.getRowNodeId) {
6310
+ 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.');
6311
+ }
6312
+ if (options.immutableData) {
6313
+ if (options.getRowId) {
6314
+ 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`.');
6315
+ }
6316
+ else {
6317
+ console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
6318
+ }
6319
+ }
6129
6320
  if (options.clipboardDeliminator) {
6321
+ console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
6130
6322
  options.clipboardDelimiter = options.clipboardDeliminator;
6131
6323
  }
6132
- checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
6133
- checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
6324
+ checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
6325
+ checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
6134
6326
  if (options.serverSideStoreType) {
6327
+ 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.');
6135
6328
  options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
6136
6329
  }
6137
- checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
6330
+ checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
6138
6331
  };
6139
6332
  GridOptionsWrapper.prototype.checkForViolations = function () {
6140
6333
  if (this.isTreeData()) {
@@ -6143,11 +6336,20 @@ var GridOptionsWrapper = /** @class */ (function () {
6143
6336
  };
6144
6337
  GridOptionsWrapper.prototype.treeDataViolations = function () {
6145
6338
  if (this.isRowModelDefault()) {
6146
- if (missing(this.getDataPathFunc())) ;
6339
+ if (missing(this.getDataPathFunc())) {
6340
+ console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
6341
+ 'provide getDataPath function, please provide getDataPath function if using tree data.');
6342
+ }
6147
6343
  }
6148
6344
  if (this.isRowModelServerSide()) {
6149
- if (missing(this.getIsServerSideGroupFunc())) ;
6150
- if (missing(this.getServerSideGroupKeyFunc())) ;
6345
+ if (missing(this.getIsServerSideGroupFunc())) {
6346
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6347
+ 'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
6348
+ }
6349
+ if (missing(this.getServerSideGroupKeyFunc())) {
6350
+ console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
6351
+ 'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
6352
+ }
6151
6353
  }
6152
6354
  };
6153
6355
  GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
@@ -6216,6 +6418,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6216
6418
  this.setRowHeightVariable(rowHeight);
6217
6419
  return rowHeight;
6218
6420
  }
6421
+ console.warn('AG Grid row height must be a number if not using standard row model');
6219
6422
  return this.getDefaultRowHeight();
6220
6423
  };
6221
6424
  GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
@@ -6240,7 +6443,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6240
6443
  var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
6241
6444
  if (this.isNumeric(height)) {
6242
6445
  if (height === 0) {
6243
- doOnce(function () { return (void 0); }, 'invalidRowHeight');
6446
+ 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');
6244
6447
  }
6245
6448
  return { height: Math.max(1, height), estimated: false };
6246
6449
  }
@@ -6285,6 +6488,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6285
6488
  GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
6286
6489
  var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
6287
6490
  if (groupDisplayTypeValues.indexOf(supplied) < 0) {
6491
+ console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
6288
6492
  return false;
6289
6493
  }
6290
6494
  return supplied === toMatch;
@@ -6292,6 +6496,7 @@ var GridOptionsWrapper = /** @class */ (function () {
6292
6496
  GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
6293
6497
  var treeDataDisplayTypeValues = ['auto', 'custom'];
6294
6498
  if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
6499
+ console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
6295
6500
  return false;
6296
6501
  }
6297
6502
  return supplied === toMatch;
@@ -6676,6 +6881,7 @@ var ColumnModel = /** @class */ (function (_super) {
6676
6881
  };
6677
6882
  ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
6678
6883
  if (pivot && this.gridOptionsWrapper.isTreeData()) {
6884
+ console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
6679
6885
  return false;
6680
6886
  }
6681
6887
  return true;
@@ -7306,6 +7512,7 @@ var ColumnModel = /** @class */ (function (_super) {
7306
7512
  if (loopCount > 1000) {
7307
7513
  // this should never happen, but in the future, someone might introduce a bug here,
7308
7514
  // so we stop the browser from hanging and report bug properly
7515
+ console.error('AG Grid: infinite loop in resizeColumnSets');
7309
7516
  return "break";
7310
7517
  }
7311
7518
  finishedColsGrew = false;
@@ -7423,6 +7630,8 @@ var ColumnModel = /** @class */ (function (_super) {
7423
7630
  if (source === void 0) { source = "api"; }
7424
7631
  this.columnAnimationService.start();
7425
7632
  if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
7633
+ console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
7634
+ console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
7426
7635
  return;
7427
7636
  }
7428
7637
  // we want to pull all the columns out first and put them into an ordered list
@@ -7675,6 +7884,7 @@ var ColumnModel = /** @class */ (function (_super) {
7675
7884
  ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
7676
7885
  if (source === void 0) { source = "api"; }
7677
7886
  if (this.gridOptionsWrapper.getDomLayout() === 'print') {
7887
+ console.warn("Changing the column pinning status is not allowed with domLayout='print'");
7678
7888
  return;
7679
7889
  }
7680
7890
  this.columnAnimationService.start();
@@ -7944,6 +8154,7 @@ var ColumnModel = /** @class */ (function (_super) {
7944
8154
  return false;
7945
8155
  }
7946
8156
  if (params && params.state && !params.state.forEach) {
8157
+ 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.');
7947
8158
  return false;
7948
8159
  }
7949
8160
  var applyStates = function (states, existingColumns, getById) {
@@ -8090,6 +8301,7 @@ var ColumnModel = /** @class */ (function (_super) {
8090
8301
  // is less sexy for the code here, but it keeps consistency.
8091
8302
  newOrder = this.placeLockedColumns(newOrder);
8092
8303
  if (!this.doesMovePassMarryChildren(newOrder)) {
8304
+ console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
8093
8305
  return;
8094
8306
  }
8095
8307
  this.gridColumns = newOrder;
@@ -8341,7 +8553,11 @@ var ColumnModel = /** @class */ (function (_super) {
8341
8553
  }
8342
8554
  }
8343
8555
  else {
8344
- if (exists(aggFunc)) ;
8556
+ if (exists(aggFunc)) {
8557
+ console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
8558
+ 'functions, register the functions first before using them in get/set state. This is because it is ' +
8559
+ 'intended for the column state to be stored and retrieved as simple JSON.');
8560
+ }
8345
8561
  // Note: we do not call column.setAggFunc(null), so that next time we aggregate
8346
8562
  // by this column (eg drag the column to the agg section int he toolpanel) it will
8347
8563
  // default to the last aggregation function.
@@ -8409,6 +8625,9 @@ var ColumnModel = /** @class */ (function (_super) {
8409
8625
  return null;
8410
8626
  }
8411
8627
  var column = this.getGridColumn(key);
8628
+ if (!column) {
8629
+ console.warn('AG Grid: could not find column ' + key);
8630
+ }
8412
8631
  return column;
8413
8632
  };
8414
8633
  ColumnModel.prototype.getPrimaryColumn = function (key) {
@@ -8511,6 +8730,7 @@ var ColumnModel = /** @class */ (function (_super) {
8511
8730
  // valueGetter is an expression, so execute the expression
8512
8731
  return this.expressionService.evaluate(headerValueGetter, params);
8513
8732
  }
8733
+ console.warn('ag-grid: headerValueGetter must be a function or a string');
8514
8734
  return '';
8515
8735
  }
8516
8736
  else if (colDef.headerName != null) {
@@ -8805,6 +9025,10 @@ var ColumnModel = /** @class */ (function (_super) {
8805
9025
  this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
8806
9026
  };
8807
9027
  ColumnModel.prototype.getProvidedColumnGroup = function (key) {
9028
+ // if (key instanceof ProvidedColumnGroup) { return key; }
9029
+ if (typeof key !== 'string') {
9030
+ console.error('AG Grid: group key must be a string');
9031
+ }
8808
9032
  // otherwise, search for the column group by id
8809
9033
  var res = null;
8810
9034
  this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
@@ -9015,7 +9239,8 @@ var ColumnModel = /** @class */ (function (_super) {
9015
9239
  var rowModelType = this.rowModel.getType();
9016
9240
  var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
9017
9241
  if (!supportedRowModel) {
9018
- doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
9242
+ var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
9243
+ doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
9019
9244
  }
9020
9245
  }
9021
9246
  };
@@ -10007,6 +10232,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
10007
10232
  if (found) {
10008
10233
  return result;
10009
10234
  }
10235
+ console.warn('AG Grid: could not get path');
10010
10236
  return null;
10011
10237
  };
10012
10238
  DisplayedGroupCreator = __decorate$36([
@@ -11690,12 +11916,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
11690
11916
  if (isNodeOrElement(rendererResult)) {
11691
11917
  return rendererResult;
11692
11918
  }
11919
+ console.warn('AG Grid: iconRenderer should return back a string or a dom object');
11693
11920
  }
11694
11921
  else {
11695
11922
  var span = document.createElement('span');
11696
11923
  var cssClass = iconNameClassMap[iconName];
11697
11924
  if (!cssClass) {
11698
11925
  if (!forceCreate) {
11926
+ console.warn("AG Grid: Did not find icon " + iconName);
11699
11927
  cssClass = '';
11700
11928
  }
11701
11929
  else {
@@ -12134,6 +12362,7 @@ var AgPromise = /** @class */ (function () {
12134
12362
  this.waiters.forEach(function (waiter) { return waiter(value); });
12135
12363
  };
12136
12364
  AgPromise.prototype.onReject = function (params) {
12365
+ console.warn('TBI');
12137
12366
  };
12138
12367
  return AgPromise;
12139
12368
  }());
@@ -12759,9 +12988,11 @@ function RefSelector(ref) {
12759
12988
  }
12760
12989
  function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
12761
12990
  if (selector === null) {
12991
+ console.error('AG Grid: QuerySelector selector should not be null');
12762
12992
  return;
12763
12993
  }
12764
12994
  if (typeof index === 'number') {
12995
+ console.error('AG Grid: QuerySelector should be on an attribute');
12765
12996
  return;
12766
12997
  }
12767
12998
  addToObjectProps(classPrototype, 'querySelectors', {
@@ -12996,8 +13227,12 @@ var OptionsFactory = /** @class */ (function () {
12996
13227
  this.checkForDeprecatedParams();
12997
13228
  };
12998
13229
  OptionsFactory.prototype.checkForDeprecatedParams = function () {
12999
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
13000
- if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
13230
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
13231
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
13232
+ }
13233
+ if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
13234
+ console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
13235
+ }
13001
13236
  };
13002
13237
  OptionsFactory.prototype.getFilterOptions = function () {
13003
13238
  return this.filterOptions;
@@ -13014,6 +13249,7 @@ var OptionsFactory = /** @class */ (function () {
13014
13249
  var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
13015
13250
  var propertyCheck = function (keys) {
13016
13251
  if (!keys.some(function (key) { return filterOption[key] != null; })) {
13252
+ console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
13017
13253
  return false;
13018
13254
  }
13019
13255
  return true;
@@ -13047,9 +13283,13 @@ var OptionsFactory = /** @class */ (function () {
13047
13283
  else if (firstFilterOption.displayKey) {
13048
13284
  this.defaultOption = firstFilterOption.displayKey;
13049
13285
  }
13050
- else ;
13286
+ else {
13287
+ console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
13288
+ }
13289
+ }
13290
+ else {
13291
+ console.warn('AG Grid: no filter options for filter');
13051
13292
  }
13052
- else ;
13053
13293
  };
13054
13294
  OptionsFactory.prototype.getDefaultOption = function () {
13055
13295
  return this.defaultOption;
@@ -13312,6 +13552,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
13312
13552
  clickListener = function (e) { _this.onBtCancel(e); };
13313
13553
  break;
13314
13554
  default:
13555
+ console.warn('AG Grid: Unknown button type specified');
13315
13556
  return;
13316
13557
  }
13317
13558
  var buttonType = type === 'apply' ? 'submit' : 'button';
@@ -13452,6 +13693,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
13452
13693
  // static, as used by floating filter also
13453
13694
  ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
13454
13695
  if (ProvidedFilter.isUseApplyButton(params)) {
13696
+ if (params.debounceMs != null) {
13697
+ console.warn('AG Grid: debounceMs is ignored when apply button is present');
13698
+ }
13455
13699
  return 0;
13456
13700
  }
13457
13701
  return params.debounceMs != null ? params.debounceMs : debounceDefault;
@@ -14828,6 +15072,7 @@ var ScalarFilter = /** @class */ (function (_super) {
14828
15072
  case ScalarFilter.NOT_BLANK:
14829
15073
  return !this.isBlank(cellValue);
14830
15074
  default:
15075
+ console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
14831
15076
  return true;
14832
15077
  }
14833
15078
  };
@@ -14921,11 +15166,17 @@ var DateFilter = /** @class */ (function (_super) {
14921
15166
  if (!isNaN(params[param])) {
14922
15167
  return params[param] == null ? fallback : Number(params[param]);
14923
15168
  }
15169
+ else {
15170
+ console.warn("AG Grid: DateFilter " + param + " is not a number");
15171
+ }
14924
15172
  }
14925
15173
  return fallback;
14926
15174
  };
14927
15175
  this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
14928
15176
  this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
15177
+ if (this.minValidYear > this.maxValidYear) {
15178
+ console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
15179
+ }
14929
15180
  this.createDateComponents();
14930
15181
  };
14931
15182
  DateFilter.prototype.createDateComponents = function () {
@@ -15626,7 +15877,7 @@ var TextFilter = /** @class */ (function (_super) {
15626
15877
  TextFilter.prototype.getTextMatcher = function () {
15627
15878
  var legacyComparator = this.textFilterParams.textCustomComparator;
15628
15879
  if (legacyComparator) {
15629
- _.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
15880
+ _.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
15630
15881
  return function (_a) {
15631
15882
  var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
15632
15883
  return legacyComparator(filterOption, value, filterText);
@@ -16552,7 +16803,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
16552
16803
  HeaderGroupComp.prototype.checkWarnings = function () {
16553
16804
  var paramsAny = this.params;
16554
16805
  if (paramsAny.template) {
16555
- doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
16806
+ var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
16807
+ doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
16556
16808
  }
16557
16809
  };
16558
16810
  HeaderGroupComp.prototype.setupExpandIcons = function () {
@@ -16783,6 +17035,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
16783
17035
  var _this = this;
16784
17036
  this.focusAfterAttached = params.cellStartedEdit;
16785
17037
  if (missing(params.values)) {
17038
+ console.warn('AG Grid: no values found for select cellEditor');
16786
17039
  return;
16787
17040
  }
16788
17041
  this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
@@ -16856,7 +17109,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
16856
17109
  __extends$2_(PopupSelectCellEditor, _super);
16857
17110
  function PopupSelectCellEditor() {
16858
17111
  var _this = _super.call(this) || this;
16859
- doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
17112
+ doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
16860
17113
  return _this;
16861
17114
  }
16862
17115
  PopupSelectCellEditor.prototype.isPopup = function () {
@@ -17010,7 +17263,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
17010
17263
  __extends$2Y(PopupTextCellEditor, _super);
17011
17264
  function PopupTextCellEditor() {
17012
17265
  var _this = _super.call(this) || this;
17013
- doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
17266
+ doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
17014
17267
  return _this;
17015
17268
  }
17016
17269
  PopupTextCellEditor.prototype.isPopup = function () {
@@ -17387,7 +17640,9 @@ var RowNode = /** @class */ (function () {
17387
17640
  });
17388
17641
  // make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
17389
17642
  // it has 'startsWith' in case the user provided a number.
17390
- if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
17643
+ if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
17644
+ 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.");
17645
+ }
17391
17646
  // force id to be a string
17392
17647
  if (this.id !== null && typeof this.id !== 'string') {
17393
17648
  this.id = '' + this.id;
@@ -17846,9 +18101,11 @@ var RowNode = /** @class */ (function () {
17846
18101
  // groupSelectsFiltered only makes sense when group selects children
17847
18102
  var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
17848
18103
  if (this.id === undefined) {
18104
+ console.warn('AG Grid: cannot select node until id for node is known');
17849
18105
  return 0;
17850
18106
  }
17851
18107
  if (this.rowPinned) {
18108
+ console.warn('AG Grid: cannot select pinned rows');
17852
18109
  return 0;
17853
18110
  }
17854
18111
  // if we are a footer, we don't do selection, just pass the info
@@ -18623,7 +18880,9 @@ var DragAndDropService = /** @class */ (function (_super) {
18623
18880
  }
18624
18881
  }
18625
18882
  this.eGhostParent = targetEl;
18626
- if (!this.eGhostParent) ;
18883
+ if (!this.eGhostParent) {
18884
+ console.warn('AG Grid: could not find document body, it is needed for dragging columns');
18885
+ }
18627
18886
  else {
18628
18887
  this.eGhostParent.appendChild(this.eGhost);
18629
18888
  }
@@ -18786,7 +19045,7 @@ var RowDragComp = /** @class */ (function (_super) {
18786
19045
  var treeData = this.beans.gridOptionsWrapper.isTreeData();
18787
19046
  if (treeData && managed) {
18788
19047
  doOnce(function () {
18789
- return (void 0);
19048
+ return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
18790
19049
  }, 'RowDragComp.managedAndTreeData');
18791
19050
  }
18792
19051
  };
@@ -19195,7 +19454,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19195
19454
  else if (typeof footerValueGetter === 'string') {
19196
19455
  footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
19197
19456
  }
19198
- else ;
19457
+ else {
19458
+ console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
19459
+ }
19199
19460
  }
19200
19461
  else {
19201
19462
  footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
@@ -19413,7 +19674,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
19413
19674
  var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
19414
19675
  var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
19415
19676
  if (userProvidedPaddingPixelsTheDeprecatedWay) {
19416
- doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
19677
+ 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');
19417
19678
  }
19418
19679
  if (this.indentClass) {
19419
19680
  this.comp.addOrRemoveCssClass(this.indentClass, false);
@@ -19918,6 +20179,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19918
20179
  UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
19919
20180
  var name = this.translateIfDeprecated(rawName);
19920
20181
  if (this.agGridDefaults[name]) {
20182
+ console.error("Trying to overwrite a default component. You should call registerComponent");
19921
20183
  return;
19922
20184
  }
19923
20185
  this.agGridDefaults[name] = component;
@@ -19925,6 +20187,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19925
20187
  UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
19926
20188
  var name = this.translateIfDeprecated(rawName);
19927
20189
  if (this.fwComps[name]) {
20190
+ console.error("Trying to register a component that you have already registered for frameworks: " + name);
19928
20191
  return;
19929
20192
  }
19930
20193
  this.jsComps[name] = component;
@@ -19934,7 +20197,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19934
20197
  * A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
19935
20198
  */
19936
20199
  UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
19937
- doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
20200
+ 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.";
20201
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
19938
20202
  var name = this.translateIfDeprecated(rawName);
19939
20203
  this.fwComps[name] = component;
19940
20204
  };
@@ -19961,13 +20225,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
19961
20225
  if (defaultComponent) {
19962
20226
  return createResult(defaultComponent, false);
19963
20227
  }
19964
- if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
20228
+ if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
20229
+ console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
20230
+ }
19965
20231
  return null;
19966
20232
  };
19967
20233
  UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
19968
20234
  var deprecatedInfo = this.agDeprecatedNames[raw];
19969
20235
  if (deprecatedInfo != null) {
19970
20236
  doOnce(function () {
20237
+ 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);
19971
20238
  }, 'DEPRECATE_COMPONENT_' + raw);
19972
20239
  return deprecatedInfo.newComponentName;
19973
20240
  }
@@ -20185,6 +20452,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
20185
20452
  };
20186
20453
  UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
20187
20454
  var _this = this;
20455
+ if (mandatory === void 0) { mandatory = false; }
20188
20456
  var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
20189
20457
  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;
20190
20458
  var lookupFromRegistry = function (key) {
@@ -20207,6 +20475,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
20207
20475
  jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
20208
20476
  }
20209
20477
  if (!jsComp && !fwComp) {
20478
+ if (mandatory) {
20479
+ console.error("Could not find component " + compName + ", did you forget to configure this component?");
20480
+ }
20210
20481
  return;
20211
20482
  }
20212
20483
  var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
@@ -20243,7 +20514,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20243
20514
  var selectorRes = selectorFunc ? selectorFunc(params) : null;
20244
20515
  var assignComp = function (providedJsComp, providedFwComp) {
20245
20516
  var xxxFrameworkDeprecatedWarn = function () {
20246
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20517
+ 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.";
20518
+ doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
20247
20519
  };
20248
20520
  if (typeof providedJsComp === 'string') {
20249
20521
  compName = providedJsComp;
@@ -20269,7 +20541,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
20269
20541
  };
20270
20542
  if (selectorRes) {
20271
20543
  if (selectorRes.frameworkComponent != null) {
20272
- doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20544
+ 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.";
20545
+ doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
20273
20546
  assignComp(selectorRes.frameworkComponent, undefined);
20274
20547
  }
20275
20548
  else {
@@ -20774,13 +21047,16 @@ var FilterManager = /** @class */ (function (_super) {
20774
21047
  modelKeys_1.forEach(function (colId) {
20775
21048
  var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
20776
21049
  if (!column) {
21050
+ console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
20777
21051
  return;
20778
21052
  }
20779
21053
  if (!column.isFilterAllowed()) {
21054
+ console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
20780
21055
  return;
20781
21056
  }
20782
21057
  var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
20783
21058
  if (!filterWrapper) {
21059
+ console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
20784
21060
  return;
20785
21061
  }
20786
21062
  allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
@@ -20810,6 +21086,7 @@ var FilterManager = /** @class */ (function (_super) {
20810
21086
  return new AgPromise(function (resolve) {
20811
21087
  filterPromise.then(function (filter) {
20812
21088
  if (typeof filter.setModel !== 'function') {
21089
+ console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
20813
21090
  resolve();
20814
21091
  }
20815
21092
  (filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
@@ -20826,6 +21103,7 @@ var FilterManager = /** @class */ (function (_super) {
20826
21103
  return null;
20827
21104
  }
20828
21105
  if (typeof filter.getModel !== 'function') {
21106
+ console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
20829
21107
  return;
20830
21108
  }
20831
21109
  var model = filter.getModel();
@@ -20859,6 +21137,7 @@ var FilterManager = /** @class */ (function (_super) {
20859
21137
  return false;
20860
21138
  } // this never happens, including to avoid compile error
20861
21139
  if (!filter.isFilterActive) {
21140
+ console.warn('AG Grid: Filter is missing isFilterActive() method');
20862
21141
  return false;
20863
21142
  }
20864
21143
  return filter.isFilterActive();
@@ -20932,12 +21211,14 @@ var FilterManager = /** @class */ (function (_super) {
20932
21211
  return null;
20933
21212
  }
20934
21213
  if (!this.gridOptionsWrapper.isRowModelDefault()) {
21214
+ console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
20935
21215
  return null;
20936
21216
  }
20937
21217
  return newFilter.toUpperCase();
20938
21218
  };
20939
21219
  FilterManager.prototype.setQuickFilter = function (newFilter) {
20940
21220
  if (newFilter != null && typeof newFilter !== 'string') {
21221
+ console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
20941
21222
  return;
20942
21223
  }
20943
21224
  var parsedFilter = this.parseQuickFilter(newFilter);
@@ -21197,7 +21478,9 @@ var FilterManager = /** @class */ (function (_super) {
21197
21478
  filterWrapper.guiPromise = new AgPromise(function (resolve) {
21198
21479
  filterWrapper.filterPromise.then(function (filter) {
21199
21480
  var guiFromFilter = filter.getGui();
21200
- if (!exists(guiFromFilter)) ;
21481
+ if (!exists(guiFromFilter)) {
21482
+ console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
21483
+ }
21201
21484
  // for backwards compatibility with Angular 1 - we
21202
21485
  // used to allow providing back HTML from getGui().
21203
21486
  // once we move away from supporting Angular 1
@@ -21789,6 +22072,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
21789
22072
  }
21790
22073
  var rowCount = this.paginationProxy.getRowCount();
21791
22074
  if (typeof index !== 'number' || index < 0 || index >= rowCount) {
22075
+ console.warn('invalid row index for ensureIndexVisible: ' + index);
21792
22076
  return;
21793
22077
  }
21794
22078
  var isPaging = this.gridOptionsWrapper.isPagination();
@@ -22283,10 +22567,11 @@ var RowDragFeature = /** @class */ (function (_super) {
22283
22567
  RowDragFeature.prototype.addRowDropZone = function (params) {
22284
22568
  var _this = this;
22285
22569
  if (!params.getContainer()) {
22286
- doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
22570
+ doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
22287
22571
  return;
22288
22572
  }
22289
22573
  if (this.dragAndDropService.findExternalZone(params)) {
22574
+ console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
22290
22575
  return;
22291
22576
  }
22292
22577
  var processedParams = {
@@ -22813,7 +23098,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
22813
23098
  _this.sizeColumnsToFit(params, -1);
22814
23099
  }, 500);
22815
23100
  }
22816
- else ;
23101
+ else {
23102
+ console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
23103
+ 'zero width, maybe the grid is not visible yet on the screen?');
23104
+ }
22817
23105
  };
22818
23106
  // + rangeService
22819
23107
  GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
@@ -24474,6 +24762,7 @@ var CellCtrl = /** @class */ (function (_super) {
24474
24762
  CellCtrl.prototype.createCellRendererParams = function () {
24475
24763
  var _this = this;
24476
24764
  var addRowCompListener = function (eventType, listener) {
24765
+ 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.');
24477
24766
  _this.rowCtrl.addEventListener(eventType, listener);
24478
24767
  };
24479
24768
  var res = {
@@ -25002,11 +25291,11 @@ var CellCtrl = /** @class */ (function (_super) {
25002
25291
  if (rowDragManaged) {
25003
25292
  // row dragging only available in default row model
25004
25293
  if (!clientSideRowModelActive) {
25005
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25294
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
25006
25295
  return;
25007
25296
  }
25008
25297
  if (pagination) {
25009
- doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
25298
+ doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
25010
25299
  return;
25011
25300
  }
25012
25301
  }
@@ -25223,6 +25512,7 @@ var RowCtrl = /** @class */ (function (_super) {
25223
25512
  var gow = this.beans.gridOptionsWrapper;
25224
25513
  if (gow.isEnableRangeSelection()) {
25225
25514
  doOnce(function () {
25515
+ console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
25226
25516
  }, 'rowDragAndRangeSelectionEnabled');
25227
25517
  return;
25228
25518
  }
@@ -25235,7 +25525,12 @@ var RowCtrl = /** @class */ (function (_super) {
25235
25525
  var params = this.createFullWidthParams(gui.element, pinned);
25236
25526
  var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
25237
25527
  if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
25238
- if (ModuleRegistry.isPackageBased()) ;
25528
+ if (ModuleRegistry.isPackageBased()) {
25529
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
25530
+ }
25531
+ else {
25532
+ console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
25533
+ }
25239
25534
  return;
25240
25535
  }
25241
25536
  var compDetails;
@@ -25986,6 +26281,7 @@ var RowCtrl = /** @class */ (function (_super) {
25986
26281
  // part 1 - rowStyle
25987
26282
  var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
25988
26283
  if (rowStyle && typeof rowStyle === 'function') {
26284
+ console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
25989
26285
  return;
25990
26286
  }
25991
26287
  // part 1 - rowStyleFunc
@@ -26100,12 +26396,14 @@ var RowCtrl = /** @class */ (function (_super) {
26100
26396
  RowCtrl.prototype.addEventListener = function (eventType, listener) {
26101
26397
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26102
26398
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26399
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26103
26400
  }
26104
26401
  _super.prototype.addEventListener.call(this, eventType, listener);
26105
26402
  };
26106
26403
  RowCtrl.prototype.removeEventListener = function (eventType, listener) {
26107
26404
  if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
26108
26405
  eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
26406
+ console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
26109
26407
  }
26110
26408
  _super.prototype.removeEventListener.call(this, eventType, listener);
26111
26409
  };
@@ -28265,7 +28563,7 @@ var NavigationService = /** @class */ (function (_super) {
28265
28563
  var userCell = userFunc(params);
28266
28564
  if (exists(userCell)) {
28267
28565
  if (userCell.floating) {
28268
- doOnce(function () { }, 'no floating in userCell');
28566
+ 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');
28269
28567
  userCell.rowPinned = userCell.floating;
28270
28568
  }
28271
28569
  nextPosition = {
@@ -28398,7 +28696,7 @@ var NavigationService = /** @class */ (function (_super) {
28398
28696
  var userCell = userFunc(params);
28399
28697
  if (exists(userCell)) {
28400
28698
  if (userCell.floating) {
28401
- doOnce(function () { }, 'no floating in userCell');
28699
+ 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');
28402
28700
  userCell.rowPinned = userCell.floating;
28403
28701
  }
28404
28702
  nextCell = {
@@ -28953,6 +29251,7 @@ var CellComp = /** @class */ (function (_super) {
28953
29251
  return;
28954
29252
  }
28955
29253
  if (!cellEditor.getGui) {
29254
+ console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
28956
29255
  this.beans.context.destroyBean(cellEditor);
28957
29256
  return;
28958
29257
  }
@@ -28990,7 +29289,10 @@ var CellComp = /** @class */ (function (_super) {
28990
29289
  };
28991
29290
  CellComp.prototype.addPopupCellEditor = function (params, position) {
28992
29291
  var _this = this;
28993
- if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
29292
+ if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
29293
+ console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
29294
+ '- either turn off fullRowEdit, or stop using popup editors.');
29295
+ }
28994
29296
  var cellEditor = this.cellEditor;
28995
29297
  // if a popup, then we wrap in a popup editor and return the popup
28996
29298
  this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
@@ -29174,6 +29476,9 @@ var RowComp = /** @class */ (function (_super) {
29174
29476
  };
29175
29477
  RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
29176
29478
  var _this = this;
29479
+ if (this.fullWidthCellRenderer) {
29480
+ console.error('AG Grid - should not be setting fullWidthRowComponent twice');
29481
+ }
29177
29482
  this.fullWidthCellRenderer = fullWidthRowComponent;
29178
29483
  this.addDestroyFunc(function () {
29179
29484
  _this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
@@ -29598,6 +29903,7 @@ var MoveColumnFeature = /** @class */ (function () {
29598
29903
  switch (hDirection) {
29599
29904
  case HorizontalDirection.Left: return HorizontalDirection.Right;
29600
29905
  case HorizontalDirection.Right: return HorizontalDirection.Left;
29906
+ default: console.error("AG Grid: Unknown direction " + hDirection);
29601
29907
  }
29602
29908
  }
29603
29909
  else {
@@ -30638,6 +30944,7 @@ var GridApi = /** @class */ (function () {
30638
30944
  }
30639
30945
  var exportMode = this.getExcelExportMode(params);
30640
30946
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30947
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30641
30948
  return;
30642
30949
  }
30643
30950
  return this.excelCreator.getDataAsExcel(params);
@@ -30649,6 +30956,7 @@ var GridApi = /** @class */ (function () {
30649
30956
  }
30650
30957
  var exportMode = this.getExcelExportMode(params);
30651
30958
  if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
30959
+ console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
30652
30960
  return;
30653
30961
  }
30654
30962
  this.excelCreator.exportDataAsExcel(params);
@@ -30676,6 +30984,7 @@ var GridApi = /** @class */ (function () {
30676
30984
  };
30677
30985
  /** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
30678
30986
  GridApi.prototype.setEnterpriseDatasource = function (datasource) {
30987
+ console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
30679
30988
  this.setServerSideDatasource(datasource);
30680
30989
  };
30681
30990
  /**
@@ -30704,6 +31013,9 @@ var GridApi = /** @class */ (function () {
30704
31013
  // should really have an IEnterpriseRowModel interface, so we are not casting to any
30705
31014
  this.serverSideRowModel.setDatasource(datasource);
30706
31015
  }
31016
+ else {
31017
+ console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
31018
+ }
30707
31019
  };
30708
31020
  /**
30709
31021
  * Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
@@ -30712,6 +31024,7 @@ var GridApi = /** @class */ (function () {
30712
31024
  * */
30713
31025
  GridApi.prototype.setCacheBlockSize = function (blockSize) {
30714
31026
  if (!this.serverSideRowModel) {
31027
+ console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
30715
31028
  return;
30716
31029
  }
30717
31030
  this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
@@ -30722,6 +31035,9 @@ var GridApi = /** @class */ (function () {
30722
31035
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
30723
31036
  this.rowModel.setDatasource(datasource);
30724
31037
  }
31038
+ else {
31039
+ console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
31040
+ }
30725
31041
  };
30726
31042
  /** Set new datasource for Viewport Row Model. */
30727
31043
  GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
@@ -30731,12 +31047,16 @@ var GridApi = /** @class */ (function () {
30731
31047
  // the enterprise implement it, rather than casting to 'any' here
30732
31048
  this.rowModel.setViewportDatasource(viewportDatasource);
30733
31049
  }
31050
+ else {
31051
+ console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
31052
+ }
30734
31053
  };
30735
31054
  /** Set the row data. */
30736
31055
  GridApi.prototype.setRowData = function (rowData) {
30737
31056
  // immutable service is part of the CSRM module, if missing, no CSRM
30738
31057
  var missingImmutableService = this.immutableService == null;
30739
31058
  if (missingImmutableService) {
31059
+ console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
30740
31060
  return;
30741
31061
  }
30742
31062
  // if no keys provided provided for rows, then we can tread the operation as Immutable
@@ -30750,26 +31070,32 @@ var GridApi = /** @class */ (function () {
30750
31070
  };
30751
31071
  /** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
30752
31072
  GridApi.prototype.setFloatingTopRowData = function (rows) {
31073
+ console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
30753
31074
  this.setPinnedTopRowData(rows);
30754
31075
  };
30755
31076
  /** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
30756
31077
  GridApi.prototype.setFloatingBottomRowData = function (rows) {
31078
+ console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
30757
31079
  this.setPinnedBottomRowData(rows);
30758
31080
  };
30759
31081
  /** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
30760
31082
  GridApi.prototype.getFloatingTopRowCount = function () {
31083
+ console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
30761
31084
  return this.getPinnedTopRowCount();
30762
31085
  };
30763
31086
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
30764
31087
  GridApi.prototype.getFloatingBottomRowCount = function () {
31088
+ console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
30765
31089
  return this.getPinnedBottomRowCount();
30766
31090
  };
30767
31091
  /** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
30768
31092
  GridApi.prototype.getFloatingTopRow = function (index) {
31093
+ console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
30769
31094
  return this.getPinnedTopRow(index);
30770
31095
  };
30771
31096
  /** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
30772
31097
  GridApi.prototype.getFloatingBottomRow = function (index) {
31098
+ console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
30773
31099
  return this.getPinnedBottomRow(index);
30774
31100
  };
30775
31101
  /** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
@@ -30850,6 +31176,7 @@ var GridApi = /** @class */ (function () {
30850
31176
  if (params === void 0) { params = {}; }
30851
31177
  if (Array.isArray(params)) {
30852
31178
  // the old version of refreshCells() took an array of rowNodes for the first argument
31179
+ console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
30853
31180
  return;
30854
31181
  }
30855
31182
  this.rowRenderer.refreshCells(params);
@@ -30903,8 +31230,12 @@ var GridApi = /** @class */ (function () {
30903
31230
  * It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
30904
31231
  */
30905
31232
  GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
30906
- if (missing(this.clientSideRowModel)) ;
30907
- if (exists(deprecated_refreshFromIndex)) ;
31233
+ if (missing(this.clientSideRowModel)) {
31234
+ console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
31235
+ }
31236
+ if (exists(deprecated_refreshFromIndex)) {
31237
+ console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
31238
+ }
30908
31239
  // we don't really want the user calling this if only one rowNode was expanded, instead they should be
30909
31240
  // calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
30910
31241
  // grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
@@ -30913,6 +31244,7 @@ var GridApi = /** @class */ (function () {
30913
31244
  };
30914
31245
  /** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
30915
31246
  GridApi.prototype.refreshInMemoryRowModel = function (step) {
31247
+ console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
30916
31248
  this.refreshClientSideRowModel(step);
30917
31249
  };
30918
31250
  /**
@@ -30920,7 +31252,9 @@ var GridApi = /** @class */ (function () {
30920
31252
  * Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
30921
31253
  */
30922
31254
  GridApi.prototype.refreshClientSideRowModel = function (step) {
30923
- if (missing(this.clientSideRowModel)) ;
31255
+ if (missing(this.clientSideRowModel)) {
31256
+ console.warn('cannot call refreshClientSideRowModel unless using normal row model');
31257
+ }
30924
31258
  var paramsStep = ClientSideRowModelSteps.EVERYTHING;
30925
31259
  var stepsMapped = {
30926
31260
  everything: ClientSideRowModelSteps.EVERYTHING,
@@ -30935,6 +31269,7 @@ var GridApi = /** @class */ (function () {
30935
31269
  paramsStep = stepsMapped[step];
30936
31270
  }
30937
31271
  if (missing(paramsStep)) {
31272
+ console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
30938
31273
  return;
30939
31274
  }
30940
31275
  var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
@@ -30980,7 +31315,9 @@ var GridApi = /** @class */ (function () {
30980
31315
  else if (this.serverSideRowModel) {
30981
31316
  this.serverSideRowModel.expandAll(true);
30982
31317
  }
30983
- else ;
31318
+ else {
31319
+ console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
31320
+ }
30984
31321
  };
30985
31322
  /** Collapse all groups. */
30986
31323
  GridApi.prototype.collapseAll = function () {
@@ -30990,17 +31327,23 @@ var GridApi = /** @class */ (function () {
30990
31327
  else if (this.serverSideRowModel) {
30991
31328
  this.serverSideRowModel.expandAll(false);
30992
31329
  }
30993
- else ;
31330
+ else {
31331
+ console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
31332
+ }
30994
31333
  };
30995
31334
  /** Gets the tool panel instance corresponding to the supplied `id`. */
30996
31335
  GridApi.prototype.getToolPanelInstance = function (id) {
30997
31336
  if (!this.sideBarComp) {
31337
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
30998
31338
  return;
30999
31339
  }
31000
31340
  var comp = this.sideBarComp.getToolPanelInstance(id);
31001
31341
  return unwrapUserComp(comp);
31002
31342
  };
31003
31343
  GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
31344
+ if (typeof eventName !== 'string') {
31345
+ console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
31346
+ }
31004
31347
  this.addRenderedRowListener(eventName, rowIndex, callback);
31005
31348
  };
31006
31349
  /**
@@ -31011,6 +31354,9 @@ var GridApi = /** @class */ (function () {
31011
31354
  * listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
31012
31355
  */
31013
31356
  GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
31357
+ if (eventName === 'virtualRowSelected') {
31358
+ console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
31359
+ }
31014
31360
  this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
31015
31361
  };
31016
31362
  /** Pass a quick filter text into the grid for filtering. */
@@ -31019,19 +31365,38 @@ var GridApi = /** @class */ (function () {
31019
31365
  };
31020
31366
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
31021
31367
  GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
31368
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31369
+ if (suppressEvents) {
31370
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31371
+ }
31022
31372
  this.selectionService.selectIndex(index, tryMulti);
31023
31373
  };
31024
31374
  /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
31025
31375
  GridApi.prototype.deselectIndex = function (index, suppressEvents) {
31376
+ if (suppressEvents === void 0) { suppressEvents = false; }
31377
+ console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
31378
+ if (suppressEvents) {
31379
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31380
+ }
31026
31381
  this.selectionService.deselectIndex(index);
31027
31382
  };
31028
31383
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31029
31384
  GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
31030
31385
  if (tryMulti === void 0) { tryMulti = false; }
31386
+ if (suppressEvents === void 0) { suppressEvents = false; }
31387
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31388
+ if (suppressEvents) {
31389
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31390
+ }
31031
31391
  node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
31032
31392
  };
31033
31393
  /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
31034
31394
  GridApi.prototype.deselectNode = function (node, suppressEvents) {
31395
+ if (suppressEvents === void 0) { suppressEvents = false; }
31396
+ console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
31397
+ if (suppressEvents) {
31398
+ console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
31399
+ }
31035
31400
  node.setSelectedParams({ newValue: false });
31036
31401
  };
31037
31402
  /** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
@@ -31052,7 +31417,10 @@ var GridApi = /** @class */ (function () {
31052
31417
  };
31053
31418
  /** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
31054
31419
  GridApi.prototype.recomputeAggregates = function () {
31055
- if (missing(this.clientSideRowModel)) ;
31420
+ if (missing(this.clientSideRowModel)) {
31421
+ console.warn('cannot call recomputeAggregates unless using normal row model');
31422
+ }
31423
+ console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
31056
31424
  this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
31057
31425
  };
31058
31426
  /**
@@ -31074,10 +31442,12 @@ var GridApi = /** @class */ (function () {
31074
31442
  this.overlayWrapperComp.hideOverlay();
31075
31443
  };
31076
31444
  GridApi.prototype.isNodeSelected = function (node) {
31445
+ console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
31077
31446
  return node.isSelected();
31078
31447
  };
31079
31448
  /** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
31080
31449
  GridApi.prototype.getSelectedNodesById = function () {
31450
+ console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
31081
31451
  return null;
31082
31452
  };
31083
31453
  /**
@@ -31106,6 +31476,7 @@ var GridApi = /** @class */ (function () {
31106
31476
  };
31107
31477
  /** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
31108
31478
  GridApi.prototype.ensureColIndexVisible = function (index) {
31479
+ console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
31109
31480
  };
31110
31481
  /**
31111
31482
  * Ensures the column is visible by scrolling the table if needed.
@@ -31147,7 +31518,9 @@ var GridApi = /** @class */ (function () {
31147
31518
  * but excluding groups the grid created where gaps were missing in the hierarchy.
31148
31519
  */
31149
31520
  GridApi.prototype.forEachLeafNode = function (callback) {
31150
- if (missing(this.clientSideRowModel)) ;
31521
+ if (missing(this.clientSideRowModel)) {
31522
+ console.warn('cannot call forEachNode unless using normal row model');
31523
+ }
31151
31524
  this.clientSideRowModel.forEachLeafNode(callback);
31152
31525
  };
31153
31526
  /**
@@ -31161,12 +31534,16 @@ var GridApi = /** @class */ (function () {
31161
31534
  };
31162
31535
  /** Similar to `forEachNode`, except skips any filtered out data. */
31163
31536
  GridApi.prototype.forEachNodeAfterFilter = function (callback) {
31164
- if (missing(this.clientSideRowModel)) ;
31537
+ if (missing(this.clientSideRowModel)) {
31538
+ console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
31539
+ }
31165
31540
  this.clientSideRowModel.forEachNodeAfterFilter(callback);
31166
31541
  };
31167
31542
  /** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
31168
31543
  GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
31169
- if (missing(this.clientSideRowModel)) ;
31544
+ if (missing(this.clientSideRowModel)) {
31545
+ console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
31546
+ }
31170
31547
  this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
31171
31548
  };
31172
31549
  /**
@@ -31404,10 +31781,12 @@ var GridApi = /** @class */ (function () {
31404
31781
  };
31405
31782
  /** @deprecated use `setProcessPivotResultColDef` instead */
31406
31783
  GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
31784
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
31407
31785
  this.setProcessPivotResultColDef(processSecondaryColDefFunc);
31408
31786
  };
31409
31787
  /** @deprecated use `setProcessPivotResultColGroupDef` instead */
31410
31788
  GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
31789
+ console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
31411
31790
  this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
31412
31791
  };
31413
31792
  GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
@@ -31463,6 +31842,9 @@ var GridApi = /** @class */ (function () {
31463
31842
  /** Show/hide the entire side bar, including any visible panel and the tab buttons. */
31464
31843
  GridApi.prototype.setSideBarVisible = function (show) {
31465
31844
  if (!this.sideBarComp) {
31845
+ if (show) {
31846
+ console.warn('AG Grid: sideBar is not loaded');
31847
+ }
31466
31848
  return;
31467
31849
  }
31468
31850
  this.sideBarComp.setDisplayed(show);
@@ -31470,6 +31852,7 @@ var GridApi = /** @class */ (function () {
31470
31852
  /** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
31471
31853
  GridApi.prototype.setSideBarPosition = function (position) {
31472
31854
  if (!this.sideBarComp) {
31855
+ console.warn('AG Grid: sideBar is not loaded');
31473
31856
  return;
31474
31857
  }
31475
31858
  this.sideBarComp.setSideBarPosition(position);
@@ -31477,6 +31860,7 @@ var GridApi = /** @class */ (function () {
31477
31860
  /** Opens a particular tool panel. Provide the ID of the tool panel to open. */
31478
31861
  GridApi.prototype.openToolPanel = function (key) {
31479
31862
  if (!this.sideBarComp) {
31863
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31480
31864
  return;
31481
31865
  }
31482
31866
  this.sideBarComp.openToolPanel(key);
@@ -31484,6 +31868,7 @@ var GridApi = /** @class */ (function () {
31484
31868
  /** Closes the currently open tool panel (if any). */
31485
31869
  GridApi.prototype.closeToolPanel = function () {
31486
31870
  if (!this.sideBarComp) {
31871
+ console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
31487
31872
  return;
31488
31873
  }
31489
31874
  this.sideBarComp.close();
@@ -31509,12 +31894,14 @@ var GridApi = /** @class */ (function () {
31509
31894
  };
31510
31895
  /** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
31511
31896
  GridApi.prototype.doLayout = function () {
31512
- doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
31897
+ 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";
31898
+ doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
31513
31899
  };
31514
31900
  /** Tells the grid to recalculate the row heights. */
31515
31901
  GridApi.prototype.resetRowHeights = function () {
31516
31902
  if (exists(this.clientSideRowModel)) {
31517
31903
  if (this.columnModel.isAutoRowHeightActive()) {
31904
+ console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
31518
31905
  return;
31519
31906
  }
31520
31907
  this.clientSideRowModel.resetRowHeights();
@@ -31601,6 +31988,9 @@ var GridApi = /** @class */ (function () {
31601
31988
  setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
31602
31989
  };
31603
31990
  GridApi.prototype.warnIfDestroyed = function (methodName) {
31991
+ if (this.destroyCalled) {
31992
+ console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
31993
+ }
31604
31994
  return this.destroyCalled;
31605
31995
  };
31606
31996
  /** Reset the quick filter cache text on every rowNode. */
@@ -31612,6 +32002,7 @@ var GridApi = /** @class */ (function () {
31612
32002
  };
31613
32003
  /** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
31614
32004
  GridApi.prototype.getRangeSelections = function () {
32005
+ 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.");
31615
32006
  return null;
31616
32007
  };
31617
32008
  /** Returns the list of selected cell ranges. */
@@ -31619,6 +32010,7 @@ var GridApi = /** @class */ (function () {
31619
32010
  if (this.rangeService) {
31620
32011
  return this.rangeService.getCellRanges();
31621
32012
  }
32013
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
31622
32014
  return null;
31623
32015
  };
31624
32016
  GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
@@ -31626,13 +32018,20 @@ var GridApi = /** @class */ (function () {
31626
32018
  };
31627
32019
  /** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
31628
32020
  GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
32021
+ 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()');
31629
32022
  };
31630
32023
  /** Adds the provided cell range to the selected ranges. */
31631
32024
  GridApi.prototype.addCellRange = function (params) {
32025
+ if (!this.rangeService) {
32026
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32027
+ }
31632
32028
  this.rangeService.addCellRange(params);
31633
32029
  };
31634
32030
  /** Clears the selected ranges. */
31635
32031
  GridApi.prototype.clearRangeSelection = function () {
32032
+ if (!this.rangeService) {
32033
+ console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
32034
+ }
31636
32035
  this.rangeService.removeAllCellRanges();
31637
32036
  };
31638
32037
  /** Reverts the last cell edit. */
@@ -31719,18 +32118,30 @@ var GridApi = /** @class */ (function () {
31719
32118
  };
31720
32119
  /** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
31721
32120
  GridApi.prototype.copyToClipboard = function (params) {
32121
+ if (!this.clipboardService) {
32122
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32123
+ }
31722
32124
  this.clipboardService.copyToClipboard(params);
31723
32125
  };
31724
32126
  /** Copies the selected rows to the clipboard. */
31725
32127
  GridApi.prototype.copySelectedRowsToClipboard = function (params) {
32128
+ if (!this.clipboardService) {
32129
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32130
+ }
31726
32131
  this.clipboardService.copySelectedRowsToClipboard(params);
31727
32132
  };
31728
32133
  /** Copies the selected ranges to the clipboard. */
31729
32134
  GridApi.prototype.copySelectedRangeToClipboard = function (params) {
32135
+ if (!this.clipboardService) {
32136
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32137
+ }
31730
32138
  this.clipboardService.copySelectedRangeToClipboard(params);
31731
32139
  };
31732
32140
  /** Copies the selected range down, similar to `Ctrl + D` in Excel. */
31733
32141
  GridApi.prototype.copySelectedRangeDown = function () {
32142
+ if (!this.clipboardService) {
32143
+ console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
32144
+ }
31734
32145
  this.clipboardService.copyRangeDown();
31735
32146
  };
31736
32147
  /** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
@@ -31747,6 +32158,7 @@ var GridApi = /** @class */ (function () {
31747
32158
  column = this.columnModel.getPrimaryColumn(colKey);
31748
32159
  }
31749
32160
  if (!column) {
32161
+ console.error("AG Grid: column '" + colKey + "' not found");
31750
32162
  return;
31751
32163
  }
31752
32164
  this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
@@ -31799,6 +32211,7 @@ var GridApi = /** @class */ (function () {
31799
32211
  GridApi.prototype.startEditingCell = function (params) {
31800
32212
  var column = this.columnModel.getGridColumn(params.colKey);
31801
32213
  if (!column) {
32214
+ console.warn("AG Grid: no column found for " + params.colKey);
31802
32215
  return;
31803
32216
  }
31804
32217
  var cellPosition = {
@@ -31837,12 +32250,14 @@ var GridApi = /** @class */ (function () {
31837
32250
  /** Apply transactions to the server side row model. */
31838
32251
  GridApi.prototype.applyServerSideTransaction = function (transaction) {
31839
32252
  if (!this.serverSideTransactionManager) {
32253
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31840
32254
  return;
31841
32255
  }
31842
32256
  return this.serverSideTransactionManager.applyTransaction(transaction);
31843
32257
  };
31844
32258
  GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
31845
32259
  if (!this.serverSideTransactionManager) {
32260
+ console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
31846
32261
  return;
31847
32262
  }
31848
32263
  return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
@@ -31850,12 +32265,14 @@ var GridApi = /** @class */ (function () {
31850
32265
  /** Gets all failed server side loads to retry. */
31851
32266
  GridApi.prototype.retryServerSideLoads = function () {
31852
32267
  if (!this.serverSideRowModel) {
32268
+ console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
31853
32269
  return;
31854
32270
  }
31855
32271
  this.serverSideRowModel.retryLoads();
31856
32272
  };
31857
32273
  GridApi.prototype.flushServerSideAsyncTransactions = function () {
31858
32274
  if (!this.serverSideTransactionManager) {
32275
+ console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
31859
32276
  return;
31860
32277
  }
31861
32278
  return this.serverSideTransactionManager.flushAsyncTransactions();
@@ -31863,6 +32280,7 @@ var GridApi = /** @class */ (function () {
31863
32280
  /** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
31864
32281
  GridApi.prototype.applyTransaction = function (rowDataTransaction) {
31865
32282
  if (!this.clientSideRowModel) {
32283
+ console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
31866
32284
  return;
31867
32285
  }
31868
32286
  var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
@@ -31880,12 +32298,14 @@ var GridApi = /** @class */ (function () {
31880
32298
  };
31881
32299
  /** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
31882
32300
  GridApi.prototype.updateRowData = function (rowDataTransaction) {
31883
- doOnce(function () { return (void 0); }, 'updateRowData deprecated');
32301
+ 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.';
32302
+ doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
31884
32303
  return this.applyTransaction(rowDataTransaction);
31885
32304
  };
31886
32305
  /** Same as `applyTransaction` except executes asynchronously for efficiency. */
31887
32306
  GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
31888
32307
  if (!this.clientSideRowModel) {
32308
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31889
32309
  return;
31890
32310
  }
31891
32311
  this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
@@ -31893,34 +32313,41 @@ var GridApi = /** @class */ (function () {
31893
32313
  /** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
31894
32314
  GridApi.prototype.flushAsyncTransactions = function () {
31895
32315
  if (!this.clientSideRowModel) {
32316
+ console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
31896
32317
  return;
31897
32318
  }
31898
32319
  this.clientSideRowModel.flushAsyncTransactions();
31899
32320
  };
31900
32321
  /** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
31901
32322
  GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
31902
- doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
32323
+ 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.';
32324
+ doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
31903
32325
  this.applyTransactionAsync(rowDataTransaction, callback);
31904
32326
  };
31905
32327
  /** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
31906
32328
  GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
32329
+ console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
31907
32330
  this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
31908
32331
  };
31909
32332
  /** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
31910
32333
  GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
32334
+ console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
31911
32335
  var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
31912
32336
  this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
31913
32337
  };
31914
32338
  /** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
31915
32339
  GridApi.prototype.addItems = function (items, skipRefresh) {
32340
+ console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
31916
32341
  this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
31917
32342
  };
31918
32343
  /** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31919
32344
  GridApi.prototype.refreshVirtualPageCache = function () {
32345
+ console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31920
32346
  this.refreshInfiniteCache();
31921
32347
  };
31922
32348
  /** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
31923
32349
  GridApi.prototype.refreshInfinitePageCache = function () {
32350
+ console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
31924
32351
  this.refreshInfiniteCache();
31925
32352
  };
31926
32353
  /**
@@ -31932,13 +32359,18 @@ var GridApi = /** @class */ (function () {
31932
32359
  if (this.infiniteRowModel) {
31933
32360
  this.infiniteRowModel.refreshCache();
31934
32361
  }
32362
+ else {
32363
+ console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
32364
+ }
31935
32365
  };
31936
32366
  /** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31937
32367
  GridApi.prototype.purgeVirtualPageCache = function () {
32368
+ console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31938
32369
  this.purgeInfinitePageCache();
31939
32370
  };
31940
32371
  /** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
31941
32372
  GridApi.prototype.purgeInfinitePageCache = function () {
32373
+ console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
31942
32374
  this.purgeInfiniteCache();
31943
32375
  };
31944
32376
  /**
@@ -31951,20 +32383,28 @@ var GridApi = /** @class */ (function () {
31951
32383
  if (this.infiniteRowModel) {
31952
32384
  this.infiniteRowModel.purgeCache();
31953
32385
  }
32386
+ else {
32387
+ console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
32388
+ }
31954
32389
  };
31955
32390
  /** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
31956
32391
  GridApi.prototype.purgeEnterpriseCache = function (route) {
32392
+ console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
31957
32393
  this.purgeServerSideCache(route);
31958
32394
  };
31959
32395
  /** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
31960
32396
  GridApi.prototype.purgeServerSideCache = function (route) {
31961
32397
  if (route === void 0) { route = []; }
31962
32398
  if (this.serverSideRowModel) {
32399
+ console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
31963
32400
  this.refreshServerSide({
31964
32401
  route: route,
31965
32402
  purge: true
31966
32403
  });
31967
32404
  }
32405
+ else {
32406
+ console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
32407
+ }
31968
32408
  };
31969
32409
  /**
31970
32410
  * Refresh a server-side level.
@@ -31973,29 +32413,34 @@ var GridApi = /** @class */ (function () {
31973
32413
  */
31974
32414
  GridApi.prototype.refreshServerSide = function (params) {
31975
32415
  if (!this.serverSideRowModel) {
32416
+ console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
31976
32417
  return;
31977
32418
  }
31978
32419
  this.serverSideRowModel.refreshStore(params);
31979
32420
  };
31980
32421
  /** @deprecated use `refreshServerSide` instead */
31981
32422
  GridApi.prototype.refreshServerSideStore = function (params) {
31982
- doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
32423
+ var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
32424
+ doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
31983
32425
  return this.refreshServerSide(params);
31984
32426
  };
31985
32427
  /** @deprecated use `getServerSideGroupLevelState` instead */
31986
32428
  GridApi.prototype.getServerSideStoreState = function () {
31987
- doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
32429
+ var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
32430
+ doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
31988
32431
  return this.getServerSideGroupLevelState();
31989
32432
  };
31990
32433
  /** Returns info on all server side group levels. */
31991
32434
  GridApi.prototype.getServerSideGroupLevelState = function () {
31992
32435
  if (!this.serverSideRowModel) {
32436
+ console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
31993
32437
  return [];
31994
32438
  }
31995
32439
  return this.serverSideRowModel.getStoreState();
31996
32440
  };
31997
32441
  /** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
31998
32442
  GridApi.prototype.getVirtualRowCount = function () {
32443
+ console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
31999
32444
  return this.getInfiniteRowCount();
32000
32445
  };
32001
32446
  /** The row count defines how many rows the grid allows scrolling to. */
@@ -32003,9 +32448,13 @@ var GridApi = /** @class */ (function () {
32003
32448
  if (this.infiniteRowModel) {
32004
32449
  return this.infiniteRowModel.getRowCount();
32005
32450
  }
32451
+ else {
32452
+ console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
32453
+ }
32006
32454
  };
32007
32455
  /** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
32008
32456
  GridApi.prototype.isMaxRowFound = function () {
32457
+ console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
32009
32458
  return this.isLastRowIndexKnown();
32010
32459
  };
32011
32460
  /** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
@@ -32013,13 +32462,18 @@ var GridApi = /** @class */ (function () {
32013
32462
  if (this.infiniteRowModel) {
32014
32463
  return this.infiniteRowModel.isLastRowIndexKnown();
32015
32464
  }
32465
+ else {
32466
+ console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
32467
+ }
32016
32468
  };
32017
32469
  /** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
32018
32470
  GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
32471
+ console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
32019
32472
  this.setRowCount(rowCount, maxRowFound);
32020
32473
  };
32021
32474
  /** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
32022
32475
  GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
32476
+ console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
32023
32477
  this.setRowCount(rowCount, maxRowFound);
32024
32478
  };
32025
32479
  /**
@@ -32033,13 +32487,18 @@ var GridApi = /** @class */ (function () {
32033
32487
  if (this.infiniteRowModel) {
32034
32488
  this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
32035
32489
  }
32490
+ else {
32491
+ console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
32492
+ }
32036
32493
  };
32037
32494
  /** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32038
32495
  GridApi.prototype.getVirtualPageState = function () {
32496
+ console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32039
32497
  return this.getCacheBlockState();
32040
32498
  };
32041
32499
  /** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
32042
32500
  GridApi.prototype.getInfinitePageState = function () {
32501
+ console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
32043
32502
  return this.getCacheBlockState();
32044
32503
  };
32045
32504
  /**
@@ -32050,9 +32509,11 @@ var GridApi = /** @class */ (function () {
32050
32509
  };
32051
32510
  /** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
32052
32511
  GridApi.prototype.checkGridSize = function () {
32512
+ console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
32053
32513
  };
32054
32514
  /** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
32055
32515
  GridApi.prototype.getFirstRenderedRow = function () {
32516
+ console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
32056
32517
  return this.getFirstDisplayedRow();
32057
32518
  };
32058
32519
  /** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -32061,6 +32522,7 @@ var GridApi = /** @class */ (function () {
32061
32522
  };
32062
32523
  /** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
32063
32524
  GridApi.prototype.getLastRenderedRow = function () {
32525
+ console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
32064
32526
  return this.getLastDisplayedRow();
32065
32527
  };
32066
32528
  /** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
@@ -33112,7 +33574,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
33112
33574
  };
33113
33575
  };
33114
33576
  SelectAllFeature.prototype.checkRightRowModelType = function () {
33115
- this.rowModel.getType();
33577
+ var rowModelType = this.rowModel.getType();
33578
+ var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
33579
+ if (!rowModelMatches) {
33580
+ console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
33581
+ }
33116
33582
  };
33117
33583
  SelectAllFeature.prototype.onCbSelectAll = function () {
33118
33584
  if (this.processingEventFromCheckbox) {
@@ -33144,12 +33610,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
33144
33610
  }
33145
33611
  if (result) {
33146
33612
  if (this.gridOptionsWrapper.isRowModelServerSide()) {
33613
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
33147
33614
  return false;
33148
33615
  }
33149
33616
  if (this.gridOptionsWrapper.isRowModelInfinite()) {
33617
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
33150
33618
  return false;
33151
33619
  }
33152
33620
  if (this.gridOptionsWrapper.isRowModelViewport()) {
33621
+ console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
33153
33622
  return false;
33154
33623
  }
33155
33624
  // otherwise the row model is compatible, so return true
@@ -35766,6 +36235,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
35766
36235
  // frames. this stops bugs - where some code is asking for a frame to be executed
35767
36236
  // when it should not.
35768
36237
  AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
36238
+ if (this.useAnimationFrame === false) {
36239
+ console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
36240
+ }
35769
36241
  };
35770
36242
  AnimationFrameService.prototype.createTask = function (task, index, list) {
35771
36243
  this.verifyAnimationFrameOn(list);
@@ -37002,10 +37474,10 @@ var RowRenderer = /** @class */ (function (_super) {
37002
37474
  this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
37003
37475
  if (this.gridOptionsWrapper.isGroupRowsSticky()) {
37004
37476
  if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
37005
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37477
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
37006
37478
  }
37007
37479
  else if (this.gridOptionsWrapper.isTreeData()) {
37008
- doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37480
+ doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
37009
37481
  }
37010
37482
  else {
37011
37483
  this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
@@ -41149,7 +41621,9 @@ var AgMenuList = /** @class */ (function (_super) {
41149
41621
  if (menuItemOrString === 'separator') {
41150
41622
  _this.addSeparator();
41151
41623
  }
41152
- else if (typeof menuItemOrString === 'string') ;
41624
+ else if (typeof menuItemOrString === 'string') {
41625
+ console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
41626
+ }
41153
41627
  else {
41154
41628
  _this.addItem(menuItemOrString);
41155
41629
  }
@@ -41514,7 +41988,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
41514
41988
  else if (typeof this.params.icon === 'string') {
41515
41989
  icon.innerHTML = this.params.icon;
41516
41990
  }
41517
- else ;
41991
+ else {
41992
+ console.warn('AG Grid: menu item icon must be DOM node or string');
41993
+ }
41518
41994
  }
41519
41995
  this.getGui().appendChild(icon);
41520
41996
  };
@@ -42464,6 +42940,7 @@ var PopupService = /** @class */ (function (_super) {
42464
42940
  var eDocument = this.gridOptionsWrapper.getDocument();
42465
42941
  var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
42466
42942
  if (!eDocument) {
42943
+ console.warn('ag-grid: could not find the document, document is empty');
42467
42944
  return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
42468
42945
  }
42469
42946
  var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
@@ -42876,6 +43353,7 @@ var VirtualList = /** @class */ (function (_super) {
42876
43353
  VirtualList.prototype.ensureIndexVisible = function (index) {
42877
43354
  var lastRow = this.model.getRowCount();
42878
43355
  if (typeof index !== 'number' || index < 0 || index >= lastRow) {
43356
+ console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
42879
43357
  return;
42880
43358
  }
42881
43359
  var rowTopPixel = index * this.rowHeight;
@@ -43179,6 +43657,7 @@ var CellNavigationService = /** @class */ (function (_super) {
43179
43657
  break;
43180
43658
  default:
43181
43659
  pointer = null;
43660
+ console.warn('AG Grid: unknown key for navigation ' + key);
43182
43661
  break;
43183
43662
  }
43184
43663
  if (pointer) {
@@ -43573,6 +44052,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
43573
44052
  var groupOpenedEvent = event;
43574
44053
  _this.processGroupOpenedEvent(groupOpenedEvent);
43575
44054
  break;
44055
+ case Events.EVENT_COLUMN_PIVOT_CHANGED:
44056
+ // we cannot support pivoting with aligned grids as the columns will be out of sync as the
44057
+ // grids will have columns created based on the row data of the grid.
44058
+ console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
44059
+ 'You can only use one of these features at a time in a grid.');
44060
+ break;
43576
44061
  }
43577
44062
  });
43578
44063
  };
@@ -43874,11 +44359,13 @@ var SelectionService = /** @class */ (function (_super) {
43874
44359
  // where groups don't actually appear in the selection normally.
43875
44360
  SelectionService.prototype.getBestCostNodeSelection = function () {
43876
44361
  if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
44362
+ console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
43877
44363
  return;
43878
44364
  }
43879
44365
  var clientSideRowModel = this.rowModel;
43880
44366
  var topLevelNodes = clientSideRowModel.getTopLevelNodes();
43881
44367
  if (topLevelNodes === null) {
44368
+ console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
43882
44369
  return;
43883
44370
  }
43884
44371
  var result = [];
@@ -43920,6 +44407,7 @@ var SelectionService = /** @class */ (function (_super) {
43920
44407
  var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
43921
44408
  if (justFiltered) {
43922
44409
  if (!rowModelClientSide) {
44410
+ console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
43923
44411
  return;
43924
44412
  }
43925
44413
  var clientSideRowModel = this.rowModel;
@@ -44032,6 +44520,11 @@ var ColumnApi = /** @class */ (function () {
44032
44520
  }
44033
44521
  /** 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. */
44034
44522
  ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
44523
+ // AG-3403 validate that gridWidth is provided because this method has the same name as
44524
+ // a method on the grid API that takes no arguments, and it's easy to confuse the two
44525
+ if (typeof gridWidth === "undefined") {
44526
+ console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
44527
+ }
44035
44528
  this.columnModel.sizeColumnsToFit(gridWidth, 'api');
44036
44529
  };
44037
44530
  /** Call this if you want to open or close a column group. */
@@ -44100,6 +44593,7 @@ var ColumnApi = /** @class */ (function () {
44100
44593
  ColumnApi.prototype.moveColumn = function (key, toIndex) {
44101
44594
  if (typeof key === 'number') {
44102
44595
  // moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
44596
+ 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');
44103
44597
  this.columnModel.moveColumnByIndex(key, toIndex, 'api');
44104
44598
  }
44105
44599
  else {
@@ -44130,6 +44624,7 @@ var ColumnApi = /** @class */ (function () {
44130
44624
  ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
44131
44625
  /** @deprecated Use `getPivotResultColumn` instead */
44132
44626
  ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
44627
+ console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
44133
44628
  return this.getPivotResultColumn(pivotKeys, valueColKey);
44134
44629
  };
44135
44630
  /** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
@@ -44188,18 +44683,21 @@ var ColumnApi = /** @class */ (function () {
44188
44683
  ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
44189
44684
  /** @deprecated Use `setPivotResultColumns` instead. */
44190
44685
  ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
44686
+ console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
44191
44687
  this.setPivotResultColumns(colDefs);
44192
44688
  };
44193
44689
  /** Set the pivot result columns. */
44194
44690
  ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
44195
44691
  /** @deprecated Use `getPivotResultColumns` instead. */
44196
44692
  ColumnApi.prototype.getSecondaryColumns = function () {
44693
+ console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
44197
44694
  return this.getPivotResultColumns();
44198
44695
  };
44199
44696
  /** Returns the grid's pivot result columns. */
44200
44697
  ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
44201
44698
  /** @deprecated Use `getColumns` instead. */
44202
44699
  ColumnApi.prototype.getPrimaryColumns = function () {
44700
+ console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
44203
44701
  return this.getColumns();
44204
44702
  };
44205
44703
  ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
@@ -44218,66 +44716,82 @@ var ColumnApi = /** @class */ (function () {
44218
44716
  // }
44219
44717
  /** @deprecated Use `getColumns` instead */
44220
44718
  ColumnApi.prototype.getAllColumns = function () {
44719
+ console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
44221
44720
  return this.getColumns();
44222
44721
  };
44223
44722
  /** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
44224
44723
  ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
44724
+ console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
44225
44725
  this.setColumnGroupOpened(group, newValue);
44226
44726
  };
44227
44727
  /** @deprecated hideColumns is deprecated, use setColumnsVisible */
44228
44728
  ColumnApi.prototype.hideColumns = function (colIds, hide) {
44729
+ console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
44229
44730
  this.columnModel.setColumnsVisible(colIds, !hide, 'api');
44230
44731
  };
44231
44732
  /** @deprecated hideColumn is deprecated, use setColumnVisible */
44232
44733
  ColumnApi.prototype.hideColumn = function (colId, hide) {
44734
+ console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
44233
44735
  this.columnModel.setColumnVisible(colId, !hide, 'api');
44234
44736
  };
44235
44737
  /** @deprecated setState is deprecated, use setColumnState */
44236
44738
  ColumnApi.prototype.setState = function (columnState) {
44739
+ console.error('AG Grid: setState is deprecated, use setColumnState');
44237
44740
  return this.setColumnState(columnState);
44238
44741
  };
44239
44742
  /** @deprecated getState is deprecated, use getColumnState */
44240
44743
  ColumnApi.prototype.getState = function () {
44744
+ console.error('AG Grid: getState is deprecated, use getColumnState');
44241
44745
  return this.getColumnState();
44242
44746
  };
44243
44747
  /** @deprecated resetState is deprecated, use resetColumnState */
44244
44748
  ColumnApi.prototype.resetState = function () {
44749
+ console.error('AG Grid: resetState is deprecated, use resetColumnState');
44245
44750
  this.resetColumnState();
44246
44751
  };
44247
44752
  /** @deprecated getAggregationColumns is deprecated, use getValueColumns */
44248
44753
  ColumnApi.prototype.getAggregationColumns = function () {
44754
+ console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
44249
44755
  return this.columnModel.getValueColumns();
44250
44756
  };
44251
44757
  /** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
44252
44758
  ColumnApi.prototype.removeAggregationColumn = function (colKey) {
44759
+ console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
44253
44760
  this.columnModel.removeValueColumn(colKey, 'api');
44254
44761
  };
44255
44762
  /** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
44256
44763
  ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
44764
+ console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
44257
44765
  this.columnModel.removeValueColumns(colKeys, 'api');
44258
44766
  };
44259
44767
  /** @deprecated addAggregationColumn is deprecated, use addValueColumn */
44260
44768
  ColumnApi.prototype.addAggregationColumn = function (colKey) {
44769
+ console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
44261
44770
  this.columnModel.addValueColumn(colKey, 'api');
44262
44771
  };
44263
44772
  /** @deprecated addAggregationColumns is deprecated, use addValueColumns */
44264
44773
  ColumnApi.prototype.addAggregationColumns = function (colKeys) {
44774
+ console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
44265
44775
  this.columnModel.addValueColumns(colKeys, 'api');
44266
44776
  };
44267
44777
  /** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
44268
44778
  ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
44779
+ console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
44269
44780
  this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
44270
44781
  };
44271
44782
  /** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
44272
44783
  ColumnApi.prototype.getDisplayNameForCol = function (column) {
44784
+ console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
44273
44785
  return this.getDisplayNameForColumn(column, null);
44274
44786
  };
44275
44787
  /** @deprecated setColumnState is deprecated, use applyColumnState. */
44276
44788
  ColumnApi.prototype.setColumnState = function (columnState) {
44789
+ console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
44277
44790
  return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
44278
44791
  };
44279
44792
  /** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
44280
44793
  ColumnApi.prototype.getOriginalColumnGroup = function (name) {
44794
+ console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
44281
44795
  return this.columnModel.getProvidedColumnGroup(name);
44282
44796
  };
44283
44797
  __decorate$1n([
@@ -44430,6 +44944,7 @@ var ValueService = /** @class */ (function (_super) {
44430
44944
  // need either a field or a newValueHandler for this to work
44431
44945
  if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
44432
44946
  // we don't tell user about newValueHandler, as that is deprecated
44947
+ console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
44433
44948
  return false;
44434
44949
  }
44435
44950
  var params = {
@@ -44606,6 +45121,7 @@ var ValueService = /** @class */ (function (_super) {
44606
45121
  result = String(result);
44607
45122
  if (result === '[object Object]') {
44608
45123
  doOnce(function () {
45124
+ 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');
44609
45125
  }, 'getKeyForNode - warn about [object,object]');
44610
45126
  }
44611
45127
  return result;
@@ -44677,7 +45193,9 @@ var ExpressionService = /** @class */ (function (_super) {
44677
45193
  var expression = expressionOrFunc;
44678
45194
  return this.evaluateExpression(expression, params);
44679
45195
  }
44680
- else ;
45196
+ else {
45197
+ console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
45198
+ }
44681
45199
  };
44682
45200
  ExpressionService.prototype.evaluateExpression = function (expression, params) {
44683
45201
  try {
@@ -44691,9 +45209,13 @@ var ExpressionService = /** @class */ (function (_super) {
44691
45209
  // the expression failed, which can happen, as it's the client that
44692
45210
  // provides the expression. so print a nice message
44693
45211
  // tslint:disable-next-line
45212
+ console.log('Processing of the expression failed');
44694
45213
  // tslint:disable-next-line
45214
+ console.log('Expression = ' + expression);
44695
45215
  // tslint:disable-next-line
45216
+ console.log('Params =', params);
44696
45217
  // tslint:disable-next-line
45218
+ console.log('Exception = ' + e);
44697
45219
  return null;
44698
45220
  }
44699
45221
  };
@@ -44791,6 +45313,7 @@ var TemplateService = /** @class */ (function (_super) {
44791
45313
  };
44792
45314
  TemplateService.prototype.handleHttpResult = function (httpResult, url) {
44793
45315
  if (httpResult.status !== 200 || httpResult.response === null) {
45316
+ console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
44794
45317
  return;
44795
45318
  }
44796
45319
  // response success, so process it
@@ -44871,7 +45394,10 @@ var Logger = /** @class */ (function () {
44871
45394
  return this.isLoggingFunc();
44872
45395
  };
44873
45396
  Logger.prototype.log = function (message) {
44874
- if (this.isLoggingFunc()) ;
45397
+ if (this.isLoggingFunc()) {
45398
+ // tslint:disable-next-line
45399
+ console.log('AG Grid.' + this.name + ': ' + message);
45400
+ }
44875
45401
  };
44876
45402
  return Logger;
44877
45403
  }());
@@ -45271,6 +45797,7 @@ var SortController = /** @class */ (function (_super) {
45271
45797
  sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
45272
45798
  }
45273
45799
  if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
45800
+ console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
45274
45801
  return null;
45275
45802
  }
45276
45803
  var currentIndex = sortingOrder.indexOf(column.getSort());
@@ -45285,6 +45812,7 @@ var SortController = /** @class */ (function (_super) {
45285
45812
  }
45286
45813
  // verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
45287
45814
  if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
45815
+ console.warn('AG Grid: invalid sort type ' + result);
45288
45816
  return null;
45289
45817
  }
45290
45818
  return result;
@@ -45613,6 +46141,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
45613
46141
  var doingTreeData = this.gridOptionsWrapper.isTreeData();
45614
46142
  var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
45615
46143
  if (doingTreeData && doingMultiAutoColumn) {
46144
+ console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
45616
46145
  doingMultiAutoColumn = false;
45617
46146
  }
45618
46147
  // if doing groupMultiAutoColumn, then we call the method multiple times, once
@@ -46296,8 +46825,8 @@ var Environment = /** @class */ (function (_super) {
46296
46825
  var theme = themeMatch[0];
46297
46826
  var usingOldTheme = themeMatch[2] === undefined;
46298
46827
  if (usingOldTheme) {
46299
- theme.replace('ag-', 'ag-theme-');
46300
- doOnce(function () { return (void 0); }, 'using-old-theme');
46828
+ var newTheme_1 = theme.replace('ag-', 'ag-theme-');
46829
+ 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');
46301
46830
  }
46302
46831
  return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
46303
46832
  };
@@ -47803,6 +48332,7 @@ var RowCssClassCalculator = /** @class */ (function () {
47803
48332
  var rowClass = this.gridOptionsWrapper.getRowClass();
47804
48333
  if (rowClass) {
47805
48334
  if (typeof rowClass === 'function') {
48335
+ console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
47806
48336
  return [];
47807
48337
  }
47808
48338
  process(rowClass);
@@ -48643,6 +49173,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
48643
49173
  var Grid = /** @class */ (function () {
48644
49174
  function Grid(eGridDiv, gridOptions, params) {
48645
49175
  if (!gridOptions) {
49176
+ console.error('AG Grid: no gridOptions provided to the grid');
48646
49177
  return;
48647
49178
  }
48648
49179
  this.gridOptions = gridOptions;
@@ -48848,7 +49379,32 @@ var GridCoreCreator = /** @class */ (function () {
48848
49379
  if (exists(rowModelClass)) {
48849
49380
  return rowModelClass;
48850
49381
  }
48851
- if (ModuleRegistry.isPackageBased()) ;
49382
+ if (ModuleRegistry.isPackageBased()) {
49383
+ if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
49384
+ // If package based only the enterprise row models could be missing.
49385
+ 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/");
49386
+ }
49387
+ else {
49388
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49389
+ }
49390
+ }
49391
+ else {
49392
+ if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
49393
+ 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/");
49394
+ }
49395
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
49396
+ 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/");
49397
+ }
49398
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
49399
+ 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/");
49400
+ }
49401
+ else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
49402
+ 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/");
49403
+ }
49404
+ else {
49405
+ console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
49406
+ }
49407
+ }
48852
49408
  };
48853
49409
  return GridCoreCreator;
48854
49410
  }());
@@ -49110,15 +49666,51 @@ var LicenseManager = /** @class */ (function (_super) {
49110
49666
  }
49111
49667
  };
49112
49668
  LicenseManager.prototype.outputInvalidLicenseKey = function () {
49669
+ console.error('*****************************************************************************************************************');
49670
+ console.error('***************************************** AG Grid Enterprise License ********************************************');
49671
+ console.error('********************************************* Invalid License ***************************************************');
49672
+ console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
49673
+ console.error('*****************************************************************************************************************');
49674
+ console.error('*****************************************************************************************************************');
49113
49675
  this.watermarkMessage = "Invalid License";
49114
49676
  };
49115
49677
  LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
49678
+ console.error('****************************************************************************************************************');
49679
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49680
+ console.error('***************************************** Trial Period Expired. *******************************************');
49681
+ console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
49682
+ console.error('* Please email info@ag-grid.com to purchase a license. *');
49683
+ console.error('****************************************************************************************************************');
49684
+ console.error('****************************************************************************************************************');
49116
49685
  this.watermarkMessage = "Trial Period Expired";
49117
49686
  };
49118
49687
  LicenseManager.prototype.outputMissingLicenseKey = function () {
49688
+ console.error('****************************************************************************************************************');
49689
+ console.error('***************************************** AG Grid Enterprise License *******************************************');
49690
+ console.error('****************************************** License Key Not Found ***********************************************');
49691
+ console.error('* All AG Grid Enterprise features are unlocked. *');
49692
+ console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
49693
+ console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
49694
+ console.error('****************************************************************************************************************');
49695
+ console.error('****************************************************************************************************************');
49119
49696
  this.watermarkMessage = "For Trial Use Only";
49120
49697
  };
49121
49698
  LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
49699
+ console.error('****************************************************************************************************************************');
49700
+ console.error('****************************************************************************************************************************');
49701
+ console.error('* AG Grid Enterprise License *');
49702
+ console.error('* License not compatible with installed version of AG Grid Enterprise. *');
49703
+ console.error('* *');
49704
+ console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
49705
+ console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
49706
+ console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
49707
+ console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
49708
+ console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
49709
+ console.error('* *');
49710
+ 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 *');
49711
+ console.error('* version of AG Grid. *');
49712
+ console.error('****************************************************************************************************************************');
49713
+ console.error('****************************************************************************************************************************');
49122
49714
  this.watermarkMessage = "License Expired";
49123
49715
  };
49124
49716
  var LicenseManager_1;
@@ -49660,14 +50252,20 @@ class DataSource {
49660
50252
  return indexA - indexB;
49661
50253
  });
49662
50254
  this._dataUnit.metadata.fields.forEach(f => {
49663
- var _a;
50255
+ var _a, _b;
49664
50256
  if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
49665
50257
  const props = new Map();
49666
50258
  const properties = this._dataUnit.getField(f.name).properties;
49667
50259
  for (const value in properties) {
49668
50260
  props.set(value, properties[value]);
49669
50261
  }
49670
- columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
50262
+ const col = { label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props };
50263
+ columnDefs.push(col);
50264
+ if (f.userInterface === core.UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
50265
+ const descriptionCol = this.buildDescriptionColumn(f);
50266
+ columnDefs.push(descriptionCol);
50267
+ f.properties[constants.PRESENTATION_COL_ID_PROP_NAME] = descriptionCol.name;
50268
+ }
49671
50269
  }
49672
50270
  });
49673
50271
  }
@@ -49677,6 +50275,19 @@ class DataSource {
49677
50275
  console.warn(error);
49678
50276
  }
49679
50277
  }
50278
+ buildDescriptionColumn(field) {
50279
+ var _a, _b, _c, _d;
50280
+ const props = new Map();
50281
+ props.set(constants.PRESENTATION_FROM_COL_PROP_NAME, field.name);
50282
+ const descriptionFieldName = `${(_a = field.properties) === null || _a === void 0 ? void 0 : _a.ENTITYNAME}.${(_b = field.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD}`;
50283
+ this._dataUnit.addSourceFieldValue(descriptionFieldName, field.name);
50284
+ return {
50285
+ label: `${(_c = field.properties) === null || _c === void 0 ? void 0 : _c.DESCRIPTIONFIELDLABEL} (${(_d = field.properties) === null || _d === void 0 ? void 0 : _d.DESCRIPTIONENTITY})`,
50286
+ name: descriptionFieldName,
50287
+ userInterface: core.UserInterface.SHORTTEXT,
50288
+ props
50289
+ };
50290
+ }
49680
50291
  }
49681
50292
 
49682
50293
  class EzGridCustomHeader {
@@ -49927,7 +50538,7 @@ const gridTerms = {
49927
50538
  };
49928
50539
 
49929
50540
  const buildEditorMetadata = (descriptor, eGridCell, dataUnit, editionManager) => {
49930
- return Object.assign(Object.assign({}, DataBinder.buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
50541
+ return Object.assign(Object.assign({}, searchColumn.buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
49931
50542
  };
49932
50543
 
49933
50544
  const MINIMIUM_WIDTH_TEXTAREA = 210;
@@ -50087,6 +50698,21 @@ const buildSwitch = (fieldMetadata) => {
50087
50698
  return combo;
50088
50699
  };
50089
50700
 
50701
+ const buildSearchPlus = ({ name, required, readOnly, dataUnit }) => {
50702
+ const ezSearch = core.HTMLBuilder.parseElement(`<ez-search-plus
50703
+ class="ez-grid grid_editor"
50704
+ mode="slim"
50705
+ suppress-empty-option=${required}
50706
+ enabled=${!readOnly}
50707
+ hide-description-input=${true}
50708
+ />`);
50709
+ const loader = core.ApplicationContext.getContextValue("__EZUI__SEARCH__PLUS__OPTION__LOADER__");
50710
+ ezSearch.optionLoader = (argument) => loader(argument, name, dataUnit);
50711
+ ezSearch.autoFocus = true;
50712
+ ezSearch.valueGetter = () => ezSearch.getValueAsync();
50713
+ return ezSearch;
50714
+ };
50715
+
50090
50716
  const buildSearch = ({ name, required, readOnly, eGridCell, dataUnit }) => {
50091
50717
  var _a;
50092
50718
  const ezSearch = core.HTMLBuilder.parseElement(`<ez-search
@@ -50119,6 +50745,7 @@ uiBuilders.set(core.UserInterface.CHECKBOX, buildSwitch);
50119
50745
  uiBuilders.set(core.UserInterface.OPTIONSELECTOR, buildComboBox);
50120
50746
  uiBuilders.set(core.UserInterface.LONGTEXT, buildTextAreaInput);
50121
50747
  uiBuilders.set(core.UserInterface.SEARCH, buildSearch);
50748
+ uiBuilders.set(core.UserInterface.SEARCHPLUS, buildSearchPlus);
50122
50749
  class EzCellEditor {
50123
50750
  init(params) {
50124
50751
  this._rowData = params.data;
@@ -50182,7 +50809,7 @@ class EzGridCustomCellEditor extends EzCellEditor {
50182
50809
  charPress: params.charPress,
50183
50810
  currentEditor: this._defaultGui,
50184
50811
  name: this._fieldName,
50185
- source: ICustomRender.CustomEditorSource.GRID,
50812
+ source: FormLayout.CustomEditorSource.GRID,
50186
50813
  detailContext: params.customEditorsInfo.detailContext,
50187
50814
  setValue: (value) => this.setValue(value),
50188
50815
  getValue: () => this.getValue(),
@@ -50289,7 +50916,7 @@ class EzGridCustomCellRender extends EzCellRender {
50289
50916
  charPress: '',
50290
50917
  currentRender: super.getGui(),
50291
50918
  name: this._fieldName,
50292
- source: ICustomRender.CustomRenderSource.GRID,
50919
+ source: FormLayout.CustomRenderSource.GRID,
50293
50920
  getValue: () => params.getValue(),
50294
50921
  detailContext: params.customRendersInfo.detailContext,
50295
50922
  renderMetadata: {
@@ -50317,8 +50944,9 @@ class EzGridCustomCellRender extends EzCellRender {
50317
50944
 
50318
50945
  class GridEditionManager {
50319
50946
  constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders, enableContinuousInsert, enableGridInsert, lockerId) {
50947
+ this._inProgressChanges = [];
50320
50948
  this._dataUnit = dataUnit;
50321
- this._recordValidationProcessor = new DataBinder.RecordValidationProcessor(this._dataUnit, {
50949
+ this._recordValidationProcessor = new searchColumn.RecordValidationProcessor(this._dataUnit, {
50322
50950
  getRequiredFields: () => this.getRequiredFields(),
50323
50951
  markAsInvalid: (invalidField, recordId) => { this.pushInvalidCell(invalidField, recordId); },
50324
50952
  getMessageForField: () => null,
@@ -50416,6 +51044,12 @@ class GridEditionManager {
50416
51044
  return this._enableContinuousInsert && (this._dataUnit.records.length - 1) === ((_a = this._lastCellEdited) === null || _a === void 0 ? void 0 : _a.rowIndex);
50417
51045
  }
50418
51046
  async proceedAutoSave() {
51047
+ var _a;
51048
+ //Aguarda outras promises entrarem na fila
51049
+ await new Promise(resolve => setTimeout(resolve, 100));
51050
+ if (this._inProgressChanges.length) {
51051
+ await Promise.all((_a = this._inProgressChanges) === null || _a === void 0 ? void 0 : _a.map(({ promise }) => promise));
51052
+ }
50419
51053
  if (!this._dataUnit.isDirty()) {
50420
51054
  this.saveSuccess();
50421
51055
  return true;
@@ -50486,7 +51120,9 @@ class GridEditionManager {
50486
51120
  }
50487
51121
  configureColumn(col) {
50488
51122
  col.cellEditor = 'ezCellEditor';
50489
- col.editable = params => this.canEdit(params);
51123
+ if (col.editable != false) {
51124
+ col.editable = params => this.canEdit(params);
51125
+ }
50490
51126
  col.suppressKeyboardEvent = (params) => {
50491
51127
  if (params.event.key === KeyCode.ESCAPE && params.editing) {
50492
51128
  return this._dataUnit.isDirty();
@@ -50530,7 +51166,7 @@ class GridEditionManager {
50530
51166
  }
50531
51167
  getFormRequiredFields() {
50532
51168
  const formRequiredFields = [];
50533
- const dataBinders = DataBinder.DataBinder.getDataBindersByDataUnit(this._dataUnit);
51169
+ const dataBinders = searchColumn.DataBinder.getDataBindersByDataUnit(this._dataUnit);
50534
51170
  dataBinders.forEach(dataBinder => {
50535
51171
  formRequiredFields.push(...dataBinder.getFormRequiredFields());
50536
51172
  });
@@ -50645,11 +51281,14 @@ class GridEditionManager {
50645
51281
  }
50646
51282
  isColEditable(fieldName) {
50647
51283
  const fieldDefinition = this._dataUnit.getField(fieldName);
50648
- if (fieldDefinition) {
51284
+ if (fieldDefinition && !this.isTypeFile(fieldDefinition)) {
50649
51285
  return !fieldDefinition.readOnly;
50650
51286
  }
50651
51287
  return false;
50652
51288
  }
51289
+ isTypeFile(file) {
51290
+ return file.userInterface === core.UserInterface.FILE;
51291
+ }
50653
51292
  isSecondClick(cellClicked) {
50654
51293
  if (!this._lastCellClicked) {
50655
51294
  return false;
@@ -50670,6 +51309,14 @@ class GridEditionManager {
50670
51309
  return;
50671
51310
  }
50672
51311
  if (value instanceof Promise) {
51312
+ const progressChange = {
51313
+ promise: undefined,
51314
+ resolve: () => { }
51315
+ };
51316
+ progressChange.promise = new Promise((resolve) => {
51317
+ progressChange.resolve = resolve;
51318
+ });
51319
+ this._inProgressChanges.push(progressChange);
50673
51320
  this.handlePromiseValue(event, value);
50674
51321
  return;
50675
51322
  }
@@ -50683,20 +51330,26 @@ class GridEditionManager {
50683
51330
  const resolved = await value;
50684
51331
  return this.updateCellValue(event, resolved);
50685
51332
  }
50686
- updateCellValue(event, newValue) {
50687
- var _a;
51333
+ async updateCellValue(event, newValue) {
51334
+ var _a, _b, _c;
50688
51335
  const fieldName = event.colDef.field;
50689
51336
  const fieldDescriptor = this._dataUnit.getField(fieldName);
50690
51337
  if (newValue == '' && newValue != this._dataUnit.getFieldValue(fieldName) && (fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.userInterface) === core.UserInterface.SEARCH) {
50691
51338
  newValue = this._dataUnit.getFieldValue(fieldName);
50692
51339
  }
51340
+ const newData = { [fieldName]: newValue };
51341
+ const descriptionColName = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.properties) === null || _a === void 0 ? void 0 : _a[constants.PRESENTATION_COL_ID_PROP_NAME];
51342
+ if (!core.StringUtils.isEmpty(descriptionColName)) {
51343
+ newData[descriptionColName] = newValue === null || newValue === void 0 ? void 0 : newValue.label;
51344
+ }
50693
51345
  event.node.setData(Object.assign(Object.assign({}, event.data), { [fieldName]: newValue }));
50694
- (_a = this._currentEditLock) === null || _a === void 0 ? void 0 : _a.call(this);
51346
+ (_b = this._currentEditLock) === null || _b === void 0 ? void 0 : _b.call(this);
50695
51347
  if (event.oldValue !== newValue) {
50696
51348
  this._isGridEdition = true;
50697
- this._dataUnit.setFieldValue(fieldName, newValue, [event.data.__record__id__], { suppressCreateNewRecord: true });
51349
+ await this._dataUnit.setFieldValue(fieldName, newValue, [event.data.__record__id__], { suppressCreateNewRecord: true });
50698
51350
  this._lastCellEdited = { rowIndex: event.rowIndex, column: event.column, rowPinned: undefined };
50699
51351
  }
51352
+ (_c = this._inProgressChanges) === null || _c === void 0 ? void 0 : _c.forEach(({ resolve }) => resolve(newValue));
50700
51353
  }
50701
51354
  setCellEditors(customEditors) {
50702
51355
  var _a;
@@ -51485,10 +52138,12 @@ var RangeService = /** @class */ (function (_super) {
51485
52138
  var isSameColumn = columnFrom === columnTo;
51486
52139
  var fromIndex = allColumns.indexOf(columnFrom);
51487
52140
  if (fromIndex < 0) {
52141
+ console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
51488
52142
  return;
51489
52143
  }
51490
52144
  var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
51491
52145
  if (toIndex < 0) {
52146
+ console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
51492
52147
  return;
51493
52148
  }
51494
52149
  if (isSameColumn) {
@@ -52423,10 +53078,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
52423
53078
  };
52424
53079
  ServerSideRowModel.prototype.verifyProps = function () {
52425
53080
  if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
52426
- _.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
53081
+ 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.";
53082
+ _.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
52427
53083
  }
52428
53084
  if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
52429
- _.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
53085
+ var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
53086
+ _.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
52430
53087
  }
52431
53088
  };
52432
53089
  ServerSideRowModel.prototype.setDatasource = function (datasource) {
@@ -52976,6 +53633,11 @@ var BlockUtils = /** @class */ (function (_super) {
52976
53633
  rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
52977
53634
  if (rowNode.key === null || rowNode.key === undefined) {
52978
53635
  _.doOnce(function () {
53636
+ console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
53637
+ if (rowNode.rowGroupColumn) {
53638
+ console.warn("column = " + rowNode.rowGroupColumn.getId());
53639
+ }
53640
+ console.warn("data is ", rowNode.data);
52979
53641
  }, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
52980
53642
  }
52981
53643
  };
@@ -53092,6 +53754,7 @@ var BlockUtils = /** @class */ (function (_super) {
53092
53754
  var bottomPointer = 0;
53093
53755
  var topPointer = rowNodes.length - 1;
53094
53756
  if (_.missing(topPointer) || _.missing(bottomPointer)) {
53757
+ console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
53095
53758
  return undefined;
53096
53759
  }
53097
53760
  while (true) {
@@ -53120,6 +53783,7 @@ var BlockUtils = /** @class */ (function (_super) {
53120
53783
  topPointer = midPointer - 1;
53121
53784
  }
53122
53785
  else {
53786
+ console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
53123
53787
  return undefined;
53124
53788
  }
53125
53789
  }
@@ -53235,6 +53899,11 @@ var NodeManager = /** @class */ (function () {
53235
53899
  }
53236
53900
  NodeManager.prototype.addRowNode = function (rowNode) {
53237
53901
  var id = rowNode.id;
53902
+ if (this.rowNodes[id]) {
53903
+ 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.");
53904
+ console.warn('first instance', this.rowNodes[id].data);
53905
+ console.warn('second instance', rowNode.data);
53906
+ }
53238
53907
  this.rowNodes[id] = rowNode;
53239
53908
  };
53240
53909
  NodeManager.prototype.removeNode = function (rowNode) {
@@ -54166,7 +54835,8 @@ var InfiniteStore = /** @class */ (function (_super) {
54166
54835
  Object.assign(this.info, info);
54167
54836
  }
54168
54837
  if (!params.rowData) {
54169
- _.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
54838
+ 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.';
54839
+ _.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
54170
54840
  }
54171
54841
  var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
54172
54842
  // if we are not active, then we ignore all events, otherwise we could end up getting the
@@ -54925,7 +55595,8 @@ var FullStore = /** @class */ (function (_super) {
54925
55595
  this.nodesAfterFilter = [];
54926
55596
  this.allNodesMap = {};
54927
55597
  if (!params.rowData) {
54928
- _.doOnce(function () { return (void 0); }, 'FullStore.noData');
55598
+ 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.';
55599
+ _.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
54929
55600
  }
54930
55601
  this.createOrRecycleNodes(nodesToRecycle, params.rowData);
54931
55602
  if (nodesToRecycle) {
@@ -55300,6 +55971,7 @@ var FullStore = /** @class */ (function (_super) {
55300
55971
  });
55301
55972
  rowNode = this.allNodesMap[id];
55302
55973
  if (!rowNode) {
55974
+ console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
55303
55975
  return null;
55304
55976
  }
55305
55977
  }
@@ -55307,6 +55979,7 @@ var FullStore = /** @class */ (function (_super) {
55307
55979
  // find rowNode using object references
55308
55980
  rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
55309
55981
  if (!rowNode) {
55982
+ console.error("AG Grid: could not find data item as object was not found", data);
55310
55983
  return null;
55311
55984
  }
55312
55985
  }
@@ -55454,11 +56127,15 @@ var StoreFactory = /** @class */ (function () {
55454
56127
  return undefined;
55455
56128
  }
55456
56129
  if (ssrmParams.dynamicRowHeight) {
55457
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
56130
+ var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
56131
+ 'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
56132
+ _.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
55458
56133
  return undefined;
55459
56134
  }
55460
56135
  if (this.columnModel.isAutoRowHeightActive()) {
55461
- _.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
56136
+ var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
56137
+ 'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
56138
+ _.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
55462
56139
  return undefined;
55463
56140
  }
55464
56141
  return maxBlocksInCache;
@@ -55686,6 +56363,7 @@ var Downloader = /** @class */ (function () {
55686
56363
  Downloader.download = function (fileName, content) {
55687
56364
  var win = document.defaultView || window;
55688
56365
  if (!win) {
56366
+ console.warn('AG Grid: There is no `window` associated with the current `document`');
55689
56367
  return;
55690
56368
  }
55691
56369
  var element = document.createElement('a');
@@ -55819,6 +56497,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
55819
56497
  stringValue = value.toString();
55820
56498
  }
55821
56499
  else {
56500
+ console.warn('AG Grid: unknown value type during csv conversion');
55822
56501
  stringValue = '';
55823
56502
  }
55824
56503
  // replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
@@ -55873,6 +56552,7 @@ var CsvCreator = /** @class */ (function (_super) {
55873
56552
  };
55874
56553
  CsvCreator.prototype.export = function (userParams) {
55875
56554
  if (this.isExportSuppressed()) {
56555
+ console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
55876
56556
  return '';
55877
56557
  }
55878
56558
  var mergedParams = this.getMergedParams(userParams);
@@ -55992,7 +56672,7 @@ var GridSerializer = /** @class */ (function (_super) {
55992
56672
  var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
55993
56673
  var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
55994
56674
  if (skipRowGroups && params.skipGroups) {
55995
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
56675
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
55996
56676
  }
55997
56677
  if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
55998
56678
  (params.onlySelected && !node.isSelected()) ||
@@ -56026,7 +56706,7 @@ var GridSerializer = /** @class */ (function (_super) {
56026
56706
  var appendContent = params.customFooter || params.appendContent;
56027
56707
  if (appendContent) {
56028
56708
  if (params.customFooter) {
56029
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
56709
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
56030
56710
  }
56031
56711
  gridSerializingSession.addCustomContent(appendContent);
56032
56712
  }
@@ -56038,7 +56718,7 @@ var GridSerializer = /** @class */ (function (_super) {
56038
56718
  var prependContent = params.customHeader || params.prependContent;
56039
56719
  if (prependContent) {
56040
56720
  if (params.customHeader) {
56041
- _.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
56721
+ _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
56042
56722
  }
56043
56723
  gridSerializingSession.addCustomContent(prependContent);
56044
56724
  }
@@ -56060,7 +56740,7 @@ var GridSerializer = /** @class */ (function (_super) {
56060
56740
  _this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
56061
56741
  }
56062
56742
  else if (params.columnGroups) {
56063
- _.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
56743
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
56064
56744
  }
56065
56745
  return gridSerializingSession;
56066
56746
  };
@@ -56074,7 +56754,7 @@ var GridSerializer = /** @class */ (function (_super) {
56074
56754
  });
56075
56755
  }
56076
56756
  else if (params.skipHeader) {
56077
- _.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
56757
+ _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
56078
56758
  }
56079
56759
  return gridSerializingSession;
56080
56760
  };
@@ -56322,6 +57002,12 @@ var ClipboardService = /** @class */ (function (_super) {
56322
57002
  .then(this.processClipboardData.bind(this))
56323
57003
  .catch(function (e) {
56324
57004
  _.doOnce(function () {
57005
+ console.warn(e);
57006
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
57007
+ 'The reason why it could not be used has been logged in the previous line. ' +
57008
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
57009
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
57010
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
56325
57011
  }, 'clipboardApiError');
56326
57012
  _this.navigatorApiFailed = true;
56327
57013
  _this.pasteFromClipboardLegacy();
@@ -56848,6 +57534,12 @@ var ClipboardService = /** @class */ (function (_super) {
56848
57534
  if (allowNavigator && navigator.clipboard) {
56849
57535
  navigator.clipboard.writeText(data).catch(function (e) {
56850
57536
  _.doOnce(function () {
57537
+ console.warn(e);
57538
+ console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
57539
+ 'The reason why it could not be used has been logged in the previous line. ' +
57540
+ 'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
57541
+ 'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
57542
+ 'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
56851
57543
  }, 'clipboardApiError');
56852
57544
  _this.copyDataToClipboardLegacy(data);
56853
57545
  });
@@ -56864,7 +57556,12 @@ var ClipboardService = /** @class */ (function (_super) {
56864
57556
  element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
56865
57557
  element.select();
56866
57558
  element.focus({ preventScroll: true });
56867
- eDocument.execCommand('copy');
57559
+ var result = eDocument.execCommand('copy');
57560
+ if (!result) {
57561
+ console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
57562
+ 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
57563
+ 'the browser will prevent it for security reasons.');
57564
+ }
56868
57565
  if (focusedElementBefore != null && focusedElementBefore.focus != null) {
56869
57566
  focusedElementBefore.focus({ preventScroll: true });
56870
57567
  }
@@ -56888,6 +57585,7 @@ var ClipboardService = /** @class */ (function (_super) {
56888
57585
  callbackNow(eTempInput);
56889
57586
  }
56890
57587
  catch (err) {
57588
+ console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
56891
57589
  }
56892
57590
  //It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
56893
57591
  if (callbackAfter) {
@@ -58160,6 +58858,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
58160
58858
  return false;
58161
58859
  };
58162
58860
  ToolPanelColumnComp.prototype.setExpanded = function (value) {
58861
+ console.warn('AG Grid: can not expand a column item that does not represent a column group header');
58163
58862
  };
58164
58863
  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>";
58165
58864
  __decorate$q([
@@ -58454,7 +59153,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
58454
59153
  expandedGroupIds.push(groupId);
58455
59154
  }
58456
59155
  });
58457
- groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59156
+ var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
59157
+ if (unrecognisedGroupIds.length > 0) {
59158
+ console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
59159
+ }
58458
59160
  };
58459
59161
  PrimaryColsListPanel.prototype.getExpandState = function () {
58460
59162
  var expandedCount = 0;
@@ -58848,6 +59550,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
58848
59550
  this.aggFuncService.getAggFunc(aggFuncOrString) :
58849
59551
  aggFuncOrString;
58850
59552
  if (typeof aggFunc !== 'function') {
59553
+ console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
58851
59554
  return null;
58852
59555
  }
58853
59556
  var aggFuncAny = aggFunc;
@@ -59374,6 +60077,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59374
60077
  GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
59375
60078
  var path = this.getGroupInfo(childNode, details);
59376
60079
  var parentGroup = this.findParentForNode(childNode, path, details);
60080
+ if (!parentGroup.group) {
60081
+ console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
60082
+ }
59377
60083
  if (this.usingTreeData) {
59378
60084
  this.swapGroupWithUserNode(parentGroup, childNode, isMove);
59379
60085
  }
@@ -59511,7 +60217,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
59511
60217
  GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
59512
60218
  var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
59513
60219
  if (keys === null || keys === undefined || keys.length === 0) {
59514
- _.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
60220
+ _.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
59515
60221
  }
59516
60222
  var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
59517
60223
  return keys ? keys.map(groupInfoMapper) : [];
@@ -62236,6 +62942,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
62236
62942
  var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
62237
62943
  var componentPromise = compDetails.newAgStackInstance();
62238
62944
  if (componentPromise == null) {
62945
+ console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
62239
62946
  return;
62240
62947
  }
62241
62948
  componentPromise.then(this.setToolPanelComponent.bind(this));
@@ -62430,6 +63137,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62430
63137
  var _this = this;
62431
63138
  defs.forEach(function (def) {
62432
63139
  if (def.id == null) {
63140
+ console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
62433
63141
  return;
62434
63142
  }
62435
63143
  // helpers, in case user doesn't have the right module loaded
@@ -62475,6 +63183,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
62475
63183
  SideBarComp.prototype.getToolPanelInstance = function (key) {
62476
63184
  var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
62477
63185
  if (!toolPanelWrapper) {
63186
+ console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
62478
63187
  return;
62479
63188
  }
62480
63189
  return toolPanelWrapper.getToolPanelInstance();
@@ -62560,6 +63269,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62560
63269
  }
62561
63270
  ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
62562
63271
  var _this = this;
63272
+ var invalidColIds = [];
62563
63273
  var createDummyColGroup = function (abstractColDef, depth) {
62564
63274
  if (_this.isColGroupDef(abstractColDef)) {
62565
63275
  // creating 'dummy' group which is not associated with grid column group
@@ -62581,6 +63291,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62581
63291
  var colDef = abstractColDef;
62582
63292
  var key = colDef.colId ? colDef.colId : colDef.field;
62583
63293
  var column = _this.columnModel.getPrimaryColumn(key);
63294
+ if (!column) {
63295
+ invalidColIds.push(colDef);
63296
+ }
62584
63297
  return column;
62585
63298
  }
62586
63299
  };
@@ -62592,6 +63305,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
62592
63305
  mappedResults.push(result);
62593
63306
  }
62594
63307
  });
63308
+ if (invalidColIds.length > 0) {
63309
+ console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
63310
+ }
62595
63311
  return mappedResults;
62596
63312
  };
62597
63313
  ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
@@ -63146,10 +63862,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
63146
63862
  };
63147
63863
  EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
63148
63864
  var isValid = true;
63865
+ var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
63149
63866
  if (this.restrictTo != null) {
63150
63867
  isValid = this.restrictTo.indexOf(menuTabName) > -1;
63868
+ itemsToConsider = this.restrictTo;
63151
63869
  }
63152
63870
  isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
63871
+ if (!isValid) {
63872
+ console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
63873
+ }
63153
63874
  return isValid;
63154
63875
  };
63155
63876
  EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
@@ -63860,6 +64581,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
63860
64581
  return chartMenuItem;
63861
64582
  }
63862
64583
  else {
64584
+ console.warn("AG Grid: unknown menu item type " + key);
63863
64585
  return null;
63864
64586
  }
63865
64587
  }
@@ -64103,7 +64825,8 @@ class AgGridController {
64103
64825
  }
64104
64826
  showFilterColumn(configs) {
64105
64827
  var _a;
64106
- (_a = this._filterColumn) === null || _a === void 0 ? void 0 : _a.show(configs);
64828
+ const presentationMetadata = this.resolveDescriptionColMetadata(configs.columnName);
64829
+ (_a = this._filterColumn) === null || _a === void 0 ? void 0 : _a.show(Object.assign(Object.assign({}, configs), { fieldDescriptor: presentationMetadata }));
64107
64830
  }
64108
64831
  constructor(_enterprise) {
64109
64832
  this.DEFAULT_ROW_HEIGHT = 30;
@@ -64124,6 +64847,7 @@ class AgGridController {
64124
64847
  this._customFormatters = new Map();
64125
64848
  this._gridShowDom = false;
64126
64849
  this.peddingExecutionsOnGridShow = [];
64850
+ this._lastColsConfig = undefined;
64127
64851
  ModuleRegistry.registerModules([
64128
64852
  EnterpriseCoreModule,
64129
64853
  RangeSelectionModule,
@@ -64135,8 +64859,25 @@ class AgGridController {
64135
64859
  getGridConfig() {
64136
64860
  return this._gridConfig;
64137
64861
  }
64138
- locateColumn(columnName) {
64862
+ locateColumn(columnName, gridElement) {
64139
64863
  this._gridOptions.api.ensureColumnVisible(columnName);
64864
+ requestAnimationFrame(() => {
64865
+ this.highlightColumnHeader(columnName, gridElement);
64866
+ });
64867
+ }
64868
+ highlightColumnHeader(columnName, gridElement) {
64869
+ const headerElement = gridElement.querySelector(`.ag-header-cell[col-id="${columnName}"]`);
64870
+ if (!headerElement)
64871
+ return;
64872
+ headerElement.classList.add("ez-grid__column-highlight-header");
64873
+ headerElement.setAttribute("tabindex", "0");
64874
+ const removeHighlight = (event) => {
64875
+ if (!headerElement.contains(event.target)) {
64876
+ headerElement.classList.remove("ez-grid__column-highlight-header");
64877
+ document.removeEventListener("click", removeHighlight);
64878
+ }
64879
+ };
64880
+ document.addEventListener("click", removeHighlight);
64140
64881
  }
64141
64882
  getSort(_dataUnitName, defaultSorting) {
64142
64883
  const sortedColumns = [];
@@ -64158,10 +64899,15 @@ class AgGridController {
64158
64899
  return;
64159
64900
  }
64160
64901
  return Array.from(this._filteredColumns.entries())
64161
- .map(([column, items]) => {
64902
+ .map(([col, items]) => {
64162
64903
  var _a;
64163
64904
  const checkedOptions = items.filter(option => option.check);
64164
64905
  if (checkedOptions.length > 0) {
64906
+ let column = col;
64907
+ const presentationFrom = this.getCodeColFromDescriptionCol(col);
64908
+ if (!core.StringUtils.isEmpty(presentationFrom)) {
64909
+ column = presentationFrom;
64910
+ }
64165
64911
  const fieldDescriptor = this._dataUnit.getField(column);
64166
64912
  const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : core.DataType.TEXT;
64167
64913
  let placeholders = '';
@@ -64228,6 +64974,7 @@ class AgGridController {
64228
64974
  this._dataUnit.addFilterProvider(this);
64229
64975
  }
64230
64976
  this._gridOptions = {
64977
+ suppressHorizontalScroll: options.suppressHorizontalScroll,
64231
64978
  localeText: gridTerms,
64232
64979
  enableRangeSelection: this._multipleSelection,
64233
64980
  rowSelection: this._multipleSelection ? 'multiple' : 'single',
@@ -64355,6 +65102,23 @@ class AgGridController {
64355
65102
  action: () => this.showFilterColumn({ columnName, columnLabel, leftPosition: this._filterColumnleftPosition, filteredOptions: this._filteredColumns.get(columnName) }),
64356
65103
  };
64357
65104
  }
65105
+ resolveDescriptionColMetadata(columnName) {
65106
+ var _a;
65107
+ const colDef = (_a = this._gridOptions.columnApi.getColumn(columnName)) === null || _a === void 0 ? void 0 : _a.getColDef();
65108
+ const presentationFrom = this.getCodeColFromDescriptionCol(columnName);
65109
+ if (!core.StringUtils.isEmpty(presentationFrom)) {
65110
+ return {
65111
+ label: colDef.headerName,
65112
+ name: columnName,
65113
+ userInterface: core.UserInterface.SHORTTEXT,
65114
+ dataType: core.DataType.TEXT,
65115
+ properties: {
65116
+ [constants.PRESENTATION_FROM_COL_PROP_NAME]: presentationFrom
65117
+ }
65118
+ };
65119
+ }
65120
+ return undefined;
65121
+ }
64358
65122
  buildMenuItemOptionPin(params) {
64359
65123
  const { column, columnApi } = params;
64360
65124
  const isPinned = params.column.isPinned();
@@ -64681,7 +65445,7 @@ class AgGridController {
64681
65445
  }
64682
65446
  syncSelectWithDataUnit() {
64683
65447
  const rowNode = this._gridOptions.api.getRowNode(this._dataUnit.getSelectedRecord().__record__id__);
64684
- if ((rowNode === null || rowNode === void 0 ? void 0 : rowNode.rowIndex) < 0)
65448
+ if (!rowNode || (rowNode === null || rowNode === void 0 ? void 0 : rowNode.rowIndex) < 0)
64685
65449
  return;
64686
65450
  const rowRange = this._gridOptions.api.getCellRanges().find(row => row.startRow.rowIndex === rowNode.rowIndex);
64687
65451
  if ((rowRange === null || rowRange === void 0 ? void 0 : rowRange.columns.length) > 0) {
@@ -64718,7 +65482,9 @@ class AgGridController {
64718
65482
  }
64719
65483
  }
64720
65484
  isColumnEditable(rowIndex, column) {
64721
- if (column.getColDef().headerName === '' || rowIndex === -1)
65485
+ if (column.getColDef().headerName === ''
65486
+ || column.getColDef().headerName === this.CHECK_BOX_COL_ID
65487
+ || rowIndex === -1)
64722
65488
  return false;
64723
65489
  const rowId = this._dataUnit.records[rowIndex][this._idAttribName];
64724
65490
  const rowNode = this._gridOptions.api.getRowNode(rowId);
@@ -64736,7 +65502,7 @@ class AgGridController {
64736
65502
  this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
64737
65503
  }
64738
65504
  setColumnsDef(cols) {
64739
- const checkBoxColumn = Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: '', checkboxSelection: true, width: 29, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, (this._multipleSelection && { headerComponent: 'ezGridHeaderComponent', headerClass: 'ag-column-select-header' }));
65505
+ const checkBoxColumn = Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: this.CHECK_BOX_COL_ID, checkboxSelection: true, width: 29, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, (this._multipleSelection && { headerComponent: 'ezGridHeaderComponent', headerClass: 'ag-column-select-header' }));
64740
65506
  const newColDefs = this._options.suppressCheckBoxCol ? [] : [checkBoxColumn];
64741
65507
  if (this._statusResolver != undefined) {
64742
65508
  newColDefs.push({
@@ -64757,6 +65523,7 @@ class AgGridController {
64757
65523
  cellStyle: {
64758
65524
  'text-align': 'center',
64759
65525
  },
65526
+ suppressNavigable: true,
64760
65527
  });
64761
65528
  }
64762
65529
  cols.forEach(c => {
@@ -64764,8 +65531,39 @@ class AgGridController {
64764
65531
  });
64765
65532
  this._colDefs = newColDefs;
64766
65533
  if (this._gridOptions && this._gridOptions.api) {
65534
+ this.setColsDefsWithStateIfNeeded(this._colDefs);
65535
+ }
65536
+ }
65537
+ setColsDefsWithStateIfNeeded(colDefs) {
65538
+ if (!this._lastColsConfig) {
64767
65539
  this._gridOptions.api.setColumnDefs(this._colDefs);
64768
65540
  }
65541
+ /*
65542
+ Caso a definição de colunas esteja sendo atualizada,
65543
+ e existe uma config aplicada, temos que considerar essa
65544
+ config ao adicionar nova definição de colunas.
65545
+ PS: Poderia apenas chamar o setColumnsState, porém,
65546
+ isso impactaria em performance, e o usuário ia perceber
65547
+ a mudança das colunas visualmente na grade, o que traria
65548
+ uma experiencia ruim.
65549
+ */
65550
+ const colDefsWithConfigs = this.getColsDefWithConfigApplied(colDefs, this._lastColsConfig);
65551
+ this._gridOptions.api.setColumnDefs(colDefsWithConfigs);
65552
+ }
65553
+ getColsDefWithConfigApplied(colDefs, colsConfig) {
65554
+ //Cria map de colunas existentes na config e seu índice
65555
+ const orderMap = colsConfig.reduce((map, col, index) => {
65556
+ map[col.name] = index;
65557
+ return map;
65558
+ }, {});
65559
+ //Remove colunas que não existem na config
65560
+ const filteredColsDefs = colDefs.filter((col) => !orderMap.hasOwnProperty(col.colId));
65561
+ //Ordena colunas baseada na config aplicada
65562
+ const sortedColumnDefs = filteredColsDefs.sort((a, b) => {
65563
+ var _a, _b;
65564
+ return ((_a = orderMap[a.field]) !== null && _a !== void 0 ? _a : Number.MAX_VALUE) - ((_b = orderMap[b.field]) !== null && _b !== void 0 ? _b : Number.MAX_VALUE);
65565
+ });
65566
+ return sortedColumnDefs;
64769
65567
  }
64770
65568
  clearRangeSelection() {
64771
65569
  this._gridOptions.api.clearRangeSelection();
@@ -64802,6 +65600,7 @@ class AgGridController {
64802
65600
  if (this._grid === undefined) {
64803
65601
  throw new Error('Erro interno: Grid ainda não inicializado.');
64804
65602
  }
65603
+ this._lastColsConfig = state;
64805
65604
  const colDef = this._gridOptions.columnApi.getColumns();
64806
65605
  let columns = this.getColumnsDef();
64807
65606
  let visibleColumns = [];
@@ -64810,14 +65609,39 @@ class AgGridController {
64810
65609
  const columnsOffset = colDef.length - columns.length;
64811
65610
  this._gridConfig = state;
64812
65611
  let sort = [];
64813
- state.forEach((cfgColumn, index) => {
65612
+ let currentIndex = 0;
65613
+ state.forEach((cfgColumn) => {
65614
+ var _a, _b;
64814
65615
  const colWidth = this.getColumnWidth(cfgColumn);
64815
- this._gridOptions.columnApi.moveColumn(cfgColumn.name, index + columnsOffset);
65616
+ this._gridOptions.columnApi.moveColumn(cfgColumn.name, currentIndex + columnsOffset);
64816
65617
  this._gridOptions.columnApi.setColumnWidth(cfgColumn.name, colWidth);
64817
65618
  visibleColumns.push(cfgColumn.name);
64818
65619
  if (cfgColumn.ascending !== undefined) {
64819
65620
  sort.push({ colId: cfgColumn.name, sort: cfgColumn.ascending !== true ? 'desc' : 'asc', sortIndex: cfgColumn.orderIndex });
64820
65621
  }
65622
+ currentIndex++;
65623
+ const fieldMD = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
65624
+ /*
65625
+ Migração para o SEARCHPLUS, caso de uso:
65626
+ - Agora existe uma coluna para o campo de descrição do relaciona
65627
+ - Essa col, não existe na config da grade que já foi salva pelo DS
65628
+ - Nesse caso, precisamos inserir a coluna de descrição automaticamente para que
65629
+ os usuários não percam a apresentação do campo de descrição.
65630
+ PS: Caso esteja herdando do HTML5, devemos manter a config como está la
65631
+ */
65632
+ if (this.needToAddDescriptionColumn(cfgColumn, fieldMD, state)) {
65633
+ const descriptionColID = (_b = fieldMD === null || fieldMD === void 0 ? void 0 : fieldMD.properties) === null || _b === void 0 ? void 0 : _b[constants.PRESENTATION_COL_ID_PROP_NAME];
65634
+ if (!descriptionColID)
65635
+ return;
65636
+ const descriptionCol = this._gridOptions.columnApi.getColumn(descriptionColID);
65637
+ const descriptionColDef = descriptionCol === null || descriptionCol === void 0 ? void 0 : descriptionCol.getColDef();
65638
+ const descriptionHeaderName = descriptionColDef === null || descriptionColDef === void 0 ? void 0 : descriptionColDef.headerName;
65639
+ const descriptionColSize = this.getColumnWidthByLabel(descriptionHeaderName);
65640
+ this._gridOptions.columnApi.moveColumn(descriptionColID, currentIndex + columnsOffset);
65641
+ this._gridOptions.columnApi.setColumnWidth(descriptionColID, descriptionColSize);
65642
+ visibleColumns.push(descriptionColID);
65643
+ currentIndex++;
65644
+ }
64821
65645
  });
64822
65646
  let invisibleColumns = columns.filter(column => !visibleColumns.includes(column.name)).map(column => column.name);
64823
65647
  this._gridOptions.columnApi.setColumnsVisible(visibleColumns, true);
@@ -64827,6 +65651,16 @@ class AgGridController {
64827
65651
  defaultState: { sort: null },
64828
65652
  });
64829
65653
  }
65654
+ needToAddDescriptionColumn(cfgColumn, fieldMD, stateConfig) {
65655
+ var _a, _b;
65656
+ if (!fieldMD) {
65657
+ return false;
65658
+ }
65659
+ const configVersion = ((_a = cfgColumn.configVersion) !== null && _a !== void 0 ? _a : 0);
65660
+ const isSearchPlus = (fieldMD === null || fieldMD === void 0 ? void 0 : fieldMD.userInterface) == core.UserInterface.SEARCHPLUS;
65661
+ const descriptionColID = (_b = fieldMD === null || fieldMD === void 0 ? void 0 : fieldMD.properties) === null || _b === void 0 ? void 0 : _b[constants.PRESENTATION_COL_ID_PROP_NAME];
65662
+ return isSearchPlus && configVersion < 1 && stateConfig.find(col => col.name === descriptionColID) != undefined;
65663
+ }
64830
65664
  getColumnsState() {
64831
65665
  if (this._grid === undefined) {
64832
65666
  throw new Error('Erro interno: Grid ainda não inicializado.');
@@ -64886,7 +65720,7 @@ class AgGridController {
64886
65720
  return filterOptions.map(item => item.check).includes(true);
64887
65721
  }
64888
65722
  buildColDef(source) {
64889
- var _a, _b, _c;
65723
+ var _a, _b, _c, _d, _e;
64890
65724
  let tooltip = undefined;
64891
65725
  const propSortable = core.StringUtils.getBooleanValue((_a = source.props) === null || _a === void 0 ? void 0 : _a.get('gridSortable'), true);
64892
65726
  if ((_b = source.props) === null || _b === void 0 ? void 0 : _b.get('gridHeaderTooltip')) {
@@ -64895,6 +65729,7 @@ class AgGridController {
64895
65729
  else if (propSortable === false) {
64896
65730
  tooltip = 'Coluna não pode ser ordenada';
64897
65731
  }
65732
+ 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);
64898
65733
  return this._editionManager.configureColumn({
64899
65734
  headerName: source.label,
64900
65735
  field: source.name,
@@ -64902,18 +65737,27 @@ class AgGridController {
64902
65737
  resizable: true,
64903
65738
  headerComponent: 'ezGridCustomHeader',
64904
65739
  headerComponentParams: {
65740
+ presentationFrom,
64905
65741
  tooltip: tooltip,
64906
65742
  isSortable: propSortable,
64907
65743
  hasFilter: () => this.hasFilterColumn(source.name),
64908
65744
  showColumnFilter: (leftPosition) => this.showFilterColumn({ columnName: source.name, columnLabel: source.label, leftPosition, filteredOptions: this._filteredColumns.get(source.name), fromIcon: true }),
64909
65745
  },
64910
65746
  valueFormatter: params => {
65747
+ var _a, _b, _c;
65748
+ if (presentationFrom) {
65749
+ return (_c = (_b = (_a = params === null || params === void 0 ? void 0 : params.data) === null || _a === void 0 ? void 0 : _a[presentationFrom]) === null || _b === void 0 ? void 0 : _b.label) !== null && _c !== void 0 ? _c : "";
65750
+ }
64911
65751
  if (params.value === undefined || params.value === null) {
64912
65752
  return "";
64913
65753
  }
64914
65754
  if (params.value instanceof Promise) {
64915
65755
  return "Carregando...";
64916
65756
  }
65757
+ if (source.userInterface === core.UserInterface.HTML) {
65758
+ this.setHTMLRender(params, source);
65759
+ return "";
65760
+ }
64917
65761
  const customFormatter = this._customFormatters.get(source.name);
64918
65762
  if (customFormatter) {
64919
65763
  const formattedValue = customFormatter.format(params.value, source, params.data.__record__id__);
@@ -64927,8 +65771,27 @@ class AgGridController {
64927
65771
  return this.getFormatterByColumn(params, source);
64928
65772
  },
64929
65773
  cellStyle: this.getStyleByColumn(source),
65774
+ editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(constants.PRESENTATION_FROM_COL_PROP_NAME))
64930
65775
  });
64931
65776
  }
65777
+ setHTMLRender(params, source) {
65778
+ const htmlSanitized = purify.purify.sanitize(params.value);
65779
+ params.colDef.cellRenderer = (cellParams) => {
65780
+ if (cellParams.node.rowIndex === params.node.rowIndex) {
65781
+ const element = document.createElement('span');
65782
+ element.innerHTML = htmlSanitized;
65783
+ return element;
65784
+ }
65785
+ return cellParams.value;
65786
+ };
65787
+ params.colDef.cellStyle = (cellParams) => {
65788
+ const defaultStyle = this.getStyleByColumn(source);
65789
+ if (cellParams.node.rowIndex === params.node.rowIndex) {
65790
+ return Object.assign(defaultStyle, { padding: 0 });
65791
+ }
65792
+ return defaultStyle;
65793
+ };
65794
+ }
64932
65795
  setCustomFormatters(customFormatters) {
64933
65796
  this._customFormatters = customFormatters;
64934
65797
  }
@@ -64942,8 +65805,11 @@ class AgGridController {
64942
65805
  };
64943
65806
  }
64944
65807
  getStyleByColumn(source) {
65808
+ var _a;
64945
65809
  let cellStyle = this.getInitCellStyle();
64946
- switch (source === null || source === void 0 ? void 0 : source.userInterface) {
65810
+ const primitiveUIType = (_a = source === null || source === void 0 ? void 0 : source.props) === null || _a === void 0 ? void 0 : _a.get("PRIMITIVETUIYPE");
65811
+ const uitype = source === null || source === void 0 ? void 0 : source.userInterface;
65812
+ switch (primitiveUIType !== null && primitiveUIType !== void 0 ? primitiveUIType : uitype) {
64947
65813
  case core.UserInterface.DECIMALNUMBER:
64948
65814
  case core.UserInterface.INTEGERNUMBER:
64949
65815
  cellStyle['text-align'] = 'right';
@@ -64959,7 +65825,7 @@ class AgGridController {
64959
65825
  return cellStyle;
64960
65826
  }
64961
65827
  getFormatterByColumn(params, source) {
64962
- var _a;
65828
+ var _a, _b, _c, _d;
64963
65829
  if ((source === null || source === void 0 ? void 0 : source.userInterface) === 'OPTIONSELECTOR' && source.options) {
64964
65830
  const prop = source === null || source === void 0 ? void 0 : source.options;
64965
65831
  let options;
@@ -64996,6 +65862,9 @@ class AgGridController {
64996
65862
  return params === null || params === void 0 ? void 0 : params.value;
64997
65863
  }
64998
65864
  }
65865
+ if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.SEARCHPLUS) {
65866
+ return (_d = (_c = (_b = params === null || params === void 0 ? void 0 : params.value) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : params === null || params === void 0 ? void 0 : params.value) !== null && _d !== void 0 ? _d : "";
65867
+ }
64999
65868
  if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.DECIMALNUMBER) {
65000
65869
  if (params.value != undefined) {
65001
65870
  const precision = Number(source.props.get('precision')) || 2;
@@ -65169,7 +66038,7 @@ class AgGridController {
65169
66038
  this._gridOptions.api.stopEditing();
65170
66039
  }
65171
66040
  getColumnWidth(cfgColumn) {
65172
- var _a, _b;
66041
+ var _a, _b, _c, _d, _e, _f;
65173
66042
  if (cfgColumn == undefined) {
65174
66043
  return;
65175
66044
  }
@@ -65183,12 +66052,22 @@ class AgGridController {
65183
66052
  return parseWidth + this.DEFAULT_FONT_SIZE_HTML5;
65184
66053
  }
65185
66054
  const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
66055
+ const label = (_b = field === null || field === void 0 ? void 0 : field.label) !== null && _b !== void 0 ? _b : (_f = (_e = (_d = (_c = this._gridOptions) === null || _c === void 0 ? void 0 : _c.columnApi) === null || _d === void 0 ? void 0 : _d.getColumn(cfgColumn.name)) === null || _e === void 0 ? void 0 : _e.getColDef()) === null || _f === void 0 ? void 0 : _f.headerName;
65186
66056
  if ((field === null || field === void 0 ? void 0 : field.userInterface) === core.UserInterface.SEARCH) {
65187
66057
  return this.DEFAULT_MAX_SIZE;
65188
66058
  }
65189
- const labelSize = (((_b = field === null || field === void 0 ? void 0 : field.label) === null || _b === void 0 ? void 0 : _b.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
66059
+ return this.getColumnWidthByLabel(label);
66060
+ }
66061
+ getColumnWidthByLabel(label) {
66062
+ const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
65190
66063
  return labelSize > this.DEFAULT_MAX_SIZE ? this.DEFAULT_MAX_SIZE : labelSize;
65191
66064
  }
66065
+ getCodeColFromDescriptionCol(descriptionColName) {
66066
+ var _a;
66067
+ const colGrid = this._gridOptions.columnApi.getColumn(descriptionColName);
66068
+ const colDef = colGrid === null || colGrid === void 0 ? void 0 : colGrid.getColDef();
66069
+ return (_a = colDef === null || colDef === void 0 ? void 0 : colDef.headerComponentParams) === null || _a === void 0 ? void 0 : _a.presentationFrom;
66070
+ }
65192
66071
  }
65193
66072
 
65194
66073
  function enableSelectAll(total) {
@@ -65365,7 +66244,7 @@ class InMemoryFilterColumnDataSource {
65365
66244
  }
65366
66245
  }
65367
66246
 
65368
- const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color);border:var(--border--small) var(--color--strokes);border-radius:var(--border--radius-small)}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}.grid-header__pagination.sc-ez-grid{justify-content:flex-end;flex-wrap:nowrap;flex-shrink:1;flex-grow:1}.grid-header__pagination-label.sc-ez-grid{width:100%;white-space:nowrap}.overflowed.sc-ez-grid{display:none}.pagination-contracted.sc-ez-grid{width:100px}.pagination-expanded.sc-ez-grid{min-width:150px}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium);box-shadow:var(--shadow--small)}.cancel-pagination.sc-ez-grid{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;padding:8px;width:180px}.cancel-pagination-btn.sc-ez-grid{color:var(--color--error);font-size:var(--text--medium);font-weight:var(--text-weight--large);font-family:var(--font-pattern, Roboto);text-wrap:nowrap;cursor:pointer}.spin.sc-ez-grid{animation-name:spin;animation-duration:5000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}";
66247
+ const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color);border:var(--border--small) var(--color--strokes);border-radius:var(--border--radius-small)}.grid__container.no-scroll.sc-ez-grid{width:100vw}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}.grid-header__pagination.sc-ez-grid{justify-content:flex-end;flex-wrap:nowrap;flex-shrink:1;flex-grow:1}.grid-header__pagination-label.sc-ez-grid{width:100%;white-space:nowrap}.overflowed.sc-ez-grid{display:none}.pagination-contracted.sc-ez-grid{width:100px}.pagination-expanded.sc-ez-grid{min-width:150px}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium);box-shadow:var(--shadow--small)}.cancel-pagination.sc-ez-grid{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;padding:8px;width:180px}.cancel-pagination-btn.sc-ez-grid{color:var(--color--error);font-size:var(--text--medium);font-weight:var(--text-weight--large);font-family:var(--font-pattern, Roboto);text-wrap:nowrap;cursor:pointer}.spin.sc-ez-grid{animation-name:spin;animation-duration:5000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}";
65369
66248
 
65370
66249
  const windowInstace = window;
65371
66250
  const matches = (text, filter) => {
@@ -65413,6 +66292,9 @@ const EzGrid = class {
65413
66292
  this.outlineMode = false;
65414
66293
  this.enableRowTableStriped = true;
65415
66294
  this.compact = false;
66295
+ this.useSearchColumn = true;
66296
+ this.suppressHorizontalScroll = false;
66297
+ this.mode = "complete";
65416
66298
  }
65417
66299
  /**
65418
66300
  * Aplica a definição de colunas.
@@ -65466,7 +66348,7 @@ const EzGrid = class {
65466
66348
  * Localiza determinada coluna tornando-a visível.
65467
66349
  */
65468
66350
  async locateColumn(columnName) {
65469
- this._gridController.locateColumn(columnName);
66351
+ this._gridController.locateColumn(columnName, this._element);
65470
66352
  }
65471
66353
  /**
65472
66354
  * Usa um argumento para filtrar as colunas po label
@@ -65569,6 +66451,14 @@ const EzGrid = class {
65569
66451
  this._showPaginationDescription();
65570
66452
  }
65571
66453
  }
66454
+ async observeModeChange(newMode = this.mode) {
66455
+ if (newMode === "simple") {
66456
+ this.canEdit = false;
66457
+ this.multipleSelection = false;
66458
+ this.suppressCheckboxColumn = true;
66459
+ this.compact = true;
66460
+ }
66461
+ }
65572
66462
  onSelectionChange(evt) {
65573
66463
  this._currentPageSelected = evt.detail.selectionHeaderStatus === true;
65574
66464
  if (this.dataUnit) {
@@ -65821,6 +66711,7 @@ const EzGrid = class {
65821
66711
  enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
65822
66712
  enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
65823
66713
  enableRowTableStriped: this.enableRowTableStriped,
66714
+ suppressHorizontalScroll: this.suppressHorizontalScroll
65824
66715
  });
65825
66716
  if (this.config) {
65826
66717
  this.observeConfig(this.config);
@@ -65921,6 +66812,7 @@ const EzGrid = class {
65921
66812
  }
65922
66813
  connectedCallback() {
65923
66814
  var _a;
66815
+ this.observeModeChange();
65924
66816
  (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.registryListeners();
65925
66817
  }
65926
66818
  componentWillRender() {
@@ -65953,6 +66845,9 @@ const EzGrid = class {
65953
66845
  return this.columnfilterDataSource;
65954
66846
  }
65955
66847
  hideHeader() {
66848
+ if (this.mode === "simple") {
66849
+ return true;
66850
+ }
65956
66851
  return !this._hasLeftButtons && !this._paginationInfo;
65957
66852
  }
65958
66853
  resolveLeftHeaderClass() {
@@ -65989,15 +66884,42 @@ const EzGrid = class {
65989
66884
  this.nextPage();
65990
66885
  }
65991
66886
  }, { description: "Avança para a próxima página.", element: this._element });
66887
+ if (this.useSearchColumn) {
66888
+ this._keyboardManager.bind(searchColumn.SHORTCUT_SEARCH_FIELD, async () => {
66889
+ if (!this._container || !this._ezPopoverSearchColumn)
66890
+ return;
66891
+ const container = this._container.getBoundingClientRect();
66892
+ await searchColumn.focusOnFieldSerch(this._columnSearch);
66893
+ this._ezPopoverSearchColumn.showUnder(this._container, { horizontalGap: container.width - (searchColumn.SEARCH_FIELD_FULL_WIDTH), verticalGap: container.height * -1 });
66894
+ }, { description: searchColumn.LABEL_SEARCH_COLUMN, element: this._element });
66895
+ }
65992
66896
  }
65993
66897
  async removeShortcuts() {
65994
- if (this._keyboardManager) {
65995
- this._keyboardManager
65996
- .unbind("ctrl + .")
65997
- .unbind("ctrl + ,")
65998
- .unbind("ctrl + alt + ArrowLeft")
65999
- .unbind("ctrl + alt + ArrowRight");
66000
- }
66898
+ var _a;
66899
+ (_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
66900
+ }
66901
+ renderFieldSearchColumn() {
66902
+ this._columnSearch = searchColumn.buildFieldSearch({
66903
+ value: core.StringUtils.generateUUID(),
66904
+ label: searchColumn.LABEL_SEARCH_COLUMN,
66905
+ }, ({ argument }) => new Promise(accept => {
66906
+ this.filterColumns(argument).then((columns) => {
66907
+ accept(columns
66908
+ .filter(column => !column.hidden)
66909
+ .map(column => ({ label: column.label, value: column.name })));
66910
+ });
66911
+ }), async (option) => {
66912
+ if (option != undefined && option.value != undefined) {
66913
+ await this.locateColumn(option.value);
66914
+ if (this._ezPopoverSearchColumn) {
66915
+ this._ezPopoverSearchColumn.hide();
66916
+ }
66917
+ if (this._container) {
66918
+ requestAnimationFrame(() => this._container.focus());
66919
+ }
66920
+ }
66921
+ });
66922
+ return this._columnSearch;
66001
66923
  }
66002
66924
  render() {
66003
66925
  var _a;
@@ -66007,11 +66929,12 @@ const EzGrid = class {
66007
66929
  'shadow-mode': !this.outlineMode,
66008
66930
  'no-padding': this.compact,
66009
66931
  'header-overlay': !this.hideHeader(),
66010
- }, ref: elem => (this._container = elem) }), index.h("div", { class: {
66932
+ 'no-scroll': this.suppressHorizontalScroll
66933
+ }, ref: elem => (this._container = elem), tabindex: "0" }), index.h("div", { class: {
66011
66934
  'ez-box ez-padding--small grid-header': true,
66012
66935
  'outline-mode': this.outlineMode,
66013
66936
  'shadow-mode': !this.outlineMode && !this.hideHeader(),
66014
- } }, 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("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
66937
+ }, 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
66015
66938
  ${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
66016
66939
  ` }, 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" }))));
66017
66940
  }
@@ -66020,7 +66943,8 @@ const EzGrid = class {
66020
66943
  static get watchers() { return {
66021
66944
  "config": ["observeConfig"],
66022
66945
  "_paginationInfo": ["updatePaginationTooltip"],
66023
- "paginationCounterMode": ["observePaginationCounterMode"]
66946
+ "paginationCounterMode": ["observePaginationCounterMode"],
66947
+ "mode": ["observeModeChange"]
66024
66948
  }; }
66025
66949
  };
66026
66950
  EzGrid.style = ezGridCss;