@sankhyalabs/ezui 7.3.5-dev.1 → 7.3.5-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/cjs/ApplicationUtils-34e43a14.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/DataBinder-cdc66d4e.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-fe8da83c.js.gz +0 -0
- package/dist/cjs/FormMetadata-16c68f51.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-a03da63f.js.gz +0 -0
- package/dist/cjs/classic-search-list_11.cjs.entry.js +1 -1
- package/dist/cjs/classic-search-list_11.cjs.entry.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 +1 -1
- 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-date-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-date-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-number-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-search-plus.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-collapsible-box.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-filter.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-pagination.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 +105 -765
- 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-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_5.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.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-record-navigation.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-rich-toolbar-arrows_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
- package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
- package/dist/cjs/ezui.cjs.js.gz +0 -0
- package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
- package/dist/cjs/floating-ui.dom.esm-4a0428c0.js.gz +0 -0
- package/dist/cjs/index-a7b0c73d.js.gz +0 -0
- package/dist/cjs/index-f98939e1.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-4f39f037.js → purify-ef86f048.js} +0 -1
- package/dist/cjs/purify-ef86f048.js.gz +0 -0
- package/dist/cjs/search-column-f1c7a355.js.gz +0 -0
- package/dist/cjs/searchFormatters-051f8677.js.gz +0 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
- package/dist/cjs/types-6a5df0c7.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-date-input/ez-classic-date-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js.gz +0 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.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-number-input/ez-classic-number-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js.gz +0 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.css.gz +0 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.js.gz +0 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css.gz +0 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js.gz +0 -0
- package/dist/collection/components/ez-classic-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css.gz +0 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js.gz +0 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css.gz +0 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.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-classic-time-input/ez-classic-time-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.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/ez-filter.css.gz +0 -0
- package/dist/collection/components/ez-filter/ez-filter.js.gz +0 -0
- package/dist/collection/components/ez-filter/interfaces/IFilterChange.js.gz +0 -0
- package/dist/collection/components/ez-filter/interfaces/IFilterCustomField.js.gz +0 -0
- package/dist/collection/components/ez-filter/interfaces/index.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/ImageInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.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/AggFunctionResolver.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/IAggegationFunc.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-pagination/ez-grid-pagination.css.gz +0 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js.gz +0 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.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-image-input/ez-image-input.css.gz +0 -0
- package/dist/collection/components/ez-image-input/ez-image-input.js.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
- package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
- package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.css.gz +0 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.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/EzScrollNavigationMode.js.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
- package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
- package/dist/collection/global/app-init.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/servidor.js.gz +0 -0
- package/dist/collection/setupTests.js.gz +0 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
- package/dist/collection/utils/AssetsUtils.js.gz +0 -0
- package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
- package/dist/collection/utils/FocusResolver.js.gz +0 -0
- package/dist/collection/utils/ag-grid-license.js.gz +0 -0
- package/dist/collection/utils/constants.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
- package/dist/collection/utils/form/DataBinder.js.gz +0 -0
- package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
- package/dist/collection/utils/form/index.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
- package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
- package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
- package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
- package/dist/collection/utils/i18n/index.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
- package/dist/collection/utils/i18n/translations.js.gz +0 -0
- package/dist/collection/utils/index.js.gz +0 -0
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
- package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
- package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
- package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
- package/dist/collection/utils/search/types.js.gz +0 -0
- package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
- package/dist/custom-elements/index.js +105 -766
- package/dist/custom-elements/index.js.gz +0 -0
- package/dist/esm/ApplicationUtils-aaf24be5.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/DataBinder-81d15b1b.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-bda67973.js.gz +0 -0
- package/dist/esm/FormMetadata-112f11d8.js.gz +0 -0
- package/dist/esm/RichToolbarHelper-cad0978a.js.gz +0 -0
- package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
- package/dist/esm/app-globals-d5fb68f0.js.gz +0 -0
- package/dist/esm/classic-search-list_11.entry.js +1 -1
- package/dist/esm/classic-search-list_11.entry.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 +1 -1
- 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-date-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-date-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-number-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-search-plus.entry.js.gz +0 -0
- package/dist/esm/ez-classic-search.entry.js.gz +0 -0
- package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-classic-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-collapsible-box.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-filter.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-pagination.entry.js.gz +0 -0
- package/dist/esm/ez-grid-view.entry.js.gz +0 -0
- package/dist/esm/ez-grid.entry.js +105 -765
- 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-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_5.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.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-record-navigation.entry.js.gz +0 -0
- package/dist/esm/ez-rich-toolbar-arrows_3.entry.js.gz +0 -0
- package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
- package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
- package/dist/esm/ez-search-plus.entry.js.gz +0 -0
- package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
- package/dist/esm/ez-search.entry.js.gz +0 -0
- package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-skeleton.entry.js.gz +0 -0
- package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
- package/dist/esm/ez-spinner.entry.js.gz +0 -0
- package/dist/esm/ez-split-button.entry.js.gz +0 -0
- package/dist/esm/ez-split-item.entry.js.gz +0 -0
- package/dist/esm/ez-split-panel.entry.js.gz +0 -0
- package/dist/esm/ez-tabselector.entry.js.gz +0 -0
- package/dist/esm/ez-tag-input.entry.js.gz +0 -0
- package/dist/esm/ez-tag.entry.js.gz +0 -0
- package/dist/esm/ez-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-text-input.entry.js.gz +0 -0
- package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
- package/dist/esm/ez-tile.entry.js.gz +0 -0
- package/dist/esm/ez-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-toast.entry.js.gz +0 -0
- package/dist/esm/ez-tooltip.entry.js.gz +0 -0
- package/dist/esm/ez-tree.entry.js.gz +0 -0
- package/dist/esm/ez-underface.entry.js.gz +0 -0
- package/dist/esm/ez-upload.entry.js.gz +0 -0
- package/dist/esm/ez-view-stack.entry.js.gz +0 -0
- package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
- package/dist/esm/ezui.js.gz +0 -0
- package/dist/esm/filter-column.entry.js.gz +0 -0
- package/dist/esm/floating-ui.dom.esm-ffa73324.js.gz +0 -0
- package/dist/esm/index-baa5e267.js.gz +0 -0
- package/dist/esm/index-d37095f4.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-f52f5419.js → purify-96c0d5c2.js} +0 -1
- package/dist/esm/purify-96c0d5c2.js.gz +0 -0
- package/dist/esm/search-column-8b15de9a.js.gz +0 -0
- package/dist/esm/searchFormatters-6d9b06e4.js.gz +0 -0
- package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
- package/dist/esm/types-6f6b2650.js.gz +0 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/ezui.esm.js.gz +0 -0
- package/dist/ezui/index.esm.js.gz +0 -0
- package/dist/ezui/p-0583e935.entry.js.gz +0 -0
- package/dist/ezui/p-05af2c30.entry.js.gz +0 -0
- package/dist/ezui/p-0d80e3ec.entry.js.gz +0 -0
- package/dist/ezui/p-0ec3061a.entry.js.gz +0 -0
- package/dist/ezui/p-10da38bf.js.gz +0 -0
- package/dist/ezui/p-112455b1.js.gz +0 -0
- package/dist/ezui/p-1283b53a.entry.js.gz +0 -0
- package/dist/ezui/p-133c9bac.entry.js.gz +0 -0
- package/dist/ezui/p-178cb9df.entry.js.gz +0 -0
- package/dist/ezui/p-1878f204.entry.js.gz +0 -0
- package/dist/ezui/p-1a017dc3.entry.js.gz +0 -0
- package/dist/ezui/p-1b3151a3.entry.js.gz +0 -0
- package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
- package/dist/ezui/p-1e82a5b6.entry.js.gz +0 -0
- package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
- package/dist/ezui/p-20059180.js.gz +0 -0
- package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
- package/dist/ezui/p-23a36bb6.js.gz +0 -0
- package/dist/ezui/p-2b467976.entry.js.gz +0 -0
- package/dist/ezui/p-2c74a7c2.entry.js.gz +0 -0
- package/dist/ezui/p-2fe3d4c5.entry.js.gz +0 -0
- package/dist/ezui/p-359430a5.entry.js.gz +0 -0
- package/dist/ezui/p-3a3926dd.entry.js.gz +0 -0
- package/dist/ezui/p-3ff798b2.entry.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-47e4a8ce.js.gz +0 -0
- package/dist/ezui/p-49bc0b59.entry.js.gz +0 -0
- package/dist/ezui/p-4c61a6df.entry.js +309 -0
- package/dist/ezui/p-4c61a6df.entry.js.gz +0 -0
- package/dist/ezui/p-4f48f23a.entry.js.gz +0 -0
- package/dist/ezui/p-53ed3234.entry.js.gz +0 -0
- package/dist/ezui/p-5895e687.js.gz +0 -0
- package/dist/ezui/p-5a1abe6a.entry.js.gz +0 -0
- package/dist/ezui/p-5af2fb3b.entry.js.gz +0 -0
- package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
- package/dist/ezui/p-62f331fe.entry.js.gz +0 -0
- package/dist/ezui/p-63409a57.entry.js.gz +0 -0
- package/dist/ezui/p-638a30d0.js.gz +0 -0
- package/dist/ezui/p-65215a4f.entry.js.gz +0 -0
- package/dist/ezui/p-65b9fe4c.entry.js.gz +0 -0
- package/dist/ezui/p-68107165.entry.js.gz +0 -0
- package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
- package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
- package/dist/ezui/p-7995dcb4.entry.js +1 -0
- package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
- package/dist/ezui/p-7a0a96fa.entry.js.gz +0 -0
- package/dist/ezui/p-7f792043.entry.js.gz +0 -0
- package/dist/ezui/p-7f7b4b9b.js.gz +0 -0
- package/dist/ezui/p-80dfc50b.js.gz +0 -0
- package/dist/ezui/p-83781530.entry.js.gz +0 -0
- package/dist/ezui/p-88a115b3.js.gz +0 -0
- package/dist/ezui/p-8c339d46.entry.js.gz +0 -0
- package/dist/ezui/p-8d346a47.entry.js.gz +0 -0
- package/dist/ezui/p-8ddeb58b.entry.js.gz +0 -0
- package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
- package/dist/ezui/p-8ebe11f4.js.gz +0 -0
- package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
- package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
- package/dist/ezui/p-989849b8.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9bff4320.entry.js.gz +0 -0
- package/dist/ezui/p-9c0fdc8e.entry.js.gz +0 -0
- package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
- package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
- package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
- package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-abfbbe1e.entry.js.gz +0 -0
- package/dist/ezui/p-af0196b7.entry.js.gz +0 -0
- package/dist/ezui/p-b1e45320.js.gz +0 -0
- package/dist/ezui/p-b29d9b0e.entry.js.gz +0 -0
- package/dist/ezui/p-b50289bb.entry.js.gz +0 -0
- package/dist/ezui/p-b50ed164.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
- package/dist/ezui/p-bcf0460e.entry.js.gz +0 -0
- package/dist/ezui/p-bd7c1dd6.entry.js.gz +0 -0
- package/dist/ezui/p-bf3c7f5f.entry.js.gz +0 -0
- package/dist/ezui/p-c086e527.entry.js.gz +0 -0
- package/dist/ezui/{p-0f6e6ff6.entry.js → p-c361846d.entry.js} +1 -1
- package/dist/ezui/p-c361846d.entry.js.gz +0 -0
- package/dist/ezui/p-ca707def.entry.js.gz +0 -0
- package/dist/ezui/p-ce4d51eb.entry.js.gz +0 -0
- package/dist/ezui/p-d393677b.entry.js.gz +0 -0
- package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
- package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
- package/dist/ezui/p-d878fb19.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-df1cb82b.entry.js.gz +0 -0
- package/dist/ezui/p-df539dd1.entry.js.gz +0 -0
- package/dist/ezui/p-df6173c8.entry.js.gz +0 -0
- package/dist/ezui/p-e11574fb.entry.js.gz +0 -0
- package/dist/ezui/p-e25a7874.entry.js.gz +0 -0
- package/dist/ezui/p-e2defb84.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-e95d93ba.entry.js.gz +0 -0
- package/dist/ezui/p-ea184272.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/p-efea2c79.entry.js.gz +0 -0
- package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
- package/dist/ezui/p-f60a6b1f.js.gz +0 -0
- package/dist/ezui/{p-58ce160e.js → p-f90e8299.js} +1 -1
- package/dist/ezui/p-f90e8299.js.gz +0 -0
- package/dist/ezui/p-ff79e5c2.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
- package/package.json +2 -2
- package/dist/ezui/p-6369a0cd.entry.js +0 -1
- package/dist/ezui/p-c6f28649.entry.js +0 -309
|
@@ -15,7 +15,7 @@ const searchColumn = require('./search-column-f1c7a355.js');
|
|
|
15
15
|
const constants = require('./constants-72b7e05e.js');
|
|
16
16
|
const DataBinder = require('./DataBinder-cdc66d4e.js');
|
|
17
17
|
const FocusResolver = require('./FocusResolver-885f2173.js');
|
|
18
|
-
const purify = require('./purify-
|
|
18
|
+
const purify = require('./purify-ef86f048.js');
|
|
19
19
|
require('./_commonjsHelpers-537d719a.js');
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -441,7 +441,6 @@ function removeAllReferences(obj, objectName) {
|
|
|
441
441
|
// leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
|
|
442
442
|
if (typeof value === 'function') {
|
|
443
443
|
var func = function () {
|
|
444
|
-
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.");
|
|
445
444
|
};
|
|
446
445
|
properties[key] = { value: func, writable: true };
|
|
447
446
|
}
|
|
@@ -612,9 +611,6 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
|
|
|
612
611
|
window.clearInterval(interval);
|
|
613
612
|
interval = null;
|
|
614
613
|
}
|
|
615
|
-
if (reachedTimeout && timeoutMessage) {
|
|
616
|
-
console.warn(timeoutMessage);
|
|
617
|
-
}
|
|
618
614
|
}
|
|
619
615
|
};
|
|
620
616
|
internalCallback();
|
|
@@ -716,14 +712,9 @@ var Context = /** @class */ (function () {
|
|
|
716
712
|
Context.prototype.createBeanWrapper = function (BeanClass) {
|
|
717
713
|
var metaData = BeanClass.__agBeanMetaData;
|
|
718
714
|
if (!metaData) {
|
|
719
|
-
var beanName = void 0;
|
|
720
715
|
if (BeanClass.prototype.constructor) {
|
|
721
|
-
|
|
722
|
-
}
|
|
723
|
-
else {
|
|
724
|
-
beanName = "" + BeanClass;
|
|
716
|
+
getFunctionName(BeanClass.prototype.constructor);
|
|
725
717
|
}
|
|
726
|
-
console.error("Context item " + beanName + " is not a bean");
|
|
727
718
|
return;
|
|
728
719
|
}
|
|
729
720
|
var beanEntry = {
|
|
@@ -795,7 +786,6 @@ var Context = /** @class */ (function () {
|
|
|
795
786
|
return beansList;
|
|
796
787
|
};
|
|
797
788
|
Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
|
|
798
|
-
if (optional === void 0) { optional = false; }
|
|
799
789
|
if (beanName === "context") {
|
|
800
790
|
return this;
|
|
801
791
|
}
|
|
@@ -806,9 +796,6 @@ var Context = /** @class */ (function () {
|
|
|
806
796
|
if (beanEntry) {
|
|
807
797
|
return beanEntry.beanInstance;
|
|
808
798
|
}
|
|
809
|
-
if (!optional) {
|
|
810
|
-
console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
|
|
811
|
-
}
|
|
812
799
|
return null;
|
|
813
800
|
};
|
|
814
801
|
Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
|
|
@@ -915,11 +902,9 @@ function Optional(name) {
|
|
|
915
902
|
}
|
|
916
903
|
function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
|
|
917
904
|
if (name === null) {
|
|
918
|
-
console.error("AG Grid: Autowired name should not be null");
|
|
919
905
|
return;
|
|
920
906
|
}
|
|
921
907
|
if (typeof index === "number") {
|
|
922
|
-
console.error("AG Grid: Autowired should be on an attribute");
|
|
923
908
|
return;
|
|
924
909
|
}
|
|
925
910
|
// it's an attribute on the class
|
|
@@ -1251,8 +1236,6 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1251
1236
|
else {
|
|
1252
1237
|
if (ModuleRegistry.moduleBased !== moduleBased) {
|
|
1253
1238
|
doOnce(function () {
|
|
1254
|
-
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.");
|
|
1255
|
-
console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
|
|
1256
1239
|
}, 'ModulePackageCheck');
|
|
1257
1240
|
}
|
|
1258
1241
|
}
|
|
@@ -1270,15 +1253,7 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1270
1253
|
return true;
|
|
1271
1254
|
}
|
|
1272
1255
|
var warningKey = reason + moduleName;
|
|
1273
|
-
var warningMessage;
|
|
1274
|
-
if (ModuleRegistry.moduleBased) {
|
|
1275
|
-
warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
|
|
1276
|
-
}
|
|
1277
|
-
else {
|
|
1278
|
-
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/";
|
|
1279
|
-
}
|
|
1280
1256
|
doOnce(function () {
|
|
1281
|
-
console.warn(warningMessage);
|
|
1282
1257
|
}, warningKey);
|
|
1283
1258
|
return false;
|
|
1284
1259
|
};
|
|
@@ -1471,11 +1446,9 @@ var Column = /** @class */ (function () {
|
|
|
1471
1446
|
var colDefAny = this.colDef;
|
|
1472
1447
|
function warnOnce(msg, key, obj) {
|
|
1473
1448
|
doOnce(function () {
|
|
1474
|
-
if (obj)
|
|
1475
|
-
console.warn(msg, obj);
|
|
1476
|
-
}
|
|
1449
|
+
if (obj) ;
|
|
1477
1450
|
else {
|
|
1478
|
-
doOnce(function () { return
|
|
1451
|
+
doOnce(function () { return (void 0); }, key);
|
|
1479
1452
|
}
|
|
1480
1453
|
}, key);
|
|
1481
1454
|
}
|
|
@@ -1943,19 +1916,16 @@ var Column = /** @class */ (function () {
|
|
|
1943
1916
|
// this used to be needed, as previous version of ag-grid had lockPosition as column state,
|
|
1944
1917
|
// so couldn't depend on colDef version.
|
|
1945
1918
|
Column.prototype.isLockPosition = function () {
|
|
1946
|
-
console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
|
|
1947
1919
|
return this.colDef ? !!this.colDef.lockPosition : false;
|
|
1948
1920
|
};
|
|
1949
1921
|
// this used to be needed, as previous version of ag-grid had lockVisible as column state,
|
|
1950
1922
|
// so couldn't depend on colDef version.
|
|
1951
1923
|
Column.prototype.isLockVisible = function () {
|
|
1952
|
-
console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
|
|
1953
1924
|
return this.colDef ? !!this.colDef.lockVisible : false;
|
|
1954
1925
|
};
|
|
1955
1926
|
// this used to be needed, as previous version of ag-grid had lockPinned as column state,
|
|
1956
1927
|
// so couldn't depend on colDef version.
|
|
1957
1928
|
Column.prototype.isLockPinned = function () {
|
|
1958
|
-
console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
|
|
1959
1929
|
return this.colDef ? !!this.colDef.lockPinned : false;
|
|
1960
1930
|
};
|
|
1961
1931
|
// + renderedHeaderCell - for making header cell transparent when moving
|
|
@@ -2351,7 +2321,6 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2351
2321
|
};
|
|
2352
2322
|
/** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
|
|
2353
2323
|
ColumnGroup.prototype.getOriginalColumnGroup = function () {
|
|
2354
|
-
console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
|
|
2355
2324
|
return this.getProvidedColumnGroup();
|
|
2356
2325
|
};
|
|
2357
2326
|
ColumnGroup.prototype.getPaddingLevel = function () {
|
|
@@ -3227,9 +3196,7 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3227
3196
|
var typeKeys = [];
|
|
3228
3197
|
if (type instanceof Array) {
|
|
3229
3198
|
var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
|
|
3230
|
-
if (invalidArray)
|
|
3231
|
-
console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
|
|
3232
|
-
}
|
|
3199
|
+
if (invalidArray) ;
|
|
3233
3200
|
else {
|
|
3234
3201
|
typeKeys = type;
|
|
3235
3202
|
}
|
|
@@ -3238,16 +3205,13 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3238
3205
|
typeKeys = type.split(',');
|
|
3239
3206
|
}
|
|
3240
3207
|
else {
|
|
3241
|
-
console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
|
|
3242
3208
|
return;
|
|
3243
3209
|
}
|
|
3244
3210
|
// merge user defined with default column types
|
|
3245
3211
|
var allColumnTypes = Object.assign({}, DefaultColumnTypes);
|
|
3246
3212
|
var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
|
|
3247
3213
|
iterateObject(userTypes, function (key, value) {
|
|
3248
|
-
if (key in allColumnTypes)
|
|
3249
|
-
console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
|
|
3250
|
-
}
|
|
3214
|
+
if (key in allColumnTypes) ;
|
|
3251
3215
|
else {
|
|
3252
3216
|
allColumnTypes[key] = value;
|
|
3253
3217
|
}
|
|
@@ -3257,34 +3221,12 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3257
3221
|
if (typeColDef) {
|
|
3258
3222
|
mergeDeep(colDefMerged, typeColDef, false, true);
|
|
3259
3223
|
}
|
|
3260
|
-
else {
|
|
3261
|
-
console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
|
|
3262
|
-
}
|
|
3263
3224
|
});
|
|
3264
3225
|
};
|
|
3265
3226
|
ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
|
|
3266
3227
|
if (colDef) {
|
|
3267
3228
|
var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
|
|
3268
|
-
if (colDefNoType.group !== undefined) {
|
|
3269
|
-
console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3270
|
-
}
|
|
3271
|
-
if (colDefNoType.headerGroup !== undefined) {
|
|
3272
|
-
console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3273
|
-
}
|
|
3274
|
-
if (colDefNoType.headerGroupShow !== undefined) {
|
|
3275
|
-
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');
|
|
3276
|
-
}
|
|
3277
|
-
if (colDefNoType.suppressRowGroup !== undefined) {
|
|
3278
|
-
console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
|
|
3279
|
-
}
|
|
3280
|
-
if (colDefNoType.suppressAggregation !== undefined) {
|
|
3281
|
-
console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
|
|
3282
|
-
}
|
|
3283
|
-
if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
|
|
3284
|
-
console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
|
|
3285
|
-
}
|
|
3286
3229
|
if (colDefNoType.displayName) {
|
|
3287
|
-
console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
|
|
3288
3230
|
colDefNoType.headerName = colDefNoType.displayName;
|
|
3289
3231
|
}
|
|
3290
3232
|
}
|
|
@@ -4346,7 +4288,6 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4346
4288
|
toParse.forEach(function (key) {
|
|
4347
4289
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
|
|
4348
4290
|
if (!lookupResult) {
|
|
4349
|
-
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(','));
|
|
4350
4291
|
return;
|
|
4351
4292
|
}
|
|
4352
4293
|
comps_1.push(lookupResult);
|
|
@@ -4377,7 +4318,6 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4377
4318
|
if (typeof it === 'string') {
|
|
4378
4319
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
|
|
4379
4320
|
if (!lookupResult) {
|
|
4380
|
-
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(','));
|
|
4381
4321
|
return;
|
|
4382
4322
|
}
|
|
4383
4323
|
toAdd = lookupResult;
|
|
@@ -4974,7 +4914,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4974
4914
|
this.destroyed = true;
|
|
4975
4915
|
};
|
|
4976
4916
|
GridOptionsWrapper.prototype.init = function () {
|
|
4977
|
-
var _this = this;
|
|
4978
4917
|
if (this.gridOptions.suppressPropertyNamesCheck !== true) {
|
|
4979
4918
|
this.checkGridOptionsProperties();
|
|
4980
4919
|
this.checkColumnDefProperties();
|
|
@@ -4985,61 +4924,26 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4985
4924
|
}
|
|
4986
4925
|
var async = this.useAsyncEvents();
|
|
4987
4926
|
this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
|
|
4988
|
-
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes())
|
|
4989
|
-
console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
|
|
4990
|
-
}
|
|
4927
|
+
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
|
|
4991
4928
|
if (this.isGroupSelectsChildren()) {
|
|
4992
|
-
if (!this.isRowSelectionMulti())
|
|
4993
|
-
|
|
4994
|
-
}
|
|
4995
|
-
if (this.isRowModelServerSide()) {
|
|
4996
|
-
console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
|
|
4997
|
-
'This is because the rows are lazy loaded, so selecting a group is not possible as' +
|
|
4998
|
-
'the grid has no way of knowing what the children are.');
|
|
4999
|
-
}
|
|
5000
|
-
}
|
|
5001
|
-
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
|
|
5002
|
-
console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!");
|
|
4929
|
+
if (!this.isRowSelectionMulti()) ;
|
|
4930
|
+
if (this.isRowModelServerSide()) ;
|
|
5003
4931
|
}
|
|
4932
|
+
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
|
|
5004
4933
|
if (this.isRowModelServerSide()) {
|
|
5005
|
-
|
|
5006
|
-
if (exists(this.gridOptions.groupDefaultExpanded))
|
|
5007
|
-
|
|
5008
|
-
}
|
|
5009
|
-
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5010
|
-
console.warn(msg('groupIncludeFooter'));
|
|
5011
|
-
}
|
|
5012
|
-
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5013
|
-
console.warn(msg('groupIncludeTotalFooter'));
|
|
5014
|
-
}
|
|
4934
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
4935
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
4936
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
5015
4937
|
}
|
|
5016
4938
|
if (isTrue(this.gridOptions.enableRangeSelection)) {
|
|
5017
4939
|
ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
|
|
5018
4940
|
}
|
|
5019
|
-
else if (this.isEnableRangeHandle() || this.isEnableFillHandle())
|
|
5020
|
-
console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
|
|
5021
|
-
}
|
|
4941
|
+
else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
|
|
5022
4942
|
if (this.isGroupRowsSticky()) {
|
|
5023
|
-
if (this.isGroupHideOpenParents())
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
if (this.isMasterDetail()) {
|
|
5027
|
-
console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
|
|
5028
|
-
}
|
|
5029
|
-
if (this.isPagination()) {
|
|
5030
|
-
console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
|
|
5031
|
-
}
|
|
4943
|
+
if (this.isGroupHideOpenParents()) ;
|
|
4944
|
+
if (this.isMasterDetail()) ;
|
|
4945
|
+
if (this.isPagination()) ;
|
|
5032
4946
|
}
|
|
5033
|
-
var warnOfDeprecaredIcon = function (name) {
|
|
5034
|
-
if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
|
|
5035
|
-
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/");
|
|
5036
|
-
}
|
|
5037
|
-
};
|
|
5038
|
-
warnOfDeprecaredIcon('radioButtonOff');
|
|
5039
|
-
warnOfDeprecaredIcon('radioButtonOn');
|
|
5040
|
-
warnOfDeprecaredIcon('checkboxChecked');
|
|
5041
|
-
warnOfDeprecaredIcon('checkboxUnchecked');
|
|
5042
|
-
warnOfDeprecaredIcon('checkboxIndeterminate');
|
|
5043
4947
|
// sets an initial calculation for the scrollbar width
|
|
5044
4948
|
this.getScrollbarWidth();
|
|
5045
4949
|
};
|
|
@@ -5063,11 +4967,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5063
4967
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
5064
4968
|
var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
|
|
5065
4969
|
iterateObject(invalidProperties, function (key, value) {
|
|
5066
|
-
console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
|
|
5067
4970
|
});
|
|
5068
|
-
if (Object.keys(invalidProperties).length > 0) {
|
|
5069
|
-
console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
|
|
5070
|
-
}
|
|
5071
4971
|
};
|
|
5072
4972
|
/**
|
|
5073
4973
|
* Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
|
|
@@ -5326,7 +5226,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5326
5226
|
];
|
|
5327
5227
|
if (validLayouts.indexOf(domLayout) === -1) {
|
|
5328
5228
|
doOnce(function () {
|
|
5329
|
-
return
|
|
5229
|
+
return (void 0);
|
|
5330
5230
|
}, 'warn about dom layout values');
|
|
5331
5231
|
return Constants.DOM_LAYOUT_NORMAL;
|
|
5332
5232
|
}
|
|
@@ -5721,7 +5621,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5721
5621
|
return 'xy';
|
|
5722
5622
|
}
|
|
5723
5623
|
if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
|
|
5724
|
-
doOnce(function () { return
|
|
5624
|
+
doOnce(function () { return (void 0); }, 'warn invalid fill direction');
|
|
5725
5625
|
return 'xy';
|
|
5726
5626
|
}
|
|
5727
5627
|
return direction;
|
|
@@ -5820,7 +5720,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5820
5720
|
};
|
|
5821
5721
|
GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
|
|
5822
5722
|
if (this.gridOptions.defaultExportParams) {
|
|
5823
|
-
console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
|
|
5824
5723
|
if (type === 'csv') {
|
|
5825
5724
|
return this.gridOptions.defaultExportParams;
|
|
5826
5725
|
}
|
|
@@ -5953,7 +5852,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5953
5852
|
GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
|
|
5954
5853
|
var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
|
|
5955
5854
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5956
|
-
doOnce(function () { return
|
|
5855
|
+
doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
|
|
5957
5856
|
return false;
|
|
5958
5857
|
}
|
|
5959
5858
|
return isEnabled;
|
|
@@ -5961,7 +5860,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5961
5860
|
GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
|
|
5962
5861
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
|
|
5963
5862
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5964
|
-
doOnce(function () { return
|
|
5863
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
|
|
5965
5864
|
return false;
|
|
5966
5865
|
}
|
|
5967
5866
|
return isEnabled;
|
|
@@ -5969,11 +5868,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5969
5868
|
GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
|
|
5970
5869
|
var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
|
|
5971
5870
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5972
|
-
doOnce(function () { return
|
|
5871
|
+
doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
|
|
5973
5872
|
return false;
|
|
5974
5873
|
}
|
|
5975
5874
|
if (this.isTreeData() && isEnabled) {
|
|
5976
|
-
doOnce(function () { return
|
|
5875
|
+
doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
|
|
5977
5876
|
return false;
|
|
5978
5877
|
}
|
|
5979
5878
|
return isEnabled;
|
|
@@ -5981,11 +5880,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5981
5880
|
GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
|
|
5982
5881
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
|
|
5983
5882
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5984
|
-
doOnce(function () { return
|
|
5883
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
|
|
5985
5884
|
return false;
|
|
5986
5885
|
}
|
|
5987
5886
|
if (this.isTreeData() && isEnabled) {
|
|
5988
|
-
doOnce(function () { return
|
|
5887
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
|
|
5989
5888
|
return false;
|
|
5990
5889
|
}
|
|
5991
5890
|
return isEnabled;
|
|
@@ -6094,7 +5993,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6094
5993
|
var capitalisedType = capitalise(type);
|
|
6095
5994
|
if (exists(delay)) {
|
|
6096
5995
|
if (delay < 0) {
|
|
6097
|
-
doOnce(function () { return
|
|
5996
|
+
doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
|
|
6098
5997
|
}
|
|
6099
5998
|
return Math.max(200, delay);
|
|
6100
5999
|
}
|
|
@@ -6145,7 +6044,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6145
6044
|
var rowBuffer = this.gridOptions.rowBuffer;
|
|
6146
6045
|
if (typeof rowBuffer === 'number') {
|
|
6147
6046
|
if (rowBuffer < 0) {
|
|
6148
|
-
doOnce(function () { return
|
|
6047
|
+
doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
|
|
6149
6048
|
this.gridOptions.rowBuffer = rowBuffer = 0;
|
|
6150
6049
|
}
|
|
6151
6050
|
}
|
|
@@ -6179,45 +6078,23 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6179
6078
|
// casting to generic object, so typescript compiles even though
|
|
6180
6079
|
// we are looking for attributes that don't exist
|
|
6181
6080
|
var options = this.gridOptions;
|
|
6182
|
-
if (options.deprecatedEmbedFullWidthRows) {
|
|
6183
|
-
console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
|
|
6184
|
-
}
|
|
6185
|
-
if (options.rowDeselection) {
|
|
6186
|
-
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.');
|
|
6187
|
-
}
|
|
6188
6081
|
if (options.enableMultiRowDragging) {
|
|
6189
6082
|
options.rowDragMultiRow = true;
|
|
6190
6083
|
delete options.enableMultiRowDragging;
|
|
6191
|
-
console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
|
|
6192
6084
|
}
|
|
6193
6085
|
var checkRenamedProperty = function (oldProp, newProp, version) {
|
|
6194
6086
|
if (options[oldProp] != null) {
|
|
6195
|
-
console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
|
|
6196
6087
|
if (options[newProp] == null) {
|
|
6197
6088
|
options[newProp] = options[oldProp];
|
|
6198
6089
|
}
|
|
6199
6090
|
}
|
|
6200
6091
|
};
|
|
6201
|
-
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis'
|
|
6202
|
-
checkRenamedProperty('deltaRowDataMode', 'immutableData'
|
|
6203
|
-
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels'
|
|
6204
|
-
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels'
|
|
6205
|
-
|
|
6206
|
-
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');
|
|
6207
|
-
}
|
|
6208
|
-
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
|
|
6092
|
+
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
|
|
6093
|
+
checkRenamedProperty('deltaRowDataMode', 'immutableData');
|
|
6094
|
+
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
|
|
6095
|
+
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
|
|
6096
|
+
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
|
|
6209
6097
|
if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
|
|
6210
|
-
console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
|
|
6211
|
-
console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
|
|
6212
|
-
console.warn(' For example instead of this:');
|
|
6213
|
-
console.warn(' groupRowInnerRenderer: "myRenderer"');
|
|
6214
|
-
console.warn(' groupRowInnerRendererParams: {x: a}');
|
|
6215
|
-
console.warn(' Replace with this:');
|
|
6216
|
-
console.warn(' groupRowRendererParams: {');
|
|
6217
|
-
console.warn(' innerRenderer: "myRenderer",');
|
|
6218
|
-
console.warn(' innerRendererParams: {x: a}');
|
|
6219
|
-
console.warn(' }');
|
|
6220
|
-
console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
|
|
6221
6098
|
if (!options.groupRowRendererParams) {
|
|
6222
6099
|
options.groupRowRendererParams = {};
|
|
6223
6100
|
}
|
|
@@ -6232,105 +6109,36 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6232
6109
|
params.innerRendererFramework = options.groupRowInnerRendererFramework;
|
|
6233
6110
|
}
|
|
6234
6111
|
}
|
|
6235
|
-
if (options.rememberGroupStateWhenNewData) {
|
|
6236
|
-
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.');
|
|
6237
|
-
}
|
|
6238
6112
|
if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
|
|
6239
|
-
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');
|
|
6240
6113
|
options.detailRowAutoHeight = true;
|
|
6241
6114
|
}
|
|
6242
|
-
if (options.suppressKeyboardEvent) {
|
|
6243
|
-
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.");
|
|
6244
|
-
}
|
|
6245
|
-
if (options.suppressEnterpriseResetOnNewColumns) {
|
|
6246
|
-
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.');
|
|
6247
|
-
}
|
|
6248
|
-
if (options.suppressColumnStateEvents) {
|
|
6249
|
-
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');
|
|
6250
|
-
}
|
|
6251
|
-
if (options.defaultExportParams) {
|
|
6252
|
-
console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
|
|
6253
|
-
}
|
|
6254
6115
|
if (options.stopEditingWhenGridLosesFocus) {
|
|
6255
|
-
console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
|
|
6256
6116
|
options.stopEditingWhenCellsLoseFocus = true;
|
|
6257
6117
|
}
|
|
6258
|
-
if (options.applyColumnDefOrder) {
|
|
6259
|
-
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');
|
|
6260
|
-
}
|
|
6261
6118
|
if (options.groupMultiAutoColumn) {
|
|
6262
|
-
console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
|
|
6263
6119
|
options.groupDisplayType = 'multipleColumns';
|
|
6264
6120
|
}
|
|
6265
6121
|
if (options.groupUseEntireRow) {
|
|
6266
|
-
console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
|
|
6267
6122
|
options.groupDisplayType = 'groupRows';
|
|
6268
6123
|
}
|
|
6269
6124
|
if (options.groupSuppressAutoColumn) {
|
|
6270
|
-
var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
|
|
6271
|
-
console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
|
|
6272
6125
|
options.groupDisplayType = 'custom';
|
|
6273
6126
|
}
|
|
6274
|
-
if (options.defaultGroupOrderComparator) {
|
|
6275
|
-
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.");
|
|
6276
|
-
}
|
|
6277
6127
|
if (options.defaultGroupSortComparator) {
|
|
6278
|
-
console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
|
|
6279
6128
|
options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
|
|
6280
6129
|
}
|
|
6281
|
-
if (options.groupRowAggNodes) {
|
|
6282
|
-
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.");
|
|
6283
|
-
}
|
|
6284
|
-
if (options.postSort) {
|
|
6285
|
-
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.");
|
|
6286
|
-
}
|
|
6287
|
-
if (options.isFullWidthCell) {
|
|
6288
|
-
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.");
|
|
6289
|
-
}
|
|
6290
|
-
if (options.localeTextFunc) {
|
|
6291
|
-
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.");
|
|
6292
|
-
}
|
|
6293
|
-
if (options.colWidth) {
|
|
6294
|
-
console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
|
|
6295
|
-
}
|
|
6296
|
-
if (options.minColWidth) {
|
|
6297
|
-
console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
|
|
6298
|
-
}
|
|
6299
|
-
if (options.maxColWidth) {
|
|
6300
|
-
console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
|
|
6301
|
-
}
|
|
6302
|
-
if (options.reactUi) {
|
|
6303
|
-
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.');
|
|
6304
|
-
}
|
|
6305
|
-
if (options.suppressReactUi) {
|
|
6306
|
-
console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
|
|
6307
|
-
}
|
|
6308
6130
|
if (options.suppressCellSelection) {
|
|
6309
|
-
console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
|
|
6310
6131
|
options.suppressCellFocus = options.suppressCellSelection;
|
|
6311
6132
|
}
|
|
6312
|
-
if (options.getRowNodeId) {
|
|
6313
|
-
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.');
|
|
6314
|
-
}
|
|
6315
|
-
if (options.immutableData) {
|
|
6316
|
-
if (options.getRowId) {
|
|
6317
|
-
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`.');
|
|
6318
|
-
}
|
|
6319
|
-
else {
|
|
6320
|
-
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
|
|
6321
|
-
}
|
|
6322
|
-
}
|
|
6323
6133
|
if (options.clipboardDeliminator) {
|
|
6324
|
-
console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
|
|
6325
6134
|
options.clipboardDelimiter = options.clipboardDeliminator;
|
|
6326
6135
|
}
|
|
6327
|
-
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef'
|
|
6328
|
-
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef'
|
|
6136
|
+
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
|
|
6137
|
+
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
|
|
6329
6138
|
if (options.serverSideStoreType) {
|
|
6330
|
-
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.');
|
|
6331
6139
|
options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
|
|
6332
6140
|
}
|
|
6333
|
-
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams'
|
|
6141
|
+
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
|
|
6334
6142
|
};
|
|
6335
6143
|
GridOptionsWrapper.prototype.checkForViolations = function () {
|
|
6336
6144
|
if (this.isTreeData()) {
|
|
@@ -6339,20 +6147,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6339
6147
|
};
|
|
6340
6148
|
GridOptionsWrapper.prototype.treeDataViolations = function () {
|
|
6341
6149
|
if (this.isRowModelDefault()) {
|
|
6342
|
-
if (missing(this.getDataPathFunc()))
|
|
6343
|
-
console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
|
|
6344
|
-
'provide getDataPath function, please provide getDataPath function if using tree data.');
|
|
6345
|
-
}
|
|
6150
|
+
if (missing(this.getDataPathFunc())) ;
|
|
6346
6151
|
}
|
|
6347
6152
|
if (this.isRowModelServerSide()) {
|
|
6348
|
-
if (missing(this.getIsServerSideGroupFunc()))
|
|
6349
|
-
|
|
6350
|
-
'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
|
|
6351
|
-
}
|
|
6352
|
-
if (missing(this.getServerSideGroupKeyFunc())) {
|
|
6353
|
-
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6354
|
-
'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
|
|
6355
|
-
}
|
|
6153
|
+
if (missing(this.getIsServerSideGroupFunc())) ;
|
|
6154
|
+
if (missing(this.getServerSideGroupKeyFunc())) ;
|
|
6356
6155
|
}
|
|
6357
6156
|
};
|
|
6358
6157
|
GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
|
|
@@ -6421,7 +6220,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6421
6220
|
this.setRowHeightVariable(rowHeight);
|
|
6422
6221
|
return rowHeight;
|
|
6423
6222
|
}
|
|
6424
|
-
console.warn('AG Grid row height must be a number if not using standard row model');
|
|
6425
6223
|
return this.getDefaultRowHeight();
|
|
6426
6224
|
};
|
|
6427
6225
|
GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
|
|
@@ -6446,7 +6244,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6446
6244
|
var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
|
|
6447
6245
|
if (this.isNumeric(height)) {
|
|
6448
6246
|
if (height === 0) {
|
|
6449
|
-
doOnce(function () { return
|
|
6247
|
+
doOnce(function () { return (void 0); }, 'invalidRowHeight');
|
|
6450
6248
|
}
|
|
6451
6249
|
return { height: Math.max(1, height), estimated: false };
|
|
6452
6250
|
}
|
|
@@ -6491,7 +6289,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6491
6289
|
GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
|
|
6492
6290
|
var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
|
|
6493
6291
|
if (groupDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6494
|
-
console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
|
|
6495
6292
|
return false;
|
|
6496
6293
|
}
|
|
6497
6294
|
return supplied === toMatch;
|
|
@@ -6499,7 +6296,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6499
6296
|
GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
|
|
6500
6297
|
var treeDataDisplayTypeValues = ['auto', 'custom'];
|
|
6501
6298
|
if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6502
|
-
console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
|
|
6503
6299
|
return false;
|
|
6504
6300
|
}
|
|
6505
6301
|
return supplied === toMatch;
|
|
@@ -6884,7 +6680,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6884
6680
|
};
|
|
6885
6681
|
ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
|
|
6886
6682
|
if (pivot && this.gridOptionsWrapper.isTreeData()) {
|
|
6887
|
-
console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
|
|
6888
6683
|
return false;
|
|
6889
6684
|
}
|
|
6890
6685
|
return true;
|
|
@@ -7515,7 +7310,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7515
7310
|
if (loopCount > 1000) {
|
|
7516
7311
|
// this should never happen, but in the future, someone might introduce a bug here,
|
|
7517
7312
|
// so we stop the browser from hanging and report bug properly
|
|
7518
|
-
console.error('AG Grid: infinite loop in resizeColumnSets');
|
|
7519
7313
|
return "break";
|
|
7520
7314
|
}
|
|
7521
7315
|
finishedColsGrew = false;
|
|
@@ -7633,8 +7427,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7633
7427
|
if (source === void 0) { source = "api"; }
|
|
7634
7428
|
this.columnAnimationService.start();
|
|
7635
7429
|
if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
|
|
7636
|
-
console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
|
|
7637
|
-
console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
|
|
7638
7430
|
return;
|
|
7639
7431
|
}
|
|
7640
7432
|
// we want to pull all the columns out first and put them into an ordered list
|
|
@@ -7887,7 +7679,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7887
7679
|
ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
|
|
7888
7680
|
if (source === void 0) { source = "api"; }
|
|
7889
7681
|
if (this.gridOptionsWrapper.getDomLayout() === 'print') {
|
|
7890
|
-
console.warn("Changing the column pinning status is not allowed with domLayout='print'");
|
|
7891
7682
|
return;
|
|
7892
7683
|
}
|
|
7893
7684
|
this.columnAnimationService.start();
|
|
@@ -8157,7 +7948,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8157
7948
|
return false;
|
|
8158
7949
|
}
|
|
8159
7950
|
if (params && params.state && !params.state.forEach) {
|
|
8160
|
-
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.');
|
|
8161
7951
|
return false;
|
|
8162
7952
|
}
|
|
8163
7953
|
var applyStates = function (states, existingColumns, getById) {
|
|
@@ -8304,7 +8094,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8304
8094
|
// is less sexy for the code here, but it keeps consistency.
|
|
8305
8095
|
newOrder = this.placeLockedColumns(newOrder);
|
|
8306
8096
|
if (!this.doesMovePassMarryChildren(newOrder)) {
|
|
8307
|
-
console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
|
|
8308
8097
|
return;
|
|
8309
8098
|
}
|
|
8310
8099
|
this.gridColumns = newOrder;
|
|
@@ -8556,11 +8345,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8556
8345
|
}
|
|
8557
8346
|
}
|
|
8558
8347
|
else {
|
|
8559
|
-
if (exists(aggFunc))
|
|
8560
|
-
console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
|
|
8561
|
-
'functions, register the functions first before using them in get/set state. This is because it is ' +
|
|
8562
|
-
'intended for the column state to be stored and retrieved as simple JSON.');
|
|
8563
|
-
}
|
|
8348
|
+
if (exists(aggFunc)) ;
|
|
8564
8349
|
// Note: we do not call column.setAggFunc(null), so that next time we aggregate
|
|
8565
8350
|
// by this column (eg drag the column to the agg section int he toolpanel) it will
|
|
8566
8351
|
// default to the last aggregation function.
|
|
@@ -8628,9 +8413,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8628
8413
|
return null;
|
|
8629
8414
|
}
|
|
8630
8415
|
var column = this.getGridColumn(key);
|
|
8631
|
-
if (!column) {
|
|
8632
|
-
console.warn('AG Grid: could not find column ' + key);
|
|
8633
|
-
}
|
|
8634
8416
|
return column;
|
|
8635
8417
|
};
|
|
8636
8418
|
ColumnModel.prototype.getPrimaryColumn = function (key) {
|
|
@@ -8733,7 +8515,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8733
8515
|
// valueGetter is an expression, so execute the expression
|
|
8734
8516
|
return this.expressionService.evaluate(headerValueGetter, params);
|
|
8735
8517
|
}
|
|
8736
|
-
console.warn('ag-grid: headerValueGetter must be a function or a string');
|
|
8737
8518
|
return '';
|
|
8738
8519
|
}
|
|
8739
8520
|
else if (colDef.headerName != null) {
|
|
@@ -9028,10 +8809,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9028
8809
|
this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
|
|
9029
8810
|
};
|
|
9030
8811
|
ColumnModel.prototype.getProvidedColumnGroup = function (key) {
|
|
9031
|
-
// if (key instanceof ProvidedColumnGroup) { return key; }
|
|
9032
|
-
if (typeof key !== 'string') {
|
|
9033
|
-
console.error('AG Grid: group key must be a string');
|
|
9034
|
-
}
|
|
9035
8812
|
// otherwise, search for the column group by id
|
|
9036
8813
|
var res = null;
|
|
9037
8814
|
this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
|
|
@@ -9242,8 +9019,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9242
9019
|
var rowModelType = this.rowModel.getType();
|
|
9243
9020
|
var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
9244
9021
|
if (!supportedRowModel) {
|
|
9245
|
-
|
|
9246
|
-
doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
|
|
9022
|
+
doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
|
|
9247
9023
|
}
|
|
9248
9024
|
}
|
|
9249
9025
|
};
|
|
@@ -10235,7 +10011,6 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10235
10011
|
if (found) {
|
|
10236
10012
|
return result;
|
|
10237
10013
|
}
|
|
10238
|
-
console.warn('AG Grid: could not get path');
|
|
10239
10014
|
return null;
|
|
10240
10015
|
};
|
|
10241
10016
|
DisplayedGroupCreator = __decorate$36([
|
|
@@ -11919,14 +11694,12 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
|
|
|
11919
11694
|
if (isNodeOrElement(rendererResult)) {
|
|
11920
11695
|
return rendererResult;
|
|
11921
11696
|
}
|
|
11922
|
-
console.warn('AG Grid: iconRenderer should return back a string or a dom object');
|
|
11923
11697
|
}
|
|
11924
11698
|
else {
|
|
11925
11699
|
var span = document.createElement('span');
|
|
11926
11700
|
var cssClass = iconNameClassMap[iconName];
|
|
11927
11701
|
if (!cssClass) {
|
|
11928
11702
|
if (!forceCreate) {
|
|
11929
|
-
console.warn("AG Grid: Did not find icon " + iconName);
|
|
11930
11703
|
cssClass = '';
|
|
11931
11704
|
}
|
|
11932
11705
|
else {
|
|
@@ -12365,7 +12138,6 @@ var AgPromise = /** @class */ (function () {
|
|
|
12365
12138
|
this.waiters.forEach(function (waiter) { return waiter(value); });
|
|
12366
12139
|
};
|
|
12367
12140
|
AgPromise.prototype.onReject = function (params) {
|
|
12368
|
-
console.warn('TBI');
|
|
12369
12141
|
};
|
|
12370
12142
|
return AgPromise;
|
|
12371
12143
|
}());
|
|
@@ -12991,11 +12763,9 @@ function RefSelector(ref) {
|
|
|
12991
12763
|
}
|
|
12992
12764
|
function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
|
|
12993
12765
|
if (selector === null) {
|
|
12994
|
-
console.error('AG Grid: QuerySelector selector should not be null');
|
|
12995
12766
|
return;
|
|
12996
12767
|
}
|
|
12997
12768
|
if (typeof index === 'number') {
|
|
12998
|
-
console.error('AG Grid: QuerySelector should be on an attribute');
|
|
12999
12769
|
return;
|
|
13000
12770
|
}
|
|
13001
12771
|
addToObjectProps(classPrototype, 'querySelectors', {
|
|
@@ -13230,12 +13000,8 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13230
13000
|
this.checkForDeprecatedParams();
|
|
13231
13001
|
};
|
|
13232
13002
|
OptionsFactory.prototype.checkForDeprecatedParams = function () {
|
|
13233
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; }))
|
|
13234
|
-
|
|
13235
|
-
}
|
|
13236
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
|
|
13237
|
-
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
|
|
13238
|
-
}
|
|
13003
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
|
|
13004
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
|
|
13239
13005
|
};
|
|
13240
13006
|
OptionsFactory.prototype.getFilterOptions = function () {
|
|
13241
13007
|
return this.filterOptions;
|
|
@@ -13252,7 +13018,6 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13252
13018
|
var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
|
|
13253
13019
|
var propertyCheck = function (keys) {
|
|
13254
13020
|
if (!keys.some(function (key) { return filterOption[key] != null; })) {
|
|
13255
|
-
console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
|
|
13256
13021
|
return false;
|
|
13257
13022
|
}
|
|
13258
13023
|
return true;
|
|
@@ -13286,13 +13051,9 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13286
13051
|
else if (firstFilterOption.displayKey) {
|
|
13287
13052
|
this.defaultOption = firstFilterOption.displayKey;
|
|
13288
13053
|
}
|
|
13289
|
-
else
|
|
13290
|
-
console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
|
|
13291
|
-
}
|
|
13292
|
-
}
|
|
13293
|
-
else {
|
|
13294
|
-
console.warn('AG Grid: no filter options for filter');
|
|
13054
|
+
else ;
|
|
13295
13055
|
}
|
|
13056
|
+
else ;
|
|
13296
13057
|
};
|
|
13297
13058
|
OptionsFactory.prototype.getDefaultOption = function () {
|
|
13298
13059
|
return this.defaultOption;
|
|
@@ -13555,7 +13316,6 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13555
13316
|
clickListener = function (e) { _this.onBtCancel(e); };
|
|
13556
13317
|
break;
|
|
13557
13318
|
default:
|
|
13558
|
-
console.warn('AG Grid: Unknown button type specified');
|
|
13559
13319
|
return;
|
|
13560
13320
|
}
|
|
13561
13321
|
var buttonType = type === 'apply' ? 'submit' : 'button';
|
|
@@ -13696,9 +13456,6 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13696
13456
|
// static, as used by floating filter also
|
|
13697
13457
|
ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
|
|
13698
13458
|
if (ProvidedFilter.isUseApplyButton(params)) {
|
|
13699
|
-
if (params.debounceMs != null) {
|
|
13700
|
-
console.warn('AG Grid: debounceMs is ignored when apply button is present');
|
|
13701
|
-
}
|
|
13702
13459
|
return 0;
|
|
13703
13460
|
}
|
|
13704
13461
|
return params.debounceMs != null ? params.debounceMs : debounceDefault;
|
|
@@ -15075,7 +14832,6 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
15075
14832
|
case ScalarFilter.NOT_BLANK:
|
|
15076
14833
|
return !this.isBlank(cellValue);
|
|
15077
14834
|
default:
|
|
15078
|
-
console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
|
|
15079
14835
|
return true;
|
|
15080
14836
|
}
|
|
15081
14837
|
};
|
|
@@ -15169,17 +14925,11 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15169
14925
|
if (!isNaN(params[param])) {
|
|
15170
14926
|
return params[param] == null ? fallback : Number(params[param]);
|
|
15171
14927
|
}
|
|
15172
|
-
else {
|
|
15173
|
-
console.warn("AG Grid: DateFilter " + param + " is not a number");
|
|
15174
|
-
}
|
|
15175
14928
|
}
|
|
15176
14929
|
return fallback;
|
|
15177
14930
|
};
|
|
15178
14931
|
this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
|
|
15179
14932
|
this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
|
|
15180
|
-
if (this.minValidYear > this.maxValidYear) {
|
|
15181
|
-
console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
|
|
15182
|
-
}
|
|
15183
14933
|
this.createDateComponents();
|
|
15184
14934
|
};
|
|
15185
14935
|
DateFilter.prototype.createDateComponents = function () {
|
|
@@ -15880,7 +15630,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15880
15630
|
TextFilter.prototype.getTextMatcher = function () {
|
|
15881
15631
|
var legacyComparator = this.textFilterParams.textCustomComparator;
|
|
15882
15632
|
if (legacyComparator) {
|
|
15883
|
-
_.doOnce(function () { return
|
|
15633
|
+
_.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
|
|
15884
15634
|
return function (_a) {
|
|
15885
15635
|
var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
|
|
15886
15636
|
return legacyComparator(filterOption, value, filterText);
|
|
@@ -16806,8 +16556,7 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16806
16556
|
HeaderGroupComp.prototype.checkWarnings = function () {
|
|
16807
16557
|
var paramsAny = this.params;
|
|
16808
16558
|
if (paramsAny.template) {
|
|
16809
|
-
|
|
16810
|
-
doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
|
|
16559
|
+
doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
|
|
16811
16560
|
}
|
|
16812
16561
|
};
|
|
16813
16562
|
HeaderGroupComp.prototype.setupExpandIcons = function () {
|
|
@@ -17038,7 +16787,6 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
17038
16787
|
var _this = this;
|
|
17039
16788
|
this.focusAfterAttached = params.cellStartedEdit;
|
|
17040
16789
|
if (missing(params.values)) {
|
|
17041
|
-
console.warn('AG Grid: no values found for select cellEditor');
|
|
17042
16790
|
return;
|
|
17043
16791
|
}
|
|
17044
16792
|
this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
|
|
@@ -17112,7 +16860,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
17112
16860
|
__extends$2_(PopupSelectCellEditor, _super);
|
|
17113
16861
|
function PopupSelectCellEditor() {
|
|
17114
16862
|
var _this = _super.call(this) || this;
|
|
17115
|
-
doOnce(function () { return
|
|
16863
|
+
doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
|
|
17116
16864
|
return _this;
|
|
17117
16865
|
}
|
|
17118
16866
|
PopupSelectCellEditor.prototype.isPopup = function () {
|
|
@@ -17266,7 +17014,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17266
17014
|
__extends$2Y(PopupTextCellEditor, _super);
|
|
17267
17015
|
function PopupTextCellEditor() {
|
|
17268
17016
|
var _this = _super.call(this) || this;
|
|
17269
|
-
doOnce(function () { return
|
|
17017
|
+
doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
|
|
17270
17018
|
return _this;
|
|
17271
17019
|
}
|
|
17272
17020
|
PopupTextCellEditor.prototype.isPopup = function () {
|
|
@@ -17643,9 +17391,7 @@ var RowNode = /** @class */ (function () {
|
|
|
17643
17391
|
});
|
|
17644
17392
|
// make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
|
|
17645
17393
|
// it has 'startsWith' in case the user provided a number.
|
|
17646
|
-
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP))
|
|
17647
|
-
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.");
|
|
17648
|
-
}
|
|
17394
|
+
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
|
|
17649
17395
|
// force id to be a string
|
|
17650
17396
|
if (this.id !== null && typeof this.id !== 'string') {
|
|
17651
17397
|
this.id = '' + this.id;
|
|
@@ -18104,11 +17850,9 @@ var RowNode = /** @class */ (function () {
|
|
|
18104
17850
|
// groupSelectsFiltered only makes sense when group selects children
|
|
18105
17851
|
var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
|
|
18106
17852
|
if (this.id === undefined) {
|
|
18107
|
-
console.warn('AG Grid: cannot select node until id for node is known');
|
|
18108
17853
|
return 0;
|
|
18109
17854
|
}
|
|
18110
17855
|
if (this.rowPinned) {
|
|
18111
|
-
console.warn('AG Grid: cannot select pinned rows');
|
|
18112
17856
|
return 0;
|
|
18113
17857
|
}
|
|
18114
17858
|
// if we are a footer, we don't do selection, just pass the info
|
|
@@ -18883,9 +18627,7 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18883
18627
|
}
|
|
18884
18628
|
}
|
|
18885
18629
|
this.eGhostParent = targetEl;
|
|
18886
|
-
if (!this.eGhostParent)
|
|
18887
|
-
console.warn('AG Grid: could not find document body, it is needed for dragging columns');
|
|
18888
|
-
}
|
|
18630
|
+
if (!this.eGhostParent) ;
|
|
18889
18631
|
else {
|
|
18890
18632
|
this.eGhostParent.appendChild(this.eGhost);
|
|
18891
18633
|
}
|
|
@@ -19048,7 +18790,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
19048
18790
|
var treeData = this.beans.gridOptionsWrapper.isTreeData();
|
|
19049
18791
|
if (treeData && managed) {
|
|
19050
18792
|
doOnce(function () {
|
|
19051
|
-
return
|
|
18793
|
+
return (void 0);
|
|
19052
18794
|
}, 'RowDragComp.managedAndTreeData');
|
|
19053
18795
|
}
|
|
19054
18796
|
};
|
|
@@ -19457,9 +19199,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19457
19199
|
else if (typeof footerValueGetter === 'string') {
|
|
19458
19200
|
footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
|
|
19459
19201
|
}
|
|
19460
|
-
else
|
|
19461
|
-
console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
|
|
19462
|
-
}
|
|
19202
|
+
else ;
|
|
19463
19203
|
}
|
|
19464
19204
|
else {
|
|
19465
19205
|
footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
|
|
@@ -19677,7 +19417,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19677
19417
|
var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
|
|
19678
19418
|
var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
|
|
19679
19419
|
if (userProvidedPaddingPixelsTheDeprecatedWay) {
|
|
19680
|
-
doOnce(function () { return
|
|
19420
|
+
doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
|
|
19681
19421
|
}
|
|
19682
19422
|
if (this.indentClass) {
|
|
19683
19423
|
this.comp.addOrRemoveCssClass(this.indentClass, false);
|
|
@@ -20182,7 +19922,6 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20182
19922
|
UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
|
|
20183
19923
|
var name = this.translateIfDeprecated(rawName);
|
|
20184
19924
|
if (this.agGridDefaults[name]) {
|
|
20185
|
-
console.error("Trying to overwrite a default component. You should call registerComponent");
|
|
20186
19925
|
return;
|
|
20187
19926
|
}
|
|
20188
19927
|
this.agGridDefaults[name] = component;
|
|
@@ -20190,7 +19929,6 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20190
19929
|
UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
|
|
20191
19930
|
var name = this.translateIfDeprecated(rawName);
|
|
20192
19931
|
if (this.fwComps[name]) {
|
|
20193
|
-
console.error("Trying to register a component that you have already registered for frameworks: " + name);
|
|
20194
19932
|
return;
|
|
20195
19933
|
}
|
|
20196
19934
|
this.jsComps[name] = component;
|
|
@@ -20200,8 +19938,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20200
19938
|
* A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
|
|
20201
19939
|
*/
|
|
20202
19940
|
UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
|
|
20203
|
-
|
|
20204
|
-
doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
19941
|
+
doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
20205
19942
|
var name = this.translateIfDeprecated(rawName);
|
|
20206
19943
|
this.fwComps[name] = component;
|
|
20207
19944
|
};
|
|
@@ -20228,16 +19965,13 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20228
19965
|
if (defaultComponent) {
|
|
20229
19966
|
return createResult(defaultComponent, false);
|
|
20230
19967
|
}
|
|
20231
|
-
if (Object.keys(this.agGridDefaults).indexOf(name) < 0)
|
|
20232
|
-
console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
|
|
20233
|
-
}
|
|
19968
|
+
if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
|
|
20234
19969
|
return null;
|
|
20235
19970
|
};
|
|
20236
19971
|
UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
|
|
20237
19972
|
var deprecatedInfo = this.agDeprecatedNames[raw];
|
|
20238
19973
|
if (deprecatedInfo != null) {
|
|
20239
19974
|
doOnce(function () {
|
|
20240
|
-
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);
|
|
20241
19975
|
}, 'DEPRECATE_COMPONENT_' + raw);
|
|
20242
19976
|
return deprecatedInfo.newComponentName;
|
|
20243
19977
|
}
|
|
@@ -20455,7 +20189,6 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20455
20189
|
};
|
|
20456
20190
|
UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
|
|
20457
20191
|
var _this = this;
|
|
20458
|
-
if (mandatory === void 0) { mandatory = false; }
|
|
20459
20192
|
var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
|
|
20460
20193
|
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;
|
|
20461
20194
|
var lookupFromRegistry = function (key) {
|
|
@@ -20478,9 +20211,6 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20478
20211
|
jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
|
|
20479
20212
|
}
|
|
20480
20213
|
if (!jsComp && !fwComp) {
|
|
20481
|
-
if (mandatory) {
|
|
20482
|
-
console.error("Could not find component " + compName + ", did you forget to configure this component?");
|
|
20483
|
-
}
|
|
20484
20214
|
return;
|
|
20485
20215
|
}
|
|
20486
20216
|
var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
|
|
@@ -20517,8 +20247,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20517
20247
|
var selectorRes = selectorFunc ? selectorFunc(params) : null;
|
|
20518
20248
|
var assignComp = function (providedJsComp, providedFwComp) {
|
|
20519
20249
|
var xxxFrameworkDeprecatedWarn = function () {
|
|
20520
|
-
|
|
20521
|
-
doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20250
|
+
doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20522
20251
|
};
|
|
20523
20252
|
if (typeof providedJsComp === 'string') {
|
|
20524
20253
|
compName = providedJsComp;
|
|
@@ -20544,8 +20273,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20544
20273
|
};
|
|
20545
20274
|
if (selectorRes) {
|
|
20546
20275
|
if (selectorRes.frameworkComponent != null) {
|
|
20547
|
-
|
|
20548
|
-
doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20276
|
+
doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20549
20277
|
assignComp(selectorRes.frameworkComponent, undefined);
|
|
20550
20278
|
}
|
|
20551
20279
|
else {
|
|
@@ -21050,16 +20778,13 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21050
20778
|
modelKeys_1.forEach(function (colId) {
|
|
21051
20779
|
var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
|
|
21052
20780
|
if (!column) {
|
|
21053
|
-
console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
|
|
21054
20781
|
return;
|
|
21055
20782
|
}
|
|
21056
20783
|
if (!column.isFilterAllowed()) {
|
|
21057
|
-
console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
|
|
21058
20784
|
return;
|
|
21059
20785
|
}
|
|
21060
20786
|
var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
|
|
21061
20787
|
if (!filterWrapper) {
|
|
21062
|
-
console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
|
|
21063
20788
|
return;
|
|
21064
20789
|
}
|
|
21065
20790
|
allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
|
|
@@ -21089,7 +20814,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21089
20814
|
return new AgPromise(function (resolve) {
|
|
21090
20815
|
filterPromise.then(function (filter) {
|
|
21091
20816
|
if (typeof filter.setModel !== 'function') {
|
|
21092
|
-
console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
|
|
21093
20817
|
resolve();
|
|
21094
20818
|
}
|
|
21095
20819
|
(filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
|
|
@@ -21106,7 +20830,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21106
20830
|
return null;
|
|
21107
20831
|
}
|
|
21108
20832
|
if (typeof filter.getModel !== 'function') {
|
|
21109
|
-
console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
|
|
21110
20833
|
return;
|
|
21111
20834
|
}
|
|
21112
20835
|
var model = filter.getModel();
|
|
@@ -21140,7 +20863,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21140
20863
|
return false;
|
|
21141
20864
|
} // this never happens, including to avoid compile error
|
|
21142
20865
|
if (!filter.isFilterActive) {
|
|
21143
|
-
console.warn('AG Grid: Filter is missing isFilterActive() method');
|
|
21144
20866
|
return false;
|
|
21145
20867
|
}
|
|
21146
20868
|
return filter.isFilterActive();
|
|
@@ -21214,14 +20936,12 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21214
20936
|
return null;
|
|
21215
20937
|
}
|
|
21216
20938
|
if (!this.gridOptionsWrapper.isRowModelDefault()) {
|
|
21217
|
-
console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
|
|
21218
20939
|
return null;
|
|
21219
20940
|
}
|
|
21220
20941
|
return newFilter.toUpperCase();
|
|
21221
20942
|
};
|
|
21222
20943
|
FilterManager.prototype.setQuickFilter = function (newFilter) {
|
|
21223
20944
|
if (newFilter != null && typeof newFilter !== 'string') {
|
|
21224
|
-
console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
|
|
21225
20945
|
return;
|
|
21226
20946
|
}
|
|
21227
20947
|
var parsedFilter = this.parseQuickFilter(newFilter);
|
|
@@ -21481,9 +21201,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21481
21201
|
filterWrapper.guiPromise = new AgPromise(function (resolve) {
|
|
21482
21202
|
filterWrapper.filterPromise.then(function (filter) {
|
|
21483
21203
|
var guiFromFilter = filter.getGui();
|
|
21484
|
-
if (!exists(guiFromFilter))
|
|
21485
|
-
console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
|
|
21486
|
-
}
|
|
21204
|
+
if (!exists(guiFromFilter)) ;
|
|
21487
21205
|
// for backwards compatibility with Angular 1 - we
|
|
21488
21206
|
// used to allow providing back HTML from getGui().
|
|
21489
21207
|
// once we move away from supporting Angular 1
|
|
@@ -22075,7 +21793,6 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
22075
21793
|
}
|
|
22076
21794
|
var rowCount = this.paginationProxy.getRowCount();
|
|
22077
21795
|
if (typeof index !== 'number' || index < 0 || index >= rowCount) {
|
|
22078
|
-
console.warn('invalid row index for ensureIndexVisible: ' + index);
|
|
22079
21796
|
return;
|
|
22080
21797
|
}
|
|
22081
21798
|
var isPaging = this.gridOptionsWrapper.isPagination();
|
|
@@ -22570,11 +22287,10 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22570
22287
|
RowDragFeature.prototype.addRowDropZone = function (params) {
|
|
22571
22288
|
var _this = this;
|
|
22572
22289
|
if (!params.getContainer()) {
|
|
22573
|
-
doOnce(function () { return
|
|
22290
|
+
doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
|
|
22574
22291
|
return;
|
|
22575
22292
|
}
|
|
22576
22293
|
if (this.dragAndDropService.findExternalZone(params)) {
|
|
22577
|
-
console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
|
|
22578
22294
|
return;
|
|
22579
22295
|
}
|
|
22580
22296
|
var processedParams = {
|
|
@@ -23101,10 +22817,7 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
23101
22817
|
_this.sizeColumnsToFit(params, -1);
|
|
23102
22818
|
}, 500);
|
|
23103
22819
|
}
|
|
23104
|
-
else
|
|
23105
|
-
console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
|
|
23106
|
-
'zero width, maybe the grid is not visible yet on the screen?');
|
|
23107
|
-
}
|
|
22820
|
+
else ;
|
|
23108
22821
|
};
|
|
23109
22822
|
// + rangeService
|
|
23110
22823
|
GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
|
|
@@ -24765,7 +24478,6 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24765
24478
|
CellCtrl.prototype.createCellRendererParams = function () {
|
|
24766
24479
|
var _this = this;
|
|
24767
24480
|
var addRowCompListener = function (eventType, listener) {
|
|
24768
|
-
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.');
|
|
24769
24481
|
_this.rowCtrl.addEventListener(eventType, listener);
|
|
24770
24482
|
};
|
|
24771
24483
|
var res = {
|
|
@@ -25294,11 +25006,11 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25294
25006
|
if (rowDragManaged) {
|
|
25295
25007
|
// row dragging only available in default row model
|
|
25296
25008
|
if (!clientSideRowModelActive) {
|
|
25297
|
-
doOnce(function () { return
|
|
25009
|
+
doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
|
|
25298
25010
|
return;
|
|
25299
25011
|
}
|
|
25300
25012
|
if (pagination) {
|
|
25301
|
-
doOnce(function () { return
|
|
25013
|
+
doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
|
|
25302
25014
|
return;
|
|
25303
25015
|
}
|
|
25304
25016
|
}
|
|
@@ -25515,7 +25227,6 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25515
25227
|
var gow = this.beans.gridOptionsWrapper;
|
|
25516
25228
|
if (gow.isEnableRangeSelection()) {
|
|
25517
25229
|
doOnce(function () {
|
|
25518
|
-
console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
|
|
25519
25230
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25520
25231
|
return;
|
|
25521
25232
|
}
|
|
@@ -25528,12 +25239,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25528
25239
|
var params = this.createFullWidthParams(gui.element, pinned);
|
|
25529
25240
|
var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
|
|
25530
25241
|
if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
|
|
25531
|
-
if (ModuleRegistry.isPackageBased())
|
|
25532
|
-
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
|
|
25533
|
-
}
|
|
25534
|
-
else {
|
|
25535
|
-
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
|
|
25536
|
-
}
|
|
25242
|
+
if (ModuleRegistry.isPackageBased()) ;
|
|
25537
25243
|
return;
|
|
25538
25244
|
}
|
|
25539
25245
|
var compDetails;
|
|
@@ -26284,7 +25990,6 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26284
25990
|
// part 1 - rowStyle
|
|
26285
25991
|
var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
|
|
26286
25992
|
if (rowStyle && typeof rowStyle === 'function') {
|
|
26287
|
-
console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
|
|
26288
25993
|
return;
|
|
26289
25994
|
}
|
|
26290
25995
|
// part 1 - rowStyleFunc
|
|
@@ -26399,14 +26104,12 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26399
26104
|
RowCtrl.prototype.addEventListener = function (eventType, listener) {
|
|
26400
26105
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26401
26106
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26402
|
-
console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26403
26107
|
}
|
|
26404
26108
|
_super.prototype.addEventListener.call(this, eventType, listener);
|
|
26405
26109
|
};
|
|
26406
26110
|
RowCtrl.prototype.removeEventListener = function (eventType, listener) {
|
|
26407
26111
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26408
26112
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26409
|
-
console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26410
26113
|
}
|
|
26411
26114
|
_super.prototype.removeEventListener.call(this, eventType, listener);
|
|
26412
26115
|
};
|
|
@@ -28566,7 +28269,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28566
28269
|
var userCell = userFunc(params);
|
|
28567
28270
|
if (exists(userCell)) {
|
|
28568
28271
|
if (userCell.floating) {
|
|
28569
|
-
doOnce(function () {
|
|
28272
|
+
doOnce(function () { }, 'no floating in userCell');
|
|
28570
28273
|
userCell.rowPinned = userCell.floating;
|
|
28571
28274
|
}
|
|
28572
28275
|
nextPosition = {
|
|
@@ -28699,7 +28402,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28699
28402
|
var userCell = userFunc(params);
|
|
28700
28403
|
if (exists(userCell)) {
|
|
28701
28404
|
if (userCell.floating) {
|
|
28702
|
-
doOnce(function () {
|
|
28405
|
+
doOnce(function () { }, 'no floating in userCell');
|
|
28703
28406
|
userCell.rowPinned = userCell.floating;
|
|
28704
28407
|
}
|
|
28705
28408
|
nextCell = {
|
|
@@ -29254,7 +28957,6 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29254
28957
|
return;
|
|
29255
28958
|
}
|
|
29256
28959
|
if (!cellEditor.getGui) {
|
|
29257
|
-
console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
|
|
29258
28960
|
this.beans.context.destroyBean(cellEditor);
|
|
29259
28961
|
return;
|
|
29260
28962
|
}
|
|
@@ -29292,10 +28994,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29292
28994
|
};
|
|
29293
28995
|
CellComp.prototype.addPopupCellEditor = function (params, position) {
|
|
29294
28996
|
var _this = this;
|
|
29295
|
-
if (this.beans.gridOptionsWrapper.isFullRowEdit())
|
|
29296
|
-
console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
|
|
29297
|
-
'- either turn off fullRowEdit, or stop using popup editors.');
|
|
29298
|
-
}
|
|
28997
|
+
if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
|
|
29299
28998
|
var cellEditor = this.cellEditor;
|
|
29300
28999
|
// if a popup, then we wrap in a popup editor and return the popup
|
|
29301
29000
|
this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
|
|
@@ -29479,9 +29178,6 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29479
29178
|
};
|
|
29480
29179
|
RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
|
|
29481
29180
|
var _this = this;
|
|
29482
|
-
if (this.fullWidthCellRenderer) {
|
|
29483
|
-
console.error('AG Grid - should not be setting fullWidthRowComponent twice');
|
|
29484
|
-
}
|
|
29485
29181
|
this.fullWidthCellRenderer = fullWidthRowComponent;
|
|
29486
29182
|
this.addDestroyFunc(function () {
|
|
29487
29183
|
_this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
|
|
@@ -29906,7 +29602,6 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29906
29602
|
switch (hDirection) {
|
|
29907
29603
|
case HorizontalDirection.Left: return HorizontalDirection.Right;
|
|
29908
29604
|
case HorizontalDirection.Right: return HorizontalDirection.Left;
|
|
29909
|
-
default: console.error("AG Grid: Unknown direction " + hDirection);
|
|
29910
29605
|
}
|
|
29911
29606
|
}
|
|
29912
29607
|
else {
|
|
@@ -30947,7 +30642,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30947
30642
|
}
|
|
30948
30643
|
var exportMode = this.getExcelExportMode(params);
|
|
30949
30644
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30950
|
-
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30951
30645
|
return;
|
|
30952
30646
|
}
|
|
30953
30647
|
return this.excelCreator.getDataAsExcel(params);
|
|
@@ -30959,7 +30653,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30959
30653
|
}
|
|
30960
30654
|
var exportMode = this.getExcelExportMode(params);
|
|
30961
30655
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30962
|
-
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30963
30656
|
return;
|
|
30964
30657
|
}
|
|
30965
30658
|
this.excelCreator.exportDataAsExcel(params);
|
|
@@ -30987,7 +30680,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30987
30680
|
};
|
|
30988
30681
|
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30989
30682
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30990
|
-
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30991
30683
|
this.setServerSideDatasource(datasource);
|
|
30992
30684
|
};
|
|
30993
30685
|
/**
|
|
@@ -31016,9 +30708,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31016
30708
|
// should really have an IEnterpriseRowModel interface, so we are not casting to any
|
|
31017
30709
|
this.serverSideRowModel.setDatasource(datasource);
|
|
31018
30710
|
}
|
|
31019
|
-
else {
|
|
31020
|
-
console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31021
|
-
}
|
|
31022
30711
|
};
|
|
31023
30712
|
/**
|
|
31024
30713
|
* Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
|
|
@@ -31027,7 +30716,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31027
30716
|
* */
|
|
31028
30717
|
GridApi.prototype.setCacheBlockSize = function (blockSize) {
|
|
31029
30718
|
if (!this.serverSideRowModel) {
|
|
31030
|
-
console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31031
30719
|
return;
|
|
31032
30720
|
}
|
|
31033
30721
|
this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
|
|
@@ -31038,9 +30726,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31038
30726
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
31039
30727
|
this.rowModel.setDatasource(datasource);
|
|
31040
30728
|
}
|
|
31041
|
-
else {
|
|
31042
|
-
console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
|
|
31043
|
-
}
|
|
31044
30729
|
};
|
|
31045
30730
|
/** Set new datasource for Viewport Row Model. */
|
|
31046
30731
|
GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
|
|
@@ -31050,16 +30735,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31050
30735
|
// the enterprise implement it, rather than casting to 'any' here
|
|
31051
30736
|
this.rowModel.setViewportDatasource(viewportDatasource);
|
|
31052
30737
|
}
|
|
31053
|
-
else {
|
|
31054
|
-
console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
|
|
31055
|
-
}
|
|
31056
30738
|
};
|
|
31057
30739
|
/** Set the row data. */
|
|
31058
30740
|
GridApi.prototype.setRowData = function (rowData) {
|
|
31059
30741
|
// immutable service is part of the CSRM module, if missing, no CSRM
|
|
31060
30742
|
var missingImmutableService = this.immutableService == null;
|
|
31061
30743
|
if (missingImmutableService) {
|
|
31062
|
-
console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
|
|
31063
30744
|
return;
|
|
31064
30745
|
}
|
|
31065
30746
|
// if no keys provided provided for rows, then we can tread the operation as Immutable
|
|
@@ -31073,32 +30754,26 @@ var GridApi = /** @class */ (function () {
|
|
|
31073
30754
|
};
|
|
31074
30755
|
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
31075
30756
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
31076
|
-
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
31077
30757
|
this.setPinnedTopRowData(rows);
|
|
31078
30758
|
};
|
|
31079
30759
|
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
31080
30760
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
31081
|
-
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
31082
30761
|
this.setPinnedBottomRowData(rows);
|
|
31083
30762
|
};
|
|
31084
30763
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
31085
30764
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
31086
|
-
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
31087
30765
|
return this.getPinnedTopRowCount();
|
|
31088
30766
|
};
|
|
31089
30767
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
31090
30768
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
31091
|
-
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
31092
30769
|
return this.getPinnedBottomRowCount();
|
|
31093
30770
|
};
|
|
31094
30771
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
31095
30772
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
31096
|
-
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
31097
30773
|
return this.getPinnedTopRow(index);
|
|
31098
30774
|
};
|
|
31099
30775
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
31100
30776
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
31101
|
-
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
31102
30777
|
return this.getPinnedBottomRow(index);
|
|
31103
30778
|
};
|
|
31104
30779
|
/** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
|
|
@@ -31179,7 +30854,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31179
30854
|
if (params === void 0) { params = {}; }
|
|
31180
30855
|
if (Array.isArray(params)) {
|
|
31181
30856
|
// the old version of refreshCells() took an array of rowNodes for the first argument
|
|
31182
|
-
console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
|
|
31183
30857
|
return;
|
|
31184
30858
|
}
|
|
31185
30859
|
this.rowRenderer.refreshCells(params);
|
|
@@ -31233,12 +30907,8 @@ var GridApi = /** @class */ (function () {
|
|
|
31233
30907
|
* It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
|
|
31234
30908
|
*/
|
|
31235
30909
|
GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
|
|
31236
|
-
if (missing(this.clientSideRowModel))
|
|
31237
|
-
|
|
31238
|
-
}
|
|
31239
|
-
if (exists(deprecated_refreshFromIndex)) {
|
|
31240
|
-
console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
|
|
31241
|
-
}
|
|
30910
|
+
if (missing(this.clientSideRowModel)) ;
|
|
30911
|
+
if (exists(deprecated_refreshFromIndex)) ;
|
|
31242
30912
|
// we don't really want the user calling this if only one rowNode was expanded, instead they should be
|
|
31243
30913
|
// calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
|
|
31244
30914
|
// grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
|
|
@@ -31247,7 +30917,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31247
30917
|
};
|
|
31248
30918
|
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
31249
30919
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
31250
|
-
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
31251
30920
|
this.refreshClientSideRowModel(step);
|
|
31252
30921
|
};
|
|
31253
30922
|
/**
|
|
@@ -31255,9 +30924,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31255
30924
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
31256
30925
|
*/
|
|
31257
30926
|
GridApi.prototype.refreshClientSideRowModel = function (step) {
|
|
31258
|
-
if (missing(this.clientSideRowModel))
|
|
31259
|
-
console.warn('cannot call refreshClientSideRowModel unless using normal row model');
|
|
31260
|
-
}
|
|
30927
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31261
30928
|
var paramsStep = ClientSideRowModelSteps.EVERYTHING;
|
|
31262
30929
|
var stepsMapped = {
|
|
31263
30930
|
everything: ClientSideRowModelSteps.EVERYTHING,
|
|
@@ -31272,7 +30939,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31272
30939
|
paramsStep = stepsMapped[step];
|
|
31273
30940
|
}
|
|
31274
30941
|
if (missing(paramsStep)) {
|
|
31275
|
-
console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
|
|
31276
30942
|
return;
|
|
31277
30943
|
}
|
|
31278
30944
|
var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
|
|
@@ -31318,9 +30984,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31318
30984
|
else if (this.serverSideRowModel) {
|
|
31319
30985
|
this.serverSideRowModel.expandAll(true);
|
|
31320
30986
|
}
|
|
31321
|
-
else
|
|
31322
|
-
console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
|
|
31323
|
-
}
|
|
30987
|
+
else ;
|
|
31324
30988
|
};
|
|
31325
30989
|
/** Collapse all groups. */
|
|
31326
30990
|
GridApi.prototype.collapseAll = function () {
|
|
@@ -31330,23 +30994,17 @@ var GridApi = /** @class */ (function () {
|
|
|
31330
30994
|
else if (this.serverSideRowModel) {
|
|
31331
30995
|
this.serverSideRowModel.expandAll(false);
|
|
31332
30996
|
}
|
|
31333
|
-
else
|
|
31334
|
-
console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
|
|
31335
|
-
}
|
|
30997
|
+
else ;
|
|
31336
30998
|
};
|
|
31337
30999
|
/** Gets the tool panel instance corresponding to the supplied `id`. */
|
|
31338
31000
|
GridApi.prototype.getToolPanelInstance = function (id) {
|
|
31339
31001
|
if (!this.sideBarComp) {
|
|
31340
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31341
31002
|
return;
|
|
31342
31003
|
}
|
|
31343
31004
|
var comp = this.sideBarComp.getToolPanelInstance(id);
|
|
31344
31005
|
return unwrapUserComp(comp);
|
|
31345
31006
|
};
|
|
31346
31007
|
GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
|
|
31347
|
-
if (typeof eventName !== 'string') {
|
|
31348
|
-
console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
|
|
31349
|
-
}
|
|
31350
31008
|
this.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31351
31009
|
};
|
|
31352
31010
|
/**
|
|
@@ -31357,9 +31015,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31357
31015
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31358
31016
|
*/
|
|
31359
31017
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
31360
|
-
if (eventName === 'virtualRowSelected') {
|
|
31361
|
-
console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
|
|
31362
|
-
}
|
|
31363
31018
|
this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31364
31019
|
};
|
|
31365
31020
|
/** Pass a quick filter text into the grid for filtering. */
|
|
@@ -31368,38 +31023,19 @@ var GridApi = /** @class */ (function () {
|
|
|
31368
31023
|
};
|
|
31369
31024
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31370
31025
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31371
|
-
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31372
|
-
if (suppressEvents) {
|
|
31373
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31374
|
-
}
|
|
31375
31026
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31376
31027
|
};
|
|
31377
31028
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31378
31029
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31379
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31380
|
-
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31381
|
-
if (suppressEvents) {
|
|
31382
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31383
|
-
}
|
|
31384
31030
|
this.selectionService.deselectIndex(index);
|
|
31385
31031
|
};
|
|
31386
31032
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31387
31033
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31388
31034
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31389
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31390
|
-
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31391
|
-
if (suppressEvents) {
|
|
31392
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31393
|
-
}
|
|
31394
31035
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31395
31036
|
};
|
|
31396
31037
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31397
31038
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31398
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31399
|
-
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31400
|
-
if (suppressEvents) {
|
|
31401
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31402
|
-
}
|
|
31403
31039
|
node.setSelectedParams({ newValue: false });
|
|
31404
31040
|
};
|
|
31405
31041
|
/** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
|
|
@@ -31420,10 +31056,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31420
31056
|
};
|
|
31421
31057
|
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31422
31058
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31423
|
-
if (missing(this.clientSideRowModel))
|
|
31424
|
-
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
31425
|
-
}
|
|
31426
|
-
console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
|
|
31059
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31427
31060
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
|
|
31428
31061
|
};
|
|
31429
31062
|
/**
|
|
@@ -31445,12 +31078,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31445
31078
|
this.overlayWrapperComp.hideOverlay();
|
|
31446
31079
|
};
|
|
31447
31080
|
GridApi.prototype.isNodeSelected = function (node) {
|
|
31448
|
-
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31449
31081
|
return node.isSelected();
|
|
31450
31082
|
};
|
|
31451
31083
|
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31452
31084
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31453
|
-
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31454
31085
|
return null;
|
|
31455
31086
|
};
|
|
31456
31087
|
/**
|
|
@@ -31479,7 +31110,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31479
31110
|
};
|
|
31480
31111
|
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31481
31112
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31482
|
-
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31483
31113
|
};
|
|
31484
31114
|
/**
|
|
31485
31115
|
* Ensures the column is visible by scrolling the table if needed.
|
|
@@ -31521,9 +31151,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31521
31151
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
31522
31152
|
*/
|
|
31523
31153
|
GridApi.prototype.forEachLeafNode = function (callback) {
|
|
31524
|
-
if (missing(this.clientSideRowModel))
|
|
31525
|
-
console.warn('cannot call forEachNode unless using normal row model');
|
|
31526
|
-
}
|
|
31154
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31527
31155
|
this.clientSideRowModel.forEachLeafNode(callback);
|
|
31528
31156
|
};
|
|
31529
31157
|
/**
|
|
@@ -31537,16 +31165,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31537
31165
|
};
|
|
31538
31166
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
31539
31167
|
GridApi.prototype.forEachNodeAfterFilter = function (callback) {
|
|
31540
|
-
if (missing(this.clientSideRowModel))
|
|
31541
|
-
console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
|
|
31542
|
-
}
|
|
31168
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31543
31169
|
this.clientSideRowModel.forEachNodeAfterFilter(callback);
|
|
31544
31170
|
};
|
|
31545
31171
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
31546
31172
|
GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
|
|
31547
|
-
if (missing(this.clientSideRowModel))
|
|
31548
|
-
console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
|
|
31549
|
-
}
|
|
31173
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31550
31174
|
this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
|
|
31551
31175
|
};
|
|
31552
31176
|
/**
|
|
@@ -31784,12 +31408,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31784
31408
|
};
|
|
31785
31409
|
/** @deprecated use `setProcessPivotResultColDef` instead */
|
|
31786
31410
|
GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
|
|
31787
|
-
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
|
|
31788
31411
|
this.setProcessPivotResultColDef(processSecondaryColDefFunc);
|
|
31789
31412
|
};
|
|
31790
31413
|
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
|
|
31791
31414
|
GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
|
|
31792
|
-
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
|
|
31793
31415
|
this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
|
|
31794
31416
|
};
|
|
31795
31417
|
GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
|
|
@@ -31845,9 +31467,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31845
31467
|
/** Show/hide the entire side bar, including any visible panel and the tab buttons. */
|
|
31846
31468
|
GridApi.prototype.setSideBarVisible = function (show) {
|
|
31847
31469
|
if (!this.sideBarComp) {
|
|
31848
|
-
if (show) {
|
|
31849
|
-
console.warn('AG Grid: sideBar is not loaded');
|
|
31850
|
-
}
|
|
31851
31470
|
return;
|
|
31852
31471
|
}
|
|
31853
31472
|
this.sideBarComp.setDisplayed(show);
|
|
@@ -31855,7 +31474,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31855
31474
|
/** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
|
|
31856
31475
|
GridApi.prototype.setSideBarPosition = function (position) {
|
|
31857
31476
|
if (!this.sideBarComp) {
|
|
31858
|
-
console.warn('AG Grid: sideBar is not loaded');
|
|
31859
31477
|
return;
|
|
31860
31478
|
}
|
|
31861
31479
|
this.sideBarComp.setSideBarPosition(position);
|
|
@@ -31863,7 +31481,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31863
31481
|
/** Opens a particular tool panel. Provide the ID of the tool panel to open. */
|
|
31864
31482
|
GridApi.prototype.openToolPanel = function (key) {
|
|
31865
31483
|
if (!this.sideBarComp) {
|
|
31866
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31867
31484
|
return;
|
|
31868
31485
|
}
|
|
31869
31486
|
this.sideBarComp.openToolPanel(key);
|
|
@@ -31871,7 +31488,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31871
31488
|
/** Closes the currently open tool panel (if any). */
|
|
31872
31489
|
GridApi.prototype.closeToolPanel = function () {
|
|
31873
31490
|
if (!this.sideBarComp) {
|
|
31874
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31875
31491
|
return;
|
|
31876
31492
|
}
|
|
31877
31493
|
this.sideBarComp.close();
|
|
@@ -31897,14 +31513,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31897
31513
|
};
|
|
31898
31514
|
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31899
31515
|
GridApi.prototype.doLayout = function () {
|
|
31900
|
-
|
|
31901
|
-
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
31516
|
+
doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
|
|
31902
31517
|
};
|
|
31903
31518
|
/** Tells the grid to recalculate the row heights. */
|
|
31904
31519
|
GridApi.prototype.resetRowHeights = function () {
|
|
31905
31520
|
if (exists(this.clientSideRowModel)) {
|
|
31906
31521
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
31907
|
-
console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
|
|
31908
31522
|
return;
|
|
31909
31523
|
}
|
|
31910
31524
|
this.clientSideRowModel.resetRowHeights();
|
|
@@ -31991,9 +31605,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31991
31605
|
setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
|
|
31992
31606
|
};
|
|
31993
31607
|
GridApi.prototype.warnIfDestroyed = function (methodName) {
|
|
31994
|
-
if (this.destroyCalled) {
|
|
31995
|
-
console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
|
|
31996
|
-
}
|
|
31997
31608
|
return this.destroyCalled;
|
|
31998
31609
|
};
|
|
31999
31610
|
/** Reset the quick filter cache text on every rowNode. */
|
|
@@ -32005,7 +31616,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32005
31616
|
};
|
|
32006
31617
|
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
32007
31618
|
GridApi.prototype.getRangeSelections = function () {
|
|
32008
|
-
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.");
|
|
32009
31619
|
return null;
|
|
32010
31620
|
};
|
|
32011
31621
|
/** Returns the list of selected cell ranges. */
|
|
@@ -32013,7 +31623,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32013
31623
|
if (this.rangeService) {
|
|
32014
31624
|
return this.rangeService.getCellRanges();
|
|
32015
31625
|
}
|
|
32016
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32017
31626
|
return null;
|
|
32018
31627
|
};
|
|
32019
31628
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
@@ -32021,20 +31630,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32021
31630
|
};
|
|
32022
31631
|
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
32023
31632
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
32024
|
-
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()');
|
|
32025
31633
|
};
|
|
32026
31634
|
/** Adds the provided cell range to the selected ranges. */
|
|
32027
31635
|
GridApi.prototype.addCellRange = function (params) {
|
|
32028
|
-
if (!this.rangeService) {
|
|
32029
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32030
|
-
}
|
|
32031
31636
|
this.rangeService.addCellRange(params);
|
|
32032
31637
|
};
|
|
32033
31638
|
/** Clears the selected ranges. */
|
|
32034
31639
|
GridApi.prototype.clearRangeSelection = function () {
|
|
32035
|
-
if (!this.rangeService) {
|
|
32036
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32037
|
-
}
|
|
32038
31640
|
this.rangeService.removeAllCellRanges();
|
|
32039
31641
|
};
|
|
32040
31642
|
/** Reverts the last cell edit. */
|
|
@@ -32121,30 +31723,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32121
31723
|
};
|
|
32122
31724
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
32123
31725
|
GridApi.prototype.copyToClipboard = function (params) {
|
|
32124
|
-
if (!this.clipboardService) {
|
|
32125
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32126
|
-
}
|
|
32127
31726
|
this.clipboardService.copyToClipboard(params);
|
|
32128
31727
|
};
|
|
32129
31728
|
/** Copies the selected rows to the clipboard. */
|
|
32130
31729
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
32131
|
-
if (!this.clipboardService) {
|
|
32132
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32133
|
-
}
|
|
32134
31730
|
this.clipboardService.copySelectedRowsToClipboard(params);
|
|
32135
31731
|
};
|
|
32136
31732
|
/** Copies the selected ranges to the clipboard. */
|
|
32137
31733
|
GridApi.prototype.copySelectedRangeToClipboard = function (params) {
|
|
32138
|
-
if (!this.clipboardService) {
|
|
32139
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32140
|
-
}
|
|
32141
31734
|
this.clipboardService.copySelectedRangeToClipboard(params);
|
|
32142
31735
|
};
|
|
32143
31736
|
/** Copies the selected range down, similar to `Ctrl + D` in Excel. */
|
|
32144
31737
|
GridApi.prototype.copySelectedRangeDown = function () {
|
|
32145
|
-
if (!this.clipboardService) {
|
|
32146
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32147
|
-
}
|
|
32148
31738
|
this.clipboardService.copyRangeDown();
|
|
32149
31739
|
};
|
|
32150
31740
|
/** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
|
|
@@ -32161,7 +31751,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32161
31751
|
column = this.columnModel.getPrimaryColumn(colKey);
|
|
32162
31752
|
}
|
|
32163
31753
|
if (!column) {
|
|
32164
|
-
console.error("AG Grid: column '" + colKey + "' not found");
|
|
32165
31754
|
return;
|
|
32166
31755
|
}
|
|
32167
31756
|
this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
|
|
@@ -32214,7 +31803,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32214
31803
|
GridApi.prototype.startEditingCell = function (params) {
|
|
32215
31804
|
var column = this.columnModel.getGridColumn(params.colKey);
|
|
32216
31805
|
if (!column) {
|
|
32217
|
-
console.warn("AG Grid: no column found for " + params.colKey);
|
|
32218
31806
|
return;
|
|
32219
31807
|
}
|
|
32220
31808
|
var cellPosition = {
|
|
@@ -32253,14 +31841,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32253
31841
|
/** Apply transactions to the server side row model. */
|
|
32254
31842
|
GridApi.prototype.applyServerSideTransaction = function (transaction) {
|
|
32255
31843
|
if (!this.serverSideTransactionManager) {
|
|
32256
|
-
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
32257
31844
|
return;
|
|
32258
31845
|
}
|
|
32259
31846
|
return this.serverSideTransactionManager.applyTransaction(transaction);
|
|
32260
31847
|
};
|
|
32261
31848
|
GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
|
|
32262
31849
|
if (!this.serverSideTransactionManager) {
|
|
32263
|
-
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
32264
31850
|
return;
|
|
32265
31851
|
}
|
|
32266
31852
|
return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
|
|
@@ -32268,14 +31854,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32268
31854
|
/** Gets all failed server side loads to retry. */
|
|
32269
31855
|
GridApi.prototype.retryServerSideLoads = function () {
|
|
32270
31856
|
if (!this.serverSideRowModel) {
|
|
32271
|
-
console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
|
|
32272
31857
|
return;
|
|
32273
31858
|
}
|
|
32274
31859
|
this.serverSideRowModel.retryLoads();
|
|
32275
31860
|
};
|
|
32276
31861
|
GridApi.prototype.flushServerSideAsyncTransactions = function () {
|
|
32277
31862
|
if (!this.serverSideTransactionManager) {
|
|
32278
|
-
console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
|
|
32279
31863
|
return;
|
|
32280
31864
|
}
|
|
32281
31865
|
return this.serverSideTransactionManager.flushAsyncTransactions();
|
|
@@ -32283,7 +31867,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32283
31867
|
/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
|
|
32284
31868
|
GridApi.prototype.applyTransaction = function (rowDataTransaction) {
|
|
32285
31869
|
if (!this.clientSideRowModel) {
|
|
32286
|
-
console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
|
|
32287
31870
|
return;
|
|
32288
31871
|
}
|
|
32289
31872
|
var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
|
|
@@ -32301,14 +31884,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32301
31884
|
};
|
|
32302
31885
|
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
32303
31886
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
32304
|
-
|
|
32305
|
-
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
31887
|
+
doOnce(function () { return (void 0); }, 'updateRowData deprecated');
|
|
32306
31888
|
return this.applyTransaction(rowDataTransaction);
|
|
32307
31889
|
};
|
|
32308
31890
|
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
|
|
32309
31891
|
GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
|
|
32310
31892
|
if (!this.clientSideRowModel) {
|
|
32311
|
-
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
32312
31893
|
return;
|
|
32313
31894
|
}
|
|
32314
31895
|
this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
|
|
@@ -32316,41 +31897,34 @@ var GridApi = /** @class */ (function () {
|
|
|
32316
31897
|
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
|
|
32317
31898
|
GridApi.prototype.flushAsyncTransactions = function () {
|
|
32318
31899
|
if (!this.clientSideRowModel) {
|
|
32319
|
-
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
32320
31900
|
return;
|
|
32321
31901
|
}
|
|
32322
31902
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
32323
31903
|
};
|
|
32324
31904
|
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
32325
31905
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
32326
|
-
|
|
32327
|
-
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
31906
|
+
doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
|
|
32328
31907
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
32329
31908
|
};
|
|
32330
31909
|
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
32331
31910
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32332
|
-
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
32333
31911
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
32334
31912
|
};
|
|
32335
31913
|
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32336
31914
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32337
|
-
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32338
31915
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
32339
31916
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
32340
31917
|
};
|
|
32341
31918
|
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32342
31919
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32343
|
-
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32344
31920
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
32345
31921
|
};
|
|
32346
31922
|
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32347
31923
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32348
|
-
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32349
31924
|
this.refreshInfiniteCache();
|
|
32350
31925
|
};
|
|
32351
31926
|
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32352
31927
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32353
|
-
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32354
31928
|
this.refreshInfiniteCache();
|
|
32355
31929
|
};
|
|
32356
31930
|
/**
|
|
@@ -32362,18 +31936,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32362
31936
|
if (this.infiniteRowModel) {
|
|
32363
31937
|
this.infiniteRowModel.refreshCache();
|
|
32364
31938
|
}
|
|
32365
|
-
else {
|
|
32366
|
-
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32367
|
-
}
|
|
32368
31939
|
};
|
|
32369
31940
|
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32370
31941
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32371
|
-
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32372
31942
|
this.purgeInfinitePageCache();
|
|
32373
31943
|
};
|
|
32374
31944
|
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32375
31945
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32376
|
-
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32377
31946
|
this.purgeInfiniteCache();
|
|
32378
31947
|
};
|
|
32379
31948
|
/**
|
|
@@ -32386,28 +31955,20 @@ var GridApi = /** @class */ (function () {
|
|
|
32386
31955
|
if (this.infiniteRowModel) {
|
|
32387
31956
|
this.infiniteRowModel.purgeCache();
|
|
32388
31957
|
}
|
|
32389
|
-
else {
|
|
32390
|
-
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32391
|
-
}
|
|
32392
31958
|
};
|
|
32393
31959
|
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
32394
31960
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32395
|
-
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
32396
31961
|
this.purgeServerSideCache(route);
|
|
32397
31962
|
};
|
|
32398
31963
|
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
32399
31964
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
32400
31965
|
if (route === void 0) { route = []; }
|
|
32401
31966
|
if (this.serverSideRowModel) {
|
|
32402
|
-
console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
|
|
32403
31967
|
this.refreshServerSide({
|
|
32404
31968
|
route: route,
|
|
32405
31969
|
purge: true
|
|
32406
31970
|
});
|
|
32407
31971
|
}
|
|
32408
|
-
else {
|
|
32409
|
-
console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
|
|
32410
|
-
}
|
|
32411
31972
|
};
|
|
32412
31973
|
/**
|
|
32413
31974
|
* Refresh a server-side level.
|
|
@@ -32416,34 +31977,29 @@ var GridApi = /** @class */ (function () {
|
|
|
32416
31977
|
*/
|
|
32417
31978
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
32418
31979
|
if (!this.serverSideRowModel) {
|
|
32419
|
-
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
32420
31980
|
return;
|
|
32421
31981
|
}
|
|
32422
31982
|
this.serverSideRowModel.refreshStore(params);
|
|
32423
31983
|
};
|
|
32424
31984
|
/** @deprecated use `refreshServerSide` instead */
|
|
32425
31985
|
GridApi.prototype.refreshServerSideStore = function (params) {
|
|
32426
|
-
|
|
32427
|
-
doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
|
|
31986
|
+
doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
|
|
32428
31987
|
return this.refreshServerSide(params);
|
|
32429
31988
|
};
|
|
32430
31989
|
/** @deprecated use `getServerSideGroupLevelState` instead */
|
|
32431
31990
|
GridApi.prototype.getServerSideStoreState = function () {
|
|
32432
|
-
|
|
32433
|
-
doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
|
|
31991
|
+
doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
|
|
32434
31992
|
return this.getServerSideGroupLevelState();
|
|
32435
31993
|
};
|
|
32436
31994
|
/** Returns info on all server side group levels. */
|
|
32437
31995
|
GridApi.prototype.getServerSideGroupLevelState = function () {
|
|
32438
31996
|
if (!this.serverSideRowModel) {
|
|
32439
|
-
console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
|
|
32440
31997
|
return [];
|
|
32441
31998
|
}
|
|
32442
31999
|
return this.serverSideRowModel.getStoreState();
|
|
32443
32000
|
};
|
|
32444
32001
|
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
32445
32002
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32446
|
-
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
32447
32003
|
return this.getInfiniteRowCount();
|
|
32448
32004
|
};
|
|
32449
32005
|
/** The row count defines how many rows the grid allows scrolling to. */
|
|
@@ -32451,13 +32007,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32451
32007
|
if (this.infiniteRowModel) {
|
|
32452
32008
|
return this.infiniteRowModel.getRowCount();
|
|
32453
32009
|
}
|
|
32454
|
-
else {
|
|
32455
|
-
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32456
|
-
}
|
|
32457
32010
|
};
|
|
32458
32011
|
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32459
32012
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32460
|
-
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32461
32013
|
return this.isLastRowIndexKnown();
|
|
32462
32014
|
};
|
|
32463
32015
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32465,18 +32017,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32465
32017
|
if (this.infiniteRowModel) {
|
|
32466
32018
|
return this.infiniteRowModel.isLastRowIndexKnown();
|
|
32467
32019
|
}
|
|
32468
|
-
else {
|
|
32469
|
-
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32470
|
-
}
|
|
32471
32020
|
};
|
|
32472
32021
|
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32473
32022
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32474
|
-
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32475
32023
|
this.setRowCount(rowCount, maxRowFound);
|
|
32476
32024
|
};
|
|
32477
32025
|
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32478
32026
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32479
|
-
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32480
32027
|
this.setRowCount(rowCount, maxRowFound);
|
|
32481
32028
|
};
|
|
32482
32029
|
/**
|
|
@@ -32490,18 +32037,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32490
32037
|
if (this.infiniteRowModel) {
|
|
32491
32038
|
this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
|
|
32492
32039
|
}
|
|
32493
|
-
else {
|
|
32494
|
-
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32495
|
-
}
|
|
32496
32040
|
};
|
|
32497
32041
|
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32498
32042
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32499
|
-
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32500
32043
|
return this.getCacheBlockState();
|
|
32501
32044
|
};
|
|
32502
32045
|
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32503
32046
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32504
|
-
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32505
32047
|
return this.getCacheBlockState();
|
|
32506
32048
|
};
|
|
32507
32049
|
/**
|
|
@@ -32512,11 +32054,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32512
32054
|
};
|
|
32513
32055
|
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32514
32056
|
GridApi.prototype.checkGridSize = function () {
|
|
32515
|
-
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32516
32057
|
};
|
|
32517
32058
|
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32518
32059
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32519
|
-
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32520
32060
|
return this.getFirstDisplayedRow();
|
|
32521
32061
|
};
|
|
32522
32062
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -32525,7 +32065,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32525
32065
|
};
|
|
32526
32066
|
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32527
32067
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32528
|
-
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32529
32068
|
return this.getLastDisplayedRow();
|
|
32530
32069
|
};
|
|
32531
32070
|
/** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -33577,11 +33116,7 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33577
33116
|
};
|
|
33578
33117
|
};
|
|
33579
33118
|
SelectAllFeature.prototype.checkRightRowModelType = function () {
|
|
33580
|
-
|
|
33581
|
-
var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
33582
|
-
if (!rowModelMatches) {
|
|
33583
|
-
console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
|
|
33584
|
-
}
|
|
33119
|
+
this.rowModel.getType();
|
|
33585
33120
|
};
|
|
33586
33121
|
SelectAllFeature.prototype.onCbSelectAll = function () {
|
|
33587
33122
|
if (this.processingEventFromCheckbox) {
|
|
@@ -33613,15 +33148,12 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33613
33148
|
}
|
|
33614
33149
|
if (result) {
|
|
33615
33150
|
if (this.gridOptionsWrapper.isRowModelServerSide()) {
|
|
33616
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
|
|
33617
33151
|
return false;
|
|
33618
33152
|
}
|
|
33619
33153
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
33620
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
|
|
33621
33154
|
return false;
|
|
33622
33155
|
}
|
|
33623
33156
|
if (this.gridOptionsWrapper.isRowModelViewport()) {
|
|
33624
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
|
|
33625
33157
|
return false;
|
|
33626
33158
|
}
|
|
33627
33159
|
// otherwise the row model is compatible, so return true
|
|
@@ -36238,9 +35770,6 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
36238
35770
|
// frames. this stops bugs - where some code is asking for a frame to be executed
|
|
36239
35771
|
// when it should not.
|
|
36240
35772
|
AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
|
|
36241
|
-
if (this.useAnimationFrame === false) {
|
|
36242
|
-
console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
|
|
36243
|
-
}
|
|
36244
35773
|
};
|
|
36245
35774
|
AnimationFrameService.prototype.createTask = function (task, index, list) {
|
|
36246
35775
|
this.verifyAnimationFrameOn(list);
|
|
@@ -37477,10 +37006,10 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37477
37006
|
this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
|
|
37478
37007
|
if (this.gridOptionsWrapper.isGroupRowsSticky()) {
|
|
37479
37008
|
if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
37480
|
-
doOnce(function () { return
|
|
37009
|
+
doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
|
|
37481
37010
|
}
|
|
37482
37011
|
else if (this.gridOptionsWrapper.isTreeData()) {
|
|
37483
|
-
doOnce(function () { return
|
|
37012
|
+
doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
|
|
37484
37013
|
}
|
|
37485
37014
|
else {
|
|
37486
37015
|
this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
|
|
@@ -41624,9 +41153,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41624
41153
|
if (menuItemOrString === 'separator') {
|
|
41625
41154
|
_this.addSeparator();
|
|
41626
41155
|
}
|
|
41627
|
-
else if (typeof menuItemOrString === 'string')
|
|
41628
|
-
console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
|
|
41629
|
-
}
|
|
41156
|
+
else if (typeof menuItemOrString === 'string') ;
|
|
41630
41157
|
else {
|
|
41631
41158
|
_this.addItem(menuItemOrString);
|
|
41632
41159
|
}
|
|
@@ -41991,9 +41518,7 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41991
41518
|
else if (typeof this.params.icon === 'string') {
|
|
41992
41519
|
icon.innerHTML = this.params.icon;
|
|
41993
41520
|
}
|
|
41994
|
-
else
|
|
41995
|
-
console.warn('AG Grid: menu item icon must be DOM node or string');
|
|
41996
|
-
}
|
|
41521
|
+
else ;
|
|
41997
41522
|
}
|
|
41998
41523
|
this.getGui().appendChild(icon);
|
|
41999
41524
|
};
|
|
@@ -42943,7 +42468,6 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42943
42468
|
var eDocument = this.gridOptionsWrapper.getDocument();
|
|
42944
42469
|
var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
|
|
42945
42470
|
if (!eDocument) {
|
|
42946
|
-
console.warn('ag-grid: could not find the document, document is empty');
|
|
42947
42471
|
return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
|
|
42948
42472
|
}
|
|
42949
42473
|
var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
|
|
@@ -43356,7 +42880,6 @@ var VirtualList = /** @class */ (function (_super) {
|
|
|
43356
42880
|
VirtualList.prototype.ensureIndexVisible = function (index) {
|
|
43357
42881
|
var lastRow = this.model.getRowCount();
|
|
43358
42882
|
if (typeof index !== 'number' || index < 0 || index >= lastRow) {
|
|
43359
|
-
console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
|
|
43360
42883
|
return;
|
|
43361
42884
|
}
|
|
43362
42885
|
var rowTopPixel = index * this.rowHeight;
|
|
@@ -43660,7 +43183,6 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43660
43183
|
break;
|
|
43661
43184
|
default:
|
|
43662
43185
|
pointer = null;
|
|
43663
|
-
console.warn('AG Grid: unknown key for navigation ' + key);
|
|
43664
43186
|
break;
|
|
43665
43187
|
}
|
|
43666
43188
|
if (pointer) {
|
|
@@ -44055,12 +43577,6 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
44055
43577
|
var groupOpenedEvent = event;
|
|
44056
43578
|
_this.processGroupOpenedEvent(groupOpenedEvent);
|
|
44057
43579
|
break;
|
|
44058
|
-
case Events.EVENT_COLUMN_PIVOT_CHANGED:
|
|
44059
|
-
// we cannot support pivoting with aligned grids as the columns will be out of sync as the
|
|
44060
|
-
// grids will have columns created based on the row data of the grid.
|
|
44061
|
-
console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
|
|
44062
|
-
'You can only use one of these features at a time in a grid.');
|
|
44063
|
-
break;
|
|
44064
43580
|
}
|
|
44065
43581
|
});
|
|
44066
43582
|
};
|
|
@@ -44362,13 +43878,11 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44362
43878
|
// where groups don't actually appear in the selection normally.
|
|
44363
43879
|
SelectionService.prototype.getBestCostNodeSelection = function () {
|
|
44364
43880
|
if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
44365
|
-
console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
|
|
44366
43881
|
return;
|
|
44367
43882
|
}
|
|
44368
43883
|
var clientSideRowModel = this.rowModel;
|
|
44369
43884
|
var topLevelNodes = clientSideRowModel.getTopLevelNodes();
|
|
44370
43885
|
if (topLevelNodes === null) {
|
|
44371
|
-
console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
|
|
44372
43886
|
return;
|
|
44373
43887
|
}
|
|
44374
43888
|
var result = [];
|
|
@@ -44410,7 +43924,6 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44410
43924
|
var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
44411
43925
|
if (justFiltered) {
|
|
44412
43926
|
if (!rowModelClientSide) {
|
|
44413
|
-
console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
|
|
44414
43927
|
return;
|
|
44415
43928
|
}
|
|
44416
43929
|
var clientSideRowModel = this.rowModel;
|
|
@@ -44523,11 +44036,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44523
44036
|
}
|
|
44524
44037
|
/** 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. */
|
|
44525
44038
|
ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
|
|
44526
|
-
// AG-3403 validate that gridWidth is provided because this method has the same name as
|
|
44527
|
-
// a method on the grid API that takes no arguments, and it's easy to confuse the two
|
|
44528
|
-
if (typeof gridWidth === "undefined") {
|
|
44529
|
-
console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
|
|
44530
|
-
}
|
|
44531
44039
|
this.columnModel.sizeColumnsToFit(gridWidth, 'api');
|
|
44532
44040
|
};
|
|
44533
44041
|
/** Call this if you want to open or close a column group. */
|
|
@@ -44596,7 +44104,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44596
44104
|
ColumnApi.prototype.moveColumn = function (key, toIndex) {
|
|
44597
44105
|
if (typeof key === 'number') {
|
|
44598
44106
|
// moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
|
|
44599
|
-
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');
|
|
44600
44107
|
this.columnModel.moveColumnByIndex(key, toIndex, 'api');
|
|
44601
44108
|
}
|
|
44602
44109
|
else {
|
|
@@ -44627,7 +44134,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44627
44134
|
ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
|
|
44628
44135
|
/** @deprecated Use `getPivotResultColumn` instead */
|
|
44629
44136
|
ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
|
|
44630
|
-
console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
|
|
44631
44137
|
return this.getPivotResultColumn(pivotKeys, valueColKey);
|
|
44632
44138
|
};
|
|
44633
44139
|
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
|
|
@@ -44686,21 +44192,18 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44686
44192
|
ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
|
|
44687
44193
|
/** @deprecated Use `setPivotResultColumns` instead. */
|
|
44688
44194
|
ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
|
|
44689
|
-
console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
|
|
44690
44195
|
this.setPivotResultColumns(colDefs);
|
|
44691
44196
|
};
|
|
44692
44197
|
/** Set the pivot result columns. */
|
|
44693
44198
|
ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
|
|
44694
44199
|
/** @deprecated Use `getPivotResultColumns` instead. */
|
|
44695
44200
|
ColumnApi.prototype.getSecondaryColumns = function () {
|
|
44696
|
-
console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
|
|
44697
44201
|
return this.getPivotResultColumns();
|
|
44698
44202
|
};
|
|
44699
44203
|
/** Returns the grid's pivot result columns. */
|
|
44700
44204
|
ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
|
|
44701
44205
|
/** @deprecated Use `getColumns` instead. */
|
|
44702
44206
|
ColumnApi.prototype.getPrimaryColumns = function () {
|
|
44703
|
-
console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
|
|
44704
44207
|
return this.getColumns();
|
|
44705
44208
|
};
|
|
44706
44209
|
ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
|
|
@@ -44719,82 +44222,66 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44719
44222
|
// }
|
|
44720
44223
|
/** @deprecated Use `getColumns` instead */
|
|
44721
44224
|
ColumnApi.prototype.getAllColumns = function () {
|
|
44722
|
-
console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
|
|
44723
44225
|
return this.getColumns();
|
|
44724
44226
|
};
|
|
44725
44227
|
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
|
|
44726
44228
|
ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
|
|
44727
|
-
console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
|
|
44728
44229
|
this.setColumnGroupOpened(group, newValue);
|
|
44729
44230
|
};
|
|
44730
44231
|
/** @deprecated hideColumns is deprecated, use setColumnsVisible */
|
|
44731
44232
|
ColumnApi.prototype.hideColumns = function (colIds, hide) {
|
|
44732
|
-
console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
|
|
44733
44233
|
this.columnModel.setColumnsVisible(colIds, !hide, 'api');
|
|
44734
44234
|
};
|
|
44735
44235
|
/** @deprecated hideColumn is deprecated, use setColumnVisible */
|
|
44736
44236
|
ColumnApi.prototype.hideColumn = function (colId, hide) {
|
|
44737
|
-
console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
|
|
44738
44237
|
this.columnModel.setColumnVisible(colId, !hide, 'api');
|
|
44739
44238
|
};
|
|
44740
44239
|
/** @deprecated setState is deprecated, use setColumnState */
|
|
44741
44240
|
ColumnApi.prototype.setState = function (columnState) {
|
|
44742
|
-
console.error('AG Grid: setState is deprecated, use setColumnState');
|
|
44743
44241
|
return this.setColumnState(columnState);
|
|
44744
44242
|
};
|
|
44745
44243
|
/** @deprecated getState is deprecated, use getColumnState */
|
|
44746
44244
|
ColumnApi.prototype.getState = function () {
|
|
44747
|
-
console.error('AG Grid: getState is deprecated, use getColumnState');
|
|
44748
44245
|
return this.getColumnState();
|
|
44749
44246
|
};
|
|
44750
44247
|
/** @deprecated resetState is deprecated, use resetColumnState */
|
|
44751
44248
|
ColumnApi.prototype.resetState = function () {
|
|
44752
|
-
console.error('AG Grid: resetState is deprecated, use resetColumnState');
|
|
44753
44249
|
this.resetColumnState();
|
|
44754
44250
|
};
|
|
44755
44251
|
/** @deprecated getAggregationColumns is deprecated, use getValueColumns */
|
|
44756
44252
|
ColumnApi.prototype.getAggregationColumns = function () {
|
|
44757
|
-
console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
|
|
44758
44253
|
return this.columnModel.getValueColumns();
|
|
44759
44254
|
};
|
|
44760
44255
|
/** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
|
|
44761
44256
|
ColumnApi.prototype.removeAggregationColumn = function (colKey) {
|
|
44762
|
-
console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
|
|
44763
44257
|
this.columnModel.removeValueColumn(colKey, 'api');
|
|
44764
44258
|
};
|
|
44765
44259
|
/** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
|
|
44766
44260
|
ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
|
|
44767
|
-
console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
|
|
44768
44261
|
this.columnModel.removeValueColumns(colKeys, 'api');
|
|
44769
44262
|
};
|
|
44770
44263
|
/** @deprecated addAggregationColumn is deprecated, use addValueColumn */
|
|
44771
44264
|
ColumnApi.prototype.addAggregationColumn = function (colKey) {
|
|
44772
|
-
console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
|
|
44773
44265
|
this.columnModel.addValueColumn(colKey, 'api');
|
|
44774
44266
|
};
|
|
44775
44267
|
/** @deprecated addAggregationColumns is deprecated, use addValueColumns */
|
|
44776
44268
|
ColumnApi.prototype.addAggregationColumns = function (colKeys) {
|
|
44777
|
-
console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
|
|
44778
44269
|
this.columnModel.addValueColumns(colKeys, 'api');
|
|
44779
44270
|
};
|
|
44780
44271
|
/** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
|
|
44781
44272
|
ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
|
|
44782
|
-
console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
|
|
44783
44273
|
this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
|
|
44784
44274
|
};
|
|
44785
44275
|
/** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
|
|
44786
44276
|
ColumnApi.prototype.getDisplayNameForCol = function (column) {
|
|
44787
|
-
console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
|
|
44788
44277
|
return this.getDisplayNameForColumn(column, null);
|
|
44789
44278
|
};
|
|
44790
44279
|
/** @deprecated setColumnState is deprecated, use applyColumnState. */
|
|
44791
44280
|
ColumnApi.prototype.setColumnState = function (columnState) {
|
|
44792
|
-
console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
|
|
44793
44281
|
return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
|
|
44794
44282
|
};
|
|
44795
44283
|
/** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
|
|
44796
44284
|
ColumnApi.prototype.getOriginalColumnGroup = function (name) {
|
|
44797
|
-
console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
|
|
44798
44285
|
return this.columnModel.getProvidedColumnGroup(name);
|
|
44799
44286
|
};
|
|
44800
44287
|
__decorate$1n([
|
|
@@ -44947,7 +44434,6 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44947
44434
|
// need either a field or a newValueHandler for this to work
|
|
44948
44435
|
if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
|
|
44949
44436
|
// we don't tell user about newValueHandler, as that is deprecated
|
|
44950
|
-
console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
|
|
44951
44437
|
return false;
|
|
44952
44438
|
}
|
|
44953
44439
|
var params = {
|
|
@@ -45124,7 +44610,6 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
45124
44610
|
result = String(result);
|
|
45125
44611
|
if (result === '[object Object]') {
|
|
45126
44612
|
doOnce(function () {
|
|
45127
|
-
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');
|
|
45128
44613
|
}, 'getKeyForNode - warn about [object,object]');
|
|
45129
44614
|
}
|
|
45130
44615
|
return result;
|
|
@@ -45196,9 +44681,7 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
45196
44681
|
var expression = expressionOrFunc;
|
|
45197
44682
|
return this.evaluateExpression(expression, params);
|
|
45198
44683
|
}
|
|
45199
|
-
else
|
|
45200
|
-
console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
|
|
45201
|
-
}
|
|
44684
|
+
else ;
|
|
45202
44685
|
};
|
|
45203
44686
|
ExpressionService.prototype.evaluateExpression = function (expression, params) {
|
|
45204
44687
|
try {
|
|
@@ -45212,13 +44695,9 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
45212
44695
|
// the expression failed, which can happen, as it's the client that
|
|
45213
44696
|
// provides the expression. so print a nice message
|
|
45214
44697
|
// tslint:disable-next-line
|
|
45215
|
-
console.log('Processing of the expression failed');
|
|
45216
44698
|
// tslint:disable-next-line
|
|
45217
|
-
console.log('Expression = ' + expression);
|
|
45218
44699
|
// tslint:disable-next-line
|
|
45219
|
-
console.log('Params =', params);
|
|
45220
44700
|
// tslint:disable-next-line
|
|
45221
|
-
console.log('Exception = ' + e);
|
|
45222
44701
|
return null;
|
|
45223
44702
|
}
|
|
45224
44703
|
};
|
|
@@ -45316,7 +44795,6 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
45316
44795
|
};
|
|
45317
44796
|
TemplateService.prototype.handleHttpResult = function (httpResult, url) {
|
|
45318
44797
|
if (httpResult.status !== 200 || httpResult.response === null) {
|
|
45319
|
-
console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
|
|
45320
44798
|
return;
|
|
45321
44799
|
}
|
|
45322
44800
|
// response success, so process it
|
|
@@ -45397,10 +44875,7 @@ var Logger = /** @class */ (function () {
|
|
|
45397
44875
|
return this.isLoggingFunc();
|
|
45398
44876
|
};
|
|
45399
44877
|
Logger.prototype.log = function (message) {
|
|
45400
|
-
if (this.isLoggingFunc())
|
|
45401
|
-
// tslint:disable-next-line
|
|
45402
|
-
console.log('AG Grid.' + this.name + ': ' + message);
|
|
45403
|
-
}
|
|
44878
|
+
if (this.isLoggingFunc()) ;
|
|
45404
44879
|
};
|
|
45405
44880
|
return Logger;
|
|
45406
44881
|
}());
|
|
@@ -45800,7 +45275,6 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45800
45275
|
sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
|
|
45801
45276
|
}
|
|
45802
45277
|
if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
|
|
45803
|
-
console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
|
|
45804
45278
|
return null;
|
|
45805
45279
|
}
|
|
45806
45280
|
var currentIndex = sortingOrder.indexOf(column.getSort());
|
|
@@ -45815,7 +45289,6 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45815
45289
|
}
|
|
45816
45290
|
// verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
|
|
45817
45291
|
if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
|
|
45818
|
-
console.warn('AG Grid: invalid sort type ' + result);
|
|
45819
45292
|
return null;
|
|
45820
45293
|
}
|
|
45821
45294
|
return result;
|
|
@@ -46144,7 +45617,6 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
46144
45617
|
var doingTreeData = this.gridOptionsWrapper.isTreeData();
|
|
46145
45618
|
var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
|
|
46146
45619
|
if (doingTreeData && doingMultiAutoColumn) {
|
|
46147
|
-
console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
|
|
46148
45620
|
doingMultiAutoColumn = false;
|
|
46149
45621
|
}
|
|
46150
45622
|
// if doing groupMultiAutoColumn, then we call the method multiple times, once
|
|
@@ -46828,8 +46300,8 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46828
46300
|
var theme = themeMatch[0];
|
|
46829
46301
|
var usingOldTheme = themeMatch[2] === undefined;
|
|
46830
46302
|
if (usingOldTheme) {
|
|
46831
|
-
|
|
46832
|
-
doOnce(function () { return
|
|
46303
|
+
theme.replace('ag-', 'ag-theme-');
|
|
46304
|
+
doOnce(function () { return (void 0); }, 'using-old-theme');
|
|
46833
46305
|
}
|
|
46834
46306
|
return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
|
|
46835
46307
|
};
|
|
@@ -48335,7 +47807,6 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
48335
47807
|
var rowClass = this.gridOptionsWrapper.getRowClass();
|
|
48336
47808
|
if (rowClass) {
|
|
48337
47809
|
if (typeof rowClass === 'function') {
|
|
48338
|
-
console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
|
|
48339
47810
|
return [];
|
|
48340
47811
|
}
|
|
48341
47812
|
process(rowClass);
|
|
@@ -49176,7 +48647,6 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
|
|
|
49176
48647
|
var Grid = /** @class */ (function () {
|
|
49177
48648
|
function Grid(eGridDiv, gridOptions, params) {
|
|
49178
48649
|
if (!gridOptions) {
|
|
49179
|
-
console.error('AG Grid: no gridOptions provided to the grid');
|
|
49180
48650
|
return;
|
|
49181
48651
|
}
|
|
49182
48652
|
this.gridOptions = gridOptions;
|
|
@@ -49382,32 +48852,7 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
49382
48852
|
if (exists(rowModelClass)) {
|
|
49383
48853
|
return rowModelClass;
|
|
49384
48854
|
}
|
|
49385
|
-
if (ModuleRegistry.isPackageBased())
|
|
49386
|
-
if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
|
|
49387
|
-
// If package based only the enterprise row models could be missing.
|
|
49388
|
-
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/");
|
|
49389
|
-
}
|
|
49390
|
-
else {
|
|
49391
|
-
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49392
|
-
}
|
|
49393
|
-
}
|
|
49394
|
-
else {
|
|
49395
|
-
if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
|
|
49396
|
-
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/");
|
|
49397
|
-
}
|
|
49398
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
|
|
49399
|
-
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/");
|
|
49400
|
-
}
|
|
49401
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
|
|
49402
|
-
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/");
|
|
49403
|
-
}
|
|
49404
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
49405
|
-
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/");
|
|
49406
|
-
}
|
|
49407
|
-
else {
|
|
49408
|
-
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49409
|
-
}
|
|
49410
|
-
}
|
|
48855
|
+
if (ModuleRegistry.isPackageBased()) ;
|
|
49411
48856
|
};
|
|
49412
48857
|
return GridCoreCreator;
|
|
49413
48858
|
}());
|
|
@@ -49669,51 +49114,15 @@ var LicenseManager = /** @class */ (function (_super) {
|
|
|
49669
49114
|
}
|
|
49670
49115
|
};
|
|
49671
49116
|
LicenseManager.prototype.outputInvalidLicenseKey = function () {
|
|
49672
|
-
console.error('*****************************************************************************************************************');
|
|
49673
|
-
console.error('***************************************** AG Grid Enterprise License ********************************************');
|
|
49674
|
-
console.error('********************************************* Invalid License ***************************************************');
|
|
49675
|
-
console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
|
|
49676
|
-
console.error('*****************************************************************************************************************');
|
|
49677
|
-
console.error('*****************************************************************************************************************');
|
|
49678
49117
|
this.watermarkMessage = "Invalid License";
|
|
49679
49118
|
};
|
|
49680
49119
|
LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
|
|
49681
|
-
console.error('****************************************************************************************************************');
|
|
49682
|
-
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49683
|
-
console.error('***************************************** Trial Period Expired. *******************************************');
|
|
49684
|
-
console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
|
|
49685
|
-
console.error('* Please email info@ag-grid.com to purchase a license. *');
|
|
49686
|
-
console.error('****************************************************************************************************************');
|
|
49687
|
-
console.error('****************************************************************************************************************');
|
|
49688
49120
|
this.watermarkMessage = "Trial Period Expired";
|
|
49689
49121
|
};
|
|
49690
49122
|
LicenseManager.prototype.outputMissingLicenseKey = function () {
|
|
49691
|
-
console.error('****************************************************************************************************************');
|
|
49692
|
-
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49693
|
-
console.error('****************************************** License Key Not Found ***********************************************');
|
|
49694
|
-
console.error('* All AG Grid Enterprise features are unlocked. *');
|
|
49695
|
-
console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
|
|
49696
|
-
console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
|
|
49697
|
-
console.error('****************************************************************************************************************');
|
|
49698
|
-
console.error('****************************************************************************************************************');
|
|
49699
49123
|
this.watermarkMessage = "For Trial Use Only";
|
|
49700
49124
|
};
|
|
49701
49125
|
LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
|
|
49702
|
-
console.error('****************************************************************************************************************************');
|
|
49703
|
-
console.error('****************************************************************************************************************************');
|
|
49704
|
-
console.error('* AG Grid Enterprise License *');
|
|
49705
|
-
console.error('* License not compatible with installed version of AG Grid Enterprise. *');
|
|
49706
|
-
console.error('* *');
|
|
49707
|
-
console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
|
|
49708
|
-
console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
|
|
49709
|
-
console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
|
|
49710
|
-
console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
|
|
49711
|
-
console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
|
|
49712
|
-
console.error('* *');
|
|
49713
|
-
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 *');
|
|
49714
|
-
console.error('* version of AG Grid. *');
|
|
49715
|
-
console.error('****************************************************************************************************************************');
|
|
49716
|
-
console.error('****************************************************************************************************************************');
|
|
49717
49126
|
this.watermarkMessage = "License Expired";
|
|
49718
49127
|
};
|
|
49719
49128
|
var LicenseManager_1;
|
|
@@ -52086,12 +51495,10 @@ var RangeService = /** @class */ (function (_super) {
|
|
|
52086
51495
|
var isSameColumn = columnFrom === columnTo;
|
|
52087
51496
|
var fromIndex = allColumns.indexOf(columnFrom);
|
|
52088
51497
|
if (fromIndex < 0) {
|
|
52089
|
-
console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
|
|
52090
51498
|
return;
|
|
52091
51499
|
}
|
|
52092
51500
|
var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
|
|
52093
51501
|
if (toIndex < 0) {
|
|
52094
|
-
console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
|
|
52095
51502
|
return;
|
|
52096
51503
|
}
|
|
52097
51504
|
if (isSameColumn) {
|
|
@@ -53026,12 +52433,10 @@ var ServerSideRowModel = /** @class */ (function (_super) {
|
|
|
53026
52433
|
};
|
|
53027
52434
|
ServerSideRowModel.prototype.verifyProps = function () {
|
|
53028
52435
|
if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
|
|
53029
|
-
|
|
53030
|
-
_.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
|
|
52436
|
+
_.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
|
|
53031
52437
|
}
|
|
53032
52438
|
if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
|
|
53033
|
-
|
|
53034
|
-
_.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
52439
|
+
_.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
53035
52440
|
}
|
|
53036
52441
|
};
|
|
53037
52442
|
ServerSideRowModel.prototype.setDatasource = function (datasource) {
|
|
@@ -53581,11 +52986,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53581
52986
|
rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
|
|
53582
52987
|
if (rowNode.key === null || rowNode.key === undefined) {
|
|
53583
52988
|
_.doOnce(function () {
|
|
53584
|
-
console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
|
|
53585
|
-
if (rowNode.rowGroupColumn) {
|
|
53586
|
-
console.warn("column = " + rowNode.rowGroupColumn.getId());
|
|
53587
|
-
}
|
|
53588
|
-
console.warn("data is ", rowNode.data);
|
|
53589
52989
|
}, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
|
|
53590
52990
|
}
|
|
53591
52991
|
};
|
|
@@ -53702,7 +53102,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53702
53102
|
var bottomPointer = 0;
|
|
53703
53103
|
var topPointer = rowNodes.length - 1;
|
|
53704
53104
|
if (_.missing(topPointer) || _.missing(bottomPointer)) {
|
|
53705
|
-
console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
|
|
53706
53105
|
return undefined;
|
|
53707
53106
|
}
|
|
53708
53107
|
while (true) {
|
|
@@ -53731,7 +53130,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53731
53130
|
topPointer = midPointer - 1;
|
|
53732
53131
|
}
|
|
53733
53132
|
else {
|
|
53734
|
-
console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
|
|
53735
53133
|
return undefined;
|
|
53736
53134
|
}
|
|
53737
53135
|
}
|
|
@@ -53847,11 +53245,6 @@ var NodeManager = /** @class */ (function () {
|
|
|
53847
53245
|
}
|
|
53848
53246
|
NodeManager.prototype.addRowNode = function (rowNode) {
|
|
53849
53247
|
var id = rowNode.id;
|
|
53850
|
-
if (this.rowNodes[id]) {
|
|
53851
|
-
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.");
|
|
53852
|
-
console.warn('first instance', this.rowNodes[id].data);
|
|
53853
|
-
console.warn('second instance', rowNode.data);
|
|
53854
|
-
}
|
|
53855
53248
|
this.rowNodes[id] = rowNode;
|
|
53856
53249
|
};
|
|
53857
53250
|
NodeManager.prototype.removeNode = function (rowNode) {
|
|
@@ -54783,8 +54176,7 @@ var InfiniteStore = /** @class */ (function (_super) {
|
|
|
54783
54176
|
Object.assign(this.info, info);
|
|
54784
54177
|
}
|
|
54785
54178
|
if (!params.rowData) {
|
|
54786
|
-
|
|
54787
|
-
_.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
|
|
54179
|
+
_.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
|
|
54788
54180
|
}
|
|
54789
54181
|
var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
|
|
54790
54182
|
// if we are not active, then we ignore all events, otherwise we could end up getting the
|
|
@@ -55543,8 +54935,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55543
54935
|
this.nodesAfterFilter = [];
|
|
55544
54936
|
this.allNodesMap = {};
|
|
55545
54937
|
if (!params.rowData) {
|
|
55546
|
-
|
|
55547
|
-
_.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
|
|
54938
|
+
_.doOnce(function () { return (void 0); }, 'FullStore.noData');
|
|
55548
54939
|
}
|
|
55549
54940
|
this.createOrRecycleNodes(nodesToRecycle, params.rowData);
|
|
55550
54941
|
if (nodesToRecycle) {
|
|
@@ -55919,7 +55310,6 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55919
55310
|
});
|
|
55920
55311
|
rowNode = this.allNodesMap[id];
|
|
55921
55312
|
if (!rowNode) {
|
|
55922
|
-
console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
|
|
55923
55313
|
return null;
|
|
55924
55314
|
}
|
|
55925
55315
|
}
|
|
@@ -55927,7 +55317,6 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55927
55317
|
// find rowNode using object references
|
|
55928
55318
|
rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
|
|
55929
55319
|
if (!rowNode) {
|
|
55930
|
-
console.error("AG Grid: could not find data item as object was not found", data);
|
|
55931
55320
|
return null;
|
|
55932
55321
|
}
|
|
55933
55322
|
}
|
|
@@ -56075,15 +55464,11 @@ var StoreFactory = /** @class */ (function () {
|
|
|
56075
55464
|
return undefined;
|
|
56076
55465
|
}
|
|
56077
55466
|
if (ssrmParams.dynamicRowHeight) {
|
|
56078
|
-
|
|
56079
|
-
'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56080
|
-
_.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
55467
|
+
_.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
56081
55468
|
return undefined;
|
|
56082
55469
|
}
|
|
56083
55470
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
56084
|
-
|
|
56085
|
-
'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56086
|
-
_.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
55471
|
+
_.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
56087
55472
|
return undefined;
|
|
56088
55473
|
}
|
|
56089
55474
|
return maxBlocksInCache;
|
|
@@ -56311,7 +55696,6 @@ var Downloader = /** @class */ (function () {
|
|
|
56311
55696
|
Downloader.download = function (fileName, content) {
|
|
56312
55697
|
var win = document.defaultView || window;
|
|
56313
55698
|
if (!win) {
|
|
56314
|
-
console.warn('AG Grid: There is no `window` associated with the current `document`');
|
|
56315
55699
|
return;
|
|
56316
55700
|
}
|
|
56317
55701
|
var element = document.createElement('a');
|
|
@@ -56445,7 +55829,6 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
56445
55829
|
stringValue = value.toString();
|
|
56446
55830
|
}
|
|
56447
55831
|
else {
|
|
56448
|
-
console.warn('AG Grid: unknown value type during csv conversion');
|
|
56449
55832
|
stringValue = '';
|
|
56450
55833
|
}
|
|
56451
55834
|
// replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
|
|
@@ -56500,7 +55883,6 @@ var CsvCreator = /** @class */ (function (_super) {
|
|
|
56500
55883
|
};
|
|
56501
55884
|
CsvCreator.prototype.export = function (userParams) {
|
|
56502
55885
|
if (this.isExportSuppressed()) {
|
|
56503
|
-
console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
|
|
56504
55886
|
return '';
|
|
56505
55887
|
}
|
|
56506
55888
|
var mergedParams = this.getMergedParams(userParams);
|
|
@@ -56620,7 +56002,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56620
56002
|
var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
|
|
56621
56003
|
var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
|
|
56622
56004
|
if (skipRowGroups && params.skipGroups) {
|
|
56623
|
-
_.doOnce(function () { return
|
|
56005
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
|
|
56624
56006
|
}
|
|
56625
56007
|
if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
|
|
56626
56008
|
(params.onlySelected && !node.isSelected()) ||
|
|
@@ -56654,7 +56036,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56654
56036
|
var appendContent = params.customFooter || params.appendContent;
|
|
56655
56037
|
if (appendContent) {
|
|
56656
56038
|
if (params.customFooter) {
|
|
56657
|
-
_.doOnce(function () { return
|
|
56039
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
|
|
56658
56040
|
}
|
|
56659
56041
|
gridSerializingSession.addCustomContent(appendContent);
|
|
56660
56042
|
}
|
|
@@ -56666,7 +56048,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56666
56048
|
var prependContent = params.customHeader || params.prependContent;
|
|
56667
56049
|
if (prependContent) {
|
|
56668
56050
|
if (params.customHeader) {
|
|
56669
|
-
_.doOnce(function () { return
|
|
56051
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
|
|
56670
56052
|
}
|
|
56671
56053
|
gridSerializingSession.addCustomContent(prependContent);
|
|
56672
56054
|
}
|
|
@@ -56688,7 +56070,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56688
56070
|
_this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
|
|
56689
56071
|
}
|
|
56690
56072
|
else if (params.columnGroups) {
|
|
56691
|
-
_.doOnce(function () { return
|
|
56073
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
|
|
56692
56074
|
}
|
|
56693
56075
|
return gridSerializingSession;
|
|
56694
56076
|
};
|
|
@@ -56702,7 +56084,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56702
56084
|
});
|
|
56703
56085
|
}
|
|
56704
56086
|
else if (params.skipHeader) {
|
|
56705
|
-
_.doOnce(function () { return
|
|
56087
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
|
|
56706
56088
|
}
|
|
56707
56089
|
return gridSerializingSession;
|
|
56708
56090
|
};
|
|
@@ -56950,12 +56332,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56950
56332
|
.then(this.processClipboardData.bind(this))
|
|
56951
56333
|
.catch(function (e) {
|
|
56952
56334
|
_.doOnce(function () {
|
|
56953
|
-
console.warn(e);
|
|
56954
|
-
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
|
|
56955
|
-
'The reason why it could not be used has been logged in the previous line. ' +
|
|
56956
|
-
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
56957
|
-
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
56958
|
-
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
|
|
56959
56335
|
}, 'clipboardApiError');
|
|
56960
56336
|
_this.navigatorApiFailed = true;
|
|
56961
56337
|
_this.pasteFromClipboardLegacy();
|
|
@@ -57482,12 +56858,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57482
56858
|
if (allowNavigator && navigator.clipboard) {
|
|
57483
56859
|
navigator.clipboard.writeText(data).catch(function (e) {
|
|
57484
56860
|
_.doOnce(function () {
|
|
57485
|
-
console.warn(e);
|
|
57486
|
-
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
|
|
57487
|
-
'The reason why it could not be used has been logged in the previous line. ' +
|
|
57488
|
-
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
57489
|
-
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
57490
|
-
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
|
|
57491
56861
|
}, 'clipboardApiError');
|
|
57492
56862
|
_this.copyDataToClipboardLegacy(data);
|
|
57493
56863
|
});
|
|
@@ -57504,12 +56874,7 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57504
56874
|
element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
|
|
57505
56875
|
element.select();
|
|
57506
56876
|
element.focus({ preventScroll: true });
|
|
57507
|
-
|
|
57508
|
-
if (!result) {
|
|
57509
|
-
console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
|
|
57510
|
-
'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
|
|
57511
|
-
'the browser will prevent it for security reasons.');
|
|
57512
|
-
}
|
|
56877
|
+
eDocument.execCommand('copy');
|
|
57513
56878
|
if (focusedElementBefore != null && focusedElementBefore.focus != null) {
|
|
57514
56879
|
focusedElementBefore.focus({ preventScroll: true });
|
|
57515
56880
|
}
|
|
@@ -57533,7 +56898,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57533
56898
|
callbackNow(eTempInput);
|
|
57534
56899
|
}
|
|
57535
56900
|
catch (err) {
|
|
57536
|
-
console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
|
|
57537
56901
|
}
|
|
57538
56902
|
//It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
|
|
57539
56903
|
if (callbackAfter) {
|
|
@@ -58806,7 +58170,6 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
|
|
|
58806
58170
|
return false;
|
|
58807
58171
|
};
|
|
58808
58172
|
ToolPanelColumnComp.prototype.setExpanded = function (value) {
|
|
58809
|
-
console.warn('AG Grid: can not expand a column item that does not represent a column group header');
|
|
58810
58173
|
};
|
|
58811
58174
|
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>";
|
|
58812
58175
|
__decorate$q([
|
|
@@ -59101,10 +58464,7 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
|
|
|
59101
58464
|
expandedGroupIds.push(groupId);
|
|
59102
58465
|
}
|
|
59103
58466
|
});
|
|
59104
|
-
|
|
59105
|
-
if (unrecognisedGroupIds.length > 0) {
|
|
59106
|
-
console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
|
|
59107
|
-
}
|
|
58467
|
+
groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59108
58468
|
};
|
|
59109
58469
|
PrimaryColsListPanel.prototype.getExpandState = function () {
|
|
59110
58470
|
var expandedCount = 0;
|
|
@@ -59498,7 +58858,6 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
59498
58858
|
this.aggFuncService.getAggFunc(aggFuncOrString) :
|
|
59499
58859
|
aggFuncOrString;
|
|
59500
58860
|
if (typeof aggFunc !== 'function') {
|
|
59501
|
-
console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
|
|
59502
58861
|
return null;
|
|
59503
58862
|
}
|
|
59504
58863
|
var aggFuncAny = aggFunc;
|
|
@@ -60025,9 +59384,6 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
60025
59384
|
GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
|
|
60026
59385
|
var path = this.getGroupInfo(childNode, details);
|
|
60027
59386
|
var parentGroup = this.findParentForNode(childNode, path, details);
|
|
60028
|
-
if (!parentGroup.group) {
|
|
60029
|
-
console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
|
|
60030
|
-
}
|
|
60031
59387
|
if (this.usingTreeData) {
|
|
60032
59388
|
this.swapGroupWithUserNode(parentGroup, childNode, isMove);
|
|
60033
59389
|
}
|
|
@@ -60165,7 +59521,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
60165
59521
|
GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
|
|
60166
59522
|
var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
60167
59523
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
60168
|
-
_.doOnce(function () { return
|
|
59524
|
+
_.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
|
|
60169
59525
|
}
|
|
60170
59526
|
var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
|
|
60171
59527
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -62890,7 +62246,6 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
|
|
|
62890
62246
|
var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
|
|
62891
62247
|
var componentPromise = compDetails.newAgStackInstance();
|
|
62892
62248
|
if (componentPromise == null) {
|
|
62893
|
-
console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
|
|
62894
62249
|
return;
|
|
62895
62250
|
}
|
|
62896
62251
|
componentPromise.then(this.setToolPanelComponent.bind(this));
|
|
@@ -63085,7 +62440,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63085
62440
|
var _this = this;
|
|
63086
62441
|
defs.forEach(function (def) {
|
|
63087
62442
|
if (def.id == null) {
|
|
63088
|
-
console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
|
|
63089
62443
|
return;
|
|
63090
62444
|
}
|
|
63091
62445
|
// helpers, in case user doesn't have the right module loaded
|
|
@@ -63131,7 +62485,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63131
62485
|
SideBarComp.prototype.getToolPanelInstance = function (key) {
|
|
63132
62486
|
var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
|
|
63133
62487
|
if (!toolPanelWrapper) {
|
|
63134
|
-
console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
|
|
63135
62488
|
return;
|
|
63136
62489
|
}
|
|
63137
62490
|
return toolPanelWrapper.getToolPanelInstance();
|
|
@@ -63217,7 +62570,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63217
62570
|
}
|
|
63218
62571
|
ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
|
|
63219
62572
|
var _this = this;
|
|
63220
|
-
var invalidColIds = [];
|
|
63221
62573
|
var createDummyColGroup = function (abstractColDef, depth) {
|
|
63222
62574
|
if (_this.isColGroupDef(abstractColDef)) {
|
|
63223
62575
|
// creating 'dummy' group which is not associated with grid column group
|
|
@@ -63239,9 +62591,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63239
62591
|
var colDef = abstractColDef;
|
|
63240
62592
|
var key = colDef.colId ? colDef.colId : colDef.field;
|
|
63241
62593
|
var column = _this.columnModel.getPrimaryColumn(key);
|
|
63242
|
-
if (!column) {
|
|
63243
|
-
invalidColIds.push(colDef);
|
|
63244
|
-
}
|
|
63245
62594
|
return column;
|
|
63246
62595
|
}
|
|
63247
62596
|
};
|
|
@@ -63253,9 +62602,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63253
62602
|
mappedResults.push(result);
|
|
63254
62603
|
}
|
|
63255
62604
|
});
|
|
63256
|
-
if (invalidColIds.length > 0) {
|
|
63257
|
-
console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
|
|
63258
|
-
}
|
|
63259
62605
|
return mappedResults;
|
|
63260
62606
|
};
|
|
63261
62607
|
ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
|
|
@@ -63810,15 +63156,10 @@ var EnterpriseMenu = /** @class */ (function (_super) {
|
|
|
63810
63156
|
};
|
|
63811
63157
|
EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
|
|
63812
63158
|
var isValid = true;
|
|
63813
|
-
var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
|
|
63814
63159
|
if (this.restrictTo != null) {
|
|
63815
63160
|
isValid = this.restrictTo.indexOf(menuTabName) > -1;
|
|
63816
|
-
itemsToConsider = this.restrictTo;
|
|
63817
63161
|
}
|
|
63818
63162
|
isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
|
|
63819
|
-
if (!isValid) {
|
|
63820
|
-
console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
|
|
63821
|
-
}
|
|
63822
63163
|
return isValid;
|
|
63823
63164
|
};
|
|
63824
63165
|
EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
|
|
@@ -64529,7 +63870,6 @@ var MenuItemMapper = /** @class */ (function (_super) {
|
|
|
64529
63870
|
return chartMenuItem;
|
|
64530
63871
|
}
|
|
64531
63872
|
else {
|
|
64532
|
-
console.warn("AG Grid: unknown menu item type " + key);
|
|
64533
63873
|
return null;
|
|
64534
63874
|
}
|
|
64535
63875
|
}
|