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