@sankhyalabs/ezui 7.1.2 → 7.2.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ApplicationUtils-5cc05979.js → ApplicationUtils-006ca96f.js} +1 -1
- package/dist/cjs/FormLayout-fe8da83c.js +9 -0
- package/dist/cjs/{app-globals-2fbe4b17.js → app-globals-5cb12916.js} +1 -1
- package/dist/cjs/{ez-combo-box-list_4.cjs.entry.js → classic-search-list_7.cjs.entry.js} +359 -5
- 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-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js +37 -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 +99 -18
- package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
- package/dist/cjs/ez-classic-search-plus.cjs.entry.js +407 -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 +197 -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-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +130 -37
- package/dist/cjs/ez-form.cjs.entry.js +87 -46
- package/dist/cjs/ez-grid.cjs.entry.js +961 -118
- 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-link-builder_6.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-multi-selection-list.cjs.entry.js +1 -1
- 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-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-search-plus.cjs.entry.js +7 -6
- package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +48 -10
- 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 +1 -1
- package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +13 -14
- package/dist/cjs/ez-split-item.cjs.entry.js +4 -3
- 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-1be40f19.js → index-350d0fa0.js} +57 -0
- package/dist/cjs/index-a7b0c73d.js +42 -18
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{purify-8c74770b.js → purify-b30a5718.js} +1 -0
- package/dist/cjs/{search-column-00a916ae.js → search-column-fbf680d7.js} +10 -5
- 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 +59 -5
- 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 +95 -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 +155 -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 +406 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +988 -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 +1 -0
- 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 +511 -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 +136 -12
- 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/interfaces/IAggegationFunc.js +1 -0
- package/dist/collection/components/ez-grid/utils/index.js +1 -0
- package/dist/collection/components/ez-icon/ez-icon.css +1 -0
- package/dist/collection/components/ez-image-input/ez-image-input.css +173 -0
- package/dist/collection/components/ez-image-input/ez-image-input.js +324 -0
- package/dist/collection/components/ez-modal/ez-modal.css +3 -0
- package/dist/collection/components/ez-search/ez-search.js +75 -3
- package/dist/collection/components/ez-split-button/ez-split-button.js +18 -13
- 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 +75 -39
- package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
- package/dist/collection/utils/i18n/locales/en-us.js +19 -0
- package/dist/collection/utils/i18n/locales/es-es.js +19 -0
- package/dist/collection/utils/i18n/locales/pt-br.js +19 -0
- package/dist/collection/utils/searchColumn/search-column.js +6 -1
- package/dist/custom-elements/index.d.ts +54 -0
- package/dist/custom-elements/index.js +4013 -515
- package/dist/esm/{ApplicationUtils-1569f757.js → ApplicationUtils-0c5cb207.js} +1 -1
- package/dist/esm/FormLayout-bda67973.js +9 -0
- package/dist/esm/{app-globals-c0ac93c0.js → app-globals-1db10325.js} +1 -1
- package/dist/esm/{ez-combo-box-list_4.entry.js → classic-search-list_7.entry.js} +358 -7
- 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-chart.entry.js +1 -1
- package/dist/esm/ez-classic-combo-box.entry.js +37 -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 +100 -19
- package/dist/esm/ez-classic-number-input.entry.js +201 -0
- package/dist/esm/ez-classic-search-plus.entry.js +403 -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 +193 -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-file-item.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +130 -37
- package/dist/esm/ez-form.entry.js +87 -46
- package/dist/esm/ez-grid.entry.js +959 -116
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-link-builder_6.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-multi-selection-list.entry.js +1 -1
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-pagination.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-search-plus.entry.js +4 -3
- package/dist/esm/ez-search-result-list.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +43 -5
- 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 +1 -1
- package/dist/esm/ez-spinner.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +13 -14
- package/dist/esm/ez-split-item.entry.js +4 -3
- 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-41363fa6.js → index-225aa0c3.js} +57 -0
- package/dist/esm/index-baa5e267.js +42 -18
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{purify-ff423562.js → purify-9357603c.js} +1 -0
- package/dist/esm/{search-column-3984faec.js → search-column-40a78cac.js} +10 -5
- 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-110cfb7d.entry.js → p-0248846f.entry.js} +1 -1
- package/dist/ezui/p-0625743b.entry.js +1 -0
- package/dist/ezui/p-07fb22c3.entry.js +1 -0
- package/dist/ezui/p-26cd4c2e.entry.js +1 -0
- package/dist/ezui/{p-d5eb2fad.entry.js → p-2da9faf1.entry.js} +1 -1
- package/dist/ezui/p-2de94faf.entry.js +1 -0
- package/dist/ezui/{p-9ab2add9.entry.js → p-34d459e4.entry.js} +1 -1
- package/dist/ezui/p-44183c39.entry.js +1 -0
- package/dist/ezui/p-47e4a8ce.js +1 -0
- package/dist/ezui/p-4af745e1.entry.js +1 -0
- package/dist/ezui/{p-948f0fb2.entry.js → p-4c2a4435.entry.js} +1 -1
- package/dist/ezui/{p-4fe123b6.entry.js → p-4c76b365.entry.js} +1 -1
- package/dist/ezui/{p-ce0b36d7.entry.js → p-4e869617.entry.js} +1 -1
- package/dist/ezui/{p-859e3134.entry.js → p-4f7ad3ee.entry.js} +1 -1
- package/dist/ezui/{p-b3d8034b.entry.js → p-544605c4.entry.js} +1 -1
- package/dist/ezui/p-556bf329.entry.js +1 -0
- package/dist/ezui/{p-d6bb930d.entry.js → p-56565777.entry.js} +1 -1
- package/dist/ezui/p-5895e687.js +1 -0
- package/dist/ezui/{p-9b215871.entry.js → p-5abb220b.entry.js} +1 -1
- package/dist/ezui/p-619225ce.entry.js +1 -0
- package/dist/ezui/p-62c149cb.entry.js +1 -0
- package/dist/ezui/p-6369a0cd.entry.js +1 -0
- package/dist/ezui/{p-56fc1da0.js → p-6a794336.js} +1 -1
- package/dist/ezui/{p-0f7971cf.entry.js → p-6ac056d7.entry.js} +1 -1
- package/dist/ezui/p-7134726a.entry.js +1 -0
- package/dist/ezui/{p-02d448bb.entry.js → p-729bd1be.entry.js} +1 -1
- package/dist/ezui/p-7953ecb9.entry.js +1 -0
- package/dist/ezui/p-7df45688.entry.js +1 -0
- package/dist/ezui/{p-34a476a9.entry.js → p-7edc3ef7.entry.js} +1 -1
- package/dist/ezui/p-88a115b3.js +1 -0
- package/dist/ezui/p-8e5f1c74.entry.js +1 -0
- package/dist/ezui/{p-a4083a7a.entry.js → p-97312709.entry.js} +1 -1
- package/dist/ezui/{p-baec56c9.js → p-9825c1d2.js} +1 -1
- package/dist/ezui/p-987185c4.entry.js +1 -0
- package/dist/ezui/p-a0f51b99.entry.js +1 -0
- package/dist/ezui/p-a3bad8f8.entry.js +1 -0
- package/dist/ezui/{p-7f37ee99.entry.js → p-a4351519.entry.js} +1 -1
- package/dist/ezui/p-a813a748.entry.js +1 -0
- package/dist/ezui/{p-6c51ccd1.entry.js → p-a872c642.entry.js} +1 -1
- package/dist/ezui/p-b0a716ef.entry.js +1 -0
- package/dist/ezui/p-b36475f9.entry.js +1 -0
- package/dist/ezui/{p-39761eca.entry.js → p-b705b342.entry.js} +1 -1
- package/dist/ezui/p-bea06aae.entry.js +309 -0
- package/dist/ezui/{p-ecd6409d.entry.js → p-bf2a7f94.entry.js} +1 -1
- package/dist/ezui/p-c0ae79fa.entry.js +1 -0
- package/dist/ezui/{p-a61fdd20.js → p-c178730b.js} +1 -1
- package/dist/ezui/{p-3afa1c6e.entry.js → p-c56ee8c0.entry.js} +1 -1
- package/dist/ezui/p-d5dc6b01.entry.js +1 -0
- package/dist/ezui/{p-05c32903.entry.js → p-df802548.entry.js} +1 -1
- package/dist/ezui/{p-5c440899.js → p-dff9862b.js} +1 -1
- package/dist/ezui/{p-9b3f3c02.entry.js → p-e2972977.entry.js} +1 -1
- package/dist/ezui/{p-b989a33e.entry.js → p-e3a42f47.entry.js} +1 -1
- package/dist/ezui/p-e3cd5080.entry.js +1 -0
- package/dist/ezui/{p-14ceb733.entry.js → p-e493ad57.entry.js} +1 -1
- package/dist/ezui/{p-721fd999.entry.js → p-f5552540.entry.js} +1 -1
- package/dist/ezui/{p-ec730d4e.entry.js → p-f969b65d.entry.js} +1 -1
- package/dist/ezui/p-ff4312d5.js +1 -0
- 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 +18 -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 +186 -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-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 +8 -1
- 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/interfaces/IAggegationFunc.d.ts +3 -0
- package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
- package/dist/types/components/ez-image-input/ez-image-input.d.ts +42 -0
- package/dist/types/components/ez-search/ez-search.d.ts +12 -1
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
- package/dist/types/components.d.ts +3287 -2004
- 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 +19 -0
- package/dist/types/utils/i18n/locales/es-es.d.ts +19 -0
- package/dist/types/utils/i18n/locales/pt-br.d.ts +19 -0
- package/dist/types/utils/i18n/translations.d.ts +57 -0
- package/package.json +1 -1
- package/react/components.d.ts +9 -0
- package/react/components.js +9 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ApplicationUtils-5cc05979.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-2fbe4b17.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.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_4.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.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-multi-selection-list.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.gz +0 -0
- package/dist/cjs/ez-popover-plus_3.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-f4d87617.js.gz +0 -0
- package/dist/cjs/index-1be40f19.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-8c74770b.js.gz +0 -0
- package/dist/cjs/search-column-00a916ae.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/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-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-1569f757.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-c0ac93c0.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.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_4.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.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-multi-selection-list.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.gz +0 -0
- package/dist/esm/ez-popover-plus_3.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-ad30f2f0.js.gz +0 -0
- package/dist/esm/index-41363fa6.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-ff423562.js.gz +0 -0
- package/dist/esm/search-column-3984faec.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-02d448bb.entry.js.gz +0 -0
- package/dist/ezui/p-05c32903.entry.js.gz +0 -0
- package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
- package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
- package/dist/ezui/p-112455b1.js.gz +0 -0
- package/dist/ezui/p-14ceb733.entry.js.gz +0 -0
- package/dist/ezui/p-18384b91.entry.js +0 -1
- package/dist/ezui/p-18384b91.entry.js.gz +0 -0
- package/dist/ezui/p-1e7a8633.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-23a36bb6.js.gz +0 -0
- package/dist/ezui/p-2528e988.entry.js.gz +0 -0
- package/dist/ezui/p-271a0ecb.entry.js +0 -1
- package/dist/ezui/p-271a0ecb.entry.js.gz +0 -0
- package/dist/ezui/p-288631d1.entry.js.gz +0 -0
- package/dist/ezui/p-2a806303.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-34a476a9.entry.js.gz +0 -0
- package/dist/ezui/p-351fb12f.entry.js.gz +0 -0
- package/dist/ezui/p-35bfaa88.entry.js +0 -1
- package/dist/ezui/p-35bfaa88.entry.js.gz +0 -0
- package/dist/ezui/p-39761eca.entry.js.gz +0 -0
- package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
- package/dist/ezui/p-3ce867cf.entry.js +0 -1
- package/dist/ezui/p-3ce867cf.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-4314f87a.entry.js +0 -1
- package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
- package/dist/ezui/p-43adc10c.entry.js +0 -1
- package/dist/ezui/p-43adc10c.entry.js.gz +0 -0
- package/dist/ezui/p-45e21e04.entry.js +0 -309
- package/dist/ezui/p-45e21e04.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-4fe123b6.entry.js.gz +0 -0
- package/dist/ezui/p-5554704c.js +0 -1
- package/dist/ezui/p-5554704c.js.gz +0 -0
- package/dist/ezui/p-56fc1da0.js.gz +0 -0
- package/dist/ezui/p-5c440899.js.gz +0 -0
- package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
- package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
- package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
- package/dist/ezui/p-6ca0815e.entry.js +0 -1
- package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
- package/dist/ezui/p-6cb82d33.entry.js +0 -1
- package/dist/ezui/p-6cb82d33.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-721fd999.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-7f37ee99.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-859e3134.entry.js.gz +0 -0
- package/dist/ezui/p-8d626d2b.entry.js +0 -1
- package/dist/ezui/p-8d626d2b.entry.js.gz +0 -0
- package/dist/ezui/p-8df1ca33.entry.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-948f0fb2.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
- package/dist/ezui/p-9b215871.entry.js.gz +0 -0
- package/dist/ezui/p-9b2e6438.entry.js +0 -1
- package/dist/ezui/p-9b2e6438.entry.js.gz +0 -0
- package/dist/ezui/p-9b3f3c02.entry.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-a4083a7a.entry.js.gz +0 -0
- package/dist/ezui/p-a61fdd20.js.gz +0 -0
- package/dist/ezui/p-a63b20a0.entry.js +0 -1
- package/dist/ezui/p-a63b20a0.entry.js.gz +0 -0
- package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-b1e45320.js.gz +0 -0
- package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
- package/dist/ezui/p-baec56c9.js.gz +0 -0
- package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
- package/dist/ezui/p-cde41310.entry.js +0 -1
- package/dist/ezui/p-cde41310.entry.js.gz +0 -0
- package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
- package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
- package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
- package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
- package/dist/ezui/p-d6bb930d.entry.js.gz +0 -0
- package/dist/ezui/p-d6f50207.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-de862af4.entry.js +0 -1
- package/dist/ezui/p-de862af4.entry.js.gz +0 -0
- package/dist/ezui/p-dee18824.entry.js +0 -1
- package/dist/ezui/p-dee18824.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-ec730d4e.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
- package/dist/ezui/p-ef8bd3e8.entry.js.gz +0 -0
- package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
- package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
|
@@ -5,15 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$1 = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
|
|
8
|
-
const ApplicationUtils = require('./ApplicationUtils-
|
|
8
|
+
const ApplicationUtils = require('./ApplicationUtils-006ca96f.js');
|
|
9
9
|
require('./DialogType-2114c337.js');
|
|
10
10
|
require('./CheckMode-ecb90b87.js');
|
|
11
|
-
const index = require('./index-
|
|
12
|
-
const
|
|
13
|
-
|
|
11
|
+
const index = require('./index-350d0fa0.js');
|
|
12
|
+
const types = require('./types-6a5df0c7.js');
|
|
13
|
+
require('./FormLayout-fe8da83c.js');
|
|
14
|
+
const searchColumn = require('./search-column-fbf680d7.js');
|
|
14
15
|
const constants = require('./constants-72b7e05e.js');
|
|
15
16
|
const FocusResolver = require('./FocusResolver-885f2173.js');
|
|
16
|
-
const purify = require('./purify-
|
|
17
|
+
const purify = require('./purify-b30a5718.js');
|
|
17
18
|
require('./_commonjsHelpers-537d719a.js');
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -439,6 +440,7 @@ function removeAllReferences(obj, objectName) {
|
|
|
439
440
|
// leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
|
|
440
441
|
if (typeof value === 'function') {
|
|
441
442
|
var func = function () {
|
|
443
|
+
console.warn("AG Grid: " + objectName + " function " + key + "() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.");
|
|
442
444
|
};
|
|
443
445
|
properties[key] = { value: func, writable: true };
|
|
444
446
|
}
|
|
@@ -609,6 +611,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
|
|
|
609
611
|
window.clearInterval(interval);
|
|
610
612
|
interval = null;
|
|
611
613
|
}
|
|
614
|
+
if (reachedTimeout && timeoutMessage) {
|
|
615
|
+
console.warn(timeoutMessage);
|
|
616
|
+
}
|
|
612
617
|
}
|
|
613
618
|
};
|
|
614
619
|
internalCallback();
|
|
@@ -710,9 +715,14 @@ var Context = /** @class */ (function () {
|
|
|
710
715
|
Context.prototype.createBeanWrapper = function (BeanClass) {
|
|
711
716
|
var metaData = BeanClass.__agBeanMetaData;
|
|
712
717
|
if (!metaData) {
|
|
718
|
+
var beanName = void 0;
|
|
713
719
|
if (BeanClass.prototype.constructor) {
|
|
714
|
-
getFunctionName(BeanClass.prototype.constructor);
|
|
720
|
+
beanName = getFunctionName(BeanClass.prototype.constructor);
|
|
721
|
+
}
|
|
722
|
+
else {
|
|
723
|
+
beanName = "" + BeanClass;
|
|
715
724
|
}
|
|
725
|
+
console.error("Context item " + beanName + " is not a bean");
|
|
716
726
|
return;
|
|
717
727
|
}
|
|
718
728
|
var beanEntry = {
|
|
@@ -784,6 +794,7 @@ var Context = /** @class */ (function () {
|
|
|
784
794
|
return beansList;
|
|
785
795
|
};
|
|
786
796
|
Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
|
|
797
|
+
if (optional === void 0) { optional = false; }
|
|
787
798
|
if (beanName === "context") {
|
|
788
799
|
return this;
|
|
789
800
|
}
|
|
@@ -794,6 +805,9 @@ var Context = /** @class */ (function () {
|
|
|
794
805
|
if (beanEntry) {
|
|
795
806
|
return beanEntry.beanInstance;
|
|
796
807
|
}
|
|
808
|
+
if (!optional) {
|
|
809
|
+
console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
|
|
810
|
+
}
|
|
797
811
|
return null;
|
|
798
812
|
};
|
|
799
813
|
Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
|
|
@@ -900,9 +914,11 @@ function Optional(name) {
|
|
|
900
914
|
}
|
|
901
915
|
function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
|
|
902
916
|
if (name === null) {
|
|
917
|
+
console.error("AG Grid: Autowired name should not be null");
|
|
903
918
|
return;
|
|
904
919
|
}
|
|
905
920
|
if (typeof index === "number") {
|
|
921
|
+
console.error("AG Grid: Autowired should be on an attribute");
|
|
906
922
|
return;
|
|
907
923
|
}
|
|
908
924
|
// it's an attribute on the class
|
|
@@ -1234,6 +1250,8 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1234
1250
|
else {
|
|
1235
1251
|
if (ModuleRegistry.moduleBased !== moduleBased) {
|
|
1236
1252
|
doOnce(function () {
|
|
1253
|
+
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.");
|
|
1254
|
+
console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
|
|
1237
1255
|
}, 'ModulePackageCheck');
|
|
1238
1256
|
}
|
|
1239
1257
|
}
|
|
@@ -1251,7 +1269,15 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1251
1269
|
return true;
|
|
1252
1270
|
}
|
|
1253
1271
|
var warningKey = reason + moduleName;
|
|
1272
|
+
var warningMessage;
|
|
1273
|
+
if (ModuleRegistry.moduleBased) {
|
|
1274
|
+
warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
|
|
1275
|
+
}
|
|
1276
|
+
else {
|
|
1277
|
+
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/";
|
|
1278
|
+
}
|
|
1254
1279
|
doOnce(function () {
|
|
1280
|
+
console.warn(warningMessage);
|
|
1255
1281
|
}, warningKey);
|
|
1256
1282
|
return false;
|
|
1257
1283
|
};
|
|
@@ -1444,9 +1470,11 @@ var Column = /** @class */ (function () {
|
|
|
1444
1470
|
var colDefAny = this.colDef;
|
|
1445
1471
|
function warnOnce(msg, key, obj) {
|
|
1446
1472
|
doOnce(function () {
|
|
1447
|
-
if (obj)
|
|
1473
|
+
if (obj) {
|
|
1474
|
+
console.warn(msg, obj);
|
|
1475
|
+
}
|
|
1448
1476
|
else {
|
|
1449
|
-
doOnce(function () { return (
|
|
1477
|
+
doOnce(function () { return console.warn(msg); }, key);
|
|
1450
1478
|
}
|
|
1451
1479
|
}, key);
|
|
1452
1480
|
}
|
|
@@ -1914,16 +1942,19 @@ var Column = /** @class */ (function () {
|
|
|
1914
1942
|
// this used to be needed, as previous version of ag-grid had lockPosition as column state,
|
|
1915
1943
|
// so couldn't depend on colDef version.
|
|
1916
1944
|
Column.prototype.isLockPosition = function () {
|
|
1945
|
+
console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
|
|
1917
1946
|
return this.colDef ? !!this.colDef.lockPosition : false;
|
|
1918
1947
|
};
|
|
1919
1948
|
// this used to be needed, as previous version of ag-grid had lockVisible as column state,
|
|
1920
1949
|
// so couldn't depend on colDef version.
|
|
1921
1950
|
Column.prototype.isLockVisible = function () {
|
|
1951
|
+
console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
|
|
1922
1952
|
return this.colDef ? !!this.colDef.lockVisible : false;
|
|
1923
1953
|
};
|
|
1924
1954
|
// this used to be needed, as previous version of ag-grid had lockPinned as column state,
|
|
1925
1955
|
// so couldn't depend on colDef version.
|
|
1926
1956
|
Column.prototype.isLockPinned = function () {
|
|
1957
|
+
console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
|
|
1927
1958
|
return this.colDef ? !!this.colDef.lockPinned : false;
|
|
1928
1959
|
};
|
|
1929
1960
|
// + renderedHeaderCell - for making header cell transparent when moving
|
|
@@ -2319,6 +2350,7 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2319
2350
|
};
|
|
2320
2351
|
/** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
|
|
2321
2352
|
ColumnGroup.prototype.getOriginalColumnGroup = function () {
|
|
2353
|
+
console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
|
|
2322
2354
|
return this.getProvidedColumnGroup();
|
|
2323
2355
|
};
|
|
2324
2356
|
ColumnGroup.prototype.getPaddingLevel = function () {
|
|
@@ -3194,7 +3226,9 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3194
3226
|
var typeKeys = [];
|
|
3195
3227
|
if (type instanceof Array) {
|
|
3196
3228
|
var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
|
|
3197
|
-
if (invalidArray)
|
|
3229
|
+
if (invalidArray) {
|
|
3230
|
+
console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
|
|
3231
|
+
}
|
|
3198
3232
|
else {
|
|
3199
3233
|
typeKeys = type;
|
|
3200
3234
|
}
|
|
@@ -3203,13 +3237,16 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3203
3237
|
typeKeys = type.split(',');
|
|
3204
3238
|
}
|
|
3205
3239
|
else {
|
|
3240
|
+
console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
|
|
3206
3241
|
return;
|
|
3207
3242
|
}
|
|
3208
3243
|
// merge user defined with default column types
|
|
3209
3244
|
var allColumnTypes = Object.assign({}, DefaultColumnTypes);
|
|
3210
3245
|
var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
|
|
3211
3246
|
iterateObject(userTypes, function (key, value) {
|
|
3212
|
-
if (key in allColumnTypes)
|
|
3247
|
+
if (key in allColumnTypes) {
|
|
3248
|
+
console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
|
|
3249
|
+
}
|
|
3213
3250
|
else {
|
|
3214
3251
|
allColumnTypes[key] = value;
|
|
3215
3252
|
}
|
|
@@ -3219,12 +3256,34 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3219
3256
|
if (typeColDef) {
|
|
3220
3257
|
mergeDeep(colDefMerged, typeColDef, false, true);
|
|
3221
3258
|
}
|
|
3259
|
+
else {
|
|
3260
|
+
console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
|
|
3261
|
+
}
|
|
3222
3262
|
});
|
|
3223
3263
|
};
|
|
3224
3264
|
ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
|
|
3225
3265
|
if (colDef) {
|
|
3226
3266
|
var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
|
|
3267
|
+
if (colDefNoType.group !== undefined) {
|
|
3268
|
+
console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3269
|
+
}
|
|
3270
|
+
if (colDefNoType.headerGroup !== undefined) {
|
|
3271
|
+
console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3272
|
+
}
|
|
3273
|
+
if (colDefNoType.headerGroupShow !== undefined) {
|
|
3274
|
+
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');
|
|
3275
|
+
}
|
|
3276
|
+
if (colDefNoType.suppressRowGroup !== undefined) {
|
|
3277
|
+
console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
|
|
3278
|
+
}
|
|
3279
|
+
if (colDefNoType.suppressAggregation !== undefined) {
|
|
3280
|
+
console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
|
|
3281
|
+
}
|
|
3282
|
+
if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
|
|
3283
|
+
console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
|
|
3284
|
+
}
|
|
3227
3285
|
if (colDefNoType.displayName) {
|
|
3286
|
+
console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
|
|
3228
3287
|
colDefNoType.headerName = colDefNoType.displayName;
|
|
3229
3288
|
}
|
|
3230
3289
|
}
|
|
@@ -4286,6 +4345,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4286
4345
|
toParse.forEach(function (key) {
|
|
4287
4346
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
|
|
4288
4347
|
if (!lookupResult) {
|
|
4348
|
+
console.warn("AG Grid: the key " + key + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
|
|
4289
4349
|
return;
|
|
4290
4350
|
}
|
|
4291
4351
|
comps_1.push(lookupResult);
|
|
@@ -4316,6 +4376,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4316
4376
|
if (typeof it === 'string') {
|
|
4317
4377
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
|
|
4318
4378
|
if (!lookupResult) {
|
|
4379
|
+
console.warn("AG Grid: the key " + it + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
|
|
4319
4380
|
return;
|
|
4320
4381
|
}
|
|
4321
4382
|
toAdd = lookupResult;
|
|
@@ -4912,6 +4973,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4912
4973
|
this.destroyed = true;
|
|
4913
4974
|
};
|
|
4914
4975
|
GridOptionsWrapper.prototype.init = function () {
|
|
4976
|
+
var _this = this;
|
|
4915
4977
|
if (this.gridOptions.suppressPropertyNamesCheck !== true) {
|
|
4916
4978
|
this.checkGridOptionsProperties();
|
|
4917
4979
|
this.checkColumnDefProperties();
|
|
@@ -4922,26 +4984,61 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4922
4984
|
}
|
|
4923
4985
|
var async = this.useAsyncEvents();
|
|
4924
4986
|
this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
|
|
4925
|
-
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes())
|
|
4987
|
+
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
|
|
4988
|
+
console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
|
|
4989
|
+
}
|
|
4926
4990
|
if (this.isGroupSelectsChildren()) {
|
|
4927
|
-
if (!this.isRowSelectionMulti())
|
|
4928
|
-
|
|
4991
|
+
if (!this.isRowSelectionMulti()) {
|
|
4992
|
+
console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
|
|
4993
|
+
}
|
|
4994
|
+
if (this.isRowModelServerSide()) {
|
|
4995
|
+
console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
|
|
4996
|
+
'This is because the rows are lazy loaded, so selecting a group is not possible as' +
|
|
4997
|
+
'the grid has no way of knowing what the children are.');
|
|
4998
|
+
}
|
|
4999
|
+
}
|
|
5000
|
+
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
|
|
5001
|
+
console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!");
|
|
4929
5002
|
}
|
|
4930
|
-
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
|
|
4931
5003
|
if (this.isRowModelServerSide()) {
|
|
4932
|
-
|
|
4933
|
-
if (exists(this.gridOptions.groupDefaultExpanded))
|
|
4934
|
-
|
|
5004
|
+
var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
|
|
5005
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5006
|
+
console.warn(msg('groupDefaultExpanded'));
|
|
5007
|
+
}
|
|
5008
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5009
|
+
console.warn(msg('groupIncludeFooter'));
|
|
5010
|
+
}
|
|
5011
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5012
|
+
console.warn(msg('groupIncludeTotalFooter'));
|
|
5013
|
+
}
|
|
4935
5014
|
}
|
|
4936
5015
|
if (isTrue(this.gridOptions.enableRangeSelection)) {
|
|
4937
5016
|
ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
|
|
4938
5017
|
}
|
|
4939
|
-
else if (this.isEnableRangeHandle() || this.isEnableFillHandle())
|
|
5018
|
+
else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
|
|
5019
|
+
console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
|
|
5020
|
+
}
|
|
4940
5021
|
if (this.isGroupRowsSticky()) {
|
|
4941
|
-
if (this.isGroupHideOpenParents())
|
|
4942
|
-
|
|
4943
|
-
|
|
5022
|
+
if (this.isGroupHideOpenParents()) {
|
|
5023
|
+
console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
|
|
5024
|
+
}
|
|
5025
|
+
if (this.isMasterDetail()) {
|
|
5026
|
+
console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
|
|
5027
|
+
}
|
|
5028
|
+
if (this.isPagination()) {
|
|
5029
|
+
console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
|
|
5030
|
+
}
|
|
4944
5031
|
}
|
|
5032
|
+
var warnOfDeprecaredIcon = function (name) {
|
|
5033
|
+
if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
|
|
5034
|
+
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/");
|
|
5035
|
+
}
|
|
5036
|
+
};
|
|
5037
|
+
warnOfDeprecaredIcon('radioButtonOff');
|
|
5038
|
+
warnOfDeprecaredIcon('radioButtonOn');
|
|
5039
|
+
warnOfDeprecaredIcon('checkboxChecked');
|
|
5040
|
+
warnOfDeprecaredIcon('checkboxUnchecked');
|
|
5041
|
+
warnOfDeprecaredIcon('checkboxIndeterminate');
|
|
4945
5042
|
// sets an initial calculation for the scrollbar width
|
|
4946
5043
|
this.getScrollbarWidth();
|
|
4947
5044
|
};
|
|
@@ -4965,7 +5062,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4965
5062
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
4966
5063
|
var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
|
|
4967
5064
|
iterateObject(invalidProperties, function (key, value) {
|
|
5065
|
+
console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
|
|
4968
5066
|
});
|
|
5067
|
+
if (Object.keys(invalidProperties).length > 0) {
|
|
5068
|
+
console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
|
|
5069
|
+
}
|
|
4969
5070
|
};
|
|
4970
5071
|
/**
|
|
4971
5072
|
* Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
|
|
@@ -5224,7 +5325,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5224
5325
|
];
|
|
5225
5326
|
if (validLayouts.indexOf(domLayout) === -1) {
|
|
5226
5327
|
doOnce(function () {
|
|
5227
|
-
return (
|
|
5328
|
+
return console.warn("AG Grid: " + domLayout + " is not valid for DOM Layout, valid values are " + Constants.DOM_LAYOUT_NORMAL + ", " + Constants.DOM_LAYOUT_AUTO_HEIGHT + " and " + Constants.DOM_LAYOUT_PRINT);
|
|
5228
5329
|
}, 'warn about dom layout values');
|
|
5229
5330
|
return Constants.DOM_LAYOUT_NORMAL;
|
|
5230
5331
|
}
|
|
@@ -5619,7 +5720,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5619
5720
|
return 'xy';
|
|
5620
5721
|
}
|
|
5621
5722
|
if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
|
|
5622
|
-
doOnce(function () { return (
|
|
5723
|
+
doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
|
|
5623
5724
|
return 'xy';
|
|
5624
5725
|
}
|
|
5625
5726
|
return direction;
|
|
@@ -5718,6 +5819,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5718
5819
|
};
|
|
5719
5820
|
GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
|
|
5720
5821
|
if (this.gridOptions.defaultExportParams) {
|
|
5822
|
+
console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
|
|
5721
5823
|
if (type === 'csv') {
|
|
5722
5824
|
return this.gridOptions.defaultExportParams;
|
|
5723
5825
|
}
|
|
@@ -5850,7 +5952,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5850
5952
|
GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
|
|
5851
5953
|
var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
|
|
5852
5954
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5853
|
-
doOnce(function () { return (
|
|
5955
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
|
|
5854
5956
|
return false;
|
|
5855
5957
|
}
|
|
5856
5958
|
return isEnabled;
|
|
@@ -5858,7 +5960,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5858
5960
|
GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
|
|
5859
5961
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
|
|
5860
5962
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5861
|
-
doOnce(function () { return (
|
|
5963
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
|
|
5862
5964
|
return false;
|
|
5863
5965
|
}
|
|
5864
5966
|
return isEnabled;
|
|
@@ -5866,11 +5968,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5866
5968
|
GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
|
|
5867
5969
|
var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
|
|
5868
5970
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5869
|
-
doOnce(function () { return (
|
|
5971
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
|
|
5870
5972
|
return false;
|
|
5871
5973
|
}
|
|
5872
5974
|
if (this.isTreeData() && isEnabled) {
|
|
5873
|
-
doOnce(function () { return (
|
|
5975
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
|
|
5874
5976
|
return false;
|
|
5875
5977
|
}
|
|
5876
5978
|
return isEnabled;
|
|
@@ -5878,11 +5980,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5878
5980
|
GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
|
|
5879
5981
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
|
|
5880
5982
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5881
|
-
doOnce(function () { return (
|
|
5983
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
|
|
5882
5984
|
return false;
|
|
5883
5985
|
}
|
|
5884
5986
|
if (this.isTreeData() && isEnabled) {
|
|
5885
|
-
doOnce(function () { return (
|
|
5987
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
|
|
5886
5988
|
return false;
|
|
5887
5989
|
}
|
|
5888
5990
|
return isEnabled;
|
|
@@ -5991,7 +6093,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5991
6093
|
var capitalisedType = capitalise(type);
|
|
5992
6094
|
if (exists(delay)) {
|
|
5993
6095
|
if (delay < 0) {
|
|
5994
|
-
doOnce(function () { return (
|
|
6096
|
+
doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
|
|
5995
6097
|
}
|
|
5996
6098
|
return Math.max(200, delay);
|
|
5997
6099
|
}
|
|
@@ -6042,7 +6144,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6042
6144
|
var rowBuffer = this.gridOptions.rowBuffer;
|
|
6043
6145
|
if (typeof rowBuffer === 'number') {
|
|
6044
6146
|
if (rowBuffer < 0) {
|
|
6045
|
-
doOnce(function () { return (
|
|
6147
|
+
doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
|
|
6046
6148
|
this.gridOptions.rowBuffer = rowBuffer = 0;
|
|
6047
6149
|
}
|
|
6048
6150
|
}
|
|
@@ -6076,23 +6178,45 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6076
6178
|
// casting to generic object, so typescript compiles even though
|
|
6077
6179
|
// we are looking for attributes that don't exist
|
|
6078
6180
|
var options = this.gridOptions;
|
|
6181
|
+
if (options.deprecatedEmbedFullWidthRows) {
|
|
6182
|
+
console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
|
|
6183
|
+
}
|
|
6184
|
+
if (options.rowDeselection) {
|
|
6185
|
+
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.');
|
|
6186
|
+
}
|
|
6079
6187
|
if (options.enableMultiRowDragging) {
|
|
6080
6188
|
options.rowDragMultiRow = true;
|
|
6081
6189
|
delete options.enableMultiRowDragging;
|
|
6190
|
+
console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
|
|
6082
6191
|
}
|
|
6083
6192
|
var checkRenamedProperty = function (oldProp, newProp, version) {
|
|
6084
6193
|
if (options[oldProp] != null) {
|
|
6194
|
+
console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
|
|
6085
6195
|
if (options[newProp] == null) {
|
|
6086
6196
|
options[newProp] = options[oldProp];
|
|
6087
6197
|
}
|
|
6088
6198
|
}
|
|
6089
6199
|
};
|
|
6090
|
-
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
|
|
6091
|
-
checkRenamedProperty('deltaRowDataMode', 'immutableData');
|
|
6092
|
-
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
|
|
6093
|
-
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
|
|
6094
|
-
|
|
6200
|
+
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
|
|
6201
|
+
checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
|
|
6202
|
+
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
|
|
6203
|
+
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
|
|
6204
|
+
if (options.immutableColumns || options.deltaColumnMode) {
|
|
6205
|
+
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');
|
|
6206
|
+
}
|
|
6207
|
+
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
|
|
6095
6208
|
if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
|
|
6209
|
+
console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
|
|
6210
|
+
console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
|
|
6211
|
+
console.warn(' For example instead of this:');
|
|
6212
|
+
console.warn(' groupRowInnerRenderer: "myRenderer"');
|
|
6213
|
+
console.warn(' groupRowInnerRendererParams: {x: a}');
|
|
6214
|
+
console.warn(' Replace with this:');
|
|
6215
|
+
console.warn(' groupRowRendererParams: {');
|
|
6216
|
+
console.warn(' innerRenderer: "myRenderer",');
|
|
6217
|
+
console.warn(' innerRendererParams: {x: a}');
|
|
6218
|
+
console.warn(' }');
|
|
6219
|
+
console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
|
|
6096
6220
|
if (!options.groupRowRendererParams) {
|
|
6097
6221
|
options.groupRowRendererParams = {};
|
|
6098
6222
|
}
|
|
@@ -6107,36 +6231,105 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6107
6231
|
params.innerRendererFramework = options.groupRowInnerRendererFramework;
|
|
6108
6232
|
}
|
|
6109
6233
|
}
|
|
6234
|
+
if (options.rememberGroupStateWhenNewData) {
|
|
6235
|
+
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.');
|
|
6236
|
+
}
|
|
6110
6237
|
if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
|
|
6238
|
+
console.warn('AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer');
|
|
6111
6239
|
options.detailRowAutoHeight = true;
|
|
6112
6240
|
}
|
|
6241
|
+
if (options.suppressKeyboardEvent) {
|
|
6242
|
+
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.");
|
|
6243
|
+
}
|
|
6244
|
+
if (options.suppressEnterpriseResetOnNewColumns) {
|
|
6245
|
+
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.');
|
|
6246
|
+
}
|
|
6247
|
+
if (options.suppressColumnStateEvents) {
|
|
6248
|
+
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');
|
|
6249
|
+
}
|
|
6250
|
+
if (options.defaultExportParams) {
|
|
6251
|
+
console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
|
|
6252
|
+
}
|
|
6113
6253
|
if (options.stopEditingWhenGridLosesFocus) {
|
|
6254
|
+
console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
|
|
6114
6255
|
options.stopEditingWhenCellsLoseFocus = true;
|
|
6115
6256
|
}
|
|
6257
|
+
if (options.applyColumnDefOrder) {
|
|
6258
|
+
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');
|
|
6259
|
+
}
|
|
6116
6260
|
if (options.groupMultiAutoColumn) {
|
|
6261
|
+
console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
|
|
6117
6262
|
options.groupDisplayType = 'multipleColumns';
|
|
6118
6263
|
}
|
|
6119
6264
|
if (options.groupUseEntireRow) {
|
|
6265
|
+
console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
|
|
6120
6266
|
options.groupDisplayType = 'groupRows';
|
|
6121
6267
|
}
|
|
6122
6268
|
if (options.groupSuppressAutoColumn) {
|
|
6269
|
+
var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
|
|
6270
|
+
console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
|
|
6123
6271
|
options.groupDisplayType = 'custom';
|
|
6124
6272
|
}
|
|
6273
|
+
if (options.defaultGroupOrderComparator) {
|
|
6274
|
+
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.");
|
|
6275
|
+
}
|
|
6125
6276
|
if (options.defaultGroupSortComparator) {
|
|
6277
|
+
console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
|
|
6126
6278
|
options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
|
|
6127
6279
|
}
|
|
6280
|
+
if (options.groupRowAggNodes) {
|
|
6281
|
+
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.");
|
|
6282
|
+
}
|
|
6283
|
+
if (options.postSort) {
|
|
6284
|
+
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.");
|
|
6285
|
+
}
|
|
6286
|
+
if (options.isFullWidthCell) {
|
|
6287
|
+
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.");
|
|
6288
|
+
}
|
|
6289
|
+
if (options.localeTextFunc) {
|
|
6290
|
+
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.");
|
|
6291
|
+
}
|
|
6292
|
+
if (options.colWidth) {
|
|
6293
|
+
console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
|
|
6294
|
+
}
|
|
6295
|
+
if (options.minColWidth) {
|
|
6296
|
+
console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
|
|
6297
|
+
}
|
|
6298
|
+
if (options.maxColWidth) {
|
|
6299
|
+
console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
|
|
6300
|
+
}
|
|
6301
|
+
if (options.reactUi) {
|
|
6302
|
+
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.');
|
|
6303
|
+
}
|
|
6304
|
+
if (options.suppressReactUi) {
|
|
6305
|
+
console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
|
|
6306
|
+
}
|
|
6128
6307
|
if (options.suppressCellSelection) {
|
|
6308
|
+
console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
|
|
6129
6309
|
options.suppressCellFocus = options.suppressCellSelection;
|
|
6130
6310
|
}
|
|
6311
|
+
if (options.getRowNodeId) {
|
|
6312
|
+
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.');
|
|
6313
|
+
}
|
|
6314
|
+
if (options.immutableData) {
|
|
6315
|
+
if (options.getRowId) {
|
|
6316
|
+
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`.');
|
|
6317
|
+
}
|
|
6318
|
+
else {
|
|
6319
|
+
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
|
|
6320
|
+
}
|
|
6321
|
+
}
|
|
6131
6322
|
if (options.clipboardDeliminator) {
|
|
6323
|
+
console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
|
|
6132
6324
|
options.clipboardDelimiter = options.clipboardDeliminator;
|
|
6133
6325
|
}
|
|
6134
|
-
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
|
|
6135
|
-
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
|
|
6326
|
+
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
|
|
6327
|
+
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
|
|
6136
6328
|
if (options.serverSideStoreType) {
|
|
6329
|
+
console.warn('AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store.');
|
|
6137
6330
|
options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
|
|
6138
6331
|
}
|
|
6139
|
-
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
|
|
6332
|
+
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
|
|
6140
6333
|
};
|
|
6141
6334
|
GridOptionsWrapper.prototype.checkForViolations = function () {
|
|
6142
6335
|
if (this.isTreeData()) {
|
|
@@ -6145,11 +6338,20 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6145
6338
|
};
|
|
6146
6339
|
GridOptionsWrapper.prototype.treeDataViolations = function () {
|
|
6147
6340
|
if (this.isRowModelDefault()) {
|
|
6148
|
-
if (missing(this.getDataPathFunc()))
|
|
6341
|
+
if (missing(this.getDataPathFunc())) {
|
|
6342
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
|
|
6343
|
+
'provide getDataPath function, please provide getDataPath function if using tree data.');
|
|
6344
|
+
}
|
|
6149
6345
|
}
|
|
6150
6346
|
if (this.isRowModelServerSide()) {
|
|
6151
|
-
if (missing(this.getIsServerSideGroupFunc()))
|
|
6152
|
-
|
|
6347
|
+
if (missing(this.getIsServerSideGroupFunc())) {
|
|
6348
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6349
|
+
'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
|
|
6350
|
+
}
|
|
6351
|
+
if (missing(this.getServerSideGroupKeyFunc())) {
|
|
6352
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6353
|
+
'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
|
|
6354
|
+
}
|
|
6153
6355
|
}
|
|
6154
6356
|
};
|
|
6155
6357
|
GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
|
|
@@ -6218,6 +6420,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6218
6420
|
this.setRowHeightVariable(rowHeight);
|
|
6219
6421
|
return rowHeight;
|
|
6220
6422
|
}
|
|
6423
|
+
console.warn('AG Grid row height must be a number if not using standard row model');
|
|
6221
6424
|
return this.getDefaultRowHeight();
|
|
6222
6425
|
};
|
|
6223
6426
|
GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
|
|
@@ -6242,7 +6445,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6242
6445
|
var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
|
|
6243
6446
|
if (this.isNumeric(height)) {
|
|
6244
6447
|
if (height === 0) {
|
|
6245
|
-
doOnce(function () { return (
|
|
6448
|
+
doOnce(function () { return console.warn('AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.'); }, 'invalidRowHeight');
|
|
6246
6449
|
}
|
|
6247
6450
|
return { height: Math.max(1, height), estimated: false };
|
|
6248
6451
|
}
|
|
@@ -6287,6 +6490,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6287
6490
|
GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
|
|
6288
6491
|
var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
|
|
6289
6492
|
if (groupDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6493
|
+
console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
|
|
6290
6494
|
return false;
|
|
6291
6495
|
}
|
|
6292
6496
|
return supplied === toMatch;
|
|
@@ -6294,6 +6498,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6294
6498
|
GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
|
|
6295
6499
|
var treeDataDisplayTypeValues = ['auto', 'custom'];
|
|
6296
6500
|
if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6501
|
+
console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
|
|
6297
6502
|
return false;
|
|
6298
6503
|
}
|
|
6299
6504
|
return supplied === toMatch;
|
|
@@ -6678,6 +6883,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6678
6883
|
};
|
|
6679
6884
|
ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
|
|
6680
6885
|
if (pivot && this.gridOptionsWrapper.isTreeData()) {
|
|
6886
|
+
console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
|
|
6681
6887
|
return false;
|
|
6682
6888
|
}
|
|
6683
6889
|
return true;
|
|
@@ -7308,6 +7514,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7308
7514
|
if (loopCount > 1000) {
|
|
7309
7515
|
// this should never happen, but in the future, someone might introduce a bug here,
|
|
7310
7516
|
// so we stop the browser from hanging and report bug properly
|
|
7517
|
+
console.error('AG Grid: infinite loop in resizeColumnSets');
|
|
7311
7518
|
return "break";
|
|
7312
7519
|
}
|
|
7313
7520
|
finishedColsGrew = false;
|
|
@@ -7425,6 +7632,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7425
7632
|
if (source === void 0) { source = "api"; }
|
|
7426
7633
|
this.columnAnimationService.start();
|
|
7427
7634
|
if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
|
|
7635
|
+
console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
|
|
7636
|
+
console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
|
|
7428
7637
|
return;
|
|
7429
7638
|
}
|
|
7430
7639
|
// we want to pull all the columns out first and put them into an ordered list
|
|
@@ -7677,6 +7886,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7677
7886
|
ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
|
|
7678
7887
|
if (source === void 0) { source = "api"; }
|
|
7679
7888
|
if (this.gridOptionsWrapper.getDomLayout() === 'print') {
|
|
7889
|
+
console.warn("Changing the column pinning status is not allowed with domLayout='print'");
|
|
7680
7890
|
return;
|
|
7681
7891
|
}
|
|
7682
7892
|
this.columnAnimationService.start();
|
|
@@ -7946,6 +8156,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7946
8156
|
return false;
|
|
7947
8157
|
}
|
|
7948
8158
|
if (params && params.state && !params.state.forEach) {
|
|
8159
|
+
console.warn('AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.');
|
|
7949
8160
|
return false;
|
|
7950
8161
|
}
|
|
7951
8162
|
var applyStates = function (states, existingColumns, getById) {
|
|
@@ -8092,6 +8303,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8092
8303
|
// is less sexy for the code here, but it keeps consistency.
|
|
8093
8304
|
newOrder = this.placeLockedColumns(newOrder);
|
|
8094
8305
|
if (!this.doesMovePassMarryChildren(newOrder)) {
|
|
8306
|
+
console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
|
|
8095
8307
|
return;
|
|
8096
8308
|
}
|
|
8097
8309
|
this.gridColumns = newOrder;
|
|
@@ -8343,7 +8555,11 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8343
8555
|
}
|
|
8344
8556
|
}
|
|
8345
8557
|
else {
|
|
8346
|
-
if (exists(aggFunc))
|
|
8558
|
+
if (exists(aggFunc)) {
|
|
8559
|
+
console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
|
|
8560
|
+
'functions, register the functions first before using them in get/set state. This is because it is ' +
|
|
8561
|
+
'intended for the column state to be stored and retrieved as simple JSON.');
|
|
8562
|
+
}
|
|
8347
8563
|
// Note: we do not call column.setAggFunc(null), so that next time we aggregate
|
|
8348
8564
|
// by this column (eg drag the column to the agg section int he toolpanel) it will
|
|
8349
8565
|
// default to the last aggregation function.
|
|
@@ -8411,6 +8627,9 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8411
8627
|
return null;
|
|
8412
8628
|
}
|
|
8413
8629
|
var column = this.getGridColumn(key);
|
|
8630
|
+
if (!column) {
|
|
8631
|
+
console.warn('AG Grid: could not find column ' + key);
|
|
8632
|
+
}
|
|
8414
8633
|
return column;
|
|
8415
8634
|
};
|
|
8416
8635
|
ColumnModel.prototype.getPrimaryColumn = function (key) {
|
|
@@ -8513,6 +8732,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8513
8732
|
// valueGetter is an expression, so execute the expression
|
|
8514
8733
|
return this.expressionService.evaluate(headerValueGetter, params);
|
|
8515
8734
|
}
|
|
8735
|
+
console.warn('ag-grid: headerValueGetter must be a function or a string');
|
|
8516
8736
|
return '';
|
|
8517
8737
|
}
|
|
8518
8738
|
else if (colDef.headerName != null) {
|
|
@@ -8807,6 +9027,10 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8807
9027
|
this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
|
|
8808
9028
|
};
|
|
8809
9029
|
ColumnModel.prototype.getProvidedColumnGroup = function (key) {
|
|
9030
|
+
// if (key instanceof ProvidedColumnGroup) { return key; }
|
|
9031
|
+
if (typeof key !== 'string') {
|
|
9032
|
+
console.error('AG Grid: group key must be a string');
|
|
9033
|
+
}
|
|
8810
9034
|
// otherwise, search for the column group by id
|
|
8811
9035
|
var res = null;
|
|
8812
9036
|
this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
|
|
@@ -9017,7 +9241,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9017
9241
|
var rowModelType = this.rowModel.getType();
|
|
9018
9242
|
var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
9019
9243
|
if (!supportedRowModel) {
|
|
9020
|
-
|
|
9244
|
+
var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
|
|
9245
|
+
doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
|
|
9021
9246
|
}
|
|
9022
9247
|
}
|
|
9023
9248
|
};
|
|
@@ -10009,6 +10234,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10009
10234
|
if (found) {
|
|
10010
10235
|
return result;
|
|
10011
10236
|
}
|
|
10237
|
+
console.warn('AG Grid: could not get path');
|
|
10012
10238
|
return null;
|
|
10013
10239
|
};
|
|
10014
10240
|
DisplayedGroupCreator = __decorate$36([
|
|
@@ -11692,12 +11918,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
|
|
|
11692
11918
|
if (isNodeOrElement(rendererResult)) {
|
|
11693
11919
|
return rendererResult;
|
|
11694
11920
|
}
|
|
11921
|
+
console.warn('AG Grid: iconRenderer should return back a string or a dom object');
|
|
11695
11922
|
}
|
|
11696
11923
|
else {
|
|
11697
11924
|
var span = document.createElement('span');
|
|
11698
11925
|
var cssClass = iconNameClassMap[iconName];
|
|
11699
11926
|
if (!cssClass) {
|
|
11700
11927
|
if (!forceCreate) {
|
|
11928
|
+
console.warn("AG Grid: Did not find icon " + iconName);
|
|
11701
11929
|
cssClass = '';
|
|
11702
11930
|
}
|
|
11703
11931
|
else {
|
|
@@ -12136,6 +12364,7 @@ var AgPromise = /** @class */ (function () {
|
|
|
12136
12364
|
this.waiters.forEach(function (waiter) { return waiter(value); });
|
|
12137
12365
|
};
|
|
12138
12366
|
AgPromise.prototype.onReject = function (params) {
|
|
12367
|
+
console.warn('TBI');
|
|
12139
12368
|
};
|
|
12140
12369
|
return AgPromise;
|
|
12141
12370
|
}());
|
|
@@ -12761,9 +12990,11 @@ function RefSelector(ref) {
|
|
|
12761
12990
|
}
|
|
12762
12991
|
function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
|
|
12763
12992
|
if (selector === null) {
|
|
12993
|
+
console.error('AG Grid: QuerySelector selector should not be null');
|
|
12764
12994
|
return;
|
|
12765
12995
|
}
|
|
12766
12996
|
if (typeof index === 'number') {
|
|
12997
|
+
console.error('AG Grid: QuerySelector should be on an attribute');
|
|
12767
12998
|
return;
|
|
12768
12999
|
}
|
|
12769
13000
|
addToObjectProps(classPrototype, 'querySelectors', {
|
|
@@ -12998,8 +13229,12 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
12998
13229
|
this.checkForDeprecatedParams();
|
|
12999
13230
|
};
|
|
13000
13231
|
OptionsFactory.prototype.checkForDeprecatedParams = function () {
|
|
13001
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; }))
|
|
13002
|
-
|
|
13232
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
|
|
13233
|
+
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
|
|
13234
|
+
}
|
|
13235
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
|
|
13236
|
+
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
|
|
13237
|
+
}
|
|
13003
13238
|
};
|
|
13004
13239
|
OptionsFactory.prototype.getFilterOptions = function () {
|
|
13005
13240
|
return this.filterOptions;
|
|
@@ -13016,6 +13251,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13016
13251
|
var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
|
|
13017
13252
|
var propertyCheck = function (keys) {
|
|
13018
13253
|
if (!keys.some(function (key) { return filterOption[key] != null; })) {
|
|
13254
|
+
console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
|
|
13019
13255
|
return false;
|
|
13020
13256
|
}
|
|
13021
13257
|
return true;
|
|
@@ -13049,9 +13285,13 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13049
13285
|
else if (firstFilterOption.displayKey) {
|
|
13050
13286
|
this.defaultOption = firstFilterOption.displayKey;
|
|
13051
13287
|
}
|
|
13052
|
-
else
|
|
13288
|
+
else {
|
|
13289
|
+
console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
|
|
13290
|
+
}
|
|
13291
|
+
}
|
|
13292
|
+
else {
|
|
13293
|
+
console.warn('AG Grid: no filter options for filter');
|
|
13053
13294
|
}
|
|
13054
|
-
else ;
|
|
13055
13295
|
};
|
|
13056
13296
|
OptionsFactory.prototype.getDefaultOption = function () {
|
|
13057
13297
|
return this.defaultOption;
|
|
@@ -13314,6 +13554,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13314
13554
|
clickListener = function (e) { _this.onBtCancel(e); };
|
|
13315
13555
|
break;
|
|
13316
13556
|
default:
|
|
13557
|
+
console.warn('AG Grid: Unknown button type specified');
|
|
13317
13558
|
return;
|
|
13318
13559
|
}
|
|
13319
13560
|
var buttonType = type === 'apply' ? 'submit' : 'button';
|
|
@@ -13454,6 +13695,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13454
13695
|
// static, as used by floating filter also
|
|
13455
13696
|
ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
|
|
13456
13697
|
if (ProvidedFilter.isUseApplyButton(params)) {
|
|
13698
|
+
if (params.debounceMs != null) {
|
|
13699
|
+
console.warn('AG Grid: debounceMs is ignored when apply button is present');
|
|
13700
|
+
}
|
|
13457
13701
|
return 0;
|
|
13458
13702
|
}
|
|
13459
13703
|
return params.debounceMs != null ? params.debounceMs : debounceDefault;
|
|
@@ -14830,6 +15074,7 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
14830
15074
|
case ScalarFilter.NOT_BLANK:
|
|
14831
15075
|
return !this.isBlank(cellValue);
|
|
14832
15076
|
default:
|
|
15077
|
+
console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
|
|
14833
15078
|
return true;
|
|
14834
15079
|
}
|
|
14835
15080
|
};
|
|
@@ -14923,11 +15168,17 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
14923
15168
|
if (!isNaN(params[param])) {
|
|
14924
15169
|
return params[param] == null ? fallback : Number(params[param]);
|
|
14925
15170
|
}
|
|
15171
|
+
else {
|
|
15172
|
+
console.warn("AG Grid: DateFilter " + param + " is not a number");
|
|
15173
|
+
}
|
|
14926
15174
|
}
|
|
14927
15175
|
return fallback;
|
|
14928
15176
|
};
|
|
14929
15177
|
this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
|
|
14930
15178
|
this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
|
|
15179
|
+
if (this.minValidYear > this.maxValidYear) {
|
|
15180
|
+
console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
|
|
15181
|
+
}
|
|
14931
15182
|
this.createDateComponents();
|
|
14932
15183
|
};
|
|
14933
15184
|
DateFilter.prototype.createDateComponents = function () {
|
|
@@ -15628,7 +15879,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15628
15879
|
TextFilter.prototype.getTextMatcher = function () {
|
|
15629
15880
|
var legacyComparator = this.textFilterParams.textCustomComparator;
|
|
15630
15881
|
if (legacyComparator) {
|
|
15631
|
-
_.doOnce(function () { return (
|
|
15882
|
+
_.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
|
|
15632
15883
|
return function (_a) {
|
|
15633
15884
|
var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
|
|
15634
15885
|
return legacyComparator(filterOption, value, filterText);
|
|
@@ -16554,7 +16805,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16554
16805
|
HeaderGroupComp.prototype.checkWarnings = function () {
|
|
16555
16806
|
var paramsAny = this.params;
|
|
16556
16807
|
if (paramsAny.template) {
|
|
16557
|
-
|
|
16808
|
+
var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
|
|
16809
|
+
doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
|
|
16558
16810
|
}
|
|
16559
16811
|
};
|
|
16560
16812
|
HeaderGroupComp.prototype.setupExpandIcons = function () {
|
|
@@ -16785,6 +17037,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
16785
17037
|
var _this = this;
|
|
16786
17038
|
this.focusAfterAttached = params.cellStartedEdit;
|
|
16787
17039
|
if (missing(params.values)) {
|
|
17040
|
+
console.warn('AG Grid: no values found for select cellEditor');
|
|
16788
17041
|
return;
|
|
16789
17042
|
}
|
|
16790
17043
|
this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
|
|
@@ -16858,7 +17111,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
16858
17111
|
__extends$2_(PopupSelectCellEditor, _super);
|
|
16859
17112
|
function PopupSelectCellEditor() {
|
|
16860
17113
|
var _this = _super.call(this) || this;
|
|
16861
|
-
doOnce(function () { return (
|
|
17114
|
+
doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
|
|
16862
17115
|
return _this;
|
|
16863
17116
|
}
|
|
16864
17117
|
PopupSelectCellEditor.prototype.isPopup = function () {
|
|
@@ -17012,7 +17265,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17012
17265
|
__extends$2Y(PopupTextCellEditor, _super);
|
|
17013
17266
|
function PopupTextCellEditor() {
|
|
17014
17267
|
var _this = _super.call(this) || this;
|
|
17015
|
-
doOnce(function () { return (
|
|
17268
|
+
doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
|
|
17016
17269
|
return _this;
|
|
17017
17270
|
}
|
|
17018
17271
|
PopupTextCellEditor.prototype.isPopup = function () {
|
|
@@ -17389,7 +17642,9 @@ var RowNode = /** @class */ (function () {
|
|
|
17389
17642
|
});
|
|
17390
17643
|
// make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
|
|
17391
17644
|
// it has 'startsWith' in case the user provided a number.
|
|
17392
|
-
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP))
|
|
17645
|
+
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
|
|
17646
|
+
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.");
|
|
17647
|
+
}
|
|
17393
17648
|
// force id to be a string
|
|
17394
17649
|
if (this.id !== null && typeof this.id !== 'string') {
|
|
17395
17650
|
this.id = '' + this.id;
|
|
@@ -17848,9 +18103,11 @@ var RowNode = /** @class */ (function () {
|
|
|
17848
18103
|
// groupSelectsFiltered only makes sense when group selects children
|
|
17849
18104
|
var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
|
|
17850
18105
|
if (this.id === undefined) {
|
|
18106
|
+
console.warn('AG Grid: cannot select node until id for node is known');
|
|
17851
18107
|
return 0;
|
|
17852
18108
|
}
|
|
17853
18109
|
if (this.rowPinned) {
|
|
18110
|
+
console.warn('AG Grid: cannot select pinned rows');
|
|
17854
18111
|
return 0;
|
|
17855
18112
|
}
|
|
17856
18113
|
// if we are a footer, we don't do selection, just pass the info
|
|
@@ -18625,7 +18882,9 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18625
18882
|
}
|
|
18626
18883
|
}
|
|
18627
18884
|
this.eGhostParent = targetEl;
|
|
18628
|
-
if (!this.eGhostParent)
|
|
18885
|
+
if (!this.eGhostParent) {
|
|
18886
|
+
console.warn('AG Grid: could not find document body, it is needed for dragging columns');
|
|
18887
|
+
}
|
|
18629
18888
|
else {
|
|
18630
18889
|
this.eGhostParent.appendChild(this.eGhost);
|
|
18631
18890
|
}
|
|
@@ -18788,7 +19047,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
18788
19047
|
var treeData = this.beans.gridOptionsWrapper.isTreeData();
|
|
18789
19048
|
if (treeData && managed) {
|
|
18790
19049
|
doOnce(function () {
|
|
18791
|
-
return (
|
|
19050
|
+
return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
|
|
18792
19051
|
}, 'RowDragComp.managedAndTreeData');
|
|
18793
19052
|
}
|
|
18794
19053
|
};
|
|
@@ -19197,7 +19456,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19197
19456
|
else if (typeof footerValueGetter === 'string') {
|
|
19198
19457
|
footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
|
|
19199
19458
|
}
|
|
19200
|
-
else
|
|
19459
|
+
else {
|
|
19460
|
+
console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
|
|
19461
|
+
}
|
|
19201
19462
|
}
|
|
19202
19463
|
else {
|
|
19203
19464
|
footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
|
|
@@ -19415,7 +19676,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19415
19676
|
var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
|
|
19416
19677
|
var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
|
|
19417
19678
|
if (userProvidedPaddingPixelsTheDeprecatedWay) {
|
|
19418
|
-
doOnce(function () { return (
|
|
19679
|
+
doOnce(function () { return console.warn('AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.'); }, 'groupCellRenderer->doDeprecatedWay');
|
|
19419
19680
|
}
|
|
19420
19681
|
if (this.indentClass) {
|
|
19421
19682
|
this.comp.addOrRemoveCssClass(this.indentClass, false);
|
|
@@ -19920,6 +20181,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19920
20181
|
UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
|
|
19921
20182
|
var name = this.translateIfDeprecated(rawName);
|
|
19922
20183
|
if (this.agGridDefaults[name]) {
|
|
20184
|
+
console.error("Trying to overwrite a default component. You should call registerComponent");
|
|
19923
20185
|
return;
|
|
19924
20186
|
}
|
|
19925
20187
|
this.agGridDefaults[name] = component;
|
|
@@ -19927,6 +20189,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19927
20189
|
UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
|
|
19928
20190
|
var name = this.translateIfDeprecated(rawName);
|
|
19929
20191
|
if (this.fwComps[name]) {
|
|
20192
|
+
console.error("Trying to register a component that you have already registered for frameworks: " + name);
|
|
19930
20193
|
return;
|
|
19931
20194
|
}
|
|
19932
20195
|
this.jsComps[name] = component;
|
|
@@ -19936,7 +20199,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19936
20199
|
* A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
|
|
19937
20200
|
*/
|
|
19938
20201
|
UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
|
|
19939
|
-
|
|
20202
|
+
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.";
|
|
20203
|
+
doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
19940
20204
|
var name = this.translateIfDeprecated(rawName);
|
|
19941
20205
|
this.fwComps[name] = component;
|
|
19942
20206
|
};
|
|
@@ -19963,13 +20227,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19963
20227
|
if (defaultComponent) {
|
|
19964
20228
|
return createResult(defaultComponent, false);
|
|
19965
20229
|
}
|
|
19966
|
-
if (Object.keys(this.agGridDefaults).indexOf(name) < 0)
|
|
20230
|
+
if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
|
|
20231
|
+
console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
|
|
20232
|
+
}
|
|
19967
20233
|
return null;
|
|
19968
20234
|
};
|
|
19969
20235
|
UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
|
|
19970
20236
|
var deprecatedInfo = this.agDeprecatedNames[raw];
|
|
19971
20237
|
if (deprecatedInfo != null) {
|
|
19972
20238
|
doOnce(function () {
|
|
20239
|
+
console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename " + deprecatedInfo.propertyHolder + ":" + raw + " to " + deprecatedInfo.propertyHolder + ":" + deprecatedInfo.newComponentName);
|
|
19973
20240
|
}, 'DEPRECATE_COMPONENT_' + raw);
|
|
19974
20241
|
return deprecatedInfo.newComponentName;
|
|
19975
20242
|
}
|
|
@@ -20187,6 +20454,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20187
20454
|
};
|
|
20188
20455
|
UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
|
|
20189
20456
|
var _this = this;
|
|
20457
|
+
if (mandatory === void 0) { mandatory = false; }
|
|
20190
20458
|
var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
|
|
20191
20459
|
var _a = this.getCompKeys(defObject, type, params), compName = _a.compName, jsComp = _a.jsComp, fwComp = _a.fwComp, paramsFromSelector = _a.paramsFromSelector, popupFromSelector = _a.popupFromSelector, popupPositionFromSelector = _a.popupPositionFromSelector;
|
|
20192
20460
|
var lookupFromRegistry = function (key) {
|
|
@@ -20209,6 +20477,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20209
20477
|
jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
|
|
20210
20478
|
}
|
|
20211
20479
|
if (!jsComp && !fwComp) {
|
|
20480
|
+
if (mandatory) {
|
|
20481
|
+
console.error("Could not find component " + compName + ", did you forget to configure this component?");
|
|
20482
|
+
}
|
|
20212
20483
|
return;
|
|
20213
20484
|
}
|
|
20214
20485
|
var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
|
|
@@ -20245,7 +20516,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20245
20516
|
var selectorRes = selectorFunc ? selectorFunc(params) : null;
|
|
20246
20517
|
var assignComp = function (providedJsComp, providedFwComp) {
|
|
20247
20518
|
var xxxFrameworkDeprecatedWarn = function () {
|
|
20248
|
-
|
|
20519
|
+
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.";
|
|
20520
|
+
doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20249
20521
|
};
|
|
20250
20522
|
if (typeof providedJsComp === 'string') {
|
|
20251
20523
|
compName = providedJsComp;
|
|
@@ -20271,7 +20543,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20271
20543
|
};
|
|
20272
20544
|
if (selectorRes) {
|
|
20273
20545
|
if (selectorRes.frameworkComponent != null) {
|
|
20274
|
-
|
|
20546
|
+
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.";
|
|
20547
|
+
doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20275
20548
|
assignComp(selectorRes.frameworkComponent, undefined);
|
|
20276
20549
|
}
|
|
20277
20550
|
else {
|
|
@@ -20776,13 +21049,16 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20776
21049
|
modelKeys_1.forEach(function (colId) {
|
|
20777
21050
|
var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
|
|
20778
21051
|
if (!column) {
|
|
21052
|
+
console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
|
|
20779
21053
|
return;
|
|
20780
21054
|
}
|
|
20781
21055
|
if (!column.isFilterAllowed()) {
|
|
21056
|
+
console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
|
|
20782
21057
|
return;
|
|
20783
21058
|
}
|
|
20784
21059
|
var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
|
|
20785
21060
|
if (!filterWrapper) {
|
|
21061
|
+
console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
|
|
20786
21062
|
return;
|
|
20787
21063
|
}
|
|
20788
21064
|
allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
|
|
@@ -20812,6 +21088,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20812
21088
|
return new AgPromise(function (resolve) {
|
|
20813
21089
|
filterPromise.then(function (filter) {
|
|
20814
21090
|
if (typeof filter.setModel !== 'function') {
|
|
21091
|
+
console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
|
|
20815
21092
|
resolve();
|
|
20816
21093
|
}
|
|
20817
21094
|
(filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
|
|
@@ -20828,6 +21105,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20828
21105
|
return null;
|
|
20829
21106
|
}
|
|
20830
21107
|
if (typeof filter.getModel !== 'function') {
|
|
21108
|
+
console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
|
|
20831
21109
|
return;
|
|
20832
21110
|
}
|
|
20833
21111
|
var model = filter.getModel();
|
|
@@ -20861,6 +21139,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20861
21139
|
return false;
|
|
20862
21140
|
} // this never happens, including to avoid compile error
|
|
20863
21141
|
if (!filter.isFilterActive) {
|
|
21142
|
+
console.warn('AG Grid: Filter is missing isFilterActive() method');
|
|
20864
21143
|
return false;
|
|
20865
21144
|
}
|
|
20866
21145
|
return filter.isFilterActive();
|
|
@@ -20934,12 +21213,14 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20934
21213
|
return null;
|
|
20935
21214
|
}
|
|
20936
21215
|
if (!this.gridOptionsWrapper.isRowModelDefault()) {
|
|
21216
|
+
console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
|
|
20937
21217
|
return null;
|
|
20938
21218
|
}
|
|
20939
21219
|
return newFilter.toUpperCase();
|
|
20940
21220
|
};
|
|
20941
21221
|
FilterManager.prototype.setQuickFilter = function (newFilter) {
|
|
20942
21222
|
if (newFilter != null && typeof newFilter !== 'string') {
|
|
21223
|
+
console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
|
|
20943
21224
|
return;
|
|
20944
21225
|
}
|
|
20945
21226
|
var parsedFilter = this.parseQuickFilter(newFilter);
|
|
@@ -21199,7 +21480,9 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21199
21480
|
filterWrapper.guiPromise = new AgPromise(function (resolve) {
|
|
21200
21481
|
filterWrapper.filterPromise.then(function (filter) {
|
|
21201
21482
|
var guiFromFilter = filter.getGui();
|
|
21202
|
-
if (!exists(guiFromFilter))
|
|
21483
|
+
if (!exists(guiFromFilter)) {
|
|
21484
|
+
console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
|
|
21485
|
+
}
|
|
21203
21486
|
// for backwards compatibility with Angular 1 - we
|
|
21204
21487
|
// used to allow providing back HTML from getGui().
|
|
21205
21488
|
// once we move away from supporting Angular 1
|
|
@@ -21791,6 +22074,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
21791
22074
|
}
|
|
21792
22075
|
var rowCount = this.paginationProxy.getRowCount();
|
|
21793
22076
|
if (typeof index !== 'number' || index < 0 || index >= rowCount) {
|
|
22077
|
+
console.warn('invalid row index for ensureIndexVisible: ' + index);
|
|
21794
22078
|
return;
|
|
21795
22079
|
}
|
|
21796
22080
|
var isPaging = this.gridOptionsWrapper.isPagination();
|
|
@@ -22285,10 +22569,11 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22285
22569
|
RowDragFeature.prototype.addRowDropZone = function (params) {
|
|
22286
22570
|
var _this = this;
|
|
22287
22571
|
if (!params.getContainer()) {
|
|
22288
|
-
doOnce(function () { return (
|
|
22572
|
+
doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
|
|
22289
22573
|
return;
|
|
22290
22574
|
}
|
|
22291
22575
|
if (this.dragAndDropService.findExternalZone(params)) {
|
|
22576
|
+
console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
|
|
22292
22577
|
return;
|
|
22293
22578
|
}
|
|
22294
22579
|
var processedParams = {
|
|
@@ -22815,7 +23100,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
22815
23100
|
_this.sizeColumnsToFit(params, -1);
|
|
22816
23101
|
}, 500);
|
|
22817
23102
|
}
|
|
22818
|
-
else
|
|
23103
|
+
else {
|
|
23104
|
+
console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
|
|
23105
|
+
'zero width, maybe the grid is not visible yet on the screen?');
|
|
23106
|
+
}
|
|
22819
23107
|
};
|
|
22820
23108
|
// + rangeService
|
|
22821
23109
|
GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
|
|
@@ -24476,6 +24764,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24476
24764
|
CellCtrl.prototype.createCellRendererParams = function () {
|
|
24477
24765
|
var _this = this;
|
|
24478
24766
|
var addRowCompListener = function (eventType, listener) {
|
|
24767
|
+
console.warn('AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided.');
|
|
24479
24768
|
_this.rowCtrl.addEventListener(eventType, listener);
|
|
24480
24769
|
};
|
|
24481
24770
|
var res = {
|
|
@@ -25004,11 +25293,11 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25004
25293
|
if (rowDragManaged) {
|
|
25005
25294
|
// row dragging only available in default row model
|
|
25006
25295
|
if (!clientSideRowModelActive) {
|
|
25007
|
-
doOnce(function () { return (
|
|
25296
|
+
doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
|
|
25008
25297
|
return;
|
|
25009
25298
|
}
|
|
25010
25299
|
if (pagination) {
|
|
25011
|
-
doOnce(function () { return (
|
|
25300
|
+
doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
|
|
25012
25301
|
return;
|
|
25013
25302
|
}
|
|
25014
25303
|
}
|
|
@@ -25225,6 +25514,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25225
25514
|
var gow = this.beans.gridOptionsWrapper;
|
|
25226
25515
|
if (gow.isEnableRangeSelection()) {
|
|
25227
25516
|
doOnce(function () {
|
|
25517
|
+
console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
|
|
25228
25518
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25229
25519
|
return;
|
|
25230
25520
|
}
|
|
@@ -25237,7 +25527,12 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25237
25527
|
var params = this.createFullWidthParams(gui.element, pinned);
|
|
25238
25528
|
var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
|
|
25239
25529
|
if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
|
|
25240
|
-
if (ModuleRegistry.isPackageBased())
|
|
25530
|
+
if (ModuleRegistry.isPackageBased()) {
|
|
25531
|
+
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
|
|
25532
|
+
}
|
|
25533
|
+
else {
|
|
25534
|
+
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
|
|
25535
|
+
}
|
|
25241
25536
|
return;
|
|
25242
25537
|
}
|
|
25243
25538
|
var compDetails;
|
|
@@ -25988,6 +26283,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25988
26283
|
// part 1 - rowStyle
|
|
25989
26284
|
var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
|
|
25990
26285
|
if (rowStyle && typeof rowStyle === 'function') {
|
|
26286
|
+
console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
|
|
25991
26287
|
return;
|
|
25992
26288
|
}
|
|
25993
26289
|
// part 1 - rowStyleFunc
|
|
@@ -26102,12 +26398,14 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26102
26398
|
RowCtrl.prototype.addEventListener = function (eventType, listener) {
|
|
26103
26399
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26104
26400
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26401
|
+
console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26105
26402
|
}
|
|
26106
26403
|
_super.prototype.addEventListener.call(this, eventType, listener);
|
|
26107
26404
|
};
|
|
26108
26405
|
RowCtrl.prototype.removeEventListener = function (eventType, listener) {
|
|
26109
26406
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26110
26407
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26408
|
+
console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26111
26409
|
}
|
|
26112
26410
|
_super.prototype.removeEventListener.call(this, eventType, listener);
|
|
26113
26411
|
};
|
|
@@ -28267,7 +28565,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28267
28565
|
var userCell = userFunc(params);
|
|
28268
28566
|
if (exists(userCell)) {
|
|
28269
28567
|
if (userCell.floating) {
|
|
28270
|
-
doOnce(function () { }, 'no floating in userCell');
|
|
28568
|
+
doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
|
|
28271
28569
|
userCell.rowPinned = userCell.floating;
|
|
28272
28570
|
}
|
|
28273
28571
|
nextPosition = {
|
|
@@ -28400,7 +28698,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28400
28698
|
var userCell = userFunc(params);
|
|
28401
28699
|
if (exists(userCell)) {
|
|
28402
28700
|
if (userCell.floating) {
|
|
28403
|
-
doOnce(function () { }, 'no floating in userCell');
|
|
28701
|
+
doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
|
|
28404
28702
|
userCell.rowPinned = userCell.floating;
|
|
28405
28703
|
}
|
|
28406
28704
|
nextCell = {
|
|
@@ -28955,6 +29253,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
28955
29253
|
return;
|
|
28956
29254
|
}
|
|
28957
29255
|
if (!cellEditor.getGui) {
|
|
29256
|
+
console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
|
|
28958
29257
|
this.beans.context.destroyBean(cellEditor);
|
|
28959
29258
|
return;
|
|
28960
29259
|
}
|
|
@@ -28992,7 +29291,10 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
28992
29291
|
};
|
|
28993
29292
|
CellComp.prototype.addPopupCellEditor = function (params, position) {
|
|
28994
29293
|
var _this = this;
|
|
28995
|
-
if (this.beans.gridOptionsWrapper.isFullRowEdit())
|
|
29294
|
+
if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
|
|
29295
|
+
console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
|
|
29296
|
+
'- either turn off fullRowEdit, or stop using popup editors.');
|
|
29297
|
+
}
|
|
28996
29298
|
var cellEditor = this.cellEditor;
|
|
28997
29299
|
// if a popup, then we wrap in a popup editor and return the popup
|
|
28998
29300
|
this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
|
|
@@ -29176,6 +29478,9 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29176
29478
|
};
|
|
29177
29479
|
RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
|
|
29178
29480
|
var _this = this;
|
|
29481
|
+
if (this.fullWidthCellRenderer) {
|
|
29482
|
+
console.error('AG Grid - should not be setting fullWidthRowComponent twice');
|
|
29483
|
+
}
|
|
29179
29484
|
this.fullWidthCellRenderer = fullWidthRowComponent;
|
|
29180
29485
|
this.addDestroyFunc(function () {
|
|
29181
29486
|
_this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
|
|
@@ -29600,6 +29905,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29600
29905
|
switch (hDirection) {
|
|
29601
29906
|
case HorizontalDirection.Left: return HorizontalDirection.Right;
|
|
29602
29907
|
case HorizontalDirection.Right: return HorizontalDirection.Left;
|
|
29908
|
+
default: console.error("AG Grid: Unknown direction " + hDirection);
|
|
29603
29909
|
}
|
|
29604
29910
|
}
|
|
29605
29911
|
else {
|
|
@@ -30640,6 +30946,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30640
30946
|
}
|
|
30641
30947
|
var exportMode = this.getExcelExportMode(params);
|
|
30642
30948
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30949
|
+
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30643
30950
|
return;
|
|
30644
30951
|
}
|
|
30645
30952
|
return this.excelCreator.getDataAsExcel(params);
|
|
@@ -30651,6 +30958,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30651
30958
|
}
|
|
30652
30959
|
var exportMode = this.getExcelExportMode(params);
|
|
30653
30960
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30961
|
+
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30654
30962
|
return;
|
|
30655
30963
|
}
|
|
30656
30964
|
this.excelCreator.exportDataAsExcel(params);
|
|
@@ -30678,6 +30986,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30678
30986
|
};
|
|
30679
30987
|
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30680
30988
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30989
|
+
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30681
30990
|
this.setServerSideDatasource(datasource);
|
|
30682
30991
|
};
|
|
30683
30992
|
/**
|
|
@@ -30706,6 +31015,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30706
31015
|
// should really have an IEnterpriseRowModel interface, so we are not casting to any
|
|
30707
31016
|
this.serverSideRowModel.setDatasource(datasource);
|
|
30708
31017
|
}
|
|
31018
|
+
else {
|
|
31019
|
+
console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31020
|
+
}
|
|
30709
31021
|
};
|
|
30710
31022
|
/**
|
|
30711
31023
|
* Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
|
|
@@ -30714,6 +31026,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30714
31026
|
* */
|
|
30715
31027
|
GridApi.prototype.setCacheBlockSize = function (blockSize) {
|
|
30716
31028
|
if (!this.serverSideRowModel) {
|
|
31029
|
+
console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
30717
31030
|
return;
|
|
30718
31031
|
}
|
|
30719
31032
|
this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
|
|
@@ -30724,6 +31037,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30724
31037
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
30725
31038
|
this.rowModel.setDatasource(datasource);
|
|
30726
31039
|
}
|
|
31040
|
+
else {
|
|
31041
|
+
console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
|
|
31042
|
+
}
|
|
30727
31043
|
};
|
|
30728
31044
|
/** Set new datasource for Viewport Row Model. */
|
|
30729
31045
|
GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
|
|
@@ -30733,12 +31049,16 @@ var GridApi = /** @class */ (function () {
|
|
|
30733
31049
|
// the enterprise implement it, rather than casting to 'any' here
|
|
30734
31050
|
this.rowModel.setViewportDatasource(viewportDatasource);
|
|
30735
31051
|
}
|
|
31052
|
+
else {
|
|
31053
|
+
console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
|
|
31054
|
+
}
|
|
30736
31055
|
};
|
|
30737
31056
|
/** Set the row data. */
|
|
30738
31057
|
GridApi.prototype.setRowData = function (rowData) {
|
|
30739
31058
|
// immutable service is part of the CSRM module, if missing, no CSRM
|
|
30740
31059
|
var missingImmutableService = this.immutableService == null;
|
|
30741
31060
|
if (missingImmutableService) {
|
|
31061
|
+
console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
|
|
30742
31062
|
return;
|
|
30743
31063
|
}
|
|
30744
31064
|
// if no keys provided provided for rows, then we can tread the operation as Immutable
|
|
@@ -30752,26 +31072,32 @@ var GridApi = /** @class */ (function () {
|
|
|
30752
31072
|
};
|
|
30753
31073
|
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
30754
31074
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
31075
|
+
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
30755
31076
|
this.setPinnedTopRowData(rows);
|
|
30756
31077
|
};
|
|
30757
31078
|
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
30758
31079
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
31080
|
+
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
30759
31081
|
this.setPinnedBottomRowData(rows);
|
|
30760
31082
|
};
|
|
30761
31083
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
30762
31084
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
31085
|
+
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
30763
31086
|
return this.getPinnedTopRowCount();
|
|
30764
31087
|
};
|
|
30765
31088
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
30766
31089
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
31090
|
+
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
30767
31091
|
return this.getPinnedBottomRowCount();
|
|
30768
31092
|
};
|
|
30769
31093
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
30770
31094
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
31095
|
+
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
30771
31096
|
return this.getPinnedTopRow(index);
|
|
30772
31097
|
};
|
|
30773
31098
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
30774
31099
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
31100
|
+
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
30775
31101
|
return this.getPinnedBottomRow(index);
|
|
30776
31102
|
};
|
|
30777
31103
|
/** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
|
|
@@ -30852,6 +31178,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30852
31178
|
if (params === void 0) { params = {}; }
|
|
30853
31179
|
if (Array.isArray(params)) {
|
|
30854
31180
|
// the old version of refreshCells() took an array of rowNodes for the first argument
|
|
31181
|
+
console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
|
|
30855
31182
|
return;
|
|
30856
31183
|
}
|
|
30857
31184
|
this.rowRenderer.refreshCells(params);
|
|
@@ -30905,8 +31232,12 @@ var GridApi = /** @class */ (function () {
|
|
|
30905
31232
|
* It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
|
|
30906
31233
|
*/
|
|
30907
31234
|
GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
|
|
30908
|
-
if (missing(this.clientSideRowModel))
|
|
30909
|
-
|
|
31235
|
+
if (missing(this.clientSideRowModel)) {
|
|
31236
|
+
console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
|
|
31237
|
+
}
|
|
31238
|
+
if (exists(deprecated_refreshFromIndex)) {
|
|
31239
|
+
console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
|
|
31240
|
+
}
|
|
30910
31241
|
// we don't really want the user calling this if only one rowNode was expanded, instead they should be
|
|
30911
31242
|
// calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
|
|
30912
31243
|
// grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
|
|
@@ -30915,6 +31246,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30915
31246
|
};
|
|
30916
31247
|
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
30917
31248
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
31249
|
+
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
30918
31250
|
this.refreshClientSideRowModel(step);
|
|
30919
31251
|
};
|
|
30920
31252
|
/**
|
|
@@ -30922,7 +31254,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30922
31254
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
30923
31255
|
*/
|
|
30924
31256
|
GridApi.prototype.refreshClientSideRowModel = function (step) {
|
|
30925
|
-
if (missing(this.clientSideRowModel))
|
|
31257
|
+
if (missing(this.clientSideRowModel)) {
|
|
31258
|
+
console.warn('cannot call refreshClientSideRowModel unless using normal row model');
|
|
31259
|
+
}
|
|
30926
31260
|
var paramsStep = ClientSideRowModelSteps.EVERYTHING;
|
|
30927
31261
|
var stepsMapped = {
|
|
30928
31262
|
everything: ClientSideRowModelSteps.EVERYTHING,
|
|
@@ -30937,6 +31271,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30937
31271
|
paramsStep = stepsMapped[step];
|
|
30938
31272
|
}
|
|
30939
31273
|
if (missing(paramsStep)) {
|
|
31274
|
+
console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
|
|
30940
31275
|
return;
|
|
30941
31276
|
}
|
|
30942
31277
|
var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
|
|
@@ -30982,7 +31317,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30982
31317
|
else if (this.serverSideRowModel) {
|
|
30983
31318
|
this.serverSideRowModel.expandAll(true);
|
|
30984
31319
|
}
|
|
30985
|
-
else
|
|
31320
|
+
else {
|
|
31321
|
+
console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
|
|
31322
|
+
}
|
|
30986
31323
|
};
|
|
30987
31324
|
/** Collapse all groups. */
|
|
30988
31325
|
GridApi.prototype.collapseAll = function () {
|
|
@@ -30992,17 +31329,23 @@ var GridApi = /** @class */ (function () {
|
|
|
30992
31329
|
else if (this.serverSideRowModel) {
|
|
30993
31330
|
this.serverSideRowModel.expandAll(false);
|
|
30994
31331
|
}
|
|
30995
|
-
else
|
|
31332
|
+
else {
|
|
31333
|
+
console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
|
|
31334
|
+
}
|
|
30996
31335
|
};
|
|
30997
31336
|
/** Gets the tool panel instance corresponding to the supplied `id`. */
|
|
30998
31337
|
GridApi.prototype.getToolPanelInstance = function (id) {
|
|
30999
31338
|
if (!this.sideBarComp) {
|
|
31339
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31000
31340
|
return;
|
|
31001
31341
|
}
|
|
31002
31342
|
var comp = this.sideBarComp.getToolPanelInstance(id);
|
|
31003
31343
|
return unwrapUserComp(comp);
|
|
31004
31344
|
};
|
|
31005
31345
|
GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
|
|
31346
|
+
if (typeof eventName !== 'string') {
|
|
31347
|
+
console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
|
|
31348
|
+
}
|
|
31006
31349
|
this.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31007
31350
|
};
|
|
31008
31351
|
/**
|
|
@@ -31013,6 +31356,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31013
31356
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31014
31357
|
*/
|
|
31015
31358
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
31359
|
+
if (eventName === 'virtualRowSelected') {
|
|
31360
|
+
console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
|
|
31361
|
+
}
|
|
31016
31362
|
this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31017
31363
|
};
|
|
31018
31364
|
/** Pass a quick filter text into the grid for filtering. */
|
|
@@ -31021,19 +31367,38 @@ var GridApi = /** @class */ (function () {
|
|
|
31021
31367
|
};
|
|
31022
31368
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31023
31369
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31370
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31371
|
+
if (suppressEvents) {
|
|
31372
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31373
|
+
}
|
|
31024
31374
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31025
31375
|
};
|
|
31026
31376
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31027
31377
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31378
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31379
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31380
|
+
if (suppressEvents) {
|
|
31381
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31382
|
+
}
|
|
31028
31383
|
this.selectionService.deselectIndex(index);
|
|
31029
31384
|
};
|
|
31030
31385
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31031
31386
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31032
31387
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31388
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31389
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31390
|
+
if (suppressEvents) {
|
|
31391
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31392
|
+
}
|
|
31033
31393
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31034
31394
|
};
|
|
31035
31395
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31036
31396
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31397
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31398
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31399
|
+
if (suppressEvents) {
|
|
31400
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31401
|
+
}
|
|
31037
31402
|
node.setSelectedParams({ newValue: false });
|
|
31038
31403
|
};
|
|
31039
31404
|
/** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
|
|
@@ -31054,7 +31419,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31054
31419
|
};
|
|
31055
31420
|
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31056
31421
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31057
|
-
if (missing(this.clientSideRowModel))
|
|
31422
|
+
if (missing(this.clientSideRowModel)) {
|
|
31423
|
+
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
31424
|
+
}
|
|
31425
|
+
console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
|
|
31058
31426
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
|
|
31059
31427
|
};
|
|
31060
31428
|
/**
|
|
@@ -31076,10 +31444,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31076
31444
|
this.overlayWrapperComp.hideOverlay();
|
|
31077
31445
|
};
|
|
31078
31446
|
GridApi.prototype.isNodeSelected = function (node) {
|
|
31447
|
+
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31079
31448
|
return node.isSelected();
|
|
31080
31449
|
};
|
|
31081
31450
|
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31082
31451
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31452
|
+
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31083
31453
|
return null;
|
|
31084
31454
|
};
|
|
31085
31455
|
/**
|
|
@@ -31108,6 +31478,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31108
31478
|
};
|
|
31109
31479
|
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31110
31480
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31481
|
+
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31111
31482
|
};
|
|
31112
31483
|
/**
|
|
31113
31484
|
* Ensures the column is visible by scrolling the table if needed.
|
|
@@ -31149,7 +31520,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31149
31520
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
31150
31521
|
*/
|
|
31151
31522
|
GridApi.prototype.forEachLeafNode = function (callback) {
|
|
31152
|
-
if (missing(this.clientSideRowModel))
|
|
31523
|
+
if (missing(this.clientSideRowModel)) {
|
|
31524
|
+
console.warn('cannot call forEachNode unless using normal row model');
|
|
31525
|
+
}
|
|
31153
31526
|
this.clientSideRowModel.forEachLeafNode(callback);
|
|
31154
31527
|
};
|
|
31155
31528
|
/**
|
|
@@ -31163,12 +31536,16 @@ var GridApi = /** @class */ (function () {
|
|
|
31163
31536
|
};
|
|
31164
31537
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
31165
31538
|
GridApi.prototype.forEachNodeAfterFilter = function (callback) {
|
|
31166
|
-
if (missing(this.clientSideRowModel))
|
|
31539
|
+
if (missing(this.clientSideRowModel)) {
|
|
31540
|
+
console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
|
|
31541
|
+
}
|
|
31167
31542
|
this.clientSideRowModel.forEachNodeAfterFilter(callback);
|
|
31168
31543
|
};
|
|
31169
31544
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
31170
31545
|
GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
|
|
31171
|
-
if (missing(this.clientSideRowModel))
|
|
31546
|
+
if (missing(this.clientSideRowModel)) {
|
|
31547
|
+
console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
|
|
31548
|
+
}
|
|
31172
31549
|
this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
|
|
31173
31550
|
};
|
|
31174
31551
|
/**
|
|
@@ -31406,10 +31783,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31406
31783
|
};
|
|
31407
31784
|
/** @deprecated use `setProcessPivotResultColDef` instead */
|
|
31408
31785
|
GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
|
|
31786
|
+
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
|
|
31409
31787
|
this.setProcessPivotResultColDef(processSecondaryColDefFunc);
|
|
31410
31788
|
};
|
|
31411
31789
|
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
|
|
31412
31790
|
GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
|
|
31791
|
+
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
|
|
31413
31792
|
this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
|
|
31414
31793
|
};
|
|
31415
31794
|
GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
|
|
@@ -31465,6 +31844,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31465
31844
|
/** Show/hide the entire side bar, including any visible panel and the tab buttons. */
|
|
31466
31845
|
GridApi.prototype.setSideBarVisible = function (show) {
|
|
31467
31846
|
if (!this.sideBarComp) {
|
|
31847
|
+
if (show) {
|
|
31848
|
+
console.warn('AG Grid: sideBar is not loaded');
|
|
31849
|
+
}
|
|
31468
31850
|
return;
|
|
31469
31851
|
}
|
|
31470
31852
|
this.sideBarComp.setDisplayed(show);
|
|
@@ -31472,6 +31854,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31472
31854
|
/** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
|
|
31473
31855
|
GridApi.prototype.setSideBarPosition = function (position) {
|
|
31474
31856
|
if (!this.sideBarComp) {
|
|
31857
|
+
console.warn('AG Grid: sideBar is not loaded');
|
|
31475
31858
|
return;
|
|
31476
31859
|
}
|
|
31477
31860
|
this.sideBarComp.setSideBarPosition(position);
|
|
@@ -31479,6 +31862,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31479
31862
|
/** Opens a particular tool panel. Provide the ID of the tool panel to open. */
|
|
31480
31863
|
GridApi.prototype.openToolPanel = function (key) {
|
|
31481
31864
|
if (!this.sideBarComp) {
|
|
31865
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31482
31866
|
return;
|
|
31483
31867
|
}
|
|
31484
31868
|
this.sideBarComp.openToolPanel(key);
|
|
@@ -31486,6 +31870,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31486
31870
|
/** Closes the currently open tool panel (if any). */
|
|
31487
31871
|
GridApi.prototype.closeToolPanel = function () {
|
|
31488
31872
|
if (!this.sideBarComp) {
|
|
31873
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31489
31874
|
return;
|
|
31490
31875
|
}
|
|
31491
31876
|
this.sideBarComp.close();
|
|
@@ -31511,12 +31896,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31511
31896
|
};
|
|
31512
31897
|
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31513
31898
|
GridApi.prototype.doLayout = function () {
|
|
31514
|
-
|
|
31899
|
+
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";
|
|
31900
|
+
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
31515
31901
|
};
|
|
31516
31902
|
/** Tells the grid to recalculate the row heights. */
|
|
31517
31903
|
GridApi.prototype.resetRowHeights = function () {
|
|
31518
31904
|
if (exists(this.clientSideRowModel)) {
|
|
31519
31905
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
31906
|
+
console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
|
|
31520
31907
|
return;
|
|
31521
31908
|
}
|
|
31522
31909
|
this.clientSideRowModel.resetRowHeights();
|
|
@@ -31603,6 +31990,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31603
31990
|
setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
|
|
31604
31991
|
};
|
|
31605
31992
|
GridApi.prototype.warnIfDestroyed = function (methodName) {
|
|
31993
|
+
if (this.destroyCalled) {
|
|
31994
|
+
console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
|
|
31995
|
+
}
|
|
31606
31996
|
return this.destroyCalled;
|
|
31607
31997
|
};
|
|
31608
31998
|
/** Reset the quick filter cache text on every rowNode. */
|
|
@@ -31614,6 +32004,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31614
32004
|
};
|
|
31615
32005
|
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
31616
32006
|
GridApi.prototype.getRangeSelections = function () {
|
|
32007
|
+
console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation.");
|
|
31617
32008
|
return null;
|
|
31618
32009
|
};
|
|
31619
32010
|
/** Returns the list of selected cell ranges. */
|
|
@@ -31621,6 +32012,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31621
32012
|
if (this.rangeService) {
|
|
31622
32013
|
return this.rangeService.getCellRanges();
|
|
31623
32014
|
}
|
|
32015
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
31624
32016
|
return null;
|
|
31625
32017
|
};
|
|
31626
32018
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
@@ -31628,13 +32020,20 @@ var GridApi = /** @class */ (function () {
|
|
|
31628
32020
|
};
|
|
31629
32021
|
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
31630
32022
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
32023
|
+
console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');
|
|
31631
32024
|
};
|
|
31632
32025
|
/** Adds the provided cell range to the selected ranges. */
|
|
31633
32026
|
GridApi.prototype.addCellRange = function (params) {
|
|
32027
|
+
if (!this.rangeService) {
|
|
32028
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32029
|
+
}
|
|
31634
32030
|
this.rangeService.addCellRange(params);
|
|
31635
32031
|
};
|
|
31636
32032
|
/** Clears the selected ranges. */
|
|
31637
32033
|
GridApi.prototype.clearRangeSelection = function () {
|
|
32034
|
+
if (!this.rangeService) {
|
|
32035
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32036
|
+
}
|
|
31638
32037
|
this.rangeService.removeAllCellRanges();
|
|
31639
32038
|
};
|
|
31640
32039
|
/** Reverts the last cell edit. */
|
|
@@ -31721,18 +32120,30 @@ var GridApi = /** @class */ (function () {
|
|
|
31721
32120
|
};
|
|
31722
32121
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
31723
32122
|
GridApi.prototype.copyToClipboard = function (params) {
|
|
32123
|
+
if (!this.clipboardService) {
|
|
32124
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32125
|
+
}
|
|
31724
32126
|
this.clipboardService.copyToClipboard(params);
|
|
31725
32127
|
};
|
|
31726
32128
|
/** Copies the selected rows to the clipboard. */
|
|
31727
32129
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
32130
|
+
if (!this.clipboardService) {
|
|
32131
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32132
|
+
}
|
|
31728
32133
|
this.clipboardService.copySelectedRowsToClipboard(params);
|
|
31729
32134
|
};
|
|
31730
32135
|
/** Copies the selected ranges to the clipboard. */
|
|
31731
32136
|
GridApi.prototype.copySelectedRangeToClipboard = function (params) {
|
|
32137
|
+
if (!this.clipboardService) {
|
|
32138
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32139
|
+
}
|
|
31732
32140
|
this.clipboardService.copySelectedRangeToClipboard(params);
|
|
31733
32141
|
};
|
|
31734
32142
|
/** Copies the selected range down, similar to `Ctrl + D` in Excel. */
|
|
31735
32143
|
GridApi.prototype.copySelectedRangeDown = function () {
|
|
32144
|
+
if (!this.clipboardService) {
|
|
32145
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32146
|
+
}
|
|
31736
32147
|
this.clipboardService.copyRangeDown();
|
|
31737
32148
|
};
|
|
31738
32149
|
/** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
|
|
@@ -31749,6 +32160,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31749
32160
|
column = this.columnModel.getPrimaryColumn(colKey);
|
|
31750
32161
|
}
|
|
31751
32162
|
if (!column) {
|
|
32163
|
+
console.error("AG Grid: column '" + colKey + "' not found");
|
|
31752
32164
|
return;
|
|
31753
32165
|
}
|
|
31754
32166
|
this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
|
|
@@ -31801,6 +32213,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31801
32213
|
GridApi.prototype.startEditingCell = function (params) {
|
|
31802
32214
|
var column = this.columnModel.getGridColumn(params.colKey);
|
|
31803
32215
|
if (!column) {
|
|
32216
|
+
console.warn("AG Grid: no column found for " + params.colKey);
|
|
31804
32217
|
return;
|
|
31805
32218
|
}
|
|
31806
32219
|
var cellPosition = {
|
|
@@ -31839,12 +32252,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31839
32252
|
/** Apply transactions to the server side row model. */
|
|
31840
32253
|
GridApi.prototype.applyServerSideTransaction = function (transaction) {
|
|
31841
32254
|
if (!this.serverSideTransactionManager) {
|
|
32255
|
+
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
31842
32256
|
return;
|
|
31843
32257
|
}
|
|
31844
32258
|
return this.serverSideTransactionManager.applyTransaction(transaction);
|
|
31845
32259
|
};
|
|
31846
32260
|
GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
|
|
31847
32261
|
if (!this.serverSideTransactionManager) {
|
|
32262
|
+
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
31848
32263
|
return;
|
|
31849
32264
|
}
|
|
31850
32265
|
return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
|
|
@@ -31852,12 +32267,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31852
32267
|
/** Gets all failed server side loads to retry. */
|
|
31853
32268
|
GridApi.prototype.retryServerSideLoads = function () {
|
|
31854
32269
|
if (!this.serverSideRowModel) {
|
|
32270
|
+
console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
|
|
31855
32271
|
return;
|
|
31856
32272
|
}
|
|
31857
32273
|
this.serverSideRowModel.retryLoads();
|
|
31858
32274
|
};
|
|
31859
32275
|
GridApi.prototype.flushServerSideAsyncTransactions = function () {
|
|
31860
32276
|
if (!this.serverSideTransactionManager) {
|
|
32277
|
+
console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
|
|
31861
32278
|
return;
|
|
31862
32279
|
}
|
|
31863
32280
|
return this.serverSideTransactionManager.flushAsyncTransactions();
|
|
@@ -31865,6 +32282,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31865
32282
|
/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
|
|
31866
32283
|
GridApi.prototype.applyTransaction = function (rowDataTransaction) {
|
|
31867
32284
|
if (!this.clientSideRowModel) {
|
|
32285
|
+
console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
|
|
31868
32286
|
return;
|
|
31869
32287
|
}
|
|
31870
32288
|
var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
|
|
@@ -31882,12 +32300,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31882
32300
|
};
|
|
31883
32301
|
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
31884
32302
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
31885
|
-
|
|
32303
|
+
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.';
|
|
32304
|
+
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
31886
32305
|
return this.applyTransaction(rowDataTransaction);
|
|
31887
32306
|
};
|
|
31888
32307
|
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
|
|
31889
32308
|
GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
|
|
31890
32309
|
if (!this.clientSideRowModel) {
|
|
32310
|
+
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
31891
32311
|
return;
|
|
31892
32312
|
}
|
|
31893
32313
|
this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
|
|
@@ -31895,34 +32315,41 @@ var GridApi = /** @class */ (function () {
|
|
|
31895
32315
|
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
|
|
31896
32316
|
GridApi.prototype.flushAsyncTransactions = function () {
|
|
31897
32317
|
if (!this.clientSideRowModel) {
|
|
32318
|
+
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
31898
32319
|
return;
|
|
31899
32320
|
}
|
|
31900
32321
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
31901
32322
|
};
|
|
31902
32323
|
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
31903
32324
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
31904
|
-
|
|
32325
|
+
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.';
|
|
32326
|
+
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
31905
32327
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
31906
32328
|
};
|
|
31907
32329
|
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
31908
32330
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32331
|
+
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
31909
32332
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
31910
32333
|
};
|
|
31911
32334
|
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
31912
32335
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32336
|
+
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
31913
32337
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
31914
32338
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
31915
32339
|
};
|
|
31916
32340
|
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
31917
32341
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32342
|
+
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
31918
32343
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
31919
32344
|
};
|
|
31920
32345
|
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
31921
32346
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32347
|
+
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
31922
32348
|
this.refreshInfiniteCache();
|
|
31923
32349
|
};
|
|
31924
32350
|
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
31925
32351
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32352
|
+
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
31926
32353
|
this.refreshInfiniteCache();
|
|
31927
32354
|
};
|
|
31928
32355
|
/**
|
|
@@ -31934,13 +32361,18 @@ var GridApi = /** @class */ (function () {
|
|
|
31934
32361
|
if (this.infiniteRowModel) {
|
|
31935
32362
|
this.infiniteRowModel.refreshCache();
|
|
31936
32363
|
}
|
|
32364
|
+
else {
|
|
32365
|
+
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32366
|
+
}
|
|
31937
32367
|
};
|
|
31938
32368
|
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
31939
32369
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32370
|
+
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
31940
32371
|
this.purgeInfinitePageCache();
|
|
31941
32372
|
};
|
|
31942
32373
|
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
31943
32374
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32375
|
+
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
31944
32376
|
this.purgeInfiniteCache();
|
|
31945
32377
|
};
|
|
31946
32378
|
/**
|
|
@@ -31953,20 +32385,28 @@ var GridApi = /** @class */ (function () {
|
|
|
31953
32385
|
if (this.infiniteRowModel) {
|
|
31954
32386
|
this.infiniteRowModel.purgeCache();
|
|
31955
32387
|
}
|
|
32388
|
+
else {
|
|
32389
|
+
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32390
|
+
}
|
|
31956
32391
|
};
|
|
31957
32392
|
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
31958
32393
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32394
|
+
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
31959
32395
|
this.purgeServerSideCache(route);
|
|
31960
32396
|
};
|
|
31961
32397
|
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
31962
32398
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
31963
32399
|
if (route === void 0) { route = []; }
|
|
31964
32400
|
if (this.serverSideRowModel) {
|
|
32401
|
+
console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
|
|
31965
32402
|
this.refreshServerSide({
|
|
31966
32403
|
route: route,
|
|
31967
32404
|
purge: true
|
|
31968
32405
|
});
|
|
31969
32406
|
}
|
|
32407
|
+
else {
|
|
32408
|
+
console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
|
|
32409
|
+
}
|
|
31970
32410
|
};
|
|
31971
32411
|
/**
|
|
31972
32412
|
* Refresh a server-side level.
|
|
@@ -31975,29 +32415,34 @@ var GridApi = /** @class */ (function () {
|
|
|
31975
32415
|
*/
|
|
31976
32416
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
31977
32417
|
if (!this.serverSideRowModel) {
|
|
32418
|
+
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
31978
32419
|
return;
|
|
31979
32420
|
}
|
|
31980
32421
|
this.serverSideRowModel.refreshStore(params);
|
|
31981
32422
|
};
|
|
31982
32423
|
/** @deprecated use `refreshServerSide` instead */
|
|
31983
32424
|
GridApi.prototype.refreshServerSideStore = function (params) {
|
|
31984
|
-
|
|
32425
|
+
var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
|
|
32426
|
+
doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
|
|
31985
32427
|
return this.refreshServerSide(params);
|
|
31986
32428
|
};
|
|
31987
32429
|
/** @deprecated use `getServerSideGroupLevelState` instead */
|
|
31988
32430
|
GridApi.prototype.getServerSideStoreState = function () {
|
|
31989
|
-
|
|
32431
|
+
var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
|
|
32432
|
+
doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
|
|
31990
32433
|
return this.getServerSideGroupLevelState();
|
|
31991
32434
|
};
|
|
31992
32435
|
/** Returns info on all server side group levels. */
|
|
31993
32436
|
GridApi.prototype.getServerSideGroupLevelState = function () {
|
|
31994
32437
|
if (!this.serverSideRowModel) {
|
|
32438
|
+
console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
|
|
31995
32439
|
return [];
|
|
31996
32440
|
}
|
|
31997
32441
|
return this.serverSideRowModel.getStoreState();
|
|
31998
32442
|
};
|
|
31999
32443
|
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
32000
32444
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32445
|
+
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
32001
32446
|
return this.getInfiniteRowCount();
|
|
32002
32447
|
};
|
|
32003
32448
|
/** The row count defines how many rows the grid allows scrolling to. */
|
|
@@ -32005,9 +32450,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32005
32450
|
if (this.infiniteRowModel) {
|
|
32006
32451
|
return this.infiniteRowModel.getRowCount();
|
|
32007
32452
|
}
|
|
32453
|
+
else {
|
|
32454
|
+
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32455
|
+
}
|
|
32008
32456
|
};
|
|
32009
32457
|
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32010
32458
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32459
|
+
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32011
32460
|
return this.isLastRowIndexKnown();
|
|
32012
32461
|
};
|
|
32013
32462
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32015,13 +32464,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32015
32464
|
if (this.infiniteRowModel) {
|
|
32016
32465
|
return this.infiniteRowModel.isLastRowIndexKnown();
|
|
32017
32466
|
}
|
|
32467
|
+
else {
|
|
32468
|
+
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32469
|
+
}
|
|
32018
32470
|
};
|
|
32019
32471
|
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32020
32472
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32473
|
+
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32021
32474
|
this.setRowCount(rowCount, maxRowFound);
|
|
32022
32475
|
};
|
|
32023
32476
|
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32024
32477
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32478
|
+
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32025
32479
|
this.setRowCount(rowCount, maxRowFound);
|
|
32026
32480
|
};
|
|
32027
32481
|
/**
|
|
@@ -32035,13 +32489,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32035
32489
|
if (this.infiniteRowModel) {
|
|
32036
32490
|
this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
|
|
32037
32491
|
}
|
|
32492
|
+
else {
|
|
32493
|
+
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32494
|
+
}
|
|
32038
32495
|
};
|
|
32039
32496
|
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32040
32497
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32498
|
+
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32041
32499
|
return this.getCacheBlockState();
|
|
32042
32500
|
};
|
|
32043
32501
|
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32044
32502
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32503
|
+
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32045
32504
|
return this.getCacheBlockState();
|
|
32046
32505
|
};
|
|
32047
32506
|
/**
|
|
@@ -32052,9 +32511,11 @@ var GridApi = /** @class */ (function () {
|
|
|
32052
32511
|
};
|
|
32053
32512
|
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32054
32513
|
GridApi.prototype.checkGridSize = function () {
|
|
32514
|
+
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32055
32515
|
};
|
|
32056
32516
|
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32057
32517
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32518
|
+
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32058
32519
|
return this.getFirstDisplayedRow();
|
|
32059
32520
|
};
|
|
32060
32521
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -32063,6 +32524,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32063
32524
|
};
|
|
32064
32525
|
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32065
32526
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32527
|
+
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32066
32528
|
return this.getLastDisplayedRow();
|
|
32067
32529
|
};
|
|
32068
32530
|
/** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -33114,7 +33576,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33114
33576
|
};
|
|
33115
33577
|
};
|
|
33116
33578
|
SelectAllFeature.prototype.checkRightRowModelType = function () {
|
|
33117
|
-
this.rowModel.getType();
|
|
33579
|
+
var rowModelType = this.rowModel.getType();
|
|
33580
|
+
var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
33581
|
+
if (!rowModelMatches) {
|
|
33582
|
+
console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
|
|
33583
|
+
}
|
|
33118
33584
|
};
|
|
33119
33585
|
SelectAllFeature.prototype.onCbSelectAll = function () {
|
|
33120
33586
|
if (this.processingEventFromCheckbox) {
|
|
@@ -33146,12 +33612,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33146
33612
|
}
|
|
33147
33613
|
if (result) {
|
|
33148
33614
|
if (this.gridOptionsWrapper.isRowModelServerSide()) {
|
|
33615
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
|
|
33149
33616
|
return false;
|
|
33150
33617
|
}
|
|
33151
33618
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
33619
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
|
|
33152
33620
|
return false;
|
|
33153
33621
|
}
|
|
33154
33622
|
if (this.gridOptionsWrapper.isRowModelViewport()) {
|
|
33623
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
|
|
33155
33624
|
return false;
|
|
33156
33625
|
}
|
|
33157
33626
|
// otherwise the row model is compatible, so return true
|
|
@@ -35768,6 +36237,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
35768
36237
|
// frames. this stops bugs - where some code is asking for a frame to be executed
|
|
35769
36238
|
// when it should not.
|
|
35770
36239
|
AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
|
|
36240
|
+
if (this.useAnimationFrame === false) {
|
|
36241
|
+
console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
|
|
36242
|
+
}
|
|
35771
36243
|
};
|
|
35772
36244
|
AnimationFrameService.prototype.createTask = function (task, index, list) {
|
|
35773
36245
|
this.verifyAnimationFrameOn(list);
|
|
@@ -37004,10 +37476,10 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37004
37476
|
this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
|
|
37005
37477
|
if (this.gridOptionsWrapper.isGroupRowsSticky()) {
|
|
37006
37478
|
if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
37007
|
-
doOnce(function () { return (
|
|
37479
|
+
doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
|
|
37008
37480
|
}
|
|
37009
37481
|
else if (this.gridOptionsWrapper.isTreeData()) {
|
|
37010
|
-
doOnce(function () { return (
|
|
37482
|
+
doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
|
|
37011
37483
|
}
|
|
37012
37484
|
else {
|
|
37013
37485
|
this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
|
|
@@ -41151,7 +41623,9 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41151
41623
|
if (menuItemOrString === 'separator') {
|
|
41152
41624
|
_this.addSeparator();
|
|
41153
41625
|
}
|
|
41154
|
-
else if (typeof menuItemOrString === 'string')
|
|
41626
|
+
else if (typeof menuItemOrString === 'string') {
|
|
41627
|
+
console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
|
|
41628
|
+
}
|
|
41155
41629
|
else {
|
|
41156
41630
|
_this.addItem(menuItemOrString);
|
|
41157
41631
|
}
|
|
@@ -41516,7 +41990,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41516
41990
|
else if (typeof this.params.icon === 'string') {
|
|
41517
41991
|
icon.innerHTML = this.params.icon;
|
|
41518
41992
|
}
|
|
41519
|
-
else
|
|
41993
|
+
else {
|
|
41994
|
+
console.warn('AG Grid: menu item icon must be DOM node or string');
|
|
41995
|
+
}
|
|
41520
41996
|
}
|
|
41521
41997
|
this.getGui().appendChild(icon);
|
|
41522
41998
|
};
|
|
@@ -42466,6 +42942,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42466
42942
|
var eDocument = this.gridOptionsWrapper.getDocument();
|
|
42467
42943
|
var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
|
|
42468
42944
|
if (!eDocument) {
|
|
42945
|
+
console.warn('ag-grid: could not find the document, document is empty');
|
|
42469
42946
|
return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
|
|
42470
42947
|
}
|
|
42471
42948
|
var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
|
|
@@ -42878,6 +43355,7 @@ var VirtualList = /** @class */ (function (_super) {
|
|
|
42878
43355
|
VirtualList.prototype.ensureIndexVisible = function (index) {
|
|
42879
43356
|
var lastRow = this.model.getRowCount();
|
|
42880
43357
|
if (typeof index !== 'number' || index < 0 || index >= lastRow) {
|
|
43358
|
+
console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
|
|
42881
43359
|
return;
|
|
42882
43360
|
}
|
|
42883
43361
|
var rowTopPixel = index * this.rowHeight;
|
|
@@ -43181,6 +43659,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43181
43659
|
break;
|
|
43182
43660
|
default:
|
|
43183
43661
|
pointer = null;
|
|
43662
|
+
console.warn('AG Grid: unknown key for navigation ' + key);
|
|
43184
43663
|
break;
|
|
43185
43664
|
}
|
|
43186
43665
|
if (pointer) {
|
|
@@ -43575,6 +44054,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
43575
44054
|
var groupOpenedEvent = event;
|
|
43576
44055
|
_this.processGroupOpenedEvent(groupOpenedEvent);
|
|
43577
44056
|
break;
|
|
44057
|
+
case Events.EVENT_COLUMN_PIVOT_CHANGED:
|
|
44058
|
+
// we cannot support pivoting with aligned grids as the columns will be out of sync as the
|
|
44059
|
+
// grids will have columns created based on the row data of the grid.
|
|
44060
|
+
console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
|
|
44061
|
+
'You can only use one of these features at a time in a grid.');
|
|
44062
|
+
break;
|
|
43578
44063
|
}
|
|
43579
44064
|
});
|
|
43580
44065
|
};
|
|
@@ -43876,11 +44361,13 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
43876
44361
|
// where groups don't actually appear in the selection normally.
|
|
43877
44362
|
SelectionService.prototype.getBestCostNodeSelection = function () {
|
|
43878
44363
|
if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
44364
|
+
console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
|
|
43879
44365
|
return;
|
|
43880
44366
|
}
|
|
43881
44367
|
var clientSideRowModel = this.rowModel;
|
|
43882
44368
|
var topLevelNodes = clientSideRowModel.getTopLevelNodes();
|
|
43883
44369
|
if (topLevelNodes === null) {
|
|
44370
|
+
console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
|
|
43884
44371
|
return;
|
|
43885
44372
|
}
|
|
43886
44373
|
var result = [];
|
|
@@ -43922,6 +44409,7 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
43922
44409
|
var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
43923
44410
|
if (justFiltered) {
|
|
43924
44411
|
if (!rowModelClientSide) {
|
|
44412
|
+
console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
|
|
43925
44413
|
return;
|
|
43926
44414
|
}
|
|
43927
44415
|
var clientSideRowModel = this.rowModel;
|
|
@@ -44034,6 +44522,11 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44034
44522
|
}
|
|
44035
44523
|
/** Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`. To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead. */
|
|
44036
44524
|
ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
|
|
44525
|
+
// AG-3403 validate that gridWidth is provided because this method has the same name as
|
|
44526
|
+
// a method on the grid API that takes no arguments, and it's easy to confuse the two
|
|
44527
|
+
if (typeof gridWidth === "undefined") {
|
|
44528
|
+
console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
|
|
44529
|
+
}
|
|
44037
44530
|
this.columnModel.sizeColumnsToFit(gridWidth, 'api');
|
|
44038
44531
|
};
|
|
44039
44532
|
/** Call this if you want to open or close a column group. */
|
|
@@ -44102,6 +44595,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44102
44595
|
ColumnApi.prototype.moveColumn = function (key, toIndex) {
|
|
44103
44596
|
if (typeof key === 'number') {
|
|
44104
44597
|
// moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
|
|
44598
|
+
console.warn('AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');
|
|
44105
44599
|
this.columnModel.moveColumnByIndex(key, toIndex, 'api');
|
|
44106
44600
|
}
|
|
44107
44601
|
else {
|
|
@@ -44132,6 +44626,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44132
44626
|
ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
|
|
44133
44627
|
/** @deprecated Use `getPivotResultColumn` instead */
|
|
44134
44628
|
ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
|
|
44629
|
+
console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
|
|
44135
44630
|
return this.getPivotResultColumn(pivotKeys, valueColKey);
|
|
44136
44631
|
};
|
|
44137
44632
|
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
|
|
@@ -44190,18 +44685,21 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44190
44685
|
ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
|
|
44191
44686
|
/** @deprecated Use `setPivotResultColumns` instead. */
|
|
44192
44687
|
ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
|
|
44688
|
+
console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
|
|
44193
44689
|
this.setPivotResultColumns(colDefs);
|
|
44194
44690
|
};
|
|
44195
44691
|
/** Set the pivot result columns. */
|
|
44196
44692
|
ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
|
|
44197
44693
|
/** @deprecated Use `getPivotResultColumns` instead. */
|
|
44198
44694
|
ColumnApi.prototype.getSecondaryColumns = function () {
|
|
44695
|
+
console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
|
|
44199
44696
|
return this.getPivotResultColumns();
|
|
44200
44697
|
};
|
|
44201
44698
|
/** Returns the grid's pivot result columns. */
|
|
44202
44699
|
ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
|
|
44203
44700
|
/** @deprecated Use `getColumns` instead. */
|
|
44204
44701
|
ColumnApi.prototype.getPrimaryColumns = function () {
|
|
44702
|
+
console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
|
|
44205
44703
|
return this.getColumns();
|
|
44206
44704
|
};
|
|
44207
44705
|
ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
|
|
@@ -44220,66 +44718,82 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44220
44718
|
// }
|
|
44221
44719
|
/** @deprecated Use `getColumns` instead */
|
|
44222
44720
|
ColumnApi.prototype.getAllColumns = function () {
|
|
44721
|
+
console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
|
|
44223
44722
|
return this.getColumns();
|
|
44224
44723
|
};
|
|
44225
44724
|
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
|
|
44226
44725
|
ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
|
|
44726
|
+
console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
|
|
44227
44727
|
this.setColumnGroupOpened(group, newValue);
|
|
44228
44728
|
};
|
|
44229
44729
|
/** @deprecated hideColumns is deprecated, use setColumnsVisible */
|
|
44230
44730
|
ColumnApi.prototype.hideColumns = function (colIds, hide) {
|
|
44731
|
+
console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
|
|
44231
44732
|
this.columnModel.setColumnsVisible(colIds, !hide, 'api');
|
|
44232
44733
|
};
|
|
44233
44734
|
/** @deprecated hideColumn is deprecated, use setColumnVisible */
|
|
44234
44735
|
ColumnApi.prototype.hideColumn = function (colId, hide) {
|
|
44736
|
+
console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
|
|
44235
44737
|
this.columnModel.setColumnVisible(colId, !hide, 'api');
|
|
44236
44738
|
};
|
|
44237
44739
|
/** @deprecated setState is deprecated, use setColumnState */
|
|
44238
44740
|
ColumnApi.prototype.setState = function (columnState) {
|
|
44741
|
+
console.error('AG Grid: setState is deprecated, use setColumnState');
|
|
44239
44742
|
return this.setColumnState(columnState);
|
|
44240
44743
|
};
|
|
44241
44744
|
/** @deprecated getState is deprecated, use getColumnState */
|
|
44242
44745
|
ColumnApi.prototype.getState = function () {
|
|
44746
|
+
console.error('AG Grid: getState is deprecated, use getColumnState');
|
|
44243
44747
|
return this.getColumnState();
|
|
44244
44748
|
};
|
|
44245
44749
|
/** @deprecated resetState is deprecated, use resetColumnState */
|
|
44246
44750
|
ColumnApi.prototype.resetState = function () {
|
|
44751
|
+
console.error('AG Grid: resetState is deprecated, use resetColumnState');
|
|
44247
44752
|
this.resetColumnState();
|
|
44248
44753
|
};
|
|
44249
44754
|
/** @deprecated getAggregationColumns is deprecated, use getValueColumns */
|
|
44250
44755
|
ColumnApi.prototype.getAggregationColumns = function () {
|
|
44756
|
+
console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
|
|
44251
44757
|
return this.columnModel.getValueColumns();
|
|
44252
44758
|
};
|
|
44253
44759
|
/** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
|
|
44254
44760
|
ColumnApi.prototype.removeAggregationColumn = function (colKey) {
|
|
44761
|
+
console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
|
|
44255
44762
|
this.columnModel.removeValueColumn(colKey, 'api');
|
|
44256
44763
|
};
|
|
44257
44764
|
/** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
|
|
44258
44765
|
ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
|
|
44766
|
+
console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
|
|
44259
44767
|
this.columnModel.removeValueColumns(colKeys, 'api');
|
|
44260
44768
|
};
|
|
44261
44769
|
/** @deprecated addAggregationColumn is deprecated, use addValueColumn */
|
|
44262
44770
|
ColumnApi.prototype.addAggregationColumn = function (colKey) {
|
|
44771
|
+
console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
|
|
44263
44772
|
this.columnModel.addValueColumn(colKey, 'api');
|
|
44264
44773
|
};
|
|
44265
44774
|
/** @deprecated addAggregationColumns is deprecated, use addValueColumns */
|
|
44266
44775
|
ColumnApi.prototype.addAggregationColumns = function (colKeys) {
|
|
44776
|
+
console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
|
|
44267
44777
|
this.columnModel.addValueColumns(colKeys, 'api');
|
|
44268
44778
|
};
|
|
44269
44779
|
/** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
|
|
44270
44780
|
ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
|
|
44781
|
+
console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
|
|
44271
44782
|
this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
|
|
44272
44783
|
};
|
|
44273
44784
|
/** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
|
|
44274
44785
|
ColumnApi.prototype.getDisplayNameForCol = function (column) {
|
|
44786
|
+
console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
|
|
44275
44787
|
return this.getDisplayNameForColumn(column, null);
|
|
44276
44788
|
};
|
|
44277
44789
|
/** @deprecated setColumnState is deprecated, use applyColumnState. */
|
|
44278
44790
|
ColumnApi.prototype.setColumnState = function (columnState) {
|
|
44791
|
+
console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
|
|
44279
44792
|
return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
|
|
44280
44793
|
};
|
|
44281
44794
|
/** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
|
|
44282
44795
|
ColumnApi.prototype.getOriginalColumnGroup = function (name) {
|
|
44796
|
+
console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
|
|
44283
44797
|
return this.columnModel.getProvidedColumnGroup(name);
|
|
44284
44798
|
};
|
|
44285
44799
|
__decorate$1n([
|
|
@@ -44432,6 +44946,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44432
44946
|
// need either a field or a newValueHandler for this to work
|
|
44433
44947
|
if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
|
|
44434
44948
|
// we don't tell user about newValueHandler, as that is deprecated
|
|
44949
|
+
console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
|
|
44435
44950
|
return false;
|
|
44436
44951
|
}
|
|
44437
44952
|
var params = {
|
|
@@ -44608,6 +45123,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44608
45123
|
result = String(result);
|
|
44609
45124
|
if (result === '[object Object]') {
|
|
44610
45125
|
doOnce(function () {
|
|
45126
|
+
console.warn('AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key');
|
|
44611
45127
|
}, 'getKeyForNode - warn about [object,object]');
|
|
44612
45128
|
}
|
|
44613
45129
|
return result;
|
|
@@ -44679,7 +45195,9 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44679
45195
|
var expression = expressionOrFunc;
|
|
44680
45196
|
return this.evaluateExpression(expression, params);
|
|
44681
45197
|
}
|
|
44682
|
-
else
|
|
45198
|
+
else {
|
|
45199
|
+
console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
|
|
45200
|
+
}
|
|
44683
45201
|
};
|
|
44684
45202
|
ExpressionService.prototype.evaluateExpression = function (expression, params) {
|
|
44685
45203
|
try {
|
|
@@ -44693,9 +45211,13 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44693
45211
|
// the expression failed, which can happen, as it's the client that
|
|
44694
45212
|
// provides the expression. so print a nice message
|
|
44695
45213
|
// tslint:disable-next-line
|
|
45214
|
+
console.log('Processing of the expression failed');
|
|
44696
45215
|
// tslint:disable-next-line
|
|
45216
|
+
console.log('Expression = ' + expression);
|
|
44697
45217
|
// tslint:disable-next-line
|
|
45218
|
+
console.log('Params =', params);
|
|
44698
45219
|
// tslint:disable-next-line
|
|
45220
|
+
console.log('Exception = ' + e);
|
|
44699
45221
|
return null;
|
|
44700
45222
|
}
|
|
44701
45223
|
};
|
|
@@ -44793,6 +45315,7 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
44793
45315
|
};
|
|
44794
45316
|
TemplateService.prototype.handleHttpResult = function (httpResult, url) {
|
|
44795
45317
|
if (httpResult.status !== 200 || httpResult.response === null) {
|
|
45318
|
+
console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
|
|
44796
45319
|
return;
|
|
44797
45320
|
}
|
|
44798
45321
|
// response success, so process it
|
|
@@ -44873,7 +45396,10 @@ var Logger = /** @class */ (function () {
|
|
|
44873
45396
|
return this.isLoggingFunc();
|
|
44874
45397
|
};
|
|
44875
45398
|
Logger.prototype.log = function (message) {
|
|
44876
|
-
if (this.isLoggingFunc())
|
|
45399
|
+
if (this.isLoggingFunc()) {
|
|
45400
|
+
// tslint:disable-next-line
|
|
45401
|
+
console.log('AG Grid.' + this.name + ': ' + message);
|
|
45402
|
+
}
|
|
44877
45403
|
};
|
|
44878
45404
|
return Logger;
|
|
44879
45405
|
}());
|
|
@@ -45273,6 +45799,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45273
45799
|
sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
|
|
45274
45800
|
}
|
|
45275
45801
|
if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
|
|
45802
|
+
console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
|
|
45276
45803
|
return null;
|
|
45277
45804
|
}
|
|
45278
45805
|
var currentIndex = sortingOrder.indexOf(column.getSort());
|
|
@@ -45287,6 +45814,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45287
45814
|
}
|
|
45288
45815
|
// verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
|
|
45289
45816
|
if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
|
|
45817
|
+
console.warn('AG Grid: invalid sort type ' + result);
|
|
45290
45818
|
return null;
|
|
45291
45819
|
}
|
|
45292
45820
|
return result;
|
|
@@ -45615,6 +46143,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
45615
46143
|
var doingTreeData = this.gridOptionsWrapper.isTreeData();
|
|
45616
46144
|
var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
|
|
45617
46145
|
if (doingTreeData && doingMultiAutoColumn) {
|
|
46146
|
+
console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
|
|
45618
46147
|
doingMultiAutoColumn = false;
|
|
45619
46148
|
}
|
|
45620
46149
|
// if doing groupMultiAutoColumn, then we call the method multiple times, once
|
|
@@ -46298,8 +46827,8 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46298
46827
|
var theme = themeMatch[0];
|
|
46299
46828
|
var usingOldTheme = themeMatch[2] === undefined;
|
|
46300
46829
|
if (usingOldTheme) {
|
|
46301
|
-
theme.replace('ag-', 'ag-theme-');
|
|
46302
|
-
doOnce(function () { return (
|
|
46830
|
+
var newTheme_1 = theme.replace('ag-', 'ag-theme-');
|
|
46831
|
+
doOnce(function () { return console.warn("AG Grid: As of v19 old theme are no longer provided. Please replace " + theme + " with " + newTheme_1 + "."); }, 'using-old-theme');
|
|
46303
46832
|
}
|
|
46304
46833
|
return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
|
|
46305
46834
|
};
|
|
@@ -47805,6 +48334,7 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
47805
48334
|
var rowClass = this.gridOptionsWrapper.getRowClass();
|
|
47806
48335
|
if (rowClass) {
|
|
47807
48336
|
if (typeof rowClass === 'function') {
|
|
48337
|
+
console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
|
|
47808
48338
|
return [];
|
|
47809
48339
|
}
|
|
47810
48340
|
process(rowClass);
|
|
@@ -48645,6 +49175,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
|
|
|
48645
49175
|
var Grid = /** @class */ (function () {
|
|
48646
49176
|
function Grid(eGridDiv, gridOptions, params) {
|
|
48647
49177
|
if (!gridOptions) {
|
|
49178
|
+
console.error('AG Grid: no gridOptions provided to the grid');
|
|
48648
49179
|
return;
|
|
48649
49180
|
}
|
|
48650
49181
|
this.gridOptions = gridOptions;
|
|
@@ -48850,7 +49381,32 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
48850
49381
|
if (exists(rowModelClass)) {
|
|
48851
49382
|
return rowModelClass;
|
|
48852
49383
|
}
|
|
48853
|
-
if (ModuleRegistry.isPackageBased())
|
|
49384
|
+
if (ModuleRegistry.isPackageBased()) {
|
|
49385
|
+
if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
|
|
49386
|
+
// If package based only the enterprise row models could be missing.
|
|
49387
|
+
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/");
|
|
49388
|
+
}
|
|
49389
|
+
else {
|
|
49390
|
+
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49391
|
+
}
|
|
49392
|
+
}
|
|
49393
|
+
else {
|
|
49394
|
+
if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
|
|
49395
|
+
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/");
|
|
49396
|
+
}
|
|
49397
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
|
|
49398
|
+
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/");
|
|
49399
|
+
}
|
|
49400
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
|
|
49401
|
+
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/");
|
|
49402
|
+
}
|
|
49403
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
49404
|
+
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/");
|
|
49405
|
+
}
|
|
49406
|
+
else {
|
|
49407
|
+
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49408
|
+
}
|
|
49409
|
+
}
|
|
48854
49410
|
};
|
|
48855
49411
|
return GridCoreCreator;
|
|
48856
49412
|
}());
|
|
@@ -49112,15 +49668,51 @@ var LicenseManager = /** @class */ (function (_super) {
|
|
|
49112
49668
|
}
|
|
49113
49669
|
};
|
|
49114
49670
|
LicenseManager.prototype.outputInvalidLicenseKey = function () {
|
|
49671
|
+
console.error('*****************************************************************************************************************');
|
|
49672
|
+
console.error('***************************************** AG Grid Enterprise License ********************************************');
|
|
49673
|
+
console.error('********************************************* Invalid License ***************************************************');
|
|
49674
|
+
console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
|
|
49675
|
+
console.error('*****************************************************************************************************************');
|
|
49676
|
+
console.error('*****************************************************************************************************************');
|
|
49115
49677
|
this.watermarkMessage = "Invalid License";
|
|
49116
49678
|
};
|
|
49117
49679
|
LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
|
|
49680
|
+
console.error('****************************************************************************************************************');
|
|
49681
|
+
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49682
|
+
console.error('***************************************** Trial Period Expired. *******************************************');
|
|
49683
|
+
console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
|
|
49684
|
+
console.error('* Please email info@ag-grid.com to purchase a license. *');
|
|
49685
|
+
console.error('****************************************************************************************************************');
|
|
49686
|
+
console.error('****************************************************************************************************************');
|
|
49118
49687
|
this.watermarkMessage = "Trial Period Expired";
|
|
49119
49688
|
};
|
|
49120
49689
|
LicenseManager.prototype.outputMissingLicenseKey = function () {
|
|
49690
|
+
console.error('****************************************************************************************************************');
|
|
49691
|
+
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49692
|
+
console.error('****************************************** License Key Not Found ***********************************************');
|
|
49693
|
+
console.error('* All AG Grid Enterprise features are unlocked. *');
|
|
49694
|
+
console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
|
|
49695
|
+
console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
|
|
49696
|
+
console.error('****************************************************************************************************************');
|
|
49697
|
+
console.error('****************************************************************************************************************');
|
|
49121
49698
|
this.watermarkMessage = "For Trial Use Only";
|
|
49122
49699
|
};
|
|
49123
49700
|
LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
|
|
49701
|
+
console.error('****************************************************************************************************************************');
|
|
49702
|
+
console.error('****************************************************************************************************************************');
|
|
49703
|
+
console.error('* AG Grid Enterprise License *');
|
|
49704
|
+
console.error('* License not compatible with installed version of AG Grid Enterprise. *');
|
|
49705
|
+
console.error('* *');
|
|
49706
|
+
console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
|
|
49707
|
+
console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
|
|
49708
|
+
console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
|
|
49709
|
+
console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
|
|
49710
|
+
console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
|
|
49711
|
+
console.error('* *');
|
|
49712
|
+
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 *');
|
|
49713
|
+
console.error('* version of AG Grid. *');
|
|
49714
|
+
console.error('****************************************************************************************************************************');
|
|
49715
|
+
console.error('****************************************************************************************************************************');
|
|
49124
49716
|
this.watermarkMessage = "License Expired";
|
|
49125
49717
|
};
|
|
49126
49718
|
var LicenseManager_1;
|
|
@@ -49667,13 +50259,23 @@ class DataSource {
|
|
|
49667
50259
|
});
|
|
49668
50260
|
this._dataUnit.metadata.fields.forEach(f => {
|
|
49669
50261
|
var _a, _b, _c, _d, _e, _f;
|
|
50262
|
+
if (f.userInterface === core.UserInterface.IMAGE) {
|
|
50263
|
+
return;
|
|
50264
|
+
}
|
|
49670
50265
|
if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
|
|
49671
50266
|
const props = new Map();
|
|
49672
50267
|
const properties = this._dataUnit.getField(f.name).properties;
|
|
49673
50268
|
for (const value in properties) {
|
|
49674
50269
|
props.set(value, properties[value]);
|
|
49675
50270
|
}
|
|
49676
|
-
const col = {
|
|
50271
|
+
const col = {
|
|
50272
|
+
label: f.label,
|
|
50273
|
+
name: f.name,
|
|
50274
|
+
userInterface: f.userInterface,
|
|
50275
|
+
options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options,
|
|
50276
|
+
props,
|
|
50277
|
+
aggFunc: f['aggFunc']
|
|
50278
|
+
};
|
|
49677
50279
|
columnDefs.push(col);
|
|
49678
50280
|
if (f.userInterface === core.UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
|
|
49679
50281
|
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);
|
|
@@ -50154,7 +50756,7 @@ class EzGridCustomCellEditor extends EzCellEditor {
|
|
|
50154
50756
|
charPress: params.charPress,
|
|
50155
50757
|
currentEditor: this._defaultGui,
|
|
50156
50758
|
name: this._fieldName,
|
|
50157
|
-
source:
|
|
50759
|
+
source: types.CustomEditorSource.GRID,
|
|
50158
50760
|
detailContext: params.customEditorsInfo.detailContext,
|
|
50159
50761
|
setValue: (value) => this.setValue(value),
|
|
50160
50762
|
getValue: () => this.getValue(),
|
|
@@ -50261,7 +50863,7 @@ class EzGridCustomCellRender extends EzCellRender {
|
|
|
50261
50863
|
charPress: '',
|
|
50262
50864
|
currentRender: super.getGui(),
|
|
50263
50865
|
name: this._fieldName,
|
|
50264
|
-
source:
|
|
50866
|
+
source: types.CustomRenderSource.GRID,
|
|
50265
50867
|
getValue: () => params.getValue(),
|
|
50266
50868
|
detailContext: params.customRendersInfo.detailContext,
|
|
50267
50869
|
renderMetadata: {
|
|
@@ -51483,10 +52085,12 @@ var RangeService = /** @class */ (function (_super) {
|
|
|
51483
52085
|
var isSameColumn = columnFrom === columnTo;
|
|
51484
52086
|
var fromIndex = allColumns.indexOf(columnFrom);
|
|
51485
52087
|
if (fromIndex < 0) {
|
|
52088
|
+
console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
|
|
51486
52089
|
return;
|
|
51487
52090
|
}
|
|
51488
52091
|
var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
|
|
51489
52092
|
if (toIndex < 0) {
|
|
52093
|
+
console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
|
|
51490
52094
|
return;
|
|
51491
52095
|
}
|
|
51492
52096
|
if (isSameColumn) {
|
|
@@ -52421,10 +53025,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
|
|
|
52421
53025
|
};
|
|
52422
53026
|
ServerSideRowModel.prototype.verifyProps = function () {
|
|
52423
53027
|
if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
|
|
52424
|
-
|
|
53028
|
+
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.";
|
|
53029
|
+
_.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
|
|
52425
53030
|
}
|
|
52426
53031
|
if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
|
|
52427
|
-
|
|
53032
|
+
var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
|
|
53033
|
+
_.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
52428
53034
|
}
|
|
52429
53035
|
};
|
|
52430
53036
|
ServerSideRowModel.prototype.setDatasource = function (datasource) {
|
|
@@ -52974,6 +53580,11 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
52974
53580
|
rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
|
|
52975
53581
|
if (rowNode.key === null || rowNode.key === undefined) {
|
|
52976
53582
|
_.doOnce(function () {
|
|
53583
|
+
console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
|
|
53584
|
+
if (rowNode.rowGroupColumn) {
|
|
53585
|
+
console.warn("column = " + rowNode.rowGroupColumn.getId());
|
|
53586
|
+
}
|
|
53587
|
+
console.warn("data is ", rowNode.data);
|
|
52977
53588
|
}, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
|
|
52978
53589
|
}
|
|
52979
53590
|
};
|
|
@@ -53090,6 +53701,7 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53090
53701
|
var bottomPointer = 0;
|
|
53091
53702
|
var topPointer = rowNodes.length - 1;
|
|
53092
53703
|
if (_.missing(topPointer) || _.missing(bottomPointer)) {
|
|
53704
|
+
console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
|
|
53093
53705
|
return undefined;
|
|
53094
53706
|
}
|
|
53095
53707
|
while (true) {
|
|
@@ -53118,6 +53730,7 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53118
53730
|
topPointer = midPointer - 1;
|
|
53119
53731
|
}
|
|
53120
53732
|
else {
|
|
53733
|
+
console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
|
|
53121
53734
|
return undefined;
|
|
53122
53735
|
}
|
|
53123
53736
|
}
|
|
@@ -53233,6 +53846,11 @@ var NodeManager = /** @class */ (function () {
|
|
|
53233
53846
|
}
|
|
53234
53847
|
NodeManager.prototype.addRowNode = function (rowNode) {
|
|
53235
53848
|
var id = rowNode.id;
|
|
53849
|
+
if (this.rowNodes[id]) {
|
|
53850
|
+
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.");
|
|
53851
|
+
console.warn('first instance', this.rowNodes[id].data);
|
|
53852
|
+
console.warn('second instance', rowNode.data);
|
|
53853
|
+
}
|
|
53236
53854
|
this.rowNodes[id] = rowNode;
|
|
53237
53855
|
};
|
|
53238
53856
|
NodeManager.prototype.removeNode = function (rowNode) {
|
|
@@ -54164,7 +54782,8 @@ var InfiniteStore = /** @class */ (function (_super) {
|
|
|
54164
54782
|
Object.assign(this.info, info);
|
|
54165
54783
|
}
|
|
54166
54784
|
if (!params.rowData) {
|
|
54167
|
-
|
|
54785
|
+
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.';
|
|
54786
|
+
_.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
|
|
54168
54787
|
}
|
|
54169
54788
|
var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
|
|
54170
54789
|
// if we are not active, then we ignore all events, otherwise we could end up getting the
|
|
@@ -54923,7 +55542,8 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
54923
55542
|
this.nodesAfterFilter = [];
|
|
54924
55543
|
this.allNodesMap = {};
|
|
54925
55544
|
if (!params.rowData) {
|
|
54926
|
-
|
|
55545
|
+
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.';
|
|
55546
|
+
_.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
|
|
54927
55547
|
}
|
|
54928
55548
|
this.createOrRecycleNodes(nodesToRecycle, params.rowData);
|
|
54929
55549
|
if (nodesToRecycle) {
|
|
@@ -55298,6 +55918,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55298
55918
|
});
|
|
55299
55919
|
rowNode = this.allNodesMap[id];
|
|
55300
55920
|
if (!rowNode) {
|
|
55921
|
+
console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
|
|
55301
55922
|
return null;
|
|
55302
55923
|
}
|
|
55303
55924
|
}
|
|
@@ -55305,6 +55926,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55305
55926
|
// find rowNode using object references
|
|
55306
55927
|
rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
|
|
55307
55928
|
if (!rowNode) {
|
|
55929
|
+
console.error("AG Grid: could not find data item as object was not found", data);
|
|
55308
55930
|
return null;
|
|
55309
55931
|
}
|
|
55310
55932
|
}
|
|
@@ -55452,11 +56074,15 @@ var StoreFactory = /** @class */ (function () {
|
|
|
55452
56074
|
return undefined;
|
|
55453
56075
|
}
|
|
55454
56076
|
if (ssrmParams.dynamicRowHeight) {
|
|
55455
|
-
|
|
56077
|
+
var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
|
|
56078
|
+
'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56079
|
+
_.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
55456
56080
|
return undefined;
|
|
55457
56081
|
}
|
|
55458
56082
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
55459
|
-
|
|
56083
|
+
var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
|
|
56084
|
+
'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56085
|
+
_.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
55460
56086
|
return undefined;
|
|
55461
56087
|
}
|
|
55462
56088
|
return maxBlocksInCache;
|
|
@@ -55684,6 +56310,7 @@ var Downloader = /** @class */ (function () {
|
|
|
55684
56310
|
Downloader.download = function (fileName, content) {
|
|
55685
56311
|
var win = document.defaultView || window;
|
|
55686
56312
|
if (!win) {
|
|
56313
|
+
console.warn('AG Grid: There is no `window` associated with the current `document`');
|
|
55687
56314
|
return;
|
|
55688
56315
|
}
|
|
55689
56316
|
var element = document.createElement('a');
|
|
@@ -55817,6 +56444,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
55817
56444
|
stringValue = value.toString();
|
|
55818
56445
|
}
|
|
55819
56446
|
else {
|
|
56447
|
+
console.warn('AG Grid: unknown value type during csv conversion');
|
|
55820
56448
|
stringValue = '';
|
|
55821
56449
|
}
|
|
55822
56450
|
// replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
|
|
@@ -55871,6 +56499,7 @@ var CsvCreator = /** @class */ (function (_super) {
|
|
|
55871
56499
|
};
|
|
55872
56500
|
CsvCreator.prototype.export = function (userParams) {
|
|
55873
56501
|
if (this.isExportSuppressed()) {
|
|
56502
|
+
console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
|
|
55874
56503
|
return '';
|
|
55875
56504
|
}
|
|
55876
56505
|
var mergedParams = this.getMergedParams(userParams);
|
|
@@ -55990,7 +56619,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
55990
56619
|
var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
|
|
55991
56620
|
var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
|
|
55992
56621
|
if (skipRowGroups && params.skipGroups) {
|
|
55993
|
-
_.doOnce(function () { return (
|
|
56622
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
|
|
55994
56623
|
}
|
|
55995
56624
|
if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
|
|
55996
56625
|
(params.onlySelected && !node.isSelected()) ||
|
|
@@ -56024,7 +56653,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56024
56653
|
var appendContent = params.customFooter || params.appendContent;
|
|
56025
56654
|
if (appendContent) {
|
|
56026
56655
|
if (params.customFooter) {
|
|
56027
|
-
_.doOnce(function () { return (
|
|
56656
|
+
_.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
|
|
56028
56657
|
}
|
|
56029
56658
|
gridSerializingSession.addCustomContent(appendContent);
|
|
56030
56659
|
}
|
|
@@ -56036,7 +56665,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56036
56665
|
var prependContent = params.customHeader || params.prependContent;
|
|
56037
56666
|
if (prependContent) {
|
|
56038
56667
|
if (params.customHeader) {
|
|
56039
|
-
_.doOnce(function () { return (
|
|
56668
|
+
_.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
|
|
56040
56669
|
}
|
|
56041
56670
|
gridSerializingSession.addCustomContent(prependContent);
|
|
56042
56671
|
}
|
|
@@ -56058,7 +56687,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56058
56687
|
_this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
|
|
56059
56688
|
}
|
|
56060
56689
|
else if (params.columnGroups) {
|
|
56061
|
-
_.doOnce(function () { return (
|
|
56690
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
|
|
56062
56691
|
}
|
|
56063
56692
|
return gridSerializingSession;
|
|
56064
56693
|
};
|
|
@@ -56072,7 +56701,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56072
56701
|
});
|
|
56073
56702
|
}
|
|
56074
56703
|
else if (params.skipHeader) {
|
|
56075
|
-
_.doOnce(function () { return (
|
|
56704
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
|
|
56076
56705
|
}
|
|
56077
56706
|
return gridSerializingSession;
|
|
56078
56707
|
};
|
|
@@ -56320,6 +56949,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56320
56949
|
.then(this.processClipboardData.bind(this))
|
|
56321
56950
|
.catch(function (e) {
|
|
56322
56951
|
_.doOnce(function () {
|
|
56952
|
+
console.warn(e);
|
|
56953
|
+
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
|
|
56954
|
+
'The reason why it could not be used has been logged in the previous line. ' +
|
|
56955
|
+
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
56956
|
+
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
56957
|
+
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
|
|
56323
56958
|
}, 'clipboardApiError');
|
|
56324
56959
|
_this.navigatorApiFailed = true;
|
|
56325
56960
|
_this.pasteFromClipboardLegacy();
|
|
@@ -56846,6 +57481,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56846
57481
|
if (allowNavigator && navigator.clipboard) {
|
|
56847
57482
|
navigator.clipboard.writeText(data).catch(function (e) {
|
|
56848
57483
|
_.doOnce(function () {
|
|
57484
|
+
console.warn(e);
|
|
57485
|
+
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
|
|
57486
|
+
'The reason why it could not be used has been logged in the previous line. ' +
|
|
57487
|
+
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
57488
|
+
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
57489
|
+
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
|
|
56849
57490
|
}, 'clipboardApiError');
|
|
56850
57491
|
_this.copyDataToClipboardLegacy(data);
|
|
56851
57492
|
});
|
|
@@ -56862,7 +57503,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56862
57503
|
element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
|
|
56863
57504
|
element.select();
|
|
56864
57505
|
element.focus({ preventScroll: true });
|
|
56865
|
-
eDocument.execCommand('copy');
|
|
57506
|
+
var result = eDocument.execCommand('copy');
|
|
57507
|
+
if (!result) {
|
|
57508
|
+
console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
|
|
57509
|
+
'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
|
|
57510
|
+
'the browser will prevent it for security reasons.');
|
|
57511
|
+
}
|
|
56866
57512
|
if (focusedElementBefore != null && focusedElementBefore.focus != null) {
|
|
56867
57513
|
focusedElementBefore.focus({ preventScroll: true });
|
|
56868
57514
|
}
|
|
@@ -56886,6 +57532,7 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56886
57532
|
callbackNow(eTempInput);
|
|
56887
57533
|
}
|
|
56888
57534
|
catch (err) {
|
|
57535
|
+
console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
|
|
56889
57536
|
}
|
|
56890
57537
|
//It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
|
|
56891
57538
|
if (callbackAfter) {
|
|
@@ -58158,6 +58805,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
|
|
|
58158
58805
|
return false;
|
|
58159
58806
|
};
|
|
58160
58807
|
ToolPanelColumnComp.prototype.setExpanded = function (value) {
|
|
58808
|
+
console.warn('AG Grid: can not expand a column item that does not represent a column group header');
|
|
58161
58809
|
};
|
|
58162
58810
|
ToolPanelColumnComp.TEMPLATE = "<div class=\"ag-column-select-column\" aria-hidden=\"true\">\n <ag-checkbox ref=\"cbSelect\" class=\"ag-column-select-checkbox\"></ag-checkbox>\n <span class=\"ag-column-select-column-label\" ref=\"eLabel\"></span>\n </div>";
|
|
58163
58811
|
__decorate$q([
|
|
@@ -58452,7 +59100,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
|
|
|
58452
59100
|
expandedGroupIds.push(groupId);
|
|
58453
59101
|
}
|
|
58454
59102
|
});
|
|
58455
|
-
groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59103
|
+
var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59104
|
+
if (unrecognisedGroupIds.length > 0) {
|
|
59105
|
+
console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
|
|
59106
|
+
}
|
|
58456
59107
|
};
|
|
58457
59108
|
PrimaryColsListPanel.prototype.getExpandState = function () {
|
|
58458
59109
|
var expandedCount = 0;
|
|
@@ -58846,6 +59497,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
58846
59497
|
this.aggFuncService.getAggFunc(aggFuncOrString) :
|
|
58847
59498
|
aggFuncOrString;
|
|
58848
59499
|
if (typeof aggFunc !== 'function') {
|
|
59500
|
+
console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
|
|
58849
59501
|
return null;
|
|
58850
59502
|
}
|
|
58851
59503
|
var aggFuncAny = aggFunc;
|
|
@@ -59372,6 +60024,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
59372
60024
|
GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
|
|
59373
60025
|
var path = this.getGroupInfo(childNode, details);
|
|
59374
60026
|
var parentGroup = this.findParentForNode(childNode, path, details);
|
|
60027
|
+
if (!parentGroup.group) {
|
|
60028
|
+
console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
|
|
60029
|
+
}
|
|
59375
60030
|
if (this.usingTreeData) {
|
|
59376
60031
|
this.swapGroupWithUserNode(parentGroup, childNode, isMove);
|
|
59377
60032
|
}
|
|
@@ -59509,7 +60164,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
59509
60164
|
GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
|
|
59510
60165
|
var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
59511
60166
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
59512
|
-
_.doOnce(function () { return (
|
|
60167
|
+
_.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
|
|
59513
60168
|
}
|
|
59514
60169
|
var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
|
|
59515
60170
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -62234,6 +62889,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
|
|
|
62234
62889
|
var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
|
|
62235
62890
|
var componentPromise = compDetails.newAgStackInstance();
|
|
62236
62891
|
if (componentPromise == null) {
|
|
62892
|
+
console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
|
|
62237
62893
|
return;
|
|
62238
62894
|
}
|
|
62239
62895
|
componentPromise.then(this.setToolPanelComponent.bind(this));
|
|
@@ -62428,6 +63084,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62428
63084
|
var _this = this;
|
|
62429
63085
|
defs.forEach(function (def) {
|
|
62430
63086
|
if (def.id == null) {
|
|
63087
|
+
console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
|
|
62431
63088
|
return;
|
|
62432
63089
|
}
|
|
62433
63090
|
// helpers, in case user doesn't have the right module loaded
|
|
@@ -62473,6 +63130,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62473
63130
|
SideBarComp.prototype.getToolPanelInstance = function (key) {
|
|
62474
63131
|
var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
|
|
62475
63132
|
if (!toolPanelWrapper) {
|
|
63133
|
+
console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
|
|
62476
63134
|
return;
|
|
62477
63135
|
}
|
|
62478
63136
|
return toolPanelWrapper.getToolPanelInstance();
|
|
@@ -62558,6 +63216,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62558
63216
|
}
|
|
62559
63217
|
ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
|
|
62560
63218
|
var _this = this;
|
|
63219
|
+
var invalidColIds = [];
|
|
62561
63220
|
var createDummyColGroup = function (abstractColDef, depth) {
|
|
62562
63221
|
if (_this.isColGroupDef(abstractColDef)) {
|
|
62563
63222
|
// creating 'dummy' group which is not associated with grid column group
|
|
@@ -62579,6 +63238,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62579
63238
|
var colDef = abstractColDef;
|
|
62580
63239
|
var key = colDef.colId ? colDef.colId : colDef.field;
|
|
62581
63240
|
var column = _this.columnModel.getPrimaryColumn(key);
|
|
63241
|
+
if (!column) {
|
|
63242
|
+
invalidColIds.push(colDef);
|
|
63243
|
+
}
|
|
62582
63244
|
return column;
|
|
62583
63245
|
}
|
|
62584
63246
|
};
|
|
@@ -62590,6 +63252,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62590
63252
|
mappedResults.push(result);
|
|
62591
63253
|
}
|
|
62592
63254
|
});
|
|
63255
|
+
if (invalidColIds.length > 0) {
|
|
63256
|
+
console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
|
|
63257
|
+
}
|
|
62593
63258
|
return mappedResults;
|
|
62594
63259
|
};
|
|
62595
63260
|
ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
|
|
@@ -63144,10 +63809,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
|
|
|
63144
63809
|
};
|
|
63145
63810
|
EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
|
|
63146
63811
|
var isValid = true;
|
|
63812
|
+
var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
|
|
63147
63813
|
if (this.restrictTo != null) {
|
|
63148
63814
|
isValid = this.restrictTo.indexOf(menuTabName) > -1;
|
|
63815
|
+
itemsToConsider = this.restrictTo;
|
|
63149
63816
|
}
|
|
63150
63817
|
isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
|
|
63818
|
+
if (!isValid) {
|
|
63819
|
+
console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
|
|
63820
|
+
}
|
|
63151
63821
|
return isValid;
|
|
63152
63822
|
};
|
|
63153
63823
|
EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
|
|
@@ -63858,6 +64528,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
|
|
|
63858
64528
|
return chartMenuItem;
|
|
63859
64529
|
}
|
|
63860
64530
|
else {
|
|
64531
|
+
console.warn("AG Grid: unknown menu item type " + key);
|
|
63861
64532
|
return null;
|
|
63862
64533
|
}
|
|
63863
64534
|
}
|
|
@@ -64171,6 +64842,54 @@ function _0x15c2(_0x353a9c, _0x3e4a5a) { const _0x53e110 = _0x53e1(); return _0x
|
|
|
64171
64842
|
} }(_0x53e1, 0xe8676));
|
|
64172
64843
|
const agGridLicense = _0xc7632f(0x18c);
|
|
64173
64844
|
|
|
64845
|
+
const BUILTIN_AGG_FUNCS = {
|
|
64846
|
+
"sum": (params) => params.values.reduce((a, b) => Number(a !== null && a !== void 0 ? a : 0) + Number(b !== null && b !== void 0 ? b : 0), 0),
|
|
64847
|
+
avg: (params) => {
|
|
64848
|
+
const valid = params.values.filter(v => v != null && !Number.isNaN(v));
|
|
64849
|
+
return valid.length
|
|
64850
|
+
? valid.reduce((a, b) => a + b, 0) / valid.length
|
|
64851
|
+
: null;
|
|
64852
|
+
},
|
|
64853
|
+
min: (params) => {
|
|
64854
|
+
const valid = params.values.filter(v => v != null && !Number.isNaN(v));
|
|
64855
|
+
return valid.length ? Math.min(...valid) : null;
|
|
64856
|
+
},
|
|
64857
|
+
max: (params) => Math.max(...params.values.filter(v => v != null && !Number.isNaN(v))),
|
|
64858
|
+
count: (params) => params.values.filter(v => v != null).length
|
|
64859
|
+
};
|
|
64860
|
+
function resolveAggFunc(aggFunc) {
|
|
64861
|
+
if (typeof aggFunc === 'function')
|
|
64862
|
+
return aggFunc;
|
|
64863
|
+
const fn = BUILTIN_AGG_FUNCS[aggFunc];
|
|
64864
|
+
if (!fn) {
|
|
64865
|
+
throw new Error(`aggFunc "${aggFunc}" não suportada`);
|
|
64866
|
+
}
|
|
64867
|
+
return fn;
|
|
64868
|
+
}
|
|
64869
|
+
|
|
64870
|
+
/**
|
|
64871
|
+
* Larguras padrão das colunas do grid por tipo de UserInterface
|
|
64872
|
+
*/
|
|
64873
|
+
const GRID_COLUMN_DEFAULT_WIDTHS = {
|
|
64874
|
+
[core.UserInterface.SEARCH]: 200,
|
|
64875
|
+
[core.UserInterface.SEARCHPLUS]: 100,
|
|
64876
|
+
[core.UserInterface.DATE]: 120,
|
|
64877
|
+
[core.UserInterface.DATETIME]: 160,
|
|
64878
|
+
[core.UserInterface.TIME]: 100,
|
|
64879
|
+
[core.UserInterface.ELAPSEDTIME]: 100,
|
|
64880
|
+
[core.UserInterface.DECIMALNUMBER]: 130,
|
|
64881
|
+
[core.UserInterface.INTEGERNUMBER]: 120,
|
|
64882
|
+
[core.UserInterface.SWITCH]: 80,
|
|
64883
|
+
[core.UserInterface.FILE]: 100,
|
|
64884
|
+
[core.UserInterface.HTML]: 200,
|
|
64885
|
+
[core.UserInterface.LONGTEXT]: 200,
|
|
64886
|
+
[core.UserInterface.CHECKBOX]: 80,
|
|
64887
|
+
[core.UserInterface.OPTIONSELECTOR]: 100,
|
|
64888
|
+
[core.UserInterface.SHORTTEXT]: 200,
|
|
64889
|
+
[core.UserInterface.PASSWORD]: 100,
|
|
64890
|
+
[core.UserInterface.MASKEDTEXT]: 100,
|
|
64891
|
+
};
|
|
64892
|
+
|
|
64174
64893
|
class AgGridController {
|
|
64175
64894
|
configFilterColumn(filterColumn) {
|
|
64176
64895
|
this._filterColumn = filterColumn;
|
|
@@ -64196,12 +64915,13 @@ class AgGridController {
|
|
|
64196
64915
|
this.DEFAULT_HEADER_ROW_HEIGHT = 32;
|
|
64197
64916
|
this.CHECK_BOX_COL_ID = 'checkBoxColumn';
|
|
64198
64917
|
this.STATUS_COL_ID = 'statusColumn';
|
|
64918
|
+
this.COLUMN_FOOTER_OPER = 'gridFooterOper';
|
|
64199
64919
|
this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
|
|
64200
64920
|
this.BLOCK_LOAD_DEBOUNCE = 100;
|
|
64201
|
-
this.DEFAULT_FONT_SIZE =
|
|
64921
|
+
this.DEFAULT_FONT_SIZE = 8;
|
|
64202
64922
|
this.DEFAULT_FONT_SIZE_HTML5 = 32;
|
|
64203
|
-
this.DEFAULT_ICON_SIZE =
|
|
64204
|
-
this.DEFAULT_MAX_SIZE =
|
|
64923
|
+
this.DEFAULT_ICON_SIZE = 40;
|
|
64924
|
+
this.DEFAULT_MAX_SIZE = 300;
|
|
64205
64925
|
this._menuItems = [];
|
|
64206
64926
|
this._idAttribName = '__record__id__';
|
|
64207
64927
|
this._gridConfig = [];
|
|
@@ -64211,6 +64931,9 @@ class AgGridController {
|
|
|
64211
64931
|
this._gridShowDom = false;
|
|
64212
64932
|
this.peddingExecutionsOnGridShow = [];
|
|
64213
64933
|
this._lastColsConfig = undefined;
|
|
64934
|
+
this._pinnedBottomDebounceTimer = null;
|
|
64935
|
+
this._pinnedBottomDebounceDelay = 150;
|
|
64936
|
+
this._pinnedBottomPendingArgs = null;
|
|
64214
64937
|
ModuleRegistry.registerModules([
|
|
64215
64938
|
EnterpriseCoreModule,
|
|
64216
64939
|
RangeSelectionModule,
|
|
@@ -64411,6 +65134,90 @@ class AgGridController {
|
|
|
64411
65134
|
this.observer.observe(container);
|
|
64412
65135
|
}
|
|
64413
65136
|
}
|
|
65137
|
+
onGridReady(evt) {
|
|
65138
|
+
var _a;
|
|
65139
|
+
this._bottomPinnedRowSubscriber = async (action) => {
|
|
65140
|
+
if (action.type === core.Action.DATA_LOADED || action.type === core.Action.PAGINATION_UPDATED) {
|
|
65141
|
+
this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
|
|
65142
|
+
}
|
|
65143
|
+
};
|
|
65144
|
+
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.subscribe(this._bottomPinnedRowSubscriber);
|
|
65145
|
+
}
|
|
65146
|
+
scheduleSetPinnedBottomRow(api, columnApi) {
|
|
65147
|
+
if (!api || !columnApi)
|
|
65148
|
+
return;
|
|
65149
|
+
// atualiza args pendentes
|
|
65150
|
+
this._pinnedBottomPendingArgs = { api, columnApi };
|
|
65151
|
+
// limpa timer anterior
|
|
65152
|
+
if (this._pinnedBottomDebounceTimer != null) {
|
|
65153
|
+
window.clearTimeout(this._pinnedBottomDebounceTimer);
|
|
65154
|
+
}
|
|
65155
|
+
// agenda execução
|
|
65156
|
+
this._pinnedBottomDebounceTimer = window.setTimeout(async () => {
|
|
65157
|
+
this._pinnedBottomDebounceTimer = null;
|
|
65158
|
+
const args = this._pinnedBottomPendingArgs;
|
|
65159
|
+
this._pinnedBottomPendingArgs = null;
|
|
65160
|
+
if (!args)
|
|
65161
|
+
return;
|
|
65162
|
+
try {
|
|
65163
|
+
await this.setPinnedBottomRow(args.api, args.columnApi);
|
|
65164
|
+
}
|
|
65165
|
+
catch (err) {
|
|
65166
|
+
console.error('Erro em setPinnedBottomRow debounced:', err);
|
|
65167
|
+
}
|
|
65168
|
+
}, this._pinnedBottomDebounceDelay);
|
|
65169
|
+
}
|
|
65170
|
+
async setPinnedBottomRow(api, columnApi) {
|
|
65171
|
+
const paginationInfo = this._dataUnit.getPaginationInfo();
|
|
65172
|
+
const loadingInProgress = paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.loadingInProgress;
|
|
65173
|
+
if (!api || !columnApi || loadingInProgress)
|
|
65174
|
+
return;
|
|
65175
|
+
const columns = columnApi.getAllGridColumns();
|
|
65176
|
+
const columnsWithAgg = columns.filter(col => col.getColDef().aggFunc);
|
|
65177
|
+
if (columnsWithAgg.length === 0)
|
|
65178
|
+
return;
|
|
65179
|
+
const accumulators = new Map();
|
|
65180
|
+
columnsWithAgg.forEach(col => {
|
|
65181
|
+
const colId = col.getColId();
|
|
65182
|
+
accumulators.set(colId, { values: [], aggFunc: col.getColDef().aggFunc });
|
|
65183
|
+
});
|
|
65184
|
+
const recordsToAggregate = await this.getAllRecordsToAggregate();
|
|
65185
|
+
recordsToAggregate.forEach(record => {
|
|
65186
|
+
columnsWithAgg.forEach(col => {
|
|
65187
|
+
const colId = col.getColId();
|
|
65188
|
+
const value = record[colId];
|
|
65189
|
+
if (value != null) {
|
|
65190
|
+
accumulators.get(colId).values.push(value);
|
|
65191
|
+
}
|
|
65192
|
+
});
|
|
65193
|
+
});
|
|
65194
|
+
const totalRow = {};
|
|
65195
|
+
accumulators.forEach((acc, colId) => {
|
|
65196
|
+
try {
|
|
65197
|
+
const aggFn = resolveAggFunc(acc.aggFunc);
|
|
65198
|
+
totalRow[colId] = aggFn({ values: acc.values });
|
|
65199
|
+
}
|
|
65200
|
+
catch (error) {
|
|
65201
|
+
console.error(`Erro ao calcular agregação para coluna ${colId}:`, error);
|
|
65202
|
+
totalRow[colId] = null;
|
|
65203
|
+
}
|
|
65204
|
+
});
|
|
65205
|
+
const hasData = Object.values(totalRow).some(value => value !== null && value !== undefined && value !== 0 && !Number.isNaN(value));
|
|
65206
|
+
if (hasData) {
|
|
65207
|
+
api.setPinnedBottomRowData([totalRow]);
|
|
65208
|
+
}
|
|
65209
|
+
}
|
|
65210
|
+
async getAllRecordsToAggregate() {
|
|
65211
|
+
var _a, _b;
|
|
65212
|
+
if ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.allRecordsLoader) {
|
|
65213
|
+
return this._dataUnit.allRecordsLoader(this._dataUnit);
|
|
65214
|
+
}
|
|
65215
|
+
const paginationInfo = this._dataUnit.getPaginationInfo();
|
|
65216
|
+
if (!paginationInfo || !paginationInfo.total)
|
|
65217
|
+
return [];
|
|
65218
|
+
const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
|
|
65219
|
+
return (_b = response.records) !== null && _b !== void 0 ? _b : [];
|
|
65220
|
+
}
|
|
64414
65221
|
processFormatterCellCallback(params) {
|
|
64415
65222
|
const column = params.column.getColDef();
|
|
64416
65223
|
if (typeof column.valueFormatter === 'function') {
|
|
@@ -64576,6 +65383,8 @@ class AgGridController {
|
|
|
64576
65383
|
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
64577
65384
|
opt.onDragStopped = evt => this.onCallStateChange('columnMovedEnd', evt);
|
|
64578
65385
|
opt.onCellClicked = evt => this.onCellClicked(evt);
|
|
65386
|
+
opt.onGridReady = evt => this.onGridReady(evt);
|
|
65387
|
+
opt.onModelUpdated = async (evt) => this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
|
|
64579
65388
|
}
|
|
64580
65389
|
setOptionsSupress(opt) {
|
|
64581
65390
|
opt.suppressDragLeaveHidesColumns = true;
|
|
@@ -65098,9 +65907,12 @@ class AgGridController {
|
|
|
65098
65907
|
tooltip = this._i18n('ez-grid.columnCantBeOrder');
|
|
65099
65908
|
}
|
|
65100
65909
|
const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(constants.PRESENTATION_FROM_COL_PROP_NAME);
|
|
65910
|
+
const initialWidth = this.getInitialColumnWidth(source.userInterface, source.label);
|
|
65101
65911
|
return this._editionManager.configureColumn({
|
|
65102
65912
|
headerName: source.label,
|
|
65103
65913
|
field: source.name,
|
|
65914
|
+
width: initialWidth,
|
|
65915
|
+
aggFunc: this.getAggFunc(source),
|
|
65104
65916
|
sortable: propSortable,
|
|
65105
65917
|
resizable: true,
|
|
65106
65918
|
headerComponent: 'ezGridCustomHeader',
|
|
@@ -65142,6 +65954,10 @@ class AgGridController {
|
|
|
65142
65954
|
editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(constants.PRESENTATION_FROM_COL_PROP_NAME))
|
|
65143
65955
|
});
|
|
65144
65956
|
}
|
|
65957
|
+
getAggFunc(column) {
|
|
65958
|
+
var _a, _b;
|
|
65959
|
+
return (_b = (_a = column.props) === null || _a === void 0 ? void 0 : _a.get(this.COLUMN_FOOTER_OPER)) !== null && _b !== void 0 ? _b : column.aggFunc;
|
|
65960
|
+
}
|
|
65145
65961
|
setHTMLRender(params, source) {
|
|
65146
65962
|
const htmlSanitized = purify.purify.sanitize(params.value);
|
|
65147
65963
|
params.colDef.cellRenderer = (cellParams) => {
|
|
@@ -65397,6 +66213,22 @@ class AgGridController {
|
|
|
65397
66213
|
var _a;
|
|
65398
66214
|
this.observer.disconnect();
|
|
65399
66215
|
(_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66216
|
+
this.handleDestroyBottomPinnedRowSubscriber();
|
|
66217
|
+
this.handleDestroySetBottomPinnedRowDebounce();
|
|
66218
|
+
}
|
|
66219
|
+
handleDestroyBottomPinnedRowSubscriber() {
|
|
66220
|
+
var _a;
|
|
66221
|
+
if (this._bottomPinnedRowSubscriber) {
|
|
66222
|
+
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._bottomPinnedRowSubscriber);
|
|
66223
|
+
this._bottomPinnedRowSubscriber = null;
|
|
66224
|
+
}
|
|
66225
|
+
}
|
|
66226
|
+
handleDestroySetBottomPinnedRowDebounce() {
|
|
66227
|
+
if (this._pinnedBottomDebounceTimer != null) {
|
|
66228
|
+
clearTimeout(this._pinnedBottomDebounceTimer);
|
|
66229
|
+
this._pinnedBottomDebounceTimer = null;
|
|
66230
|
+
this._pinnedBottomPendingArgs = null;
|
|
66231
|
+
}
|
|
65400
66232
|
}
|
|
65401
66233
|
registryListeners() {
|
|
65402
66234
|
var _a;
|
|
@@ -65425,10 +66257,21 @@ class AgGridController {
|
|
|
65425
66257
|
}
|
|
65426
66258
|
const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
|
|
65427
66259
|
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;
|
|
65428
|
-
|
|
65429
|
-
|
|
66260
|
+
return this.getInitialColumnWidth(field === null || field === void 0 ? void 0 : field.userInterface, label);
|
|
66261
|
+
}
|
|
66262
|
+
getInitialColumnWidth(userInterface, label) {
|
|
66263
|
+
const columnWidthByLabel = this.getColumnWidthByLabel(label);
|
|
66264
|
+
const defaultWidth = this.getDefaultWidthByUserInterface(userInterface);
|
|
66265
|
+
if (!defaultWidth) {
|
|
66266
|
+
return columnWidthByLabel;
|
|
66267
|
+
}
|
|
66268
|
+
return Math.max(defaultWidth, columnWidthByLabel);
|
|
66269
|
+
}
|
|
66270
|
+
getDefaultWidthByUserInterface(userInterface) {
|
|
66271
|
+
if (!userInterface) {
|
|
66272
|
+
return undefined;
|
|
65430
66273
|
}
|
|
65431
|
-
return
|
|
66274
|
+
return GRID_COLUMN_DEFAULT_WIDTHS[userInterface];
|
|
65432
66275
|
}
|
|
65433
66276
|
getColumnWidthByLabel(label) {
|
|
65434
66277
|
const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
|