@sankhyalabs/ezui 7.0.2 → 7.1.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ApplicationUtils-5cc05979.js → ApplicationUtils-d04f5c94.js} +1 -1
- package/dist/cjs/{app-globals-2fbe4b17.js → app-globals-c128c97e.js} +1 -1
- package/dist/cjs/ez-actions-button.cjs.entry.js +2 -2
- 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-collapsible-box.cjs.entry.js +2 -2
- package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +3 -3
- package/dist/cjs/ez-combo-box.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/ez-form.cjs.entry.js +3 -3
- package/dist/cjs/ez-grid.cjs.entry.js +768 -108
- package/dist/cjs/ez-guide-navigator.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 +1 -1
- 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 +2 -2
- package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +41 -4
- 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 +1 -1
- package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
- 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-00d0166b.js} +3 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{purify-3dbde2f7.js → purify-47a2f27b.js} +1 -0
- package/dist/cjs/{search-column-39c6b195.js → search-column-9aa090ec.js} +2 -2
- package/dist/collection/components/ez-search/ez-search.js +74 -2
- package/dist/collection/utils/i18n/locales/en-us.js +1 -0
- package/dist/collection/utils/i18n/locales/es-es.js +1 -0
- package/dist/collection/utils/i18n/locales/pt-br.js +1 -0
- package/dist/custom-elements/index.js +809 -108
- package/dist/esm/{ApplicationUtils-1569f757.js → ApplicationUtils-12768f5a.js} +1 -1
- package/dist/esm/{app-globals-c0ac93c0.js → app-globals-9507c20e.js} +1 -1
- package/dist/esm/ez-actions-button.entry.js +2 -2
- 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-collapsible-box.entry.js +2 -2
- package/dist/esm/ez-combo-box-list_4.entry.js +3 -3
- package/dist/esm/ez-combo-box.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/ez-form.entry.js +3 -3
- package/dist/esm/ez-grid.entry.js +768 -108
- package/dist/esm/ez-guide-navigator.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 +1 -1
- 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 +2 -2
- package/dist/esm/ez-search-result-list.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +41 -4
- 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 +1 -1
- package/dist/esm/ez-split-item.entry.js +2 -2
- 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-62fc771e.js} +3 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{purify-2b94dec9.js → purify-dc6814bf.js} +1 -0
- package/dist/esm/{search-column-55666829.js → search-column-83562552.js} +2 -2
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-1f8775ef.entry.js → p-02f6e3b0.entry.js} +1 -1
- package/dist/ezui/p-0b333f09.entry.js +1 -0
- package/dist/ezui/{p-859e3134.entry.js → p-0c0eb410.entry.js} +1 -1
- package/dist/ezui/{p-0f7971cf.entry.js → p-124699e0.entry.js} +1 -1
- package/dist/ezui/{p-6ca0815e.entry.js → p-1266fe78.entry.js} +1 -1
- package/dist/ezui/p-14807f4e.js +1 -0
- package/dist/ezui/{p-18384b91.entry.js → p-1730ee24.entry.js} +1 -1
- package/dist/ezui/{p-8803e321.entry.js → p-191cfbc8.entry.js} +1 -1
- package/dist/ezui/{p-39761eca.entry.js → p-1adf7139.entry.js} +1 -1
- package/dist/ezui/{p-3ce867cf.entry.js → p-1bfef8e5.entry.js} +1 -1
- package/dist/ezui/{p-d6bb930d.entry.js → p-1cde96f9.entry.js} +1 -1
- package/dist/ezui/{p-a1c0233e.js → p-228a4d2f.js} +1 -1
- package/dist/ezui/{p-7f37ee99.entry.js → p-2a70f094.entry.js} +1 -1
- package/dist/ezui/{p-5c3a6717.entry.js → p-2ba2d792.entry.js} +1 -1
- package/dist/ezui/{p-23739494.entry.js → p-2df50161.entry.js} +1 -1
- package/dist/ezui/{p-9b215871.entry.js → p-3fe05d6b.entry.js} +1 -1
- package/dist/ezui/{p-778939b2.entry.js → p-4c4f0850.entry.js} +1 -1
- package/dist/ezui/{p-d75a50a7.entry.js → p-4e1df756.entry.js} +1 -1
- package/dist/ezui/{p-4314f87a.entry.js → p-59092a66.entry.js} +1 -1
- package/dist/ezui/{p-34a476a9.entry.js → p-59a98e31.entry.js} +1 -1
- package/dist/ezui/{p-baec56c9.js → p-5a11cf56.js} +1 -1
- package/dist/ezui/{p-d5eb2fad.entry.js → p-5ab08b60.entry.js} +1 -1
- package/dist/ezui/{p-57321fc3.js → p-623161e2.js} +1 -1
- package/dist/ezui/p-6369a0cd.entry.js +1 -0
- package/dist/ezui/{p-a61fdd20.js → p-641ee538.js} +1 -1
- package/dist/ezui/{p-ce0b36d7.entry.js → p-6a9a20a0.entry.js} +1 -1
- package/dist/ezui/{p-721fd999.entry.js → p-6f119d5f.entry.js} +1 -1
- package/dist/ezui/{p-a4083a7a.entry.js → p-79277e43.entry.js} +1 -1
- package/dist/ezui/{p-f1de2cd6.entry.js → p-8bb3aeb0.entry.js} +1 -1
- package/dist/ezui/{p-35bfaa88.entry.js → p-8dc267ff.entry.js} +1 -1
- package/dist/ezui/{p-6c51ccd1.entry.js → p-957d08cd.entry.js} +1 -1
- package/dist/ezui/{p-b989a33e.entry.js → p-a401041c.entry.js} +1 -1
- package/dist/ezui/{p-9b3f3c02.entry.js → p-a7eab406.entry.js} +1 -1
- package/dist/ezui/{p-79abad9e.entry.js → p-bd6146c5.entry.js} +1 -1
- package/dist/ezui/{p-1ba2d983.entry.js → p-c943f7c4.entry.js} +1 -1
- package/dist/ezui/{p-1b5aa969.entry.js → p-d0e6911e.entry.js} +1 -1
- package/dist/ezui/p-d66bf34e.entry.js +309 -0
- package/dist/ezui/{p-14ceb733.entry.js → p-e27d7dc2.entry.js} +1 -1
- package/dist/ezui/{p-5d910b14.entry.js → p-e46a4d06.entry.js} +1 -1
- package/dist/ezui/{p-05c32903.entry.js → p-e882635e.entry.js} +1 -1
- package/dist/ezui/{p-3afa1c6e.entry.js → p-e8c6c973.entry.js} +1 -1
- package/dist/ezui/{p-02d448bb.entry.js → p-e99cbb51.entry.js} +1 -1
- package/dist/ezui/{p-2c21b2b6.entry.js → p-eee3c7ff.entry.js} +1 -1
- package/dist/types/components/ez-search/ez-search.d.ts +11 -0
- package/dist/types/components.d.ts +16 -0
- package/dist/types/utils/i18n/locales/en-us.d.ts +1 -0
- package/dist/types/utils/i18n/locales/es-es.d.ts +1 -0
- package/dist/types/utils/i18n/locales/pt-br.d.ts +1 -0
- package/dist/types/utils/i18n/translations.d.ts +3 -0
- package/package.json +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-3dbde2f7.js.gz +0 -0
- package/dist/cjs/search-column-39c6b195.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-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-2b94dec9.js.gz +0 -0
- package/dist/esm/search-column-55666829.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-0e49c0ff.entry.js.gz +0 -0
- package/dist/ezui/p-0f7971cf.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.gz +0 -0
- package/dist/ezui/p-1b5aa969.entry.js.gz +0 -0
- package/dist/ezui/p-1ba2d983.entry.js.gz +0 -0
- package/dist/ezui/p-1dfe17a1.entry.js +0 -309
- package/dist/ezui/p-1dfe17a1.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-1f8775ef.entry.js.gz +0 -0
- package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
- package/dist/ezui/p-23739494.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-288631d1.entry.js.gz +0 -0
- package/dist/ezui/p-2a806303.js.gz +0 -0
- package/dist/ezui/p-2c21b2b6.entry.js.gz +0 -0
- package/dist/ezui/p-30ffb9ed.js.gz +0 -0
- package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
- 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.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.gz +0 -0
- package/dist/ezui/p-48effc69.entry.js.gz +0 -0
- package/dist/ezui/p-4d30b703.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-57321fc3.js.gz +0 -0
- package/dist/ezui/p-5c3a6717.entry.js.gz +0 -0
- package/dist/ezui/p-5d910b14.entry.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.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-778939b2.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-79abad9e.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-7f8c1fce.entry.js.gz +0 -0
- 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-8803e321.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-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9b215871.entry.js.gz +0 -0
- 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-a1c0233e.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-a80b1287.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-b0a7713d.entry.js +0 -1
- package/dist/ezui/p-b0a7713d.entry.js.gz +0 -0
- package/dist/ezui/p-b1e45320.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-ba7e908a.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-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-d75a50a7.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-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-ec7db713.js.gz +0 -0
- package/dist/ezui/p-ef8bd3e8.entry.js.gz +0 -0
- package/dist/ezui/p-f1de2cd6.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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
2
|
import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, KeyboardManager } from '@sankhyalabs/core';
|
|
3
3
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
4
|
-
import { A as ApplicationUtils } from './ApplicationUtils-
|
|
4
|
+
import { A as ApplicationUtils } from './ApplicationUtils-12768f5a.js';
|
|
5
5
|
import './DialogType-54a62731.js';
|
|
6
6
|
import './CheckMode-bdb2ec19.js';
|
|
7
|
-
import { g as getI18n, i as initI18n } from './index-
|
|
7
|
+
import { g as getI18n, i as initI18n } from './index-62fc771e.js';
|
|
8
8
|
import { C as CustomEditorSource, a as CustomRenderSource } from './FormLayout-071d324c.js';
|
|
9
|
-
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-
|
|
9
|
+
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-83562552.js';
|
|
10
10
|
import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
|
|
11
11
|
import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
|
|
12
|
-
import { p as purify } from './purify-
|
|
12
|
+
import { p as purify } from './purify-dc6814bf.js';
|
|
13
13
|
import './_commonjsHelpers-9943807e.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -435,6 +435,7 @@ function removeAllReferences(obj, objectName) {
|
|
|
435
435
|
// leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
|
|
436
436
|
if (typeof value === 'function') {
|
|
437
437
|
var func = function () {
|
|
438
|
+
console.warn("AG Grid: " + objectName + " function " + key + "() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.");
|
|
438
439
|
};
|
|
439
440
|
properties[key] = { value: func, writable: true };
|
|
440
441
|
}
|
|
@@ -605,6 +606,9 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
|
|
|
605
606
|
window.clearInterval(interval);
|
|
606
607
|
interval = null;
|
|
607
608
|
}
|
|
609
|
+
if (reachedTimeout && timeoutMessage) {
|
|
610
|
+
console.warn(timeoutMessage);
|
|
611
|
+
}
|
|
608
612
|
}
|
|
609
613
|
};
|
|
610
614
|
internalCallback();
|
|
@@ -706,9 +710,14 @@ var Context = /** @class */ (function () {
|
|
|
706
710
|
Context.prototype.createBeanWrapper = function (BeanClass) {
|
|
707
711
|
var metaData = BeanClass.__agBeanMetaData;
|
|
708
712
|
if (!metaData) {
|
|
713
|
+
var beanName = void 0;
|
|
709
714
|
if (BeanClass.prototype.constructor) {
|
|
710
|
-
getFunctionName(BeanClass.prototype.constructor);
|
|
715
|
+
beanName = getFunctionName(BeanClass.prototype.constructor);
|
|
716
|
+
}
|
|
717
|
+
else {
|
|
718
|
+
beanName = "" + BeanClass;
|
|
711
719
|
}
|
|
720
|
+
console.error("Context item " + beanName + " is not a bean");
|
|
712
721
|
return;
|
|
713
722
|
}
|
|
714
723
|
var beanEntry = {
|
|
@@ -780,6 +789,7 @@ var Context = /** @class */ (function () {
|
|
|
780
789
|
return beansList;
|
|
781
790
|
};
|
|
782
791
|
Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
|
|
792
|
+
if (optional === void 0) { optional = false; }
|
|
783
793
|
if (beanName === "context") {
|
|
784
794
|
return this;
|
|
785
795
|
}
|
|
@@ -790,6 +800,9 @@ var Context = /** @class */ (function () {
|
|
|
790
800
|
if (beanEntry) {
|
|
791
801
|
return beanEntry.beanInstance;
|
|
792
802
|
}
|
|
803
|
+
if (!optional) {
|
|
804
|
+
console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
|
|
805
|
+
}
|
|
793
806
|
return null;
|
|
794
807
|
};
|
|
795
808
|
Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
|
|
@@ -896,9 +909,11 @@ function Optional(name) {
|
|
|
896
909
|
}
|
|
897
910
|
function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
|
|
898
911
|
if (name === null) {
|
|
912
|
+
console.error("AG Grid: Autowired name should not be null");
|
|
899
913
|
return;
|
|
900
914
|
}
|
|
901
915
|
if (typeof index === "number") {
|
|
916
|
+
console.error("AG Grid: Autowired should be on an attribute");
|
|
902
917
|
return;
|
|
903
918
|
}
|
|
904
919
|
// it's an attribute on the class
|
|
@@ -1230,6 +1245,8 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1230
1245
|
else {
|
|
1231
1246
|
if (ModuleRegistry.moduleBased !== moduleBased) {
|
|
1232
1247
|
doOnce(function () {
|
|
1248
|
+
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.");
|
|
1249
|
+
console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
|
|
1233
1250
|
}, 'ModulePackageCheck');
|
|
1234
1251
|
}
|
|
1235
1252
|
}
|
|
@@ -1247,7 +1264,15 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1247
1264
|
return true;
|
|
1248
1265
|
}
|
|
1249
1266
|
var warningKey = reason + moduleName;
|
|
1267
|
+
var warningMessage;
|
|
1268
|
+
if (ModuleRegistry.moduleBased) {
|
|
1269
|
+
warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
|
|
1270
|
+
}
|
|
1271
|
+
else {
|
|
1272
|
+
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/";
|
|
1273
|
+
}
|
|
1250
1274
|
doOnce(function () {
|
|
1275
|
+
console.warn(warningMessage);
|
|
1251
1276
|
}, warningKey);
|
|
1252
1277
|
return false;
|
|
1253
1278
|
};
|
|
@@ -1440,9 +1465,11 @@ var Column = /** @class */ (function () {
|
|
|
1440
1465
|
var colDefAny = this.colDef;
|
|
1441
1466
|
function warnOnce(msg, key, obj) {
|
|
1442
1467
|
doOnce(function () {
|
|
1443
|
-
if (obj)
|
|
1468
|
+
if (obj) {
|
|
1469
|
+
console.warn(msg, obj);
|
|
1470
|
+
}
|
|
1444
1471
|
else {
|
|
1445
|
-
doOnce(function () { return (
|
|
1472
|
+
doOnce(function () { return console.warn(msg); }, key);
|
|
1446
1473
|
}
|
|
1447
1474
|
}, key);
|
|
1448
1475
|
}
|
|
@@ -1910,16 +1937,19 @@ var Column = /** @class */ (function () {
|
|
|
1910
1937
|
// this used to be needed, as previous version of ag-grid had lockPosition as column state,
|
|
1911
1938
|
// so couldn't depend on colDef version.
|
|
1912
1939
|
Column.prototype.isLockPosition = function () {
|
|
1940
|
+
console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
|
|
1913
1941
|
return this.colDef ? !!this.colDef.lockPosition : false;
|
|
1914
1942
|
};
|
|
1915
1943
|
// this used to be needed, as previous version of ag-grid had lockVisible as column state,
|
|
1916
1944
|
// so couldn't depend on colDef version.
|
|
1917
1945
|
Column.prototype.isLockVisible = function () {
|
|
1946
|
+
console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
|
|
1918
1947
|
return this.colDef ? !!this.colDef.lockVisible : false;
|
|
1919
1948
|
};
|
|
1920
1949
|
// this used to be needed, as previous version of ag-grid had lockPinned as column state,
|
|
1921
1950
|
// so couldn't depend on colDef version.
|
|
1922
1951
|
Column.prototype.isLockPinned = function () {
|
|
1952
|
+
console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
|
|
1923
1953
|
return this.colDef ? !!this.colDef.lockPinned : false;
|
|
1924
1954
|
};
|
|
1925
1955
|
// + renderedHeaderCell - for making header cell transparent when moving
|
|
@@ -2315,6 +2345,7 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2315
2345
|
};
|
|
2316
2346
|
/** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
|
|
2317
2347
|
ColumnGroup.prototype.getOriginalColumnGroup = function () {
|
|
2348
|
+
console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
|
|
2318
2349
|
return this.getProvidedColumnGroup();
|
|
2319
2350
|
};
|
|
2320
2351
|
ColumnGroup.prototype.getPaddingLevel = function () {
|
|
@@ -3190,7 +3221,9 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3190
3221
|
var typeKeys = [];
|
|
3191
3222
|
if (type instanceof Array) {
|
|
3192
3223
|
var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
|
|
3193
|
-
if (invalidArray)
|
|
3224
|
+
if (invalidArray) {
|
|
3225
|
+
console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
|
|
3226
|
+
}
|
|
3194
3227
|
else {
|
|
3195
3228
|
typeKeys = type;
|
|
3196
3229
|
}
|
|
@@ -3199,13 +3232,16 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3199
3232
|
typeKeys = type.split(',');
|
|
3200
3233
|
}
|
|
3201
3234
|
else {
|
|
3235
|
+
console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
|
|
3202
3236
|
return;
|
|
3203
3237
|
}
|
|
3204
3238
|
// merge user defined with default column types
|
|
3205
3239
|
var allColumnTypes = Object.assign({}, DefaultColumnTypes);
|
|
3206
3240
|
var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
|
|
3207
3241
|
iterateObject(userTypes, function (key, value) {
|
|
3208
|
-
if (key in allColumnTypes)
|
|
3242
|
+
if (key in allColumnTypes) {
|
|
3243
|
+
console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
|
|
3244
|
+
}
|
|
3209
3245
|
else {
|
|
3210
3246
|
allColumnTypes[key] = value;
|
|
3211
3247
|
}
|
|
@@ -3215,12 +3251,34 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3215
3251
|
if (typeColDef) {
|
|
3216
3252
|
mergeDeep(colDefMerged, typeColDef, false, true);
|
|
3217
3253
|
}
|
|
3254
|
+
else {
|
|
3255
|
+
console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
|
|
3256
|
+
}
|
|
3218
3257
|
});
|
|
3219
3258
|
};
|
|
3220
3259
|
ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
|
|
3221
3260
|
if (colDef) {
|
|
3222
3261
|
var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
|
|
3262
|
+
if (colDefNoType.group !== undefined) {
|
|
3263
|
+
console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3264
|
+
}
|
|
3265
|
+
if (colDefNoType.headerGroup !== undefined) {
|
|
3266
|
+
console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3267
|
+
}
|
|
3268
|
+
if (colDefNoType.headerGroupShow !== undefined) {
|
|
3269
|
+
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');
|
|
3270
|
+
}
|
|
3271
|
+
if (colDefNoType.suppressRowGroup !== undefined) {
|
|
3272
|
+
console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
|
|
3273
|
+
}
|
|
3274
|
+
if (colDefNoType.suppressAggregation !== undefined) {
|
|
3275
|
+
console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
|
|
3276
|
+
}
|
|
3277
|
+
if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
|
|
3278
|
+
console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
|
|
3279
|
+
}
|
|
3223
3280
|
if (colDefNoType.displayName) {
|
|
3281
|
+
console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
|
|
3224
3282
|
colDefNoType.headerName = colDefNoType.displayName;
|
|
3225
3283
|
}
|
|
3226
3284
|
}
|
|
@@ -4282,6 +4340,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4282
4340
|
toParse.forEach(function (key) {
|
|
4283
4341
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
|
|
4284
4342
|
if (!lookupResult) {
|
|
4343
|
+
console.warn("AG Grid: the key " + key + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
|
|
4285
4344
|
return;
|
|
4286
4345
|
}
|
|
4287
4346
|
comps_1.push(lookupResult);
|
|
@@ -4312,6 +4371,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4312
4371
|
if (typeof it === 'string') {
|
|
4313
4372
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
|
|
4314
4373
|
if (!lookupResult) {
|
|
4374
|
+
console.warn("AG Grid: the key " + it + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
|
|
4315
4375
|
return;
|
|
4316
4376
|
}
|
|
4317
4377
|
toAdd = lookupResult;
|
|
@@ -4908,6 +4968,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4908
4968
|
this.destroyed = true;
|
|
4909
4969
|
};
|
|
4910
4970
|
GridOptionsWrapper.prototype.init = function () {
|
|
4971
|
+
var _this = this;
|
|
4911
4972
|
if (this.gridOptions.suppressPropertyNamesCheck !== true) {
|
|
4912
4973
|
this.checkGridOptionsProperties();
|
|
4913
4974
|
this.checkColumnDefProperties();
|
|
@@ -4918,26 +4979,61 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4918
4979
|
}
|
|
4919
4980
|
var async = this.useAsyncEvents();
|
|
4920
4981
|
this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
|
|
4921
|
-
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes())
|
|
4982
|
+
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {
|
|
4983
|
+
console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
|
|
4984
|
+
}
|
|
4922
4985
|
if (this.isGroupSelectsChildren()) {
|
|
4923
|
-
if (!this.isRowSelectionMulti())
|
|
4924
|
-
|
|
4986
|
+
if (!this.isRowSelectionMulti()) {
|
|
4987
|
+
console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense");
|
|
4988
|
+
}
|
|
4989
|
+
if (this.isRowModelServerSide()) {
|
|
4990
|
+
console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
|
|
4991
|
+
'This is because the rows are lazy loaded, so selecting a group is not possible as' +
|
|
4992
|
+
'the grid has no way of knowing what the children are.');
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
|
|
4996
|
+
console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!");
|
|
4925
4997
|
}
|
|
4926
|
-
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
|
|
4927
4998
|
if (this.isRowModelServerSide()) {
|
|
4928
|
-
|
|
4929
|
-
if (exists(this.gridOptions.groupDefaultExpanded))
|
|
4930
|
-
|
|
4999
|
+
var msg = function (prop) { return "AG Grid: '" + prop + "' is not supported on the Server-Side Row Model"; };
|
|
5000
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5001
|
+
console.warn(msg('groupDefaultExpanded'));
|
|
5002
|
+
}
|
|
5003
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5004
|
+
console.warn(msg('groupIncludeFooter'));
|
|
5005
|
+
}
|
|
5006
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5007
|
+
console.warn(msg('groupIncludeTotalFooter'));
|
|
5008
|
+
}
|
|
4931
5009
|
}
|
|
4932
5010
|
if (isTrue(this.gridOptions.enableRangeSelection)) {
|
|
4933
5011
|
ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
|
|
4934
5012
|
}
|
|
4935
|
-
else if (this.isEnableRangeHandle() || this.isEnableFillHandle())
|
|
5013
|
+
else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {
|
|
5014
|
+
console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
|
|
5015
|
+
}
|
|
4936
5016
|
if (this.isGroupRowsSticky()) {
|
|
4937
|
-
if (this.isGroupHideOpenParents())
|
|
4938
|
-
|
|
4939
|
-
|
|
5017
|
+
if (this.isGroupHideOpenParents()) {
|
|
5018
|
+
console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.");
|
|
5019
|
+
}
|
|
5020
|
+
if (this.isMasterDetail()) {
|
|
5021
|
+
console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
|
|
5022
|
+
}
|
|
5023
|
+
if (this.isPagination()) {
|
|
5024
|
+
console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
|
|
5025
|
+
}
|
|
4940
5026
|
}
|
|
5027
|
+
var warnOfDeprecaredIcon = function (name) {
|
|
5028
|
+
if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
|
|
5029
|
+
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/");
|
|
5030
|
+
}
|
|
5031
|
+
};
|
|
5032
|
+
warnOfDeprecaredIcon('radioButtonOff');
|
|
5033
|
+
warnOfDeprecaredIcon('radioButtonOn');
|
|
5034
|
+
warnOfDeprecaredIcon('checkboxChecked');
|
|
5035
|
+
warnOfDeprecaredIcon('checkboxUnchecked');
|
|
5036
|
+
warnOfDeprecaredIcon('checkboxIndeterminate');
|
|
4941
5037
|
// sets an initial calculation for the scrollbar width
|
|
4942
5038
|
this.getScrollbarWidth();
|
|
4943
5039
|
};
|
|
@@ -4961,7 +5057,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4961
5057
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
4962
5058
|
var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
|
|
4963
5059
|
iterateObject(invalidProperties, function (key, value) {
|
|
5060
|
+
console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
|
|
4964
5061
|
});
|
|
5062
|
+
if (Object.keys(invalidProperties).length > 0) {
|
|
5063
|
+
console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
|
|
5064
|
+
}
|
|
4965
5065
|
};
|
|
4966
5066
|
/**
|
|
4967
5067
|
* Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
|
|
@@ -5220,7 +5320,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5220
5320
|
];
|
|
5221
5321
|
if (validLayouts.indexOf(domLayout) === -1) {
|
|
5222
5322
|
doOnce(function () {
|
|
5223
|
-
return (
|
|
5323
|
+
return console.warn("AG Grid: " + domLayout + " is not valid for DOM Layout, valid values are " + Constants.DOM_LAYOUT_NORMAL + ", " + Constants.DOM_LAYOUT_AUTO_HEIGHT + " and " + Constants.DOM_LAYOUT_PRINT);
|
|
5224
5324
|
}, 'warn about dom layout values');
|
|
5225
5325
|
return Constants.DOM_LAYOUT_NORMAL;
|
|
5226
5326
|
}
|
|
@@ -5615,7 +5715,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5615
5715
|
return 'xy';
|
|
5616
5716
|
}
|
|
5617
5717
|
if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
|
|
5618
|
-
doOnce(function () { return (
|
|
5718
|
+
doOnce(function () { return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'."); }, 'warn invalid fill direction');
|
|
5619
5719
|
return 'xy';
|
|
5620
5720
|
}
|
|
5621
5721
|
return direction;
|
|
@@ -5714,6 +5814,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5714
5814
|
};
|
|
5715
5815
|
GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
|
|
5716
5816
|
if (this.gridOptions.defaultExportParams) {
|
|
5817
|
+
console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
|
|
5717
5818
|
if (type === 'csv') {
|
|
5718
5819
|
return this.gridOptions.defaultExportParams;
|
|
5719
5820
|
}
|
|
@@ -5846,7 +5947,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5846
5947
|
GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
|
|
5847
5948
|
var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
|
|
5848
5949
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5849
|
-
doOnce(function () { return (
|
|
5950
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');
|
|
5850
5951
|
return false;
|
|
5851
5952
|
}
|
|
5852
5953
|
return isEnabled;
|
|
@@ -5854,7 +5955,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5854
5955
|
GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
|
|
5855
5956
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
|
|
5856
5957
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5857
|
-
doOnce(function () { return (
|
|
5958
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');
|
|
5858
5959
|
return false;
|
|
5859
5960
|
}
|
|
5860
5961
|
return isEnabled;
|
|
@@ -5862,11 +5963,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5862
5963
|
GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
|
|
5863
5964
|
var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
|
|
5864
5965
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5865
|
-
doOnce(function () { return (
|
|
5966
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');
|
|
5866
5967
|
return false;
|
|
5867
5968
|
}
|
|
5868
5969
|
if (this.isTreeData() && isEnabled) {
|
|
5869
|
-
doOnce(function () { return (
|
|
5970
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');
|
|
5870
5971
|
return false;
|
|
5871
5972
|
}
|
|
5872
5973
|
return isEnabled;
|
|
@@ -5874,11 +5975,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5874
5975
|
GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
|
|
5875
5976
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
|
|
5876
5977
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5877
|
-
doOnce(function () { return (
|
|
5978
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');
|
|
5878
5979
|
return false;
|
|
5879
5980
|
}
|
|
5880
5981
|
if (this.isTreeData() && isEnabled) {
|
|
5881
|
-
doOnce(function () { return (
|
|
5982
|
+
doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');
|
|
5882
5983
|
return false;
|
|
5883
5984
|
}
|
|
5884
5985
|
return isEnabled;
|
|
@@ -5987,7 +6088,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5987
6088
|
var capitalisedType = capitalise(type);
|
|
5988
6089
|
if (exists(delay)) {
|
|
5989
6090
|
if (delay < 0) {
|
|
5990
|
-
doOnce(function () { return (
|
|
6091
|
+
doOnce(function () { return console.warn("ag-grid: tooltip" + capitalisedType + "Delay should not be lower than 0"); }, "tooltip" + capitalisedType + "DelayWarn");
|
|
5991
6092
|
}
|
|
5992
6093
|
return Math.max(200, delay);
|
|
5993
6094
|
}
|
|
@@ -6038,7 +6139,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6038
6139
|
var rowBuffer = this.gridOptions.rowBuffer;
|
|
6039
6140
|
if (typeof rowBuffer === 'number') {
|
|
6040
6141
|
if (rowBuffer < 0) {
|
|
6041
|
-
doOnce(function () { return (
|
|
6142
|
+
doOnce(function () { return console.warn("AG Grid: rowBuffer should not be negative"); }, 'warn rowBuffer negative');
|
|
6042
6143
|
this.gridOptions.rowBuffer = rowBuffer = 0;
|
|
6043
6144
|
}
|
|
6044
6145
|
}
|
|
@@ -6072,23 +6173,45 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6072
6173
|
// casting to generic object, so typescript compiles even though
|
|
6073
6174
|
// we are looking for attributes that don't exist
|
|
6074
6175
|
var options = this.gridOptions;
|
|
6176
|
+
if (options.deprecatedEmbedFullWidthRows) {
|
|
6177
|
+
console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
|
|
6178
|
+
}
|
|
6179
|
+
if (options.rowDeselection) {
|
|
6180
|
+
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.');
|
|
6181
|
+
}
|
|
6075
6182
|
if (options.enableMultiRowDragging) {
|
|
6076
6183
|
options.rowDragMultiRow = true;
|
|
6077
6184
|
delete options.enableMultiRowDragging;
|
|
6185
|
+
console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
|
|
6078
6186
|
}
|
|
6079
6187
|
var checkRenamedProperty = function (oldProp, newProp, version) {
|
|
6080
6188
|
if (options[oldProp] != null) {
|
|
6189
|
+
console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
|
|
6081
6190
|
if (options[newProp] == null) {
|
|
6082
6191
|
options[newProp] = options[oldProp];
|
|
6083
6192
|
}
|
|
6084
6193
|
}
|
|
6085
6194
|
};
|
|
6086
|
-
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
|
|
6087
|
-
checkRenamedProperty('deltaRowDataMode', 'immutableData');
|
|
6088
|
-
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
|
|
6089
|
-
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
|
|
6090
|
-
|
|
6195
|
+
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');
|
|
6196
|
+
checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');
|
|
6197
|
+
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');
|
|
6198
|
+
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');
|
|
6199
|
+
if (options.immutableColumns || options.deltaColumnMode) {
|
|
6200
|
+
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');
|
|
6201
|
+
}
|
|
6202
|
+
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
|
|
6091
6203
|
if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
|
|
6204
|
+
console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
|
|
6205
|
+
console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
|
|
6206
|
+
console.warn(' For example instead of this:');
|
|
6207
|
+
console.warn(' groupRowInnerRenderer: "myRenderer"');
|
|
6208
|
+
console.warn(' groupRowInnerRendererParams: {x: a}');
|
|
6209
|
+
console.warn(' Replace with this:');
|
|
6210
|
+
console.warn(' groupRowRendererParams: {');
|
|
6211
|
+
console.warn(' innerRenderer: "myRenderer",');
|
|
6212
|
+
console.warn(' innerRendererParams: {x: a}');
|
|
6213
|
+
console.warn(' }');
|
|
6214
|
+
console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
|
|
6092
6215
|
if (!options.groupRowRendererParams) {
|
|
6093
6216
|
options.groupRowRendererParams = {};
|
|
6094
6217
|
}
|
|
@@ -6103,36 +6226,105 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6103
6226
|
params.innerRendererFramework = options.groupRowInnerRendererFramework;
|
|
6104
6227
|
}
|
|
6105
6228
|
}
|
|
6229
|
+
if (options.rememberGroupStateWhenNewData) {
|
|
6230
|
+
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.');
|
|
6231
|
+
}
|
|
6106
6232
|
if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
|
|
6233
|
+
console.warn('AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer');
|
|
6107
6234
|
options.detailRowAutoHeight = true;
|
|
6108
6235
|
}
|
|
6236
|
+
if (options.suppressKeyboardEvent) {
|
|
6237
|
+
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.");
|
|
6238
|
+
}
|
|
6239
|
+
if (options.suppressEnterpriseResetOnNewColumns) {
|
|
6240
|
+
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.');
|
|
6241
|
+
}
|
|
6242
|
+
if (options.suppressColumnStateEvents) {
|
|
6243
|
+
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');
|
|
6244
|
+
}
|
|
6245
|
+
if (options.defaultExportParams) {
|
|
6246
|
+
console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
|
|
6247
|
+
}
|
|
6109
6248
|
if (options.stopEditingWhenGridLosesFocus) {
|
|
6249
|
+
console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
|
|
6110
6250
|
options.stopEditingWhenCellsLoseFocus = true;
|
|
6111
6251
|
}
|
|
6252
|
+
if (options.applyColumnDefOrder) {
|
|
6253
|
+
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');
|
|
6254
|
+
}
|
|
6112
6255
|
if (options.groupMultiAutoColumn) {
|
|
6256
|
+
console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
|
|
6113
6257
|
options.groupDisplayType = 'multipleColumns';
|
|
6114
6258
|
}
|
|
6115
6259
|
if (options.groupUseEntireRow) {
|
|
6260
|
+
console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
|
|
6116
6261
|
options.groupDisplayType = 'groupRows';
|
|
6117
6262
|
}
|
|
6118
6263
|
if (options.groupSuppressAutoColumn) {
|
|
6264
|
+
var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
|
|
6265
|
+
console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
|
|
6119
6266
|
options.groupDisplayType = 'custom';
|
|
6120
6267
|
}
|
|
6268
|
+
if (options.defaultGroupOrderComparator) {
|
|
6269
|
+
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.");
|
|
6270
|
+
}
|
|
6121
6271
|
if (options.defaultGroupSortComparator) {
|
|
6272
|
+
console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
|
|
6122
6273
|
options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
|
|
6123
6274
|
}
|
|
6275
|
+
if (options.groupRowAggNodes) {
|
|
6276
|
+
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.");
|
|
6277
|
+
}
|
|
6278
|
+
if (options.postSort) {
|
|
6279
|
+
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.");
|
|
6280
|
+
}
|
|
6281
|
+
if (options.isFullWidthCell) {
|
|
6282
|
+
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.");
|
|
6283
|
+
}
|
|
6284
|
+
if (options.localeTextFunc) {
|
|
6285
|
+
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.");
|
|
6286
|
+
}
|
|
6287
|
+
if (options.colWidth) {
|
|
6288
|
+
console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
|
|
6289
|
+
}
|
|
6290
|
+
if (options.minColWidth) {
|
|
6291
|
+
console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
|
|
6292
|
+
}
|
|
6293
|
+
if (options.maxColWidth) {
|
|
6294
|
+
console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
|
|
6295
|
+
}
|
|
6296
|
+
if (options.reactUi) {
|
|
6297
|
+
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.');
|
|
6298
|
+
}
|
|
6299
|
+
if (options.suppressReactUi) {
|
|
6300
|
+
console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
|
|
6301
|
+
}
|
|
6124
6302
|
if (options.suppressCellSelection) {
|
|
6303
|
+
console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
|
|
6125
6304
|
options.suppressCellFocus = options.suppressCellSelection;
|
|
6126
6305
|
}
|
|
6306
|
+
if (options.getRowNodeId) {
|
|
6307
|
+
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.');
|
|
6308
|
+
}
|
|
6309
|
+
if (options.immutableData) {
|
|
6310
|
+
if (options.getRowId) {
|
|
6311
|
+
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`.');
|
|
6312
|
+
}
|
|
6313
|
+
else {
|
|
6314
|
+
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
|
|
6315
|
+
}
|
|
6316
|
+
}
|
|
6127
6317
|
if (options.clipboardDeliminator) {
|
|
6318
|
+
console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
|
|
6128
6319
|
options.clipboardDelimiter = options.clipboardDeliminator;
|
|
6129
6320
|
}
|
|
6130
|
-
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
|
|
6131
|
-
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
|
|
6321
|
+
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');
|
|
6322
|
+
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');
|
|
6132
6323
|
if (options.serverSideStoreType) {
|
|
6324
|
+
console.warn('AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store.');
|
|
6133
6325
|
options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
|
|
6134
6326
|
}
|
|
6135
|
-
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
|
|
6327
|
+
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');
|
|
6136
6328
|
};
|
|
6137
6329
|
GridOptionsWrapper.prototype.checkForViolations = function () {
|
|
6138
6330
|
if (this.isTreeData()) {
|
|
@@ -6141,11 +6333,20 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6141
6333
|
};
|
|
6142
6334
|
GridOptionsWrapper.prototype.treeDataViolations = function () {
|
|
6143
6335
|
if (this.isRowModelDefault()) {
|
|
6144
|
-
if (missing(this.getDataPathFunc()))
|
|
6336
|
+
if (missing(this.getDataPathFunc())) {
|
|
6337
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
|
|
6338
|
+
'provide getDataPath function, please provide getDataPath function if using tree data.');
|
|
6339
|
+
}
|
|
6145
6340
|
}
|
|
6146
6341
|
if (this.isRowModelServerSide()) {
|
|
6147
|
-
if (missing(this.getIsServerSideGroupFunc()))
|
|
6148
|
-
|
|
6342
|
+
if (missing(this.getIsServerSideGroupFunc())) {
|
|
6343
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6344
|
+
'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
|
|
6345
|
+
}
|
|
6346
|
+
if (missing(this.getServerSideGroupKeyFunc())) {
|
|
6347
|
+
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6348
|
+
'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
|
|
6349
|
+
}
|
|
6149
6350
|
}
|
|
6150
6351
|
};
|
|
6151
6352
|
GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
|
|
@@ -6214,6 +6415,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6214
6415
|
this.setRowHeightVariable(rowHeight);
|
|
6215
6416
|
return rowHeight;
|
|
6216
6417
|
}
|
|
6418
|
+
console.warn('AG Grid row height must be a number if not using standard row model');
|
|
6217
6419
|
return this.getDefaultRowHeight();
|
|
6218
6420
|
};
|
|
6219
6421
|
GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
|
|
@@ -6238,7 +6440,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6238
6440
|
var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
|
|
6239
6441
|
if (this.isNumeric(height)) {
|
|
6240
6442
|
if (height === 0) {
|
|
6241
|
-
doOnce(function () { return (
|
|
6443
|
+
doOnce(function () { return console.warn('AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.'); }, 'invalidRowHeight');
|
|
6242
6444
|
}
|
|
6243
6445
|
return { height: Math.max(1, height), estimated: false };
|
|
6244
6446
|
}
|
|
@@ -6283,6 +6485,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6283
6485
|
GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
|
|
6284
6486
|
var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
|
|
6285
6487
|
if (groupDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6488
|
+
console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
|
|
6286
6489
|
return false;
|
|
6287
6490
|
}
|
|
6288
6491
|
return supplied === toMatch;
|
|
@@ -6290,6 +6493,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6290
6493
|
GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
|
|
6291
6494
|
var treeDataDisplayTypeValues = ['auto', 'custom'];
|
|
6292
6495
|
if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6496
|
+
console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
|
|
6293
6497
|
return false;
|
|
6294
6498
|
}
|
|
6295
6499
|
return supplied === toMatch;
|
|
@@ -6674,6 +6878,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6674
6878
|
};
|
|
6675
6879
|
ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
|
|
6676
6880
|
if (pivot && this.gridOptionsWrapper.isTreeData()) {
|
|
6881
|
+
console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
|
|
6677
6882
|
return false;
|
|
6678
6883
|
}
|
|
6679
6884
|
return true;
|
|
@@ -7304,6 +7509,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7304
7509
|
if (loopCount > 1000) {
|
|
7305
7510
|
// this should never happen, but in the future, someone might introduce a bug here,
|
|
7306
7511
|
// so we stop the browser from hanging and report bug properly
|
|
7512
|
+
console.error('AG Grid: infinite loop in resizeColumnSets');
|
|
7307
7513
|
return "break";
|
|
7308
7514
|
}
|
|
7309
7515
|
finishedColsGrew = false;
|
|
@@ -7421,6 +7627,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7421
7627
|
if (source === void 0) { source = "api"; }
|
|
7422
7628
|
this.columnAnimationService.start();
|
|
7423
7629
|
if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
|
|
7630
|
+
console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
|
|
7631
|
+
console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
|
|
7424
7632
|
return;
|
|
7425
7633
|
}
|
|
7426
7634
|
// we want to pull all the columns out first and put them into an ordered list
|
|
@@ -7673,6 +7881,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7673
7881
|
ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
|
|
7674
7882
|
if (source === void 0) { source = "api"; }
|
|
7675
7883
|
if (this.gridOptionsWrapper.getDomLayout() === 'print') {
|
|
7884
|
+
console.warn("Changing the column pinning status is not allowed with domLayout='print'");
|
|
7676
7885
|
return;
|
|
7677
7886
|
}
|
|
7678
7887
|
this.columnAnimationService.start();
|
|
@@ -7942,6 +8151,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7942
8151
|
return false;
|
|
7943
8152
|
}
|
|
7944
8153
|
if (params && params.state && !params.state.forEach) {
|
|
8154
|
+
console.warn('AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.');
|
|
7945
8155
|
return false;
|
|
7946
8156
|
}
|
|
7947
8157
|
var applyStates = function (states, existingColumns, getById) {
|
|
@@ -8088,6 +8298,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8088
8298
|
// is less sexy for the code here, but it keeps consistency.
|
|
8089
8299
|
newOrder = this.placeLockedColumns(newOrder);
|
|
8090
8300
|
if (!this.doesMovePassMarryChildren(newOrder)) {
|
|
8301
|
+
console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
|
|
8091
8302
|
return;
|
|
8092
8303
|
}
|
|
8093
8304
|
this.gridColumns = newOrder;
|
|
@@ -8339,7 +8550,11 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8339
8550
|
}
|
|
8340
8551
|
}
|
|
8341
8552
|
else {
|
|
8342
|
-
if (exists(aggFunc))
|
|
8553
|
+
if (exists(aggFunc)) {
|
|
8554
|
+
console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
|
|
8555
|
+
'functions, register the functions first before using them in get/set state. This is because it is ' +
|
|
8556
|
+
'intended for the column state to be stored and retrieved as simple JSON.');
|
|
8557
|
+
}
|
|
8343
8558
|
// Note: we do not call column.setAggFunc(null), so that next time we aggregate
|
|
8344
8559
|
// by this column (eg drag the column to the agg section int he toolpanel) it will
|
|
8345
8560
|
// default to the last aggregation function.
|
|
@@ -8407,6 +8622,9 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8407
8622
|
return null;
|
|
8408
8623
|
}
|
|
8409
8624
|
var column = this.getGridColumn(key);
|
|
8625
|
+
if (!column) {
|
|
8626
|
+
console.warn('AG Grid: could not find column ' + key);
|
|
8627
|
+
}
|
|
8410
8628
|
return column;
|
|
8411
8629
|
};
|
|
8412
8630
|
ColumnModel.prototype.getPrimaryColumn = function (key) {
|
|
@@ -8509,6 +8727,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8509
8727
|
// valueGetter is an expression, so execute the expression
|
|
8510
8728
|
return this.expressionService.evaluate(headerValueGetter, params);
|
|
8511
8729
|
}
|
|
8730
|
+
console.warn('ag-grid: headerValueGetter must be a function or a string');
|
|
8512
8731
|
return '';
|
|
8513
8732
|
}
|
|
8514
8733
|
else if (colDef.headerName != null) {
|
|
@@ -8803,6 +9022,10 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8803
9022
|
this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
|
|
8804
9023
|
};
|
|
8805
9024
|
ColumnModel.prototype.getProvidedColumnGroup = function (key) {
|
|
9025
|
+
// if (key instanceof ProvidedColumnGroup) { return key; }
|
|
9026
|
+
if (typeof key !== 'string') {
|
|
9027
|
+
console.error('AG Grid: group key must be a string');
|
|
9028
|
+
}
|
|
8806
9029
|
// otherwise, search for the column group by id
|
|
8807
9030
|
var res = null;
|
|
8808
9031
|
this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
|
|
@@ -9013,7 +9236,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9013
9236
|
var rowModelType = this.rowModel.getType();
|
|
9014
9237
|
var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
9015
9238
|
if (!supportedRowModel) {
|
|
9016
|
-
|
|
9239
|
+
var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';
|
|
9240
|
+
doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
|
|
9017
9241
|
}
|
|
9018
9242
|
}
|
|
9019
9243
|
};
|
|
@@ -10005,6 +10229,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10005
10229
|
if (found) {
|
|
10006
10230
|
return result;
|
|
10007
10231
|
}
|
|
10232
|
+
console.warn('AG Grid: could not get path');
|
|
10008
10233
|
return null;
|
|
10009
10234
|
};
|
|
10010
10235
|
DisplayedGroupCreator = __decorate$36([
|
|
@@ -11688,12 +11913,14 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
|
|
|
11688
11913
|
if (isNodeOrElement(rendererResult)) {
|
|
11689
11914
|
return rendererResult;
|
|
11690
11915
|
}
|
|
11916
|
+
console.warn('AG Grid: iconRenderer should return back a string or a dom object');
|
|
11691
11917
|
}
|
|
11692
11918
|
else {
|
|
11693
11919
|
var span = document.createElement('span');
|
|
11694
11920
|
var cssClass = iconNameClassMap[iconName];
|
|
11695
11921
|
if (!cssClass) {
|
|
11696
11922
|
if (!forceCreate) {
|
|
11923
|
+
console.warn("AG Grid: Did not find icon " + iconName);
|
|
11697
11924
|
cssClass = '';
|
|
11698
11925
|
}
|
|
11699
11926
|
else {
|
|
@@ -12132,6 +12359,7 @@ var AgPromise = /** @class */ (function () {
|
|
|
12132
12359
|
this.waiters.forEach(function (waiter) { return waiter(value); });
|
|
12133
12360
|
};
|
|
12134
12361
|
AgPromise.prototype.onReject = function (params) {
|
|
12362
|
+
console.warn('TBI');
|
|
12135
12363
|
};
|
|
12136
12364
|
return AgPromise;
|
|
12137
12365
|
}());
|
|
@@ -12757,9 +12985,11 @@ function RefSelector(ref) {
|
|
|
12757
12985
|
}
|
|
12758
12986
|
function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
|
|
12759
12987
|
if (selector === null) {
|
|
12988
|
+
console.error('AG Grid: QuerySelector selector should not be null');
|
|
12760
12989
|
return;
|
|
12761
12990
|
}
|
|
12762
12991
|
if (typeof index === 'number') {
|
|
12992
|
+
console.error('AG Grid: QuerySelector should be on an attribute');
|
|
12763
12993
|
return;
|
|
12764
12994
|
}
|
|
12765
12995
|
addToObjectProps(classPrototype, 'querySelectors', {
|
|
@@ -12994,8 +13224,12 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
12994
13224
|
this.checkForDeprecatedParams();
|
|
12995
13225
|
};
|
|
12996
13226
|
OptionsFactory.prototype.checkForDeprecatedParams = function () {
|
|
12997
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; }))
|
|
12998
|
-
|
|
13227
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {
|
|
13228
|
+
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().");
|
|
13229
|
+
}
|
|
13230
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
|
|
13231
|
+
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
|
|
13232
|
+
}
|
|
12999
13233
|
};
|
|
13000
13234
|
OptionsFactory.prototype.getFilterOptions = function () {
|
|
13001
13235
|
return this.filterOptions;
|
|
@@ -13012,6 +13246,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13012
13246
|
var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
|
|
13013
13247
|
var propertyCheck = function (keys) {
|
|
13014
13248
|
if (!keys.some(function (key) { return filterOption[key] != null; })) {
|
|
13249
|
+
console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
|
|
13015
13250
|
return false;
|
|
13016
13251
|
}
|
|
13017
13252
|
return true;
|
|
@@ -13045,9 +13280,13 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13045
13280
|
else if (firstFilterOption.displayKey) {
|
|
13046
13281
|
this.defaultOption = firstFilterOption.displayKey;
|
|
13047
13282
|
}
|
|
13048
|
-
else
|
|
13283
|
+
else {
|
|
13284
|
+
console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
|
|
13285
|
+
}
|
|
13286
|
+
}
|
|
13287
|
+
else {
|
|
13288
|
+
console.warn('AG Grid: no filter options for filter');
|
|
13049
13289
|
}
|
|
13050
|
-
else ;
|
|
13051
13290
|
};
|
|
13052
13291
|
OptionsFactory.prototype.getDefaultOption = function () {
|
|
13053
13292
|
return this.defaultOption;
|
|
@@ -13310,6 +13549,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13310
13549
|
clickListener = function (e) { _this.onBtCancel(e); };
|
|
13311
13550
|
break;
|
|
13312
13551
|
default:
|
|
13552
|
+
console.warn('AG Grid: Unknown button type specified');
|
|
13313
13553
|
return;
|
|
13314
13554
|
}
|
|
13315
13555
|
var buttonType = type === 'apply' ? 'submit' : 'button';
|
|
@@ -13450,6 +13690,9 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13450
13690
|
// static, as used by floating filter also
|
|
13451
13691
|
ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
|
|
13452
13692
|
if (ProvidedFilter.isUseApplyButton(params)) {
|
|
13693
|
+
if (params.debounceMs != null) {
|
|
13694
|
+
console.warn('AG Grid: debounceMs is ignored when apply button is present');
|
|
13695
|
+
}
|
|
13453
13696
|
return 0;
|
|
13454
13697
|
}
|
|
13455
13698
|
return params.debounceMs != null ? params.debounceMs : debounceDefault;
|
|
@@ -14826,6 +15069,7 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
14826
15069
|
case ScalarFilter.NOT_BLANK:
|
|
14827
15070
|
return !this.isBlank(cellValue);
|
|
14828
15071
|
default:
|
|
15072
|
+
console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
|
|
14829
15073
|
return true;
|
|
14830
15074
|
}
|
|
14831
15075
|
};
|
|
@@ -14919,11 +15163,17 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
14919
15163
|
if (!isNaN(params[param])) {
|
|
14920
15164
|
return params[param] == null ? fallback : Number(params[param]);
|
|
14921
15165
|
}
|
|
15166
|
+
else {
|
|
15167
|
+
console.warn("AG Grid: DateFilter " + param + " is not a number");
|
|
15168
|
+
}
|
|
14922
15169
|
}
|
|
14923
15170
|
return fallback;
|
|
14924
15171
|
};
|
|
14925
15172
|
this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
|
|
14926
15173
|
this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
|
|
15174
|
+
if (this.minValidYear > this.maxValidYear) {
|
|
15175
|
+
console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
|
|
15176
|
+
}
|
|
14927
15177
|
this.createDateComponents();
|
|
14928
15178
|
};
|
|
14929
15179
|
DateFilter.prototype.createDateComponents = function () {
|
|
@@ -15624,7 +15874,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15624
15874
|
TextFilter.prototype.getTextMatcher = function () {
|
|
15625
15875
|
var legacyComparator = this.textFilterParams.textCustomComparator;
|
|
15626
15876
|
if (legacyComparator) {
|
|
15627
|
-
_.doOnce(function () { return (
|
|
15877
|
+
_.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');
|
|
15628
15878
|
return function (_a) {
|
|
15629
15879
|
var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
|
|
15630
15880
|
return legacyComparator(filterOption, value, filterText);
|
|
@@ -16550,7 +16800,8 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16550
16800
|
HeaderGroupComp.prototype.checkWarnings = function () {
|
|
16551
16801
|
var paramsAny = this.params;
|
|
16552
16802
|
if (paramsAny.template) {
|
|
16553
|
-
|
|
16803
|
+
var message_1 = "AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";
|
|
16804
|
+
doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
|
|
16554
16805
|
}
|
|
16555
16806
|
};
|
|
16556
16807
|
HeaderGroupComp.prototype.setupExpandIcons = function () {
|
|
@@ -16781,6 +17032,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
16781
17032
|
var _this = this;
|
|
16782
17033
|
this.focusAfterAttached = params.cellStartedEdit;
|
|
16783
17034
|
if (missing(params.values)) {
|
|
17035
|
+
console.warn('AG Grid: no values found for select cellEditor');
|
|
16784
17036
|
return;
|
|
16785
17037
|
}
|
|
16786
17038
|
this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
|
|
@@ -16854,7 +17106,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
16854
17106
|
__extends$2_(PopupSelectCellEditor, _super);
|
|
16855
17107
|
function PopupSelectCellEditor() {
|
|
16856
17108
|
var _this = _super.call(this) || this;
|
|
16857
|
-
doOnce(function () { return (
|
|
17109
|
+
doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');
|
|
16858
17110
|
return _this;
|
|
16859
17111
|
}
|
|
16860
17112
|
PopupSelectCellEditor.prototype.isPopup = function () {
|
|
@@ -17008,7 +17260,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17008
17260
|
__extends$2Y(PopupTextCellEditor, _super);
|
|
17009
17261
|
function PopupTextCellEditor() {
|
|
17010
17262
|
var _this = _super.call(this) || this;
|
|
17011
|
-
doOnce(function () { return (
|
|
17263
|
+
doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');
|
|
17012
17264
|
return _this;
|
|
17013
17265
|
}
|
|
17014
17266
|
PopupTextCellEditor.prototype.isPopup = function () {
|
|
@@ -17385,7 +17637,9 @@ var RowNode = /** @class */ (function () {
|
|
|
17385
17637
|
});
|
|
17386
17638
|
// make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
|
|
17387
17639
|
// it has 'startsWith' in case the user provided a number.
|
|
17388
|
-
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP))
|
|
17640
|
+
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {
|
|
17641
|
+
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.");
|
|
17642
|
+
}
|
|
17389
17643
|
// force id to be a string
|
|
17390
17644
|
if (this.id !== null && typeof this.id !== 'string') {
|
|
17391
17645
|
this.id = '' + this.id;
|
|
@@ -17844,9 +18098,11 @@ var RowNode = /** @class */ (function () {
|
|
|
17844
18098
|
// groupSelectsFiltered only makes sense when group selects children
|
|
17845
18099
|
var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
|
|
17846
18100
|
if (this.id === undefined) {
|
|
18101
|
+
console.warn('AG Grid: cannot select node until id for node is known');
|
|
17847
18102
|
return 0;
|
|
17848
18103
|
}
|
|
17849
18104
|
if (this.rowPinned) {
|
|
18105
|
+
console.warn('AG Grid: cannot select pinned rows');
|
|
17850
18106
|
return 0;
|
|
17851
18107
|
}
|
|
17852
18108
|
// if we are a footer, we don't do selection, just pass the info
|
|
@@ -18621,7 +18877,9 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18621
18877
|
}
|
|
18622
18878
|
}
|
|
18623
18879
|
this.eGhostParent = targetEl;
|
|
18624
|
-
if (!this.eGhostParent)
|
|
18880
|
+
if (!this.eGhostParent) {
|
|
18881
|
+
console.warn('AG Grid: could not find document body, it is needed for dragging columns');
|
|
18882
|
+
}
|
|
18625
18883
|
else {
|
|
18626
18884
|
this.eGhostParent.appendChild(this.eGhost);
|
|
18627
18885
|
}
|
|
@@ -18784,7 +19042,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
18784
19042
|
var treeData = this.beans.gridOptionsWrapper.isTreeData();
|
|
18785
19043
|
if (treeData && managed) {
|
|
18786
19044
|
doOnce(function () {
|
|
18787
|
-
return (
|
|
19045
|
+
return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');
|
|
18788
19046
|
}, 'RowDragComp.managedAndTreeData');
|
|
18789
19047
|
}
|
|
18790
19048
|
};
|
|
@@ -19193,7 +19451,9 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19193
19451
|
else if (typeof footerValueGetter === 'string') {
|
|
19194
19452
|
footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
|
|
19195
19453
|
}
|
|
19196
|
-
else
|
|
19454
|
+
else {
|
|
19455
|
+
console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
|
|
19456
|
+
}
|
|
19197
19457
|
}
|
|
19198
19458
|
else {
|
|
19199
19459
|
footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
|
|
@@ -19411,7 +19671,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19411
19671
|
var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
|
|
19412
19672
|
var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
|
|
19413
19673
|
if (userProvidedPaddingPixelsTheDeprecatedWay) {
|
|
19414
|
-
doOnce(function () { return (
|
|
19674
|
+
doOnce(function () { return console.warn('AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.'); }, 'groupCellRenderer->doDeprecatedWay');
|
|
19415
19675
|
}
|
|
19416
19676
|
if (this.indentClass) {
|
|
19417
19677
|
this.comp.addOrRemoveCssClass(this.indentClass, false);
|
|
@@ -19916,6 +20176,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19916
20176
|
UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
|
|
19917
20177
|
var name = this.translateIfDeprecated(rawName);
|
|
19918
20178
|
if (this.agGridDefaults[name]) {
|
|
20179
|
+
console.error("Trying to overwrite a default component. You should call registerComponent");
|
|
19919
20180
|
return;
|
|
19920
20181
|
}
|
|
19921
20182
|
this.agGridDefaults[name] = component;
|
|
@@ -19923,6 +20184,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19923
20184
|
UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
|
|
19924
20185
|
var name = this.translateIfDeprecated(rawName);
|
|
19925
20186
|
if (this.fwComps[name]) {
|
|
20187
|
+
console.error("Trying to register a component that you have already registered for frameworks: " + name);
|
|
19926
20188
|
return;
|
|
19927
20189
|
}
|
|
19928
20190
|
this.jsComps[name] = component;
|
|
@@ -19932,7 +20194,8 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19932
20194
|
* A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
|
|
19933
20195
|
*/
|
|
19934
20196
|
UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
|
|
19935
|
-
|
|
20197
|
+
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.";
|
|
20198
|
+
doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
19936
20199
|
var name = this.translateIfDeprecated(rawName);
|
|
19937
20200
|
this.fwComps[name] = component;
|
|
19938
20201
|
};
|
|
@@ -19959,13 +20222,16 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
19959
20222
|
if (defaultComponent) {
|
|
19960
20223
|
return createResult(defaultComponent, false);
|
|
19961
20224
|
}
|
|
19962
|
-
if (Object.keys(this.agGridDefaults).indexOf(name) < 0)
|
|
20225
|
+
if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {
|
|
20226
|
+
console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
|
|
20227
|
+
}
|
|
19963
20228
|
return null;
|
|
19964
20229
|
};
|
|
19965
20230
|
UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
|
|
19966
20231
|
var deprecatedInfo = this.agDeprecatedNames[raw];
|
|
19967
20232
|
if (deprecatedInfo != null) {
|
|
19968
20233
|
doOnce(function () {
|
|
20234
|
+
console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename " + deprecatedInfo.propertyHolder + ":" + raw + " to " + deprecatedInfo.propertyHolder + ":" + deprecatedInfo.newComponentName);
|
|
19969
20235
|
}, 'DEPRECATE_COMPONENT_' + raw);
|
|
19970
20236
|
return deprecatedInfo.newComponentName;
|
|
19971
20237
|
}
|
|
@@ -20183,6 +20449,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20183
20449
|
};
|
|
20184
20450
|
UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
|
|
20185
20451
|
var _this = this;
|
|
20452
|
+
if (mandatory === void 0) { mandatory = false; }
|
|
20186
20453
|
var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
|
|
20187
20454
|
var _a = this.getCompKeys(defObject, type, params), compName = _a.compName, jsComp = _a.jsComp, fwComp = _a.fwComp, paramsFromSelector = _a.paramsFromSelector, popupFromSelector = _a.popupFromSelector, popupPositionFromSelector = _a.popupPositionFromSelector;
|
|
20188
20455
|
var lookupFromRegistry = function (key) {
|
|
@@ -20205,6 +20472,9 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20205
20472
|
jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
|
|
20206
20473
|
}
|
|
20207
20474
|
if (!jsComp && !fwComp) {
|
|
20475
|
+
if (mandatory) {
|
|
20476
|
+
console.error("Could not find component " + compName + ", did you forget to configure this component?");
|
|
20477
|
+
}
|
|
20208
20478
|
return;
|
|
20209
20479
|
}
|
|
20210
20480
|
var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
|
|
@@ -20241,7 +20511,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20241
20511
|
var selectorRes = selectorFunc ? selectorFunc(params) : null;
|
|
20242
20512
|
var assignComp = function (providedJsComp, providedFwComp) {
|
|
20243
20513
|
var xxxFrameworkDeprecatedWarn = function () {
|
|
20244
|
-
|
|
20514
|
+
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.";
|
|
20515
|
+
doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20245
20516
|
};
|
|
20246
20517
|
if (typeof providedJsComp === 'string') {
|
|
20247
20518
|
compName = providedJsComp;
|
|
@@ -20267,7 +20538,8 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20267
20538
|
};
|
|
20268
20539
|
if (selectorRes) {
|
|
20269
20540
|
if (selectorRes.frameworkComponent != null) {
|
|
20270
|
-
|
|
20541
|
+
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.";
|
|
20542
|
+
doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20271
20543
|
assignComp(selectorRes.frameworkComponent, undefined);
|
|
20272
20544
|
}
|
|
20273
20545
|
else {
|
|
@@ -20772,13 +21044,16 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20772
21044
|
modelKeys_1.forEach(function (colId) {
|
|
20773
21045
|
var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
|
|
20774
21046
|
if (!column) {
|
|
21047
|
+
console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
|
|
20775
21048
|
return;
|
|
20776
21049
|
}
|
|
20777
21050
|
if (!column.isFilterAllowed()) {
|
|
21051
|
+
console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
|
|
20778
21052
|
return;
|
|
20779
21053
|
}
|
|
20780
21054
|
var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
|
|
20781
21055
|
if (!filterWrapper) {
|
|
21056
|
+
console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
|
|
20782
21057
|
return;
|
|
20783
21058
|
}
|
|
20784
21059
|
allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
|
|
@@ -20808,6 +21083,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20808
21083
|
return new AgPromise(function (resolve) {
|
|
20809
21084
|
filterPromise.then(function (filter) {
|
|
20810
21085
|
if (typeof filter.setModel !== 'function') {
|
|
21086
|
+
console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
|
|
20811
21087
|
resolve();
|
|
20812
21088
|
}
|
|
20813
21089
|
(filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
|
|
@@ -20824,6 +21100,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20824
21100
|
return null;
|
|
20825
21101
|
}
|
|
20826
21102
|
if (typeof filter.getModel !== 'function') {
|
|
21103
|
+
console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
|
|
20827
21104
|
return;
|
|
20828
21105
|
}
|
|
20829
21106
|
var model = filter.getModel();
|
|
@@ -20857,6 +21134,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20857
21134
|
return false;
|
|
20858
21135
|
} // this never happens, including to avoid compile error
|
|
20859
21136
|
if (!filter.isFilterActive) {
|
|
21137
|
+
console.warn('AG Grid: Filter is missing isFilterActive() method');
|
|
20860
21138
|
return false;
|
|
20861
21139
|
}
|
|
20862
21140
|
return filter.isFilterActive();
|
|
@@ -20930,12 +21208,14 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
20930
21208
|
return null;
|
|
20931
21209
|
}
|
|
20932
21210
|
if (!this.gridOptionsWrapper.isRowModelDefault()) {
|
|
21211
|
+
console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
|
|
20933
21212
|
return null;
|
|
20934
21213
|
}
|
|
20935
21214
|
return newFilter.toUpperCase();
|
|
20936
21215
|
};
|
|
20937
21216
|
FilterManager.prototype.setQuickFilter = function (newFilter) {
|
|
20938
21217
|
if (newFilter != null && typeof newFilter !== 'string') {
|
|
21218
|
+
console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
|
|
20939
21219
|
return;
|
|
20940
21220
|
}
|
|
20941
21221
|
var parsedFilter = this.parseQuickFilter(newFilter);
|
|
@@ -21195,7 +21475,9 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21195
21475
|
filterWrapper.guiPromise = new AgPromise(function (resolve) {
|
|
21196
21476
|
filterWrapper.filterPromise.then(function (filter) {
|
|
21197
21477
|
var guiFromFilter = filter.getGui();
|
|
21198
|
-
if (!exists(guiFromFilter))
|
|
21478
|
+
if (!exists(guiFromFilter)) {
|
|
21479
|
+
console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
|
|
21480
|
+
}
|
|
21199
21481
|
// for backwards compatibility with Angular 1 - we
|
|
21200
21482
|
// used to allow providing back HTML from getGui().
|
|
21201
21483
|
// once we move away from supporting Angular 1
|
|
@@ -21787,6 +22069,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
21787
22069
|
}
|
|
21788
22070
|
var rowCount = this.paginationProxy.getRowCount();
|
|
21789
22071
|
if (typeof index !== 'number' || index < 0 || index >= rowCount) {
|
|
22072
|
+
console.warn('invalid row index for ensureIndexVisible: ' + index);
|
|
21790
22073
|
return;
|
|
21791
22074
|
}
|
|
21792
22075
|
var isPaging = this.gridOptionsWrapper.isPagination();
|
|
@@ -22281,10 +22564,11 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22281
22564
|
RowDragFeature.prototype.addRowDropZone = function (params) {
|
|
22282
22565
|
var _this = this;
|
|
22283
22566
|
if (!params.getContainer()) {
|
|
22284
|
-
doOnce(function () { return (
|
|
22567
|
+
doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');
|
|
22285
22568
|
return;
|
|
22286
22569
|
}
|
|
22287
22570
|
if (this.dragAndDropService.findExternalZone(params)) {
|
|
22571
|
+
console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
|
|
22288
22572
|
return;
|
|
22289
22573
|
}
|
|
22290
22574
|
var processedParams = {
|
|
@@ -22811,7 +23095,10 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
22811
23095
|
_this.sizeColumnsToFit(params, -1);
|
|
22812
23096
|
}, 500);
|
|
22813
23097
|
}
|
|
22814
|
-
else
|
|
23098
|
+
else {
|
|
23099
|
+
console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
|
|
23100
|
+
'zero width, maybe the grid is not visible yet on the screen?');
|
|
23101
|
+
}
|
|
22815
23102
|
};
|
|
22816
23103
|
// + rangeService
|
|
22817
23104
|
GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
|
|
@@ -24472,6 +24759,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24472
24759
|
CellCtrl.prototype.createCellRendererParams = function () {
|
|
24473
24760
|
var _this = this;
|
|
24474
24761
|
var addRowCompListener = function (eventType, listener) {
|
|
24762
|
+
console.warn('AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided.');
|
|
24475
24763
|
_this.rowCtrl.addEventListener(eventType, listener);
|
|
24476
24764
|
};
|
|
24477
24765
|
var res = {
|
|
@@ -25000,11 +25288,11 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25000
25288
|
if (rowDragManaged) {
|
|
25001
25289
|
// row dragging only available in default row model
|
|
25002
25290
|
if (!clientSideRowModelActive) {
|
|
25003
|
-
doOnce(function () { return (
|
|
25291
|
+
doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');
|
|
25004
25292
|
return;
|
|
25005
25293
|
}
|
|
25006
25294
|
if (pagination) {
|
|
25007
|
-
doOnce(function () { return (
|
|
25295
|
+
doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');
|
|
25008
25296
|
return;
|
|
25009
25297
|
}
|
|
25010
25298
|
}
|
|
@@ -25221,6 +25509,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25221
25509
|
var gow = this.beans.gridOptionsWrapper;
|
|
25222
25510
|
if (gow.isEnableRangeSelection()) {
|
|
25223
25511
|
doOnce(function () {
|
|
25512
|
+
console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
|
|
25224
25513
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25225
25514
|
return;
|
|
25226
25515
|
}
|
|
@@ -25233,7 +25522,12 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25233
25522
|
var params = this.createFullWidthParams(gui.element, pinned);
|
|
25234
25523
|
var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
|
|
25235
25524
|
if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
|
|
25236
|
-
if (ModuleRegistry.isPackageBased())
|
|
25525
|
+
if (ModuleRegistry.isPackageBased()) {
|
|
25526
|
+
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
|
|
25527
|
+
}
|
|
25528
|
+
else {
|
|
25529
|
+
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
|
|
25530
|
+
}
|
|
25237
25531
|
return;
|
|
25238
25532
|
}
|
|
25239
25533
|
var compDetails;
|
|
@@ -25984,6 +26278,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25984
26278
|
// part 1 - rowStyle
|
|
25985
26279
|
var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
|
|
25986
26280
|
if (rowStyle && typeof rowStyle === 'function') {
|
|
26281
|
+
console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
|
|
25987
26282
|
return;
|
|
25988
26283
|
}
|
|
25989
26284
|
// part 1 - rowStyleFunc
|
|
@@ -26098,12 +26393,14 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26098
26393
|
RowCtrl.prototype.addEventListener = function (eventType, listener) {
|
|
26099
26394
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26100
26395
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26396
|
+
console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26101
26397
|
}
|
|
26102
26398
|
_super.prototype.addEventListener.call(this, eventType, listener);
|
|
26103
26399
|
};
|
|
26104
26400
|
RowCtrl.prototype.removeEventListener = function (eventType, listener) {
|
|
26105
26401
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26106
26402
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26403
|
+
console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26107
26404
|
}
|
|
26108
26405
|
_super.prototype.removeEventListener.call(this, eventType, listener);
|
|
26109
26406
|
};
|
|
@@ -28263,7 +28560,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28263
28560
|
var userCell = userFunc(params);
|
|
28264
28561
|
if (exists(userCell)) {
|
|
28265
28562
|
if (userCell.floating) {
|
|
28266
|
-
doOnce(function () { }, 'no floating in userCell');
|
|
28563
|
+
doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
|
|
28267
28564
|
userCell.rowPinned = userCell.floating;
|
|
28268
28565
|
}
|
|
28269
28566
|
nextPosition = {
|
|
@@ -28396,7 +28693,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28396
28693
|
var userCell = userFunc(params);
|
|
28397
28694
|
if (exists(userCell)) {
|
|
28398
28695
|
if (userCell.floating) {
|
|
28399
|
-
doOnce(function () { }, 'no floating in userCell');
|
|
28696
|
+
doOnce(function () { console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"); }, 'no floating in userCell');
|
|
28400
28697
|
userCell.rowPinned = userCell.floating;
|
|
28401
28698
|
}
|
|
28402
28699
|
nextCell = {
|
|
@@ -28951,6 +29248,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
28951
29248
|
return;
|
|
28952
29249
|
}
|
|
28953
29250
|
if (!cellEditor.getGui) {
|
|
29251
|
+
console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
|
|
28954
29252
|
this.beans.context.destroyBean(cellEditor);
|
|
28955
29253
|
return;
|
|
28956
29254
|
}
|
|
@@ -28988,7 +29286,10 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
28988
29286
|
};
|
|
28989
29287
|
CellComp.prototype.addPopupCellEditor = function (params, position) {
|
|
28990
29288
|
var _this = this;
|
|
28991
|
-
if (this.beans.gridOptionsWrapper.isFullRowEdit())
|
|
29289
|
+
if (this.beans.gridOptionsWrapper.isFullRowEdit()) {
|
|
29290
|
+
console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
|
|
29291
|
+
'- either turn off fullRowEdit, or stop using popup editors.');
|
|
29292
|
+
}
|
|
28992
29293
|
var cellEditor = this.cellEditor;
|
|
28993
29294
|
// if a popup, then we wrap in a popup editor and return the popup
|
|
28994
29295
|
this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
|
|
@@ -29172,6 +29473,9 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29172
29473
|
};
|
|
29173
29474
|
RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
|
|
29174
29475
|
var _this = this;
|
|
29476
|
+
if (this.fullWidthCellRenderer) {
|
|
29477
|
+
console.error('AG Grid - should not be setting fullWidthRowComponent twice');
|
|
29478
|
+
}
|
|
29175
29479
|
this.fullWidthCellRenderer = fullWidthRowComponent;
|
|
29176
29480
|
this.addDestroyFunc(function () {
|
|
29177
29481
|
_this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
|
|
@@ -29596,6 +29900,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29596
29900
|
switch (hDirection) {
|
|
29597
29901
|
case HorizontalDirection.Left: return HorizontalDirection.Right;
|
|
29598
29902
|
case HorizontalDirection.Right: return HorizontalDirection.Left;
|
|
29903
|
+
default: console.error("AG Grid: Unknown direction " + hDirection);
|
|
29599
29904
|
}
|
|
29600
29905
|
}
|
|
29601
29906
|
else {
|
|
@@ -30636,6 +30941,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30636
30941
|
}
|
|
30637
30942
|
var exportMode = this.getExcelExportMode(params);
|
|
30638
30943
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30944
|
+
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30639
30945
|
return;
|
|
30640
30946
|
}
|
|
30641
30947
|
return this.excelCreator.getDataAsExcel(params);
|
|
@@ -30647,6 +30953,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30647
30953
|
}
|
|
30648
30954
|
var exportMode = this.getExcelExportMode(params);
|
|
30649
30955
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30956
|
+
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30650
30957
|
return;
|
|
30651
30958
|
}
|
|
30652
30959
|
this.excelCreator.exportDataAsExcel(params);
|
|
@@ -30674,6 +30981,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30674
30981
|
};
|
|
30675
30982
|
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30676
30983
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30984
|
+
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30677
30985
|
this.setServerSideDatasource(datasource);
|
|
30678
30986
|
};
|
|
30679
30987
|
/**
|
|
@@ -30702,6 +31010,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30702
31010
|
// should really have an IEnterpriseRowModel interface, so we are not casting to any
|
|
30703
31011
|
this.serverSideRowModel.setDatasource(datasource);
|
|
30704
31012
|
}
|
|
31013
|
+
else {
|
|
31014
|
+
console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31015
|
+
}
|
|
30705
31016
|
};
|
|
30706
31017
|
/**
|
|
30707
31018
|
* Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
|
|
@@ -30710,6 +31021,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30710
31021
|
* */
|
|
30711
31022
|
GridApi.prototype.setCacheBlockSize = function (blockSize) {
|
|
30712
31023
|
if (!this.serverSideRowModel) {
|
|
31024
|
+
console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
30713
31025
|
return;
|
|
30714
31026
|
}
|
|
30715
31027
|
this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
|
|
@@ -30720,6 +31032,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30720
31032
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
30721
31033
|
this.rowModel.setDatasource(datasource);
|
|
30722
31034
|
}
|
|
31035
|
+
else {
|
|
31036
|
+
console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
|
|
31037
|
+
}
|
|
30723
31038
|
};
|
|
30724
31039
|
/** Set new datasource for Viewport Row Model. */
|
|
30725
31040
|
GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
|
|
@@ -30729,12 +31044,16 @@ var GridApi = /** @class */ (function () {
|
|
|
30729
31044
|
// the enterprise implement it, rather than casting to 'any' here
|
|
30730
31045
|
this.rowModel.setViewportDatasource(viewportDatasource);
|
|
30731
31046
|
}
|
|
31047
|
+
else {
|
|
31048
|
+
console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
|
|
31049
|
+
}
|
|
30732
31050
|
};
|
|
30733
31051
|
/** Set the row data. */
|
|
30734
31052
|
GridApi.prototype.setRowData = function (rowData) {
|
|
30735
31053
|
// immutable service is part of the CSRM module, if missing, no CSRM
|
|
30736
31054
|
var missingImmutableService = this.immutableService == null;
|
|
30737
31055
|
if (missingImmutableService) {
|
|
31056
|
+
console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
|
|
30738
31057
|
return;
|
|
30739
31058
|
}
|
|
30740
31059
|
// if no keys provided provided for rows, then we can tread the operation as Immutable
|
|
@@ -30748,26 +31067,32 @@ var GridApi = /** @class */ (function () {
|
|
|
30748
31067
|
};
|
|
30749
31068
|
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
30750
31069
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
31070
|
+
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
30751
31071
|
this.setPinnedTopRowData(rows);
|
|
30752
31072
|
};
|
|
30753
31073
|
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
30754
31074
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
31075
|
+
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
30755
31076
|
this.setPinnedBottomRowData(rows);
|
|
30756
31077
|
};
|
|
30757
31078
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
30758
31079
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
31080
|
+
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
30759
31081
|
return this.getPinnedTopRowCount();
|
|
30760
31082
|
};
|
|
30761
31083
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
30762
31084
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
31085
|
+
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
30763
31086
|
return this.getPinnedBottomRowCount();
|
|
30764
31087
|
};
|
|
30765
31088
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
30766
31089
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
31090
|
+
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
30767
31091
|
return this.getPinnedTopRow(index);
|
|
30768
31092
|
};
|
|
30769
31093
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
30770
31094
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
31095
|
+
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
30771
31096
|
return this.getPinnedBottomRow(index);
|
|
30772
31097
|
};
|
|
30773
31098
|
/** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
|
|
@@ -30848,6 +31173,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30848
31173
|
if (params === void 0) { params = {}; }
|
|
30849
31174
|
if (Array.isArray(params)) {
|
|
30850
31175
|
// the old version of refreshCells() took an array of rowNodes for the first argument
|
|
31176
|
+
console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
|
|
30851
31177
|
return;
|
|
30852
31178
|
}
|
|
30853
31179
|
this.rowRenderer.refreshCells(params);
|
|
@@ -30901,8 +31227,12 @@ var GridApi = /** @class */ (function () {
|
|
|
30901
31227
|
* It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
|
|
30902
31228
|
*/
|
|
30903
31229
|
GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
|
|
30904
|
-
if (missing(this.clientSideRowModel))
|
|
30905
|
-
|
|
31230
|
+
if (missing(this.clientSideRowModel)) {
|
|
31231
|
+
console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');
|
|
31232
|
+
}
|
|
31233
|
+
if (exists(deprecated_refreshFromIndex)) {
|
|
31234
|
+
console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
|
|
31235
|
+
}
|
|
30906
31236
|
// we don't really want the user calling this if only one rowNode was expanded, instead they should be
|
|
30907
31237
|
// calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
|
|
30908
31238
|
// grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
|
|
@@ -30911,6 +31241,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30911
31241
|
};
|
|
30912
31242
|
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
30913
31243
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
31244
|
+
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
30914
31245
|
this.refreshClientSideRowModel(step);
|
|
30915
31246
|
};
|
|
30916
31247
|
/**
|
|
@@ -30918,7 +31249,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30918
31249
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
30919
31250
|
*/
|
|
30920
31251
|
GridApi.prototype.refreshClientSideRowModel = function (step) {
|
|
30921
|
-
if (missing(this.clientSideRowModel))
|
|
31252
|
+
if (missing(this.clientSideRowModel)) {
|
|
31253
|
+
console.warn('cannot call refreshClientSideRowModel unless using normal row model');
|
|
31254
|
+
}
|
|
30922
31255
|
var paramsStep = ClientSideRowModelSteps.EVERYTHING;
|
|
30923
31256
|
var stepsMapped = {
|
|
30924
31257
|
everything: ClientSideRowModelSteps.EVERYTHING,
|
|
@@ -30933,6 +31266,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30933
31266
|
paramsStep = stepsMapped[step];
|
|
30934
31267
|
}
|
|
30935
31268
|
if (missing(paramsStep)) {
|
|
31269
|
+
console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
|
|
30936
31270
|
return;
|
|
30937
31271
|
}
|
|
30938
31272
|
var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
|
|
@@ -30978,7 +31312,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30978
31312
|
else if (this.serverSideRowModel) {
|
|
30979
31313
|
this.serverSideRowModel.expandAll(true);
|
|
30980
31314
|
}
|
|
30981
|
-
else
|
|
31315
|
+
else {
|
|
31316
|
+
console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
|
|
31317
|
+
}
|
|
30982
31318
|
};
|
|
30983
31319
|
/** Collapse all groups. */
|
|
30984
31320
|
GridApi.prototype.collapseAll = function () {
|
|
@@ -30988,17 +31324,23 @@ var GridApi = /** @class */ (function () {
|
|
|
30988
31324
|
else if (this.serverSideRowModel) {
|
|
30989
31325
|
this.serverSideRowModel.expandAll(false);
|
|
30990
31326
|
}
|
|
30991
|
-
else
|
|
31327
|
+
else {
|
|
31328
|
+
console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
|
|
31329
|
+
}
|
|
30992
31330
|
};
|
|
30993
31331
|
/** Gets the tool panel instance corresponding to the supplied `id`. */
|
|
30994
31332
|
GridApi.prototype.getToolPanelInstance = function (id) {
|
|
30995
31333
|
if (!this.sideBarComp) {
|
|
31334
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
30996
31335
|
return;
|
|
30997
31336
|
}
|
|
30998
31337
|
var comp = this.sideBarComp.getToolPanelInstance(id);
|
|
30999
31338
|
return unwrapUserComp(comp);
|
|
31000
31339
|
};
|
|
31001
31340
|
GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
|
|
31341
|
+
if (typeof eventName !== 'string') {
|
|
31342
|
+
console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
|
|
31343
|
+
}
|
|
31002
31344
|
this.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31003
31345
|
};
|
|
31004
31346
|
/**
|
|
@@ -31009,6 +31351,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31009
31351
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31010
31352
|
*/
|
|
31011
31353
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
31354
|
+
if (eventName === 'virtualRowSelected') {
|
|
31355
|
+
console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
|
|
31356
|
+
}
|
|
31012
31357
|
this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31013
31358
|
};
|
|
31014
31359
|
/** Pass a quick filter text into the grid for filtering. */
|
|
@@ -31017,19 +31362,38 @@ var GridApi = /** @class */ (function () {
|
|
|
31017
31362
|
};
|
|
31018
31363
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31019
31364
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31365
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31366
|
+
if (suppressEvents) {
|
|
31367
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31368
|
+
}
|
|
31020
31369
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31021
31370
|
};
|
|
31022
31371
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31023
31372
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31373
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31374
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31375
|
+
if (suppressEvents) {
|
|
31376
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31377
|
+
}
|
|
31024
31378
|
this.selectionService.deselectIndex(index);
|
|
31025
31379
|
};
|
|
31026
31380
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31027
31381
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31028
31382
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31383
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31384
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31385
|
+
if (suppressEvents) {
|
|
31386
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31387
|
+
}
|
|
31029
31388
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31030
31389
|
};
|
|
31031
31390
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31032
31391
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31392
|
+
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31393
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31394
|
+
if (suppressEvents) {
|
|
31395
|
+
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31396
|
+
}
|
|
31033
31397
|
node.setSelectedParams({ newValue: false });
|
|
31034
31398
|
};
|
|
31035
31399
|
/** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
|
|
@@ -31050,7 +31414,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31050
31414
|
};
|
|
31051
31415
|
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31052
31416
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31053
|
-
if (missing(this.clientSideRowModel))
|
|
31417
|
+
if (missing(this.clientSideRowModel)) {
|
|
31418
|
+
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
31419
|
+
}
|
|
31420
|
+
console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
|
|
31054
31421
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
|
|
31055
31422
|
};
|
|
31056
31423
|
/**
|
|
@@ -31072,10 +31439,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31072
31439
|
this.overlayWrapperComp.hideOverlay();
|
|
31073
31440
|
};
|
|
31074
31441
|
GridApi.prototype.isNodeSelected = function (node) {
|
|
31442
|
+
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31075
31443
|
return node.isSelected();
|
|
31076
31444
|
};
|
|
31077
31445
|
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31078
31446
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31447
|
+
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31079
31448
|
return null;
|
|
31080
31449
|
};
|
|
31081
31450
|
/**
|
|
@@ -31104,6 +31473,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31104
31473
|
};
|
|
31105
31474
|
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31106
31475
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31476
|
+
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31107
31477
|
};
|
|
31108
31478
|
/**
|
|
31109
31479
|
* Ensures the column is visible by scrolling the table if needed.
|
|
@@ -31145,7 +31515,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31145
31515
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
31146
31516
|
*/
|
|
31147
31517
|
GridApi.prototype.forEachLeafNode = function (callback) {
|
|
31148
|
-
if (missing(this.clientSideRowModel))
|
|
31518
|
+
if (missing(this.clientSideRowModel)) {
|
|
31519
|
+
console.warn('cannot call forEachNode unless using normal row model');
|
|
31520
|
+
}
|
|
31149
31521
|
this.clientSideRowModel.forEachLeafNode(callback);
|
|
31150
31522
|
};
|
|
31151
31523
|
/**
|
|
@@ -31159,12 +31531,16 @@ var GridApi = /** @class */ (function () {
|
|
|
31159
31531
|
};
|
|
31160
31532
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
31161
31533
|
GridApi.prototype.forEachNodeAfterFilter = function (callback) {
|
|
31162
|
-
if (missing(this.clientSideRowModel))
|
|
31534
|
+
if (missing(this.clientSideRowModel)) {
|
|
31535
|
+
console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
|
|
31536
|
+
}
|
|
31163
31537
|
this.clientSideRowModel.forEachNodeAfterFilter(callback);
|
|
31164
31538
|
};
|
|
31165
31539
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
31166
31540
|
GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
|
|
31167
|
-
if (missing(this.clientSideRowModel))
|
|
31541
|
+
if (missing(this.clientSideRowModel)) {
|
|
31542
|
+
console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
|
|
31543
|
+
}
|
|
31168
31544
|
this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
|
|
31169
31545
|
};
|
|
31170
31546
|
/**
|
|
@@ -31402,10 +31778,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31402
31778
|
};
|
|
31403
31779
|
/** @deprecated use `setProcessPivotResultColDef` instead */
|
|
31404
31780
|
GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
|
|
31781
|
+
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
|
|
31405
31782
|
this.setProcessPivotResultColDef(processSecondaryColDefFunc);
|
|
31406
31783
|
};
|
|
31407
31784
|
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
|
|
31408
31785
|
GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
|
|
31786
|
+
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
|
|
31409
31787
|
this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
|
|
31410
31788
|
};
|
|
31411
31789
|
GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
|
|
@@ -31461,6 +31839,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31461
31839
|
/** Show/hide the entire side bar, including any visible panel and the tab buttons. */
|
|
31462
31840
|
GridApi.prototype.setSideBarVisible = function (show) {
|
|
31463
31841
|
if (!this.sideBarComp) {
|
|
31842
|
+
if (show) {
|
|
31843
|
+
console.warn('AG Grid: sideBar is not loaded');
|
|
31844
|
+
}
|
|
31464
31845
|
return;
|
|
31465
31846
|
}
|
|
31466
31847
|
this.sideBarComp.setDisplayed(show);
|
|
@@ -31468,6 +31849,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31468
31849
|
/** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
|
|
31469
31850
|
GridApi.prototype.setSideBarPosition = function (position) {
|
|
31470
31851
|
if (!this.sideBarComp) {
|
|
31852
|
+
console.warn('AG Grid: sideBar is not loaded');
|
|
31471
31853
|
return;
|
|
31472
31854
|
}
|
|
31473
31855
|
this.sideBarComp.setSideBarPosition(position);
|
|
@@ -31475,6 +31857,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31475
31857
|
/** Opens a particular tool panel. Provide the ID of the tool panel to open. */
|
|
31476
31858
|
GridApi.prototype.openToolPanel = function (key) {
|
|
31477
31859
|
if (!this.sideBarComp) {
|
|
31860
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31478
31861
|
return;
|
|
31479
31862
|
}
|
|
31480
31863
|
this.sideBarComp.openToolPanel(key);
|
|
@@ -31482,6 +31865,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31482
31865
|
/** Closes the currently open tool panel (if any). */
|
|
31483
31866
|
GridApi.prototype.closeToolPanel = function () {
|
|
31484
31867
|
if (!this.sideBarComp) {
|
|
31868
|
+
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31485
31869
|
return;
|
|
31486
31870
|
}
|
|
31487
31871
|
this.sideBarComp.close();
|
|
@@ -31507,12 +31891,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31507
31891
|
};
|
|
31508
31892
|
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31509
31893
|
GridApi.prototype.doLayout = function () {
|
|
31510
|
-
|
|
31894
|
+
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";
|
|
31895
|
+
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
31511
31896
|
};
|
|
31512
31897
|
/** Tells the grid to recalculate the row heights. */
|
|
31513
31898
|
GridApi.prototype.resetRowHeights = function () {
|
|
31514
31899
|
if (exists(this.clientSideRowModel)) {
|
|
31515
31900
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
31901
|
+
console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
|
|
31516
31902
|
return;
|
|
31517
31903
|
}
|
|
31518
31904
|
this.clientSideRowModel.resetRowHeights();
|
|
@@ -31599,6 +31985,9 @@ var GridApi = /** @class */ (function () {
|
|
|
31599
31985
|
setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
|
|
31600
31986
|
};
|
|
31601
31987
|
GridApi.prototype.warnIfDestroyed = function (methodName) {
|
|
31988
|
+
if (this.destroyCalled) {
|
|
31989
|
+
console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
|
|
31990
|
+
}
|
|
31602
31991
|
return this.destroyCalled;
|
|
31603
31992
|
};
|
|
31604
31993
|
/** Reset the quick filter cache text on every rowNode. */
|
|
@@ -31610,6 +31999,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31610
31999
|
};
|
|
31611
32000
|
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
31612
32001
|
GridApi.prototype.getRangeSelections = function () {
|
|
32002
|
+
console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation.");
|
|
31613
32003
|
return null;
|
|
31614
32004
|
};
|
|
31615
32005
|
/** Returns the list of selected cell ranges. */
|
|
@@ -31617,6 +32007,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31617
32007
|
if (this.rangeService) {
|
|
31618
32008
|
return this.rangeService.getCellRanges();
|
|
31619
32009
|
}
|
|
32010
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
31620
32011
|
return null;
|
|
31621
32012
|
};
|
|
31622
32013
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
@@ -31624,13 +32015,20 @@ var GridApi = /** @class */ (function () {
|
|
|
31624
32015
|
};
|
|
31625
32016
|
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
31626
32017
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
32018
|
+
console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');
|
|
31627
32019
|
};
|
|
31628
32020
|
/** Adds the provided cell range to the selected ranges. */
|
|
31629
32021
|
GridApi.prototype.addCellRange = function (params) {
|
|
32022
|
+
if (!this.rangeService) {
|
|
32023
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32024
|
+
}
|
|
31630
32025
|
this.rangeService.addCellRange(params);
|
|
31631
32026
|
};
|
|
31632
32027
|
/** Clears the selected ranges. */
|
|
31633
32028
|
GridApi.prototype.clearRangeSelection = function () {
|
|
32029
|
+
if (!this.rangeService) {
|
|
32030
|
+
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32031
|
+
}
|
|
31634
32032
|
this.rangeService.removeAllCellRanges();
|
|
31635
32033
|
};
|
|
31636
32034
|
/** Reverts the last cell edit. */
|
|
@@ -31717,18 +32115,30 @@ var GridApi = /** @class */ (function () {
|
|
|
31717
32115
|
};
|
|
31718
32116
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
31719
32117
|
GridApi.prototype.copyToClipboard = function (params) {
|
|
32118
|
+
if (!this.clipboardService) {
|
|
32119
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32120
|
+
}
|
|
31720
32121
|
this.clipboardService.copyToClipboard(params);
|
|
31721
32122
|
};
|
|
31722
32123
|
/** Copies the selected rows to the clipboard. */
|
|
31723
32124
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
32125
|
+
if (!this.clipboardService) {
|
|
32126
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32127
|
+
}
|
|
31724
32128
|
this.clipboardService.copySelectedRowsToClipboard(params);
|
|
31725
32129
|
};
|
|
31726
32130
|
/** Copies the selected ranges to the clipboard. */
|
|
31727
32131
|
GridApi.prototype.copySelectedRangeToClipboard = function (params) {
|
|
32132
|
+
if (!this.clipboardService) {
|
|
32133
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32134
|
+
}
|
|
31728
32135
|
this.clipboardService.copySelectedRangeToClipboard(params);
|
|
31729
32136
|
};
|
|
31730
32137
|
/** Copies the selected range down, similar to `Ctrl + D` in Excel. */
|
|
31731
32138
|
GridApi.prototype.copySelectedRangeDown = function () {
|
|
32139
|
+
if (!this.clipboardService) {
|
|
32140
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32141
|
+
}
|
|
31732
32142
|
this.clipboardService.copyRangeDown();
|
|
31733
32143
|
};
|
|
31734
32144
|
/** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
|
|
@@ -31745,6 +32155,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31745
32155
|
column = this.columnModel.getPrimaryColumn(colKey);
|
|
31746
32156
|
}
|
|
31747
32157
|
if (!column) {
|
|
32158
|
+
console.error("AG Grid: column '" + colKey + "' not found");
|
|
31748
32159
|
return;
|
|
31749
32160
|
}
|
|
31750
32161
|
this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
|
|
@@ -31797,6 +32208,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31797
32208
|
GridApi.prototype.startEditingCell = function (params) {
|
|
31798
32209
|
var column = this.columnModel.getGridColumn(params.colKey);
|
|
31799
32210
|
if (!column) {
|
|
32211
|
+
console.warn("AG Grid: no column found for " + params.colKey);
|
|
31800
32212
|
return;
|
|
31801
32213
|
}
|
|
31802
32214
|
var cellPosition = {
|
|
@@ -31835,12 +32247,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31835
32247
|
/** Apply transactions to the server side row model. */
|
|
31836
32248
|
GridApi.prototype.applyServerSideTransaction = function (transaction) {
|
|
31837
32249
|
if (!this.serverSideTransactionManager) {
|
|
32250
|
+
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
31838
32251
|
return;
|
|
31839
32252
|
}
|
|
31840
32253
|
return this.serverSideTransactionManager.applyTransaction(transaction);
|
|
31841
32254
|
};
|
|
31842
32255
|
GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
|
|
31843
32256
|
if (!this.serverSideTransactionManager) {
|
|
32257
|
+
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
31844
32258
|
return;
|
|
31845
32259
|
}
|
|
31846
32260
|
return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
|
|
@@ -31848,12 +32262,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31848
32262
|
/** Gets all failed server side loads to retry. */
|
|
31849
32263
|
GridApi.prototype.retryServerSideLoads = function () {
|
|
31850
32264
|
if (!this.serverSideRowModel) {
|
|
32265
|
+
console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
|
|
31851
32266
|
return;
|
|
31852
32267
|
}
|
|
31853
32268
|
this.serverSideRowModel.retryLoads();
|
|
31854
32269
|
};
|
|
31855
32270
|
GridApi.prototype.flushServerSideAsyncTransactions = function () {
|
|
31856
32271
|
if (!this.serverSideTransactionManager) {
|
|
32272
|
+
console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
|
|
31857
32273
|
return;
|
|
31858
32274
|
}
|
|
31859
32275
|
return this.serverSideTransactionManager.flushAsyncTransactions();
|
|
@@ -31861,6 +32277,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31861
32277
|
/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
|
|
31862
32278
|
GridApi.prototype.applyTransaction = function (rowDataTransaction) {
|
|
31863
32279
|
if (!this.clientSideRowModel) {
|
|
32280
|
+
console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
|
|
31864
32281
|
return;
|
|
31865
32282
|
}
|
|
31866
32283
|
var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
|
|
@@ -31878,12 +32295,14 @@ var GridApi = /** @class */ (function () {
|
|
|
31878
32295
|
};
|
|
31879
32296
|
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
31880
32297
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
31881
|
-
|
|
32298
|
+
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.';
|
|
32299
|
+
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
31882
32300
|
return this.applyTransaction(rowDataTransaction);
|
|
31883
32301
|
};
|
|
31884
32302
|
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
|
|
31885
32303
|
GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
|
|
31886
32304
|
if (!this.clientSideRowModel) {
|
|
32305
|
+
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
31887
32306
|
return;
|
|
31888
32307
|
}
|
|
31889
32308
|
this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
|
|
@@ -31891,34 +32310,41 @@ var GridApi = /** @class */ (function () {
|
|
|
31891
32310
|
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
|
|
31892
32311
|
GridApi.prototype.flushAsyncTransactions = function () {
|
|
31893
32312
|
if (!this.clientSideRowModel) {
|
|
32313
|
+
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
31894
32314
|
return;
|
|
31895
32315
|
}
|
|
31896
32316
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
31897
32317
|
};
|
|
31898
32318
|
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
31899
32319
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
31900
|
-
|
|
32320
|
+
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.';
|
|
32321
|
+
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
31901
32322
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
31902
32323
|
};
|
|
31903
32324
|
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
31904
32325
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32326
|
+
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
31905
32327
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
31906
32328
|
};
|
|
31907
32329
|
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
31908
32330
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32331
|
+
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
31909
32332
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
31910
32333
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
31911
32334
|
};
|
|
31912
32335
|
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
31913
32336
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32337
|
+
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
31914
32338
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
31915
32339
|
};
|
|
31916
32340
|
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
31917
32341
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32342
|
+
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
31918
32343
|
this.refreshInfiniteCache();
|
|
31919
32344
|
};
|
|
31920
32345
|
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
31921
32346
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32347
|
+
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
31922
32348
|
this.refreshInfiniteCache();
|
|
31923
32349
|
};
|
|
31924
32350
|
/**
|
|
@@ -31930,13 +32356,18 @@ var GridApi = /** @class */ (function () {
|
|
|
31930
32356
|
if (this.infiniteRowModel) {
|
|
31931
32357
|
this.infiniteRowModel.refreshCache();
|
|
31932
32358
|
}
|
|
32359
|
+
else {
|
|
32360
|
+
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32361
|
+
}
|
|
31933
32362
|
};
|
|
31934
32363
|
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
31935
32364
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32365
|
+
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
31936
32366
|
this.purgeInfinitePageCache();
|
|
31937
32367
|
};
|
|
31938
32368
|
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
31939
32369
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32370
|
+
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
31940
32371
|
this.purgeInfiniteCache();
|
|
31941
32372
|
};
|
|
31942
32373
|
/**
|
|
@@ -31949,20 +32380,28 @@ var GridApi = /** @class */ (function () {
|
|
|
31949
32380
|
if (this.infiniteRowModel) {
|
|
31950
32381
|
this.infiniteRowModel.purgeCache();
|
|
31951
32382
|
}
|
|
32383
|
+
else {
|
|
32384
|
+
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32385
|
+
}
|
|
31952
32386
|
};
|
|
31953
32387
|
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
31954
32388
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32389
|
+
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
31955
32390
|
this.purgeServerSideCache(route);
|
|
31956
32391
|
};
|
|
31957
32392
|
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
31958
32393
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
31959
32394
|
if (route === void 0) { route = []; }
|
|
31960
32395
|
if (this.serverSideRowModel) {
|
|
32396
|
+
console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
|
|
31961
32397
|
this.refreshServerSide({
|
|
31962
32398
|
route: route,
|
|
31963
32399
|
purge: true
|
|
31964
32400
|
});
|
|
31965
32401
|
}
|
|
32402
|
+
else {
|
|
32403
|
+
console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
|
|
32404
|
+
}
|
|
31966
32405
|
};
|
|
31967
32406
|
/**
|
|
31968
32407
|
* Refresh a server-side level.
|
|
@@ -31971,29 +32410,34 @@ var GridApi = /** @class */ (function () {
|
|
|
31971
32410
|
*/
|
|
31972
32411
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
31973
32412
|
if (!this.serverSideRowModel) {
|
|
32413
|
+
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
31974
32414
|
return;
|
|
31975
32415
|
}
|
|
31976
32416
|
this.serverSideRowModel.refreshStore(params);
|
|
31977
32417
|
};
|
|
31978
32418
|
/** @deprecated use `refreshServerSide` instead */
|
|
31979
32419
|
GridApi.prototype.refreshServerSideStore = function (params) {
|
|
31980
|
-
|
|
32420
|
+
var message = "AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0";
|
|
32421
|
+
doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
|
|
31981
32422
|
return this.refreshServerSide(params);
|
|
31982
32423
|
};
|
|
31983
32424
|
/** @deprecated use `getServerSideGroupLevelState` instead */
|
|
31984
32425
|
GridApi.prototype.getServerSideStoreState = function () {
|
|
31985
|
-
|
|
32426
|
+
var message = "AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0";
|
|
32427
|
+
doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
|
|
31986
32428
|
return this.getServerSideGroupLevelState();
|
|
31987
32429
|
};
|
|
31988
32430
|
/** Returns info on all server side group levels. */
|
|
31989
32431
|
GridApi.prototype.getServerSideGroupLevelState = function () {
|
|
31990
32432
|
if (!this.serverSideRowModel) {
|
|
32433
|
+
console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
|
|
31991
32434
|
return [];
|
|
31992
32435
|
}
|
|
31993
32436
|
return this.serverSideRowModel.getStoreState();
|
|
31994
32437
|
};
|
|
31995
32438
|
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
31996
32439
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32440
|
+
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
31997
32441
|
return this.getInfiniteRowCount();
|
|
31998
32442
|
};
|
|
31999
32443
|
/** The row count defines how many rows the grid allows scrolling to. */
|
|
@@ -32001,9 +32445,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32001
32445
|
if (this.infiniteRowModel) {
|
|
32002
32446
|
return this.infiniteRowModel.getRowCount();
|
|
32003
32447
|
}
|
|
32448
|
+
else {
|
|
32449
|
+
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32450
|
+
}
|
|
32004
32451
|
};
|
|
32005
32452
|
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32006
32453
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32454
|
+
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32007
32455
|
return this.isLastRowIndexKnown();
|
|
32008
32456
|
};
|
|
32009
32457
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32011,13 +32459,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32011
32459
|
if (this.infiniteRowModel) {
|
|
32012
32460
|
return this.infiniteRowModel.isLastRowIndexKnown();
|
|
32013
32461
|
}
|
|
32462
|
+
else {
|
|
32463
|
+
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32464
|
+
}
|
|
32014
32465
|
};
|
|
32015
32466
|
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32016
32467
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32468
|
+
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32017
32469
|
this.setRowCount(rowCount, maxRowFound);
|
|
32018
32470
|
};
|
|
32019
32471
|
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32020
32472
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32473
|
+
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32021
32474
|
this.setRowCount(rowCount, maxRowFound);
|
|
32022
32475
|
};
|
|
32023
32476
|
/**
|
|
@@ -32031,13 +32484,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32031
32484
|
if (this.infiniteRowModel) {
|
|
32032
32485
|
this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
|
|
32033
32486
|
}
|
|
32487
|
+
else {
|
|
32488
|
+
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32489
|
+
}
|
|
32034
32490
|
};
|
|
32035
32491
|
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32036
32492
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32493
|
+
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32037
32494
|
return this.getCacheBlockState();
|
|
32038
32495
|
};
|
|
32039
32496
|
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32040
32497
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32498
|
+
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32041
32499
|
return this.getCacheBlockState();
|
|
32042
32500
|
};
|
|
32043
32501
|
/**
|
|
@@ -32048,9 +32506,11 @@ var GridApi = /** @class */ (function () {
|
|
|
32048
32506
|
};
|
|
32049
32507
|
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32050
32508
|
GridApi.prototype.checkGridSize = function () {
|
|
32509
|
+
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32051
32510
|
};
|
|
32052
32511
|
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32053
32512
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32513
|
+
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32054
32514
|
return this.getFirstDisplayedRow();
|
|
32055
32515
|
};
|
|
32056
32516
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -32059,6 +32519,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32059
32519
|
};
|
|
32060
32520
|
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32061
32521
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32522
|
+
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32062
32523
|
return this.getLastDisplayedRow();
|
|
32063
32524
|
};
|
|
32064
32525
|
/** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -33110,7 +33571,11 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33110
33571
|
};
|
|
33111
33572
|
};
|
|
33112
33573
|
SelectAllFeature.prototype.checkRightRowModelType = function () {
|
|
33113
|
-
this.rowModel.getType();
|
|
33574
|
+
var rowModelType = this.rowModel.getType();
|
|
33575
|
+
var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
33576
|
+
if (!rowModelMatches) {
|
|
33577
|
+
console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
|
|
33578
|
+
}
|
|
33114
33579
|
};
|
|
33115
33580
|
SelectAllFeature.prototype.onCbSelectAll = function () {
|
|
33116
33581
|
if (this.processingEventFromCheckbox) {
|
|
@@ -33142,12 +33607,15 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33142
33607
|
}
|
|
33143
33608
|
if (result) {
|
|
33144
33609
|
if (this.gridOptionsWrapper.isRowModelServerSide()) {
|
|
33610
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
|
|
33145
33611
|
return false;
|
|
33146
33612
|
}
|
|
33147
33613
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
33614
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
|
|
33148
33615
|
return false;
|
|
33149
33616
|
}
|
|
33150
33617
|
if (this.gridOptionsWrapper.isRowModelViewport()) {
|
|
33618
|
+
console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
|
|
33151
33619
|
return false;
|
|
33152
33620
|
}
|
|
33153
33621
|
// otherwise the row model is compatible, so return true
|
|
@@ -35764,6 +36232,9 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
35764
36232
|
// frames. this stops bugs - where some code is asking for a frame to be executed
|
|
35765
36233
|
// when it should not.
|
|
35766
36234
|
AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
|
|
36235
|
+
if (this.useAnimationFrame === false) {
|
|
36236
|
+
console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
|
|
36237
|
+
}
|
|
35767
36238
|
};
|
|
35768
36239
|
AnimationFrameService.prototype.createTask = function (task, index, list) {
|
|
35769
36240
|
this.verifyAnimationFrameOn(list);
|
|
@@ -37000,10 +37471,10 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37000
37471
|
this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
|
|
37001
37472
|
if (this.gridOptionsWrapper.isGroupRowsSticky()) {
|
|
37002
37473
|
if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
37003
|
-
doOnce(function () { return (
|
|
37474
|
+
doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');
|
|
37004
37475
|
}
|
|
37005
37476
|
else if (this.gridOptionsWrapper.isTreeData()) {
|
|
37006
|
-
doOnce(function () { return (
|
|
37477
|
+
doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
|
|
37007
37478
|
}
|
|
37008
37479
|
else {
|
|
37009
37480
|
this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
|
|
@@ -41147,7 +41618,9 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41147
41618
|
if (menuItemOrString === 'separator') {
|
|
41148
41619
|
_this.addSeparator();
|
|
41149
41620
|
}
|
|
41150
|
-
else if (typeof menuItemOrString === 'string')
|
|
41621
|
+
else if (typeof menuItemOrString === 'string') {
|
|
41622
|
+
console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
|
|
41623
|
+
}
|
|
41151
41624
|
else {
|
|
41152
41625
|
_this.addItem(menuItemOrString);
|
|
41153
41626
|
}
|
|
@@ -41512,7 +41985,9 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41512
41985
|
else if (typeof this.params.icon === 'string') {
|
|
41513
41986
|
icon.innerHTML = this.params.icon;
|
|
41514
41987
|
}
|
|
41515
|
-
else
|
|
41988
|
+
else {
|
|
41989
|
+
console.warn('AG Grid: menu item icon must be DOM node or string');
|
|
41990
|
+
}
|
|
41516
41991
|
}
|
|
41517
41992
|
this.getGui().appendChild(icon);
|
|
41518
41993
|
};
|
|
@@ -42462,6 +42937,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42462
42937
|
var eDocument = this.gridOptionsWrapper.getDocument();
|
|
42463
42938
|
var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
|
|
42464
42939
|
if (!eDocument) {
|
|
42940
|
+
console.warn('ag-grid: could not find the document, document is empty');
|
|
42465
42941
|
return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
|
|
42466
42942
|
}
|
|
42467
42943
|
var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
|
|
@@ -42874,6 +43350,7 @@ var VirtualList = /** @class */ (function (_super) {
|
|
|
42874
43350
|
VirtualList.prototype.ensureIndexVisible = function (index) {
|
|
42875
43351
|
var lastRow = this.model.getRowCount();
|
|
42876
43352
|
if (typeof index !== 'number' || index < 0 || index >= lastRow) {
|
|
43353
|
+
console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
|
|
42877
43354
|
return;
|
|
42878
43355
|
}
|
|
42879
43356
|
var rowTopPixel = index * this.rowHeight;
|
|
@@ -43177,6 +43654,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43177
43654
|
break;
|
|
43178
43655
|
default:
|
|
43179
43656
|
pointer = null;
|
|
43657
|
+
console.warn('AG Grid: unknown key for navigation ' + key);
|
|
43180
43658
|
break;
|
|
43181
43659
|
}
|
|
43182
43660
|
if (pointer) {
|
|
@@ -43571,6 +44049,12 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
43571
44049
|
var groupOpenedEvent = event;
|
|
43572
44050
|
_this.processGroupOpenedEvent(groupOpenedEvent);
|
|
43573
44051
|
break;
|
|
44052
|
+
case Events.EVENT_COLUMN_PIVOT_CHANGED:
|
|
44053
|
+
// we cannot support pivoting with aligned grids as the columns will be out of sync as the
|
|
44054
|
+
// grids will have columns created based on the row data of the grid.
|
|
44055
|
+
console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
|
|
44056
|
+
'You can only use one of these features at a time in a grid.');
|
|
44057
|
+
break;
|
|
43574
44058
|
}
|
|
43575
44059
|
});
|
|
43576
44060
|
};
|
|
@@ -43872,11 +44356,13 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
43872
44356
|
// where groups don't actually appear in the selection normally.
|
|
43873
44357
|
SelectionService.prototype.getBestCostNodeSelection = function () {
|
|
43874
44358
|
if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
44359
|
+
console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
|
|
43875
44360
|
return;
|
|
43876
44361
|
}
|
|
43877
44362
|
var clientSideRowModel = this.rowModel;
|
|
43878
44363
|
var topLevelNodes = clientSideRowModel.getTopLevelNodes();
|
|
43879
44364
|
if (topLevelNodes === null) {
|
|
44365
|
+
console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
|
|
43880
44366
|
return;
|
|
43881
44367
|
}
|
|
43882
44368
|
var result = [];
|
|
@@ -43918,6 +44404,7 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
43918
44404
|
var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
43919
44405
|
if (justFiltered) {
|
|
43920
44406
|
if (!rowModelClientSide) {
|
|
44407
|
+
console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
|
|
43921
44408
|
return;
|
|
43922
44409
|
}
|
|
43923
44410
|
var clientSideRowModel = this.rowModel;
|
|
@@ -44030,6 +44517,11 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44030
44517
|
}
|
|
44031
44518
|
/** Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`. To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead. */
|
|
44032
44519
|
ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
|
|
44520
|
+
// AG-3403 validate that gridWidth is provided because this method has the same name as
|
|
44521
|
+
// a method on the grid API that takes no arguments, and it's easy to confuse the two
|
|
44522
|
+
if (typeof gridWidth === "undefined") {
|
|
44523
|
+
console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
|
|
44524
|
+
}
|
|
44033
44525
|
this.columnModel.sizeColumnsToFit(gridWidth, 'api');
|
|
44034
44526
|
};
|
|
44035
44527
|
/** Call this if you want to open or close a column group. */
|
|
@@ -44098,6 +44590,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44098
44590
|
ColumnApi.prototype.moveColumn = function (key, toIndex) {
|
|
44099
44591
|
if (typeof key === 'number') {
|
|
44100
44592
|
// moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
|
|
44593
|
+
console.warn('AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');
|
|
44101
44594
|
this.columnModel.moveColumnByIndex(key, toIndex, 'api');
|
|
44102
44595
|
}
|
|
44103
44596
|
else {
|
|
@@ -44128,6 +44621,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44128
44621
|
ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
|
|
44129
44622
|
/** @deprecated Use `getPivotResultColumn` instead */
|
|
44130
44623
|
ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
|
|
44624
|
+
console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
|
|
44131
44625
|
return this.getPivotResultColumn(pivotKeys, valueColKey);
|
|
44132
44626
|
};
|
|
44133
44627
|
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
|
|
@@ -44186,18 +44680,21 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44186
44680
|
ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
|
|
44187
44681
|
/** @deprecated Use `setPivotResultColumns` instead. */
|
|
44188
44682
|
ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
|
|
44683
|
+
console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
|
|
44189
44684
|
this.setPivotResultColumns(colDefs);
|
|
44190
44685
|
};
|
|
44191
44686
|
/** Set the pivot result columns. */
|
|
44192
44687
|
ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
|
|
44193
44688
|
/** @deprecated Use `getPivotResultColumns` instead. */
|
|
44194
44689
|
ColumnApi.prototype.getSecondaryColumns = function () {
|
|
44690
|
+
console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
|
|
44195
44691
|
return this.getPivotResultColumns();
|
|
44196
44692
|
};
|
|
44197
44693
|
/** Returns the grid's pivot result columns. */
|
|
44198
44694
|
ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
|
|
44199
44695
|
/** @deprecated Use `getColumns` instead. */
|
|
44200
44696
|
ColumnApi.prototype.getPrimaryColumns = function () {
|
|
44697
|
+
console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
|
|
44201
44698
|
return this.getColumns();
|
|
44202
44699
|
};
|
|
44203
44700
|
ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
|
|
@@ -44216,66 +44713,82 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44216
44713
|
// }
|
|
44217
44714
|
/** @deprecated Use `getColumns` instead */
|
|
44218
44715
|
ColumnApi.prototype.getAllColumns = function () {
|
|
44716
|
+
console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
|
|
44219
44717
|
return this.getColumns();
|
|
44220
44718
|
};
|
|
44221
44719
|
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
|
|
44222
44720
|
ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
|
|
44721
|
+
console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
|
|
44223
44722
|
this.setColumnGroupOpened(group, newValue);
|
|
44224
44723
|
};
|
|
44225
44724
|
/** @deprecated hideColumns is deprecated, use setColumnsVisible */
|
|
44226
44725
|
ColumnApi.prototype.hideColumns = function (colIds, hide) {
|
|
44726
|
+
console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
|
|
44227
44727
|
this.columnModel.setColumnsVisible(colIds, !hide, 'api');
|
|
44228
44728
|
};
|
|
44229
44729
|
/** @deprecated hideColumn is deprecated, use setColumnVisible */
|
|
44230
44730
|
ColumnApi.prototype.hideColumn = function (colId, hide) {
|
|
44731
|
+
console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
|
|
44231
44732
|
this.columnModel.setColumnVisible(colId, !hide, 'api');
|
|
44232
44733
|
};
|
|
44233
44734
|
/** @deprecated setState is deprecated, use setColumnState */
|
|
44234
44735
|
ColumnApi.prototype.setState = function (columnState) {
|
|
44736
|
+
console.error('AG Grid: setState is deprecated, use setColumnState');
|
|
44235
44737
|
return this.setColumnState(columnState);
|
|
44236
44738
|
};
|
|
44237
44739
|
/** @deprecated getState is deprecated, use getColumnState */
|
|
44238
44740
|
ColumnApi.prototype.getState = function () {
|
|
44741
|
+
console.error('AG Grid: getState is deprecated, use getColumnState');
|
|
44239
44742
|
return this.getColumnState();
|
|
44240
44743
|
};
|
|
44241
44744
|
/** @deprecated resetState is deprecated, use resetColumnState */
|
|
44242
44745
|
ColumnApi.prototype.resetState = function () {
|
|
44746
|
+
console.error('AG Grid: resetState is deprecated, use resetColumnState');
|
|
44243
44747
|
this.resetColumnState();
|
|
44244
44748
|
};
|
|
44245
44749
|
/** @deprecated getAggregationColumns is deprecated, use getValueColumns */
|
|
44246
44750
|
ColumnApi.prototype.getAggregationColumns = function () {
|
|
44751
|
+
console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
|
|
44247
44752
|
return this.columnModel.getValueColumns();
|
|
44248
44753
|
};
|
|
44249
44754
|
/** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
|
|
44250
44755
|
ColumnApi.prototype.removeAggregationColumn = function (colKey) {
|
|
44756
|
+
console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
|
|
44251
44757
|
this.columnModel.removeValueColumn(colKey, 'api');
|
|
44252
44758
|
};
|
|
44253
44759
|
/** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
|
|
44254
44760
|
ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
|
|
44761
|
+
console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
|
|
44255
44762
|
this.columnModel.removeValueColumns(colKeys, 'api');
|
|
44256
44763
|
};
|
|
44257
44764
|
/** @deprecated addAggregationColumn is deprecated, use addValueColumn */
|
|
44258
44765
|
ColumnApi.prototype.addAggregationColumn = function (colKey) {
|
|
44766
|
+
console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
|
|
44259
44767
|
this.columnModel.addValueColumn(colKey, 'api');
|
|
44260
44768
|
};
|
|
44261
44769
|
/** @deprecated addAggregationColumns is deprecated, use addValueColumns */
|
|
44262
44770
|
ColumnApi.prototype.addAggregationColumns = function (colKeys) {
|
|
44771
|
+
console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
|
|
44263
44772
|
this.columnModel.addValueColumns(colKeys, 'api');
|
|
44264
44773
|
};
|
|
44265
44774
|
/** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
|
|
44266
44775
|
ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
|
|
44776
|
+
console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
|
|
44267
44777
|
this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
|
|
44268
44778
|
};
|
|
44269
44779
|
/** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
|
|
44270
44780
|
ColumnApi.prototype.getDisplayNameForCol = function (column) {
|
|
44781
|
+
console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
|
|
44271
44782
|
return this.getDisplayNameForColumn(column, null);
|
|
44272
44783
|
};
|
|
44273
44784
|
/** @deprecated setColumnState is deprecated, use applyColumnState. */
|
|
44274
44785
|
ColumnApi.prototype.setColumnState = function (columnState) {
|
|
44786
|
+
console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
|
|
44275
44787
|
return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
|
|
44276
44788
|
};
|
|
44277
44789
|
/** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
|
|
44278
44790
|
ColumnApi.prototype.getOriginalColumnGroup = function (name) {
|
|
44791
|
+
console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
|
|
44279
44792
|
return this.columnModel.getProvidedColumnGroup(name);
|
|
44280
44793
|
};
|
|
44281
44794
|
__decorate$1n([
|
|
@@ -44428,6 +44941,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44428
44941
|
// need either a field or a newValueHandler for this to work
|
|
44429
44942
|
if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
|
|
44430
44943
|
// we don't tell user about newValueHandler, as that is deprecated
|
|
44944
|
+
console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
|
|
44431
44945
|
return false;
|
|
44432
44946
|
}
|
|
44433
44947
|
var params = {
|
|
@@ -44604,6 +45118,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44604
45118
|
result = String(result);
|
|
44605
45119
|
if (result === '[object Object]') {
|
|
44606
45120
|
doOnce(function () {
|
|
45121
|
+
console.warn('AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key');
|
|
44607
45122
|
}, 'getKeyForNode - warn about [object,object]');
|
|
44608
45123
|
}
|
|
44609
45124
|
return result;
|
|
@@ -44675,7 +45190,9 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44675
45190
|
var expression = expressionOrFunc;
|
|
44676
45191
|
return this.evaluateExpression(expression, params);
|
|
44677
45192
|
}
|
|
44678
|
-
else
|
|
45193
|
+
else {
|
|
45194
|
+
console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
|
|
45195
|
+
}
|
|
44679
45196
|
};
|
|
44680
45197
|
ExpressionService.prototype.evaluateExpression = function (expression, params) {
|
|
44681
45198
|
try {
|
|
@@ -44689,9 +45206,13 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44689
45206
|
// the expression failed, which can happen, as it's the client that
|
|
44690
45207
|
// provides the expression. so print a nice message
|
|
44691
45208
|
// tslint:disable-next-line
|
|
45209
|
+
console.log('Processing of the expression failed');
|
|
44692
45210
|
// tslint:disable-next-line
|
|
45211
|
+
console.log('Expression = ' + expression);
|
|
44693
45212
|
// tslint:disable-next-line
|
|
45213
|
+
console.log('Params =', params);
|
|
44694
45214
|
// tslint:disable-next-line
|
|
45215
|
+
console.log('Exception = ' + e);
|
|
44695
45216
|
return null;
|
|
44696
45217
|
}
|
|
44697
45218
|
};
|
|
@@ -44789,6 +45310,7 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
44789
45310
|
};
|
|
44790
45311
|
TemplateService.prototype.handleHttpResult = function (httpResult, url) {
|
|
44791
45312
|
if (httpResult.status !== 200 || httpResult.response === null) {
|
|
45313
|
+
console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
|
|
44792
45314
|
return;
|
|
44793
45315
|
}
|
|
44794
45316
|
// response success, so process it
|
|
@@ -44869,7 +45391,10 @@ var Logger = /** @class */ (function () {
|
|
|
44869
45391
|
return this.isLoggingFunc();
|
|
44870
45392
|
};
|
|
44871
45393
|
Logger.prototype.log = function (message) {
|
|
44872
|
-
if (this.isLoggingFunc())
|
|
45394
|
+
if (this.isLoggingFunc()) {
|
|
45395
|
+
// tslint:disable-next-line
|
|
45396
|
+
console.log('AG Grid.' + this.name + ': ' + message);
|
|
45397
|
+
}
|
|
44873
45398
|
};
|
|
44874
45399
|
return Logger;
|
|
44875
45400
|
}());
|
|
@@ -45269,6 +45794,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45269
45794
|
sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
|
|
45270
45795
|
}
|
|
45271
45796
|
if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
|
|
45797
|
+
console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
|
|
45272
45798
|
return null;
|
|
45273
45799
|
}
|
|
45274
45800
|
var currentIndex = sortingOrder.indexOf(column.getSort());
|
|
@@ -45283,6 +45809,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45283
45809
|
}
|
|
45284
45810
|
// verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
|
|
45285
45811
|
if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
|
|
45812
|
+
console.warn('AG Grid: invalid sort type ' + result);
|
|
45286
45813
|
return null;
|
|
45287
45814
|
}
|
|
45288
45815
|
return result;
|
|
@@ -45611,6 +46138,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
45611
46138
|
var doingTreeData = this.gridOptionsWrapper.isTreeData();
|
|
45612
46139
|
var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
|
|
45613
46140
|
if (doingTreeData && doingMultiAutoColumn) {
|
|
46141
|
+
console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
|
|
45614
46142
|
doingMultiAutoColumn = false;
|
|
45615
46143
|
}
|
|
45616
46144
|
// if doing groupMultiAutoColumn, then we call the method multiple times, once
|
|
@@ -46294,8 +46822,8 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46294
46822
|
var theme = themeMatch[0];
|
|
46295
46823
|
var usingOldTheme = themeMatch[2] === undefined;
|
|
46296
46824
|
if (usingOldTheme) {
|
|
46297
|
-
theme.replace('ag-', 'ag-theme-');
|
|
46298
|
-
doOnce(function () { return (
|
|
46825
|
+
var newTheme_1 = theme.replace('ag-', 'ag-theme-');
|
|
46826
|
+
doOnce(function () { return console.warn("AG Grid: As of v19 old theme are no longer provided. Please replace " + theme + " with " + newTheme_1 + "."); }, 'using-old-theme');
|
|
46299
46827
|
}
|
|
46300
46828
|
return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
|
|
46301
46829
|
};
|
|
@@ -47801,6 +48329,7 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
47801
48329
|
var rowClass = this.gridOptionsWrapper.getRowClass();
|
|
47802
48330
|
if (rowClass) {
|
|
47803
48331
|
if (typeof rowClass === 'function') {
|
|
48332
|
+
console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
|
|
47804
48333
|
return [];
|
|
47805
48334
|
}
|
|
47806
48335
|
process(rowClass);
|
|
@@ -48641,6 +49170,7 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
|
|
|
48641
49170
|
var Grid = /** @class */ (function () {
|
|
48642
49171
|
function Grid(eGridDiv, gridOptions, params) {
|
|
48643
49172
|
if (!gridOptions) {
|
|
49173
|
+
console.error('AG Grid: no gridOptions provided to the grid');
|
|
48644
49174
|
return;
|
|
48645
49175
|
}
|
|
48646
49176
|
this.gridOptions = gridOptions;
|
|
@@ -48846,7 +49376,32 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
48846
49376
|
if (exists(rowModelClass)) {
|
|
48847
49377
|
return rowModelClass;
|
|
48848
49378
|
}
|
|
48849
|
-
if (ModuleRegistry.isPackageBased())
|
|
49379
|
+
if (ModuleRegistry.isPackageBased()) {
|
|
49380
|
+
if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
|
|
49381
|
+
// If package based only the enterprise row models could be missing.
|
|
49382
|
+
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/");
|
|
49383
|
+
}
|
|
49384
|
+
else {
|
|
49385
|
+
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49386
|
+
}
|
|
49387
|
+
}
|
|
49388
|
+
else {
|
|
49389
|
+
if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
|
|
49390
|
+
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/");
|
|
49391
|
+
}
|
|
49392
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
|
|
49393
|
+
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/");
|
|
49394
|
+
}
|
|
49395
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
|
|
49396
|
+
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/");
|
|
49397
|
+
}
|
|
49398
|
+
else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
49399
|
+
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/");
|
|
49400
|
+
}
|
|
49401
|
+
else {
|
|
49402
|
+
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49403
|
+
}
|
|
49404
|
+
}
|
|
48850
49405
|
};
|
|
48851
49406
|
return GridCoreCreator;
|
|
48852
49407
|
}());
|
|
@@ -49108,15 +49663,51 @@ var LicenseManager = /** @class */ (function (_super) {
|
|
|
49108
49663
|
}
|
|
49109
49664
|
};
|
|
49110
49665
|
LicenseManager.prototype.outputInvalidLicenseKey = function () {
|
|
49666
|
+
console.error('*****************************************************************************************************************');
|
|
49667
|
+
console.error('***************************************** AG Grid Enterprise License ********************************************');
|
|
49668
|
+
console.error('********************************************* Invalid License ***************************************************');
|
|
49669
|
+
console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
|
|
49670
|
+
console.error('*****************************************************************************************************************');
|
|
49671
|
+
console.error('*****************************************************************************************************************');
|
|
49111
49672
|
this.watermarkMessage = "Invalid License";
|
|
49112
49673
|
};
|
|
49113
49674
|
LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
|
|
49675
|
+
console.error('****************************************************************************************************************');
|
|
49676
|
+
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49677
|
+
console.error('***************************************** Trial Period Expired. *******************************************');
|
|
49678
|
+
console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
|
|
49679
|
+
console.error('* Please email info@ag-grid.com to purchase a license. *');
|
|
49680
|
+
console.error('****************************************************************************************************************');
|
|
49681
|
+
console.error('****************************************************************************************************************');
|
|
49114
49682
|
this.watermarkMessage = "Trial Period Expired";
|
|
49115
49683
|
};
|
|
49116
49684
|
LicenseManager.prototype.outputMissingLicenseKey = function () {
|
|
49685
|
+
console.error('****************************************************************************************************************');
|
|
49686
|
+
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49687
|
+
console.error('****************************************** License Key Not Found ***********************************************');
|
|
49688
|
+
console.error('* All AG Grid Enterprise features are unlocked. *');
|
|
49689
|
+
console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
|
|
49690
|
+
console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
|
|
49691
|
+
console.error('****************************************************************************************************************');
|
|
49692
|
+
console.error('****************************************************************************************************************');
|
|
49117
49693
|
this.watermarkMessage = "For Trial Use Only";
|
|
49118
49694
|
};
|
|
49119
49695
|
LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
|
|
49696
|
+
console.error('****************************************************************************************************************************');
|
|
49697
|
+
console.error('****************************************************************************************************************************');
|
|
49698
|
+
console.error('* AG Grid Enterprise License *');
|
|
49699
|
+
console.error('* License not compatible with installed version of AG Grid Enterprise. *');
|
|
49700
|
+
console.error('* *');
|
|
49701
|
+
console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
|
|
49702
|
+
console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
|
|
49703
|
+
console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
|
|
49704
|
+
console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
|
|
49705
|
+
console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
|
|
49706
|
+
console.error('* *');
|
|
49707
|
+
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 *');
|
|
49708
|
+
console.error('* version of AG Grid. *');
|
|
49709
|
+
console.error('****************************************************************************************************************************');
|
|
49710
|
+
console.error('****************************************************************************************************************************');
|
|
49120
49711
|
this.watermarkMessage = "License Expired";
|
|
49121
49712
|
};
|
|
49122
49713
|
var LicenseManager_1;
|
|
@@ -51479,10 +52070,12 @@ var RangeService = /** @class */ (function (_super) {
|
|
|
51479
52070
|
var isSameColumn = columnFrom === columnTo;
|
|
51480
52071
|
var fromIndex = allColumns.indexOf(columnFrom);
|
|
51481
52072
|
if (fromIndex < 0) {
|
|
52073
|
+
console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
|
|
51482
52074
|
return;
|
|
51483
52075
|
}
|
|
51484
52076
|
var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
|
|
51485
52077
|
if (toIndex < 0) {
|
|
52078
|
+
console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
|
|
51486
52079
|
return;
|
|
51487
52080
|
}
|
|
51488
52081
|
if (isSameColumn) {
|
|
@@ -52417,10 +53010,12 @@ var ServerSideRowModel = /** @class */ (function (_super) {
|
|
|
52417
53010
|
};
|
|
52418
53011
|
ServerSideRowModel.prototype.verifyProps = function () {
|
|
52419
53012
|
if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
|
|
52420
|
-
|
|
53013
|
+
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.";
|
|
53014
|
+
_.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
|
|
52421
53015
|
}
|
|
52422
53016
|
if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
|
|
52423
|
-
|
|
53017
|
+
var message_2 = "AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.";
|
|
53018
|
+
_.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
52424
53019
|
}
|
|
52425
53020
|
};
|
|
52426
53021
|
ServerSideRowModel.prototype.setDatasource = function (datasource) {
|
|
@@ -52970,6 +53565,11 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
52970
53565
|
rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
|
|
52971
53566
|
if (rowNode.key === null || rowNode.key === undefined) {
|
|
52972
53567
|
_.doOnce(function () {
|
|
53568
|
+
console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
|
|
53569
|
+
if (rowNode.rowGroupColumn) {
|
|
53570
|
+
console.warn("column = " + rowNode.rowGroupColumn.getId());
|
|
53571
|
+
}
|
|
53572
|
+
console.warn("data is ", rowNode.data);
|
|
52973
53573
|
}, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
|
|
52974
53574
|
}
|
|
52975
53575
|
};
|
|
@@ -53086,6 +53686,7 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53086
53686
|
var bottomPointer = 0;
|
|
53087
53687
|
var topPointer = rowNodes.length - 1;
|
|
53088
53688
|
if (_.missing(topPointer) || _.missing(bottomPointer)) {
|
|
53689
|
+
console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
|
|
53089
53690
|
return undefined;
|
|
53090
53691
|
}
|
|
53091
53692
|
while (true) {
|
|
@@ -53114,6 +53715,7 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53114
53715
|
topPointer = midPointer - 1;
|
|
53115
53716
|
}
|
|
53116
53717
|
else {
|
|
53718
|
+
console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
|
|
53117
53719
|
return undefined;
|
|
53118
53720
|
}
|
|
53119
53721
|
}
|
|
@@ -53229,6 +53831,11 @@ var NodeManager = /** @class */ (function () {
|
|
|
53229
53831
|
}
|
|
53230
53832
|
NodeManager.prototype.addRowNode = function (rowNode) {
|
|
53231
53833
|
var id = rowNode.id;
|
|
53834
|
+
if (this.rowNodes[id]) {
|
|
53835
|
+
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.");
|
|
53836
|
+
console.warn('first instance', this.rowNodes[id].data);
|
|
53837
|
+
console.warn('second instance', rowNode.data);
|
|
53838
|
+
}
|
|
53232
53839
|
this.rowNodes[id] = rowNode;
|
|
53233
53840
|
};
|
|
53234
53841
|
NodeManager.prototype.removeNode = function (rowNode) {
|
|
@@ -54160,7 +54767,8 @@ var InfiniteStore = /** @class */ (function (_super) {
|
|
|
54160
54767
|
Object.assign(this.info, info);
|
|
54161
54768
|
}
|
|
54162
54769
|
if (!params.rowData) {
|
|
54163
|
-
|
|
54770
|
+
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.';
|
|
54771
|
+
_.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
|
|
54164
54772
|
}
|
|
54165
54773
|
var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
|
|
54166
54774
|
// if we are not active, then we ignore all events, otherwise we could end up getting the
|
|
@@ -54919,7 +55527,8 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
54919
55527
|
this.nodesAfterFilter = [];
|
|
54920
55528
|
this.allNodesMap = {};
|
|
54921
55529
|
if (!params.rowData) {
|
|
54922
|
-
|
|
55530
|
+
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.';
|
|
55531
|
+
_.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
|
|
54923
55532
|
}
|
|
54924
55533
|
this.createOrRecycleNodes(nodesToRecycle, params.rowData);
|
|
54925
55534
|
if (nodesToRecycle) {
|
|
@@ -55294,6 +55903,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55294
55903
|
});
|
|
55295
55904
|
rowNode = this.allNodesMap[id];
|
|
55296
55905
|
if (!rowNode) {
|
|
55906
|
+
console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
|
|
55297
55907
|
return null;
|
|
55298
55908
|
}
|
|
55299
55909
|
}
|
|
@@ -55301,6 +55911,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55301
55911
|
// find rowNode using object references
|
|
55302
55912
|
rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
|
|
55303
55913
|
if (!rowNode) {
|
|
55914
|
+
console.error("AG Grid: could not find data item as object was not found", data);
|
|
55304
55915
|
return null;
|
|
55305
55916
|
}
|
|
55306
55917
|
}
|
|
@@ -55448,11 +56059,15 @@ var StoreFactory = /** @class */ (function () {
|
|
|
55448
56059
|
return undefined;
|
|
55449
56060
|
}
|
|
55450
56061
|
if (ssrmParams.dynamicRowHeight) {
|
|
55451
|
-
|
|
56062
|
+
var message_1 = 'AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. ' +
|
|
56063
|
+
'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56064
|
+
_.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
55452
56065
|
return undefined;
|
|
55453
56066
|
}
|
|
55454
56067
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
55455
|
-
|
|
56068
|
+
var message_2 = 'AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. ' +
|
|
56069
|
+
'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56070
|
+
_.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
55456
56071
|
return undefined;
|
|
55457
56072
|
}
|
|
55458
56073
|
return maxBlocksInCache;
|
|
@@ -55680,6 +56295,7 @@ var Downloader = /** @class */ (function () {
|
|
|
55680
56295
|
Downloader.download = function (fileName, content) {
|
|
55681
56296
|
var win = document.defaultView || window;
|
|
55682
56297
|
if (!win) {
|
|
56298
|
+
console.warn('AG Grid: There is no `window` associated with the current `document`');
|
|
55683
56299
|
return;
|
|
55684
56300
|
}
|
|
55685
56301
|
var element = document.createElement('a');
|
|
@@ -55813,6 +56429,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
55813
56429
|
stringValue = value.toString();
|
|
55814
56430
|
}
|
|
55815
56431
|
else {
|
|
56432
|
+
console.warn('AG Grid: unknown value type during csv conversion');
|
|
55816
56433
|
stringValue = '';
|
|
55817
56434
|
}
|
|
55818
56435
|
// replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
|
|
@@ -55867,6 +56484,7 @@ var CsvCreator = /** @class */ (function (_super) {
|
|
|
55867
56484
|
};
|
|
55868
56485
|
CsvCreator.prototype.export = function (userParams) {
|
|
55869
56486
|
if (this.isExportSuppressed()) {
|
|
56487
|
+
console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
|
|
55870
56488
|
return '';
|
|
55871
56489
|
}
|
|
55872
56490
|
var mergedParams = this.getMergedParams(userParams);
|
|
@@ -55986,7 +56604,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
55986
56604
|
var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
|
|
55987
56605
|
var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
|
|
55988
56606
|
if (skipRowGroups && params.skipGroups) {
|
|
55989
|
-
_.doOnce(function () { return (
|
|
56607
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');
|
|
55990
56608
|
}
|
|
55991
56609
|
if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
|
|
55992
56610
|
(params.onlySelected && !node.isSelected()) ||
|
|
@@ -56020,7 +56638,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56020
56638
|
var appendContent = params.customFooter || params.appendContent;
|
|
56021
56639
|
if (appendContent) {
|
|
56022
56640
|
if (params.customFooter) {
|
|
56023
|
-
_.doOnce(function () { return (
|
|
56641
|
+
_.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');
|
|
56024
56642
|
}
|
|
56025
56643
|
gridSerializingSession.addCustomContent(appendContent);
|
|
56026
56644
|
}
|
|
@@ -56032,7 +56650,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56032
56650
|
var prependContent = params.customHeader || params.prependContent;
|
|
56033
56651
|
if (prependContent) {
|
|
56034
56652
|
if (params.customHeader) {
|
|
56035
|
-
_.doOnce(function () { return (
|
|
56653
|
+
_.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');
|
|
56036
56654
|
}
|
|
56037
56655
|
gridSerializingSession.addCustomContent(prependContent);
|
|
56038
56656
|
}
|
|
@@ -56054,7 +56672,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56054
56672
|
_this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
|
|
56055
56673
|
}
|
|
56056
56674
|
else if (params.columnGroups) {
|
|
56057
|
-
_.doOnce(function () { return (
|
|
56675
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');
|
|
56058
56676
|
}
|
|
56059
56677
|
return gridSerializingSession;
|
|
56060
56678
|
};
|
|
@@ -56068,7 +56686,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56068
56686
|
});
|
|
56069
56687
|
}
|
|
56070
56688
|
else if (params.skipHeader) {
|
|
56071
|
-
_.doOnce(function () { return (
|
|
56689
|
+
_.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');
|
|
56072
56690
|
}
|
|
56073
56691
|
return gridSerializingSession;
|
|
56074
56692
|
};
|
|
@@ -56316,6 +56934,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56316
56934
|
.then(this.processClipboardData.bind(this))
|
|
56317
56935
|
.catch(function (e) {
|
|
56318
56936
|
_.doOnce(function () {
|
|
56937
|
+
console.warn(e);
|
|
56938
|
+
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
|
|
56939
|
+
'The reason why it could not be used has been logged in the previous line. ' +
|
|
56940
|
+
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
56941
|
+
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
56942
|
+
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
|
|
56319
56943
|
}, 'clipboardApiError');
|
|
56320
56944
|
_this.navigatorApiFailed = true;
|
|
56321
56945
|
_this.pasteFromClipboardLegacy();
|
|
@@ -56842,6 +57466,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56842
57466
|
if (allowNavigator && navigator.clipboard) {
|
|
56843
57467
|
navigator.clipboard.writeText(data).catch(function (e) {
|
|
56844
57468
|
_.doOnce(function () {
|
|
57469
|
+
console.warn(e);
|
|
57470
|
+
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
|
|
57471
|
+
'The reason why it could not be used has been logged in the previous line. ' +
|
|
57472
|
+
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
57473
|
+
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
57474
|
+
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
|
|
56845
57475
|
}, 'clipboardApiError');
|
|
56846
57476
|
_this.copyDataToClipboardLegacy(data);
|
|
56847
57477
|
});
|
|
@@ -56858,7 +57488,12 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56858
57488
|
element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
|
|
56859
57489
|
element.select();
|
|
56860
57490
|
element.focus({ preventScroll: true });
|
|
56861
|
-
eDocument.execCommand('copy');
|
|
57491
|
+
var result = eDocument.execCommand('copy');
|
|
57492
|
+
if (!result) {
|
|
57493
|
+
console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
|
|
57494
|
+
'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
|
|
57495
|
+
'the browser will prevent it for security reasons.');
|
|
57496
|
+
}
|
|
56862
57497
|
if (focusedElementBefore != null && focusedElementBefore.focus != null) {
|
|
56863
57498
|
focusedElementBefore.focus({ preventScroll: true });
|
|
56864
57499
|
}
|
|
@@ -56882,6 +57517,7 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56882
57517
|
callbackNow(eTempInput);
|
|
56883
57518
|
}
|
|
56884
57519
|
catch (err) {
|
|
57520
|
+
console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
|
|
56885
57521
|
}
|
|
56886
57522
|
//It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
|
|
56887
57523
|
if (callbackAfter) {
|
|
@@ -58154,6 +58790,7 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
|
|
|
58154
58790
|
return false;
|
|
58155
58791
|
};
|
|
58156
58792
|
ToolPanelColumnComp.prototype.setExpanded = function (value) {
|
|
58793
|
+
console.warn('AG Grid: can not expand a column item that does not represent a column group header');
|
|
58157
58794
|
};
|
|
58158
58795
|
ToolPanelColumnComp.TEMPLATE = "<div class=\"ag-column-select-column\" aria-hidden=\"true\">\n <ag-checkbox ref=\"cbSelect\" class=\"ag-column-select-checkbox\"></ag-checkbox>\n <span class=\"ag-column-select-column-label\" ref=\"eLabel\"></span>\n </div>";
|
|
58159
58796
|
__decorate$q([
|
|
@@ -58448,7 +59085,10 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
|
|
|
58448
59085
|
expandedGroupIds.push(groupId);
|
|
58449
59086
|
}
|
|
58450
59087
|
});
|
|
58451
|
-
groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59088
|
+
var unrecognisedGroupIds = groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59089
|
+
if (unrecognisedGroupIds.length > 0) {
|
|
59090
|
+
console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
|
|
59091
|
+
}
|
|
58452
59092
|
};
|
|
58453
59093
|
PrimaryColsListPanel.prototype.getExpandState = function () {
|
|
58454
59094
|
var expandedCount = 0;
|
|
@@ -58842,6 +59482,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
58842
59482
|
this.aggFuncService.getAggFunc(aggFuncOrString) :
|
|
58843
59483
|
aggFuncOrString;
|
|
58844
59484
|
if (typeof aggFunc !== 'function') {
|
|
59485
|
+
console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
|
|
58845
59486
|
return null;
|
|
58846
59487
|
}
|
|
58847
59488
|
var aggFuncAny = aggFunc;
|
|
@@ -59368,6 +60009,9 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
59368
60009
|
GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
|
|
59369
60010
|
var path = this.getGroupInfo(childNode, details);
|
|
59370
60011
|
var parentGroup = this.findParentForNode(childNode, path, details);
|
|
60012
|
+
if (!parentGroup.group) {
|
|
60013
|
+
console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
|
|
60014
|
+
}
|
|
59371
60015
|
if (this.usingTreeData) {
|
|
59372
60016
|
this.swapGroupWithUserNode(parentGroup, childNode, isMove);
|
|
59373
60017
|
}
|
|
@@ -59505,7 +60149,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
59505
60149
|
GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
|
|
59506
60150
|
var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
59507
60151
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
59508
|
-
_.doOnce(function () { return (
|
|
60152
|
+
_.doOnce(function () { return console.warn("AG Grid: getDataPath() should not return an empty path for data", rowNode.data); }, 'groupStage.getGroupInfoFromCallback');
|
|
59509
60153
|
}
|
|
59510
60154
|
var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
|
|
59511
60155
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -62230,6 +62874,7 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
|
|
|
62230
62874
|
var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
|
|
62231
62875
|
var componentPromise = compDetails.newAgStackInstance();
|
|
62232
62876
|
if (componentPromise == null) {
|
|
62877
|
+
console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
|
|
62233
62878
|
return;
|
|
62234
62879
|
}
|
|
62235
62880
|
componentPromise.then(this.setToolPanelComponent.bind(this));
|
|
@@ -62424,6 +63069,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62424
63069
|
var _this = this;
|
|
62425
63070
|
defs.forEach(function (def) {
|
|
62426
63071
|
if (def.id == null) {
|
|
63072
|
+
console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
|
|
62427
63073
|
return;
|
|
62428
63074
|
}
|
|
62429
63075
|
// helpers, in case user doesn't have the right module loaded
|
|
@@ -62469,6 +63115,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62469
63115
|
SideBarComp.prototype.getToolPanelInstance = function (key) {
|
|
62470
63116
|
var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
|
|
62471
63117
|
if (!toolPanelWrapper) {
|
|
63118
|
+
console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
|
|
62472
63119
|
return;
|
|
62473
63120
|
}
|
|
62474
63121
|
return toolPanelWrapper.getToolPanelInstance();
|
|
@@ -62554,6 +63201,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62554
63201
|
}
|
|
62555
63202
|
ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
|
|
62556
63203
|
var _this = this;
|
|
63204
|
+
var invalidColIds = [];
|
|
62557
63205
|
var createDummyColGroup = function (abstractColDef, depth) {
|
|
62558
63206
|
if (_this.isColGroupDef(abstractColDef)) {
|
|
62559
63207
|
// creating 'dummy' group which is not associated with grid column group
|
|
@@ -62575,6 +63223,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62575
63223
|
var colDef = abstractColDef;
|
|
62576
63224
|
var key = colDef.colId ? colDef.colId : colDef.field;
|
|
62577
63225
|
var column = _this.columnModel.getPrimaryColumn(key);
|
|
63226
|
+
if (!column) {
|
|
63227
|
+
invalidColIds.push(colDef);
|
|
63228
|
+
}
|
|
62578
63229
|
return column;
|
|
62579
63230
|
}
|
|
62580
63231
|
};
|
|
@@ -62586,6 +63237,9 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
62586
63237
|
mappedResults.push(result);
|
|
62587
63238
|
}
|
|
62588
63239
|
});
|
|
63240
|
+
if (invalidColIds.length > 0) {
|
|
63241
|
+
console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
|
|
63242
|
+
}
|
|
62589
63243
|
return mappedResults;
|
|
62590
63244
|
};
|
|
62591
63245
|
ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
|
|
@@ -63140,10 +63794,15 @@ var EnterpriseMenu = /** @class */ (function (_super) {
|
|
|
63140
63794
|
};
|
|
63141
63795
|
EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
|
|
63142
63796
|
var isValid = true;
|
|
63797
|
+
var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
|
|
63143
63798
|
if (this.restrictTo != null) {
|
|
63144
63799
|
isValid = this.restrictTo.indexOf(menuTabName) > -1;
|
|
63800
|
+
itemsToConsider = this.restrictTo;
|
|
63145
63801
|
}
|
|
63146
63802
|
isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
|
|
63803
|
+
if (!isValid) {
|
|
63804
|
+
console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
|
|
63805
|
+
}
|
|
63147
63806
|
return isValid;
|
|
63148
63807
|
};
|
|
63149
63808
|
EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
|
|
@@ -63854,6 +64513,7 @@ var MenuItemMapper = /** @class */ (function (_super) {
|
|
|
63854
64513
|
return chartMenuItem;
|
|
63855
64514
|
}
|
|
63856
64515
|
else {
|
|
64516
|
+
console.warn("AG Grid: unknown menu item type " + key);
|
|
63857
64517
|
return null;
|
|
63858
64518
|
}
|
|
63859
64519
|
}
|