@sankhyalabs/ezui 7.3.4 → 7.3.5-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/cjs/{ApplicationUtils-999d2366.js → ApplicationUtils-34e43a14.js} +1 -1
- package/dist/cjs/{search-column-254df8ea.js → DataBinder-cdc66d4e.js} +4 -31
- package/dist/cjs/FormLayout-fe8da83c.js +9 -0
- package/dist/cjs/FormMetadata-16c68f51.js +278 -0
- package/dist/cjs/{app-globals-1fea23aa.js → app-globals-a03da63f.js} +1 -1
- package/dist/cjs/classic-search-list_11.cjs.entry.js +1483 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item.cjs.entry.js +62 -0
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js +38 -15
- package/dist/cjs/ez-classic-date-input.cjs.entry.js +201 -0
- package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +246 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js +144 -18
- package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
- package/dist/cjs/ez-classic-search-plus.cjs.entry.js +420 -0
- package/dist/cjs/ez-classic-search.cjs.entry.js +683 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
- package/dist/cjs/ez-classic-time-input.cjs.entry.js +198 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -3
- package/dist/cjs/ez-combo-box.cjs.entry.js +4 -3
- package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-filter.cjs.entry.js +426 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +130 -37
- package/dist/cjs/ez-form.cjs.entry.js +27 -233
- package/dist/cjs/ez-grid-pagination.cjs.entry.js +331 -0
- package/dist/cjs/ez-grid.cjs.entry.js +984 -267
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +2 -2
- package/dist/cjs/{ez-card-item_5.cjs.entry.js → ez-multi-selection-list_5.cjs.entry.js} +222 -56
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +8 -0
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
- package/dist/cjs/ez-rich-toolbar-arrows_3.cjs.entry.js +57 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js +81 -14
- package/dist/cjs/ez-search-plus.cjs.entry.js +18 -8
- package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +49 -11
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +16 -17
- package/dist/cjs/ez-split-item.cjs.entry.js +7 -5
- package/dist/cjs/ez-split-panel.cjs.entry.js +6 -4
- package/dist/cjs/ez-tabselector.cjs.entry.js +209 -61
- package/dist/cjs/ez-text-input.cjs.entry.js +37 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +3 -3
- package/dist/cjs/filter-column.cjs.entry.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +70 -34
- package/dist/cjs/{index-637af219.js → index-f98939e1.js} +180 -12
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{purify-ef86f048.js → purify-4f39f037.js} +1 -0
- package/dist/cjs/search-column-f1c7a355.js +32 -0
- package/dist/cjs/searchFormatters-051f8677.js +23 -0
- package/dist/cjs/{FormLayout-18853e70.js → types-6a5df0c7.js} +0 -6
- package/dist/collection/collection-manifest.json +65 -3
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +5 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +96 -18
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +44 -0
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +541 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +44 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +586 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.css +33 -5
- package/dist/collection/components/ez-classic-input/ez-classic-input.js +200 -19
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +16 -0
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +583 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.css +126 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.js +1330 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +227 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +316 -0
- package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +428 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +1003 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +221 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +298 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +3 -2
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +14 -0
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +512 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
- package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
- package/dist/collection/components/ez-filter/ez-filter.css +134 -0
- package/dist/collection/components/ez-filter/ez-filter.js +1076 -0
- package/dist/collection/components/ez-filter/interfaces/IFilterChange.js +1 -0
- package/dist/collection/components/ez-filter/interfaces/IFilterCustomField.js +1 -0
- package/dist/collection/components/ez-filter/interfaces/index.js +1 -0
- package/dist/collection/components/ez-form/ez-form.js +30 -4
- package/dist/collection/components/ez-form-view/ez-form-view.css +27 -8
- package/dist/collection/components/ez-form-view/ez-form-view.js +62 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +9 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +9 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +30 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +4 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +12 -5
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +9 -3
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +7 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/structure/index.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +138 -13
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +11 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
- package/dist/collection/components/ez-grid/ez-grid.css +5 -60
- package/dist/collection/components/ez-grid/ez-grid.js +52 -150
- package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
- package/dist/collection/components/ez-grid/utils/index.js +1 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +217 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +516 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +1 -0
- package/dist/collection/components/ez-icon/ez-icon.css +8 -7
- package/dist/collection/components/ez-image-input/ez-image-input.css +189 -0
- package/dist/collection/components/ez-image-input/ez-image-input.js +329 -0
- package/dist/collection/components/ez-modal/ez-modal.css +3 -0
- package/dist/collection/components/ez-popover/ez-popover.js +27 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
- package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
- package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
- package/dist/collection/components/ez-search/ez-search.css +4 -0
- package/dist/collection/components/ez-search/ez-search.js +75 -3
- package/dist/collection/components/ez-search-plus/ez-search-plus.js +11 -2
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.js +20 -15
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +29 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +23 -3
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +9 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +20 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +33 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
- package/dist/collection/components/ez-text-input/ez-text-input.js +38 -1
- package/dist/collection/utils/form/DataBinder.js +2 -2
- package/dist/collection/utils/form/FormMetadata.js +132 -74
- package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
- package/dist/collection/utils/i18n/locales/en-us.js +60 -4
- package/dist/collection/utils/i18n/locales/es-es.js +60 -4
- package/dist/collection/utils/i18n/locales/pt-br.js +60 -4
- package/dist/collection/utils/searchColumn/search-column.js +8 -6
- package/dist/custom-elements/index.d.ts +72 -0
- package/dist/custom-elements/index.js +5231 -572
- package/dist/esm/{ApplicationUtils-7270d89f.js → ApplicationUtils-aaf24be5.js} +1 -1
- package/dist/esm/{search-column-d98f7d96.js → DataBinder-81d15b1b.js} +5 -28
- package/dist/esm/FormLayout-bda67973.js +9 -0
- package/dist/esm/FormMetadata-112f11d8.js +276 -0
- package/dist/esm/{RichToolbarHelper-f3a149c4.js → RichToolbarHelper-cad0978a.js} +1 -1
- package/dist/esm/{app-globals-6208a4b6.js → app-globals-d5fb68f0.js} +1 -1
- package/dist/esm/classic-search-list_11.entry.js +1469 -0
- package/dist/esm/ez-actions-button.entry.js +4 -3
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-avatar.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-card-item.entry.js +58 -0
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-classic-combo-box.entry.js +38 -15
- package/dist/esm/ez-classic-date-input.entry.js +197 -0
- package/dist/esm/ez-classic-date-time-input.entry.js +242 -0
- package/dist/esm/ez-classic-input.entry.js +145 -19
- package/dist/esm/ez-classic-number-input.entry.js +201 -0
- package/dist/esm/ez-classic-search-plus.entry.js +416 -0
- package/dist/esm/ez-classic-search.entry.js +679 -0
- package/dist/esm/ez-classic-text-area.entry.js +13 -2
- package/dist/esm/ez-classic-time-input.entry.js +194 -0
- package/dist/esm/ez-collapsible-box.entry.js +4 -3
- package/dist/esm/ez-combo-box.entry.js +4 -3
- package/dist/esm/ez-date-input.entry.js +1 -1
- package/dist/esm/ez-date-time-input.entry.js +1 -1
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-double-list.entry.js +1 -1
- package/dist/esm/ez-dropdown.entry.js +1 -1
- package/dist/esm/ez-empty-card.entry.js +1 -1
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-filter.entry.js +422 -0
- package/dist/esm/ez-form-view.entry.js +130 -37
- package/dist/esm/ez-form.entry.js +15 -221
- package/dist/esm/ez-grid-pagination.entry.js +327 -0
- package/dist/esm/ez-grid.entry.js +980 -263
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +2 -2
- package/dist/esm/{ez-card-item_5.entry.js → ez-multi-selection-list_5.entry.js} +224 -58
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-pagination.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +8 -0
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-record-navigation.entry.js +117 -0
- package/dist/esm/ez-rich-toolbar-arrows_3.entry.js +51 -0
- package/dist/esm/ez-scroller_2.entry.js +81 -14
- package/dist/esm/ez-search-plus.entry.js +15 -5
- package/dist/esm/ez-search-result-list.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +44 -6
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-skeleton.entry.js +1 -1
- package/dist/esm/ez-sortable-list.entry.js +2 -2
- package/dist/esm/ez-spinner.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +16 -17
- package/dist/esm/ez-split-item.entry.js +7 -5
- package/dist/esm/ez-split-panel.entry.js +6 -4
- package/dist/esm/ez-tabselector.entry.js +209 -61
- package/dist/esm/ez-text-input.entry.js +37 -0
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +2 -2
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +1 -1
- package/dist/esm/index-baa5e267.js +70 -34
- package/dist/esm/{index-8088eb6e.js → index-d37095f4.js} +180 -12
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{purify-96c0d5c2.js → purify-f52f5419.js} +1 -0
- package/dist/esm/search-column-8b15de9a.js +27 -0
- package/dist/esm/searchFormatters-6d9b06e4.js +20 -0
- package/dist/esm/{FormLayout-071d324c.js → types-6f6b2650.js} +1 -7
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0583e935.entry.js +1 -0
- package/dist/ezui/p-05af2c30.entry.js +1 -0
- package/dist/ezui/p-0d80e3ec.entry.js +1 -0
- package/dist/ezui/{p-fadf0509.entry.js → p-0ec3061a.entry.js} +1 -1
- package/dist/ezui/p-0f6e6ff6.entry.js +1 -0
- package/dist/ezui/p-10da38bf.js +1 -0
- package/dist/ezui/p-1283b53a.entry.js +1 -0
- package/dist/ezui/p-133c9bac.entry.js +1 -0
- package/dist/ezui/p-178cb9df.entry.js +1 -0
- package/dist/ezui/p-1878f204.entry.js +1 -0
- package/dist/ezui/p-1a017dc3.entry.js +1 -0
- package/dist/ezui/{p-513baabe.entry.js → p-1b3151a3.entry.js} +1 -1
- package/dist/ezui/p-1e82a5b6.entry.js +1 -0
- package/dist/ezui/p-20059180.js +1 -0
- package/dist/ezui/{p-87d12992.entry.js → p-2b467976.entry.js} +1 -1
- package/dist/ezui/p-2c74a7c2.entry.js +1 -0
- package/dist/ezui/p-2fe3d4c5.entry.js +1 -0
- package/dist/ezui/p-3a3926dd.entry.js +1 -0
- package/dist/ezui/{p-bf5b6db2.entry.js → p-3ff798b2.entry.js} +1 -1
- package/dist/ezui/p-47e4a8ce.js +1 -0
- package/dist/ezui/p-49bc0b59.entry.js +1 -0
- package/dist/ezui/{p-95a521ce.entry.js → p-4f48f23a.entry.js} +1 -1
- package/dist/ezui/p-53ed3234.entry.js +1 -0
- package/dist/ezui/p-5895e687.js +1 -0
- package/dist/ezui/{p-f90e8299.js → p-58ce160e.js} +1 -1
- package/dist/ezui/{p-b663ec25.entry.js → p-5a1abe6a.entry.js} +1 -1
- package/dist/ezui/p-5af2fb3b.entry.js +1 -0
- package/dist/ezui/{p-8a74deab.entry.js → p-62f331fe.entry.js} +1 -1
- package/dist/ezui/p-63409a57.entry.js +1 -0
- package/dist/ezui/p-6369a0cd.entry.js +1 -0
- package/dist/ezui/p-638a30d0.js +1 -0
- package/dist/ezui/{p-27fd20cf.entry.js → p-65215a4f.entry.js} +1 -1
- package/dist/ezui/p-65b9fe4c.entry.js +1 -0
- package/dist/ezui/{p-f949bb8b.entry.js → p-68107165.entry.js} +1 -1
- package/dist/ezui/{p-f14b1400.entry.js → p-7a0a96fa.entry.js} +1 -1
- package/dist/ezui/p-7f7b4b9b.js +1 -0
- package/dist/ezui/p-83781530.entry.js +1 -0
- package/dist/ezui/p-88a115b3.js +1 -0
- package/dist/ezui/p-8c339d46.entry.js +1 -0
- package/dist/ezui/{p-8bbb3df7.entry.js → p-8d346a47.entry.js} +1 -1
- package/dist/ezui/{p-7ab75605.entry.js → p-8ddeb58b.entry.js} +1 -1
- package/dist/ezui/p-989849b8.entry.js +1 -0
- package/dist/ezui/{p-1cfe7c1b.entry.js → p-9bff4320.entry.js} +1 -1
- package/dist/ezui/{p-e2fe1b5d.entry.js → p-9c0fdc8e.entry.js} +1 -1
- package/dist/ezui/p-abfbbe1e.entry.js +1 -0
- package/dist/ezui/{p-b6bc4499.entry.js → p-af0196b7.entry.js} +1 -1
- package/dist/ezui/p-b29d9b0e.entry.js +1 -0
- package/dist/ezui/{p-4d30b703.entry.js → p-b50289bb.entry.js} +1 -1
- package/dist/ezui/{p-3e767a74.js → p-b50ed164.js} +1 -1
- package/dist/ezui/p-bcf0460e.entry.js +1 -0
- package/dist/ezui/{p-e50e1c80.entry.js → p-bd7c1dd6.entry.js} +1 -1
- package/dist/ezui/p-bf3c7f5f.entry.js +1 -0
- package/dist/ezui/{p-f9054bd6.entry.js → p-c086e527.entry.js} +1 -1
- package/dist/ezui/p-c6f28649.entry.js +309 -0
- package/dist/ezui/{p-efd28447.entry.js → p-ca707def.entry.js} +2 -2
- package/dist/ezui/{p-8ddeb513.entry.js → p-ce4d51eb.entry.js} +1 -1
- package/dist/ezui/p-d393677b.entry.js +1 -0
- package/dist/ezui/p-d6f50207.entry.js +1 -0
- package/dist/ezui/{p-25c1aa0a.js → p-d878fb19.js} +1 -1
- package/dist/ezui/p-df1cb82b.entry.js +1 -0
- package/dist/ezui/p-df539dd1.entry.js +1 -0
- package/dist/ezui/p-df6173c8.entry.js +1 -0
- package/dist/ezui/{p-30425ea2.entry.js → p-e11574fb.entry.js} +1 -1
- package/dist/ezui/p-e25a7874.entry.js +1 -0
- package/dist/ezui/{p-fa5cc755.entry.js → p-e2defb84.entry.js} +1 -1
- package/dist/ezui/{p-abe0dd62.entry.js → p-e95d93ba.entry.js} +1 -1
- package/dist/ezui/p-ea184272.entry.js +1 -0
- package/dist/ezui/{p-fa6732f2.entry.js → p-efea2c79.entry.js} +1 -1
- package/dist/ezui/p-f60a6b1f.js +1 -0
- package/dist/ezui/{p-ce269c9c.entry.js → p-ff79e5c2.entry.js} +1 -1
- package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +11 -3
- package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +91 -0
- package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +95 -0
- package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +24 -1
- package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +101 -0
- package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +219 -0
- package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +29 -0
- package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +189 -0
- package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +29 -0
- package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
- package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
- package/dist/types/components/ez-filter/ez-filter.d.ts +207 -0
- package/dist/types/components/ez-filter/interfaces/IFilterChange.d.ts +13 -0
- package/dist/types/components/ez-filter/interfaces/IFilterCustomField.d.ts +34 -0
- package/dist/types/components/ez-filter/interfaces/index.d.ts +2 -0
- package/dist/types/components/ez-form/ez-form.d.ts +6 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +11 -0
- package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +9 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +3 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +5 -4
- package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +2 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +3 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +14 -0
- package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
- package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
- package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
- package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
- package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +91 -0
- package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +7 -0
- package/dist/types/components/ez-image-input/ez-image-input.d.ts +43 -0
- package/dist/types/components/ez-popover/ez-popover.d.ts +9 -0
- package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
- package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
- package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
- package/dist/types/components/ez-search/ez-search.d.ts +12 -1
- package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +1 -0
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +4 -0
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +4 -0
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +42 -20
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
- package/dist/types/components.d.ts +3747 -2031
- package/dist/types/utils/form/FormMetadata.d.ts +2 -1
- package/dist/types/utils/form/interfaces/FormLayout.d.ts +3 -1
- package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +3 -0
- package/dist/types/utils/form/interfaces/ITabConfig.d.ts +3 -0
- package/dist/types/utils/i18n/locales/en-us.d.ts +59 -3
- package/dist/types/utils/i18n/locales/es-es.d.ts +59 -3
- package/dist/types/utils/i18n/locales/pt-br.d.ts +59 -3
- package/dist/types/utils/i18n/translations.d.ts +177 -9
- package/package.json +5 -5
- package/react/components.d.ts +12 -0
- package/react/components.js +12 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ApplicationUtils-999d2366.js.gz +0 -0
- package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
- package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
- package/dist/cjs/DialogType-2114c337.js.gz +0 -0
- package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
- package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
- package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
- package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
- package/dist/cjs/app-globals-1fea23aa.js.gz +0 -0
- package/dist/cjs/constants-72b7e05e.js.gz +0 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box-list_5.cjs.entry.js +0 -866
- package/dist/cjs/ez-combo-box-list_5.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-link-builder_6.cjs.entry.js +0 -315
- package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover-core.cjs.entry.js +0 -227
- package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
- package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
- package/dist/cjs/ezui.cjs.js.gz +0 -0
- package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
- package/dist/cjs/floating-ui.dom.esm-4a0428c0.js.gz +0 -0
- package/dist/cjs/index-637af219.js.gz +0 -0
- package/dist/cjs/index-a7b0c73d.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/purify-ef86f048.js.gz +0 -0
- package/dist/cjs/search-column-254df8ea.js.gz +0 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
- package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
- package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
- package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
- package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
- package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
- package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
- package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
- package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
- package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
- package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
- package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
- package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
- package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
- package/dist/collection/global/app-init.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/servidor.js.gz +0 -0
- package/dist/collection/setupTests.js.gz +0 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
- package/dist/collection/utils/AssetsUtils.js.gz +0 -0
- package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
- package/dist/collection/utils/FocusResolver.js.gz +0 -0
- package/dist/collection/utils/ag-grid-license.js.gz +0 -0
- package/dist/collection/utils/constants.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
- package/dist/collection/utils/form/DataBinder.js.gz +0 -0
- package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
- package/dist/collection/utils/form/index.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
- package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
- package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
- package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
- package/dist/collection/utils/i18n/index.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
- package/dist/collection/utils/i18n/translations.js.gz +0 -0
- package/dist/collection/utils/index.js.gz +0 -0
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
- package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
- package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
- package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
- package/dist/collection/utils/search/types.js.gz +0 -0
- package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
- package/dist/custom-elements/index.js.gz +0 -0
- package/dist/esm/ApplicationUtils-7270d89f.js.gz +0 -0
- package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
- package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
- package/dist/esm/DialogType-54a62731.js.gz +0 -0
- package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
- package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
- package/dist/esm/FormLayout-071d324c.js.gz +0 -0
- package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
- package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
- package/dist/esm/app-globals-6208a4b6.js.gz +0 -0
- package/dist/esm/constants-3fabe81e.js.gz +0 -0
- package/dist/esm/ez-actions-button.entry.js.gz +0 -0
- package/dist/esm/ez-alert-list.entry.js.gz +0 -0
- package/dist/esm/ez-alert.entry.js.gz +0 -0
- package/dist/esm/ez-application.entry.js.gz +0 -0
- package/dist/esm/ez-avatar.entry.js.gz +0 -0
- package/dist/esm/ez-badge.entry.js.gz +0 -0
- package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
- package/dist/esm/ez-button.entry.js.gz +0 -0
- package/dist/esm/ez-calendar.entry.js.gz +0 -0
- package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
- package/dist/esm/ez-chart.entry.js.gz +0 -0
- package/dist/esm/ez-check.entry.js.gz +0 -0
- package/dist/esm/ez-chip.entry.js.gz +0 -0
- package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-classic-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box-list_5.entry.js +0 -858
- package/dist/esm/ez-combo-box-list_5.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-date-input.entry.js.gz +0 -0
- package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-dialog.entry.js.gz +0 -0
- package/dist/esm/ez-double-list.entry.js.gz +0 -0
- package/dist/esm/ez-dropdown.entry.js.gz +0 -0
- package/dist/esm/ez-empty-card.entry.js.gz +0 -0
- package/dist/esm/ez-file-item.entry.js.gz +0 -0
- package/dist/esm/ez-filter-input.entry.js.gz +0 -0
- package/dist/esm/ez-form-view.entry.js.gz +0 -0
- package/dist/esm/ez-form.entry.js.gz +0 -0
- package/dist/esm/ez-grid-view.entry.js.gz +0 -0
- package/dist/esm/ez-grid.entry.js.gz +0 -0
- package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-icon.entry.js.gz +0 -0
- package/dist/esm/ez-link-builder_6.entry.js +0 -306
- package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
- package/dist/esm/ez-list-item.entry.js.gz +0 -0
- package/dist/esm/ez-list.entry.js.gz +0 -0
- package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
- package/dist/esm/ez-modal-container.entry.js.gz +0 -0
- package/dist/esm/ez-modal.entry.js.gz +0 -0
- package/dist/esm/ez-number-input.entry.js.gz +0 -0
- package/dist/esm/ez-pagination.entry.js.gz +0 -0
- package/dist/esm/ez-popover-core.entry.js +0 -223
- package/dist/esm/ez-popover-core.entry.js.gz +0 -0
- package/dist/esm/ez-popover.entry.js.gz +0 -0
- package/dist/esm/ez-popup.entry.js.gz +0 -0
- package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
- package/dist/esm/ez-radio-button.entry.js.gz +0 -0
- package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
- package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
- package/dist/esm/ez-search-plus.entry.js.gz +0 -0
- package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
- package/dist/esm/ez-search.entry.js.gz +0 -0
- package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-skeleton.entry.js.gz +0 -0
- package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
- package/dist/esm/ez-spinner.entry.js.gz +0 -0
- package/dist/esm/ez-split-button.entry.js.gz +0 -0
- package/dist/esm/ez-split-item.entry.js.gz +0 -0
- package/dist/esm/ez-split-panel.entry.js.gz +0 -0
- package/dist/esm/ez-tabselector.entry.js.gz +0 -0
- package/dist/esm/ez-tag-input.entry.js.gz +0 -0
- package/dist/esm/ez-tag.entry.js.gz +0 -0
- package/dist/esm/ez-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-text-input.entry.js.gz +0 -0
- package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
- package/dist/esm/ez-tile.entry.js.gz +0 -0
- package/dist/esm/ez-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-toast.entry.js.gz +0 -0
- package/dist/esm/ez-tooltip.entry.js.gz +0 -0
- package/dist/esm/ez-tree.entry.js.gz +0 -0
- package/dist/esm/ez-underface.entry.js.gz +0 -0
- package/dist/esm/ez-upload.entry.js.gz +0 -0
- package/dist/esm/ez-view-stack.entry.js.gz +0 -0
- package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
- package/dist/esm/ezui.js.gz +0 -0
- package/dist/esm/filter-column.entry.js.gz +0 -0
- package/dist/esm/floating-ui.dom.esm-ffa73324.js.gz +0 -0
- package/dist/esm/index-8088eb6e.js.gz +0 -0
- package/dist/esm/index-baa5e267.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/polyfills/core-js.js.gz +0 -0
- package/dist/esm/polyfills/css-shim.js.gz +0 -0
- package/dist/esm/polyfills/dom.js.gz +0 -0
- package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
- package/dist/esm/polyfills/index.js.gz +0 -0
- package/dist/esm/polyfills/system.js.gz +0 -0
- package/dist/esm/purify-96c0d5c2.js.gz +0 -0
- package/dist/esm/search-column-d98f7d96.js.gz +0 -0
- package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
- package/dist/ezui/ezui.esm.js.gz +0 -0
- package/dist/ezui/index.esm.js.gz +0 -0
- package/dist/ezui/p-03eb09b0.entry.js +0 -1
- package/dist/ezui/p-03eb09b0.entry.js.gz +0 -0
- package/dist/ezui/p-0ec37151.entry.js +0 -1
- package/dist/ezui/p-0ec37151.entry.js.gz +0 -0
- package/dist/ezui/p-112455b1.js.gz +0 -0
- package/dist/ezui/p-1cfe7c1b.entry.js.gz +0 -0
- package/dist/ezui/p-1e21475d.entry.js +0 -1
- package/dist/ezui/p-1e21475d.entry.js.gz +0 -0
- package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
- package/dist/ezui/p-1f3867a8.entry.js +0 -1
- package/dist/ezui/p-1f3867a8.entry.js.gz +0 -0
- package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
- package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
- package/dist/ezui/p-21647085.entry.js +0 -1
- package/dist/ezui/p-21647085.entry.js.gz +0 -0
- package/dist/ezui/p-23a36bb6.js.gz +0 -0
- package/dist/ezui/p-25c1aa0a.js.gz +0 -0
- package/dist/ezui/p-27fd20cf.entry.js.gz +0 -0
- package/dist/ezui/p-288631d1.entry.js +0 -1
- package/dist/ezui/p-288631d1.entry.js.gz +0 -0
- package/dist/ezui/p-29aa849f.js +0 -1
- package/dist/ezui/p-29aa849f.js.gz +0 -0
- package/dist/ezui/p-30425ea2.entry.js.gz +0 -0
- package/dist/ezui/p-30da1152.entry.js +0 -1
- package/dist/ezui/p-30da1152.entry.js.gz +0 -0
- package/dist/ezui/p-30ffb9ed.js +0 -1
- package/dist/ezui/p-30ffb9ed.js.gz +0 -0
- package/dist/ezui/p-359430a5.entry.js.gz +0 -0
- package/dist/ezui/p-3e767a74.js.gz +0 -0
- package/dist/ezui/p-40a60148.js.gz +0 -0
- package/dist/ezui/p-411c0222.entry.js.gz +0 -0
- package/dist/ezui/p-48effc69.entry.js +0 -1
- package/dist/ezui/p-48effc69.entry.js.gz +0 -0
- package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
- package/dist/ezui/p-513baabe.entry.js.gz +0 -0
- package/dist/ezui/p-55cc66bb.entry.js +0 -1
- package/dist/ezui/p-55cc66bb.entry.js.gz +0 -0
- package/dist/ezui/p-5832d458.entry.js +0 -1
- package/dist/ezui/p-5832d458.entry.js.gz +0 -0
- package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
- package/dist/ezui/p-6020f3d5.entry.js +0 -1
- package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
- package/dist/ezui/p-65f830ba.entry.js +0 -1
- package/dist/ezui/p-65f830ba.entry.js.gz +0 -0
- package/dist/ezui/p-669dc773.entry.js +0 -1
- package/dist/ezui/p-669dc773.entry.js.gz +0 -0
- package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
- package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
- package/dist/ezui/p-7995dcb4.entry.js +0 -1
- package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
- package/dist/ezui/p-7ab75605.entry.js.gz +0 -0
- package/dist/ezui/p-7f792043.entry.js.gz +0 -0
- package/dist/ezui/p-7fe97ef5.entry.js +0 -1
- package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
- package/dist/ezui/p-80dfc50b.js.gz +0 -0
- package/dist/ezui/p-85deadad.entry.js +0 -1
- package/dist/ezui/p-85deadad.entry.js.gz +0 -0
- package/dist/ezui/p-87d12992.entry.js.gz +0 -0
- package/dist/ezui/p-8a74deab.entry.js.gz +0 -0
- package/dist/ezui/p-8bbb3df7.entry.js.gz +0 -0
- package/dist/ezui/p-8ddeb513.entry.js.gz +0 -0
- package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
- package/dist/ezui/p-8dfd01b1.js +0 -1
- package/dist/ezui/p-8dfd01b1.js.gz +0 -0
- package/dist/ezui/p-8ebe11f4.js.gz +0 -0
- package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
- package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
- package/dist/ezui/p-941e02ff.entry.js +0 -1
- package/dist/ezui/p-941e02ff.entry.js.gz +0 -0
- package/dist/ezui/p-95a521ce.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
- package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
- package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
- package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
- package/dist/ezui/p-a80b1287.entry.js +0 -1
- package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-abe0dd62.entry.js.gz +0 -0
- package/dist/ezui/p-b1e45320.js.gz +0 -0
- package/dist/ezui/p-b663ec25.entry.js.gz +0 -0
- package/dist/ezui/p-b6bc4499.entry.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
- package/dist/ezui/p-bf5b6db2.entry.js.gz +0 -0
- package/dist/ezui/p-bf9ff8fe.js +0 -1
- package/dist/ezui/p-bf9ff8fe.js.gz +0 -0
- package/dist/ezui/p-ce269c9c.entry.js.gz +0 -0
- package/dist/ezui/p-d1421af5.entry.js +0 -1
- package/dist/ezui/p-d1421af5.entry.js.gz +0 -0
- package/dist/ezui/p-d2645bdf.entry.js +0 -1
- package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
- package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
- package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
- package/dist/ezui/p-dc628ed3.js.gz +0 -0
- package/dist/ezui/p-e2fe1b5d.entry.js.gz +0 -0
- package/dist/ezui/p-e50e1c80.entry.js.gz +0 -0
- package/dist/ezui/p-e6ac0c4d.entry.js +0 -309
- package/dist/ezui/p-e6ac0c4d.entry.js.gz +0 -0
- package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
- package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
- package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/p-efd28447.entry.js.gz +0 -0
- package/dist/ezui/p-f00c9dc2.entry.js +0 -1
- package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
- package/dist/ezui/p-f14b1400.entry.js.gz +0 -0
- package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
- package/dist/ezui/p-f67d789c.entry.js +0 -1
- package/dist/ezui/p-f67d789c.entry.js.gz +0 -0
- package/dist/ezui/p-f7b8d2b9.entry.js +0 -1
- package/dist/ezui/p-f7b8d2b9.entry.js.gz +0 -0
- package/dist/ezui/p-f9054bd6.entry.js.gz +0 -0
- package/dist/ezui/p-f90e8299.js.gz +0 -0
- package/dist/ezui/p-f949bb8b.entry.js.gz +0 -0
- package/dist/ezui/p-fa5cc755.entry.js.gz +0 -0
- package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
- package/dist/ezui/p-fa7fc44f.entry.js +0 -1
- package/dist/ezui/p-fa7fc44f.entry.js.gz +0 -0
- package/dist/ezui/p-fadf0509.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
|
-
import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils,
|
|
2
|
+
import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, KeyboardManager } from '@sankhyalabs/core';
|
|
3
3
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
4
|
-
import { A as ApplicationUtils } from './ApplicationUtils-
|
|
4
|
+
import { A as ApplicationUtils } from './ApplicationUtils-aaf24be5.js';
|
|
5
5
|
import './DialogType-54a62731.js';
|
|
6
6
|
import './CheckMode-bdb2ec19.js';
|
|
7
|
-
import { g as getI18n, i as initI18n } from './index-
|
|
8
|
-
import { C as CustomEditorSource, a as CustomRenderSource } from './
|
|
9
|
-
import
|
|
7
|
+
import { g as getI18n, i as initI18n } from './index-d37095f4.js';
|
|
8
|
+
import { C as CustomEditorSource, a as CustomRenderSource } from './types-6f6b2650.js';
|
|
9
|
+
import './FormLayout-bda67973.js';
|
|
10
|
+
import { S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, a as SEARCH_FIELD_FULL_WIDTH, b as buildFieldSearch } from './search-column-8b15de9a.js';
|
|
10
11
|
import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
|
|
12
|
+
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder } from './DataBinder-81d15b1b.js';
|
|
11
13
|
import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
|
|
12
|
-
import { p as purify } from './purify-
|
|
14
|
+
import { p as purify } from './purify-f52f5419.js';
|
|
13
15
|
import './_commonjsHelpers-9943807e.js';
|
|
14
16
|
|
|
15
17
|
/**
|
|
@@ -435,6 +437,7 @@ function removeAllReferences(obj, objectName) {
|
|
|
435
437
|
// leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
|
|
436
438
|
if (typeof value === 'function') {
|
|
437
439
|
var func = function () {
|
|
440
|
+
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.");
|
|
438
441
|
};
|
|
439
442
|
properties[key] = { value: func, writable: true };
|
|
440
443
|
}
|
|
@@ -605,6 +608,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
|
|
|
605
608
|
window.clearInterval(interval);
|
|
606
609
|
interval = null;
|
|
607
610
|
}
|
|
611
|
+
if (reachedTimeout && timeoutMessage) {
|
|
612
|
+
console.warn(timeoutMessage);
|
|
613
|
+
}
|
|
608
614
|
}
|
|
609
615
|
};
|
|
610
616
|
internalCallback();
|
|
@@ -706,9 +712,14 @@ var Context = /** @class */ (function () {
|
|
|
706
712
|
Context.prototype.createBeanWrapper = function (BeanClass) {
|
|
707
713
|
var metaData = BeanClass.__agBeanMetaData;
|
|
708
714
|
if (!metaData) {
|
|
715
|
+
var beanName = void 0;
|
|
709
716
|
if (BeanClass.prototype.constructor) {
|
|
710
|
-
getFunctionName(BeanClass.prototype.constructor);
|
|
717
|
+
beanName = getFunctionName(BeanClass.prototype.constructor);
|
|
718
|
+
}
|
|
719
|
+
else {
|
|
720
|
+
beanName = "" + BeanClass;
|
|
711
721
|
}
|
|
722
|
+
console.error("Context item " + beanName + " is not a bean");
|
|
712
723
|
return;
|
|
713
724
|
}
|
|
714
725
|
var beanEntry = {
|
|
@@ -780,6 +791,7 @@ var Context = /** @class */ (function () {
|
|
|
780
791
|
return beansList;
|
|
781
792
|
};
|
|
782
793
|
Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
|
|
794
|
+
if (optional === void 0) { optional = false; }
|
|
783
795
|
if (beanName === "context") {
|
|
784
796
|
return this;
|
|
785
797
|
}
|
|
@@ -790,6 +802,9 @@ var Context = /** @class */ (function () {
|
|
|
790
802
|
if (beanEntry) {
|
|
791
803
|
return beanEntry.beanInstance;
|
|
792
804
|
}
|
|
805
|
+
if (!optional) {
|
|
806
|
+
console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
|
|
807
|
+
}
|
|
793
808
|
return null;
|
|
794
809
|
};
|
|
795
810
|
Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
|
|
@@ -896,9 +911,11 @@ function Optional(name) {
|
|
|
896
911
|
}
|
|
897
912
|
function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
|
|
898
913
|
if (name === null) {
|
|
914
|
+
console.error("AG Grid: Autowired name should not be null");
|
|
899
915
|
return;
|
|
900
916
|
}
|
|
901
917
|
if (typeof index === "number") {
|
|
918
|
+
console.error("AG Grid: Autowired should be on an attribute");
|
|
902
919
|
return;
|
|
903
920
|
}
|
|
904
921
|
// it's an attribute on the class
|
|
@@ -1230,6 +1247,8 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1230
1247
|
else {
|
|
1231
1248
|
if (ModuleRegistry.moduleBased !== moduleBased) {
|
|
1232
1249
|
doOnce(function () {
|
|
1250
|
+
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.");
|
|
1251
|
+
console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
|
|
1233
1252
|
}, 'ModulePackageCheck');
|
|
1234
1253
|
}
|
|
1235
1254
|
}
|
|
@@ -1247,7 +1266,15 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1247
1266
|
return true;
|
|
1248
1267
|
}
|
|
1249
1268
|
var warningKey = reason + moduleName;
|
|
1269
|
+
var warningMessage;
|
|
1270
|
+
if (ModuleRegistry.moduleBased) {
|
|
1271
|
+
warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
|
|
1272
|
+
}
|
|
1273
|
+
else {
|
|
1274
|
+
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/";
|
|
1275
|
+
}
|
|
1250
1276
|
doOnce(function () {
|
|
1277
|
+
console.warn(warningMessage);
|
|
1251
1278
|
}, warningKey);
|
|
1252
1279
|
return false;
|
|
1253
1280
|
};
|
|
@@ -1440,9 +1467,11 @@ var Column = /** @class */ (function () {
|
|
|
1440
1467
|
var colDefAny = this.colDef;
|
|
1441
1468
|
function warnOnce(msg, key, obj) {
|
|
1442
1469
|
doOnce(function () {
|
|
1443
|
-
if (obj)
|
|
1470
|
+
if (obj) {
|
|
1471
|
+
console.warn(msg, obj);
|
|
1472
|
+
}
|
|
1444
1473
|
else {
|
|
1445
|
-
doOnce(function () { return (
|
|
1474
|
+
doOnce(function () { return console.warn(msg); }, key);
|
|
1446
1475
|
}
|
|
1447
1476
|
}, key);
|
|
1448
1477
|
}
|
|
@@ -1910,16 +1939,19 @@ var Column = /** @class */ (function () {
|
|
|
1910
1939
|
// this used to be needed, as previous version of ag-grid had lockPosition as column state,
|
|
1911
1940
|
// so couldn't depend on colDef version.
|
|
1912
1941
|
Column.prototype.isLockPosition = function () {
|
|
1942
|
+
console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
|
|
1913
1943
|
return this.colDef ? !!this.colDef.lockPosition : false;
|
|
1914
1944
|
};
|
|
1915
1945
|
// this used to be needed, as previous version of ag-grid had lockVisible as column state,
|
|
1916
1946
|
// so couldn't depend on colDef version.
|
|
1917
1947
|
Column.prototype.isLockVisible = function () {
|
|
1948
|
+
console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
|
|
1918
1949
|
return this.colDef ? !!this.colDef.lockVisible : false;
|
|
1919
1950
|
};
|
|
1920
1951
|
// this used to be needed, as previous version of ag-grid had lockPinned as column state,
|
|
1921
1952
|
// so couldn't depend on colDef version.
|
|
1922
1953
|
Column.prototype.isLockPinned = function () {
|
|
1954
|
+
console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
|
|
1923
1955
|
return this.colDef ? !!this.colDef.lockPinned : false;
|
|
1924
1956
|
};
|
|
1925
1957
|
// + renderedHeaderCell - for making header cell transparent when moving
|
|
@@ -2315,6 +2347,7 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2315
2347
|
};
|
|
2316
2348
|
/** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
|
|
2317
2349
|
ColumnGroup.prototype.getOriginalColumnGroup = function () {
|
|
2350
|
+
console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
|
|
2318
2351
|
return this.getProvidedColumnGroup();
|
|
2319
2352
|
};
|
|
2320
2353
|
ColumnGroup.prototype.getPaddingLevel = function () {
|
|
@@ -3190,7 +3223,9 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3190
3223
|
var typeKeys = [];
|
|
3191
3224
|
if (type instanceof Array) {
|
|
3192
3225
|
var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
|
|
3193
|
-
if (invalidArray)
|
|
3226
|
+
if (invalidArray) {
|
|
3227
|
+
console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
|
|
3228
|
+
}
|
|
3194
3229
|
else {
|
|
3195
3230
|
typeKeys = type;
|
|
3196
3231
|
}
|
|
@@ -3199,13 +3234,16 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3199
3234
|
typeKeys = type.split(',');
|
|
3200
3235
|
}
|
|
3201
3236
|
else {
|
|
3237
|
+
console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
|
|
3202
3238
|
return;
|
|
3203
3239
|
}
|
|
3204
3240
|
// merge user defined with default column types
|
|
3205
3241
|
var allColumnTypes = Object.assign({}, DefaultColumnTypes);
|
|
3206
3242
|
var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
|
|
3207
3243
|
iterateObject(userTypes, function (key, value) {
|
|
3208
|
-
if (key in allColumnTypes)
|
|
3244
|
+
if (key in allColumnTypes) {
|
|
3245
|
+
console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
|
|
3246
|
+
}
|
|
3209
3247
|
else {
|
|
3210
3248
|
allColumnTypes[key] = value;
|
|
3211
3249
|
}
|
|
@@ -3215,12 +3253,34 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3215
3253
|
if (typeColDef) {
|
|
3216
3254
|
mergeDeep(colDefMerged, typeColDef, false, true);
|
|
3217
3255
|
}
|
|
3256
|
+
else {
|
|
3257
|
+
console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
|
|
3258
|
+
}
|
|
3218
3259
|
});
|
|
3219
3260
|
};
|
|
3220
3261
|
ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
|
|
3221
3262
|
if (colDef) {
|
|
3222
3263
|
var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
|
|
3264
|
+
if (colDefNoType.group !== undefined) {
|
|
3265
|
+
console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3266
|
+
}
|
|
3267
|
+
if (colDefNoType.headerGroup !== undefined) {
|
|
3268
|
+
console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3269
|
+
}
|
|
3270
|
+
if (colDefNoType.headerGroupShow !== undefined) {
|
|
3271
|
+
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');
|
|
3272
|
+
}
|
|
3273
|
+
if (colDefNoType.suppressRowGroup !== undefined) {
|
|
3274
|
+
console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
|
|
3275
|
+
}
|
|
3276
|
+
if (colDefNoType.suppressAggregation !== undefined) {
|
|
3277
|
+
console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
|
|
3278
|
+
}
|
|
3279
|
+
if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
|
|
3280
|
+
console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
|
|
3281
|
+
}
|
|
3223
3282
|
if (colDefNoType.displayName) {
|
|
3283
|
+
console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
|
|
3224
3284
|
colDefNoType.headerName = colDefNoType.displayName;
|
|
3225
3285
|
}
|
|
3226
3286
|
}
|
|
@@ -4282,6 +4342,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4282
4342
|
toParse.forEach(function (key) {
|
|
4283
4343
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
|
|
4284
4344
|
if (!lookupResult) {
|
|
4345
|
+
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(','));
|
|
4285
4346
|
return;
|
|
4286
4347
|
}
|
|
4287
4348
|
comps_1.push(lookupResult);
|
|
@@ -4312,6 +4373,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4312
4373
|
if (typeof it === 'string') {
|
|
4313
4374
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
|
|
4314
4375
|
if (!lookupResult) {
|
|
4376
|
+
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(','));
|
|
4315
4377
|
return;
|
|
4316
4378
|
}
|
|
4317
4379
|
toAdd = lookupResult;
|
|
@@ -4908,6 +4970,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4908
4970
|
this.destroyed = true;
|
|
4909
4971
|
};
|
|
4910
4972
|
GridOptionsWrapper.prototype.init = function () {
|
|
4973
|
+
var _this = this;
|
|
4911
4974
|
if (this.gridOptions.suppressPropertyNamesCheck !== true) {
|
|
4912
4975
|
this.checkGridOptionsProperties();
|
|
4913
4976
|
this.checkColumnDefProperties();
|
|
@@ -4918,26 +4981,61 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4918
4981
|
}
|
|
4919
4982
|
var async = this.useAsyncEvents();
|
|
4920
4983
|
this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
|
|
4921
|
-
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes())
|
|
4984
|
+
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
|
|
4985
|
+
console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
|
|
4986
|
+
}
|
|
4922
4987
|
if (this.isGroupSelectsChildren()) {
|
|
4923
|
-
if (!this.isRowSelectionMulti())
|
|
4924
|
-
|
|
4988
|
+
if (!this.isRowSelectionMulti()) {
|
|
4989
|
+
console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
|
|
4990
|
+
}
|
|
4991
|
+
if (this.isRowModelServerSide()) {
|
|
4992
|
+
console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
|
|
4993
|
+
'This is because the rows are lazy loaded, so selecting a group is not possible as' +
|
|
4994
|
+
'the grid has no way of knowing what the children are.');
|
|
4995
|
+
}
|
|
4996
|
+
}
|
|
4997
|
+
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
|
|
4998
|
+
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!");
|
|
4925
4999
|
}
|
|
4926
|
-
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
|
|
4927
5000
|
if (this.isRowModelServerSide()) {
|
|
4928
|
-
|
|
4929
|
-
if (exists(this.gridOptions.groupDefaultExpanded))
|
|
4930
|
-
|
|
5001
|
+
var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
|
|
5002
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5003
|
+
console.warn(msg('groupDefaultExpanded'));
|
|
5004
|
+
}
|
|
5005
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5006
|
+
console.warn(msg('groupIncludeFooter'));
|
|
5007
|
+
}
|
|
5008
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5009
|
+
console.warn(msg('groupIncludeTotalFooter'));
|
|
5010
|
+
}
|
|
4931
5011
|
}
|
|
4932
5012
|
if (isTrue(this.gridOptions.enableRangeSelection)) {
|
|
4933
5013
|
ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
|
|
4934
5014
|
}
|
|
4935
|
-
else if (this.isEnableRangeHandle() || this.isEnableFillHandle())
|
|
5015
|
+
else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
|
|
5016
|
+
console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
|
|
5017
|
+
}
|
|
4936
5018
|
if (this.isGroupRowsSticky()) {
|
|
4937
|
-
if (this.isGroupHideOpenParents())
|
|
4938
|
-
|
|
4939
|
-
|
|
5019
|
+
if (this.isGroupHideOpenParents()) {
|
|
5020
|
+
console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
|
|
5021
|
+
}
|
|
5022
|
+
if (this.isMasterDetail()) {
|
|
5023
|
+
console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
|
|
5024
|
+
}
|
|
5025
|
+
if (this.isPagination()) {
|
|
5026
|
+
console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
|
|
5027
|
+
}
|
|
4940
5028
|
}
|
|
5029
|
+
var warnOfDeprecaredIcon = function (name) {
|
|
5030
|
+
if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
|
|
5031
|
+
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/");
|
|
5032
|
+
}
|
|
5033
|
+
};
|
|
5034
|
+
warnOfDeprecaredIcon('radioButtonOff');
|
|
5035
|
+
warnOfDeprecaredIcon('radioButtonOn');
|
|
5036
|
+
warnOfDeprecaredIcon('checkboxChecked');
|
|
5037
|
+
warnOfDeprecaredIcon('checkboxUnchecked');
|
|
5038
|
+
warnOfDeprecaredIcon('checkboxIndeterminate');
|
|
4941
5039
|
// sets an initial calculation for the scrollbar width
|
|
4942
5040
|
this.getScrollbarWidth();
|
|
4943
5041
|
};
|
|
@@ -4961,7 +5059,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4961
5059
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
4962
5060
|
var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
|
|
4963
5061
|
iterateObject(invalidProperties, function (key, value) {
|
|
5062
|
+
console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
|
|
4964
5063
|
});
|
|
5064
|
+
if (Object.keys(invalidProperties).length > 0) {
|
|
5065
|
+
console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
|
|
5066
|
+
}
|
|
4965
5067
|
};
|
|
4966
5068
|
/**
|
|
4967
5069
|
* Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
|
|
@@ -5220,7 +5322,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5220
5322
|
];
|
|
5221
5323
|
if (validLayouts.indexOf(domLayout) === -1) {
|
|
5222
5324
|
doOnce(function () {
|
|
5223
|
-
return (
|
|
5325
|
+
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);
|
|
5224
5326
|
}, 'warn about dom layout values');
|
|
5225
5327
|
return Constants.DOM_LAYOUT_NORMAL;
|
|
5226
5328
|
}
|
|
@@ -5615,7 +5717,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5615
5717
|
return 'xy';
|
|
5616
5718
|
}
|
|
5617
5719
|
if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
|
|
5618
|
-
doOnce(function () { return (
|
|
5720
|
+
doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
|
|
5619
5721
|
return 'xy';
|
|
5620
5722
|
}
|
|
5621
5723
|
return direction;
|
|
@@ -5714,6 +5816,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5714
5816
|
};
|
|
5715
5817
|
GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
|
|
5716
5818
|
if (this.gridOptions.defaultExportParams) {
|
|
5819
|
+
console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
|
|
5717
5820
|
if (type === 'csv') {
|
|
5718
5821
|
return this.gridOptions.defaultExportParams;
|
|
5719
5822
|
}
|
|
@@ -5846,7 +5949,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5846
5949
|
GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
|
|
5847
5950
|
var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
|
|
5848
5951
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5849
|
-
doOnce(function () { return (
|
|
5952
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
|
|
5850
5953
|
return false;
|
|
5851
5954
|
}
|
|
5852
5955
|
return isEnabled;
|
|
@@ -5854,7 +5957,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5854
5957
|
GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
|
|
5855
5958
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
|
|
5856
5959
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5857
|
-
doOnce(function () { return (
|
|
5960
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
|
|
5858
5961
|
return false;
|
|
5859
5962
|
}
|
|
5860
5963
|
return isEnabled;
|
|
@@ -5862,11 +5965,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5862
5965
|
GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
|
|
5863
5966
|
var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
|
|
5864
5967
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5865
|
-
doOnce(function () { return (
|
|
5968
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
|
|
5866
5969
|
return false;
|
|
5867
5970
|
}
|
|
5868
5971
|
if (this.isTreeData() && isEnabled) {
|
|
5869
|
-
doOnce(function () { return (
|
|
5972
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
|
|
5870
5973
|
return false;
|
|
5871
5974
|
}
|
|
5872
5975
|
return isEnabled;
|
|
@@ -5874,11 +5977,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5874
5977
|
GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
|
|
5875
5978
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
|
|
5876
5979
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5877
|
-
doOnce(function () { return (
|
|
5980
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
|
|
5878
5981
|
return false;
|
|
5879
5982
|
}
|
|
5880
5983
|
if (this.isTreeData() && isEnabled) {
|
|
5881
|
-
doOnce(function () { return (
|
|
5984
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
|
|
5882
5985
|
return false;
|
|
5883
5986
|
}
|
|
5884
5987
|
return isEnabled;
|
|
@@ -5987,7 +6090,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5987
6090
|
var capitalisedType = capitalise(type);
|
|
5988
6091
|
if (exists(delay)) {
|
|
5989
6092
|
if (delay < 0) {
|
|
5990
|
-
doOnce(function () { return (
|
|
6093
|
+
doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
|
|
5991
6094
|
}
|
|
5992
6095
|
return Math.max(200, delay);
|
|
5993
6096
|
}
|
|
@@ -6038,7 +6141,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6038
6141
|
var rowBuffer = this.gridOptions.rowBuffer;
|
|
6039
6142
|
if (typeof rowBuffer === 'number') {
|
|
6040
6143
|
if (rowBuffer < 0) {
|
|
6041
|
-
doOnce(function () { return (
|
|
6144
|
+
doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
|
|
6042
6145
|
this.gridOptions.rowBuffer = rowBuffer = 0;
|
|
6043
6146
|
}
|
|
6044
6147
|
}
|
|
@@ -6072,23 +6175,45 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6072
6175
|
// casting to generic object, so typescript compiles even though
|
|
6073
6176
|
// we are looking for attributes that don't exist
|
|
6074
6177
|
var options = this.gridOptions;
|
|
6178
|
+
if (options.deprecatedEmbedFullWidthRows) {
|
|
6179
|
+
console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
|
|
6180
|
+
}
|
|
6181
|
+
if (options.rowDeselection) {
|
|
6182
|
+
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.');
|
|
6183
|
+
}
|
|
6075
6184
|
if (options.enableMultiRowDragging) {
|
|
6076
6185
|
options.rowDragMultiRow = true;
|
|
6077
6186
|
delete options.enableMultiRowDragging;
|
|
6187
|
+
console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
|
|
6078
6188
|
}
|
|
6079
6189
|
var checkRenamedProperty = function (oldProp, newProp, version) {
|
|
6080
6190
|
if (options[oldProp] != null) {
|
|
6191
|
+
console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
|
|
6081
6192
|
if (options[newProp] == null) {
|
|
6082
6193
|
options[newProp] = options[oldProp];
|
|
6083
6194
|
}
|
|
6084
6195
|
}
|
|
6085
6196
|
};
|
|
6086
|
-
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
|
|
6087
|
-
checkRenamedProperty('deltaRowDataMode', 'immutableData');
|
|
6088
|
-
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
|
|
6089
|
-
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
|
|
6090
|
-
|
|
6197
|
+
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
|
|
6198
|
+
checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
|
|
6199
|
+
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
|
|
6200
|
+
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
|
|
6201
|
+
if (options.immutableColumns || options.deltaColumnMode) {
|
|
6202
|
+
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');
|
|
6203
|
+
}
|
|
6204
|
+
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
|
|
6091
6205
|
if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
|
|
6206
|
+
console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
|
|
6207
|
+
console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
|
|
6208
|
+
console.warn(' For example instead of this:');
|
|
6209
|
+
console.warn(' groupRowInnerRenderer: "myRenderer"');
|
|
6210
|
+
console.warn(' groupRowInnerRendererParams: {x: a}');
|
|
6211
|
+
console.warn(' Replace with this:');
|
|
6212
|
+
console.warn(' groupRowRendererParams: {');
|
|
6213
|
+
console.warn(' innerRenderer: "myRenderer",');
|
|
6214
|
+
console.warn(' innerRendererParams: {x: a}');
|
|
6215
|
+
console.warn(' }');
|
|
6216
|
+
console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
|
|
6092
6217
|
if (!options.groupRowRendererParams) {
|
|
6093
6218
|
options.groupRowRendererParams = {};
|
|
6094
6219
|
}
|
|
@@ -6103,36 +6228,105 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6103
6228
|
params.innerRendererFramework = options.groupRowInnerRendererFramework;
|
|
6104
6229
|
}
|
|
6105
6230
|
}
|
|
6231
|
+
if (options.rememberGroupStateWhenNewData) {
|
|
6232
|
+
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.');
|
|
6233
|
+
}
|
|
6106
6234
|
if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
|
|
6235
|
+
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');
|
|
6107
6236
|
options.detailRowAutoHeight = true;
|
|
6108
6237
|
}
|
|
6238
|
+
if (options.suppressKeyboardEvent) {
|
|
6239
|
+
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.");
|
|
6240
|
+
}
|
|
6241
|
+
if (options.suppressEnterpriseResetOnNewColumns) {
|
|
6242
|
+
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.');
|
|
6243
|
+
}
|
|
6244
|
+
if (options.suppressColumnStateEvents) {
|
|
6245
|
+
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');
|
|
6246
|
+
}
|
|
6247
|
+
if (options.defaultExportParams) {
|
|
6248
|
+
console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
|
|
6249
|
+
}
|
|
6109
6250
|
if (options.stopEditingWhenGridLosesFocus) {
|
|
6251
|
+
console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
|
|
6110
6252
|
options.stopEditingWhenCellsLoseFocus = true;
|
|
6111
6253
|
}
|
|
6254
|
+
if (options.applyColumnDefOrder) {
|
|
6255
|
+
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');
|
|
6256
|
+
}
|
|
6112
6257
|
if (options.groupMultiAutoColumn) {
|
|
6258
|
+
console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
|
|
6113
6259
|
options.groupDisplayType = 'multipleColumns';
|
|
6114
6260
|
}
|
|
6115
6261
|
if (options.groupUseEntireRow) {
|
|
6262
|
+
console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
|
|
6116
6263
|
options.groupDisplayType = 'groupRows';
|
|
6117
6264
|
}
|
|
6118
6265
|
if (options.groupSuppressAutoColumn) {
|
|
6266
|
+
var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
|
|
6267
|
+
console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
|
|
6119
6268
|
options.groupDisplayType = 'custom';
|
|
6120
6269
|
}
|
|
6270
|
+
if (options.defaultGroupOrderComparator) {
|
|
6271
|
+
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.");
|
|
6272
|
+
}
|
|
6121
6273
|
if (options.defaultGroupSortComparator) {
|
|
6274
|
+
console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
|
|
6122
6275
|
options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
|
|
6123
6276
|
}
|
|
6277
|
+
if (options.groupRowAggNodes) {
|
|
6278
|
+
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.");
|
|
6279
|
+
}
|
|
6280
|
+
if (options.postSort) {
|
|
6281
|
+
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.");
|
|
6282
|
+
}
|
|
6283
|
+
if (options.isFullWidthCell) {
|
|
6284
|
+
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.");
|
|
6285
|
+
}
|
|
6286
|
+
if (options.localeTextFunc) {
|
|
6287
|
+
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.");
|
|
6288
|
+
}
|
|
6289
|
+
if (options.colWidth) {
|
|
6290
|
+
console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
|
|
6291
|
+
}
|
|
6292
|
+
if (options.minColWidth) {
|
|
6293
|
+
console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
|
|
6294
|
+
}
|
|
6295
|
+
if (options.maxColWidth) {
|
|
6296
|
+
console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
|
|
6297
|
+
}
|
|
6298
|
+
if (options.reactUi) {
|
|
6299
|
+
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.');
|
|
6300
|
+
}
|
|
6301
|
+
if (options.suppressReactUi) {
|
|
6302
|
+
console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
|
|
6303
|
+
}
|
|
6124
6304
|
if (options.suppressCellSelection) {
|
|
6305
|
+
console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
|
|
6125
6306
|
options.suppressCellFocus = options.suppressCellSelection;
|
|
6126
6307
|
}
|
|
6308
|
+
if (options.getRowNodeId) {
|
|
6309
|
+
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.');
|
|
6310
|
+
}
|
|
6311
|
+
if (options.immutableData) {
|
|
6312
|
+
if (options.getRowId) {
|
|
6313
|
+
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`.');
|
|
6314
|
+
}
|
|
6315
|
+
else {
|
|
6316
|
+
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
|
|
6317
|
+
}
|
|
6318
|
+
}
|
|
6127
6319
|
if (options.clipboardDeliminator) {
|
|
6320
|
+
console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
|
|
6128
6321
|
options.clipboardDelimiter = options.clipboardDeliminator;
|
|
6129
6322
|
}
|
|
6130
|
-
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
|
|
6131
|
-
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
|
|
6323
|
+
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
|
|
6324
|
+
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
|
|
6132
6325
|
if (options.serverSideStoreType) {
|
|
6326
|
+
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.');
|
|
6133
6327
|
options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
|
|
6134
6328
|
}
|
|
6135
|
-
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
|
|
6329
|
+
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
|
|
6136
6330
|
};
|
|
6137
6331
|
GridOptionsWrapper.prototype.checkForViolations = function () {
|
|
6138
6332
|
if (this.isTreeData()) {
|
|
@@ -6141,11 +6335,20 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6141
6335
|
};
|
|
6142
6336
|
GridOptionsWrapper.prototype.treeDataViolations = function () {
|
|
6143
6337
|
if (this.isRowModelDefault()) {
|
|
6144
|
-
if (missing(this.getDataPathFunc()))
|
|
6338
|
+
if (missing(this.getDataPathFunc())) {
|
|
6339
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
|
|
6340
|
+
'provide getDataPath function, please provide getDataPath function if using tree data.');
|
|
6341
|
+
}
|
|
6145
6342
|
}
|
|
6146
6343
|
if (this.isRowModelServerSide()) {
|
|
6147
|
-
if (missing(this.getIsServerSideGroupFunc()))
|
|
6148
|
-
|
|
6344
|
+
if (missing(this.getIsServerSideGroupFunc())) {
|
|
6345
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6346
|
+
'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
|
|
6347
|
+
}
|
|
6348
|
+
if (missing(this.getServerSideGroupKeyFunc())) {
|
|
6349
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6350
|
+
'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
|
|
6351
|
+
}
|
|
6149
6352
|
}
|
|
6150
6353
|
};
|
|
6151
6354
|
GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
|
|
@@ -6214,6 +6417,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6214
6417
|
this.setRowHeightVariable(rowHeight);
|
|
6215
6418
|
return rowHeight;
|
|
6216
6419
|
}
|
|
6420
|
+
console.warn('AG Grid row height must be a number if not using standard row model');
|
|
6217
6421
|
return this.getDefaultRowHeight();
|
|
6218
6422
|
};
|
|
6219
6423
|
GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
|
|
@@ -6238,7 +6442,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6238
6442
|
var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
|
|
6239
6443
|
if (this.isNumeric(height)) {
|
|
6240
6444
|
if (height === 0) {
|
|
6241
|
-
doOnce(function () { return (
|
|
6445
|
+
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');
|
|
6242
6446
|
}
|
|
6243
6447
|
return { height: Math.max(1, height), estimated: false };
|
|
6244
6448
|
}
|
|
@@ -6283,6 +6487,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6283
6487
|
GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
|
|
6284
6488
|
var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
|
|
6285
6489
|
if (groupDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6490
|
+
console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
|
|
6286
6491
|
return false;
|
|
6287
6492
|
}
|
|
6288
6493
|
return supplied === toMatch;
|
|
@@ -6290,6 +6495,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6290
6495
|
GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
|
|
6291
6496
|
var treeDataDisplayTypeValues = ['auto', 'custom'];
|
|
6292
6497
|
if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6498
|
+
console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
|
|
6293
6499
|
return false;
|
|
6294
6500
|
}
|
|
6295
6501
|
return supplied === toMatch;
|
|
@@ -6674,6 +6880,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6674
6880
|
};
|
|
6675
6881
|
ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
|
|
6676
6882
|
if (pivot && this.gridOptionsWrapper.isTreeData()) {
|
|
6883
|
+
console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
|
|
6677
6884
|
return false;
|
|
6678
6885
|
}
|
|
6679
6886
|
return true;
|
|
@@ -7304,6 +7511,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7304
7511
|
if (loopCount > 1000) {
|
|
7305
7512
|
// this should never happen, but in the future, someone might introduce a bug here,
|
|
7306
7513
|
// so we stop the browser from hanging and report bug properly
|
|
7514
|
+
console.error('AG Grid: infinite loop in resizeColumnSets');
|
|
7307
7515
|
return "break";
|
|
7308
7516
|
}
|
|
7309
7517
|
finishedColsGrew = false;
|
|
@@ -7421,6 +7629,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7421
7629
|
if (source === void 0) { source = "api"; }
|
|
7422
7630
|
this.columnAnimationService.start();
|
|
7423
7631
|
if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
|
|
7632
|
+
console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
|
|
7633
|
+
console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
|
|
7424
7634
|
return;
|
|
7425
7635
|
}
|
|
7426
7636
|
// we want to pull all the columns out first and put them into an ordered list
|
|
@@ -7673,6 +7883,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7673
7883
|
ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
|
|
7674
7884
|
if (source === void 0) { source = "api"; }
|
|
7675
7885
|
if (this.gridOptionsWrapper.getDomLayout() === 'print') {
|
|
7886
|
+
console.warn("Changing the column pinning status is not allowed with domLayout='print'");
|
|
7676
7887
|
return;
|
|
7677
7888
|
}
|
|
7678
7889
|
this.columnAnimationService.start();
|
|
@@ -7942,6 +8153,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7942
8153
|
return false;
|
|
7943
8154
|
}
|
|
7944
8155
|
if (params && params.state && !params.state.forEach) {
|
|
8156
|
+
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.');
|
|
7945
8157
|
return false;
|
|
7946
8158
|
}
|
|
7947
8159
|
var applyStates = function (states, existingColumns, getById) {
|
|
@@ -8088,6 +8300,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8088
8300
|
// is less sexy for the code here, but it keeps consistency.
|
|
8089
8301
|
newOrder = this.placeLockedColumns(newOrder);
|
|
8090
8302
|
if (!this.doesMovePassMarryChildren(newOrder)) {
|
|
8303
|
+
console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
|
|
8091
8304
|
return;
|
|
8092
8305
|
}
|
|
8093
8306
|
this.gridColumns = newOrder;
|
|
@@ -8339,7 +8552,11 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8339
8552
|
}
|
|
8340
8553
|
}
|
|
8341
8554
|
else {
|
|
8342
|
-
if (exists(aggFunc))
|
|
8555
|
+
if (exists(aggFunc)) {
|
|
8556
|
+
console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
|
|
8557
|
+
'functions, register the functions first before using them in get/set state. This is because it is ' +
|
|
8558
|
+
'intended for the column state to be stored and retrieved as simple JSON.');
|
|
8559
|
+
}
|
|
8343
8560
|
// Note: we do not call column.setAggFunc(null), so that next time we aggregate
|
|
8344
8561
|
// by this column (eg drag the column to the agg section int he toolpanel) it will
|
|
8345
8562
|
// default to the last aggregation function.
|
|
@@ -8407,6 +8624,9 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8407
8624
|
return null;
|
|
8408
8625
|
}
|
|
8409
8626
|
var column = this.getGridColumn(key);
|
|
8627
|
+
if (!column) {
|
|
8628
|
+
console.warn('AG Grid: could not find column ' + key);
|
|
8629
|
+
}
|
|
8410
8630
|
return column;
|
|
8411
8631
|
};
|
|
8412
8632
|
ColumnModel.prototype.getPrimaryColumn = function (key) {
|
|
@@ -8509,6 +8729,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8509
8729
|
// valueGetter is an expression, so execute the expression
|
|
8510
8730
|
return this.expressionService.evaluate(headerValueGetter, params);
|
|
8511
8731
|
}
|
|
8732
|
+
console.warn('ag-grid: headerValueGetter must be a function or a string');
|
|
8512
8733
|
return '';
|
|
8513
8734
|
}
|
|
8514
8735
|
else if (colDef.headerName != null) {
|
|
@@ -8803,6 +9024,10 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8803
9024
|
this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
|
|
8804
9025
|
};
|
|
8805
9026
|
ColumnModel.prototype.getProvidedColumnGroup = function (key) {
|
|
9027
|
+
// if (key instanceof ProvidedColumnGroup) { return key; }
|
|
9028
|
+
if (typeof key !== 'string') {
|
|
9029
|
+
console.error('AG Grid: group key must be a string');
|
|
9030
|
+
}
|
|
8806
9031
|
// otherwise, search for the column group by id
|
|
8807
9032
|
var res = null;
|
|
8808
9033
|
this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
|
|
@@ -9013,7 +9238,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9013
9238
|
var rowModelType = this.rowModel.getType();
|
|
9014
9239
|
var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
9015
9240
|
if (!supportedRowModel) {
|
|
9016
|
-
|
|
9241
|
+
var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
|
|
9242
|
+
doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
|
|
9017
9243
|
}
|
|
9018
9244
|
}
|
|
9019
9245
|
};
|
|
@@ -10005,6 +10231,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10005
10231
|
if (found) {
|
|
10006
10232
|
return result;
|
|
10007
10233
|
}
|
|
10234
|
+
console.warn('AG Grid: could not get path');
|
|
10008
10235
|
return null;
|
|
10009
10236
|
};
|
|
10010
10237
|
DisplayedGroupCreator = __decorate$36([
|
|
@@ -11688,12 +11915,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
|
|
|
11688
11915
|
if (isNodeOrElement(rendererResult)) {
|
|
11689
11916
|
return rendererResult;
|
|
11690
11917
|
}
|
|
11918
|
+
console.warn('AG Grid: iconRenderer should return back a string or a dom object');
|
|
11691
11919
|
}
|
|
11692
11920
|
else {
|
|
11693
11921
|
var span = document.createElement('span');
|
|
11694
11922
|
var cssClass = iconNameClassMap[iconName];
|
|
11695
11923
|
if (!cssClass) {
|
|
11696
11924
|
if (!forceCreate) {
|
|
11925
|
+
console.warn("AG Grid: Did not find icon " + iconName);
|
|
11697
11926
|
cssClass = '';
|
|
11698
11927
|
}
|
|
11699
11928
|
else {
|
|
@@ -12132,6 +12361,7 @@ var AgPromise = /** @class */ (function () {
|
|
|
12132
12361
|
this.waiters.forEach(function (waiter) { return waiter(value); });
|
|
12133
12362
|
};
|
|
12134
12363
|
AgPromise.prototype.onReject = function (params) {
|
|
12364
|
+
console.warn('TBI');
|
|
12135
12365
|
};
|
|
12136
12366
|
return AgPromise;
|
|
12137
12367
|
}());
|
|
@@ -12757,9 +12987,11 @@ function RefSelector(ref) {
|
|
|
12757
12987
|
}
|
|
12758
12988
|
function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
|
|
12759
12989
|
if (selector === null) {
|
|
12990
|
+
console.error('AG Grid: QuerySelector selector should not be null');
|
|
12760
12991
|
return;
|
|
12761
12992
|
}
|
|
12762
12993
|
if (typeof index === 'number') {
|
|
12994
|
+
console.error('AG Grid: QuerySelector should be on an attribute');
|
|
12763
12995
|
return;
|
|
12764
12996
|
}
|
|
12765
12997
|
addToObjectProps(classPrototype, 'querySelectors', {
|
|
@@ -12994,8 +13226,12 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
12994
13226
|
this.checkForDeprecatedParams();
|
|
12995
13227
|
};
|
|
12996
13228
|
OptionsFactory.prototype.checkForDeprecatedParams = function () {
|
|
12997
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; }))
|
|
12998
|
-
|
|
13229
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
|
|
13230
|
+
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
|
|
13231
|
+
}
|
|
13232
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
|
|
13233
|
+
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
|
|
13234
|
+
}
|
|
12999
13235
|
};
|
|
13000
13236
|
OptionsFactory.prototype.getFilterOptions = function () {
|
|
13001
13237
|
return this.filterOptions;
|
|
@@ -13012,6 +13248,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13012
13248
|
var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
|
|
13013
13249
|
var propertyCheck = function (keys) {
|
|
13014
13250
|
if (!keys.some(function (key) { return filterOption[key] != null; })) {
|
|
13251
|
+
console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
|
|
13015
13252
|
return false;
|
|
13016
13253
|
}
|
|
13017
13254
|
return true;
|
|
@@ -13045,9 +13282,13 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13045
13282
|
else if (firstFilterOption.displayKey) {
|
|
13046
13283
|
this.defaultOption = firstFilterOption.displayKey;
|
|
13047
13284
|
}
|
|
13048
|
-
else
|
|
13285
|
+
else {
|
|
13286
|
+
console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
|
|
13287
|
+
}
|
|
13288
|
+
}
|
|
13289
|
+
else {
|
|
13290
|
+
console.warn('AG Grid: no filter options for filter');
|
|
13049
13291
|
}
|
|
13050
|
-
else ;
|
|
13051
13292
|
};
|
|
13052
13293
|
OptionsFactory.prototype.getDefaultOption = function () {
|
|
13053
13294
|
return this.defaultOption;
|
|
@@ -13310,6 +13551,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13310
13551
|
clickListener = function (e) { _this.onBtCancel(e); };
|
|
13311
13552
|
break;
|
|
13312
13553
|
default:
|
|
13554
|
+
console.warn('AG Grid: Unknown button type specified');
|
|
13313
13555
|
return;
|
|
13314
13556
|
}
|
|
13315
13557
|
var buttonType = type === 'apply' ? 'submit' : 'button';
|
|
@@ -13450,6 +13692,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13450
13692
|
// static, as used by floating filter also
|
|
13451
13693
|
ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
|
|
13452
13694
|
if (ProvidedFilter.isUseApplyButton(params)) {
|
|
13695
|
+
if (params.debounceMs != null) {
|
|
13696
|
+
console.warn('AG Grid: debounceMs is ignored when apply button is present');
|
|
13697
|
+
}
|
|
13453
13698
|
return 0;
|
|
13454
13699
|
}
|
|
13455
13700
|
return params.debounceMs != null ? params.debounceMs : debounceDefault;
|
|
@@ -14826,6 +15071,7 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
14826
15071
|
case ScalarFilter.NOT_BLANK:
|
|
14827
15072
|
return !this.isBlank(cellValue);
|
|
14828
15073
|
default:
|
|
15074
|
+
console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
|
|
14829
15075
|
return true;
|
|
14830
15076
|
}
|
|
14831
15077
|
};
|
|
@@ -14919,11 +15165,17 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
14919
15165
|
if (!isNaN(params[param])) {
|
|
14920
15166
|
return params[param] == null ? fallback : Number(params[param]);
|
|
14921
15167
|
}
|
|
15168
|
+
else {
|
|
15169
|
+
console.warn("AG Grid: DateFilter " + param + " is not a number");
|
|
15170
|
+
}
|
|
14922
15171
|
}
|
|
14923
15172
|
return fallback;
|
|
14924
15173
|
};
|
|
14925
15174
|
this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
|
|
14926
15175
|
this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
|
|
15176
|
+
if (this.minValidYear > this.maxValidYear) {
|
|
15177
|
+
console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
|
|
15178
|
+
}
|
|
14927
15179
|
this.createDateComponents();
|
|
14928
15180
|
};
|
|
14929
15181
|
DateFilter.prototype.createDateComponents = function () {
|
|
@@ -15624,7 +15876,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15624
15876
|
TextFilter.prototype.getTextMatcher = function () {
|
|
15625
15877
|
var legacyComparator = this.textFilterParams.textCustomComparator;
|
|
15626
15878
|
if (legacyComparator) {
|
|
15627
|
-
_.doOnce(function () { return (
|
|
15879
|
+
_.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
|
|
15628
15880
|
return function (_a) {
|
|
15629
15881
|
var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
|
|
15630
15882
|
return legacyComparator(filterOption, value, filterText);
|
|
@@ -16550,7 +16802,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16550
16802
|
HeaderGroupComp.prototype.checkWarnings = function () {
|
|
16551
16803
|
var paramsAny = this.params;
|
|
16552
16804
|
if (paramsAny.template) {
|
|
16553
|
-
|
|
16805
|
+
var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
|
|
16806
|
+
doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
|
|
16554
16807
|
}
|
|
16555
16808
|
};
|
|
16556
16809
|
HeaderGroupComp.prototype.setupExpandIcons = function () {
|
|
@@ -16781,6 +17034,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
16781
17034
|
var _this = this;
|
|
16782
17035
|
this.focusAfterAttached = params.cellStartedEdit;
|
|
16783
17036
|
if (missing(params.values)) {
|
|
17037
|
+
console.warn('AG Grid: no values found for select cellEditor');
|
|
16784
17038
|
return;
|
|
16785
17039
|
}
|
|
16786
17040
|
this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
|
|
@@ -16854,7 +17108,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
16854
17108
|
__extends$2_(PopupSelectCellEditor, _super);
|
|
16855
17109
|
function PopupSelectCellEditor() {
|
|
16856
17110
|
var _this = _super.call(this) || this;
|
|
16857
|
-
doOnce(function () { return (
|
|
17111
|
+
doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
|
|
16858
17112
|
return _this;
|
|
16859
17113
|
}
|
|
16860
17114
|
PopupSelectCellEditor.prototype.isPopup = function () {
|
|
@@ -17008,7 +17262,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17008
17262
|
__extends$2Y(PopupTextCellEditor, _super);
|
|
17009
17263
|
function PopupTextCellEditor() {
|
|
17010
17264
|
var _this = _super.call(this) || this;
|
|
17011
|
-
doOnce(function () { return (
|
|
17265
|
+
doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
|
|
17012
17266
|
return _this;
|
|
17013
17267
|
}
|
|
17014
17268
|
PopupTextCellEditor.prototype.isPopup = function () {
|
|
@@ -17385,7 +17639,9 @@ var RowNode = /** @class */ (function () {
|
|
|
17385
17639
|
});
|
|
17386
17640
|
// make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
|
|
17387
17641
|
// it has 'startsWith' in case the user provided a number.
|
|
17388
|
-
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP))
|
|
17642
|
+
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
|
|
17643
|
+
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.");
|
|
17644
|
+
}
|
|
17389
17645
|
// force id to be a string
|
|
17390
17646
|
if (this.id !== null && typeof this.id !== 'string') {
|
|
17391
17647
|
this.id = '' + this.id;
|
|
@@ -17844,9 +18100,11 @@ var RowNode = /** @class */ (function () {
|
|
|
17844
18100
|
// groupSelectsFiltered only makes sense when group selects children
|
|
17845
18101
|
var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
|
|
17846
18102
|
if (this.id === undefined) {
|
|
18103
|
+
console.warn('AG Grid: cannot select node until id for node is known');
|
|
17847
18104
|
return 0;
|
|
17848
18105
|
}
|
|
17849
18106
|
if (this.rowPinned) {
|
|
18107
|
+
console.warn('AG Grid: cannot select pinned rows');
|
|
17850
18108
|
return 0;
|
|
17851
18109
|
}
|
|
17852
18110
|
// if we are a footer, we don't do selection, just pass the info
|
|
@@ -18621,7 +18879,9 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18621
18879
|
}
|
|
18622
18880
|
}
|
|
18623
18881
|
this.eGhostParent = targetEl;
|
|
18624
|
-
if (!this.eGhostParent)
|
|
18882
|
+
if (!this.eGhostParent) {
|
|
18883
|
+
console.warn('AG Grid: could not find document body, it is needed for dragging columns');
|
|
18884
|
+
}
|
|
18625
18885
|
else {
|
|
18626
18886
|
this.eGhostParent.appendChild(this.eGhost);
|
|
18627
18887
|
}
|
|
@@ -18784,7 +19044,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
18784
19044
|
var treeData = this.beans.gridOptionsWrapper.isTreeData();
|
|
18785
19045
|
if (treeData && managed) {
|
|
18786
19046
|
doOnce(function () {
|
|
18787
|
-
return (
|
|
19047
|
+
return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
|
|
18788
19048
|
}, 'RowDragComp.managedAndTreeData');
|
|
18789
19049
|
}
|
|
18790
19050
|
};
|
|
@@ -19193,7 +19453,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19193
19453
|
else if (typeof footerValueGetter === 'string') {
|
|
19194
19454
|
footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
|
|
19195
19455
|
}
|
|
19196
|
-
else
|
|
19456
|
+
else {
|
|
19457
|
+
console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
|
|
19458
|
+
}
|
|
19197
19459
|
}
|
|
19198
19460
|
else {
|
|
19199
19461
|
footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
|
|
@@ -19411,7 +19673,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19411
19673
|
var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
|
|
19412
19674
|
var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
|
|
19413
19675
|
if (userProvidedPaddingPixelsTheDeprecatedWay) {
|
|
19414
|
-
doOnce(function () { return (
|
|
19676
|
+
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');
|
|
19415
19677
|
}
|
|
19416
19678
|
if (this.indentClass) {
|
|
19417
19679
|
this.comp.addOrRemoveCssClass(this.indentClass, false);
|
|
@@ -19916,6 +20178,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19916
20178
|
UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
|
|
19917
20179
|
var name = this.translateIfDeprecated(rawName);
|
|
19918
20180
|
if (this.agGridDefaults[name]) {
|
|
20181
|
+
console.error("Trying to overwrite a default component. You should call registerComponent");
|
|
19919
20182
|
return;
|
|
19920
20183
|
}
|
|
19921
20184
|
this.agGridDefaults[name] = component;
|
|
@@ -19923,6 +20186,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19923
20186
|
UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
|
|
19924
20187
|
var name = this.translateIfDeprecated(rawName);
|
|
19925
20188
|
if (this.fwComps[name]) {
|
|
20189
|
+
console.error("Trying to register a component that you have already registered for frameworks: " + name);
|
|
19926
20190
|
return;
|
|
19927
20191
|
}
|
|
19928
20192
|
this.jsComps[name] = component;
|
|
@@ -19932,7 +20196,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19932
20196
|
* A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
|
|
19933
20197
|
*/
|
|
19934
20198
|
UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
|
|
19935
|
-
|
|
20199
|
+
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.";
|
|
20200
|
+
doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
19936
20201
|
var name = this.translateIfDeprecated(rawName);
|
|
19937
20202
|
this.fwComps[name] = component;
|
|
19938
20203
|
};
|
|
@@ -19959,13 +20224,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19959
20224
|
if (defaultComponent) {
|
|
19960
20225
|
return createResult(defaultComponent, false);
|
|
19961
20226
|
}
|
|
19962
|
-
if (Object.keys(this.agGridDefaults).indexOf(name) < 0)
|
|
20227
|
+
if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
|
|
20228
|
+
console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
|
|
20229
|
+
}
|
|
19963
20230
|
return null;
|
|
19964
20231
|
};
|
|
19965
20232
|
UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
|
|
19966
20233
|
var deprecatedInfo = this.agDeprecatedNames[raw];
|
|
19967
20234
|
if (deprecatedInfo != null) {
|
|
19968
20235
|
doOnce(function () {
|
|
20236
|
+
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);
|
|
19969
20237
|
}, 'DEPRECATE_COMPONENT_' + raw);
|
|
19970
20238
|
return deprecatedInfo.newComponentName;
|
|
19971
20239
|
}
|
|
@@ -20183,6 +20451,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20183
20451
|
};
|
|
20184
20452
|
UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
|
|
20185
20453
|
var _this = this;
|
|
20454
|
+
if (mandatory === void 0) { mandatory = false; }
|
|
20186
20455
|
var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
|
|
20187
20456
|
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;
|
|
20188
20457
|
var lookupFromRegistry = function (key) {
|
|
@@ -20205,6 +20474,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20205
20474
|
jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
|
|
20206
20475
|
}
|
|
20207
20476
|
if (!jsComp && !fwComp) {
|
|
20477
|
+
if (mandatory) {
|
|
20478
|
+
console.error("Could not find component " + compName + ", did you forget to configure this component?");
|
|
20479
|
+
}
|
|
20208
20480
|
return;
|
|
20209
20481
|
}
|
|
20210
20482
|
var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
|
|
@@ -20241,7 +20513,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20241
20513
|
var selectorRes = selectorFunc ? selectorFunc(params) : null;
|
|
20242
20514
|
var assignComp = function (providedJsComp, providedFwComp) {
|
|
20243
20515
|
var xxxFrameworkDeprecatedWarn = function () {
|
|
20244
|
-
|
|
20516
|
+
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.";
|
|
20517
|
+
doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20245
20518
|
};
|
|
20246
20519
|
if (typeof providedJsComp === 'string') {
|
|
20247
20520
|
compName = providedJsComp;
|
|
@@ -20267,7 +20540,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20267
20540
|
};
|
|
20268
20541
|
if (selectorRes) {
|
|
20269
20542
|
if (selectorRes.frameworkComponent != null) {
|
|
20270
|
-
|
|
20543
|
+
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.";
|
|
20544
|
+
doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20271
20545
|
assignComp(selectorRes.frameworkComponent, undefined);
|
|
20272
20546
|
}
|
|
20273
20547
|
else {
|
|
@@ -20772,13 +21046,16 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20772
21046
|
modelKeys_1.forEach(function (colId) {
|
|
20773
21047
|
var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
|
|
20774
21048
|
if (!column) {
|
|
21049
|
+
console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
|
|
20775
21050
|
return;
|
|
20776
21051
|
}
|
|
20777
21052
|
if (!column.isFilterAllowed()) {
|
|
21053
|
+
console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
|
|
20778
21054
|
return;
|
|
20779
21055
|
}
|
|
20780
21056
|
var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
|
|
20781
21057
|
if (!filterWrapper) {
|
|
21058
|
+
console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
|
|
20782
21059
|
return;
|
|
20783
21060
|
}
|
|
20784
21061
|
allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
|
|
@@ -20808,6 +21085,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20808
21085
|
return new AgPromise(function (resolve) {
|
|
20809
21086
|
filterPromise.then(function (filter) {
|
|
20810
21087
|
if (typeof filter.setModel !== 'function') {
|
|
21088
|
+
console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
|
|
20811
21089
|
resolve();
|
|
20812
21090
|
}
|
|
20813
21091
|
(filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
|
|
@@ -20824,6 +21102,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20824
21102
|
return null;
|
|
20825
21103
|
}
|
|
20826
21104
|
if (typeof filter.getModel !== 'function') {
|
|
21105
|
+
console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
|
|
20827
21106
|
return;
|
|
20828
21107
|
}
|
|
20829
21108
|
var model = filter.getModel();
|
|
@@ -20857,6 +21136,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20857
21136
|
return false;
|
|
20858
21137
|
} // this never happens, including to avoid compile error
|
|
20859
21138
|
if (!filter.isFilterActive) {
|
|
21139
|
+
console.warn('AG Grid: Filter is missing isFilterActive() method');
|
|
20860
21140
|
return false;
|
|
20861
21141
|
}
|
|
20862
21142
|
return filter.isFilterActive();
|
|
@@ -20930,12 +21210,14 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20930
21210
|
return null;
|
|
20931
21211
|
}
|
|
20932
21212
|
if (!this.gridOptionsWrapper.isRowModelDefault()) {
|
|
21213
|
+
console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
|
|
20933
21214
|
return null;
|
|
20934
21215
|
}
|
|
20935
21216
|
return newFilter.toUpperCase();
|
|
20936
21217
|
};
|
|
20937
21218
|
FilterManager.prototype.setQuickFilter = function (newFilter) {
|
|
20938
21219
|
if (newFilter != null && typeof newFilter !== 'string') {
|
|
21220
|
+
console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
|
|
20939
21221
|
return;
|
|
20940
21222
|
}
|
|
20941
21223
|
var parsedFilter = this.parseQuickFilter(newFilter);
|
|
@@ -21195,7 +21477,9 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21195
21477
|
filterWrapper.guiPromise = new AgPromise(function (resolve) {
|
|
21196
21478
|
filterWrapper.filterPromise.then(function (filter) {
|
|
21197
21479
|
var guiFromFilter = filter.getGui();
|
|
21198
|
-
if (!exists(guiFromFilter))
|
|
21480
|
+
if (!exists(guiFromFilter)) {
|
|
21481
|
+
console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
|
|
21482
|
+
}
|
|
21199
21483
|
// for backwards compatibility with Angular 1 - we
|
|
21200
21484
|
// used to allow providing back HTML from getGui().
|
|
21201
21485
|
// once we move away from supporting Angular 1
|
|
@@ -21787,6 +22071,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
21787
22071
|
}
|
|
21788
22072
|
var rowCount = this.paginationProxy.getRowCount();
|
|
21789
22073
|
if (typeof index !== 'number' || index < 0 || index >= rowCount) {
|
|
22074
|
+
console.warn('invalid row index for ensureIndexVisible: ' + index);
|
|
21790
22075
|
return;
|
|
21791
22076
|
}
|
|
21792
22077
|
var isPaging = this.gridOptionsWrapper.isPagination();
|
|
@@ -22281,10 +22566,11 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22281
22566
|
RowDragFeature.prototype.addRowDropZone = function (params) {
|
|
22282
22567
|
var _this = this;
|
|
22283
22568
|
if (!params.getContainer()) {
|
|
22284
|
-
doOnce(function () { return (
|
|
22569
|
+
doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
|
|
22285
22570
|
return;
|
|
22286
22571
|
}
|
|
22287
22572
|
if (this.dragAndDropService.findExternalZone(params)) {
|
|
22573
|
+
console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
|
|
22288
22574
|
return;
|
|
22289
22575
|
}
|
|
22290
22576
|
var processedParams = {
|
|
@@ -22811,7 +23097,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
22811
23097
|
_this.sizeColumnsToFit(params, -1);
|
|
22812
23098
|
}, 500);
|
|
22813
23099
|
}
|
|
22814
|
-
else
|
|
23100
|
+
else {
|
|
23101
|
+
console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
|
|
23102
|
+
'zero width, maybe the grid is not visible yet on the screen?');
|
|
23103
|
+
}
|
|
22815
23104
|
};
|
|
22816
23105
|
// + rangeService
|
|
22817
23106
|
GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
|
|
@@ -24472,6 +24761,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24472
24761
|
CellCtrl.prototype.createCellRendererParams = function () {
|
|
24473
24762
|
var _this = this;
|
|
24474
24763
|
var addRowCompListener = function (eventType, listener) {
|
|
24764
|
+
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.');
|
|
24475
24765
|
_this.rowCtrl.addEventListener(eventType, listener);
|
|
24476
24766
|
};
|
|
24477
24767
|
var res = {
|
|
@@ -25000,11 +25290,11 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25000
25290
|
if (rowDragManaged) {
|
|
25001
25291
|
// row dragging only available in default row model
|
|
25002
25292
|
if (!clientSideRowModelActive) {
|
|
25003
|
-
doOnce(function () { return (
|
|
25293
|
+
doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
|
|
25004
25294
|
return;
|
|
25005
25295
|
}
|
|
25006
25296
|
if (pagination) {
|
|
25007
|
-
doOnce(function () { return (
|
|
25297
|
+
doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
|
|
25008
25298
|
return;
|
|
25009
25299
|
}
|
|
25010
25300
|
}
|
|
@@ -25221,6 +25511,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25221
25511
|
var gow = this.beans.gridOptionsWrapper;
|
|
25222
25512
|
if (gow.isEnableRangeSelection()) {
|
|
25223
25513
|
doOnce(function () {
|
|
25514
|
+
console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
|
|
25224
25515
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25225
25516
|
return;
|
|
25226
25517
|
}
|
|
@@ -25233,7 +25524,12 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25233
25524
|
var params = this.createFullWidthParams(gui.element, pinned);
|
|
25234
25525
|
var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
|
|
25235
25526
|
if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
|
|
25236
|
-
if (ModuleRegistry.isPackageBased())
|
|
25527
|
+
if (ModuleRegistry.isPackageBased()) {
|
|
25528
|
+
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
|
|
25529
|
+
}
|
|
25530
|
+
else {
|
|
25531
|
+
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
|
|
25532
|
+
}
|
|
25237
25533
|
return;
|
|
25238
25534
|
}
|
|
25239
25535
|
var compDetails;
|
|
@@ -25984,6 +26280,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25984
26280
|
// part 1 - rowStyle
|
|
25985
26281
|
var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
|
|
25986
26282
|
if (rowStyle && typeof rowStyle === 'function') {
|
|
26283
|
+
console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
|
|
25987
26284
|
return;
|
|
25988
26285
|
}
|
|
25989
26286
|
// part 1 - rowStyleFunc
|
|
@@ -26098,12 +26395,14 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26098
26395
|
RowCtrl.prototype.addEventListener = function (eventType, listener) {
|
|
26099
26396
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26100
26397
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26398
|
+
console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26101
26399
|
}
|
|
26102
26400
|
_super.prototype.addEventListener.call(this, eventType, listener);
|
|
26103
26401
|
};
|
|
26104
26402
|
RowCtrl.prototype.removeEventListener = function (eventType, listener) {
|
|
26105
26403
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26106
26404
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26405
|
+
console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26107
26406
|
}
|
|
26108
26407
|
_super.prototype.removeEventListener.call(this, eventType, listener);
|
|
26109
26408
|
};
|
|
@@ -28263,7 +28562,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28263
28562
|
var userCell = userFunc(params);
|
|
28264
28563
|
if (exists(userCell)) {
|
|
28265
28564
|
if (userCell.floating) {
|
|
28266
|
-
doOnce(function () { }, 'no floating in userCell');
|
|
28565
|
+
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');
|
|
28267
28566
|
userCell.rowPinned = userCell.floating;
|
|
28268
28567
|
}
|
|
28269
28568
|
nextPosition = {
|
|
@@ -28396,7 +28695,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28396
28695
|
var userCell = userFunc(params);
|
|
28397
28696
|
if (exists(userCell)) {
|
|
28398
28697
|
if (userCell.floating) {
|
|
28399
|
-
doOnce(function () { }, 'no floating in userCell');
|
|
28698
|
+
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');
|
|
28400
28699
|
userCell.rowPinned = userCell.floating;
|
|
28401
28700
|
}
|
|
28402
28701
|
nextCell = {
|
|
@@ -28951,6 +29250,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
28951
29250
|
return;
|
|
28952
29251
|
}
|
|
28953
29252
|
if (!cellEditor.getGui) {
|
|
29253
|
+
console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
|
|
28954
29254
|
this.beans.context.destroyBean(cellEditor);
|
|
28955
29255
|
return;
|
|
28956
29256
|
}
|
|
@@ -28988,7 +29288,10 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
28988
29288
|
};
|
|
28989
29289
|
CellComp.prototype.addPopupCellEditor = function (params, position) {
|
|
28990
29290
|
var _this = this;
|
|
28991
|
-
if (this.beans.gridOptionsWrapper.isFullRowEdit())
|
|
29291
|
+
if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
|
|
29292
|
+
console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
|
|
29293
|
+
'- either turn off fullRowEdit, or stop using popup editors.');
|
|
29294
|
+
}
|
|
28992
29295
|
var cellEditor = this.cellEditor;
|
|
28993
29296
|
// if a popup, then we wrap in a popup editor and return the popup
|
|
28994
29297
|
this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
|
|
@@ -29172,6 +29475,9 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29172
29475
|
};
|
|
29173
29476
|
RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
|
|
29174
29477
|
var _this = this;
|
|
29478
|
+
if (this.fullWidthCellRenderer) {
|
|
29479
|
+
console.error('AG Grid - should not be setting fullWidthRowComponent twice');
|
|
29480
|
+
}
|
|
29175
29481
|
this.fullWidthCellRenderer = fullWidthRowComponent;
|
|
29176
29482
|
this.addDestroyFunc(function () {
|
|
29177
29483
|
_this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
|
|
@@ -29596,6 +29902,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29596
29902
|
switch (hDirection) {
|
|
29597
29903
|
case HorizontalDirection.Left: return HorizontalDirection.Right;
|
|
29598
29904
|
case HorizontalDirection.Right: return HorizontalDirection.Left;
|
|
29905
|
+
default: console.error("AG Grid: Unknown direction " + hDirection);
|
|
29599
29906
|
}
|
|
29600
29907
|
}
|
|
29601
29908
|
else {
|
|
@@ -30636,6 +30943,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30636
30943
|
}
|
|
30637
30944
|
var exportMode = this.getExcelExportMode(params);
|
|
30638
30945
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30946
|
+
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30639
30947
|
return;
|
|
30640
30948
|
}
|
|
30641
30949
|
return this.excelCreator.getDataAsExcel(params);
|
|
@@ -30647,6 +30955,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30647
30955
|
}
|
|
30648
30956
|
var exportMode = this.getExcelExportMode(params);
|
|
30649
30957
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30958
|
+
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30650
30959
|
return;
|
|
30651
30960
|
}
|
|
30652
30961
|
this.excelCreator.exportDataAsExcel(params);
|
|
@@ -30674,6 +30983,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30674
30983
|
};
|
|
30675
30984
|
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30676
30985
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30986
|
+
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30677
30987
|
this.setServerSideDatasource(datasource);
|
|
30678
30988
|
};
|
|
30679
30989
|
/**
|
|
@@ -30702,6 +31012,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30702
31012
|
// should really have an IEnterpriseRowModel interface, so we are not casting to any
|
|
30703
31013
|
this.serverSideRowModel.setDatasource(datasource);
|
|
30704
31014
|
}
|
|
31015
|
+
else {
|
|
31016
|
+
console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31017
|
+
}
|
|
30705
31018
|
};
|
|
30706
31019
|
/**
|
|
30707
31020
|
* Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
|
|
@@ -30710,6 +31023,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30710
31023
|
* */
|
|
30711
31024
|
GridApi.prototype.setCacheBlockSize = function (blockSize) {
|
|
30712
31025
|
if (!this.serverSideRowModel) {
|
|
31026
|
+
console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
30713
31027
|
return;
|
|
30714
31028
|
}
|
|
30715
31029
|
this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
|
|
@@ -30720,6 +31034,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30720
31034
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
30721
31035
|
this.rowModel.setDatasource(datasource);
|
|
30722
31036
|
}
|
|
31037
|
+
else {
|
|
31038
|
+
console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
|
|
31039
|
+
}
|
|
30723
31040
|
};
|
|
30724
31041
|
/** Set new datasource for Viewport Row Model. */
|
|
30725
31042
|
GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
|
|
@@ -30729,12 +31046,16 @@ var GridApi = /** @class */ (function () {
|
|
|
30729
31046
|
// the enterprise implement it, rather than casting to 'any' here
|
|
30730
31047
|
this.rowModel.setViewportDatasource(viewportDatasource);
|
|
30731
31048
|
}
|
|
31049
|
+
else {
|
|
31050
|
+
console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
|
|
31051
|
+
}
|
|
30732
31052
|
};
|
|
30733
31053
|
/** Set the row data. */
|
|
30734
31054
|
GridApi.prototype.setRowData = function (rowData) {
|
|
30735
31055
|
// immutable service is part of the CSRM module, if missing, no CSRM
|
|
30736
31056
|
var missingImmutableService = this.immutableService == null;
|
|
30737
31057
|
if (missingImmutableService) {
|
|
31058
|
+
console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
|
|
30738
31059
|
return;
|
|
30739
31060
|
}
|
|
30740
31061
|
// if no keys provided provided for rows, then we can tread the operation as Immutable
|
|
@@ -30748,26 +31069,32 @@ var GridApi = /** @class */ (function () {
|
|
|
30748
31069
|
};
|
|
30749
31070
|
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
30750
31071
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
31072
|
+
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
30751
31073
|
this.setPinnedTopRowData(rows);
|
|
30752
31074
|
};
|
|
30753
31075
|
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
30754
31076
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
31077
|
+
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
30755
31078
|
this.setPinnedBottomRowData(rows);
|
|
30756
31079
|
};
|
|
30757
31080
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
30758
31081
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
31082
|
+
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
30759
31083
|
return this.getPinnedTopRowCount();
|
|
30760
31084
|
};
|
|
30761
31085
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
30762
31086
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
31087
|
+
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
30763
31088
|
return this.getPinnedBottomRowCount();
|
|
30764
31089
|
};
|
|
30765
31090
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
30766
31091
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
31092
|
+
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
30767
31093
|
return this.getPinnedTopRow(index);
|
|
30768
31094
|
};
|
|
30769
31095
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
30770
31096
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
31097
|
+
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
30771
31098
|
return this.getPinnedBottomRow(index);
|
|
30772
31099
|
};
|
|
30773
31100
|
/** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
|
|
@@ -30848,6 +31175,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30848
31175
|
if (params === void 0) { params = {}; }
|
|
30849
31176
|
if (Array.isArray(params)) {
|
|
30850
31177
|
// the old version of refreshCells() took an array of rowNodes for the first argument
|
|
31178
|
+
console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
|
|
30851
31179
|
return;
|
|
30852
31180
|
}
|
|
30853
31181
|
this.rowRenderer.refreshCells(params);
|
|
@@ -30901,8 +31229,12 @@ var GridApi = /** @class */ (function () {
|
|
|
30901
31229
|
* It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
|
|
30902
31230
|
*/
|
|
30903
31231
|
GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
|
|
30904
|
-
if (missing(this.clientSideRowModel))
|
|
30905
|
-
|
|
31232
|
+
if (missing(this.clientSideRowModel)) {
|
|
31233
|
+
console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
|
|
31234
|
+
}
|
|
31235
|
+
if (exists(deprecated_refreshFromIndex)) {
|
|
31236
|
+
console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
|
|
31237
|
+
}
|
|
30906
31238
|
// we don't really want the user calling this if only one rowNode was expanded, instead they should be
|
|
30907
31239
|
// calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
|
|
30908
31240
|
// grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
|
|
@@ -30911,6 +31243,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30911
31243
|
};
|
|
30912
31244
|
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
30913
31245
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
31246
|
+
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
30914
31247
|
this.refreshClientSideRowModel(step);
|
|
30915
31248
|
};
|
|
30916
31249
|
/**
|
|
@@ -30918,7 +31251,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30918
31251
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
30919
31252
|
*/
|
|
30920
31253
|
GridApi.prototype.refreshClientSideRowModel = function (step) {
|
|
30921
|
-
if (missing(this.clientSideRowModel))
|
|
31254
|
+
if (missing(this.clientSideRowModel)) {
|
|
31255
|
+
console.warn('cannot call refreshClientSideRowModel unless using normal row model');
|
|
31256
|
+
}
|
|
30922
31257
|
var paramsStep = ClientSideRowModelSteps.EVERYTHING;
|
|
30923
31258
|
var stepsMapped = {
|
|
30924
31259
|
everything: ClientSideRowModelSteps.EVERYTHING,
|
|
@@ -30933,6 +31268,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30933
31268
|
paramsStep = stepsMapped[step];
|
|
30934
31269
|
}
|
|
30935
31270
|
if (missing(paramsStep)) {
|
|
31271
|
+
console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
|
|
30936
31272
|
return;
|
|
30937
31273
|
}
|
|
30938
31274
|
var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
|
|
@@ -30978,7 +31314,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30978
31314
|
else if (this.serverSideRowModel) {
|
|
30979
31315
|
this.serverSideRowModel.expandAll(true);
|
|
30980
31316
|
}
|
|
30981
|
-
else
|
|
31317
|
+
else {
|
|
31318
|
+
console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
|
|
31319
|
+
}
|
|
30982
31320
|
};
|
|
30983
31321
|
/** Collapse all groups. */
|
|
30984
31322
|
GridApi.prototype.collapseAll = function () {
|
|
@@ -30988,17 +31326,23 @@ var GridApi = /** @class */ (function () {
|
|
|
30988
31326
|
else if (this.serverSideRowModel) {
|
|
30989
31327
|
this.serverSideRowModel.expandAll(false);
|
|
30990
31328
|
}
|
|
30991
|
-
else
|
|
31329
|
+
else {
|
|
31330
|
+
console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
|
|
31331
|
+
}
|
|
30992
31332
|
};
|
|
30993
31333
|
/** Gets the tool panel instance corresponding to the supplied `id`. */
|
|
30994
31334
|
GridApi.prototype.getToolPanelInstance = function (id) {
|
|
30995
31335
|
if (!this.sideBarComp) {
|
|
31336
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
30996
31337
|
return;
|
|
30997
31338
|
}
|
|
30998
31339
|
var comp = this.sideBarComp.getToolPanelInstance(id);
|
|
30999
31340
|
return unwrapUserComp(comp);
|
|
31000
31341
|
};
|
|
31001
31342
|
GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
|
|
31343
|
+
if (typeof eventName !== 'string') {
|
|
31344
|
+
console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
|
|
31345
|
+
}
|
|
31002
31346
|
this.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31003
31347
|
};
|
|
31004
31348
|
/**
|
|
@@ -31009,6 +31353,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31009
31353
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31010
31354
|
*/
|
|
31011
31355
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
31356
|
+
if (eventName === 'virtualRowSelected') {
|
|
31357
|
+
console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
|
|
31358
|
+
}
|
|
31012
31359
|
this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31013
31360
|
};
|
|
31014
31361
|
/** Pass a quick filter text into the grid for filtering. */
|
|
@@ -31017,19 +31364,38 @@ var GridApi = /** @class */ (function () {
|
|
|
31017
31364
|
};
|
|
31018
31365
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31019
31366
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31367
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31368
|
+
if (suppressEvents) {
|
|
31369
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31370
|
+
}
|
|
31020
31371
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31021
31372
|
};
|
|
31022
31373
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31023
31374
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31375
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31376
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31377
|
+
if (suppressEvents) {
|
|
31378
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31379
|
+
}
|
|
31024
31380
|
this.selectionService.deselectIndex(index);
|
|
31025
31381
|
};
|
|
31026
31382
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31027
31383
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31028
31384
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31385
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31386
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31387
|
+
if (suppressEvents) {
|
|
31388
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31389
|
+
}
|
|
31029
31390
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31030
31391
|
};
|
|
31031
31392
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31032
31393
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31394
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31395
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31396
|
+
if (suppressEvents) {
|
|
31397
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31398
|
+
}
|
|
31033
31399
|
node.setSelectedParams({ newValue: false });
|
|
31034
31400
|
};
|
|
31035
31401
|
/** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
|
|
@@ -31050,7 +31416,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31050
31416
|
};
|
|
31051
31417
|
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31052
31418
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31053
|
-
if (missing(this.clientSideRowModel))
|
|
31419
|
+
if (missing(this.clientSideRowModel)) {
|
|
31420
|
+
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
31421
|
+
}
|
|
31422
|
+
console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
|
|
31054
31423
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
|
|
31055
31424
|
};
|
|
31056
31425
|
/**
|
|
@@ -31072,10 +31441,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31072
31441
|
this.overlayWrapperComp.hideOverlay();
|
|
31073
31442
|
};
|
|
31074
31443
|
GridApi.prototype.isNodeSelected = function (node) {
|
|
31444
|
+
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31075
31445
|
return node.isSelected();
|
|
31076
31446
|
};
|
|
31077
31447
|
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31078
31448
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31449
|
+
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31079
31450
|
return null;
|
|
31080
31451
|
};
|
|
31081
31452
|
/**
|
|
@@ -31104,6 +31475,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31104
31475
|
};
|
|
31105
31476
|
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31106
31477
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31478
|
+
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31107
31479
|
};
|
|
31108
31480
|
/**
|
|
31109
31481
|
* Ensures the column is visible by scrolling the table if needed.
|
|
@@ -31145,7 +31517,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31145
31517
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
31146
31518
|
*/
|
|
31147
31519
|
GridApi.prototype.forEachLeafNode = function (callback) {
|
|
31148
|
-
if (missing(this.clientSideRowModel))
|
|
31520
|
+
if (missing(this.clientSideRowModel)) {
|
|
31521
|
+
console.warn('cannot call forEachNode unless using normal row model');
|
|
31522
|
+
}
|
|
31149
31523
|
this.clientSideRowModel.forEachLeafNode(callback);
|
|
31150
31524
|
};
|
|
31151
31525
|
/**
|
|
@@ -31159,12 +31533,16 @@ var GridApi = /** @class */ (function () {
|
|
|
31159
31533
|
};
|
|
31160
31534
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
31161
31535
|
GridApi.prototype.forEachNodeAfterFilter = function (callback) {
|
|
31162
|
-
if (missing(this.clientSideRowModel))
|
|
31536
|
+
if (missing(this.clientSideRowModel)) {
|
|
31537
|
+
console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
|
|
31538
|
+
}
|
|
31163
31539
|
this.clientSideRowModel.forEachNodeAfterFilter(callback);
|
|
31164
31540
|
};
|
|
31165
31541
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
31166
31542
|
GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
|
|
31167
|
-
if (missing(this.clientSideRowModel))
|
|
31543
|
+
if (missing(this.clientSideRowModel)) {
|
|
31544
|
+
console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
|
|
31545
|
+
}
|
|
31168
31546
|
this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
|
|
31169
31547
|
};
|
|
31170
31548
|
/**
|
|
@@ -31402,10 +31780,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31402
31780
|
};
|
|
31403
31781
|
/** @deprecated use `setProcessPivotResultColDef` instead */
|
|
31404
31782
|
GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
|
|
31783
|
+
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
|
|
31405
31784
|
this.setProcessPivotResultColDef(processSecondaryColDefFunc);
|
|
31406
31785
|
};
|
|
31407
31786
|
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
|
|
31408
31787
|
GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
|
|
31788
|
+
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
|
|
31409
31789
|
this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
|
|
31410
31790
|
};
|
|
31411
31791
|
GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
|
|
@@ -31461,6 +31841,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31461
31841
|
/** Show/hide the entire side bar, including any visible panel and the tab buttons. */
|
|
31462
31842
|
GridApi.prototype.setSideBarVisible = function (show) {
|
|
31463
31843
|
if (!this.sideBarComp) {
|
|
31844
|
+
if (show) {
|
|
31845
|
+
console.warn('AG Grid: sideBar is not loaded');
|
|
31846
|
+
}
|
|
31464
31847
|
return;
|
|
31465
31848
|
}
|
|
31466
31849
|
this.sideBarComp.setDisplayed(show);
|
|
@@ -31468,6 +31851,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31468
31851
|
/** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
|
|
31469
31852
|
GridApi.prototype.setSideBarPosition = function (position) {
|
|
31470
31853
|
if (!this.sideBarComp) {
|
|
31854
|
+
console.warn('AG Grid: sideBar is not loaded');
|
|
31471
31855
|
return;
|
|
31472
31856
|
}
|
|
31473
31857
|
this.sideBarComp.setSideBarPosition(position);
|
|
@@ -31475,6 +31859,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31475
31859
|
/** Opens a particular tool panel. Provide the ID of the tool panel to open. */
|
|
31476
31860
|
GridApi.prototype.openToolPanel = function (key) {
|
|
31477
31861
|
if (!this.sideBarComp) {
|
|
31862
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31478
31863
|
return;
|
|
31479
31864
|
}
|
|
31480
31865
|
this.sideBarComp.openToolPanel(key);
|
|
@@ -31482,6 +31867,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31482
31867
|
/** Closes the currently open tool panel (if any). */
|
|
31483
31868
|
GridApi.prototype.closeToolPanel = function () {
|
|
31484
31869
|
if (!this.sideBarComp) {
|
|
31870
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31485
31871
|
return;
|
|
31486
31872
|
}
|
|
31487
31873
|
this.sideBarComp.close();
|
|
@@ -31507,12 +31893,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31507
31893
|
};
|
|
31508
31894
|
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31509
31895
|
GridApi.prototype.doLayout = function () {
|
|
31510
|
-
|
|
31896
|
+
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";
|
|
31897
|
+
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
31511
31898
|
};
|
|
31512
31899
|
/** Tells the grid to recalculate the row heights. */
|
|
31513
31900
|
GridApi.prototype.resetRowHeights = function () {
|
|
31514
31901
|
if (exists(this.clientSideRowModel)) {
|
|
31515
31902
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
31903
|
+
console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
|
|
31516
31904
|
return;
|
|
31517
31905
|
}
|
|
31518
31906
|
this.clientSideRowModel.resetRowHeights();
|
|
@@ -31599,6 +31987,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31599
31987
|
setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
|
|
31600
31988
|
};
|
|
31601
31989
|
GridApi.prototype.warnIfDestroyed = function (methodName) {
|
|
31990
|
+
if (this.destroyCalled) {
|
|
31991
|
+
console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
|
|
31992
|
+
}
|
|
31602
31993
|
return this.destroyCalled;
|
|
31603
31994
|
};
|
|
31604
31995
|
/** Reset the quick filter cache text on every rowNode. */
|
|
@@ -31610,6 +32001,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31610
32001
|
};
|
|
31611
32002
|
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
31612
32003
|
GridApi.prototype.getRangeSelections = function () {
|
|
32004
|
+
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.");
|
|
31613
32005
|
return null;
|
|
31614
32006
|
};
|
|
31615
32007
|
/** Returns the list of selected cell ranges. */
|
|
@@ -31617,6 +32009,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31617
32009
|
if (this.rangeService) {
|
|
31618
32010
|
return this.rangeService.getCellRanges();
|
|
31619
32011
|
}
|
|
32012
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
31620
32013
|
return null;
|
|
31621
32014
|
};
|
|
31622
32015
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
@@ -31624,13 +32017,20 @@ var GridApi = /** @class */ (function () {
|
|
|
31624
32017
|
};
|
|
31625
32018
|
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
31626
32019
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
32020
|
+
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()');
|
|
31627
32021
|
};
|
|
31628
32022
|
/** Adds the provided cell range to the selected ranges. */
|
|
31629
32023
|
GridApi.prototype.addCellRange = function (params) {
|
|
32024
|
+
if (!this.rangeService) {
|
|
32025
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32026
|
+
}
|
|
31630
32027
|
this.rangeService.addCellRange(params);
|
|
31631
32028
|
};
|
|
31632
32029
|
/** Clears the selected ranges. */
|
|
31633
32030
|
GridApi.prototype.clearRangeSelection = function () {
|
|
32031
|
+
if (!this.rangeService) {
|
|
32032
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32033
|
+
}
|
|
31634
32034
|
this.rangeService.removeAllCellRanges();
|
|
31635
32035
|
};
|
|
31636
32036
|
/** Reverts the last cell edit. */
|
|
@@ -31717,18 +32117,30 @@ var GridApi = /** @class */ (function () {
|
|
|
31717
32117
|
};
|
|
31718
32118
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
31719
32119
|
GridApi.prototype.copyToClipboard = function (params) {
|
|
32120
|
+
if (!this.clipboardService) {
|
|
32121
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32122
|
+
}
|
|
31720
32123
|
this.clipboardService.copyToClipboard(params);
|
|
31721
32124
|
};
|
|
31722
32125
|
/** Copies the selected rows to the clipboard. */
|
|
31723
32126
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
32127
|
+
if (!this.clipboardService) {
|
|
32128
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32129
|
+
}
|
|
31724
32130
|
this.clipboardService.copySelectedRowsToClipboard(params);
|
|
31725
32131
|
};
|
|
31726
32132
|
/** Copies the selected ranges to the clipboard. */
|
|
31727
32133
|
GridApi.prototype.copySelectedRangeToClipboard = function (params) {
|
|
32134
|
+
if (!this.clipboardService) {
|
|
32135
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32136
|
+
}
|
|
31728
32137
|
this.clipboardService.copySelectedRangeToClipboard(params);
|
|
31729
32138
|
};
|
|
31730
32139
|
/** Copies the selected range down, similar to `Ctrl + D` in Excel. */
|
|
31731
32140
|
GridApi.prototype.copySelectedRangeDown = function () {
|
|
32141
|
+
if (!this.clipboardService) {
|
|
32142
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32143
|
+
}
|
|
31732
32144
|
this.clipboardService.copyRangeDown();
|
|
31733
32145
|
};
|
|
31734
32146
|
/** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
|
|
@@ -31745,6 +32157,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31745
32157
|
column = this.columnModel.getPrimaryColumn(colKey);
|
|
31746
32158
|
}
|
|
31747
32159
|
if (!column) {
|
|
32160
|
+
console.error("AG Grid: column '" + colKey + "' not found");
|
|
31748
32161
|
return;
|
|
31749
32162
|
}
|
|
31750
32163
|
this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
|
|
@@ -31797,6 +32210,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31797
32210
|
GridApi.prototype.startEditingCell = function (params) {
|
|
31798
32211
|
var column = this.columnModel.getGridColumn(params.colKey);
|
|
31799
32212
|
if (!column) {
|
|
32213
|
+
console.warn("AG Grid: no column found for " + params.colKey);
|
|
31800
32214
|
return;
|
|
31801
32215
|
}
|
|
31802
32216
|
var cellPosition = {
|
|
@@ -31835,12 +32249,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31835
32249
|
/** Apply transactions to the server side row model. */
|
|
31836
32250
|
GridApi.prototype.applyServerSideTransaction = function (transaction) {
|
|
31837
32251
|
if (!this.serverSideTransactionManager) {
|
|
32252
|
+
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
31838
32253
|
return;
|
|
31839
32254
|
}
|
|
31840
32255
|
return this.serverSideTransactionManager.applyTransaction(transaction);
|
|
31841
32256
|
};
|
|
31842
32257
|
GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
|
|
31843
32258
|
if (!this.serverSideTransactionManager) {
|
|
32259
|
+
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
31844
32260
|
return;
|
|
31845
32261
|
}
|
|
31846
32262
|
return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
|
|
@@ -31848,12 +32264,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31848
32264
|
/** Gets all failed server side loads to retry. */
|
|
31849
32265
|
GridApi.prototype.retryServerSideLoads = function () {
|
|
31850
32266
|
if (!this.serverSideRowModel) {
|
|
32267
|
+
console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
|
|
31851
32268
|
return;
|
|
31852
32269
|
}
|
|
31853
32270
|
this.serverSideRowModel.retryLoads();
|
|
31854
32271
|
};
|
|
31855
32272
|
GridApi.prototype.flushServerSideAsyncTransactions = function () {
|
|
31856
32273
|
if (!this.serverSideTransactionManager) {
|
|
32274
|
+
console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
|
|
31857
32275
|
return;
|
|
31858
32276
|
}
|
|
31859
32277
|
return this.serverSideTransactionManager.flushAsyncTransactions();
|
|
@@ -31861,6 +32279,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31861
32279
|
/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
|
|
31862
32280
|
GridApi.prototype.applyTransaction = function (rowDataTransaction) {
|
|
31863
32281
|
if (!this.clientSideRowModel) {
|
|
32282
|
+
console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
|
|
31864
32283
|
return;
|
|
31865
32284
|
}
|
|
31866
32285
|
var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
|
|
@@ -31878,12 +32297,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31878
32297
|
};
|
|
31879
32298
|
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
31880
32299
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
31881
|
-
|
|
32300
|
+
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.';
|
|
32301
|
+
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
31882
32302
|
return this.applyTransaction(rowDataTransaction);
|
|
31883
32303
|
};
|
|
31884
32304
|
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
|
|
31885
32305
|
GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
|
|
31886
32306
|
if (!this.clientSideRowModel) {
|
|
32307
|
+
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
31887
32308
|
return;
|
|
31888
32309
|
}
|
|
31889
32310
|
this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
|
|
@@ -31891,34 +32312,41 @@ var GridApi = /** @class */ (function () {
|
|
|
31891
32312
|
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
|
|
31892
32313
|
GridApi.prototype.flushAsyncTransactions = function () {
|
|
31893
32314
|
if (!this.clientSideRowModel) {
|
|
32315
|
+
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
31894
32316
|
return;
|
|
31895
32317
|
}
|
|
31896
32318
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
31897
32319
|
};
|
|
31898
32320
|
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
31899
32321
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
31900
|
-
|
|
32322
|
+
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.';
|
|
32323
|
+
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
31901
32324
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
31902
32325
|
};
|
|
31903
32326
|
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
31904
32327
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32328
|
+
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
31905
32329
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
31906
32330
|
};
|
|
31907
32331
|
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
31908
32332
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32333
|
+
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
31909
32334
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
31910
32335
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
31911
32336
|
};
|
|
31912
32337
|
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
31913
32338
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32339
|
+
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
31914
32340
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
31915
32341
|
};
|
|
31916
32342
|
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
31917
32343
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32344
|
+
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
31918
32345
|
this.refreshInfiniteCache();
|
|
31919
32346
|
};
|
|
31920
32347
|
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
31921
32348
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32349
|
+
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
31922
32350
|
this.refreshInfiniteCache();
|
|
31923
32351
|
};
|
|
31924
32352
|
/**
|
|
@@ -31930,13 +32358,18 @@ var GridApi = /** @class */ (function () {
|
|
|
31930
32358
|
if (this.infiniteRowModel) {
|
|
31931
32359
|
this.infiniteRowModel.refreshCache();
|
|
31932
32360
|
}
|
|
32361
|
+
else {
|
|
32362
|
+
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32363
|
+
}
|
|
31933
32364
|
};
|
|
31934
32365
|
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
31935
32366
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32367
|
+
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
31936
32368
|
this.purgeInfinitePageCache();
|
|
31937
32369
|
};
|
|
31938
32370
|
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
31939
32371
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32372
|
+
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
31940
32373
|
this.purgeInfiniteCache();
|
|
31941
32374
|
};
|
|
31942
32375
|
/**
|
|
@@ -31949,20 +32382,28 @@ var GridApi = /** @class */ (function () {
|
|
|
31949
32382
|
if (this.infiniteRowModel) {
|
|
31950
32383
|
this.infiniteRowModel.purgeCache();
|
|
31951
32384
|
}
|
|
32385
|
+
else {
|
|
32386
|
+
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32387
|
+
}
|
|
31952
32388
|
};
|
|
31953
32389
|
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
31954
32390
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32391
|
+
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
31955
32392
|
this.purgeServerSideCache(route);
|
|
31956
32393
|
};
|
|
31957
32394
|
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
31958
32395
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
31959
32396
|
if (route === void 0) { route = []; }
|
|
31960
32397
|
if (this.serverSideRowModel) {
|
|
32398
|
+
console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
|
|
31961
32399
|
this.refreshServerSide({
|
|
31962
32400
|
route: route,
|
|
31963
32401
|
purge: true
|
|
31964
32402
|
});
|
|
31965
32403
|
}
|
|
32404
|
+
else {
|
|
32405
|
+
console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
|
|
32406
|
+
}
|
|
31966
32407
|
};
|
|
31967
32408
|
/**
|
|
31968
32409
|
* Refresh a server-side level.
|
|
@@ -31971,29 +32412,34 @@ var GridApi = /** @class */ (function () {
|
|
|
31971
32412
|
*/
|
|
31972
32413
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
31973
32414
|
if (!this.serverSideRowModel) {
|
|
32415
|
+
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
31974
32416
|
return;
|
|
31975
32417
|
}
|
|
31976
32418
|
this.serverSideRowModel.refreshStore(params);
|
|
31977
32419
|
};
|
|
31978
32420
|
/** @deprecated use `refreshServerSide` instead */
|
|
31979
32421
|
GridApi.prototype.refreshServerSideStore = function (params) {
|
|
31980
|
-
|
|
32422
|
+
var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
|
|
32423
|
+
doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
|
|
31981
32424
|
return this.refreshServerSide(params);
|
|
31982
32425
|
};
|
|
31983
32426
|
/** @deprecated use `getServerSideGroupLevelState` instead */
|
|
31984
32427
|
GridApi.prototype.getServerSideStoreState = function () {
|
|
31985
|
-
|
|
32428
|
+
var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
|
|
32429
|
+
doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
|
|
31986
32430
|
return this.getServerSideGroupLevelState();
|
|
31987
32431
|
};
|
|
31988
32432
|
/** Returns info on all server side group levels. */
|
|
31989
32433
|
GridApi.prototype.getServerSideGroupLevelState = function () {
|
|
31990
32434
|
if (!this.serverSideRowModel) {
|
|
32435
|
+
console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
|
|
31991
32436
|
return [];
|
|
31992
32437
|
}
|
|
31993
32438
|
return this.serverSideRowModel.getStoreState();
|
|
31994
32439
|
};
|
|
31995
32440
|
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
31996
32441
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32442
|
+
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
31997
32443
|
return this.getInfiniteRowCount();
|
|
31998
32444
|
};
|
|
31999
32445
|
/** The row count defines how many rows the grid allows scrolling to. */
|
|
@@ -32001,9 +32447,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32001
32447
|
if (this.infiniteRowModel) {
|
|
32002
32448
|
return this.infiniteRowModel.getRowCount();
|
|
32003
32449
|
}
|
|
32450
|
+
else {
|
|
32451
|
+
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32452
|
+
}
|
|
32004
32453
|
};
|
|
32005
32454
|
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32006
32455
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32456
|
+
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32007
32457
|
return this.isLastRowIndexKnown();
|
|
32008
32458
|
};
|
|
32009
32459
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32011,13 +32461,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32011
32461
|
if (this.infiniteRowModel) {
|
|
32012
32462
|
return this.infiniteRowModel.isLastRowIndexKnown();
|
|
32013
32463
|
}
|
|
32464
|
+
else {
|
|
32465
|
+
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32466
|
+
}
|
|
32014
32467
|
};
|
|
32015
32468
|
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32016
32469
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32470
|
+
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32017
32471
|
this.setRowCount(rowCount, maxRowFound);
|
|
32018
32472
|
};
|
|
32019
32473
|
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32020
32474
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32475
|
+
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32021
32476
|
this.setRowCount(rowCount, maxRowFound);
|
|
32022
32477
|
};
|
|
32023
32478
|
/**
|
|
@@ -32031,13 +32486,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32031
32486
|
if (this.infiniteRowModel) {
|
|
32032
32487
|
this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
|
|
32033
32488
|
}
|
|
32489
|
+
else {
|
|
32490
|
+
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32491
|
+
}
|
|
32034
32492
|
};
|
|
32035
32493
|
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32036
32494
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32495
|
+
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32037
32496
|
return this.getCacheBlockState();
|
|
32038
32497
|
};
|
|
32039
32498
|
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32040
32499
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32500
|
+
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32041
32501
|
return this.getCacheBlockState();
|
|
32042
32502
|
};
|
|
32043
32503
|
/**
|
|
@@ -32048,9 +32508,11 @@ var GridApi = /** @class */ (function () {
|
|
|
32048
32508
|
};
|
|
32049
32509
|
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32050
32510
|
GridApi.prototype.checkGridSize = function () {
|
|
32511
|
+
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32051
32512
|
};
|
|
32052
32513
|
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32053
32514
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32515
|
+
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32054
32516
|
return this.getFirstDisplayedRow();
|
|
32055
32517
|
};
|
|
32056
32518
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -32059,6 +32521,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32059
32521
|
};
|
|
32060
32522
|
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32061
32523
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32524
|
+
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32062
32525
|
return this.getLastDisplayedRow();
|
|
32063
32526
|
};
|
|
32064
32527
|
/** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -33110,7 +33573,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33110
33573
|
};
|
|
33111
33574
|
};
|
|
33112
33575
|
SelectAllFeature.prototype.checkRightRowModelType = function () {
|
|
33113
|
-
this.rowModel.getType();
|
|
33576
|
+
var rowModelType = this.rowModel.getType();
|
|
33577
|
+
var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
33578
|
+
if (!rowModelMatches) {
|
|
33579
|
+
console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
|
|
33580
|
+
}
|
|
33114
33581
|
};
|
|
33115
33582
|
SelectAllFeature.prototype.onCbSelectAll = function () {
|
|
33116
33583
|
if (this.processingEventFromCheckbox) {
|
|
@@ -33142,12 +33609,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33142
33609
|
}
|
|
33143
33610
|
if (result) {
|
|
33144
33611
|
if (this.gridOptionsWrapper.isRowModelServerSide()) {
|
|
33612
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
|
|
33145
33613
|
return false;
|
|
33146
33614
|
}
|
|
33147
33615
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
33616
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
|
|
33148
33617
|
return false;
|
|
33149
33618
|
}
|
|
33150
33619
|
if (this.gridOptionsWrapper.isRowModelViewport()) {
|
|
33620
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
|
|
33151
33621
|
return false;
|
|
33152
33622
|
}
|
|
33153
33623
|
// otherwise the row model is compatible, so return true
|
|
@@ -35764,6 +36234,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
35764
36234
|
// frames. this stops bugs - where some code is asking for a frame to be executed
|
|
35765
36235
|
// when it should not.
|
|
35766
36236
|
AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
|
|
36237
|
+
if (this.useAnimationFrame === false) {
|
|
36238
|
+
console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
|
|
36239
|
+
}
|
|
35767
36240
|
};
|
|
35768
36241
|
AnimationFrameService.prototype.createTask = function (task, index, list) {
|
|
35769
36242
|
this.verifyAnimationFrameOn(list);
|
|
@@ -37000,10 +37473,10 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37000
37473
|
this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
|
|
37001
37474
|
if (this.gridOptionsWrapper.isGroupRowsSticky()) {
|
|
37002
37475
|
if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
37003
|
-
doOnce(function () { return (
|
|
37476
|
+
doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
|
|
37004
37477
|
}
|
|
37005
37478
|
else if (this.gridOptionsWrapper.isTreeData()) {
|
|
37006
|
-
doOnce(function () { return (
|
|
37479
|
+
doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
|
|
37007
37480
|
}
|
|
37008
37481
|
else {
|
|
37009
37482
|
this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
|
|
@@ -41147,7 +41620,9 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41147
41620
|
if (menuItemOrString === 'separator') {
|
|
41148
41621
|
_this.addSeparator();
|
|
41149
41622
|
}
|
|
41150
|
-
else if (typeof menuItemOrString === 'string')
|
|
41623
|
+
else if (typeof menuItemOrString === 'string') {
|
|
41624
|
+
console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
|
|
41625
|
+
}
|
|
41151
41626
|
else {
|
|
41152
41627
|
_this.addItem(menuItemOrString);
|
|
41153
41628
|
}
|
|
@@ -41512,7 +41987,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41512
41987
|
else if (typeof this.params.icon === 'string') {
|
|
41513
41988
|
icon.innerHTML = this.params.icon;
|
|
41514
41989
|
}
|
|
41515
|
-
else
|
|
41990
|
+
else {
|
|
41991
|
+
console.warn('AG Grid: menu item icon must be DOM node or string');
|
|
41992
|
+
}
|
|
41516
41993
|
}
|
|
41517
41994
|
this.getGui().appendChild(icon);
|
|
41518
41995
|
};
|
|
@@ -42462,6 +42939,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42462
42939
|
var eDocument = this.gridOptionsWrapper.getDocument();
|
|
42463
42940
|
var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
|
|
42464
42941
|
if (!eDocument) {
|
|
42942
|
+
console.warn('ag-grid: could not find the document, document is empty');
|
|
42465
42943
|
return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
|
|
42466
42944
|
}
|
|
42467
42945
|
var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
|
|
@@ -42874,6 +43352,7 @@ var VirtualList = /** @class */ (function (_super) {
|
|
|
42874
43352
|
VirtualList.prototype.ensureIndexVisible = function (index) {
|
|
42875
43353
|
var lastRow = this.model.getRowCount();
|
|
42876
43354
|
if (typeof index !== 'number' || index < 0 || index >= lastRow) {
|
|
43355
|
+
console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
|
|
42877
43356
|
return;
|
|
42878
43357
|
}
|
|
42879
43358
|
var rowTopPixel = index * this.rowHeight;
|
|
@@ -43177,6 +43656,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43177
43656
|
break;
|
|
43178
43657
|
default:
|
|
43179
43658
|
pointer = null;
|
|
43659
|
+
console.warn('AG Grid: unknown key for navigation ' + key);
|
|
43180
43660
|
break;
|
|
43181
43661
|
}
|
|
43182
43662
|
if (pointer) {
|
|
@@ -43571,6 +44051,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
43571
44051
|
var groupOpenedEvent = event;
|
|
43572
44052
|
_this.processGroupOpenedEvent(groupOpenedEvent);
|
|
43573
44053
|
break;
|
|
44054
|
+
case Events.EVENT_COLUMN_PIVOT_CHANGED:
|
|
44055
|
+
// we cannot support pivoting with aligned grids as the columns will be out of sync as the
|
|
44056
|
+
// grids will have columns created based on the row data of the grid.
|
|
44057
|
+
console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
|
|
44058
|
+
'You can only use one of these features at a time in a grid.');
|
|
44059
|
+
break;
|
|
43574
44060
|
}
|
|
43575
44061
|
});
|
|
43576
44062
|
};
|
|
@@ -43872,11 +44358,13 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
43872
44358
|
// where groups don't actually appear in the selection normally.
|
|
43873
44359
|
SelectionService.prototype.getBestCostNodeSelection = function () {
|
|
43874
44360
|
if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
44361
|
+
console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
|
|
43875
44362
|
return;
|
|
43876
44363
|
}
|
|
43877
44364
|
var clientSideRowModel = this.rowModel;
|
|
43878
44365
|
var topLevelNodes = clientSideRowModel.getTopLevelNodes();
|
|
43879
44366
|
if (topLevelNodes === null) {
|
|
44367
|
+
console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
|
|
43880
44368
|
return;
|
|
43881
44369
|
}
|
|
43882
44370
|
var result = [];
|
|
@@ -43918,6 +44406,7 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
43918
44406
|
var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
43919
44407
|
if (justFiltered) {
|
|
43920
44408
|
if (!rowModelClientSide) {
|
|
44409
|
+
console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
|
|
43921
44410
|
return;
|
|
43922
44411
|
}
|
|
43923
44412
|
var clientSideRowModel = this.rowModel;
|
|
@@ -44030,6 +44519,11 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44030
44519
|
}
|
|
44031
44520
|
/** 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. */
|
|
44032
44521
|
ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
|
|
44522
|
+
// AG-3403 validate that gridWidth is provided because this method has the same name as
|
|
44523
|
+
// a method on the grid API that takes no arguments, and it's easy to confuse the two
|
|
44524
|
+
if (typeof gridWidth === "undefined") {
|
|
44525
|
+
console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
|
|
44526
|
+
}
|
|
44033
44527
|
this.columnModel.sizeColumnsToFit(gridWidth, 'api');
|
|
44034
44528
|
};
|
|
44035
44529
|
/** Call this if you want to open or close a column group. */
|
|
@@ -44098,6 +44592,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44098
44592
|
ColumnApi.prototype.moveColumn = function (key, toIndex) {
|
|
44099
44593
|
if (typeof key === 'number') {
|
|
44100
44594
|
// moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
|
|
44595
|
+
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');
|
|
44101
44596
|
this.columnModel.moveColumnByIndex(key, toIndex, 'api');
|
|
44102
44597
|
}
|
|
44103
44598
|
else {
|
|
@@ -44128,6 +44623,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44128
44623
|
ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
|
|
44129
44624
|
/** @deprecated Use `getPivotResultColumn` instead */
|
|
44130
44625
|
ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
|
|
44626
|
+
console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
|
|
44131
44627
|
return this.getPivotResultColumn(pivotKeys, valueColKey);
|
|
44132
44628
|
};
|
|
44133
44629
|
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
|
|
@@ -44186,18 +44682,21 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44186
44682
|
ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
|
|
44187
44683
|
/** @deprecated Use `setPivotResultColumns` instead. */
|
|
44188
44684
|
ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
|
|
44685
|
+
console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
|
|
44189
44686
|
this.setPivotResultColumns(colDefs);
|
|
44190
44687
|
};
|
|
44191
44688
|
/** Set the pivot result columns. */
|
|
44192
44689
|
ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
|
|
44193
44690
|
/** @deprecated Use `getPivotResultColumns` instead. */
|
|
44194
44691
|
ColumnApi.prototype.getSecondaryColumns = function () {
|
|
44692
|
+
console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
|
|
44195
44693
|
return this.getPivotResultColumns();
|
|
44196
44694
|
};
|
|
44197
44695
|
/** Returns the grid's pivot result columns. */
|
|
44198
44696
|
ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
|
|
44199
44697
|
/** @deprecated Use `getColumns` instead. */
|
|
44200
44698
|
ColumnApi.prototype.getPrimaryColumns = function () {
|
|
44699
|
+
console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
|
|
44201
44700
|
return this.getColumns();
|
|
44202
44701
|
};
|
|
44203
44702
|
ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
|
|
@@ -44216,66 +44715,82 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44216
44715
|
// }
|
|
44217
44716
|
/** @deprecated Use `getColumns` instead */
|
|
44218
44717
|
ColumnApi.prototype.getAllColumns = function () {
|
|
44718
|
+
console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
|
|
44219
44719
|
return this.getColumns();
|
|
44220
44720
|
};
|
|
44221
44721
|
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
|
|
44222
44722
|
ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
|
|
44723
|
+
console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
|
|
44223
44724
|
this.setColumnGroupOpened(group, newValue);
|
|
44224
44725
|
};
|
|
44225
44726
|
/** @deprecated hideColumns is deprecated, use setColumnsVisible */
|
|
44226
44727
|
ColumnApi.prototype.hideColumns = function (colIds, hide) {
|
|
44728
|
+
console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
|
|
44227
44729
|
this.columnModel.setColumnsVisible(colIds, !hide, 'api');
|
|
44228
44730
|
};
|
|
44229
44731
|
/** @deprecated hideColumn is deprecated, use setColumnVisible */
|
|
44230
44732
|
ColumnApi.prototype.hideColumn = function (colId, hide) {
|
|
44733
|
+
console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
|
|
44231
44734
|
this.columnModel.setColumnVisible(colId, !hide, 'api');
|
|
44232
44735
|
};
|
|
44233
44736
|
/** @deprecated setState is deprecated, use setColumnState */
|
|
44234
44737
|
ColumnApi.prototype.setState = function (columnState) {
|
|
44738
|
+
console.error('AG Grid: setState is deprecated, use setColumnState');
|
|
44235
44739
|
return this.setColumnState(columnState);
|
|
44236
44740
|
};
|
|
44237
44741
|
/** @deprecated getState is deprecated, use getColumnState */
|
|
44238
44742
|
ColumnApi.prototype.getState = function () {
|
|
44743
|
+
console.error('AG Grid: getState is deprecated, use getColumnState');
|
|
44239
44744
|
return this.getColumnState();
|
|
44240
44745
|
};
|
|
44241
44746
|
/** @deprecated resetState is deprecated, use resetColumnState */
|
|
44242
44747
|
ColumnApi.prototype.resetState = function () {
|
|
44748
|
+
console.error('AG Grid: resetState is deprecated, use resetColumnState');
|
|
44243
44749
|
this.resetColumnState();
|
|
44244
44750
|
};
|
|
44245
44751
|
/** @deprecated getAggregationColumns is deprecated, use getValueColumns */
|
|
44246
44752
|
ColumnApi.prototype.getAggregationColumns = function () {
|
|
44753
|
+
console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
|
|
44247
44754
|
return this.columnModel.getValueColumns();
|
|
44248
44755
|
};
|
|
44249
44756
|
/** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
|
|
44250
44757
|
ColumnApi.prototype.removeAggregationColumn = function (colKey) {
|
|
44758
|
+
console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
|
|
44251
44759
|
this.columnModel.removeValueColumn(colKey, 'api');
|
|
44252
44760
|
};
|
|
44253
44761
|
/** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
|
|
44254
44762
|
ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
|
|
44763
|
+
console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
|
|
44255
44764
|
this.columnModel.removeValueColumns(colKeys, 'api');
|
|
44256
44765
|
};
|
|
44257
44766
|
/** @deprecated addAggregationColumn is deprecated, use addValueColumn */
|
|
44258
44767
|
ColumnApi.prototype.addAggregationColumn = function (colKey) {
|
|
44768
|
+
console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
|
|
44259
44769
|
this.columnModel.addValueColumn(colKey, 'api');
|
|
44260
44770
|
};
|
|
44261
44771
|
/** @deprecated addAggregationColumns is deprecated, use addValueColumns */
|
|
44262
44772
|
ColumnApi.prototype.addAggregationColumns = function (colKeys) {
|
|
44773
|
+
console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
|
|
44263
44774
|
this.columnModel.addValueColumns(colKeys, 'api');
|
|
44264
44775
|
};
|
|
44265
44776
|
/** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
|
|
44266
44777
|
ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
|
|
44778
|
+
console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
|
|
44267
44779
|
this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
|
|
44268
44780
|
};
|
|
44269
44781
|
/** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
|
|
44270
44782
|
ColumnApi.prototype.getDisplayNameForCol = function (column) {
|
|
44783
|
+
console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
|
|
44271
44784
|
return this.getDisplayNameForColumn(column, null);
|
|
44272
44785
|
};
|
|
44273
44786
|
/** @deprecated setColumnState is deprecated, use applyColumnState. */
|
|
44274
44787
|
ColumnApi.prototype.setColumnState = function (columnState) {
|
|
44788
|
+
console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
|
|
44275
44789
|
return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
|
|
44276
44790
|
};
|
|
44277
44791
|
/** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
|
|
44278
44792
|
ColumnApi.prototype.getOriginalColumnGroup = function (name) {
|
|
44793
|
+
console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
|
|
44279
44794
|
return this.columnModel.getProvidedColumnGroup(name);
|
|
44280
44795
|
};
|
|
44281
44796
|
__decorate$1n([
|
|
@@ -44428,6 +44943,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44428
44943
|
// need either a field or a newValueHandler for this to work
|
|
44429
44944
|
if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
|
|
44430
44945
|
// we don't tell user about newValueHandler, as that is deprecated
|
|
44946
|
+
console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
|
|
44431
44947
|
return false;
|
|
44432
44948
|
}
|
|
44433
44949
|
var params = {
|
|
@@ -44604,6 +45120,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44604
45120
|
result = String(result);
|
|
44605
45121
|
if (result === '[object Object]') {
|
|
44606
45122
|
doOnce(function () {
|
|
45123
|
+
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');
|
|
44607
45124
|
}, 'getKeyForNode - warn about [object,object]');
|
|
44608
45125
|
}
|
|
44609
45126
|
return result;
|
|
@@ -44675,7 +45192,9 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44675
45192
|
var expression = expressionOrFunc;
|
|
44676
45193
|
return this.evaluateExpression(expression, params);
|
|
44677
45194
|
}
|
|
44678
|
-
else
|
|
45195
|
+
else {
|
|
45196
|
+
console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
|
|
45197
|
+
}
|
|
44679
45198
|
};
|
|
44680
45199
|
ExpressionService.prototype.evaluateExpression = function (expression, params) {
|
|
44681
45200
|
try {
|
|
@@ -44689,9 +45208,13 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44689
45208
|
// the expression failed, which can happen, as it's the client that
|
|
44690
45209
|
// provides the expression. so print a nice message
|
|
44691
45210
|
// tslint:disable-next-line
|
|
45211
|
+
console.log('Processing of the expression failed');
|
|
44692
45212
|
// tslint:disable-next-line
|
|
45213
|
+
console.log('Expression = ' + expression);
|
|
44693
45214
|
// tslint:disable-next-line
|
|
45215
|
+
console.log('Params =', params);
|
|
44694
45216
|
// tslint:disable-next-line
|
|
45217
|
+
console.log('Exception = ' + e);
|
|
44695
45218
|
return null;
|
|
44696
45219
|
}
|
|
44697
45220
|
};
|
|
@@ -44789,6 +45312,7 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
44789
45312
|
};
|
|
44790
45313
|
TemplateService.prototype.handleHttpResult = function (httpResult, url) {
|
|
44791
45314
|
if (httpResult.status !== 200 || httpResult.response === null) {
|
|
45315
|
+
console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
|
|
44792
45316
|
return;
|
|
44793
45317
|
}
|
|
44794
45318
|
// response success, so process it
|
|
@@ -44869,7 +45393,10 @@ var Logger = /** @class */ (function () {
|
|
|
44869
45393
|
return this.isLoggingFunc();
|
|
44870
45394
|
};
|
|
44871
45395
|
Logger.prototype.log = function (message) {
|
|
44872
|
-
if (this.isLoggingFunc())
|
|
45396
|
+
if (this.isLoggingFunc()) {
|
|
45397
|
+
// tslint:disable-next-line
|
|
45398
|
+
console.log('AG Grid.' + this.name + ': ' + message);
|
|
45399
|
+
}
|
|
44873
45400
|
};
|
|
44874
45401
|
return Logger;
|
|
44875
45402
|
}());
|
|
@@ -45269,6 +45796,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45269
45796
|
sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
|
|
45270
45797
|
}
|
|
45271
45798
|
if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
|
|
45799
|
+
console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
|
|
45272
45800
|
return null;
|
|
45273
45801
|
}
|
|
45274
45802
|
var currentIndex = sortingOrder.indexOf(column.getSort());
|
|
@@ -45283,6 +45811,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45283
45811
|
}
|
|
45284
45812
|
// verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
|
|
45285
45813
|
if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
|
|
45814
|
+
console.warn('AG Grid: invalid sort type ' + result);
|
|
45286
45815
|
return null;
|
|
45287
45816
|
}
|
|
45288
45817
|
return result;
|
|
@@ -45611,6 +46140,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
45611
46140
|
var doingTreeData = this.gridOptionsWrapper.isTreeData();
|
|
45612
46141
|
var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
|
|
45613
46142
|
if (doingTreeData && doingMultiAutoColumn) {
|
|
46143
|
+
console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
|
|
45614
46144
|
doingMultiAutoColumn = false;
|
|
45615
46145
|
}
|
|
45616
46146
|
// if doing groupMultiAutoColumn, then we call the method multiple times, once
|
|
@@ -46294,8 +46824,8 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46294
46824
|
var theme = themeMatch[0];
|
|
46295
46825
|
var usingOldTheme = themeMatch[2] === undefined;
|
|
46296
46826
|
if (usingOldTheme) {
|
|
46297
|
-
theme.replace('ag-', 'ag-theme-');
|
|
46298
|
-
doOnce(function () { return (
|
|
46827
|
+
var newTheme_1 = theme.replace('ag-', 'ag-theme-');
|
|
46828
|
+
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');
|
|
46299
46829
|
}
|
|
46300
46830
|
return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
|
|
46301
46831
|
};
|
|
@@ -47801,6 +48331,7 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
47801
48331
|
var rowClass = this.gridOptionsWrapper.getRowClass();
|
|
47802
48332
|
if (rowClass) {
|
|
47803
48333
|
if (typeof rowClass === 'function') {
|
|
48334
|
+
console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
|
|
47804
48335
|
return [];
|
|
47805
48336
|
}
|
|
47806
48337
|
process(rowClass);
|
|
@@ -48641,6 +49172,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
|
|
|
48641
49172
|
var Grid = /** @class */ (function () {
|
|
48642
49173
|
function Grid(eGridDiv, gridOptions, params) {
|
|
48643
49174
|
if (!gridOptions) {
|
|
49175
|
+
console.error('AG Grid: no gridOptions provided to the grid');
|
|
48644
49176
|
return;
|
|
48645
49177
|
}
|
|
48646
49178
|
this.gridOptions = gridOptions;
|
|
@@ -48846,7 +49378,32 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
48846
49378
|
if (exists(rowModelClass)) {
|
|
48847
49379
|
return rowModelClass;
|
|
48848
49380
|
}
|
|
48849
|
-
if (ModuleRegistry.isPackageBased())
|
|
49381
|
+
if (ModuleRegistry.isPackageBased()) {
|
|
49382
|
+
if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
|
|
49383
|
+
// If package based only the enterprise row models could be missing.
|
|
49384
|
+
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/");
|
|
49385
|
+
}
|
|
49386
|
+
else {
|
|
49387
|
+
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49388
|
+
}
|
|
49389
|
+
}
|
|
49390
|
+
else {
|
|
49391
|
+
if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
|
|
49392
|
+
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/");
|
|
49393
|
+
}
|
|
49394
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
|
|
49395
|
+
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/");
|
|
49396
|
+
}
|
|
49397
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
|
|
49398
|
+
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/");
|
|
49399
|
+
}
|
|
49400
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
49401
|
+
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/");
|
|
49402
|
+
}
|
|
49403
|
+
else {
|
|
49404
|
+
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49405
|
+
}
|
|
49406
|
+
}
|
|
48850
49407
|
};
|
|
48851
49408
|
return GridCoreCreator;
|
|
48852
49409
|
}());
|
|
@@ -49108,15 +49665,51 @@ var LicenseManager = /** @class */ (function (_super) {
|
|
|
49108
49665
|
}
|
|
49109
49666
|
};
|
|
49110
49667
|
LicenseManager.prototype.outputInvalidLicenseKey = function () {
|
|
49668
|
+
console.error('*****************************************************************************************************************');
|
|
49669
|
+
console.error('***************************************** AG Grid Enterprise License ********************************************');
|
|
49670
|
+
console.error('********************************************* Invalid License ***************************************************');
|
|
49671
|
+
console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
|
|
49672
|
+
console.error('*****************************************************************************************************************');
|
|
49673
|
+
console.error('*****************************************************************************************************************');
|
|
49111
49674
|
this.watermarkMessage = "Invalid License";
|
|
49112
49675
|
};
|
|
49113
49676
|
LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
|
|
49677
|
+
console.error('****************************************************************************************************************');
|
|
49678
|
+
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49679
|
+
console.error('***************************************** Trial Period Expired. *******************************************');
|
|
49680
|
+
console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
|
|
49681
|
+
console.error('* Please email info@ag-grid.com to purchase a license. *');
|
|
49682
|
+
console.error('****************************************************************************************************************');
|
|
49683
|
+
console.error('****************************************************************************************************************');
|
|
49114
49684
|
this.watermarkMessage = "Trial Period Expired";
|
|
49115
49685
|
};
|
|
49116
49686
|
LicenseManager.prototype.outputMissingLicenseKey = function () {
|
|
49687
|
+
console.error('****************************************************************************************************************');
|
|
49688
|
+
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49689
|
+
console.error('****************************************** License Key Not Found ***********************************************');
|
|
49690
|
+
console.error('* All AG Grid Enterprise features are unlocked. *');
|
|
49691
|
+
console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
|
|
49692
|
+
console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
|
|
49693
|
+
console.error('****************************************************************************************************************');
|
|
49694
|
+
console.error('****************************************************************************************************************');
|
|
49117
49695
|
this.watermarkMessage = "For Trial Use Only";
|
|
49118
49696
|
};
|
|
49119
49697
|
LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
|
|
49698
|
+
console.error('****************************************************************************************************************************');
|
|
49699
|
+
console.error('****************************************************************************************************************************');
|
|
49700
|
+
console.error('* AG Grid Enterprise License *');
|
|
49701
|
+
console.error('* License not compatible with installed version of AG Grid Enterprise. *');
|
|
49702
|
+
console.error('* *');
|
|
49703
|
+
console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
|
|
49704
|
+
console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
|
|
49705
|
+
console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
|
|
49706
|
+
console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
|
|
49707
|
+
console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
|
|
49708
|
+
console.error('* *');
|
|
49709
|
+
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 *');
|
|
49710
|
+
console.error('* version of AG Grid. *');
|
|
49711
|
+
console.error('****************************************************************************************************************************');
|
|
49712
|
+
console.error('****************************************************************************************************************************');
|
|
49120
49713
|
this.watermarkMessage = "License Expired";
|
|
49121
49714
|
};
|
|
49122
49715
|
var LicenseManager_1;
|
|
@@ -49663,13 +50256,23 @@ class DataSource {
|
|
|
49663
50256
|
});
|
|
49664
50257
|
this._dataUnit.metadata.fields.forEach(f => {
|
|
49665
50258
|
var _a, _b, _c, _d, _e, _f;
|
|
50259
|
+
if (f.userInterface === UserInterface.IMAGE) {
|
|
50260
|
+
return;
|
|
50261
|
+
}
|
|
49666
50262
|
if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
|
|
49667
50263
|
const props = new Map();
|
|
49668
50264
|
const properties = this._dataUnit.getField(f.name).properties;
|
|
49669
50265
|
for (const value in properties) {
|
|
49670
50266
|
props.set(value, properties[value]);
|
|
49671
50267
|
}
|
|
49672
|
-
const col = {
|
|
50268
|
+
const col = {
|
|
50269
|
+
label: f.label,
|
|
50270
|
+
name: f.name,
|
|
50271
|
+
userInterface: f.userInterface,
|
|
50272
|
+
options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options,
|
|
50273
|
+
props,
|
|
50274
|
+
aggFunc: f['aggFunc']
|
|
50275
|
+
};
|
|
49673
50276
|
columnDefs.push(col);
|
|
49674
50277
|
if (f.userInterface === UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
|
|
49675
50278
|
const descriptionField = this.getDescriptionField((_c = f.properties) === null || _c === void 0 ? void 0 : _c.DESCRIPTIONFIELD, (_d = f.properties) === null || _d === void 0 ? void 0 : _d.ENTITYNAME);
|
|
@@ -51479,10 +52082,12 @@ var RangeService = /** @class */ (function (_super) {
|
|
|
51479
52082
|
var isSameColumn = columnFrom === columnTo;
|
|
51480
52083
|
var fromIndex = allColumns.indexOf(columnFrom);
|
|
51481
52084
|
if (fromIndex < 0) {
|
|
52085
|
+
console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
|
|
51482
52086
|
return;
|
|
51483
52087
|
}
|
|
51484
52088
|
var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
|
|
51485
52089
|
if (toIndex < 0) {
|
|
52090
|
+
console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
|
|
51486
52091
|
return;
|
|
51487
52092
|
}
|
|
51488
52093
|
if (isSameColumn) {
|
|
@@ -52417,10 +53022,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
|
|
|
52417
53022
|
};
|
|
52418
53023
|
ServerSideRowModel.prototype.verifyProps = function () {
|
|
52419
53024
|
if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
|
|
52420
|
-
|
|
53025
|
+
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.";
|
|
53026
|
+
_.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
|
|
52421
53027
|
}
|
|
52422
53028
|
if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
|
|
52423
|
-
|
|
53029
|
+
var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
|
|
53030
|
+
_.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
52424
53031
|
}
|
|
52425
53032
|
};
|
|
52426
53033
|
ServerSideRowModel.prototype.setDatasource = function (datasource) {
|
|
@@ -52970,6 +53577,11 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
52970
53577
|
rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
|
|
52971
53578
|
if (rowNode.key === null || rowNode.key === undefined) {
|
|
52972
53579
|
_.doOnce(function () {
|
|
53580
|
+
console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
|
|
53581
|
+
if (rowNode.rowGroupColumn) {
|
|
53582
|
+
console.warn("column = " + rowNode.rowGroupColumn.getId());
|
|
53583
|
+
}
|
|
53584
|
+
console.warn("data is ", rowNode.data);
|
|
52973
53585
|
}, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
|
|
52974
53586
|
}
|
|
52975
53587
|
};
|
|
@@ -53086,6 +53698,7 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53086
53698
|
var bottomPointer = 0;
|
|
53087
53699
|
var topPointer = rowNodes.length - 1;
|
|
53088
53700
|
if (_.missing(topPointer) || _.missing(bottomPointer)) {
|
|
53701
|
+
console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
|
|
53089
53702
|
return undefined;
|
|
53090
53703
|
}
|
|
53091
53704
|
while (true) {
|
|
@@ -53114,6 +53727,7 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53114
53727
|
topPointer = midPointer - 1;
|
|
53115
53728
|
}
|
|
53116
53729
|
else {
|
|
53730
|
+
console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
|
|
53117
53731
|
return undefined;
|
|
53118
53732
|
}
|
|
53119
53733
|
}
|
|
@@ -53229,6 +53843,11 @@ var NodeManager = /** @class */ (function () {
|
|
|
53229
53843
|
}
|
|
53230
53844
|
NodeManager.prototype.addRowNode = function (rowNode) {
|
|
53231
53845
|
var id = rowNode.id;
|
|
53846
|
+
if (this.rowNodes[id]) {
|
|
53847
|
+
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.");
|
|
53848
|
+
console.warn('first instance', this.rowNodes[id].data);
|
|
53849
|
+
console.warn('second instance', rowNode.data);
|
|
53850
|
+
}
|
|
53232
53851
|
this.rowNodes[id] = rowNode;
|
|
53233
53852
|
};
|
|
53234
53853
|
NodeManager.prototype.removeNode = function (rowNode) {
|
|
@@ -54160,7 +54779,8 @@ var InfiniteStore = /** @class */ (function (_super) {
|
|
|
54160
54779
|
Object.assign(this.info, info);
|
|
54161
54780
|
}
|
|
54162
54781
|
if (!params.rowData) {
|
|
54163
|
-
|
|
54782
|
+
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.';
|
|
54783
|
+
_.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
|
|
54164
54784
|
}
|
|
54165
54785
|
var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
|
|
54166
54786
|
// if we are not active, then we ignore all events, otherwise we could end up getting the
|
|
@@ -54919,7 +55539,8 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
54919
55539
|
this.nodesAfterFilter = [];
|
|
54920
55540
|
this.allNodesMap = {};
|
|
54921
55541
|
if (!params.rowData) {
|
|
54922
|
-
|
|
55542
|
+
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.';
|
|
55543
|
+
_.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
|
|
54923
55544
|
}
|
|
54924
55545
|
this.createOrRecycleNodes(nodesToRecycle, params.rowData);
|
|
54925
55546
|
if (nodesToRecycle) {
|
|
@@ -55294,6 +55915,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55294
55915
|
});
|
|
55295
55916
|
rowNode = this.allNodesMap[id];
|
|
55296
55917
|
if (!rowNode) {
|
|
55918
|
+
console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
|
|
55297
55919
|
return null;
|
|
55298
55920
|
}
|
|
55299
55921
|
}
|
|
@@ -55301,6 +55923,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55301
55923
|
// find rowNode using object references
|
|
55302
55924
|
rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
|
|
55303
55925
|
if (!rowNode) {
|
|
55926
|
+
console.error("AG Grid: could not find data item as object was not found", data);
|
|
55304
55927
|
return null;
|
|
55305
55928
|
}
|
|
55306
55929
|
}
|
|
@@ -55448,11 +56071,15 @@ var StoreFactory = /** @class */ (function () {
|
|
|
55448
56071
|
return undefined;
|
|
55449
56072
|
}
|
|
55450
56073
|
if (ssrmParams.dynamicRowHeight) {
|
|
55451
|
-
|
|
56074
|
+
var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
|
|
56075
|
+
'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56076
|
+
_.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
55452
56077
|
return undefined;
|
|
55453
56078
|
}
|
|
55454
56079
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
55455
|
-
|
|
56080
|
+
var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
|
|
56081
|
+
'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56082
|
+
_.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
55456
56083
|
return undefined;
|
|
55457
56084
|
}
|
|
55458
56085
|
return maxBlocksInCache;
|
|
@@ -55680,6 +56307,7 @@ var Downloader = /** @class */ (function () {
|
|
|
55680
56307
|
Downloader.download = function (fileName, content) {
|
|
55681
56308
|
var win = document.defaultView || window;
|
|
55682
56309
|
if (!win) {
|
|
56310
|
+
console.warn('AG Grid: There is no `window` associated with the current `document`');
|
|
55683
56311
|
return;
|
|
55684
56312
|
}
|
|
55685
56313
|
var element = document.createElement('a');
|
|
@@ -55813,6 +56441,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
55813
56441
|
stringValue = value.toString();
|
|
55814
56442
|
}
|
|
55815
56443
|
else {
|
|
56444
|
+
console.warn('AG Grid: unknown value type during csv conversion');
|
|
55816
56445
|
stringValue = '';
|
|
55817
56446
|
}
|
|
55818
56447
|
// replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
|
|
@@ -55867,6 +56496,7 @@ var CsvCreator = /** @class */ (function (_super) {
|
|
|
55867
56496
|
};
|
|
55868
56497
|
CsvCreator.prototype.export = function (userParams) {
|
|
55869
56498
|
if (this.isExportSuppressed()) {
|
|
56499
|
+
console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
|
|
55870
56500
|
return '';
|
|
55871
56501
|
}
|
|
55872
56502
|
var mergedParams = this.getMergedParams(userParams);
|
|
@@ -55986,7 +56616,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
55986
56616
|
var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
|
|
55987
56617
|
var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
|
|
55988
56618
|
if (skipRowGroups && params.skipGroups) {
|
|
55989
|
-
_.doOnce(function () { return (
|
|
56619
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
|
|
55990
56620
|
}
|
|
55991
56621
|
if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
|
|
55992
56622
|
(params.onlySelected && !node.isSelected()) ||
|
|
@@ -56020,7 +56650,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56020
56650
|
var appendContent = params.customFooter || params.appendContent;
|
|
56021
56651
|
if (appendContent) {
|
|
56022
56652
|
if (params.customFooter) {
|
|
56023
|
-
_.doOnce(function () { return (
|
|
56653
|
+
_.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
|
|
56024
56654
|
}
|
|
56025
56655
|
gridSerializingSession.addCustomContent(appendContent);
|
|
56026
56656
|
}
|
|
@@ -56032,7 +56662,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56032
56662
|
var prependContent = params.customHeader || params.prependContent;
|
|
56033
56663
|
if (prependContent) {
|
|
56034
56664
|
if (params.customHeader) {
|
|
56035
|
-
_.doOnce(function () { return (
|
|
56665
|
+
_.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
|
|
56036
56666
|
}
|
|
56037
56667
|
gridSerializingSession.addCustomContent(prependContent);
|
|
56038
56668
|
}
|
|
@@ -56054,7 +56684,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56054
56684
|
_this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
|
|
56055
56685
|
}
|
|
56056
56686
|
else if (params.columnGroups) {
|
|
56057
|
-
_.doOnce(function () { return (
|
|
56687
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
|
|
56058
56688
|
}
|
|
56059
56689
|
return gridSerializingSession;
|
|
56060
56690
|
};
|
|
@@ -56068,7 +56698,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56068
56698
|
});
|
|
56069
56699
|
}
|
|
56070
56700
|
else if (params.skipHeader) {
|
|
56071
|
-
_.doOnce(function () { return (
|
|
56701
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
|
|
56072
56702
|
}
|
|
56073
56703
|
return gridSerializingSession;
|
|
56074
56704
|
};
|
|
@@ -56316,6 +56946,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56316
56946
|
.then(this.processClipboardData.bind(this))
|
|
56317
56947
|
.catch(function (e) {
|
|
56318
56948
|
_.doOnce(function () {
|
|
56949
|
+
console.warn(e);
|
|
56950
|
+
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
|
|
56951
|
+
'The reason why it could not be used has been logged in the previous line. ' +
|
|
56952
|
+
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
56953
|
+
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
56954
|
+
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
|
|
56319
56955
|
}, 'clipboardApiError');
|
|
56320
56956
|
_this.navigatorApiFailed = true;
|
|
56321
56957
|
_this.pasteFromClipboardLegacy();
|
|
@@ -56842,6 +57478,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56842
57478
|
if (allowNavigator && navigator.clipboard) {
|
|
56843
57479
|
navigator.clipboard.writeText(data).catch(function (e) {
|
|
56844
57480
|
_.doOnce(function () {
|
|
57481
|
+
console.warn(e);
|
|
57482
|
+
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
|
|
57483
|
+
'The reason why it could not be used has been logged in the previous line. ' +
|
|
57484
|
+
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
57485
|
+
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
57486
|
+
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
|
|
56845
57487
|
}, 'clipboardApiError');
|
|
56846
57488
|
_this.copyDataToClipboardLegacy(data);
|
|
56847
57489
|
});
|
|
@@ -56858,7 +57500,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56858
57500
|
element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
|
|
56859
57501
|
element.select();
|
|
56860
57502
|
element.focus({ preventScroll: true });
|
|
56861
|
-
eDocument.execCommand('copy');
|
|
57503
|
+
var result = eDocument.execCommand('copy');
|
|
57504
|
+
if (!result) {
|
|
57505
|
+
console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
|
|
57506
|
+
'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
|
|
57507
|
+
'the browser will prevent it for security reasons.');
|
|
57508
|
+
}
|
|
56862
57509
|
if (focusedElementBefore != null && focusedElementBefore.focus != null) {
|
|
56863
57510
|
focusedElementBefore.focus({ preventScroll: true });
|
|
56864
57511
|
}
|
|
@@ -56882,6 +57529,7 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56882
57529
|
callbackNow(eTempInput);
|
|
56883
57530
|
}
|
|
56884
57531
|
catch (err) {
|
|
57532
|
+
console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
|
|
56885
57533
|
}
|
|
56886
57534
|
//It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
|
|
56887
57535
|
if (callbackAfter) {
|
|
@@ -58154,6 +58802,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
|
|
|
58154
58802
|
return false;
|
|
58155
58803
|
};
|
|
58156
58804
|
ToolPanelColumnComp.prototype.setExpanded = function (value) {
|
|
58805
|
+
console.warn('AG Grid: can not expand a column item that does not represent a column group header');
|
|
58157
58806
|
};
|
|
58158
58807
|
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>";
|
|
58159
58808
|
__decorate$q([
|
|
@@ -58448,7 +59097,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
|
|
|
58448
59097
|
expandedGroupIds.push(groupId);
|
|
58449
59098
|
}
|
|
58450
59099
|
});
|
|
58451
|
-
groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59100
|
+
var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59101
|
+
if (unrecognisedGroupIds.length > 0) {
|
|
59102
|
+
console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
|
|
59103
|
+
}
|
|
58452
59104
|
};
|
|
58453
59105
|
PrimaryColsListPanel.prototype.getExpandState = function () {
|
|
58454
59106
|
var expandedCount = 0;
|
|
@@ -58842,6 +59494,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
58842
59494
|
this.aggFuncService.getAggFunc(aggFuncOrString) :
|
|
58843
59495
|
aggFuncOrString;
|
|
58844
59496
|
if (typeof aggFunc !== 'function') {
|
|
59497
|
+
console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
|
|
58845
59498
|
return null;
|
|
58846
59499
|
}
|
|
58847
59500
|
var aggFuncAny = aggFunc;
|
|
@@ -59368,6 +60021,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
59368
60021
|
GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
|
|
59369
60022
|
var path = this.getGroupInfo(childNode, details);
|
|
59370
60023
|
var parentGroup = this.findParentForNode(childNode, path, details);
|
|
60024
|
+
if (!parentGroup.group) {
|
|
60025
|
+
console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
|
|
60026
|
+
}
|
|
59371
60027
|
if (this.usingTreeData) {
|
|
59372
60028
|
this.swapGroupWithUserNode(parentGroup, childNode, isMove);
|
|
59373
60029
|
}
|
|
@@ -59505,7 +60161,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
59505
60161
|
GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
|
|
59506
60162
|
var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
59507
60163
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
59508
|
-
_.doOnce(function () { return (
|
|
60164
|
+
_.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
|
|
59509
60165
|
}
|
|
59510
60166
|
var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
|
|
59511
60167
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -62230,6 +62886,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
|
|
|
62230
62886
|
var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
|
|
62231
62887
|
var componentPromise = compDetails.newAgStackInstance();
|
|
62232
62888
|
if (componentPromise == null) {
|
|
62889
|
+
console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
|
|
62233
62890
|
return;
|
|
62234
62891
|
}
|
|
62235
62892
|
componentPromise.then(this.setToolPanelComponent.bind(this));
|
|
@@ -62424,6 +63081,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62424
63081
|
var _this = this;
|
|
62425
63082
|
defs.forEach(function (def) {
|
|
62426
63083
|
if (def.id == null) {
|
|
63084
|
+
console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
|
|
62427
63085
|
return;
|
|
62428
63086
|
}
|
|
62429
63087
|
// helpers, in case user doesn't have the right module loaded
|
|
@@ -62469,6 +63127,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62469
63127
|
SideBarComp.prototype.getToolPanelInstance = function (key) {
|
|
62470
63128
|
var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
|
|
62471
63129
|
if (!toolPanelWrapper) {
|
|
63130
|
+
console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
|
|
62472
63131
|
return;
|
|
62473
63132
|
}
|
|
62474
63133
|
return toolPanelWrapper.getToolPanelInstance();
|
|
@@ -62554,6 +63213,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62554
63213
|
}
|
|
62555
63214
|
ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
|
|
62556
63215
|
var _this = this;
|
|
63216
|
+
var invalidColIds = [];
|
|
62557
63217
|
var createDummyColGroup = function (abstractColDef, depth) {
|
|
62558
63218
|
if (_this.isColGroupDef(abstractColDef)) {
|
|
62559
63219
|
// creating 'dummy' group which is not associated with grid column group
|
|
@@ -62575,6 +63235,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62575
63235
|
var colDef = abstractColDef;
|
|
62576
63236
|
var key = colDef.colId ? colDef.colId : colDef.field;
|
|
62577
63237
|
var column = _this.columnModel.getPrimaryColumn(key);
|
|
63238
|
+
if (!column) {
|
|
63239
|
+
invalidColIds.push(colDef);
|
|
63240
|
+
}
|
|
62578
63241
|
return column;
|
|
62579
63242
|
}
|
|
62580
63243
|
};
|
|
@@ -62586,6 +63249,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62586
63249
|
mappedResults.push(result);
|
|
62587
63250
|
}
|
|
62588
63251
|
});
|
|
63252
|
+
if (invalidColIds.length > 0) {
|
|
63253
|
+
console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
|
|
63254
|
+
}
|
|
62589
63255
|
return mappedResults;
|
|
62590
63256
|
};
|
|
62591
63257
|
ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
|
|
@@ -63140,10 +63806,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
|
|
|
63140
63806
|
};
|
|
63141
63807
|
EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
|
|
63142
63808
|
var isValid = true;
|
|
63809
|
+
var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
|
|
63143
63810
|
if (this.restrictTo != null) {
|
|
63144
63811
|
isValid = this.restrictTo.indexOf(menuTabName) > -1;
|
|
63812
|
+
itemsToConsider = this.restrictTo;
|
|
63145
63813
|
}
|
|
63146
63814
|
isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
|
|
63815
|
+
if (!isValid) {
|
|
63816
|
+
console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
|
|
63817
|
+
}
|
|
63147
63818
|
return isValid;
|
|
63148
63819
|
};
|
|
63149
63820
|
EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
|
|
@@ -63854,6 +64525,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
|
|
|
63854
64525
|
return chartMenuItem;
|
|
63855
64526
|
}
|
|
63856
64527
|
else {
|
|
64528
|
+
console.warn("AG Grid: unknown menu item type " + key);
|
|
63857
64529
|
return null;
|
|
63858
64530
|
}
|
|
63859
64531
|
}
|
|
@@ -64167,6 +64839,54 @@ function _0x15c2(_0x353a9c, _0x3e4a5a) { const _0x53e110 = _0x53e1(); return _0x
|
|
|
64167
64839
|
} }(_0x53e1, 0xe8676));
|
|
64168
64840
|
const agGridLicense = _0xc7632f(0x18c);
|
|
64169
64841
|
|
|
64842
|
+
const BUILTIN_AGG_FUNCS = {
|
|
64843
|
+
"sum": (params) => params.values.reduce((a, b) => Number(a !== null && a !== void 0 ? a : 0) + Number(b !== null && b !== void 0 ? b : 0), 0),
|
|
64844
|
+
avg: (params) => {
|
|
64845
|
+
const valid = params.values.filter(v => v != null && !Number.isNaN(v));
|
|
64846
|
+
return valid.length
|
|
64847
|
+
? valid.reduce((a, b) => a + b, 0) / valid.length
|
|
64848
|
+
: null;
|
|
64849
|
+
},
|
|
64850
|
+
min: (params) => {
|
|
64851
|
+
const valid = params.values.filter(v => v != null && !Number.isNaN(v));
|
|
64852
|
+
return valid.length ? Math.min(...valid) : null;
|
|
64853
|
+
},
|
|
64854
|
+
max: (params) => Math.max(...params.values.filter(v => v != null && !Number.isNaN(v))),
|
|
64855
|
+
count: (params) => params.values.filter(v => v != null).length
|
|
64856
|
+
};
|
|
64857
|
+
function resolveAggFunc(aggFunc) {
|
|
64858
|
+
if (typeof aggFunc === 'function')
|
|
64859
|
+
return aggFunc;
|
|
64860
|
+
const fn = BUILTIN_AGG_FUNCS[aggFunc];
|
|
64861
|
+
if (!fn) {
|
|
64862
|
+
throw new Error(`aggFunc "${aggFunc}" não suportada`);
|
|
64863
|
+
}
|
|
64864
|
+
return fn;
|
|
64865
|
+
}
|
|
64866
|
+
|
|
64867
|
+
/**
|
|
64868
|
+
* Larguras padrão das colunas do grid por tipo de UserInterface
|
|
64869
|
+
*/
|
|
64870
|
+
const GRID_COLUMN_DEFAULT_WIDTHS = {
|
|
64871
|
+
[UserInterface.SEARCH]: 200,
|
|
64872
|
+
[UserInterface.SEARCHPLUS]: 100,
|
|
64873
|
+
[UserInterface.DATE]: 120,
|
|
64874
|
+
[UserInterface.DATETIME]: 160,
|
|
64875
|
+
[UserInterface.TIME]: 100,
|
|
64876
|
+
[UserInterface.ELAPSEDTIME]: 100,
|
|
64877
|
+
[UserInterface.DECIMALNUMBER]: 130,
|
|
64878
|
+
[UserInterface.INTEGERNUMBER]: 120,
|
|
64879
|
+
[UserInterface.SWITCH]: 80,
|
|
64880
|
+
[UserInterface.FILE]: 100,
|
|
64881
|
+
[UserInterface.HTML]: 200,
|
|
64882
|
+
[UserInterface.LONGTEXT]: 200,
|
|
64883
|
+
[UserInterface.CHECKBOX]: 80,
|
|
64884
|
+
[UserInterface.OPTIONSELECTOR]: 100,
|
|
64885
|
+
[UserInterface.SHORTTEXT]: 200,
|
|
64886
|
+
[UserInterface.PASSWORD]: 100,
|
|
64887
|
+
[UserInterface.MASKEDTEXT]: 100,
|
|
64888
|
+
};
|
|
64889
|
+
|
|
64170
64890
|
class AgGridController {
|
|
64171
64891
|
configFilterColumn(filterColumn) {
|
|
64172
64892
|
this._filterColumn = filterColumn;
|
|
@@ -64192,12 +64912,13 @@ class AgGridController {
|
|
|
64192
64912
|
this.DEFAULT_HEADER_ROW_HEIGHT = 32;
|
|
64193
64913
|
this.CHECK_BOX_COL_ID = 'checkBoxColumn';
|
|
64194
64914
|
this.STATUS_COL_ID = 'statusColumn';
|
|
64915
|
+
this.COLUMN_FOOTER_OPER = 'gridFooterOper';
|
|
64195
64916
|
this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
|
|
64196
64917
|
this.BLOCK_LOAD_DEBOUNCE = 100;
|
|
64197
|
-
this.DEFAULT_FONT_SIZE =
|
|
64918
|
+
this.DEFAULT_FONT_SIZE = 8;
|
|
64198
64919
|
this.DEFAULT_FONT_SIZE_HTML5 = 32;
|
|
64199
|
-
this.DEFAULT_ICON_SIZE =
|
|
64200
|
-
this.DEFAULT_MAX_SIZE =
|
|
64920
|
+
this.DEFAULT_ICON_SIZE = 40;
|
|
64921
|
+
this.DEFAULT_MAX_SIZE = 300;
|
|
64201
64922
|
this.MULTI_VALUES_PROP = '__multiValues';
|
|
64202
64923
|
this.WHEEL_LINE_HEIGHT = 40;
|
|
64203
64924
|
this.HORIZONTAL_SCROLL_VIEWPORT_SELECTOR = '.ag-body-horizontal-scroll-viewport';
|
|
@@ -64210,6 +64931,9 @@ class AgGridController {
|
|
|
64210
64931
|
this._gridShowDom = false;
|
|
64211
64932
|
this.peddingExecutionsOnGridShow = [];
|
|
64212
64933
|
this._lastColsConfig = undefined;
|
|
64934
|
+
this._pinnedBottomDebounceTimer = null;
|
|
64935
|
+
this._pinnedBottomDebounceDelay = 150;
|
|
64936
|
+
this._pinnedBottomPendingArgs = null;
|
|
64213
64937
|
ModuleRegistry.registerModules([
|
|
64214
64938
|
EnterpriseCoreModule,
|
|
64215
64939
|
RangeSelectionModule,
|
|
@@ -64421,6 +65145,90 @@ class AgGridController {
|
|
|
64421
65145
|
this.observer.observe(container);
|
|
64422
65146
|
}
|
|
64423
65147
|
}
|
|
65148
|
+
onGridReady(evt) {
|
|
65149
|
+
var _a;
|
|
65150
|
+
this._bottomPinnedRowSubscriber = async (action) => {
|
|
65151
|
+
if (action.type === Action.DATA_LOADED || action.type === Action.PAGINATION_UPDATED) {
|
|
65152
|
+
this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
|
|
65153
|
+
}
|
|
65154
|
+
};
|
|
65155
|
+
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.subscribe(this._bottomPinnedRowSubscriber);
|
|
65156
|
+
}
|
|
65157
|
+
scheduleSetPinnedBottomRow(api, columnApi) {
|
|
65158
|
+
if (!api || !columnApi)
|
|
65159
|
+
return;
|
|
65160
|
+
// atualiza args pendentes
|
|
65161
|
+
this._pinnedBottomPendingArgs = { api, columnApi };
|
|
65162
|
+
// limpa timer anterior
|
|
65163
|
+
if (this._pinnedBottomDebounceTimer != null) {
|
|
65164
|
+
window.clearTimeout(this._pinnedBottomDebounceTimer);
|
|
65165
|
+
}
|
|
65166
|
+
// agenda execução
|
|
65167
|
+
this._pinnedBottomDebounceTimer = window.setTimeout(async () => {
|
|
65168
|
+
this._pinnedBottomDebounceTimer = null;
|
|
65169
|
+
const args = this._pinnedBottomPendingArgs;
|
|
65170
|
+
this._pinnedBottomPendingArgs = null;
|
|
65171
|
+
if (!args)
|
|
65172
|
+
return;
|
|
65173
|
+
try {
|
|
65174
|
+
await this.setPinnedBottomRow(args.api, args.columnApi);
|
|
65175
|
+
}
|
|
65176
|
+
catch (err) {
|
|
65177
|
+
console.error('Erro em setPinnedBottomRow debounced:', err);
|
|
65178
|
+
}
|
|
65179
|
+
}, this._pinnedBottomDebounceDelay);
|
|
65180
|
+
}
|
|
65181
|
+
async setPinnedBottomRow(api, columnApi) {
|
|
65182
|
+
const paginationInfo = this._dataUnit.getPaginationInfo();
|
|
65183
|
+
const loadingInProgress = paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.loadingInProgress;
|
|
65184
|
+
if (!api || !columnApi || loadingInProgress)
|
|
65185
|
+
return;
|
|
65186
|
+
const columns = columnApi.getAllGridColumns();
|
|
65187
|
+
const columnsWithAgg = columns.filter(col => col.getColDef().aggFunc);
|
|
65188
|
+
if (columnsWithAgg.length === 0)
|
|
65189
|
+
return;
|
|
65190
|
+
const accumulators = new Map();
|
|
65191
|
+
columnsWithAgg.forEach(col => {
|
|
65192
|
+
const colId = col.getColId();
|
|
65193
|
+
accumulators.set(colId, { values: [], aggFunc: col.getColDef().aggFunc });
|
|
65194
|
+
});
|
|
65195
|
+
const recordsToAggregate = await this.getAllRecordsToAggregate();
|
|
65196
|
+
recordsToAggregate.forEach(record => {
|
|
65197
|
+
columnsWithAgg.forEach(col => {
|
|
65198
|
+
const colId = col.getColId();
|
|
65199
|
+
const value = record[colId];
|
|
65200
|
+
if (value != null) {
|
|
65201
|
+
accumulators.get(colId).values.push(value);
|
|
65202
|
+
}
|
|
65203
|
+
});
|
|
65204
|
+
});
|
|
65205
|
+
const totalRow = {};
|
|
65206
|
+
accumulators.forEach((acc, colId) => {
|
|
65207
|
+
try {
|
|
65208
|
+
const aggFn = resolveAggFunc(acc.aggFunc);
|
|
65209
|
+
totalRow[colId] = aggFn({ values: acc.values });
|
|
65210
|
+
}
|
|
65211
|
+
catch (error) {
|
|
65212
|
+
console.error(`Erro ao calcular agregação para coluna ${colId}:`, error);
|
|
65213
|
+
totalRow[colId] = null;
|
|
65214
|
+
}
|
|
65215
|
+
});
|
|
65216
|
+
const hasData = Object.values(totalRow).some(value => value !== null && value !== undefined && value !== 0 && !Number.isNaN(value));
|
|
65217
|
+
if (hasData) {
|
|
65218
|
+
api.setPinnedBottomRowData([totalRow]);
|
|
65219
|
+
}
|
|
65220
|
+
}
|
|
65221
|
+
async getAllRecordsToAggregate() {
|
|
65222
|
+
var _a, _b;
|
|
65223
|
+
if ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.allRecordsLoader) {
|
|
65224
|
+
return this._dataUnit.allRecordsLoader(this._dataUnit);
|
|
65225
|
+
}
|
|
65226
|
+
const paginationInfo = this._dataUnit.getPaginationInfo();
|
|
65227
|
+
if (!paginationInfo || !paginationInfo.total)
|
|
65228
|
+
return [];
|
|
65229
|
+
const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
|
|
65230
|
+
return (_b = response.records) !== null && _b !== void 0 ? _b : [];
|
|
65231
|
+
}
|
|
64424
65232
|
/**
|
|
64425
65233
|
* Habilita o scroll horizontal com a roda do mouse enquanto o ponteiro está sobre a grade.
|
|
64426
65234
|
* O AG Grid usa uma barra horizontal "fake" e mantém o corpo sem overflow rolável no eixo X,
|
|
@@ -64636,6 +65444,8 @@ class AgGridController {
|
|
|
64636
65444
|
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
64637
65445
|
opt.onDragStopped = evt => this.onCallStateChange('columnMovedEnd', evt);
|
|
64638
65446
|
opt.onCellClicked = evt => this.onCellClicked(evt);
|
|
65447
|
+
opt.onGridReady = evt => this.onGridReady(evt);
|
|
65448
|
+
opt.onModelUpdated = async (evt) => this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
|
|
64639
65449
|
}
|
|
64640
65450
|
setOptionsSupress(opt) {
|
|
64641
65451
|
opt.suppressDragLeaveHidesColumns = true;
|
|
@@ -65158,9 +65968,12 @@ class AgGridController {
|
|
|
65158
65968
|
tooltip = this._i18n('ez-grid.columnCantBeOrder');
|
|
65159
65969
|
}
|
|
65160
65970
|
const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(PRESENTATION_FROM_COL_PROP_NAME);
|
|
65971
|
+
const initialWidth = this.getInitialColumnWidth(source.userInterface, source.label);
|
|
65161
65972
|
return this._editionManager.configureColumn({
|
|
65162
65973
|
headerName: source.label,
|
|
65163
65974
|
field: source.name,
|
|
65975
|
+
width: initialWidth,
|
|
65976
|
+
aggFunc: this.getAggFunc(source),
|
|
65164
65977
|
sortable: propSortable,
|
|
65165
65978
|
resizable: true,
|
|
65166
65979
|
headerComponent: 'ezGridCustomHeader',
|
|
@@ -65202,6 +66015,10 @@ class AgGridController {
|
|
|
65202
66015
|
editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
|
|
65203
66016
|
});
|
|
65204
66017
|
}
|
|
66018
|
+
getAggFunc(column) {
|
|
66019
|
+
var _a, _b;
|
|
66020
|
+
return (_b = (_a = column.props) === null || _a === void 0 ? void 0 : _a.get(this.COLUMN_FOOTER_OPER)) !== null && _b !== void 0 ? _b : column.aggFunc;
|
|
66021
|
+
}
|
|
65205
66022
|
setHTMLRender(params, source) {
|
|
65206
66023
|
const htmlSanitized = purify.sanitize(params.value);
|
|
65207
66024
|
params.colDef.cellRenderer = (cellParams) => {
|
|
@@ -65324,12 +66141,13 @@ class AgGridController {
|
|
|
65324
66141
|
}
|
|
65325
66142
|
}
|
|
65326
66143
|
onCallStateChange(type, e) {
|
|
66144
|
+
var _a, _b;
|
|
65327
66145
|
const finished = !('finished' in e) || e['finished'];
|
|
65328
66146
|
if (finished && this._columnStateChangeCallback) {
|
|
65329
66147
|
let info = {};
|
|
65330
66148
|
let isUserChange = this.isUIEvent(e['source'], e['type']);
|
|
65331
66149
|
if (type === 'columnResize') {
|
|
65332
|
-
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
66150
|
+
info['column'] = { colId: (_a = e['column']) === null || _a === void 0 ? void 0 : _a.colId, actualWidth: (_b = e['column']) === null || _b === void 0 ? void 0 : _b.actualWidth };
|
|
65333
66151
|
}
|
|
65334
66152
|
info['isUserChange'] = isUserChange;
|
|
65335
66153
|
info['isElementResize'] = this.isElementResize(e);
|
|
@@ -65482,6 +66300,22 @@ class AgGridController {
|
|
|
65482
66300
|
this._container.removeEventListener('wheel', this._horizontalWheelHandler);
|
|
65483
66301
|
}
|
|
65484
66302
|
(_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66303
|
+
this.handleDestroyBottomPinnedRowSubscriber();
|
|
66304
|
+
this.handleDestroySetBottomPinnedRowDebounce();
|
|
66305
|
+
}
|
|
66306
|
+
handleDestroyBottomPinnedRowSubscriber() {
|
|
66307
|
+
var _a;
|
|
66308
|
+
if (this._bottomPinnedRowSubscriber) {
|
|
66309
|
+
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._bottomPinnedRowSubscriber);
|
|
66310
|
+
this._bottomPinnedRowSubscriber = null;
|
|
66311
|
+
}
|
|
66312
|
+
}
|
|
66313
|
+
handleDestroySetBottomPinnedRowDebounce() {
|
|
66314
|
+
if (this._pinnedBottomDebounceTimer != null) {
|
|
66315
|
+
clearTimeout(this._pinnedBottomDebounceTimer);
|
|
66316
|
+
this._pinnedBottomDebounceTimer = null;
|
|
66317
|
+
this._pinnedBottomPendingArgs = null;
|
|
66318
|
+
}
|
|
65485
66319
|
}
|
|
65486
66320
|
registryListeners() {
|
|
65487
66321
|
var _a;
|
|
@@ -65510,10 +66344,21 @@ class AgGridController {
|
|
|
65510
66344
|
}
|
|
65511
66345
|
const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
|
|
65512
66346
|
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;
|
|
65513
|
-
|
|
65514
|
-
|
|
66347
|
+
return this.getInitialColumnWidth(field === null || field === void 0 ? void 0 : field.userInterface, label);
|
|
66348
|
+
}
|
|
66349
|
+
getInitialColumnWidth(userInterface, label) {
|
|
66350
|
+
const columnWidthByLabel = this.getColumnWidthByLabel(label);
|
|
66351
|
+
const defaultWidth = this.getDefaultWidthByUserInterface(userInterface);
|
|
66352
|
+
if (!defaultWidth) {
|
|
66353
|
+
return columnWidthByLabel;
|
|
66354
|
+
}
|
|
66355
|
+
return Math.max(defaultWidth, columnWidthByLabel);
|
|
66356
|
+
}
|
|
66357
|
+
getDefaultWidthByUserInterface(userInterface) {
|
|
66358
|
+
if (!userInterface) {
|
|
66359
|
+
return undefined;
|
|
65515
66360
|
}
|
|
65516
|
-
return
|
|
66361
|
+
return GRID_COLUMN_DEFAULT_WIDTHS[userInterface];
|
|
65517
66362
|
}
|
|
65518
66363
|
getColumnWidthByLabel(label) {
|
|
65519
66364
|
const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
|
|
@@ -65707,7 +66552,7 @@ class InMemoryFilterColumnDataSource {
|
|
|
65707
66552
|
}
|
|
65708
66553
|
}
|
|
65709
66554
|
|
|
65710
|
-
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;
|
|
66555
|
+
const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;background-color:var(--ez-grid__header--background-color);border-radius:var(--border--radius-12, 12px) var(--border--radius-12, 12px) 0 0}.grid__container.no-scroll.sc-ez-grid{width:100vw}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0;border:none;box-shadow:none;outline:none}.overflowed.sc-ez-grid{display:none}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0px 0px var(--border--radius-medium) var(--border--radius-medium)}";
|
|
65711
66556
|
|
|
65712
66557
|
const windowInstace = window;
|
|
65713
66558
|
const matches = (text, filter) => {
|
|
@@ -65760,6 +66605,7 @@ const EzGrid = class {
|
|
|
65760
66605
|
this.useSearchColumn = true;
|
|
65761
66606
|
this.suppressHorizontalScroll = false;
|
|
65762
66607
|
this.mode = "complete";
|
|
66608
|
+
this.hidePagination = false;
|
|
65763
66609
|
}
|
|
65764
66610
|
/**
|
|
65765
66611
|
* Aplica a definição de colunas.
|
|
@@ -65909,26 +66755,17 @@ const EzGrid = class {
|
|
|
65909
66755
|
return;
|
|
65910
66756
|
this._gridController.stopEdit();
|
|
65911
66757
|
}
|
|
66758
|
+
/**
|
|
66759
|
+
* Manipula a mudança de página da grid.
|
|
66760
|
+
*/
|
|
66761
|
+
async handlePageChange() {
|
|
66762
|
+
this.resetPaginationState();
|
|
66763
|
+
this._gridController.setFocusFirstRow();
|
|
66764
|
+
this.ezPageChangedChanged.emit();
|
|
66765
|
+
}
|
|
65912
66766
|
observeConfig(config) {
|
|
65913
66767
|
this._gridController.setColumnsState(config === null || config === void 0 ? void 0 : config.columns);
|
|
65914
66768
|
}
|
|
65915
|
-
updatePaginationTooltip() {
|
|
65916
|
-
this.handleShowCancelPagination();
|
|
65917
|
-
if (!this._refPaginationLabelTooltip)
|
|
65918
|
-
return;
|
|
65919
|
-
const alreadyDefined = this._refPaginationLabelTooltip.getAttribute('data-tooltip');
|
|
65920
|
-
if (alreadyDefined) {
|
|
65921
|
-
this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
|
|
65922
|
-
}
|
|
65923
|
-
}
|
|
65924
|
-
observePaginationCounterMode(newValue) {
|
|
65925
|
-
if (newValue === 'hidden') {
|
|
65926
|
-
this._hidePaginationDescription();
|
|
65927
|
-
}
|
|
65928
|
-
if (newValue === 'show') {
|
|
65929
|
-
this._showPaginationDescription();
|
|
65930
|
-
}
|
|
65931
|
-
}
|
|
65932
66769
|
async observeModeChange(newMode = this.mode) {
|
|
65933
66770
|
if (newMode === "simple") {
|
|
65934
66771
|
this.canEdit = false;
|
|
@@ -66091,23 +66928,6 @@ const EzGrid = class {
|
|
|
66091
66928
|
ElementIDUtils.addIDInfo(this._refPaginationControl, 'pagination', dtInfo);
|
|
66092
66929
|
}
|
|
66093
66930
|
}
|
|
66094
|
-
handlePageChange() {
|
|
66095
|
-
this.resetPaginationState();
|
|
66096
|
-
this._gridController.setFocusFirstRow();
|
|
66097
|
-
this.ezPageChangedChanged.emit();
|
|
66098
|
-
}
|
|
66099
|
-
previousPage() {
|
|
66100
|
-
if (this.dataUnit) {
|
|
66101
|
-
this.dataUnit.previousPage()
|
|
66102
|
-
.then(() => this.handlePageChange());
|
|
66103
|
-
}
|
|
66104
|
-
}
|
|
66105
|
-
nextPage() {
|
|
66106
|
-
if (this.dataUnit) {
|
|
66107
|
-
this.dataUnit.nextPage()
|
|
66108
|
-
.then(() => this.handlePageChange());
|
|
66109
|
-
}
|
|
66110
|
-
}
|
|
66111
66931
|
nextRecord() {
|
|
66112
66932
|
if (this.dataUnit) {
|
|
66113
66933
|
if (this.dataUnit.getSelectionInfo().records.length === 0) {
|
|
@@ -66127,38 +66947,6 @@ const EzGrid = class {
|
|
|
66127
66947
|
this._paginationChangedByKeyboard = false;
|
|
66128
66948
|
(_a = this._gridController) === null || _a === void 0 ? void 0 : _a.resetPaginationState();
|
|
66129
66949
|
}
|
|
66130
|
-
resolvePaginationClassMode() {
|
|
66131
|
-
if (this.shouldPresentPaginationLabel())
|
|
66132
|
-
return "pagination-expanded";
|
|
66133
|
-
return "pagination-contracted";
|
|
66134
|
-
}
|
|
66135
|
-
async handleCancelPagination() {
|
|
66136
|
-
var _a;
|
|
66137
|
-
this.dataUnit.cancelPagination = true;
|
|
66138
|
-
await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
|
|
66139
|
-
}
|
|
66140
|
-
renderCancelPagination() {
|
|
66141
|
-
return (h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, h("div", { class: 'cancel-pagination' }, h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, this.i18n("ez-grid.cancelPagination")))));
|
|
66142
|
-
}
|
|
66143
|
-
handleShowCancelPagination() {
|
|
66144
|
-
var _a, _b, _c;
|
|
66145
|
-
if (!this._hasToShowCancelPagination()) {
|
|
66146
|
-
(_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide();
|
|
66147
|
-
return;
|
|
66148
|
-
}
|
|
66149
|
-
if ((_b = this._cancelPaginationPopoverElement) === null || _b === void 0 ? void 0 : _b.opened)
|
|
66150
|
-
return;
|
|
66151
|
-
(_c = this._cancelPaginationPopoverElement) === null || _c === void 0 ? void 0 : _c.show("15px");
|
|
66152
|
-
}
|
|
66153
|
-
getPaginationControl() {
|
|
66154
|
-
if (!this._paginationInfo)
|
|
66155
|
-
return null;
|
|
66156
|
-
const { currentPage, hasMore } = this._paginationInfo;
|
|
66157
|
-
return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: this.i18n("ez-grid.previousPage") }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: this.i18n("ez-grid.nextPage") }))));
|
|
66158
|
-
}
|
|
66159
|
-
shouldPresentPaginationLabel() {
|
|
66160
|
-
return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
|
|
66161
|
-
}
|
|
66162
66950
|
componentDidLoad() {
|
|
66163
66951
|
const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
66164
66952
|
this.enableLockManagerLoadingComp = (!_application || (_application === null || _application === void 0 ? void 0 : _application.enableLockManagerLoadingApp)) ? this.enableLockManagerLoadingComp : false;
|
|
@@ -66223,76 +67011,9 @@ const EzGrid = class {
|
|
|
66223
67011
|
}
|
|
66224
67012
|
this._paginationInfo = paginationInfo;
|
|
66225
67013
|
}
|
|
66226
|
-
_getActualPageLabel() {
|
|
66227
|
-
const { firstRecord, lastRecord } = this._paginationInfo;
|
|
66228
|
-
return `${firstRecord}-${lastRecord}`;
|
|
66229
|
-
}
|
|
66230
|
-
_getRemainingPageLabel() {
|
|
66231
|
-
const { total, count } = this._paginationInfo;
|
|
66232
|
-
return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
|
|
66233
|
-
}
|
|
66234
|
-
_hasToShowCancelPagination() {
|
|
66235
|
-
var _a;
|
|
66236
|
-
const { total, count } = (_a = this._paginationInfo) !== null && _a !== void 0 ? _a : {};
|
|
66237
|
-
const hasMore = (total === undefined);
|
|
66238
|
-
return !this.dataUnit.cancelPagination && hasMore && count > this.dataUnit.pageSize;
|
|
66239
|
-
}
|
|
66240
|
-
_getPaginationTooltip() {
|
|
66241
|
-
return this._getActualPageLabel() + this._getRemainingPageLabel();
|
|
66242
|
-
}
|
|
66243
|
-
_initHeaderOverflowWatcher() {
|
|
66244
|
-
var _a;
|
|
66245
|
-
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66246
|
-
if (this._refPaginationControl)
|
|
66247
|
-
this._headerOverflowWatcher = new OverflowWatcher(this.buildOverFlowWatcherParams());
|
|
66248
|
-
}
|
|
66249
|
-
buildOverFlowWatcherParams() {
|
|
66250
|
-
return {
|
|
66251
|
-
element: this._refPaginationControl,
|
|
66252
|
-
callback: this.handleOverFlow.bind(this),
|
|
66253
|
-
notOverFlow: ["grid-pagination-tooltip"]
|
|
66254
|
-
};
|
|
66255
|
-
}
|
|
66256
|
-
handleOverFlow() {
|
|
66257
|
-
if (!this._refPaginationLabel || !this._refPaginationControl)
|
|
66258
|
-
return;
|
|
66259
|
-
const controlWidth = this._refPaginationControl.clientWidth;
|
|
66260
|
-
const labelWidth = this._refPaginationLabel.scrollWidth;
|
|
66261
|
-
const buttonsElement = this._refPaginationControl.querySelector('#grid-pagination-tooltip');
|
|
66262
|
-
const buttonsWidth = (buttonsElement === null || buttonsElement === void 0 ? void 0 : buttonsElement.clientWidth) || 0;
|
|
66263
|
-
const totalMargins = this._getElementMargins(this._refPaginationLabel) + (buttonsElement ? this._getElementMargins(buttonsElement) : 0);
|
|
66264
|
-
const paginationWidthWithoutDescription = labelWidth + buttonsWidth + totalMargins;
|
|
66265
|
-
const paginationWidthWithDescription = paginationWidthWithoutDescription + this._getPaginationDescriptionWidth();
|
|
66266
|
-
if (controlWidth > paginationWidthWithDescription) {
|
|
66267
|
-
this._showPaginationDescription();
|
|
66268
|
-
}
|
|
66269
|
-
else if (controlWidth <= paginationWidthWithoutDescription) {
|
|
66270
|
-
this._hidePaginationDescription();
|
|
66271
|
-
}
|
|
66272
|
-
}
|
|
66273
|
-
_getPaginationDescriptionWidth() {
|
|
66274
|
-
var _a;
|
|
66275
|
-
return ((_a = this._refPaginationLabelTooltip) === null || _a === void 0 ? void 0 : _a.scrollWidth) || 0;
|
|
66276
|
-
}
|
|
66277
|
-
_getElementMargins(element) {
|
|
66278
|
-
const style = getComputedStyle(element);
|
|
66279
|
-
return parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
66280
|
-
}
|
|
66281
|
-
_hidePaginationDescription() {
|
|
66282
|
-
this._refPaginationLabel.classList.add(OVERFLOWED_CLASS_NAME);
|
|
66283
|
-
this._refPaginationLabelTooltip.setAttribute('data-flow', 'bottom');
|
|
66284
|
-
this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
|
|
66285
|
-
}
|
|
66286
|
-
;
|
|
66287
|
-
_showPaginationDescription() {
|
|
66288
|
-
this._refPaginationLabel.classList.remove(OVERFLOWED_CLASS_NAME);
|
|
66289
|
-
this._refPaginationLabelTooltip.removeAttribute('data-flow');
|
|
66290
|
-
this._refPaginationLabelTooltip.removeAttribute('data-tooltip');
|
|
66291
|
-
}
|
|
66292
67014
|
disconnectedCallback() {
|
|
66293
|
-
var _a
|
|
66294
|
-
(_a = this.
|
|
66295
|
-
(_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
|
|
67015
|
+
var _a;
|
|
67016
|
+
(_a = this._gridController) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66296
67017
|
this.removeShortcuts();
|
|
66297
67018
|
}
|
|
66298
67019
|
connectedCallback() {
|
|
@@ -66321,8 +67042,6 @@ const EzGrid = class {
|
|
|
66321
67042
|
if (this.dataUnit && this._showSelectionCounter) {
|
|
66322
67043
|
this.setSelection(this.dataUnit.getSelectionInfo());
|
|
66323
67044
|
}
|
|
66324
|
-
if (this.paginationCounterMode === 'auto')
|
|
66325
|
-
this._initHeaderOverflowWatcher();
|
|
66326
67045
|
}
|
|
66327
67046
|
getDataSource() {
|
|
66328
67047
|
if (!this.columnfilterDataSource) {
|
|
@@ -66334,7 +67053,7 @@ const EzGrid = class {
|
|
|
66334
67053
|
if (this.mode === "simple") {
|
|
66335
67054
|
return true;
|
|
66336
67055
|
}
|
|
66337
|
-
return !this._hasLeftButtons
|
|
67056
|
+
return !this._hasLeftButtons;
|
|
66338
67057
|
}
|
|
66339
67058
|
resolveLeftHeaderClass() {
|
|
66340
67059
|
if (this.paginationCounterMode == 'show')
|
|
@@ -66359,7 +67078,7 @@ const EzGrid = class {
|
|
|
66359
67078
|
return;
|
|
66360
67079
|
const { currentPage } = this._paginationInfo;
|
|
66361
67080
|
if (currentPage > 0) {
|
|
66362
|
-
this.previousPage();
|
|
67081
|
+
this._refGridPagination.previousPage();
|
|
66363
67082
|
}
|
|
66364
67083
|
}, { description: this.i18n("ez-grid.previousPage"), element: this._element })
|
|
66365
67084
|
.bind("ctrl + alt + ArrowRight", () => {
|
|
@@ -66367,7 +67086,7 @@ const EzGrid = class {
|
|
|
66367
67086
|
return;
|
|
66368
67087
|
const { hasMore } = this._paginationInfo;
|
|
66369
67088
|
if (hasMore) {
|
|
66370
|
-
this.nextPage();
|
|
67089
|
+
this._refGridPagination.nextPage();
|
|
66371
67090
|
}
|
|
66372
67091
|
}, { description: this.i18n("ez-grid.nextPage"), element: this._element });
|
|
66373
67092
|
if (this.useSearchColumn) {
|
|
@@ -66420,16 +67139,14 @@ const EzGrid = class {
|
|
|
66420
67139
|
'ez-box ez-padding--small grid-header': true,
|
|
66421
67140
|
'outline-mode': this.outlineMode,
|
|
66422
67141
|
'shadow-mode': !this.outlineMode && !this.hideHeader(),
|
|
66423
|
-
}, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" }))
|
|
67142
|
+
}, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })))), h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
66424
67143
|
${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
|
|
66425
|
-
` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
|
|
67144
|
+
` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, (this.mode !== "simple" && !this.hidePagination) && (h("ez-grid-pagination", { class: `ez-flex ez-flex--content-end`, ref: ref => (this._refGridPagination = ref), dataUnit: this.dataUnit, paginationCounterMode: this.paginationCounterMode, onPageChange: () => this.handlePageChange() })), h("slot", { name: "footer" }))));
|
|
66426
67145
|
}
|
|
66427
67146
|
static get assetsDirs() { return ["../assets"]; }
|
|
66428
67147
|
get _element() { return getElement(this); }
|
|
66429
67148
|
static get watchers() { return {
|
|
66430
67149
|
"config": ["observeConfig"],
|
|
66431
|
-
"_paginationInfo": ["updatePaginationTooltip"],
|
|
66432
|
-
"paginationCounterMode": ["observePaginationCounterMode"],
|
|
66433
67150
|
"mode": ["observeModeChange"]
|
|
66434
67151
|
}; }
|
|
66435
67152
|
};
|