@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
|
@@ -11,7 +11,7 @@ import { S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, a as SEARCH_FIELD_F
|
|
|
11
11
|
import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
|
|
12
12
|
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder } from './DataBinder-81d15b1b.js';
|
|
13
13
|
import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
|
|
14
|
-
import { p as purify } from './purify-
|
|
14
|
+
import { p as purify } from './purify-96c0d5c2.js';
|
|
15
15
|
import './_commonjsHelpers-9943807e.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -437,7 +437,6 @@ function removeAllReferences(obj, objectName) {
|
|
|
437
437
|
// leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
|
|
438
438
|
if (typeof value === 'function') {
|
|
439
439
|
var func = function () {
|
|
440
|
-
console.warn("AG Grid: " + objectName + " function " + key + "() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.");
|
|
441
440
|
};
|
|
442
441
|
properties[key] = { value: func, writable: true };
|
|
443
442
|
}
|
|
@@ -608,9 +607,6 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
|
|
|
608
607
|
window.clearInterval(interval);
|
|
609
608
|
interval = null;
|
|
610
609
|
}
|
|
611
|
-
if (reachedTimeout && timeoutMessage) {
|
|
612
|
-
console.warn(timeoutMessage);
|
|
613
|
-
}
|
|
614
610
|
}
|
|
615
611
|
};
|
|
616
612
|
internalCallback();
|
|
@@ -712,14 +708,9 @@ var Context = /** @class */ (function () {
|
|
|
712
708
|
Context.prototype.createBeanWrapper = function (BeanClass) {
|
|
713
709
|
var metaData = BeanClass.__agBeanMetaData;
|
|
714
710
|
if (!metaData) {
|
|
715
|
-
var beanName = void 0;
|
|
716
711
|
if (BeanClass.prototype.constructor) {
|
|
717
|
-
|
|
718
|
-
}
|
|
719
|
-
else {
|
|
720
|
-
beanName = "" + BeanClass;
|
|
712
|
+
getFunctionName(BeanClass.prototype.constructor);
|
|
721
713
|
}
|
|
722
|
-
console.error("Context item " + beanName + " is not a bean");
|
|
723
714
|
return;
|
|
724
715
|
}
|
|
725
716
|
var beanEntry = {
|
|
@@ -791,7 +782,6 @@ var Context = /** @class */ (function () {
|
|
|
791
782
|
return beansList;
|
|
792
783
|
};
|
|
793
784
|
Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
|
|
794
|
-
if (optional === void 0) { optional = false; }
|
|
795
785
|
if (beanName === "context") {
|
|
796
786
|
return this;
|
|
797
787
|
}
|
|
@@ -802,9 +792,6 @@ var Context = /** @class */ (function () {
|
|
|
802
792
|
if (beanEntry) {
|
|
803
793
|
return beanEntry.beanInstance;
|
|
804
794
|
}
|
|
805
|
-
if (!optional) {
|
|
806
|
-
console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
|
|
807
|
-
}
|
|
808
795
|
return null;
|
|
809
796
|
};
|
|
810
797
|
Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
|
|
@@ -911,11 +898,9 @@ function Optional(name) {
|
|
|
911
898
|
}
|
|
912
899
|
function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
|
|
913
900
|
if (name === null) {
|
|
914
|
-
console.error("AG Grid: Autowired name should not be null");
|
|
915
901
|
return;
|
|
916
902
|
}
|
|
917
903
|
if (typeof index === "number") {
|
|
918
|
-
console.error("AG Grid: Autowired should be on an attribute");
|
|
919
904
|
return;
|
|
920
905
|
}
|
|
921
906
|
// it's an attribute on the class
|
|
@@ -1247,8 +1232,6 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1247
1232
|
else {
|
|
1248
1233
|
if (ModuleRegistry.moduleBased !== moduleBased) {
|
|
1249
1234
|
doOnce(function () {
|
|
1250
|
-
console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms.");
|
|
1251
|
-
console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
|
|
1252
1235
|
}, 'ModulePackageCheck');
|
|
1253
1236
|
}
|
|
1254
1237
|
}
|
|
@@ -1266,15 +1249,7 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1266
1249
|
return true;
|
|
1267
1250
|
}
|
|
1268
1251
|
var warningKey = reason + moduleName;
|
|
1269
|
-
var warningMessage;
|
|
1270
|
-
if (ModuleRegistry.moduleBased) {
|
|
1271
|
-
warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
|
|
1272
|
-
}
|
|
1273
|
-
else {
|
|
1274
|
-
warningMessage = "AG Grid: unable to use " + reason + " as package 'ag-grid-enterprise' is not present. Please see: https://www.ag-grid.com/javascript-grid/packages/";
|
|
1275
|
-
}
|
|
1276
1252
|
doOnce(function () {
|
|
1277
|
-
console.warn(warningMessage);
|
|
1278
1253
|
}, warningKey);
|
|
1279
1254
|
return false;
|
|
1280
1255
|
};
|
|
@@ -1467,11 +1442,9 @@ var Column = /** @class */ (function () {
|
|
|
1467
1442
|
var colDefAny = this.colDef;
|
|
1468
1443
|
function warnOnce(msg, key, obj) {
|
|
1469
1444
|
doOnce(function () {
|
|
1470
|
-
if (obj)
|
|
1471
|
-
console.warn(msg, obj);
|
|
1472
|
-
}
|
|
1445
|
+
if (obj) ;
|
|
1473
1446
|
else {
|
|
1474
|
-
doOnce(function () { return
|
|
1447
|
+
doOnce(function () { return (void 0); }, key);
|
|
1475
1448
|
}
|
|
1476
1449
|
}, key);
|
|
1477
1450
|
}
|
|
@@ -1939,19 +1912,16 @@ var Column = /** @class */ (function () {
|
|
|
1939
1912
|
// this used to be needed, as previous version of ag-grid had lockPosition as column state,
|
|
1940
1913
|
// so couldn't depend on colDef version.
|
|
1941
1914
|
Column.prototype.isLockPosition = function () {
|
|
1942
|
-
console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
|
|
1943
1915
|
return this.colDef ? !!this.colDef.lockPosition : false;
|
|
1944
1916
|
};
|
|
1945
1917
|
// this used to be needed, as previous version of ag-grid had lockVisible as column state,
|
|
1946
1918
|
// so couldn't depend on colDef version.
|
|
1947
1919
|
Column.prototype.isLockVisible = function () {
|
|
1948
|
-
console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
|
|
1949
1920
|
return this.colDef ? !!this.colDef.lockVisible : false;
|
|
1950
1921
|
};
|
|
1951
1922
|
// this used to be needed, as previous version of ag-grid had lockPinned as column state,
|
|
1952
1923
|
// so couldn't depend on colDef version.
|
|
1953
1924
|
Column.prototype.isLockPinned = function () {
|
|
1954
|
-
console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
|
|
1955
1925
|
return this.colDef ? !!this.colDef.lockPinned : false;
|
|
1956
1926
|
};
|
|
1957
1927
|
// + renderedHeaderCell - for making header cell transparent when moving
|
|
@@ -2347,7 +2317,6 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2347
2317
|
};
|
|
2348
2318
|
/** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
|
|
2349
2319
|
ColumnGroup.prototype.getOriginalColumnGroup = function () {
|
|
2350
|
-
console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
|
|
2351
2320
|
return this.getProvidedColumnGroup();
|
|
2352
2321
|
};
|
|
2353
2322
|
ColumnGroup.prototype.getPaddingLevel = function () {
|
|
@@ -3223,9 +3192,7 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3223
3192
|
var typeKeys = [];
|
|
3224
3193
|
if (type instanceof Array) {
|
|
3225
3194
|
var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
|
|
3226
|
-
if (invalidArray)
|
|
3227
|
-
console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
|
|
3228
|
-
}
|
|
3195
|
+
if (invalidArray) ;
|
|
3229
3196
|
else {
|
|
3230
3197
|
typeKeys = type;
|
|
3231
3198
|
}
|
|
@@ -3234,16 +3201,13 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3234
3201
|
typeKeys = type.split(',');
|
|
3235
3202
|
}
|
|
3236
3203
|
else {
|
|
3237
|
-
console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
|
|
3238
3204
|
return;
|
|
3239
3205
|
}
|
|
3240
3206
|
// merge user defined with default column types
|
|
3241
3207
|
var allColumnTypes = Object.assign({}, DefaultColumnTypes);
|
|
3242
3208
|
var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
|
|
3243
3209
|
iterateObject(userTypes, function (key, value) {
|
|
3244
|
-
if (key in allColumnTypes)
|
|
3245
|
-
console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
|
|
3246
|
-
}
|
|
3210
|
+
if (key in allColumnTypes) ;
|
|
3247
3211
|
else {
|
|
3248
3212
|
allColumnTypes[key] = value;
|
|
3249
3213
|
}
|
|
@@ -3253,34 +3217,12 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3253
3217
|
if (typeColDef) {
|
|
3254
3218
|
mergeDeep(colDefMerged, typeColDef, false, true);
|
|
3255
3219
|
}
|
|
3256
|
-
else {
|
|
3257
|
-
console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
|
|
3258
|
-
}
|
|
3259
3220
|
});
|
|
3260
3221
|
};
|
|
3261
3222
|
ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
|
|
3262
3223
|
if (colDef) {
|
|
3263
3224
|
var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
|
|
3264
|
-
if (colDefNoType.group !== undefined) {
|
|
3265
|
-
console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3266
|
-
}
|
|
3267
|
-
if (colDefNoType.headerGroup !== undefined) {
|
|
3268
|
-
console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3269
|
-
}
|
|
3270
|
-
if (colDefNoType.headerGroupShow !== undefined) {
|
|
3271
|
-
console.warn('AG Grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3');
|
|
3272
|
-
}
|
|
3273
|
-
if (colDefNoType.suppressRowGroup !== undefined) {
|
|
3274
|
-
console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
|
|
3275
|
-
}
|
|
3276
|
-
if (colDefNoType.suppressAggregation !== undefined) {
|
|
3277
|
-
console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
|
|
3278
|
-
}
|
|
3279
|
-
if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
|
|
3280
|
-
console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
|
|
3281
|
-
}
|
|
3282
3225
|
if (colDefNoType.displayName) {
|
|
3283
|
-
console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
|
|
3284
3226
|
colDefNoType.headerName = colDefNoType.displayName;
|
|
3285
3227
|
}
|
|
3286
3228
|
}
|
|
@@ -4342,7 +4284,6 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4342
4284
|
toParse.forEach(function (key) {
|
|
4343
4285
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
|
|
4344
4286
|
if (!lookupResult) {
|
|
4345
|
-
console.warn("AG Grid: the key " + key + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
|
|
4346
4287
|
return;
|
|
4347
4288
|
}
|
|
4348
4289
|
comps_1.push(lookupResult);
|
|
@@ -4373,7 +4314,6 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4373
4314
|
if (typeof it === 'string') {
|
|
4374
4315
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
|
|
4375
4316
|
if (!lookupResult) {
|
|
4376
|
-
console.warn("AG Grid: the key " + it + " is not a valid key for specifying a tool panel, valid keys are: " + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));
|
|
4377
4317
|
return;
|
|
4378
4318
|
}
|
|
4379
4319
|
toAdd = lookupResult;
|
|
@@ -4970,7 +4910,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4970
4910
|
this.destroyed = true;
|
|
4971
4911
|
};
|
|
4972
4912
|
GridOptionsWrapper.prototype.init = function () {
|
|
4973
|
-
var _this = this;
|
|
4974
4913
|
if (this.gridOptions.suppressPropertyNamesCheck !== true) {
|
|
4975
4914
|
this.checkGridOptionsProperties();
|
|
4976
4915
|
this.checkColumnDefProperties();
|
|
@@ -4981,61 +4920,26 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4981
4920
|
}
|
|
4982
4921
|
var async = this.useAsyncEvents();
|
|
4983
4922
|
this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
|
|
4984
|
-
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes())
|
|
4985
|
-
console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
|
|
4986
|
-
}
|
|
4923
|
+
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
|
|
4987
4924
|
if (this.isGroupSelectsChildren()) {
|
|
4988
|
-
if (!this.isRowSelectionMulti())
|
|
4989
|
-
|
|
4990
|
-
}
|
|
4991
|
-
if (this.isRowModelServerSide()) {
|
|
4992
|
-
console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
|
|
4993
|
-
'This is because the rows are lazy loaded, so selecting a group is not possible as' +
|
|
4994
|
-
'the grid has no way of knowing what the children are.');
|
|
4995
|
-
}
|
|
4996
|
-
}
|
|
4997
|
-
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
|
|
4998
|
-
console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!");
|
|
4925
|
+
if (!this.isRowSelectionMulti()) ;
|
|
4926
|
+
if (this.isRowModelServerSide()) ;
|
|
4999
4927
|
}
|
|
4928
|
+
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
|
|
5000
4929
|
if (this.isRowModelServerSide()) {
|
|
5001
|
-
|
|
5002
|
-
if (exists(this.gridOptions.groupDefaultExpanded))
|
|
5003
|
-
|
|
5004
|
-
}
|
|
5005
|
-
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5006
|
-
console.warn(msg('groupIncludeFooter'));
|
|
5007
|
-
}
|
|
5008
|
-
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5009
|
-
console.warn(msg('groupIncludeTotalFooter'));
|
|
5010
|
-
}
|
|
4930
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
4931
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
4932
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
5011
4933
|
}
|
|
5012
4934
|
if (isTrue(this.gridOptions.enableRangeSelection)) {
|
|
5013
4935
|
ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
|
|
5014
4936
|
}
|
|
5015
|
-
else if (this.isEnableRangeHandle() || this.isEnableFillHandle())
|
|
5016
|
-
console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
|
|
5017
|
-
}
|
|
4937
|
+
else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
|
|
5018
4938
|
if (this.isGroupRowsSticky()) {
|
|
5019
|
-
if (this.isGroupHideOpenParents())
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
if (this.isMasterDetail()) {
|
|
5023
|
-
console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
|
|
5024
|
-
}
|
|
5025
|
-
if (this.isPagination()) {
|
|
5026
|
-
console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
|
|
5027
|
-
}
|
|
4939
|
+
if (this.isGroupHideOpenParents()) ;
|
|
4940
|
+
if (this.isMasterDetail()) ;
|
|
4941
|
+
if (this.isPagination()) ;
|
|
5028
4942
|
}
|
|
5029
|
-
var warnOfDeprecaredIcon = function (name) {
|
|
5030
|
-
if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
|
|
5031
|
-
console.warn("gridOptions.icons." + name + " is no longer supported. For information on how to style checkboxes and radio buttons, see https://www.ag-grid.com/javascript-grid-icons/");
|
|
5032
|
-
}
|
|
5033
|
-
};
|
|
5034
|
-
warnOfDeprecaredIcon('radioButtonOff');
|
|
5035
|
-
warnOfDeprecaredIcon('radioButtonOn');
|
|
5036
|
-
warnOfDeprecaredIcon('checkboxChecked');
|
|
5037
|
-
warnOfDeprecaredIcon('checkboxUnchecked');
|
|
5038
|
-
warnOfDeprecaredIcon('checkboxIndeterminate');
|
|
5039
4943
|
// sets an initial calculation for the scrollbar width
|
|
5040
4944
|
this.getScrollbarWidth();
|
|
5041
4945
|
};
|
|
@@ -5059,11 +4963,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5059
4963
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
5060
4964
|
var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
|
|
5061
4965
|
iterateObject(invalidProperties, function (key, value) {
|
|
5062
|
-
console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
|
|
5063
4966
|
});
|
|
5064
|
-
if (Object.keys(invalidProperties).length > 0) {
|
|
5065
|
-
console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
|
|
5066
|
-
}
|
|
5067
4967
|
};
|
|
5068
4968
|
/**
|
|
5069
4969
|
* Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
|
|
@@ -5322,7 +5222,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5322
5222
|
];
|
|
5323
5223
|
if (validLayouts.indexOf(domLayout) === -1) {
|
|
5324
5224
|
doOnce(function () {
|
|
5325
|
-
return
|
|
5225
|
+
return (void 0);
|
|
5326
5226
|
}, 'warn about dom layout values');
|
|
5327
5227
|
return Constants.DOM_LAYOUT_NORMAL;
|
|
5328
5228
|
}
|
|
@@ -5717,7 +5617,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5717
5617
|
return 'xy';
|
|
5718
5618
|
}
|
|
5719
5619
|
if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
|
|
5720
|
-
doOnce(function () { return
|
|
5620
|
+
doOnce(function () { return (void 0); }, 'warn invalid fill direction');
|
|
5721
5621
|
return 'xy';
|
|
5722
5622
|
}
|
|
5723
5623
|
return direction;
|
|
@@ -5816,7 +5716,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5816
5716
|
};
|
|
5817
5717
|
GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
|
|
5818
5718
|
if (this.gridOptions.defaultExportParams) {
|
|
5819
|
-
console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
|
|
5820
5719
|
if (type === 'csv') {
|
|
5821
5720
|
return this.gridOptions.defaultExportParams;
|
|
5822
5721
|
}
|
|
@@ -5949,7 +5848,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5949
5848
|
GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
|
|
5950
5849
|
var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
|
|
5951
5850
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5952
|
-
doOnce(function () { return
|
|
5851
|
+
doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
|
|
5953
5852
|
return false;
|
|
5954
5853
|
}
|
|
5955
5854
|
return isEnabled;
|
|
@@ -5957,7 +5856,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5957
5856
|
GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
|
|
5958
5857
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
|
|
5959
5858
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5960
|
-
doOnce(function () { return
|
|
5859
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
|
|
5961
5860
|
return false;
|
|
5962
5861
|
}
|
|
5963
5862
|
return isEnabled;
|
|
@@ -5965,11 +5864,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5965
5864
|
GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
|
|
5966
5865
|
var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
|
|
5967
5866
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5968
|
-
doOnce(function () { return
|
|
5867
|
+
doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
|
|
5969
5868
|
return false;
|
|
5970
5869
|
}
|
|
5971
5870
|
if (this.isTreeData() && isEnabled) {
|
|
5972
|
-
doOnce(function () { return
|
|
5871
|
+
doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
|
|
5973
5872
|
return false;
|
|
5974
5873
|
}
|
|
5975
5874
|
return isEnabled;
|
|
@@ -5977,11 +5876,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5977
5876
|
GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
|
|
5978
5877
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
|
|
5979
5878
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5980
|
-
doOnce(function () { return
|
|
5879
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
|
|
5981
5880
|
return false;
|
|
5982
5881
|
}
|
|
5983
5882
|
if (this.isTreeData() && isEnabled) {
|
|
5984
|
-
doOnce(function () { return
|
|
5883
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
|
|
5985
5884
|
return false;
|
|
5986
5885
|
}
|
|
5987
5886
|
return isEnabled;
|
|
@@ -6090,7 +5989,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6090
5989
|
var capitalisedType = capitalise(type);
|
|
6091
5990
|
if (exists(delay)) {
|
|
6092
5991
|
if (delay < 0) {
|
|
6093
|
-
doOnce(function () { return
|
|
5992
|
+
doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
|
|
6094
5993
|
}
|
|
6095
5994
|
return Math.max(200, delay);
|
|
6096
5995
|
}
|
|
@@ -6141,7 +6040,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6141
6040
|
var rowBuffer = this.gridOptions.rowBuffer;
|
|
6142
6041
|
if (typeof rowBuffer === 'number') {
|
|
6143
6042
|
if (rowBuffer < 0) {
|
|
6144
|
-
doOnce(function () { return
|
|
6043
|
+
doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
|
|
6145
6044
|
this.gridOptions.rowBuffer = rowBuffer = 0;
|
|
6146
6045
|
}
|
|
6147
6046
|
}
|
|
@@ -6175,45 +6074,23 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6175
6074
|
// casting to generic object, so typescript compiles even though
|
|
6176
6075
|
// we are looking for attributes that don't exist
|
|
6177
6076
|
var options = this.gridOptions;
|
|
6178
|
-
if (options.deprecatedEmbedFullWidthRows) {
|
|
6179
|
-
console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
|
|
6180
|
-
}
|
|
6181
|
-
if (options.rowDeselection) {
|
|
6182
|
-
console.warn('AG Grid: since v24.x, rowDeselection is deprecated and the behaviour is true by default. Please use `suppressRowDeselection` to prevent rows from being deselected.');
|
|
6183
|
-
}
|
|
6184
6077
|
if (options.enableMultiRowDragging) {
|
|
6185
6078
|
options.rowDragMultiRow = true;
|
|
6186
6079
|
delete options.enableMultiRowDragging;
|
|
6187
|
-
console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
|
|
6188
6080
|
}
|
|
6189
6081
|
var checkRenamedProperty = function (oldProp, newProp, version) {
|
|
6190
6082
|
if (options[oldProp] != null) {
|
|
6191
|
-
console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
|
|
6192
6083
|
if (options[newProp] == null) {
|
|
6193
6084
|
options[newProp] = options[oldProp];
|
|
6194
6085
|
}
|
|
6195
6086
|
}
|
|
6196
6087
|
};
|
|
6197
|
-
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis'
|
|
6198
|
-
checkRenamedProperty('deltaRowDataMode', 'immutableData'
|
|
6199
|
-
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels'
|
|
6200
|
-
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels'
|
|
6201
|
-
|
|
6202
|
-
console.warn('AG Grid: since v24.0, immutableColumns and deltaColumnMode properties are gone. The grid now works like this as default. To keep column order maintained, set grid property applyColumnDefOrder=true');
|
|
6203
|
-
}
|
|
6204
|
-
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
|
|
6088
|
+
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
|
|
6089
|
+
checkRenamedProperty('deltaRowDataMode', 'immutableData');
|
|
6090
|
+
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
|
|
6091
|
+
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
|
|
6092
|
+
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
|
|
6205
6093
|
if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
|
|
6206
|
-
console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
|
|
6207
|
-
console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
|
|
6208
|
-
console.warn(' For example instead of this:');
|
|
6209
|
-
console.warn(' groupRowInnerRenderer: "myRenderer"');
|
|
6210
|
-
console.warn(' groupRowInnerRendererParams: {x: a}');
|
|
6211
|
-
console.warn(' Replace with this:');
|
|
6212
|
-
console.warn(' groupRowRendererParams: {');
|
|
6213
|
-
console.warn(' innerRenderer: "myRenderer",');
|
|
6214
|
-
console.warn(' innerRendererParams: {x: a}');
|
|
6215
|
-
console.warn(' }');
|
|
6216
|
-
console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
|
|
6217
6094
|
if (!options.groupRowRendererParams) {
|
|
6218
6095
|
options.groupRowRendererParams = {};
|
|
6219
6096
|
}
|
|
@@ -6228,105 +6105,36 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6228
6105
|
params.innerRendererFramework = options.groupRowInnerRendererFramework;
|
|
6229
6106
|
}
|
|
6230
6107
|
}
|
|
6231
|
-
if (options.rememberGroupStateWhenNewData) {
|
|
6232
|
-
console.warn('AG Grid: since v24.0, grid property rememberGroupStateWhenNewData is deprecated. This feature was provided before Transaction Updates worked (which keep group state). Now that transaction updates are possible and they keep group state, this feature is no longer needed.');
|
|
6233
|
-
}
|
|
6234
6108
|
if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
|
|
6235
|
-
console.warn('AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer');
|
|
6236
6109
|
options.detailRowAutoHeight = true;
|
|
6237
6110
|
}
|
|
6238
|
-
if (options.suppressKeyboardEvent) {
|
|
6239
|
-
console.warn("AG Grid: since v24.1 suppressKeyboardEvent in the gridOptions has been deprecated and will be removed in\n future versions of AG Grid. If you need this to be set for every column use the defaultColDef property.");
|
|
6240
|
-
}
|
|
6241
|
-
if (options.suppressEnterpriseResetOnNewColumns) {
|
|
6242
|
-
console.warn('AG Grid: since v25, grid property suppressEnterpriseResetOnNewColumns is deprecated. This was a temporary property to allow changing columns in Server Side Row Model without triggering a reload. Now that it is possible to dynamically change columns in the grid, this is no longer needed.');
|
|
6243
|
-
}
|
|
6244
|
-
if (options.suppressColumnStateEvents) {
|
|
6245
|
-
console.warn('AG Grid: since v25, grid property suppressColumnStateEvents no longer works due to a refactor that we did. It should be possible to achieve similar using event.source, which would be "api" if the event was due to setting column state via the API');
|
|
6246
|
-
}
|
|
6247
|
-
if (options.defaultExportParams) {
|
|
6248
|
-
console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
|
|
6249
|
-
}
|
|
6250
6111
|
if (options.stopEditingWhenGridLosesFocus) {
|
|
6251
|
-
console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
|
|
6252
6112
|
options.stopEditingWhenCellsLoseFocus = true;
|
|
6253
6113
|
}
|
|
6254
|
-
if (options.applyColumnDefOrder) {
|
|
6255
|
-
console.warn('AG Grid: since v26.0, the grid property `applyColumnDefOrder` is no longer needed, as this is the default behaviour. To turn this behaviour off, set maintainColumnOrder=true');
|
|
6256
|
-
}
|
|
6257
6114
|
if (options.groupMultiAutoColumn) {
|
|
6258
|
-
console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
|
|
6259
6115
|
options.groupDisplayType = 'multipleColumns';
|
|
6260
6116
|
}
|
|
6261
6117
|
if (options.groupUseEntireRow) {
|
|
6262
|
-
console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
|
|
6263
6118
|
options.groupDisplayType = 'groupRows';
|
|
6264
6119
|
}
|
|
6265
6120
|
if (options.groupSuppressAutoColumn) {
|
|
6266
|
-
var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
|
|
6267
|
-
console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
|
|
6268
6121
|
options.groupDisplayType = 'custom';
|
|
6269
6122
|
}
|
|
6270
|
-
if (options.defaultGroupOrderComparator) {
|
|
6271
|
-
console.warn("AG Grid: since v27.2, the grid property `defaultGroupOrderComparator` is deprecated and has been replaced by `initialGroupOrderComparator` and now receives a single params object.");
|
|
6272
|
-
}
|
|
6273
6123
|
if (options.defaultGroupSortComparator) {
|
|
6274
|
-
console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
|
|
6275
6124
|
options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
|
|
6276
6125
|
}
|
|
6277
|
-
if (options.groupRowAggNodes) {
|
|
6278
|
-
console.warn("AG Grid: since v27.2, the grid property `groupRowAggNodes` is deprecated and has been replaced by `getGroupRowAgg` and now receives a single params object.");
|
|
6279
|
-
}
|
|
6280
|
-
if (options.postSort) {
|
|
6281
|
-
console.warn("AG Grid: since v27.2, the grid property `postSort` is deprecated and has been replaced by `postSortRows` and now receives a single params object.");
|
|
6282
|
-
}
|
|
6283
|
-
if (options.isFullWidthCell) {
|
|
6284
|
-
console.warn("AG Grid: since v27.2, the grid property `isFullWidthCell` is deprecated and has been replaced by `isFullWidthRow` and now receives a single params object.");
|
|
6285
|
-
}
|
|
6286
|
-
if (options.localeTextFunc) {
|
|
6287
|
-
console.warn("AG Grid: since v27.2, the grid property `localeTextFunc` is deprecated and has been replaced by `getLocaleText` and now receives a single params object.");
|
|
6288
|
-
}
|
|
6289
|
-
if (options.colWidth) {
|
|
6290
|
-
console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
|
|
6291
|
-
}
|
|
6292
|
-
if (options.minColWidth) {
|
|
6293
|
-
console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
|
|
6294
|
-
}
|
|
6295
|
-
if (options.maxColWidth) {
|
|
6296
|
-
console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
|
|
6297
|
-
}
|
|
6298
|
-
if (options.reactUi) {
|
|
6299
|
-
console.warn('AG Grid: since v27.0, React UI is on by default, so no need for reactUi=true. To turn it off, set suppressReactUi=true.');
|
|
6300
|
-
}
|
|
6301
|
-
if (options.suppressReactUi) {
|
|
6302
|
-
console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
|
|
6303
|
-
}
|
|
6304
6126
|
if (options.suppressCellSelection) {
|
|
6305
|
-
console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
|
|
6306
6127
|
options.suppressCellFocus = options.suppressCellSelection;
|
|
6307
6128
|
}
|
|
6308
|
-
if (options.getRowNodeId) {
|
|
6309
|
-
console.warn('AG Grid: since v27.1, `getRowNodeId` is deprecated and has been replaced by `getRowId`. The difference: if getRowId() is implemented then immutable data is enabled by default.');
|
|
6310
|
-
}
|
|
6311
|
-
if (options.immutableData) {
|
|
6312
|
-
if (options.getRowId) {
|
|
6313
|
-
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. With the `getRowId` callback implemented, immutable data is enabled by default so you can remove `immutableData=true`.');
|
|
6314
|
-
}
|
|
6315
|
-
else {
|
|
6316
|
-
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
|
|
6317
|
-
}
|
|
6318
|
-
}
|
|
6319
6129
|
if (options.clipboardDeliminator) {
|
|
6320
|
-
console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
|
|
6321
6130
|
options.clipboardDelimiter = options.clipboardDeliminator;
|
|
6322
6131
|
}
|
|
6323
|
-
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef'
|
|
6324
|
-
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef'
|
|
6132
|
+
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
|
|
6133
|
+
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
|
|
6325
6134
|
if (options.serverSideStoreType) {
|
|
6326
|
-
console.warn('AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store.');
|
|
6327
6135
|
options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
|
|
6328
6136
|
}
|
|
6329
|
-
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams'
|
|
6137
|
+
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
|
|
6330
6138
|
};
|
|
6331
6139
|
GridOptionsWrapper.prototype.checkForViolations = function () {
|
|
6332
6140
|
if (this.isTreeData()) {
|
|
@@ -6335,20 +6143,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6335
6143
|
};
|
|
6336
6144
|
GridOptionsWrapper.prototype.treeDataViolations = function () {
|
|
6337
6145
|
if (this.isRowModelDefault()) {
|
|
6338
|
-
if (missing(this.getDataPathFunc()))
|
|
6339
|
-
console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
|
|
6340
|
-
'provide getDataPath function, please provide getDataPath function if using tree data.');
|
|
6341
|
-
}
|
|
6146
|
+
if (missing(this.getDataPathFunc())) ;
|
|
6342
6147
|
}
|
|
6343
6148
|
if (this.isRowModelServerSide()) {
|
|
6344
|
-
if (missing(this.getIsServerSideGroupFunc()))
|
|
6345
|
-
|
|
6346
|
-
'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
|
|
6347
|
-
}
|
|
6348
|
-
if (missing(this.getServerSideGroupKeyFunc())) {
|
|
6349
|
-
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6350
|
-
'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
|
|
6351
|
-
}
|
|
6149
|
+
if (missing(this.getIsServerSideGroupFunc())) ;
|
|
6150
|
+
if (missing(this.getServerSideGroupKeyFunc())) ;
|
|
6352
6151
|
}
|
|
6353
6152
|
};
|
|
6354
6153
|
GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
|
|
@@ -6417,7 +6216,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6417
6216
|
this.setRowHeightVariable(rowHeight);
|
|
6418
6217
|
return rowHeight;
|
|
6419
6218
|
}
|
|
6420
|
-
console.warn('AG Grid row height must be a number if not using standard row model');
|
|
6421
6219
|
return this.getDefaultRowHeight();
|
|
6422
6220
|
};
|
|
6423
6221
|
GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
|
|
@@ -6442,7 +6240,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6442
6240
|
var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
|
|
6443
6241
|
if (this.isNumeric(height)) {
|
|
6444
6242
|
if (height === 0) {
|
|
6445
|
-
doOnce(function () { return
|
|
6243
|
+
doOnce(function () { return (void 0); }, 'invalidRowHeight');
|
|
6446
6244
|
}
|
|
6447
6245
|
return { height: Math.max(1, height), estimated: false };
|
|
6448
6246
|
}
|
|
@@ -6487,7 +6285,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6487
6285
|
GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
|
|
6488
6286
|
var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
|
|
6489
6287
|
if (groupDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6490
|
-
console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
|
|
6491
6288
|
return false;
|
|
6492
6289
|
}
|
|
6493
6290
|
return supplied === toMatch;
|
|
@@ -6495,7 +6292,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6495
6292
|
GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
|
|
6496
6293
|
var treeDataDisplayTypeValues = ['auto', 'custom'];
|
|
6497
6294
|
if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6498
|
-
console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
|
|
6499
6295
|
return false;
|
|
6500
6296
|
}
|
|
6501
6297
|
return supplied === toMatch;
|
|
@@ -6880,7 +6676,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6880
6676
|
};
|
|
6881
6677
|
ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
|
|
6882
6678
|
if (pivot && this.gridOptionsWrapper.isTreeData()) {
|
|
6883
|
-
console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
|
|
6884
6679
|
return false;
|
|
6885
6680
|
}
|
|
6886
6681
|
return true;
|
|
@@ -7511,7 +7306,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7511
7306
|
if (loopCount > 1000) {
|
|
7512
7307
|
// this should never happen, but in the future, someone might introduce a bug here,
|
|
7513
7308
|
// so we stop the browser from hanging and report bug properly
|
|
7514
|
-
console.error('AG Grid: infinite loop in resizeColumnSets');
|
|
7515
7309
|
return "break";
|
|
7516
7310
|
}
|
|
7517
7311
|
finishedColsGrew = false;
|
|
@@ -7629,8 +7423,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7629
7423
|
if (source === void 0) { source = "api"; }
|
|
7630
7424
|
this.columnAnimationService.start();
|
|
7631
7425
|
if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
|
|
7632
|
-
console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
|
|
7633
|
-
console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
|
|
7634
7426
|
return;
|
|
7635
7427
|
}
|
|
7636
7428
|
// we want to pull all the columns out first and put them into an ordered list
|
|
@@ -7883,7 +7675,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7883
7675
|
ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
|
|
7884
7676
|
if (source === void 0) { source = "api"; }
|
|
7885
7677
|
if (this.gridOptionsWrapper.getDomLayout() === 'print') {
|
|
7886
|
-
console.warn("Changing the column pinning status is not allowed with domLayout='print'");
|
|
7887
7678
|
return;
|
|
7888
7679
|
}
|
|
7889
7680
|
this.columnAnimationService.start();
|
|
@@ -8153,7 +7944,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8153
7944
|
return false;
|
|
8154
7945
|
}
|
|
8155
7946
|
if (params && params.state && !params.state.forEach) {
|
|
8156
|
-
console.warn('AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.');
|
|
8157
7947
|
return false;
|
|
8158
7948
|
}
|
|
8159
7949
|
var applyStates = function (states, existingColumns, getById) {
|
|
@@ -8300,7 +8090,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8300
8090
|
// is less sexy for the code here, but it keeps consistency.
|
|
8301
8091
|
newOrder = this.placeLockedColumns(newOrder);
|
|
8302
8092
|
if (!this.doesMovePassMarryChildren(newOrder)) {
|
|
8303
|
-
console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
|
|
8304
8093
|
return;
|
|
8305
8094
|
}
|
|
8306
8095
|
this.gridColumns = newOrder;
|
|
@@ -8552,11 +8341,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8552
8341
|
}
|
|
8553
8342
|
}
|
|
8554
8343
|
else {
|
|
8555
|
-
if (exists(aggFunc))
|
|
8556
|
-
console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
|
|
8557
|
-
'functions, register the functions first before using them in get/set state. This is because it is ' +
|
|
8558
|
-
'intended for the column state to be stored and retrieved as simple JSON.');
|
|
8559
|
-
}
|
|
8344
|
+
if (exists(aggFunc)) ;
|
|
8560
8345
|
// Note: we do not call column.setAggFunc(null), so that next time we aggregate
|
|
8561
8346
|
// by this column (eg drag the column to the agg section int he toolpanel) it will
|
|
8562
8347
|
// default to the last aggregation function.
|
|
@@ -8624,9 +8409,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8624
8409
|
return null;
|
|
8625
8410
|
}
|
|
8626
8411
|
var column = this.getGridColumn(key);
|
|
8627
|
-
if (!column) {
|
|
8628
|
-
console.warn('AG Grid: could not find column ' + key);
|
|
8629
|
-
}
|
|
8630
8412
|
return column;
|
|
8631
8413
|
};
|
|
8632
8414
|
ColumnModel.prototype.getPrimaryColumn = function (key) {
|
|
@@ -8729,7 +8511,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8729
8511
|
// valueGetter is an expression, so execute the expression
|
|
8730
8512
|
return this.expressionService.evaluate(headerValueGetter, params);
|
|
8731
8513
|
}
|
|
8732
|
-
console.warn('ag-grid: headerValueGetter must be a function or a string');
|
|
8733
8514
|
return '';
|
|
8734
8515
|
}
|
|
8735
8516
|
else if (colDef.headerName != null) {
|
|
@@ -9024,10 +8805,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9024
8805
|
this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
|
|
9025
8806
|
};
|
|
9026
8807
|
ColumnModel.prototype.getProvidedColumnGroup = function (key) {
|
|
9027
|
-
// if (key instanceof ProvidedColumnGroup) { return key; }
|
|
9028
|
-
if (typeof key !== 'string') {
|
|
9029
|
-
console.error('AG Grid: group key must be a string');
|
|
9030
|
-
}
|
|
9031
8808
|
// otherwise, search for the column group by id
|
|
9032
8809
|
var res = null;
|
|
9033
8810
|
this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
|
|
@@ -9238,8 +9015,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9238
9015
|
var rowModelType = this.rowModel.getType();
|
|
9239
9016
|
var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
9240
9017
|
if (!supportedRowModel) {
|
|
9241
|
-
|
|
9242
|
-
doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
|
|
9018
|
+
doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
|
|
9243
9019
|
}
|
|
9244
9020
|
}
|
|
9245
9021
|
};
|
|
@@ -10231,7 +10007,6 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10231
10007
|
if (found) {
|
|
10232
10008
|
return result;
|
|
10233
10009
|
}
|
|
10234
|
-
console.warn('AG Grid: could not get path');
|
|
10235
10010
|
return null;
|
|
10236
10011
|
};
|
|
10237
10012
|
DisplayedGroupCreator = __decorate$36([
|
|
@@ -11915,14 +11690,12 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
|
|
|
11915
11690
|
if (isNodeOrElement(rendererResult)) {
|
|
11916
11691
|
return rendererResult;
|
|
11917
11692
|
}
|
|
11918
|
-
console.warn('AG Grid: iconRenderer should return back a string or a dom object');
|
|
11919
11693
|
}
|
|
11920
11694
|
else {
|
|
11921
11695
|
var span = document.createElement('span');
|
|
11922
11696
|
var cssClass = iconNameClassMap[iconName];
|
|
11923
11697
|
if (!cssClass) {
|
|
11924
11698
|
if (!forceCreate) {
|
|
11925
|
-
console.warn("AG Grid: Did not find icon " + iconName);
|
|
11926
11699
|
cssClass = '';
|
|
11927
11700
|
}
|
|
11928
11701
|
else {
|
|
@@ -12361,7 +12134,6 @@ var AgPromise = /** @class */ (function () {
|
|
|
12361
12134
|
this.waiters.forEach(function (waiter) { return waiter(value); });
|
|
12362
12135
|
};
|
|
12363
12136
|
AgPromise.prototype.onReject = function (params) {
|
|
12364
|
-
console.warn('TBI');
|
|
12365
12137
|
};
|
|
12366
12138
|
return AgPromise;
|
|
12367
12139
|
}());
|
|
@@ -12987,11 +12759,9 @@ function RefSelector(ref) {
|
|
|
12987
12759
|
}
|
|
12988
12760
|
function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
|
|
12989
12761
|
if (selector === null) {
|
|
12990
|
-
console.error('AG Grid: QuerySelector selector should not be null');
|
|
12991
12762
|
return;
|
|
12992
12763
|
}
|
|
12993
12764
|
if (typeof index === 'number') {
|
|
12994
|
-
console.error('AG Grid: QuerySelector should be on an attribute');
|
|
12995
12765
|
return;
|
|
12996
12766
|
}
|
|
12997
12767
|
addToObjectProps(classPrototype, 'querySelectors', {
|
|
@@ -13226,12 +12996,8 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13226
12996
|
this.checkForDeprecatedParams();
|
|
13227
12997
|
};
|
|
13228
12998
|
OptionsFactory.prototype.checkForDeprecatedParams = function () {
|
|
13229
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; }))
|
|
13230
|
-
|
|
13231
|
-
}
|
|
13232
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
|
|
13233
|
-
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
|
|
13234
|
-
}
|
|
12999
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
|
|
13000
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
|
|
13235
13001
|
};
|
|
13236
13002
|
OptionsFactory.prototype.getFilterOptions = function () {
|
|
13237
13003
|
return this.filterOptions;
|
|
@@ -13248,7 +13014,6 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13248
13014
|
var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
|
|
13249
13015
|
var propertyCheck = function (keys) {
|
|
13250
13016
|
if (!keys.some(function (key) { return filterOption[key] != null; })) {
|
|
13251
|
-
console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
|
|
13252
13017
|
return false;
|
|
13253
13018
|
}
|
|
13254
13019
|
return true;
|
|
@@ -13282,13 +13047,9 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13282
13047
|
else if (firstFilterOption.displayKey) {
|
|
13283
13048
|
this.defaultOption = firstFilterOption.displayKey;
|
|
13284
13049
|
}
|
|
13285
|
-
else
|
|
13286
|
-
console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
|
|
13287
|
-
}
|
|
13288
|
-
}
|
|
13289
|
-
else {
|
|
13290
|
-
console.warn('AG Grid: no filter options for filter');
|
|
13050
|
+
else ;
|
|
13291
13051
|
}
|
|
13052
|
+
else ;
|
|
13292
13053
|
};
|
|
13293
13054
|
OptionsFactory.prototype.getDefaultOption = function () {
|
|
13294
13055
|
return this.defaultOption;
|
|
@@ -13551,7 +13312,6 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13551
13312
|
clickListener = function (e) { _this.onBtCancel(e); };
|
|
13552
13313
|
break;
|
|
13553
13314
|
default:
|
|
13554
|
-
console.warn('AG Grid: Unknown button type specified');
|
|
13555
13315
|
return;
|
|
13556
13316
|
}
|
|
13557
13317
|
var buttonType = type === 'apply' ? 'submit' : 'button';
|
|
@@ -13692,9 +13452,6 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13692
13452
|
// static, as used by floating filter also
|
|
13693
13453
|
ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
|
|
13694
13454
|
if (ProvidedFilter.isUseApplyButton(params)) {
|
|
13695
|
-
if (params.debounceMs != null) {
|
|
13696
|
-
console.warn('AG Grid: debounceMs is ignored when apply button is present');
|
|
13697
|
-
}
|
|
13698
13455
|
return 0;
|
|
13699
13456
|
}
|
|
13700
13457
|
return params.debounceMs != null ? params.debounceMs : debounceDefault;
|
|
@@ -15071,7 +14828,6 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
15071
14828
|
case ScalarFilter.NOT_BLANK:
|
|
15072
14829
|
return !this.isBlank(cellValue);
|
|
15073
14830
|
default:
|
|
15074
|
-
console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
|
|
15075
14831
|
return true;
|
|
15076
14832
|
}
|
|
15077
14833
|
};
|
|
@@ -15165,17 +14921,11 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15165
14921
|
if (!isNaN(params[param])) {
|
|
15166
14922
|
return params[param] == null ? fallback : Number(params[param]);
|
|
15167
14923
|
}
|
|
15168
|
-
else {
|
|
15169
|
-
console.warn("AG Grid: DateFilter " + param + " is not a number");
|
|
15170
|
-
}
|
|
15171
14924
|
}
|
|
15172
14925
|
return fallback;
|
|
15173
14926
|
};
|
|
15174
14927
|
this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
|
|
15175
14928
|
this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
|
|
15176
|
-
if (this.minValidYear > this.maxValidYear) {
|
|
15177
|
-
console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
|
|
15178
|
-
}
|
|
15179
14929
|
this.createDateComponents();
|
|
15180
14930
|
};
|
|
15181
14931
|
DateFilter.prototype.createDateComponents = function () {
|
|
@@ -15876,7 +15626,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15876
15626
|
TextFilter.prototype.getTextMatcher = function () {
|
|
15877
15627
|
var legacyComparator = this.textFilterParams.textCustomComparator;
|
|
15878
15628
|
if (legacyComparator) {
|
|
15879
|
-
_.doOnce(function () { return
|
|
15629
|
+
_.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
|
|
15880
15630
|
return function (_a) {
|
|
15881
15631
|
var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
|
|
15882
15632
|
return legacyComparator(filterOption, value, filterText);
|
|
@@ -16802,8 +16552,7 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16802
16552
|
HeaderGroupComp.prototype.checkWarnings = function () {
|
|
16803
16553
|
var paramsAny = this.params;
|
|
16804
16554
|
if (paramsAny.template) {
|
|
16805
|
-
|
|
16806
|
-
doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
|
|
16555
|
+
doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
|
|
16807
16556
|
}
|
|
16808
16557
|
};
|
|
16809
16558
|
HeaderGroupComp.prototype.setupExpandIcons = function () {
|
|
@@ -17034,7 +16783,6 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
17034
16783
|
var _this = this;
|
|
17035
16784
|
this.focusAfterAttached = params.cellStartedEdit;
|
|
17036
16785
|
if (missing(params.values)) {
|
|
17037
|
-
console.warn('AG Grid: no values found for select cellEditor');
|
|
17038
16786
|
return;
|
|
17039
16787
|
}
|
|
17040
16788
|
this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
|
|
@@ -17108,7 +16856,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
17108
16856
|
__extends$2_(PopupSelectCellEditor, _super);
|
|
17109
16857
|
function PopupSelectCellEditor() {
|
|
17110
16858
|
var _this = _super.call(this) || this;
|
|
17111
|
-
doOnce(function () { return
|
|
16859
|
+
doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
|
|
17112
16860
|
return _this;
|
|
17113
16861
|
}
|
|
17114
16862
|
PopupSelectCellEditor.prototype.isPopup = function () {
|
|
@@ -17262,7 +17010,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17262
17010
|
__extends$2Y(PopupTextCellEditor, _super);
|
|
17263
17011
|
function PopupTextCellEditor() {
|
|
17264
17012
|
var _this = _super.call(this) || this;
|
|
17265
|
-
doOnce(function () { return
|
|
17013
|
+
doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
|
|
17266
17014
|
return _this;
|
|
17267
17015
|
}
|
|
17268
17016
|
PopupTextCellEditor.prototype.isPopup = function () {
|
|
@@ -17639,9 +17387,7 @@ var RowNode = /** @class */ (function () {
|
|
|
17639
17387
|
});
|
|
17640
17388
|
// make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
|
|
17641
17389
|
// it has 'startsWith' in case the user provided a number.
|
|
17642
|
-
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP))
|
|
17643
|
-
console.error("AG Grid: Row IDs cannot start with " + RowNode.ID_PREFIX_ROW_GROUP + ", this is a reserved prefix for AG Grid's row grouping feature.");
|
|
17644
|
-
}
|
|
17390
|
+
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
|
|
17645
17391
|
// force id to be a string
|
|
17646
17392
|
if (this.id !== null && typeof this.id !== 'string') {
|
|
17647
17393
|
this.id = '' + this.id;
|
|
@@ -18100,11 +17846,9 @@ var RowNode = /** @class */ (function () {
|
|
|
18100
17846
|
// groupSelectsFiltered only makes sense when group selects children
|
|
18101
17847
|
var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
|
|
18102
17848
|
if (this.id === undefined) {
|
|
18103
|
-
console.warn('AG Grid: cannot select node until id for node is known');
|
|
18104
17849
|
return 0;
|
|
18105
17850
|
}
|
|
18106
17851
|
if (this.rowPinned) {
|
|
18107
|
-
console.warn('AG Grid: cannot select pinned rows');
|
|
18108
17852
|
return 0;
|
|
18109
17853
|
}
|
|
18110
17854
|
// if we are a footer, we don't do selection, just pass the info
|
|
@@ -18879,9 +18623,7 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18879
18623
|
}
|
|
18880
18624
|
}
|
|
18881
18625
|
this.eGhostParent = targetEl;
|
|
18882
|
-
if (!this.eGhostParent)
|
|
18883
|
-
console.warn('AG Grid: could not find document body, it is needed for dragging columns');
|
|
18884
|
-
}
|
|
18626
|
+
if (!this.eGhostParent) ;
|
|
18885
18627
|
else {
|
|
18886
18628
|
this.eGhostParent.appendChild(this.eGhost);
|
|
18887
18629
|
}
|
|
@@ -19044,7 +18786,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
19044
18786
|
var treeData = this.beans.gridOptionsWrapper.isTreeData();
|
|
19045
18787
|
if (treeData && managed) {
|
|
19046
18788
|
doOnce(function () {
|
|
19047
|
-
return
|
|
18789
|
+
return (void 0);
|
|
19048
18790
|
}, 'RowDragComp.managedAndTreeData');
|
|
19049
18791
|
}
|
|
19050
18792
|
};
|
|
@@ -19453,9 +19195,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19453
19195
|
else if (typeof footerValueGetter === 'string') {
|
|
19454
19196
|
footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
|
|
19455
19197
|
}
|
|
19456
|
-
else
|
|
19457
|
-
console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
|
|
19458
|
-
}
|
|
19198
|
+
else ;
|
|
19459
19199
|
}
|
|
19460
19200
|
else {
|
|
19461
19201
|
footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
|
|
@@ -19673,7 +19413,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19673
19413
|
var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
|
|
19674
19414
|
var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
|
|
19675
19415
|
if (userProvidedPaddingPixelsTheDeprecatedWay) {
|
|
19676
|
-
doOnce(function () { return
|
|
19416
|
+
doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
|
|
19677
19417
|
}
|
|
19678
19418
|
if (this.indentClass) {
|
|
19679
19419
|
this.comp.addOrRemoveCssClass(this.indentClass, false);
|
|
@@ -20178,7 +19918,6 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20178
19918
|
UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
|
|
20179
19919
|
var name = this.translateIfDeprecated(rawName);
|
|
20180
19920
|
if (this.agGridDefaults[name]) {
|
|
20181
|
-
console.error("Trying to overwrite a default component. You should call registerComponent");
|
|
20182
19921
|
return;
|
|
20183
19922
|
}
|
|
20184
19923
|
this.agGridDefaults[name] = component;
|
|
@@ -20186,7 +19925,6 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20186
19925
|
UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
|
|
20187
19926
|
var name = this.translateIfDeprecated(rawName);
|
|
20188
19927
|
if (this.fwComps[name]) {
|
|
20189
|
-
console.error("Trying to register a component that you have already registered for frameworks: " + name);
|
|
20190
19928
|
return;
|
|
20191
19929
|
}
|
|
20192
19930
|
this.jsComps[name] = component;
|
|
@@ -20196,8 +19934,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20196
19934
|
* A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
|
|
20197
19935
|
*/
|
|
20198
19936
|
UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
|
|
20199
|
-
|
|
20200
|
-
doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
19937
|
+
doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
20201
19938
|
var name = this.translateIfDeprecated(rawName);
|
|
20202
19939
|
this.fwComps[name] = component;
|
|
20203
19940
|
};
|
|
@@ -20224,16 +19961,13 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20224
19961
|
if (defaultComponent) {
|
|
20225
19962
|
return createResult(defaultComponent, false);
|
|
20226
19963
|
}
|
|
20227
|
-
if (Object.keys(this.agGridDefaults).indexOf(name) < 0)
|
|
20228
|
-
console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
|
|
20229
|
-
}
|
|
19964
|
+
if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
|
|
20230
19965
|
return null;
|
|
20231
19966
|
};
|
|
20232
19967
|
UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
|
|
20233
19968
|
var deprecatedInfo = this.agDeprecatedNames[raw];
|
|
20234
19969
|
if (deprecatedInfo != null) {
|
|
20235
19970
|
doOnce(function () {
|
|
20236
|
-
console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename " + deprecatedInfo.propertyHolder + ":" + raw + " to " + deprecatedInfo.propertyHolder + ":" + deprecatedInfo.newComponentName);
|
|
20237
19971
|
}, 'DEPRECATE_COMPONENT_' + raw);
|
|
20238
19972
|
return deprecatedInfo.newComponentName;
|
|
20239
19973
|
}
|
|
@@ -20451,7 +20185,6 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20451
20185
|
};
|
|
20452
20186
|
UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
|
|
20453
20187
|
var _this = this;
|
|
20454
|
-
if (mandatory === void 0) { mandatory = false; }
|
|
20455
20188
|
var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
|
|
20456
20189
|
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;
|
|
20457
20190
|
var lookupFromRegistry = function (key) {
|
|
@@ -20474,9 +20207,6 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20474
20207
|
jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
|
|
20475
20208
|
}
|
|
20476
20209
|
if (!jsComp && !fwComp) {
|
|
20477
|
-
if (mandatory) {
|
|
20478
|
-
console.error("Could not find component " + compName + ", did you forget to configure this component?");
|
|
20479
|
-
}
|
|
20480
20210
|
return;
|
|
20481
20211
|
}
|
|
20482
20212
|
var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
|
|
@@ -20513,8 +20243,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20513
20243
|
var selectorRes = selectorFunc ? selectorFunc(params) : null;
|
|
20514
20244
|
var assignComp = function (providedJsComp, providedFwComp) {
|
|
20515
20245
|
var xxxFrameworkDeprecatedWarn = function () {
|
|
20516
|
-
|
|
20517
|
-
doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20246
|
+
doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20518
20247
|
};
|
|
20519
20248
|
if (typeof providedJsComp === 'string') {
|
|
20520
20249
|
compName = providedJsComp;
|
|
@@ -20540,8 +20269,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20540
20269
|
};
|
|
20541
20270
|
if (selectorRes) {
|
|
20542
20271
|
if (selectorRes.frameworkComponent != null) {
|
|
20543
|
-
|
|
20544
|
-
doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20272
|
+
doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20545
20273
|
assignComp(selectorRes.frameworkComponent, undefined);
|
|
20546
20274
|
}
|
|
20547
20275
|
else {
|
|
@@ -21046,16 +20774,13 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21046
20774
|
modelKeys_1.forEach(function (colId) {
|
|
21047
20775
|
var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
|
|
21048
20776
|
if (!column) {
|
|
21049
|
-
console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
|
|
21050
20777
|
return;
|
|
21051
20778
|
}
|
|
21052
20779
|
if (!column.isFilterAllowed()) {
|
|
21053
|
-
console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
|
|
21054
20780
|
return;
|
|
21055
20781
|
}
|
|
21056
20782
|
var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
|
|
21057
20783
|
if (!filterWrapper) {
|
|
21058
|
-
console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
|
|
21059
20784
|
return;
|
|
21060
20785
|
}
|
|
21061
20786
|
allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
|
|
@@ -21085,7 +20810,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21085
20810
|
return new AgPromise(function (resolve) {
|
|
21086
20811
|
filterPromise.then(function (filter) {
|
|
21087
20812
|
if (typeof filter.setModel !== 'function') {
|
|
21088
|
-
console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
|
|
21089
20813
|
resolve();
|
|
21090
20814
|
}
|
|
21091
20815
|
(filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
|
|
@@ -21102,7 +20826,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21102
20826
|
return null;
|
|
21103
20827
|
}
|
|
21104
20828
|
if (typeof filter.getModel !== 'function') {
|
|
21105
|
-
console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
|
|
21106
20829
|
return;
|
|
21107
20830
|
}
|
|
21108
20831
|
var model = filter.getModel();
|
|
@@ -21136,7 +20859,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21136
20859
|
return false;
|
|
21137
20860
|
} // this never happens, including to avoid compile error
|
|
21138
20861
|
if (!filter.isFilterActive) {
|
|
21139
|
-
console.warn('AG Grid: Filter is missing isFilterActive() method');
|
|
21140
20862
|
return false;
|
|
21141
20863
|
}
|
|
21142
20864
|
return filter.isFilterActive();
|
|
@@ -21210,14 +20932,12 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21210
20932
|
return null;
|
|
21211
20933
|
}
|
|
21212
20934
|
if (!this.gridOptionsWrapper.isRowModelDefault()) {
|
|
21213
|
-
console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
|
|
21214
20935
|
return null;
|
|
21215
20936
|
}
|
|
21216
20937
|
return newFilter.toUpperCase();
|
|
21217
20938
|
};
|
|
21218
20939
|
FilterManager.prototype.setQuickFilter = function (newFilter) {
|
|
21219
20940
|
if (newFilter != null && typeof newFilter !== 'string') {
|
|
21220
|
-
console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
|
|
21221
20941
|
return;
|
|
21222
20942
|
}
|
|
21223
20943
|
var parsedFilter = this.parseQuickFilter(newFilter);
|
|
@@ -21477,9 +21197,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21477
21197
|
filterWrapper.guiPromise = new AgPromise(function (resolve) {
|
|
21478
21198
|
filterWrapper.filterPromise.then(function (filter) {
|
|
21479
21199
|
var guiFromFilter = filter.getGui();
|
|
21480
|
-
if (!exists(guiFromFilter))
|
|
21481
|
-
console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
|
|
21482
|
-
}
|
|
21200
|
+
if (!exists(guiFromFilter)) ;
|
|
21483
21201
|
// for backwards compatibility with Angular 1 - we
|
|
21484
21202
|
// used to allow providing back HTML from getGui().
|
|
21485
21203
|
// once we move away from supporting Angular 1
|
|
@@ -22071,7 +21789,6 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
22071
21789
|
}
|
|
22072
21790
|
var rowCount = this.paginationProxy.getRowCount();
|
|
22073
21791
|
if (typeof index !== 'number' || index < 0 || index >= rowCount) {
|
|
22074
|
-
console.warn('invalid row index for ensureIndexVisible: ' + index);
|
|
22075
21792
|
return;
|
|
22076
21793
|
}
|
|
22077
21794
|
var isPaging = this.gridOptionsWrapper.isPagination();
|
|
@@ -22566,11 +22283,10 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22566
22283
|
RowDragFeature.prototype.addRowDropZone = function (params) {
|
|
22567
22284
|
var _this = this;
|
|
22568
22285
|
if (!params.getContainer()) {
|
|
22569
|
-
doOnce(function () { return
|
|
22286
|
+
doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
|
|
22570
22287
|
return;
|
|
22571
22288
|
}
|
|
22572
22289
|
if (this.dragAndDropService.findExternalZone(params)) {
|
|
22573
|
-
console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
|
|
22574
22290
|
return;
|
|
22575
22291
|
}
|
|
22576
22292
|
var processedParams = {
|
|
@@ -23097,10 +22813,7 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
23097
22813
|
_this.sizeColumnsToFit(params, -1);
|
|
23098
22814
|
}, 500);
|
|
23099
22815
|
}
|
|
23100
|
-
else
|
|
23101
|
-
console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
|
|
23102
|
-
'zero width, maybe the grid is not visible yet on the screen?');
|
|
23103
|
-
}
|
|
22816
|
+
else ;
|
|
23104
22817
|
};
|
|
23105
22818
|
// + rangeService
|
|
23106
22819
|
GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
|
|
@@ -24761,7 +24474,6 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24761
24474
|
CellCtrl.prototype.createCellRendererParams = function () {
|
|
24762
24475
|
var _this = this;
|
|
24763
24476
|
var addRowCompListener = function (eventType, listener) {
|
|
24764
|
-
console.warn('AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided.');
|
|
24765
24477
|
_this.rowCtrl.addEventListener(eventType, listener);
|
|
24766
24478
|
};
|
|
24767
24479
|
var res = {
|
|
@@ -25290,11 +25002,11 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25290
25002
|
if (rowDragManaged) {
|
|
25291
25003
|
// row dragging only available in default row model
|
|
25292
25004
|
if (!clientSideRowModelActive) {
|
|
25293
|
-
doOnce(function () { return
|
|
25005
|
+
doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
|
|
25294
25006
|
return;
|
|
25295
25007
|
}
|
|
25296
25008
|
if (pagination) {
|
|
25297
|
-
doOnce(function () { return
|
|
25009
|
+
doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
|
|
25298
25010
|
return;
|
|
25299
25011
|
}
|
|
25300
25012
|
}
|
|
@@ -25511,7 +25223,6 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25511
25223
|
var gow = this.beans.gridOptionsWrapper;
|
|
25512
25224
|
if (gow.isEnableRangeSelection()) {
|
|
25513
25225
|
doOnce(function () {
|
|
25514
|
-
console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
|
|
25515
25226
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25516
25227
|
return;
|
|
25517
25228
|
}
|
|
@@ -25524,12 +25235,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25524
25235
|
var params = this.createFullWidthParams(gui.element, pinned);
|
|
25525
25236
|
var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
|
|
25526
25237
|
if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
|
|
25527
|
-
if (ModuleRegistry.isPackageBased())
|
|
25528
|
-
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
|
|
25529
|
-
}
|
|
25530
|
-
else {
|
|
25531
|
-
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
|
|
25532
|
-
}
|
|
25238
|
+
if (ModuleRegistry.isPackageBased()) ;
|
|
25533
25239
|
return;
|
|
25534
25240
|
}
|
|
25535
25241
|
var compDetails;
|
|
@@ -26280,7 +25986,6 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26280
25986
|
// part 1 - rowStyle
|
|
26281
25987
|
var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
|
|
26282
25988
|
if (rowStyle && typeof rowStyle === 'function') {
|
|
26283
|
-
console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
|
|
26284
25989
|
return;
|
|
26285
25990
|
}
|
|
26286
25991
|
// part 1 - rowStyleFunc
|
|
@@ -26395,14 +26100,12 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26395
26100
|
RowCtrl.prototype.addEventListener = function (eventType, listener) {
|
|
26396
26101
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26397
26102
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26398
|
-
console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26399
26103
|
}
|
|
26400
26104
|
_super.prototype.addEventListener.call(this, eventType, listener);
|
|
26401
26105
|
};
|
|
26402
26106
|
RowCtrl.prototype.removeEventListener = function (eventType, listener) {
|
|
26403
26107
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26404
26108
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26405
|
-
console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26406
26109
|
}
|
|
26407
26110
|
_super.prototype.removeEventListener.call(this, eventType, listener);
|
|
26408
26111
|
};
|
|
@@ -28562,7 +28265,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28562
28265
|
var userCell = userFunc(params);
|
|
28563
28266
|
if (exists(userCell)) {
|
|
28564
28267
|
if (userCell.floating) {
|
|
28565
|
-
doOnce(function () {
|
|
28268
|
+
doOnce(function () { }, 'no floating in userCell');
|
|
28566
28269
|
userCell.rowPinned = userCell.floating;
|
|
28567
28270
|
}
|
|
28568
28271
|
nextPosition = {
|
|
@@ -28695,7 +28398,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28695
28398
|
var userCell = userFunc(params);
|
|
28696
28399
|
if (exists(userCell)) {
|
|
28697
28400
|
if (userCell.floating) {
|
|
28698
|
-
doOnce(function () {
|
|
28401
|
+
doOnce(function () { }, 'no floating in userCell');
|
|
28699
28402
|
userCell.rowPinned = userCell.floating;
|
|
28700
28403
|
}
|
|
28701
28404
|
nextCell = {
|
|
@@ -29250,7 +28953,6 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29250
28953
|
return;
|
|
29251
28954
|
}
|
|
29252
28955
|
if (!cellEditor.getGui) {
|
|
29253
|
-
console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
|
|
29254
28956
|
this.beans.context.destroyBean(cellEditor);
|
|
29255
28957
|
return;
|
|
29256
28958
|
}
|
|
@@ -29288,10 +28990,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29288
28990
|
};
|
|
29289
28991
|
CellComp.prototype.addPopupCellEditor = function (params, position) {
|
|
29290
28992
|
var _this = this;
|
|
29291
|
-
if (this.beans.gridOptionsWrapper.isFullRowEdit())
|
|
29292
|
-
console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
|
|
29293
|
-
'- either turn off fullRowEdit, or stop using popup editors.');
|
|
29294
|
-
}
|
|
28993
|
+
if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
|
|
29295
28994
|
var cellEditor = this.cellEditor;
|
|
29296
28995
|
// if a popup, then we wrap in a popup editor and return the popup
|
|
29297
28996
|
this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
|
|
@@ -29475,9 +29174,6 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29475
29174
|
};
|
|
29476
29175
|
RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
|
|
29477
29176
|
var _this = this;
|
|
29478
|
-
if (this.fullWidthCellRenderer) {
|
|
29479
|
-
console.error('AG Grid - should not be setting fullWidthRowComponent twice');
|
|
29480
|
-
}
|
|
29481
29177
|
this.fullWidthCellRenderer = fullWidthRowComponent;
|
|
29482
29178
|
this.addDestroyFunc(function () {
|
|
29483
29179
|
_this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
|
|
@@ -29902,7 +29598,6 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29902
29598
|
switch (hDirection) {
|
|
29903
29599
|
case HorizontalDirection.Left: return HorizontalDirection.Right;
|
|
29904
29600
|
case HorizontalDirection.Right: return HorizontalDirection.Left;
|
|
29905
|
-
default: console.error("AG Grid: Unknown direction " + hDirection);
|
|
29906
29601
|
}
|
|
29907
29602
|
}
|
|
29908
29603
|
else {
|
|
@@ -30943,7 +30638,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30943
30638
|
}
|
|
30944
30639
|
var exportMode = this.getExcelExportMode(params);
|
|
30945
30640
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30946
|
-
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30947
30641
|
return;
|
|
30948
30642
|
}
|
|
30949
30643
|
return this.excelCreator.getDataAsExcel(params);
|
|
@@ -30955,7 +30649,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30955
30649
|
}
|
|
30956
30650
|
var exportMode = this.getExcelExportMode(params);
|
|
30957
30651
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30958
|
-
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30959
30652
|
return;
|
|
30960
30653
|
}
|
|
30961
30654
|
this.excelCreator.exportDataAsExcel(params);
|
|
@@ -30983,7 +30676,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30983
30676
|
};
|
|
30984
30677
|
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30985
30678
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30986
|
-
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30987
30679
|
this.setServerSideDatasource(datasource);
|
|
30988
30680
|
};
|
|
30989
30681
|
/**
|
|
@@ -31012,9 +30704,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31012
30704
|
// should really have an IEnterpriseRowModel interface, so we are not casting to any
|
|
31013
30705
|
this.serverSideRowModel.setDatasource(datasource);
|
|
31014
30706
|
}
|
|
31015
|
-
else {
|
|
31016
|
-
console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31017
|
-
}
|
|
31018
30707
|
};
|
|
31019
30708
|
/**
|
|
31020
30709
|
* Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
|
|
@@ -31023,7 +30712,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31023
30712
|
* */
|
|
31024
30713
|
GridApi.prototype.setCacheBlockSize = function (blockSize) {
|
|
31025
30714
|
if (!this.serverSideRowModel) {
|
|
31026
|
-
console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31027
30715
|
return;
|
|
31028
30716
|
}
|
|
31029
30717
|
this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
|
|
@@ -31034,9 +30722,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31034
30722
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
31035
30723
|
this.rowModel.setDatasource(datasource);
|
|
31036
30724
|
}
|
|
31037
|
-
else {
|
|
31038
|
-
console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
|
|
31039
|
-
}
|
|
31040
30725
|
};
|
|
31041
30726
|
/** Set new datasource for Viewport Row Model. */
|
|
31042
30727
|
GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
|
|
@@ -31046,16 +30731,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31046
30731
|
// the enterprise implement it, rather than casting to 'any' here
|
|
31047
30732
|
this.rowModel.setViewportDatasource(viewportDatasource);
|
|
31048
30733
|
}
|
|
31049
|
-
else {
|
|
31050
|
-
console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
|
|
31051
|
-
}
|
|
31052
30734
|
};
|
|
31053
30735
|
/** Set the row data. */
|
|
31054
30736
|
GridApi.prototype.setRowData = function (rowData) {
|
|
31055
30737
|
// immutable service is part of the CSRM module, if missing, no CSRM
|
|
31056
30738
|
var missingImmutableService = this.immutableService == null;
|
|
31057
30739
|
if (missingImmutableService) {
|
|
31058
|
-
console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
|
|
31059
30740
|
return;
|
|
31060
30741
|
}
|
|
31061
30742
|
// if no keys provided provided for rows, then we can tread the operation as Immutable
|
|
@@ -31069,32 +30750,26 @@ var GridApi = /** @class */ (function () {
|
|
|
31069
30750
|
};
|
|
31070
30751
|
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
31071
30752
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
31072
|
-
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
31073
30753
|
this.setPinnedTopRowData(rows);
|
|
31074
30754
|
};
|
|
31075
30755
|
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
31076
30756
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
31077
|
-
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
31078
30757
|
this.setPinnedBottomRowData(rows);
|
|
31079
30758
|
};
|
|
31080
30759
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
31081
30760
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
31082
|
-
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
31083
30761
|
return this.getPinnedTopRowCount();
|
|
31084
30762
|
};
|
|
31085
30763
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
31086
30764
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
31087
|
-
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
31088
30765
|
return this.getPinnedBottomRowCount();
|
|
31089
30766
|
};
|
|
31090
30767
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
31091
30768
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
31092
|
-
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
31093
30769
|
return this.getPinnedTopRow(index);
|
|
31094
30770
|
};
|
|
31095
30771
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
31096
30772
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
31097
|
-
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
31098
30773
|
return this.getPinnedBottomRow(index);
|
|
31099
30774
|
};
|
|
31100
30775
|
/** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
|
|
@@ -31175,7 +30850,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31175
30850
|
if (params === void 0) { params = {}; }
|
|
31176
30851
|
if (Array.isArray(params)) {
|
|
31177
30852
|
// the old version of refreshCells() took an array of rowNodes for the first argument
|
|
31178
|
-
console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
|
|
31179
30853
|
return;
|
|
31180
30854
|
}
|
|
31181
30855
|
this.rowRenderer.refreshCells(params);
|
|
@@ -31229,12 +30903,8 @@ var GridApi = /** @class */ (function () {
|
|
|
31229
30903
|
* It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
|
|
31230
30904
|
*/
|
|
31231
30905
|
GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
|
|
31232
|
-
if (missing(this.clientSideRowModel))
|
|
31233
|
-
|
|
31234
|
-
}
|
|
31235
|
-
if (exists(deprecated_refreshFromIndex)) {
|
|
31236
|
-
console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
|
|
31237
|
-
}
|
|
30906
|
+
if (missing(this.clientSideRowModel)) ;
|
|
30907
|
+
if (exists(deprecated_refreshFromIndex)) ;
|
|
31238
30908
|
// we don't really want the user calling this if only one rowNode was expanded, instead they should be
|
|
31239
30909
|
// calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
|
|
31240
30910
|
// grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
|
|
@@ -31243,7 +30913,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31243
30913
|
};
|
|
31244
30914
|
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
31245
30915
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
31246
|
-
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
31247
30916
|
this.refreshClientSideRowModel(step);
|
|
31248
30917
|
};
|
|
31249
30918
|
/**
|
|
@@ -31251,9 +30920,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31251
30920
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
31252
30921
|
*/
|
|
31253
30922
|
GridApi.prototype.refreshClientSideRowModel = function (step) {
|
|
31254
|
-
if (missing(this.clientSideRowModel))
|
|
31255
|
-
console.warn('cannot call refreshClientSideRowModel unless using normal row model');
|
|
31256
|
-
}
|
|
30923
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31257
30924
|
var paramsStep = ClientSideRowModelSteps.EVERYTHING;
|
|
31258
30925
|
var stepsMapped = {
|
|
31259
30926
|
everything: ClientSideRowModelSteps.EVERYTHING,
|
|
@@ -31268,7 +30935,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31268
30935
|
paramsStep = stepsMapped[step];
|
|
31269
30936
|
}
|
|
31270
30937
|
if (missing(paramsStep)) {
|
|
31271
|
-
console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
|
|
31272
30938
|
return;
|
|
31273
30939
|
}
|
|
31274
30940
|
var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
|
|
@@ -31314,9 +30980,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31314
30980
|
else if (this.serverSideRowModel) {
|
|
31315
30981
|
this.serverSideRowModel.expandAll(true);
|
|
31316
30982
|
}
|
|
31317
|
-
else
|
|
31318
|
-
console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
|
|
31319
|
-
}
|
|
30983
|
+
else ;
|
|
31320
30984
|
};
|
|
31321
30985
|
/** Collapse all groups. */
|
|
31322
30986
|
GridApi.prototype.collapseAll = function () {
|
|
@@ -31326,23 +30990,17 @@ var GridApi = /** @class */ (function () {
|
|
|
31326
30990
|
else if (this.serverSideRowModel) {
|
|
31327
30991
|
this.serverSideRowModel.expandAll(false);
|
|
31328
30992
|
}
|
|
31329
|
-
else
|
|
31330
|
-
console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
|
|
31331
|
-
}
|
|
30993
|
+
else ;
|
|
31332
30994
|
};
|
|
31333
30995
|
/** Gets the tool panel instance corresponding to the supplied `id`. */
|
|
31334
30996
|
GridApi.prototype.getToolPanelInstance = function (id) {
|
|
31335
30997
|
if (!this.sideBarComp) {
|
|
31336
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31337
30998
|
return;
|
|
31338
30999
|
}
|
|
31339
31000
|
var comp = this.sideBarComp.getToolPanelInstance(id);
|
|
31340
31001
|
return unwrapUserComp(comp);
|
|
31341
31002
|
};
|
|
31342
31003
|
GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
|
|
31343
|
-
if (typeof eventName !== 'string') {
|
|
31344
|
-
console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
|
|
31345
|
-
}
|
|
31346
31004
|
this.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31347
31005
|
};
|
|
31348
31006
|
/**
|
|
@@ -31353,9 +31011,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31353
31011
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31354
31012
|
*/
|
|
31355
31013
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
31356
|
-
if (eventName === 'virtualRowSelected') {
|
|
31357
|
-
console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
|
|
31358
|
-
}
|
|
31359
31014
|
this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31360
31015
|
};
|
|
31361
31016
|
/** Pass a quick filter text into the grid for filtering. */
|
|
@@ -31364,38 +31019,19 @@ var GridApi = /** @class */ (function () {
|
|
|
31364
31019
|
};
|
|
31365
31020
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31366
31021
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31367
|
-
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31368
|
-
if (suppressEvents) {
|
|
31369
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31370
|
-
}
|
|
31371
31022
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31372
31023
|
};
|
|
31373
31024
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31374
31025
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31375
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31376
|
-
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31377
|
-
if (suppressEvents) {
|
|
31378
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31379
|
-
}
|
|
31380
31026
|
this.selectionService.deselectIndex(index);
|
|
31381
31027
|
};
|
|
31382
31028
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31383
31029
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31384
31030
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31385
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31386
|
-
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31387
|
-
if (suppressEvents) {
|
|
31388
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31389
|
-
}
|
|
31390
31031
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31391
31032
|
};
|
|
31392
31033
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31393
31034
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31394
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31395
|
-
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31396
|
-
if (suppressEvents) {
|
|
31397
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31398
|
-
}
|
|
31399
31035
|
node.setSelectedParams({ newValue: false });
|
|
31400
31036
|
};
|
|
31401
31037
|
/** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
|
|
@@ -31416,10 +31052,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31416
31052
|
};
|
|
31417
31053
|
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31418
31054
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31419
|
-
if (missing(this.clientSideRowModel))
|
|
31420
|
-
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
31421
|
-
}
|
|
31422
|
-
console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
|
|
31055
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31423
31056
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
|
|
31424
31057
|
};
|
|
31425
31058
|
/**
|
|
@@ -31441,12 +31074,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31441
31074
|
this.overlayWrapperComp.hideOverlay();
|
|
31442
31075
|
};
|
|
31443
31076
|
GridApi.prototype.isNodeSelected = function (node) {
|
|
31444
|
-
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31445
31077
|
return node.isSelected();
|
|
31446
31078
|
};
|
|
31447
31079
|
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31448
31080
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31449
|
-
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31450
31081
|
return null;
|
|
31451
31082
|
};
|
|
31452
31083
|
/**
|
|
@@ -31475,7 +31106,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31475
31106
|
};
|
|
31476
31107
|
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31477
31108
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31478
|
-
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31479
31109
|
};
|
|
31480
31110
|
/**
|
|
31481
31111
|
* Ensures the column is visible by scrolling the table if needed.
|
|
@@ -31517,9 +31147,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31517
31147
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
31518
31148
|
*/
|
|
31519
31149
|
GridApi.prototype.forEachLeafNode = function (callback) {
|
|
31520
|
-
if (missing(this.clientSideRowModel))
|
|
31521
|
-
console.warn('cannot call forEachNode unless using normal row model');
|
|
31522
|
-
}
|
|
31150
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31523
31151
|
this.clientSideRowModel.forEachLeafNode(callback);
|
|
31524
31152
|
};
|
|
31525
31153
|
/**
|
|
@@ -31533,16 +31161,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31533
31161
|
};
|
|
31534
31162
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
31535
31163
|
GridApi.prototype.forEachNodeAfterFilter = function (callback) {
|
|
31536
|
-
if (missing(this.clientSideRowModel))
|
|
31537
|
-
console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
|
|
31538
|
-
}
|
|
31164
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31539
31165
|
this.clientSideRowModel.forEachNodeAfterFilter(callback);
|
|
31540
31166
|
};
|
|
31541
31167
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
31542
31168
|
GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
|
|
31543
|
-
if (missing(this.clientSideRowModel))
|
|
31544
|
-
console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
|
|
31545
|
-
}
|
|
31169
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31546
31170
|
this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
|
|
31547
31171
|
};
|
|
31548
31172
|
/**
|
|
@@ -31780,12 +31404,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31780
31404
|
};
|
|
31781
31405
|
/** @deprecated use `setProcessPivotResultColDef` instead */
|
|
31782
31406
|
GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
|
|
31783
|
-
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
|
|
31784
31407
|
this.setProcessPivotResultColDef(processSecondaryColDefFunc);
|
|
31785
31408
|
};
|
|
31786
31409
|
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
|
|
31787
31410
|
GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
|
|
31788
|
-
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
|
|
31789
31411
|
this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
|
|
31790
31412
|
};
|
|
31791
31413
|
GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
|
|
@@ -31841,9 +31463,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31841
31463
|
/** Show/hide the entire side bar, including any visible panel and the tab buttons. */
|
|
31842
31464
|
GridApi.prototype.setSideBarVisible = function (show) {
|
|
31843
31465
|
if (!this.sideBarComp) {
|
|
31844
|
-
if (show) {
|
|
31845
|
-
console.warn('AG Grid: sideBar is not loaded');
|
|
31846
|
-
}
|
|
31847
31466
|
return;
|
|
31848
31467
|
}
|
|
31849
31468
|
this.sideBarComp.setDisplayed(show);
|
|
@@ -31851,7 +31470,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31851
31470
|
/** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
|
|
31852
31471
|
GridApi.prototype.setSideBarPosition = function (position) {
|
|
31853
31472
|
if (!this.sideBarComp) {
|
|
31854
|
-
console.warn('AG Grid: sideBar is not loaded');
|
|
31855
31473
|
return;
|
|
31856
31474
|
}
|
|
31857
31475
|
this.sideBarComp.setSideBarPosition(position);
|
|
@@ -31859,7 +31477,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31859
31477
|
/** Opens a particular tool panel. Provide the ID of the tool panel to open. */
|
|
31860
31478
|
GridApi.prototype.openToolPanel = function (key) {
|
|
31861
31479
|
if (!this.sideBarComp) {
|
|
31862
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31863
31480
|
return;
|
|
31864
31481
|
}
|
|
31865
31482
|
this.sideBarComp.openToolPanel(key);
|
|
@@ -31867,7 +31484,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31867
31484
|
/** Closes the currently open tool panel (if any). */
|
|
31868
31485
|
GridApi.prototype.closeToolPanel = function () {
|
|
31869
31486
|
if (!this.sideBarComp) {
|
|
31870
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31871
31487
|
return;
|
|
31872
31488
|
}
|
|
31873
31489
|
this.sideBarComp.close();
|
|
@@ -31893,14 +31509,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31893
31509
|
};
|
|
31894
31510
|
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31895
31511
|
GridApi.prototype.doLayout = function () {
|
|
31896
|
-
|
|
31897
|
-
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
31512
|
+
doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
|
|
31898
31513
|
};
|
|
31899
31514
|
/** Tells the grid to recalculate the row heights. */
|
|
31900
31515
|
GridApi.prototype.resetRowHeights = function () {
|
|
31901
31516
|
if (exists(this.clientSideRowModel)) {
|
|
31902
31517
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
31903
|
-
console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
|
|
31904
31518
|
return;
|
|
31905
31519
|
}
|
|
31906
31520
|
this.clientSideRowModel.resetRowHeights();
|
|
@@ -31987,9 +31601,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31987
31601
|
setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
|
|
31988
31602
|
};
|
|
31989
31603
|
GridApi.prototype.warnIfDestroyed = function (methodName) {
|
|
31990
|
-
if (this.destroyCalled) {
|
|
31991
|
-
console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
|
|
31992
|
-
}
|
|
31993
31604
|
return this.destroyCalled;
|
|
31994
31605
|
};
|
|
31995
31606
|
/** Reset the quick filter cache text on every rowNode. */
|
|
@@ -32001,7 +31612,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32001
31612
|
};
|
|
32002
31613
|
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
32003
31614
|
GridApi.prototype.getRangeSelections = function () {
|
|
32004
|
-
console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation.");
|
|
32005
31615
|
return null;
|
|
32006
31616
|
};
|
|
32007
31617
|
/** Returns the list of selected cell ranges. */
|
|
@@ -32009,7 +31619,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32009
31619
|
if (this.rangeService) {
|
|
32010
31620
|
return this.rangeService.getCellRanges();
|
|
32011
31621
|
}
|
|
32012
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32013
31622
|
return null;
|
|
32014
31623
|
};
|
|
32015
31624
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
@@ -32017,20 +31626,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32017
31626
|
};
|
|
32018
31627
|
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
32019
31628
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
32020
|
-
console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');
|
|
32021
31629
|
};
|
|
32022
31630
|
/** Adds the provided cell range to the selected ranges. */
|
|
32023
31631
|
GridApi.prototype.addCellRange = function (params) {
|
|
32024
|
-
if (!this.rangeService) {
|
|
32025
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32026
|
-
}
|
|
32027
31632
|
this.rangeService.addCellRange(params);
|
|
32028
31633
|
};
|
|
32029
31634
|
/** Clears the selected ranges. */
|
|
32030
31635
|
GridApi.prototype.clearRangeSelection = function () {
|
|
32031
|
-
if (!this.rangeService) {
|
|
32032
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32033
|
-
}
|
|
32034
31636
|
this.rangeService.removeAllCellRanges();
|
|
32035
31637
|
};
|
|
32036
31638
|
/** Reverts the last cell edit. */
|
|
@@ -32117,30 +31719,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32117
31719
|
};
|
|
32118
31720
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
32119
31721
|
GridApi.prototype.copyToClipboard = function (params) {
|
|
32120
|
-
if (!this.clipboardService) {
|
|
32121
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32122
|
-
}
|
|
32123
31722
|
this.clipboardService.copyToClipboard(params);
|
|
32124
31723
|
};
|
|
32125
31724
|
/** Copies the selected rows to the clipboard. */
|
|
32126
31725
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
32127
|
-
if (!this.clipboardService) {
|
|
32128
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32129
|
-
}
|
|
32130
31726
|
this.clipboardService.copySelectedRowsToClipboard(params);
|
|
32131
31727
|
};
|
|
32132
31728
|
/** Copies the selected ranges to the clipboard. */
|
|
32133
31729
|
GridApi.prototype.copySelectedRangeToClipboard = function (params) {
|
|
32134
|
-
if (!this.clipboardService) {
|
|
32135
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32136
|
-
}
|
|
32137
31730
|
this.clipboardService.copySelectedRangeToClipboard(params);
|
|
32138
31731
|
};
|
|
32139
31732
|
/** Copies the selected range down, similar to `Ctrl + D` in Excel. */
|
|
32140
31733
|
GridApi.prototype.copySelectedRangeDown = function () {
|
|
32141
|
-
if (!this.clipboardService) {
|
|
32142
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32143
|
-
}
|
|
32144
31734
|
this.clipboardService.copyRangeDown();
|
|
32145
31735
|
};
|
|
32146
31736
|
/** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
|
|
@@ -32157,7 +31747,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32157
31747
|
column = this.columnModel.getPrimaryColumn(colKey);
|
|
32158
31748
|
}
|
|
32159
31749
|
if (!column) {
|
|
32160
|
-
console.error("AG Grid: column '" + colKey + "' not found");
|
|
32161
31750
|
return;
|
|
32162
31751
|
}
|
|
32163
31752
|
this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
|
|
@@ -32210,7 +31799,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32210
31799
|
GridApi.prototype.startEditingCell = function (params) {
|
|
32211
31800
|
var column = this.columnModel.getGridColumn(params.colKey);
|
|
32212
31801
|
if (!column) {
|
|
32213
|
-
console.warn("AG Grid: no column found for " + params.colKey);
|
|
32214
31802
|
return;
|
|
32215
31803
|
}
|
|
32216
31804
|
var cellPosition = {
|
|
@@ -32249,14 +31837,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32249
31837
|
/** Apply transactions to the server side row model. */
|
|
32250
31838
|
GridApi.prototype.applyServerSideTransaction = function (transaction) {
|
|
32251
31839
|
if (!this.serverSideTransactionManager) {
|
|
32252
|
-
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
32253
31840
|
return;
|
|
32254
31841
|
}
|
|
32255
31842
|
return this.serverSideTransactionManager.applyTransaction(transaction);
|
|
32256
31843
|
};
|
|
32257
31844
|
GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
|
|
32258
31845
|
if (!this.serverSideTransactionManager) {
|
|
32259
|
-
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
32260
31846
|
return;
|
|
32261
31847
|
}
|
|
32262
31848
|
return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
|
|
@@ -32264,14 +31850,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32264
31850
|
/** Gets all failed server side loads to retry. */
|
|
32265
31851
|
GridApi.prototype.retryServerSideLoads = function () {
|
|
32266
31852
|
if (!this.serverSideRowModel) {
|
|
32267
|
-
console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
|
|
32268
31853
|
return;
|
|
32269
31854
|
}
|
|
32270
31855
|
this.serverSideRowModel.retryLoads();
|
|
32271
31856
|
};
|
|
32272
31857
|
GridApi.prototype.flushServerSideAsyncTransactions = function () {
|
|
32273
31858
|
if (!this.serverSideTransactionManager) {
|
|
32274
|
-
console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
|
|
32275
31859
|
return;
|
|
32276
31860
|
}
|
|
32277
31861
|
return this.serverSideTransactionManager.flushAsyncTransactions();
|
|
@@ -32279,7 +31863,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32279
31863
|
/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
|
|
32280
31864
|
GridApi.prototype.applyTransaction = function (rowDataTransaction) {
|
|
32281
31865
|
if (!this.clientSideRowModel) {
|
|
32282
|
-
console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
|
|
32283
31866
|
return;
|
|
32284
31867
|
}
|
|
32285
31868
|
var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
|
|
@@ -32297,14 +31880,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32297
31880
|
};
|
|
32298
31881
|
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
32299
31882
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
32300
|
-
|
|
32301
|
-
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
31883
|
+
doOnce(function () { return (void 0); }, 'updateRowData deprecated');
|
|
32302
31884
|
return this.applyTransaction(rowDataTransaction);
|
|
32303
31885
|
};
|
|
32304
31886
|
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
|
|
32305
31887
|
GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
|
|
32306
31888
|
if (!this.clientSideRowModel) {
|
|
32307
|
-
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
32308
31889
|
return;
|
|
32309
31890
|
}
|
|
32310
31891
|
this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
|
|
@@ -32312,41 +31893,34 @@ var GridApi = /** @class */ (function () {
|
|
|
32312
31893
|
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
|
|
32313
31894
|
GridApi.prototype.flushAsyncTransactions = function () {
|
|
32314
31895
|
if (!this.clientSideRowModel) {
|
|
32315
|
-
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
32316
31896
|
return;
|
|
32317
31897
|
}
|
|
32318
31898
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
32319
31899
|
};
|
|
32320
31900
|
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
32321
31901
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
32322
|
-
|
|
32323
|
-
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
31902
|
+
doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
|
|
32324
31903
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
32325
31904
|
};
|
|
32326
31905
|
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
32327
31906
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32328
|
-
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
32329
31907
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
32330
31908
|
};
|
|
32331
31909
|
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32332
31910
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32333
|
-
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32334
31911
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
32335
31912
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
32336
31913
|
};
|
|
32337
31914
|
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32338
31915
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32339
|
-
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32340
31916
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
32341
31917
|
};
|
|
32342
31918
|
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32343
31919
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32344
|
-
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32345
31920
|
this.refreshInfiniteCache();
|
|
32346
31921
|
};
|
|
32347
31922
|
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32348
31923
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32349
|
-
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32350
31924
|
this.refreshInfiniteCache();
|
|
32351
31925
|
};
|
|
32352
31926
|
/**
|
|
@@ -32358,18 +31932,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32358
31932
|
if (this.infiniteRowModel) {
|
|
32359
31933
|
this.infiniteRowModel.refreshCache();
|
|
32360
31934
|
}
|
|
32361
|
-
else {
|
|
32362
|
-
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32363
|
-
}
|
|
32364
31935
|
};
|
|
32365
31936
|
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32366
31937
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32367
|
-
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32368
31938
|
this.purgeInfinitePageCache();
|
|
32369
31939
|
};
|
|
32370
31940
|
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32371
31941
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32372
|
-
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32373
31942
|
this.purgeInfiniteCache();
|
|
32374
31943
|
};
|
|
32375
31944
|
/**
|
|
@@ -32382,28 +31951,20 @@ var GridApi = /** @class */ (function () {
|
|
|
32382
31951
|
if (this.infiniteRowModel) {
|
|
32383
31952
|
this.infiniteRowModel.purgeCache();
|
|
32384
31953
|
}
|
|
32385
|
-
else {
|
|
32386
|
-
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32387
|
-
}
|
|
32388
31954
|
};
|
|
32389
31955
|
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
32390
31956
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32391
|
-
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
32392
31957
|
this.purgeServerSideCache(route);
|
|
32393
31958
|
};
|
|
32394
31959
|
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
32395
31960
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
32396
31961
|
if (route === void 0) { route = []; }
|
|
32397
31962
|
if (this.serverSideRowModel) {
|
|
32398
|
-
console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
|
|
32399
31963
|
this.refreshServerSide({
|
|
32400
31964
|
route: route,
|
|
32401
31965
|
purge: true
|
|
32402
31966
|
});
|
|
32403
31967
|
}
|
|
32404
|
-
else {
|
|
32405
|
-
console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
|
|
32406
|
-
}
|
|
32407
31968
|
};
|
|
32408
31969
|
/**
|
|
32409
31970
|
* Refresh a server-side level.
|
|
@@ -32412,34 +31973,29 @@ var GridApi = /** @class */ (function () {
|
|
|
32412
31973
|
*/
|
|
32413
31974
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
32414
31975
|
if (!this.serverSideRowModel) {
|
|
32415
|
-
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
32416
31976
|
return;
|
|
32417
31977
|
}
|
|
32418
31978
|
this.serverSideRowModel.refreshStore(params);
|
|
32419
31979
|
};
|
|
32420
31980
|
/** @deprecated use `refreshServerSide` instead */
|
|
32421
31981
|
GridApi.prototype.refreshServerSideStore = function (params) {
|
|
32422
|
-
|
|
32423
|
-
doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
|
|
31982
|
+
doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
|
|
32424
31983
|
return this.refreshServerSide(params);
|
|
32425
31984
|
};
|
|
32426
31985
|
/** @deprecated use `getServerSideGroupLevelState` instead */
|
|
32427
31986
|
GridApi.prototype.getServerSideStoreState = function () {
|
|
32428
|
-
|
|
32429
|
-
doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
|
|
31987
|
+
doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
|
|
32430
31988
|
return this.getServerSideGroupLevelState();
|
|
32431
31989
|
};
|
|
32432
31990
|
/** Returns info on all server side group levels. */
|
|
32433
31991
|
GridApi.prototype.getServerSideGroupLevelState = function () {
|
|
32434
31992
|
if (!this.serverSideRowModel) {
|
|
32435
|
-
console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
|
|
32436
31993
|
return [];
|
|
32437
31994
|
}
|
|
32438
31995
|
return this.serverSideRowModel.getStoreState();
|
|
32439
31996
|
};
|
|
32440
31997
|
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
32441
31998
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32442
|
-
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
32443
31999
|
return this.getInfiniteRowCount();
|
|
32444
32000
|
};
|
|
32445
32001
|
/** The row count defines how many rows the grid allows scrolling to. */
|
|
@@ -32447,13 +32003,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32447
32003
|
if (this.infiniteRowModel) {
|
|
32448
32004
|
return this.infiniteRowModel.getRowCount();
|
|
32449
32005
|
}
|
|
32450
|
-
else {
|
|
32451
|
-
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32452
|
-
}
|
|
32453
32006
|
};
|
|
32454
32007
|
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32455
32008
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32456
|
-
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32457
32009
|
return this.isLastRowIndexKnown();
|
|
32458
32010
|
};
|
|
32459
32011
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32461,18 +32013,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32461
32013
|
if (this.infiniteRowModel) {
|
|
32462
32014
|
return this.infiniteRowModel.isLastRowIndexKnown();
|
|
32463
32015
|
}
|
|
32464
|
-
else {
|
|
32465
|
-
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32466
|
-
}
|
|
32467
32016
|
};
|
|
32468
32017
|
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32469
32018
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32470
|
-
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32471
32019
|
this.setRowCount(rowCount, maxRowFound);
|
|
32472
32020
|
};
|
|
32473
32021
|
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32474
32022
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32475
|
-
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32476
32023
|
this.setRowCount(rowCount, maxRowFound);
|
|
32477
32024
|
};
|
|
32478
32025
|
/**
|
|
@@ -32486,18 +32033,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32486
32033
|
if (this.infiniteRowModel) {
|
|
32487
32034
|
this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
|
|
32488
32035
|
}
|
|
32489
|
-
else {
|
|
32490
|
-
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32491
|
-
}
|
|
32492
32036
|
};
|
|
32493
32037
|
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32494
32038
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32495
|
-
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32496
32039
|
return this.getCacheBlockState();
|
|
32497
32040
|
};
|
|
32498
32041
|
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32499
32042
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32500
|
-
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32501
32043
|
return this.getCacheBlockState();
|
|
32502
32044
|
};
|
|
32503
32045
|
/**
|
|
@@ -32508,11 +32050,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32508
32050
|
};
|
|
32509
32051
|
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32510
32052
|
GridApi.prototype.checkGridSize = function () {
|
|
32511
|
-
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32512
32053
|
};
|
|
32513
32054
|
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32514
32055
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32515
|
-
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32516
32056
|
return this.getFirstDisplayedRow();
|
|
32517
32057
|
};
|
|
32518
32058
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -32521,7 +32061,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32521
32061
|
};
|
|
32522
32062
|
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32523
32063
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32524
|
-
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32525
32064
|
return this.getLastDisplayedRow();
|
|
32526
32065
|
};
|
|
32527
32066
|
/** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -33573,11 +33112,7 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33573
33112
|
};
|
|
33574
33113
|
};
|
|
33575
33114
|
SelectAllFeature.prototype.checkRightRowModelType = function () {
|
|
33576
|
-
|
|
33577
|
-
var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
33578
|
-
if (!rowModelMatches) {
|
|
33579
|
-
console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
|
|
33580
|
-
}
|
|
33115
|
+
this.rowModel.getType();
|
|
33581
33116
|
};
|
|
33582
33117
|
SelectAllFeature.prototype.onCbSelectAll = function () {
|
|
33583
33118
|
if (this.processingEventFromCheckbox) {
|
|
@@ -33609,15 +33144,12 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33609
33144
|
}
|
|
33610
33145
|
if (result) {
|
|
33611
33146
|
if (this.gridOptionsWrapper.isRowModelServerSide()) {
|
|
33612
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
|
|
33613
33147
|
return false;
|
|
33614
33148
|
}
|
|
33615
33149
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
33616
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
|
|
33617
33150
|
return false;
|
|
33618
33151
|
}
|
|
33619
33152
|
if (this.gridOptionsWrapper.isRowModelViewport()) {
|
|
33620
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
|
|
33621
33153
|
return false;
|
|
33622
33154
|
}
|
|
33623
33155
|
// otherwise the row model is compatible, so return true
|
|
@@ -36234,9 +35766,6 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
36234
35766
|
// frames. this stops bugs - where some code is asking for a frame to be executed
|
|
36235
35767
|
// when it should not.
|
|
36236
35768
|
AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
|
|
36237
|
-
if (this.useAnimationFrame === false) {
|
|
36238
|
-
console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
|
|
36239
|
-
}
|
|
36240
35769
|
};
|
|
36241
35770
|
AnimationFrameService.prototype.createTask = function (task, index, list) {
|
|
36242
35771
|
this.verifyAnimationFrameOn(list);
|
|
@@ -37473,10 +37002,10 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37473
37002
|
this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
|
|
37474
37003
|
if (this.gridOptionsWrapper.isGroupRowsSticky()) {
|
|
37475
37004
|
if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
37476
|
-
doOnce(function () { return
|
|
37005
|
+
doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
|
|
37477
37006
|
}
|
|
37478
37007
|
else if (this.gridOptionsWrapper.isTreeData()) {
|
|
37479
|
-
doOnce(function () { return
|
|
37008
|
+
doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
|
|
37480
37009
|
}
|
|
37481
37010
|
else {
|
|
37482
37011
|
this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
|
|
@@ -41620,9 +41149,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41620
41149
|
if (menuItemOrString === 'separator') {
|
|
41621
41150
|
_this.addSeparator();
|
|
41622
41151
|
}
|
|
41623
|
-
else if (typeof menuItemOrString === 'string')
|
|
41624
|
-
console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
|
|
41625
|
-
}
|
|
41152
|
+
else if (typeof menuItemOrString === 'string') ;
|
|
41626
41153
|
else {
|
|
41627
41154
|
_this.addItem(menuItemOrString);
|
|
41628
41155
|
}
|
|
@@ -41987,9 +41514,7 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41987
41514
|
else if (typeof this.params.icon === 'string') {
|
|
41988
41515
|
icon.innerHTML = this.params.icon;
|
|
41989
41516
|
}
|
|
41990
|
-
else
|
|
41991
|
-
console.warn('AG Grid: menu item icon must be DOM node or string');
|
|
41992
|
-
}
|
|
41517
|
+
else ;
|
|
41993
41518
|
}
|
|
41994
41519
|
this.getGui().appendChild(icon);
|
|
41995
41520
|
};
|
|
@@ -42939,7 +42464,6 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42939
42464
|
var eDocument = this.gridOptionsWrapper.getDocument();
|
|
42940
42465
|
var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
|
|
42941
42466
|
if (!eDocument) {
|
|
42942
|
-
console.warn('ag-grid: could not find the document, document is empty');
|
|
42943
42467
|
return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
|
|
42944
42468
|
}
|
|
42945
42469
|
var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
|
|
@@ -43352,7 +42876,6 @@ var VirtualList = /** @class */ (function (_super) {
|
|
|
43352
42876
|
VirtualList.prototype.ensureIndexVisible = function (index) {
|
|
43353
42877
|
var lastRow = this.model.getRowCount();
|
|
43354
42878
|
if (typeof index !== 'number' || index < 0 || index >= lastRow) {
|
|
43355
|
-
console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
|
|
43356
42879
|
return;
|
|
43357
42880
|
}
|
|
43358
42881
|
var rowTopPixel = index * this.rowHeight;
|
|
@@ -43656,7 +43179,6 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43656
43179
|
break;
|
|
43657
43180
|
default:
|
|
43658
43181
|
pointer = null;
|
|
43659
|
-
console.warn('AG Grid: unknown key for navigation ' + key);
|
|
43660
43182
|
break;
|
|
43661
43183
|
}
|
|
43662
43184
|
if (pointer) {
|
|
@@ -44051,12 +43573,6 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
44051
43573
|
var groupOpenedEvent = event;
|
|
44052
43574
|
_this.processGroupOpenedEvent(groupOpenedEvent);
|
|
44053
43575
|
break;
|
|
44054
|
-
case Events.EVENT_COLUMN_PIVOT_CHANGED:
|
|
44055
|
-
// we cannot support pivoting with aligned grids as the columns will be out of sync as the
|
|
44056
|
-
// grids will have columns created based on the row data of the grid.
|
|
44057
|
-
console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
|
|
44058
|
-
'You can only use one of these features at a time in a grid.');
|
|
44059
|
-
break;
|
|
44060
43576
|
}
|
|
44061
43577
|
});
|
|
44062
43578
|
};
|
|
@@ -44358,13 +43874,11 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44358
43874
|
// where groups don't actually appear in the selection normally.
|
|
44359
43875
|
SelectionService.prototype.getBestCostNodeSelection = function () {
|
|
44360
43876
|
if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
44361
|
-
console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
|
|
44362
43877
|
return;
|
|
44363
43878
|
}
|
|
44364
43879
|
var clientSideRowModel = this.rowModel;
|
|
44365
43880
|
var topLevelNodes = clientSideRowModel.getTopLevelNodes();
|
|
44366
43881
|
if (topLevelNodes === null) {
|
|
44367
|
-
console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
|
|
44368
43882
|
return;
|
|
44369
43883
|
}
|
|
44370
43884
|
var result = [];
|
|
@@ -44406,7 +43920,6 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44406
43920
|
var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
44407
43921
|
if (justFiltered) {
|
|
44408
43922
|
if (!rowModelClientSide) {
|
|
44409
|
-
console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
|
|
44410
43923
|
return;
|
|
44411
43924
|
}
|
|
44412
43925
|
var clientSideRowModel = this.rowModel;
|
|
@@ -44519,11 +44032,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44519
44032
|
}
|
|
44520
44033
|
/** 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. */
|
|
44521
44034
|
ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
|
|
44522
|
-
// AG-3403 validate that gridWidth is provided because this method has the same name as
|
|
44523
|
-
// a method on the grid API that takes no arguments, and it's easy to confuse the two
|
|
44524
|
-
if (typeof gridWidth === "undefined") {
|
|
44525
|
-
console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
|
|
44526
|
-
}
|
|
44527
44035
|
this.columnModel.sizeColumnsToFit(gridWidth, 'api');
|
|
44528
44036
|
};
|
|
44529
44037
|
/** Call this if you want to open or close a column group. */
|
|
@@ -44592,7 +44100,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44592
44100
|
ColumnApi.prototype.moveColumn = function (key, toIndex) {
|
|
44593
44101
|
if (typeof key === 'number') {
|
|
44594
44102
|
// moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
|
|
44595
|
-
console.warn('AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');
|
|
44596
44103
|
this.columnModel.moveColumnByIndex(key, toIndex, 'api');
|
|
44597
44104
|
}
|
|
44598
44105
|
else {
|
|
@@ -44623,7 +44130,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44623
44130
|
ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
|
|
44624
44131
|
/** @deprecated Use `getPivotResultColumn` instead */
|
|
44625
44132
|
ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
|
|
44626
|
-
console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
|
|
44627
44133
|
return this.getPivotResultColumn(pivotKeys, valueColKey);
|
|
44628
44134
|
};
|
|
44629
44135
|
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
|
|
@@ -44682,21 +44188,18 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44682
44188
|
ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
|
|
44683
44189
|
/** @deprecated Use `setPivotResultColumns` instead. */
|
|
44684
44190
|
ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
|
|
44685
|
-
console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
|
|
44686
44191
|
this.setPivotResultColumns(colDefs);
|
|
44687
44192
|
};
|
|
44688
44193
|
/** Set the pivot result columns. */
|
|
44689
44194
|
ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
|
|
44690
44195
|
/** @deprecated Use `getPivotResultColumns` instead. */
|
|
44691
44196
|
ColumnApi.prototype.getSecondaryColumns = function () {
|
|
44692
|
-
console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
|
|
44693
44197
|
return this.getPivotResultColumns();
|
|
44694
44198
|
};
|
|
44695
44199
|
/** Returns the grid's pivot result columns. */
|
|
44696
44200
|
ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
|
|
44697
44201
|
/** @deprecated Use `getColumns` instead. */
|
|
44698
44202
|
ColumnApi.prototype.getPrimaryColumns = function () {
|
|
44699
|
-
console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
|
|
44700
44203
|
return this.getColumns();
|
|
44701
44204
|
};
|
|
44702
44205
|
ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
|
|
@@ -44715,82 +44218,66 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44715
44218
|
// }
|
|
44716
44219
|
/** @deprecated Use `getColumns` instead */
|
|
44717
44220
|
ColumnApi.prototype.getAllColumns = function () {
|
|
44718
|
-
console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
|
|
44719
44221
|
return this.getColumns();
|
|
44720
44222
|
};
|
|
44721
44223
|
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
|
|
44722
44224
|
ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
|
|
44723
|
-
console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
|
|
44724
44225
|
this.setColumnGroupOpened(group, newValue);
|
|
44725
44226
|
};
|
|
44726
44227
|
/** @deprecated hideColumns is deprecated, use setColumnsVisible */
|
|
44727
44228
|
ColumnApi.prototype.hideColumns = function (colIds, hide) {
|
|
44728
|
-
console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
|
|
44729
44229
|
this.columnModel.setColumnsVisible(colIds, !hide, 'api');
|
|
44730
44230
|
};
|
|
44731
44231
|
/** @deprecated hideColumn is deprecated, use setColumnVisible */
|
|
44732
44232
|
ColumnApi.prototype.hideColumn = function (colId, hide) {
|
|
44733
|
-
console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
|
|
44734
44233
|
this.columnModel.setColumnVisible(colId, !hide, 'api');
|
|
44735
44234
|
};
|
|
44736
44235
|
/** @deprecated setState is deprecated, use setColumnState */
|
|
44737
44236
|
ColumnApi.prototype.setState = function (columnState) {
|
|
44738
|
-
console.error('AG Grid: setState is deprecated, use setColumnState');
|
|
44739
44237
|
return this.setColumnState(columnState);
|
|
44740
44238
|
};
|
|
44741
44239
|
/** @deprecated getState is deprecated, use getColumnState */
|
|
44742
44240
|
ColumnApi.prototype.getState = function () {
|
|
44743
|
-
console.error('AG Grid: getState is deprecated, use getColumnState');
|
|
44744
44241
|
return this.getColumnState();
|
|
44745
44242
|
};
|
|
44746
44243
|
/** @deprecated resetState is deprecated, use resetColumnState */
|
|
44747
44244
|
ColumnApi.prototype.resetState = function () {
|
|
44748
|
-
console.error('AG Grid: resetState is deprecated, use resetColumnState');
|
|
44749
44245
|
this.resetColumnState();
|
|
44750
44246
|
};
|
|
44751
44247
|
/** @deprecated getAggregationColumns is deprecated, use getValueColumns */
|
|
44752
44248
|
ColumnApi.prototype.getAggregationColumns = function () {
|
|
44753
|
-
console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
|
|
44754
44249
|
return this.columnModel.getValueColumns();
|
|
44755
44250
|
};
|
|
44756
44251
|
/** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
|
|
44757
44252
|
ColumnApi.prototype.removeAggregationColumn = function (colKey) {
|
|
44758
|
-
console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
|
|
44759
44253
|
this.columnModel.removeValueColumn(colKey, 'api');
|
|
44760
44254
|
};
|
|
44761
44255
|
/** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
|
|
44762
44256
|
ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
|
|
44763
|
-
console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
|
|
44764
44257
|
this.columnModel.removeValueColumns(colKeys, 'api');
|
|
44765
44258
|
};
|
|
44766
44259
|
/** @deprecated addAggregationColumn is deprecated, use addValueColumn */
|
|
44767
44260
|
ColumnApi.prototype.addAggregationColumn = function (colKey) {
|
|
44768
|
-
console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
|
|
44769
44261
|
this.columnModel.addValueColumn(colKey, 'api');
|
|
44770
44262
|
};
|
|
44771
44263
|
/** @deprecated addAggregationColumns is deprecated, use addValueColumns */
|
|
44772
44264
|
ColumnApi.prototype.addAggregationColumns = function (colKeys) {
|
|
44773
|
-
console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
|
|
44774
44265
|
this.columnModel.addValueColumns(colKeys, 'api');
|
|
44775
44266
|
};
|
|
44776
44267
|
/** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
|
|
44777
44268
|
ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
|
|
44778
|
-
console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
|
|
44779
44269
|
this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
|
|
44780
44270
|
};
|
|
44781
44271
|
/** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
|
|
44782
44272
|
ColumnApi.prototype.getDisplayNameForCol = function (column) {
|
|
44783
|
-
console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
|
|
44784
44273
|
return this.getDisplayNameForColumn(column, null);
|
|
44785
44274
|
};
|
|
44786
44275
|
/** @deprecated setColumnState is deprecated, use applyColumnState. */
|
|
44787
44276
|
ColumnApi.prototype.setColumnState = function (columnState) {
|
|
44788
|
-
console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
|
|
44789
44277
|
return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
|
|
44790
44278
|
};
|
|
44791
44279
|
/** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
|
|
44792
44280
|
ColumnApi.prototype.getOriginalColumnGroup = function (name) {
|
|
44793
|
-
console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
|
|
44794
44281
|
return this.columnModel.getProvidedColumnGroup(name);
|
|
44795
44282
|
};
|
|
44796
44283
|
__decorate$1n([
|
|
@@ -44943,7 +44430,6 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44943
44430
|
// need either a field or a newValueHandler for this to work
|
|
44944
44431
|
if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
|
|
44945
44432
|
// we don't tell user about newValueHandler, as that is deprecated
|
|
44946
|
-
console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
|
|
44947
44433
|
return false;
|
|
44948
44434
|
}
|
|
44949
44435
|
var params = {
|
|
@@ -45120,7 +44606,6 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
45120
44606
|
result = String(result);
|
|
45121
44607
|
if (result === '[object Object]') {
|
|
45122
44608
|
doOnce(function () {
|
|
45123
|
-
console.warn('AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key');
|
|
45124
44609
|
}, 'getKeyForNode - warn about [object,object]');
|
|
45125
44610
|
}
|
|
45126
44611
|
return result;
|
|
@@ -45192,9 +44677,7 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
45192
44677
|
var expression = expressionOrFunc;
|
|
45193
44678
|
return this.evaluateExpression(expression, params);
|
|
45194
44679
|
}
|
|
45195
|
-
else
|
|
45196
|
-
console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
|
|
45197
|
-
}
|
|
44680
|
+
else ;
|
|
45198
44681
|
};
|
|
45199
44682
|
ExpressionService.prototype.evaluateExpression = function (expression, params) {
|
|
45200
44683
|
try {
|
|
@@ -45208,13 +44691,9 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
45208
44691
|
// the expression failed, which can happen, as it's the client that
|
|
45209
44692
|
// provides the expression. so print a nice message
|
|
45210
44693
|
// tslint:disable-next-line
|
|
45211
|
-
console.log('Processing of the expression failed');
|
|
45212
44694
|
// tslint:disable-next-line
|
|
45213
|
-
console.log('Expression = ' + expression);
|
|
45214
44695
|
// tslint:disable-next-line
|
|
45215
|
-
console.log('Params =', params);
|
|
45216
44696
|
// tslint:disable-next-line
|
|
45217
|
-
console.log('Exception = ' + e);
|
|
45218
44697
|
return null;
|
|
45219
44698
|
}
|
|
45220
44699
|
};
|
|
@@ -45312,7 +44791,6 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
45312
44791
|
};
|
|
45313
44792
|
TemplateService.prototype.handleHttpResult = function (httpResult, url) {
|
|
45314
44793
|
if (httpResult.status !== 200 || httpResult.response === null) {
|
|
45315
|
-
console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
|
|
45316
44794
|
return;
|
|
45317
44795
|
}
|
|
45318
44796
|
// response success, so process it
|
|
@@ -45393,10 +44871,7 @@ var Logger = /** @class */ (function () {
|
|
|
45393
44871
|
return this.isLoggingFunc();
|
|
45394
44872
|
};
|
|
45395
44873
|
Logger.prototype.log = function (message) {
|
|
45396
|
-
if (this.isLoggingFunc())
|
|
45397
|
-
// tslint:disable-next-line
|
|
45398
|
-
console.log('AG Grid.' + this.name + ': ' + message);
|
|
45399
|
-
}
|
|
44874
|
+
if (this.isLoggingFunc()) ;
|
|
45400
44875
|
};
|
|
45401
44876
|
return Logger;
|
|
45402
44877
|
}());
|
|
@@ -45796,7 +45271,6 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45796
45271
|
sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
|
|
45797
45272
|
}
|
|
45798
45273
|
if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
|
|
45799
|
-
console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
|
|
45800
45274
|
return null;
|
|
45801
45275
|
}
|
|
45802
45276
|
var currentIndex = sortingOrder.indexOf(column.getSort());
|
|
@@ -45811,7 +45285,6 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45811
45285
|
}
|
|
45812
45286
|
// verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
|
|
45813
45287
|
if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
|
|
45814
|
-
console.warn('AG Grid: invalid sort type ' + result);
|
|
45815
45288
|
return null;
|
|
45816
45289
|
}
|
|
45817
45290
|
return result;
|
|
@@ -46140,7 +45613,6 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
46140
45613
|
var doingTreeData = this.gridOptionsWrapper.isTreeData();
|
|
46141
45614
|
var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
|
|
46142
45615
|
if (doingTreeData && doingMultiAutoColumn) {
|
|
46143
|
-
console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
|
|
46144
45616
|
doingMultiAutoColumn = false;
|
|
46145
45617
|
}
|
|
46146
45618
|
// if doing groupMultiAutoColumn, then we call the method multiple times, once
|
|
@@ -46824,8 +46296,8 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46824
46296
|
var theme = themeMatch[0];
|
|
46825
46297
|
var usingOldTheme = themeMatch[2] === undefined;
|
|
46826
46298
|
if (usingOldTheme) {
|
|
46827
|
-
|
|
46828
|
-
doOnce(function () { return
|
|
46299
|
+
theme.replace('ag-', 'ag-theme-');
|
|
46300
|
+
doOnce(function () { return (void 0); }, 'using-old-theme');
|
|
46829
46301
|
}
|
|
46830
46302
|
return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
|
|
46831
46303
|
};
|
|
@@ -48331,7 +47803,6 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
48331
47803
|
var rowClass = this.gridOptionsWrapper.getRowClass();
|
|
48332
47804
|
if (rowClass) {
|
|
48333
47805
|
if (typeof rowClass === 'function') {
|
|
48334
|
-
console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
|
|
48335
47806
|
return [];
|
|
48336
47807
|
}
|
|
48337
47808
|
process(rowClass);
|
|
@@ -49172,7 +48643,6 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
|
|
|
49172
48643
|
var Grid = /** @class */ (function () {
|
|
49173
48644
|
function Grid(eGridDiv, gridOptions, params) {
|
|
49174
48645
|
if (!gridOptions) {
|
|
49175
|
-
console.error('AG Grid: no gridOptions provided to the grid');
|
|
49176
48646
|
return;
|
|
49177
48647
|
}
|
|
49178
48648
|
this.gridOptions = gridOptions;
|
|
@@ -49378,32 +48848,7 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
49378
48848
|
if (exists(rowModelClass)) {
|
|
49379
48849
|
return rowModelClass;
|
|
49380
48850
|
}
|
|
49381
|
-
if (ModuleRegistry.isPackageBased())
|
|
49382
|
-
if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
|
|
49383
|
-
// If package based only the enterprise row models could be missing.
|
|
49384
|
-
console.error("AG Grid: Row Model \"" + rowModelType + "\" not found. Please ensure the package 'ag-grid-enterprise' is imported. Please see: https://www.ag-grid.com/javascript-grid/packages/");
|
|
49385
|
-
}
|
|
49386
|
-
else {
|
|
49387
|
-
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49388
|
-
}
|
|
49389
|
-
}
|
|
49390
|
-
else {
|
|
49391
|
-
if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
|
|
49392
|
-
console.error("AG Grid: Row Model \"Infinite\" not found. Please ensure the " + ModuleNames.InfiniteRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
|
|
49393
|
-
}
|
|
49394
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
|
|
49395
|
-
console.error("AG Grid: Row Model \"Viewport\" not found. Please ensure the AG Grid Enterprise Module " + ModuleNames.ViewportRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
|
|
49396
|
-
}
|
|
49397
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
|
|
49398
|
-
console.error("AG Grid: Row Model \"Server Side\" not found. Please ensure the AG Grid Enterprise Module " + ModuleNames.ServerSideRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
|
|
49399
|
-
}
|
|
49400
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
49401
|
-
console.error("AG Grid: Row Model \"Client Side\" not found. Please ensure the " + ModuleNames.ClientSideRowModelModule + " module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/");
|
|
49402
|
-
}
|
|
49403
|
-
else {
|
|
49404
|
-
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49405
|
-
}
|
|
49406
|
-
}
|
|
48851
|
+
if (ModuleRegistry.isPackageBased()) ;
|
|
49407
48852
|
};
|
|
49408
48853
|
return GridCoreCreator;
|
|
49409
48854
|
}());
|
|
@@ -49665,51 +49110,15 @@ var LicenseManager = /** @class */ (function (_super) {
|
|
|
49665
49110
|
}
|
|
49666
49111
|
};
|
|
49667
49112
|
LicenseManager.prototype.outputInvalidLicenseKey = function () {
|
|
49668
|
-
console.error('*****************************************************************************************************************');
|
|
49669
|
-
console.error('***************************************** AG Grid Enterprise License ********************************************');
|
|
49670
|
-
console.error('********************************************* Invalid License ***************************************************');
|
|
49671
|
-
console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
|
|
49672
|
-
console.error('*****************************************************************************************************************');
|
|
49673
|
-
console.error('*****************************************************************************************************************');
|
|
49674
49113
|
this.watermarkMessage = "Invalid License";
|
|
49675
49114
|
};
|
|
49676
49115
|
LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
|
|
49677
|
-
console.error('****************************************************************************************************************');
|
|
49678
|
-
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49679
|
-
console.error('***************************************** Trial Period Expired. *******************************************');
|
|
49680
|
-
console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
|
|
49681
|
-
console.error('* Please email info@ag-grid.com to purchase a license. *');
|
|
49682
|
-
console.error('****************************************************************************************************************');
|
|
49683
|
-
console.error('****************************************************************************************************************');
|
|
49684
49116
|
this.watermarkMessage = "Trial Period Expired";
|
|
49685
49117
|
};
|
|
49686
49118
|
LicenseManager.prototype.outputMissingLicenseKey = function () {
|
|
49687
|
-
console.error('****************************************************************************************************************');
|
|
49688
|
-
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49689
|
-
console.error('****************************************** License Key Not Found ***********************************************');
|
|
49690
|
-
console.error('* All AG Grid Enterprise features are unlocked. *');
|
|
49691
|
-
console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
|
|
49692
|
-
console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
|
|
49693
|
-
console.error('****************************************************************************************************************');
|
|
49694
|
-
console.error('****************************************************************************************************************');
|
|
49695
49119
|
this.watermarkMessage = "For Trial Use Only";
|
|
49696
49120
|
};
|
|
49697
49121
|
LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
|
|
49698
|
-
console.error('****************************************************************************************************************************');
|
|
49699
|
-
console.error('****************************************************************************************************************************');
|
|
49700
|
-
console.error('* AG Grid Enterprise License *');
|
|
49701
|
-
console.error('* License not compatible with installed version of AG Grid Enterprise. *');
|
|
49702
|
-
console.error('* *');
|
|
49703
|
-
console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
|
|
49704
|
-
console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
|
|
49705
|
-
console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
|
|
49706
|
-
console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
|
|
49707
|
-
console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
|
|
49708
|
-
console.error('* *');
|
|
49709
|
-
console.error('* Please contact info@ag-grid.com to renew your subscription to new versions and get a new license key to work with this *');
|
|
49710
|
-
console.error('* version of AG Grid. *');
|
|
49711
|
-
console.error('****************************************************************************************************************************');
|
|
49712
|
-
console.error('****************************************************************************************************************************');
|
|
49713
49122
|
this.watermarkMessage = "License Expired";
|
|
49714
49123
|
};
|
|
49715
49124
|
var LicenseManager_1;
|
|
@@ -52082,12 +51491,10 @@ var RangeService = /** @class */ (function (_super) {
|
|
|
52082
51491
|
var isSameColumn = columnFrom === columnTo;
|
|
52083
51492
|
var fromIndex = allColumns.indexOf(columnFrom);
|
|
52084
51493
|
if (fromIndex < 0) {
|
|
52085
|
-
console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
|
|
52086
51494
|
return;
|
|
52087
51495
|
}
|
|
52088
51496
|
var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
|
|
52089
51497
|
if (toIndex < 0) {
|
|
52090
|
-
console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
|
|
52091
51498
|
return;
|
|
52092
51499
|
}
|
|
52093
51500
|
if (isSameColumn) {
|
|
@@ -53022,12 +52429,10 @@ var ServerSideRowModel = /** @class */ (function (_super) {
|
|
|
53022
52429
|
};
|
|
53023
52430
|
ServerSideRowModel.prototype.verifyProps = function () {
|
|
53024
52431
|
if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
|
|
53025
|
-
|
|
53026
|
-
_.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
|
|
52432
|
+
_.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
|
|
53027
52433
|
}
|
|
53028
52434
|
if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
|
|
53029
|
-
|
|
53030
|
-
_.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
52435
|
+
_.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
53031
52436
|
}
|
|
53032
52437
|
};
|
|
53033
52438
|
ServerSideRowModel.prototype.setDatasource = function (datasource) {
|
|
@@ -53577,11 +52982,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53577
52982
|
rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
|
|
53578
52983
|
if (rowNode.key === null || rowNode.key === undefined) {
|
|
53579
52984
|
_.doOnce(function () {
|
|
53580
|
-
console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
|
|
53581
|
-
if (rowNode.rowGroupColumn) {
|
|
53582
|
-
console.warn("column = " + rowNode.rowGroupColumn.getId());
|
|
53583
|
-
}
|
|
53584
|
-
console.warn("data is ", rowNode.data);
|
|
53585
52985
|
}, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
|
|
53586
52986
|
}
|
|
53587
52987
|
};
|
|
@@ -53698,7 +53098,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53698
53098
|
var bottomPointer = 0;
|
|
53699
53099
|
var topPointer = rowNodes.length - 1;
|
|
53700
53100
|
if (_.missing(topPointer) || _.missing(bottomPointer)) {
|
|
53701
|
-
console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
|
|
53702
53101
|
return undefined;
|
|
53703
53102
|
}
|
|
53704
53103
|
while (true) {
|
|
@@ -53727,7 +53126,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53727
53126
|
topPointer = midPointer - 1;
|
|
53728
53127
|
}
|
|
53729
53128
|
else {
|
|
53730
|
-
console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
|
|
53731
53129
|
return undefined;
|
|
53732
53130
|
}
|
|
53733
53131
|
}
|
|
@@ -53843,11 +53241,6 @@ var NodeManager = /** @class */ (function () {
|
|
|
53843
53241
|
}
|
|
53844
53242
|
NodeManager.prototype.addRowNode = function (rowNode) {
|
|
53845
53243
|
var id = rowNode.id;
|
|
53846
|
-
if (this.rowNodes[id]) {
|
|
53847
|
-
console.warn("AG Grid: Duplicate node id " + rowNode.id + ". Row ID's are provided via the getRowId() callback. Please modify the getRowId() callback code to provide unique row id values.");
|
|
53848
|
-
console.warn('first instance', this.rowNodes[id].data);
|
|
53849
|
-
console.warn('second instance', rowNode.data);
|
|
53850
|
-
}
|
|
53851
53244
|
this.rowNodes[id] = rowNode;
|
|
53852
53245
|
};
|
|
53853
53246
|
NodeManager.prototype.removeNode = function (rowNode) {
|
|
@@ -54779,8 +54172,7 @@ var InfiniteStore = /** @class */ (function (_super) {
|
|
|
54779
54172
|
Object.assign(this.info, info);
|
|
54780
54173
|
}
|
|
54781
54174
|
if (!params.rowData) {
|
|
54782
|
-
|
|
54783
|
-
_.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
|
|
54175
|
+
_.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
|
|
54784
54176
|
}
|
|
54785
54177
|
var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
|
|
54786
54178
|
// if we are not active, then we ignore all events, otherwise we could end up getting the
|
|
@@ -55539,8 +54931,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55539
54931
|
this.nodesAfterFilter = [];
|
|
55540
54932
|
this.allNodesMap = {};
|
|
55541
54933
|
if (!params.rowData) {
|
|
55542
|
-
|
|
55543
|
-
_.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
|
|
54934
|
+
_.doOnce(function () { return (void 0); }, 'FullStore.noData');
|
|
55544
54935
|
}
|
|
55545
54936
|
this.createOrRecycleNodes(nodesToRecycle, params.rowData);
|
|
55546
54937
|
if (nodesToRecycle) {
|
|
@@ -55915,7 +55306,6 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55915
55306
|
});
|
|
55916
55307
|
rowNode = this.allNodesMap[id];
|
|
55917
55308
|
if (!rowNode) {
|
|
55918
|
-
console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
|
|
55919
55309
|
return null;
|
|
55920
55310
|
}
|
|
55921
55311
|
}
|
|
@@ -55923,7 +55313,6 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55923
55313
|
// find rowNode using object references
|
|
55924
55314
|
rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
|
|
55925
55315
|
if (!rowNode) {
|
|
55926
|
-
console.error("AG Grid: could not find data item as object was not found", data);
|
|
55927
55316
|
return null;
|
|
55928
55317
|
}
|
|
55929
55318
|
}
|
|
@@ -56071,15 +55460,11 @@ var StoreFactory = /** @class */ (function () {
|
|
|
56071
55460
|
return undefined;
|
|
56072
55461
|
}
|
|
56073
55462
|
if (ssrmParams.dynamicRowHeight) {
|
|
56074
|
-
|
|
56075
|
-
'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56076
|
-
_.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
55463
|
+
_.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
56077
55464
|
return undefined;
|
|
56078
55465
|
}
|
|
56079
55466
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
56080
|
-
|
|
56081
|
-
'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56082
|
-
_.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
55467
|
+
_.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
56083
55468
|
return undefined;
|
|
56084
55469
|
}
|
|
56085
55470
|
return maxBlocksInCache;
|
|
@@ -56307,7 +55692,6 @@ var Downloader = /** @class */ (function () {
|
|
|
56307
55692
|
Downloader.download = function (fileName, content) {
|
|
56308
55693
|
var win = document.defaultView || window;
|
|
56309
55694
|
if (!win) {
|
|
56310
|
-
console.warn('AG Grid: There is no `window` associated with the current `document`');
|
|
56311
55695
|
return;
|
|
56312
55696
|
}
|
|
56313
55697
|
var element = document.createElement('a');
|
|
@@ -56441,7 +55825,6 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
56441
55825
|
stringValue = value.toString();
|
|
56442
55826
|
}
|
|
56443
55827
|
else {
|
|
56444
|
-
console.warn('AG Grid: unknown value type during csv conversion');
|
|
56445
55828
|
stringValue = '';
|
|
56446
55829
|
}
|
|
56447
55830
|
// replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
|
|
@@ -56496,7 +55879,6 @@ var CsvCreator = /** @class */ (function (_super) {
|
|
|
56496
55879
|
};
|
|
56497
55880
|
CsvCreator.prototype.export = function (userParams) {
|
|
56498
55881
|
if (this.isExportSuppressed()) {
|
|
56499
|
-
console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
|
|
56500
55882
|
return '';
|
|
56501
55883
|
}
|
|
56502
55884
|
var mergedParams = this.getMergedParams(userParams);
|
|
@@ -56616,7 +55998,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56616
55998
|
var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
|
|
56617
55999
|
var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
|
|
56618
56000
|
if (skipRowGroups && params.skipGroups) {
|
|
56619
|
-
_.doOnce(function () { return
|
|
56001
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
|
|
56620
56002
|
}
|
|
56621
56003
|
if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
|
|
56622
56004
|
(params.onlySelected && !node.isSelected()) ||
|
|
@@ -56650,7 +56032,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56650
56032
|
var appendContent = params.customFooter || params.appendContent;
|
|
56651
56033
|
if (appendContent) {
|
|
56652
56034
|
if (params.customFooter) {
|
|
56653
|
-
_.doOnce(function () { return
|
|
56035
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
|
|
56654
56036
|
}
|
|
56655
56037
|
gridSerializingSession.addCustomContent(appendContent);
|
|
56656
56038
|
}
|
|
@@ -56662,7 +56044,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56662
56044
|
var prependContent = params.customHeader || params.prependContent;
|
|
56663
56045
|
if (prependContent) {
|
|
56664
56046
|
if (params.customHeader) {
|
|
56665
|
-
_.doOnce(function () { return
|
|
56047
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
|
|
56666
56048
|
}
|
|
56667
56049
|
gridSerializingSession.addCustomContent(prependContent);
|
|
56668
56050
|
}
|
|
@@ -56684,7 +56066,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56684
56066
|
_this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
|
|
56685
56067
|
}
|
|
56686
56068
|
else if (params.columnGroups) {
|
|
56687
|
-
_.doOnce(function () { return
|
|
56069
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
|
|
56688
56070
|
}
|
|
56689
56071
|
return gridSerializingSession;
|
|
56690
56072
|
};
|
|
@@ -56698,7 +56080,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56698
56080
|
});
|
|
56699
56081
|
}
|
|
56700
56082
|
else if (params.skipHeader) {
|
|
56701
|
-
_.doOnce(function () { return
|
|
56083
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
|
|
56702
56084
|
}
|
|
56703
56085
|
return gridSerializingSession;
|
|
56704
56086
|
};
|
|
@@ -56946,12 +56328,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56946
56328
|
.then(this.processClipboardData.bind(this))
|
|
56947
56329
|
.catch(function (e) {
|
|
56948
56330
|
_.doOnce(function () {
|
|
56949
|
-
console.warn(e);
|
|
56950
|
-
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
|
|
56951
|
-
'The reason why it could not be used has been logged in the previous line. ' +
|
|
56952
|
-
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
56953
|
-
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
56954
|
-
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
|
|
56955
56331
|
}, 'clipboardApiError');
|
|
56956
56332
|
_this.navigatorApiFailed = true;
|
|
56957
56333
|
_this.pasteFromClipboardLegacy();
|
|
@@ -57478,12 +56854,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57478
56854
|
if (allowNavigator && navigator.clipboard) {
|
|
57479
56855
|
navigator.clipboard.writeText(data).catch(function (e) {
|
|
57480
56856
|
_.doOnce(function () {
|
|
57481
|
-
console.warn(e);
|
|
57482
|
-
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
|
|
57483
|
-
'The reason why it could not be used has been logged in the previous line. ' +
|
|
57484
|
-
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
57485
|
-
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
57486
|
-
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
|
|
57487
56857
|
}, 'clipboardApiError');
|
|
57488
56858
|
_this.copyDataToClipboardLegacy(data);
|
|
57489
56859
|
});
|
|
@@ -57500,12 +56870,7 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57500
56870
|
element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
|
|
57501
56871
|
element.select();
|
|
57502
56872
|
element.focus({ preventScroll: true });
|
|
57503
|
-
|
|
57504
|
-
if (!result) {
|
|
57505
|
-
console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
|
|
57506
|
-
'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
|
|
57507
|
-
'the browser will prevent it for security reasons.');
|
|
57508
|
-
}
|
|
56873
|
+
eDocument.execCommand('copy');
|
|
57509
56874
|
if (focusedElementBefore != null && focusedElementBefore.focus != null) {
|
|
57510
56875
|
focusedElementBefore.focus({ preventScroll: true });
|
|
57511
56876
|
}
|
|
@@ -57529,7 +56894,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57529
56894
|
callbackNow(eTempInput);
|
|
57530
56895
|
}
|
|
57531
56896
|
catch (err) {
|
|
57532
|
-
console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
|
|
57533
56897
|
}
|
|
57534
56898
|
//It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
|
|
57535
56899
|
if (callbackAfter) {
|
|
@@ -58802,7 +58166,6 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
|
|
|
58802
58166
|
return false;
|
|
58803
58167
|
};
|
|
58804
58168
|
ToolPanelColumnComp.prototype.setExpanded = function (value) {
|
|
58805
|
-
console.warn('AG Grid: can not expand a column item that does not represent a column group header');
|
|
58806
58169
|
};
|
|
58807
58170
|
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>";
|
|
58808
58171
|
__decorate$q([
|
|
@@ -59097,10 +58460,7 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
|
|
|
59097
58460
|
expandedGroupIds.push(groupId);
|
|
59098
58461
|
}
|
|
59099
58462
|
});
|
|
59100
|
-
|
|
59101
|
-
if (unrecognisedGroupIds.length > 0) {
|
|
59102
|
-
console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
|
|
59103
|
-
}
|
|
58463
|
+
groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59104
58464
|
};
|
|
59105
58465
|
PrimaryColsListPanel.prototype.getExpandState = function () {
|
|
59106
58466
|
var expandedCount = 0;
|
|
@@ -59494,7 +58854,6 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
59494
58854
|
this.aggFuncService.getAggFunc(aggFuncOrString) :
|
|
59495
58855
|
aggFuncOrString;
|
|
59496
58856
|
if (typeof aggFunc !== 'function') {
|
|
59497
|
-
console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
|
|
59498
58857
|
return null;
|
|
59499
58858
|
}
|
|
59500
58859
|
var aggFuncAny = aggFunc;
|
|
@@ -60021,9 +59380,6 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
60021
59380
|
GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
|
|
60022
59381
|
var path = this.getGroupInfo(childNode, details);
|
|
60023
59382
|
var parentGroup = this.findParentForNode(childNode, path, details);
|
|
60024
|
-
if (!parentGroup.group) {
|
|
60025
|
-
console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
|
|
60026
|
-
}
|
|
60027
59383
|
if (this.usingTreeData) {
|
|
60028
59384
|
this.swapGroupWithUserNode(parentGroup, childNode, isMove);
|
|
60029
59385
|
}
|
|
@@ -60161,7 +59517,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
60161
59517
|
GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
|
|
60162
59518
|
var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
60163
59519
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
60164
|
-
_.doOnce(function () { return
|
|
59520
|
+
_.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
|
|
60165
59521
|
}
|
|
60166
59522
|
var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
|
|
60167
59523
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -62886,7 +62242,6 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
|
|
|
62886
62242
|
var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
|
|
62887
62243
|
var componentPromise = compDetails.newAgStackInstance();
|
|
62888
62244
|
if (componentPromise == null) {
|
|
62889
|
-
console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
|
|
62890
62245
|
return;
|
|
62891
62246
|
}
|
|
62892
62247
|
componentPromise.then(this.setToolPanelComponent.bind(this));
|
|
@@ -63081,7 +62436,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63081
62436
|
var _this = this;
|
|
63082
62437
|
defs.forEach(function (def) {
|
|
63083
62438
|
if (def.id == null) {
|
|
63084
|
-
console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
|
|
63085
62439
|
return;
|
|
63086
62440
|
}
|
|
63087
62441
|
// helpers, in case user doesn't have the right module loaded
|
|
@@ -63127,7 +62481,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63127
62481
|
SideBarComp.prototype.getToolPanelInstance = function (key) {
|
|
63128
62482
|
var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
|
|
63129
62483
|
if (!toolPanelWrapper) {
|
|
63130
|
-
console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
|
|
63131
62484
|
return;
|
|
63132
62485
|
}
|
|
63133
62486
|
return toolPanelWrapper.getToolPanelInstance();
|
|
@@ -63213,7 +62566,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63213
62566
|
}
|
|
63214
62567
|
ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
|
|
63215
62568
|
var _this = this;
|
|
63216
|
-
var invalidColIds = [];
|
|
63217
62569
|
var createDummyColGroup = function (abstractColDef, depth) {
|
|
63218
62570
|
if (_this.isColGroupDef(abstractColDef)) {
|
|
63219
62571
|
// creating 'dummy' group which is not associated with grid column group
|
|
@@ -63235,9 +62587,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63235
62587
|
var colDef = abstractColDef;
|
|
63236
62588
|
var key = colDef.colId ? colDef.colId : colDef.field;
|
|
63237
62589
|
var column = _this.columnModel.getPrimaryColumn(key);
|
|
63238
|
-
if (!column) {
|
|
63239
|
-
invalidColIds.push(colDef);
|
|
63240
|
-
}
|
|
63241
62590
|
return column;
|
|
63242
62591
|
}
|
|
63243
62592
|
};
|
|
@@ -63249,9 +62598,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63249
62598
|
mappedResults.push(result);
|
|
63250
62599
|
}
|
|
63251
62600
|
});
|
|
63252
|
-
if (invalidColIds.length > 0) {
|
|
63253
|
-
console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
|
|
63254
|
-
}
|
|
63255
62601
|
return mappedResults;
|
|
63256
62602
|
};
|
|
63257
62603
|
ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
|
|
@@ -63806,15 +63152,10 @@ var EnterpriseMenu = /** @class */ (function (_super) {
|
|
|
63806
63152
|
};
|
|
63807
63153
|
EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
|
|
63808
63154
|
var isValid = true;
|
|
63809
|
-
var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
|
|
63810
63155
|
if (this.restrictTo != null) {
|
|
63811
63156
|
isValid = this.restrictTo.indexOf(menuTabName) > -1;
|
|
63812
|
-
itemsToConsider = this.restrictTo;
|
|
63813
63157
|
}
|
|
63814
63158
|
isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
|
|
63815
|
-
if (!isValid) {
|
|
63816
|
-
console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
|
|
63817
|
-
}
|
|
63818
63159
|
return isValid;
|
|
63819
63160
|
};
|
|
63820
63161
|
EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
|
|
@@ -64525,7 +63866,6 @@ var MenuItemMapper = /** @class */ (function (_super) {
|
|
|
64525
63866
|
return chartMenuItem;
|
|
64526
63867
|
}
|
|
64527
63868
|
else {
|
|
64528
|
-
console.warn("AG Grid: unknown menu item type " + key);
|
|
64529
63869
|
return null;
|
|
64530
63870
|
}
|
|
64531
63871
|
}
|