@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
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
|
-
import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, KeyboardManager } from '@sankhyalabs/core';
|
|
2
|
+
import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, KeyboardManager } from '@sankhyalabs/core';
|
|
3
3
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
4
|
-
import { A as ApplicationUtils } from './ApplicationUtils-
|
|
4
|
+
import { A as ApplicationUtils } from './ApplicationUtils-7270d89f.js';
|
|
5
5
|
import './DialogType-54a62731.js';
|
|
6
6
|
import './CheckMode-bdb2ec19.js';
|
|
7
|
-
import { g as getI18n, i as initI18n } from './index-
|
|
8
|
-
import { C as CustomEditorSource, a as CustomRenderSource } from './
|
|
9
|
-
import './
|
|
10
|
-
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-9414ad22.js';
|
|
7
|
+
import { g as getI18n, i as initI18n } from './index-8088eb6e.js';
|
|
8
|
+
import { C as CustomEditorSource, a as CustomRenderSource } from './FormLayout-071d324c.js';
|
|
9
|
+
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-d98f7d96.js';
|
|
11
10
|
import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
|
|
12
11
|
import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
|
|
13
|
-
import { p as purify } from './purify-
|
|
12
|
+
import { p as purify } from './purify-96c0d5c2.js';
|
|
14
13
|
import './_commonjsHelpers-9943807e.js';
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -436,7 +435,6 @@ function removeAllReferences(obj, objectName) {
|
|
|
436
435
|
// leave all basic types - this is needed for GridAPI to leave the "destroyed: boolean" attribute alone
|
|
437
436
|
if (typeof value === 'function') {
|
|
438
437
|
var func = function () {
|
|
439
|
-
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.");
|
|
440
438
|
};
|
|
441
439
|
properties[key] = { value: func, writable: true };
|
|
442
440
|
}
|
|
@@ -607,9 +605,6 @@ function waitUntil(condition, callback, timeout, timeoutMessage) {
|
|
|
607
605
|
window.clearInterval(interval);
|
|
608
606
|
interval = null;
|
|
609
607
|
}
|
|
610
|
-
if (reachedTimeout && timeoutMessage) {
|
|
611
|
-
console.warn(timeoutMessage);
|
|
612
|
-
}
|
|
613
608
|
}
|
|
614
609
|
};
|
|
615
610
|
internalCallback();
|
|
@@ -711,14 +706,9 @@ var Context = /** @class */ (function () {
|
|
|
711
706
|
Context.prototype.createBeanWrapper = function (BeanClass) {
|
|
712
707
|
var metaData = BeanClass.__agBeanMetaData;
|
|
713
708
|
if (!metaData) {
|
|
714
|
-
var beanName = void 0;
|
|
715
709
|
if (BeanClass.prototype.constructor) {
|
|
716
|
-
|
|
717
|
-
}
|
|
718
|
-
else {
|
|
719
|
-
beanName = "" + BeanClass;
|
|
710
|
+
getFunctionName(BeanClass.prototype.constructor);
|
|
720
711
|
}
|
|
721
|
-
console.error("Context item " + beanName + " is not a bean");
|
|
722
712
|
return;
|
|
723
713
|
}
|
|
724
714
|
var beanEntry = {
|
|
@@ -790,7 +780,6 @@ var Context = /** @class */ (function () {
|
|
|
790
780
|
return beansList;
|
|
791
781
|
};
|
|
792
782
|
Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {
|
|
793
|
-
if (optional === void 0) { optional = false; }
|
|
794
783
|
if (beanName === "context") {
|
|
795
784
|
return this;
|
|
796
785
|
}
|
|
@@ -801,9 +790,6 @@ var Context = /** @class */ (function () {
|
|
|
801
790
|
if (beanEntry) {
|
|
802
791
|
return beanEntry.beanInstance;
|
|
803
792
|
}
|
|
804
|
-
if (!optional) {
|
|
805
|
-
console.error("AG Grid: unable to find bean reference " + beanName + " while initialising " + wiringBean);
|
|
806
|
-
}
|
|
807
793
|
return null;
|
|
808
794
|
};
|
|
809
795
|
Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {
|
|
@@ -910,11 +896,9 @@ function Optional(name) {
|
|
|
910
896
|
}
|
|
911
897
|
function autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {
|
|
912
898
|
if (name === null) {
|
|
913
|
-
console.error("AG Grid: Autowired name should not be null");
|
|
914
899
|
return;
|
|
915
900
|
}
|
|
916
901
|
if (typeof index === "number") {
|
|
917
|
-
console.error("AG Grid: Autowired should be on an attribute");
|
|
918
902
|
return;
|
|
919
903
|
}
|
|
920
904
|
// it's an attribute on the class
|
|
@@ -1246,8 +1230,6 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1246
1230
|
else {
|
|
1247
1231
|
if (ModuleRegistry.moduleBased !== moduleBased) {
|
|
1248
1232
|
doOnce(function () {
|
|
1249
|
-
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.");
|
|
1250
|
-
console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');
|
|
1251
1233
|
}, 'ModulePackageCheck');
|
|
1252
1234
|
}
|
|
1253
1235
|
}
|
|
@@ -1265,15 +1247,7 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1265
1247
|
return true;
|
|
1266
1248
|
}
|
|
1267
1249
|
var warningKey = reason + moduleName;
|
|
1268
|
-
var warningMessage;
|
|
1269
|
-
if (ModuleRegistry.moduleBased) {
|
|
1270
|
-
warningMessage = "AG Grid: unable to use " + reason + " as module " + moduleName + " is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";
|
|
1271
|
-
}
|
|
1272
|
-
else {
|
|
1273
|
-
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/";
|
|
1274
|
-
}
|
|
1275
1250
|
doOnce(function () {
|
|
1276
|
-
console.warn(warningMessage);
|
|
1277
1251
|
}, warningKey);
|
|
1278
1252
|
return false;
|
|
1279
1253
|
};
|
|
@@ -1466,11 +1440,9 @@ var Column = /** @class */ (function () {
|
|
|
1466
1440
|
var colDefAny = this.colDef;
|
|
1467
1441
|
function warnOnce(msg, key, obj) {
|
|
1468
1442
|
doOnce(function () {
|
|
1469
|
-
if (obj)
|
|
1470
|
-
console.warn(msg, obj);
|
|
1471
|
-
}
|
|
1443
|
+
if (obj) ;
|
|
1472
1444
|
else {
|
|
1473
|
-
doOnce(function () { return
|
|
1445
|
+
doOnce(function () { return (void 0); }, key);
|
|
1474
1446
|
}
|
|
1475
1447
|
}, key);
|
|
1476
1448
|
}
|
|
@@ -1938,19 +1910,16 @@ var Column = /** @class */ (function () {
|
|
|
1938
1910
|
// this used to be needed, as previous version of ag-grid had lockPosition as column state,
|
|
1939
1911
|
// so couldn't depend on colDef version.
|
|
1940
1912
|
Column.prototype.isLockPosition = function () {
|
|
1941
|
-
console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');
|
|
1942
1913
|
return this.colDef ? !!this.colDef.lockPosition : false;
|
|
1943
1914
|
};
|
|
1944
1915
|
// this used to be needed, as previous version of ag-grid had lockVisible as column state,
|
|
1945
1916
|
// so couldn't depend on colDef version.
|
|
1946
1917
|
Column.prototype.isLockVisible = function () {
|
|
1947
|
-
console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');
|
|
1948
1918
|
return this.colDef ? !!this.colDef.lockVisible : false;
|
|
1949
1919
|
};
|
|
1950
1920
|
// this used to be needed, as previous version of ag-grid had lockPinned as column state,
|
|
1951
1921
|
// so couldn't depend on colDef version.
|
|
1952
1922
|
Column.prototype.isLockPinned = function () {
|
|
1953
|
-
console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');
|
|
1954
1923
|
return this.colDef ? !!this.colDef.lockPinned : false;
|
|
1955
1924
|
};
|
|
1956
1925
|
// + renderedHeaderCell - for making header cell transparent when moving
|
|
@@ -2346,7 +2315,6 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2346
2315
|
};
|
|
2347
2316
|
/** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */
|
|
2348
2317
|
ColumnGroup.prototype.getOriginalColumnGroup = function () {
|
|
2349
|
-
console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');
|
|
2350
2318
|
return this.getProvidedColumnGroup();
|
|
2351
2319
|
};
|
|
2352
2320
|
ColumnGroup.prototype.getPaddingLevel = function () {
|
|
@@ -3222,9 +3190,7 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3222
3190
|
var typeKeys = [];
|
|
3223
3191
|
if (type instanceof Array) {
|
|
3224
3192
|
var invalidArray = type.some(function (a) { return typeof a !== 'string'; });
|
|
3225
|
-
if (invalidArray)
|
|
3226
|
-
console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'");
|
|
3227
|
-
}
|
|
3193
|
+
if (invalidArray) ;
|
|
3228
3194
|
else {
|
|
3229
3195
|
typeKeys = type;
|
|
3230
3196
|
}
|
|
@@ -3233,16 +3199,13 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3233
3199
|
typeKeys = type.split(',');
|
|
3234
3200
|
}
|
|
3235
3201
|
else {
|
|
3236
|
-
console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");
|
|
3237
3202
|
return;
|
|
3238
3203
|
}
|
|
3239
3204
|
// merge user defined with default column types
|
|
3240
3205
|
var allColumnTypes = Object.assign({}, DefaultColumnTypes);
|
|
3241
3206
|
var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};
|
|
3242
3207
|
iterateObject(userTypes, function (key, value) {
|
|
3243
|
-
if (key in allColumnTypes)
|
|
3244
|
-
console.warn("AG Grid: the column type '" + key + "' is a default column type and cannot be overridden.");
|
|
3245
|
-
}
|
|
3208
|
+
if (key in allColumnTypes) ;
|
|
3246
3209
|
else {
|
|
3247
3210
|
allColumnTypes[key] = value;
|
|
3248
3211
|
}
|
|
@@ -3252,34 +3215,12 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3252
3215
|
if (typeColDef) {
|
|
3253
3216
|
mergeDeep(colDefMerged, typeColDef, false, true);
|
|
3254
3217
|
}
|
|
3255
|
-
else {
|
|
3256
|
-
console.warn("AG Grid: colDef.type '" + t + "' does not correspond to defined gridOptions.columnTypes");
|
|
3257
|
-
}
|
|
3258
3218
|
});
|
|
3259
3219
|
};
|
|
3260
3220
|
ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {
|
|
3261
3221
|
if (colDef) {
|
|
3262
3222
|
var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type
|
|
3263
|
-
if (colDefNoType.group !== undefined) {
|
|
3264
|
-
console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3265
|
-
}
|
|
3266
|
-
if (colDefNoType.headerGroup !== undefined) {
|
|
3267
|
-
console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');
|
|
3268
|
-
}
|
|
3269
|
-
if (colDefNoType.headerGroupShow !== undefined) {
|
|
3270
|
-
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');
|
|
3271
|
-
}
|
|
3272
|
-
if (colDefNoType.suppressRowGroup !== undefined) {
|
|
3273
|
-
console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');
|
|
3274
|
-
}
|
|
3275
|
-
if (colDefNoType.suppressAggregation !== undefined) {
|
|
3276
|
-
console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');
|
|
3277
|
-
}
|
|
3278
|
-
if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {
|
|
3279
|
-
console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');
|
|
3280
|
-
}
|
|
3281
3223
|
if (colDefNoType.displayName) {
|
|
3282
|
-
console.warn("AG Grid: Found displayName " + colDefNoType.displayName + ", please use headerName instead, displayName is deprecated.");
|
|
3283
3224
|
colDefNoType.headerName = colDefNoType.displayName;
|
|
3284
3225
|
}
|
|
3285
3226
|
}
|
|
@@ -4341,7 +4282,6 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4341
4282
|
toParse.forEach(function (key) {
|
|
4342
4283
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];
|
|
4343
4284
|
if (!lookupResult) {
|
|
4344
|
-
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(','));
|
|
4345
4285
|
return;
|
|
4346
4286
|
}
|
|
4347
4287
|
comps_1.push(lookupResult);
|
|
@@ -4372,7 +4312,6 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4372
4312
|
if (typeof it === 'string') {
|
|
4373
4313
|
var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];
|
|
4374
4314
|
if (!lookupResult) {
|
|
4375
|
-
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(','));
|
|
4376
4315
|
return;
|
|
4377
4316
|
}
|
|
4378
4317
|
toAdd = lookupResult;
|
|
@@ -4969,7 +4908,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4969
4908
|
this.destroyed = true;
|
|
4970
4909
|
};
|
|
4971
4910
|
GridOptionsWrapper.prototype.init = function () {
|
|
4972
|
-
var _this = this;
|
|
4973
4911
|
if (this.gridOptions.suppressPropertyNamesCheck !== true) {
|
|
4974
4912
|
this.checkGridOptionsProperties();
|
|
4975
4913
|
this.checkColumnDefProperties();
|
|
@@ -4980,61 +4918,26 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4980
4918
|
}
|
|
4981
4919
|
var async = this.useAsyncEvents();
|
|
4982
4920
|
this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);
|
|
4983
|
-
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes())
|
|
4984
|
-
console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work");
|
|
4985
|
-
}
|
|
4921
|
+
if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) ;
|
|
4986
4922
|
if (this.isGroupSelectsChildren()) {
|
|
4987
|
-
if (!this.isRowSelectionMulti())
|
|
4988
|
-
|
|
4989
|
-
}
|
|
4990
|
-
if (this.isRowModelServerSide()) {
|
|
4991
|
-
console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +
|
|
4992
|
-
'This is because the rows are lazy loaded, so selecting a group is not possible as' +
|
|
4993
|
-
'the grid has no way of knowing what the children are.');
|
|
4994
|
-
}
|
|
4995
|
-
}
|
|
4996
|
-
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {
|
|
4997
|
-
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!");
|
|
4923
|
+
if (!this.isRowSelectionMulti()) ;
|
|
4924
|
+
if (this.isRowModelServerSide()) ;
|
|
4998
4925
|
}
|
|
4926
|
+
if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) ;
|
|
4999
4927
|
if (this.isRowModelServerSide()) {
|
|
5000
|
-
|
|
5001
|
-
if (exists(this.gridOptions.groupDefaultExpanded))
|
|
5002
|
-
|
|
5003
|
-
}
|
|
5004
|
-
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5005
|
-
console.warn(msg('groupIncludeFooter'));
|
|
5006
|
-
}
|
|
5007
|
-
if (exists(this.gridOptions.groupDefaultExpanded)) {
|
|
5008
|
-
console.warn(msg('groupIncludeTotalFooter'));
|
|
5009
|
-
}
|
|
4928
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
4929
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
4930
|
+
if (exists(this.gridOptions.groupDefaultExpanded)) ;
|
|
5010
4931
|
}
|
|
5011
4932
|
if (isTrue(this.gridOptions.enableRangeSelection)) {
|
|
5012
4933
|
ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');
|
|
5013
4934
|
}
|
|
5014
|
-
else if (this.isEnableRangeHandle() || this.isEnableFillHandle())
|
|
5015
|
-
console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");
|
|
5016
|
-
}
|
|
4935
|
+
else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) ;
|
|
5017
4936
|
if (this.isGroupRowsSticky()) {
|
|
5018
|
-
if (this.isGroupHideOpenParents())
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
if (this.isMasterDetail()) {
|
|
5022
|
-
console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.");
|
|
5023
|
-
}
|
|
5024
|
-
if (this.isPagination()) {
|
|
5025
|
-
console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.");
|
|
5026
|
-
}
|
|
4937
|
+
if (this.isGroupHideOpenParents()) ;
|
|
4938
|
+
if (this.isMasterDetail()) ;
|
|
4939
|
+
if (this.isPagination()) ;
|
|
5027
4940
|
}
|
|
5028
|
-
var warnOfDeprecaredIcon = function (name) {
|
|
5029
|
-
if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {
|
|
5030
|
-
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/");
|
|
5031
|
-
}
|
|
5032
|
-
};
|
|
5033
|
-
warnOfDeprecaredIcon('radioButtonOff');
|
|
5034
|
-
warnOfDeprecaredIcon('radioButtonOn');
|
|
5035
|
-
warnOfDeprecaredIcon('checkboxChecked');
|
|
5036
|
-
warnOfDeprecaredIcon('checkboxUnchecked');
|
|
5037
|
-
warnOfDeprecaredIcon('checkboxIndeterminate');
|
|
5038
4941
|
// sets an initial calculation for the scrollbar width
|
|
5039
4942
|
this.getScrollbarWidth();
|
|
5040
4943
|
};
|
|
@@ -5058,11 +4961,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5058
4961
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
5059
4962
|
var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);
|
|
5060
4963
|
iterateObject(invalidProperties, function (key, value) {
|
|
5061
|
-
console.warn("ag-grid: invalid " + containerName + " property '" + key + "' did you mean any of these: " + value.slice(0, 8).join(", "));
|
|
5062
4964
|
});
|
|
5063
|
-
if (Object.keys(invalidProperties).length > 0) {
|
|
5064
|
-
console.warn("ag-grid: to see all the valid " + containerName + " properties please check: " + docsUrl);
|
|
5065
|
-
}
|
|
5066
4965
|
};
|
|
5067
4966
|
/**
|
|
5068
4967
|
* Wrap the user callback and attach the api, columnApi and context to the params object on the way through.
|
|
@@ -5321,7 +5220,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5321
5220
|
];
|
|
5322
5221
|
if (validLayouts.indexOf(domLayout) === -1) {
|
|
5323
5222
|
doOnce(function () {
|
|
5324
|
-
return
|
|
5223
|
+
return (void 0);
|
|
5325
5224
|
}, 'warn about dom layout values');
|
|
5326
5225
|
return Constants.DOM_LAYOUT_NORMAL;
|
|
5327
5226
|
}
|
|
@@ -5716,7 +5615,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5716
5615
|
return 'xy';
|
|
5717
5616
|
}
|
|
5718
5617
|
if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {
|
|
5719
|
-
doOnce(function () { return
|
|
5618
|
+
doOnce(function () { return (void 0); }, 'warn invalid fill direction');
|
|
5720
5619
|
return 'xy';
|
|
5721
5620
|
}
|
|
5722
5621
|
return direction;
|
|
@@ -5815,7 +5714,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5815
5714
|
};
|
|
5816
5715
|
GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {
|
|
5817
5716
|
if (this.gridOptions.defaultExportParams) {
|
|
5818
|
-
console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default" + capitalise(type) + "ExportParams`'");
|
|
5819
5717
|
if (type === 'csv') {
|
|
5820
5718
|
return this.gridOptions.defaultExportParams;
|
|
5821
5719
|
}
|
|
@@ -5948,7 +5846,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5948
5846
|
GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {
|
|
5949
5847
|
var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);
|
|
5950
5848
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5951
|
-
doOnce(function () { return
|
|
5849
|
+
doOnce(function () { return (void 0); }, 'serverSideSortAllLevels');
|
|
5952
5850
|
return false;
|
|
5953
5851
|
}
|
|
5954
5852
|
return isEnabled;
|
|
@@ -5956,7 +5854,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5956
5854
|
GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {
|
|
5957
5855
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);
|
|
5958
5856
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5959
|
-
doOnce(function () { return
|
|
5857
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterAllLevels');
|
|
5960
5858
|
return false;
|
|
5961
5859
|
}
|
|
5962
5860
|
return isEnabled;
|
|
@@ -5964,11 +5862,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5964
5862
|
GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {
|
|
5965
5863
|
var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);
|
|
5966
5864
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5967
|
-
doOnce(function () { return
|
|
5865
|
+
doOnce(function () { return (void 0); }, 'serverSideSortOnServerRowModel');
|
|
5968
5866
|
return false;
|
|
5969
5867
|
}
|
|
5970
5868
|
if (this.isTreeData() && isEnabled) {
|
|
5971
|
-
doOnce(function () { return
|
|
5869
|
+
doOnce(function () { return (void 0); }, 'serverSideSortOnServerTreeData');
|
|
5972
5870
|
return false;
|
|
5973
5871
|
}
|
|
5974
5872
|
return isEnabled;
|
|
@@ -5976,11 +5874,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5976
5874
|
GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {
|
|
5977
5875
|
var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);
|
|
5978
5876
|
if (!this.isRowModelServerSide() && isEnabled) {
|
|
5979
|
-
doOnce(function () { return
|
|
5877
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterOnServerRowModel');
|
|
5980
5878
|
return false;
|
|
5981
5879
|
}
|
|
5982
5880
|
if (this.isTreeData() && isEnabled) {
|
|
5983
|
-
doOnce(function () { return
|
|
5881
|
+
doOnce(function () { return (void 0); }, 'serverSideFilterOnServerTreeData');
|
|
5984
5882
|
return false;
|
|
5985
5883
|
}
|
|
5986
5884
|
return isEnabled;
|
|
@@ -6089,7 +5987,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6089
5987
|
var capitalisedType = capitalise(type);
|
|
6090
5988
|
if (exists(delay)) {
|
|
6091
5989
|
if (delay < 0) {
|
|
6092
|
-
doOnce(function () { return
|
|
5990
|
+
doOnce(function () { return (void 0); }, "tooltip" + capitalisedType + "DelayWarn");
|
|
6093
5991
|
}
|
|
6094
5992
|
return Math.max(200, delay);
|
|
6095
5993
|
}
|
|
@@ -6140,7 +6038,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6140
6038
|
var rowBuffer = this.gridOptions.rowBuffer;
|
|
6141
6039
|
if (typeof rowBuffer === 'number') {
|
|
6142
6040
|
if (rowBuffer < 0) {
|
|
6143
|
-
doOnce(function () { return
|
|
6041
|
+
doOnce(function () { return (void 0); }, 'warn rowBuffer negative');
|
|
6144
6042
|
this.gridOptions.rowBuffer = rowBuffer = 0;
|
|
6145
6043
|
}
|
|
6146
6044
|
}
|
|
@@ -6174,45 +6072,23 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6174
6072
|
// casting to generic object, so typescript compiles even though
|
|
6175
6073
|
// we are looking for attributes that don't exist
|
|
6176
6074
|
var options = this.gridOptions;
|
|
6177
|
-
if (options.deprecatedEmbedFullWidthRows) {
|
|
6178
|
-
console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.");
|
|
6179
|
-
}
|
|
6180
|
-
if (options.rowDeselection) {
|
|
6181
|
-
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.');
|
|
6182
|
-
}
|
|
6183
6075
|
if (options.enableMultiRowDragging) {
|
|
6184
6076
|
options.rowDragMultiRow = true;
|
|
6185
6077
|
delete options.enableMultiRowDragging;
|
|
6186
|
-
console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');
|
|
6187
6078
|
}
|
|
6188
6079
|
var checkRenamedProperty = function (oldProp, newProp, version) {
|
|
6189
6080
|
if (options[oldProp] != null) {
|
|
6190
|
-
console.warn("AG Grid: since version " + version + ", '" + oldProp + "' is deprecated / renamed, please use the new property name '" + newProp + "' instead.");
|
|
6191
6081
|
if (options[newProp] == null) {
|
|
6192
6082
|
options[newProp] = options[oldProp];
|
|
6193
6083
|
}
|
|
6194
6084
|
}
|
|
6195
6085
|
};
|
|
6196
|
-
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis'
|
|
6197
|
-
checkRenamedProperty('deltaRowDataMode', 'immutableData'
|
|
6198
|
-
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels'
|
|
6199
|
-
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels'
|
|
6200
|
-
|
|
6201
|
-
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');
|
|
6202
|
-
}
|
|
6203
|
-
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');
|
|
6086
|
+
checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis');
|
|
6087
|
+
checkRenamedProperty('deltaRowDataMode', 'immutableData');
|
|
6088
|
+
checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels');
|
|
6089
|
+
checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels');
|
|
6090
|
+
checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents');
|
|
6204
6091
|
if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {
|
|
6205
|
-
console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');
|
|
6206
|
-
console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');
|
|
6207
|
-
console.warn(' For example instead of this:');
|
|
6208
|
-
console.warn(' groupRowInnerRenderer: "myRenderer"');
|
|
6209
|
-
console.warn(' groupRowInnerRendererParams: {x: a}');
|
|
6210
|
-
console.warn(' Replace with this:');
|
|
6211
|
-
console.warn(' groupRowRendererParams: {');
|
|
6212
|
-
console.warn(' innerRenderer: "myRenderer",');
|
|
6213
|
-
console.warn(' innerRendererParams: {x: a}');
|
|
6214
|
-
console.warn(' }');
|
|
6215
|
-
console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');
|
|
6216
6092
|
if (!options.groupRowRendererParams) {
|
|
6217
6093
|
options.groupRowRendererParams = {};
|
|
6218
6094
|
}
|
|
@@ -6227,105 +6103,36 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6227
6103
|
params.innerRendererFramework = options.groupRowInnerRendererFramework;
|
|
6228
6104
|
}
|
|
6229
6105
|
}
|
|
6230
|
-
if (options.rememberGroupStateWhenNewData) {
|
|
6231
|
-
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.');
|
|
6232
|
-
}
|
|
6233
6106
|
if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {
|
|
6234
|
-
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');
|
|
6235
6107
|
options.detailRowAutoHeight = true;
|
|
6236
6108
|
}
|
|
6237
|
-
if (options.suppressKeyboardEvent) {
|
|
6238
|
-
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.");
|
|
6239
|
-
}
|
|
6240
|
-
if (options.suppressEnterpriseResetOnNewColumns) {
|
|
6241
|
-
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.');
|
|
6242
|
-
}
|
|
6243
|
-
if (options.suppressColumnStateEvents) {
|
|
6244
|
-
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');
|
|
6245
|
-
}
|
|
6246
|
-
if (options.defaultExportParams) {
|
|
6247
|
-
console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');
|
|
6248
|
-
}
|
|
6249
6109
|
if (options.stopEditingWhenGridLosesFocus) {
|
|
6250
|
-
console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');
|
|
6251
6110
|
options.stopEditingWhenCellsLoseFocus = true;
|
|
6252
6111
|
}
|
|
6253
|
-
if (options.applyColumnDefOrder) {
|
|
6254
|
-
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');
|
|
6255
|
-
}
|
|
6256
6112
|
if (options.groupMultiAutoColumn) {
|
|
6257
|
-
console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`");
|
|
6258
6113
|
options.groupDisplayType = 'multipleColumns';
|
|
6259
6114
|
}
|
|
6260
6115
|
if (options.groupUseEntireRow) {
|
|
6261
|
-
console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`");
|
|
6262
6116
|
options.groupDisplayType = 'groupRows';
|
|
6263
6117
|
}
|
|
6264
6118
|
if (options.groupSuppressAutoColumn) {
|
|
6265
|
-
var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';
|
|
6266
|
-
console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `" + propName + " = 'custom'`");
|
|
6267
6119
|
options.groupDisplayType = 'custom';
|
|
6268
6120
|
}
|
|
6269
|
-
if (options.defaultGroupOrderComparator) {
|
|
6270
|
-
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.");
|
|
6271
|
-
}
|
|
6272
6121
|
if (options.defaultGroupSortComparator) {
|
|
6273
|
-
console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`");
|
|
6274
6122
|
options.defaultGroupOrderComparator = options.defaultGroupSortComparator;
|
|
6275
6123
|
}
|
|
6276
|
-
if (options.groupRowAggNodes) {
|
|
6277
|
-
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.");
|
|
6278
|
-
}
|
|
6279
|
-
if (options.postSort) {
|
|
6280
|
-
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.");
|
|
6281
|
-
}
|
|
6282
|
-
if (options.isFullWidthCell) {
|
|
6283
|
-
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.");
|
|
6284
|
-
}
|
|
6285
|
-
if (options.localeTextFunc) {
|
|
6286
|
-
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.");
|
|
6287
|
-
}
|
|
6288
|
-
if (options.colWidth) {
|
|
6289
|
-
console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');
|
|
6290
|
-
}
|
|
6291
|
-
if (options.minColWidth) {
|
|
6292
|
-
console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');
|
|
6293
|
-
}
|
|
6294
|
-
if (options.maxColWidth) {
|
|
6295
|
-
console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');
|
|
6296
|
-
}
|
|
6297
|
-
if (options.reactUi) {
|
|
6298
|
-
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.');
|
|
6299
|
-
}
|
|
6300
|
-
if (options.suppressReactUi) {
|
|
6301
|
-
console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');
|
|
6302
|
-
}
|
|
6303
6124
|
if (options.suppressCellSelection) {
|
|
6304
|
-
console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');
|
|
6305
6125
|
options.suppressCellFocus = options.suppressCellSelection;
|
|
6306
6126
|
}
|
|
6307
|
-
if (options.getRowNodeId) {
|
|
6308
|
-
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.');
|
|
6309
|
-
}
|
|
6310
|
-
if (options.immutableData) {
|
|
6311
|
-
if (options.getRowId) {
|
|
6312
|
-
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`.');
|
|
6313
|
-
}
|
|
6314
|
-
else {
|
|
6315
|
-
console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');
|
|
6316
|
-
}
|
|
6317
|
-
}
|
|
6318
6127
|
if (options.clipboardDeliminator) {
|
|
6319
|
-
console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');
|
|
6320
6128
|
options.clipboardDelimiter = options.clipboardDeliminator;
|
|
6321
6129
|
}
|
|
6322
|
-
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef'
|
|
6323
|
-
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef'
|
|
6130
|
+
checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef');
|
|
6131
|
+
checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef');
|
|
6324
6132
|
if (options.serverSideStoreType) {
|
|
6325
|
-
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.');
|
|
6326
6133
|
options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';
|
|
6327
6134
|
}
|
|
6328
|
-
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams'
|
|
6135
|
+
checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams');
|
|
6329
6136
|
};
|
|
6330
6137
|
GridOptionsWrapper.prototype.checkForViolations = function () {
|
|
6331
6138
|
if (this.isTreeData()) {
|
|
@@ -6334,20 +6141,11 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6334
6141
|
};
|
|
6335
6142
|
GridOptionsWrapper.prototype.treeDataViolations = function () {
|
|
6336
6143
|
if (this.isRowModelDefault()) {
|
|
6337
|
-
if (missing(this.getDataPathFunc()))
|
|
6338
|
-
console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +
|
|
6339
|
-
'provide getDataPath function, please provide getDataPath function if using tree data.');
|
|
6340
|
-
}
|
|
6144
|
+
if (missing(this.getDataPathFunc())) ;
|
|
6341
6145
|
}
|
|
6342
6146
|
if (this.isRowModelServerSide()) {
|
|
6343
|
-
if (missing(this.getIsServerSideGroupFunc()))
|
|
6344
|
-
|
|
6345
|
-
'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');
|
|
6346
|
-
}
|
|
6347
|
-
if (missing(this.getServerSideGroupKeyFunc())) {
|
|
6348
|
-
console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +
|
|
6349
|
-
'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');
|
|
6350
|
-
}
|
|
6147
|
+
if (missing(this.getIsServerSideGroupFunc())) ;
|
|
6148
|
+
if (missing(this.getServerSideGroupKeyFunc())) ;
|
|
6351
6149
|
}
|
|
6352
6150
|
};
|
|
6353
6151
|
GridOptionsWrapper.prototype.getLocaleTextFunc = function () {
|
|
@@ -6416,7 +6214,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6416
6214
|
this.setRowHeightVariable(rowHeight);
|
|
6417
6215
|
return rowHeight;
|
|
6418
6216
|
}
|
|
6419
|
-
console.warn('AG Grid row height must be a number if not using standard row model');
|
|
6420
6217
|
return this.getDefaultRowHeight();
|
|
6421
6218
|
};
|
|
6422
6219
|
GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {
|
|
@@ -6441,7 +6238,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6441
6238
|
var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);
|
|
6442
6239
|
if (this.isNumeric(height)) {
|
|
6443
6240
|
if (height === 0) {
|
|
6444
|
-
doOnce(function () { return
|
|
6241
|
+
doOnce(function () { return (void 0); }, 'invalidRowHeight');
|
|
6445
6242
|
}
|
|
6446
6243
|
return { height: Math.max(1, height), estimated: false };
|
|
6447
6244
|
}
|
|
@@ -6486,7 +6283,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6486
6283
|
GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {
|
|
6487
6284
|
var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];
|
|
6488
6285
|
if (groupDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6489
|
-
console.warn("AG Grid: '" + supplied + "' is not a valid groupDisplayType value - possible values are: '" + groupDisplayTypeValues.join("', '") + "'");
|
|
6490
6286
|
return false;
|
|
6491
6287
|
}
|
|
6492
6288
|
return supplied === toMatch;
|
|
@@ -6494,7 +6290,6 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6494
6290
|
GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {
|
|
6495
6291
|
var treeDataDisplayTypeValues = ['auto', 'custom'];
|
|
6496
6292
|
if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {
|
|
6497
|
-
console.warn("AG Grid: '" + supplied + "' is not a valid treeDataDisplayType value - possible values are: '" + treeDataDisplayTypeValues.join("', '") + "'");
|
|
6498
6293
|
return false;
|
|
6499
6294
|
}
|
|
6500
6295
|
return supplied === toMatch;
|
|
@@ -6879,7 +6674,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6879
6674
|
};
|
|
6880
6675
|
ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {
|
|
6881
6676
|
if (pivot && this.gridOptionsWrapper.isTreeData()) {
|
|
6882
|
-
console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'");
|
|
6883
6677
|
return false;
|
|
6884
6678
|
}
|
|
6885
6679
|
return true;
|
|
@@ -7510,7 +7304,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7510
7304
|
if (loopCount > 1000) {
|
|
7511
7305
|
// this should never happen, but in the future, someone might introduce a bug here,
|
|
7512
7306
|
// so we stop the browser from hanging and report bug properly
|
|
7513
|
-
console.error('AG Grid: infinite loop in resizeColumnSets');
|
|
7514
7307
|
return "break";
|
|
7515
7308
|
}
|
|
7516
7309
|
finishedColsGrew = false;
|
|
@@ -7628,8 +7421,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7628
7421
|
if (source === void 0) { source = "api"; }
|
|
7629
7422
|
this.columnAnimationService.start();
|
|
7630
7423
|
if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {
|
|
7631
|
-
console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);
|
|
7632
|
-
console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');
|
|
7633
7424
|
return;
|
|
7634
7425
|
}
|
|
7635
7426
|
// we want to pull all the columns out first and put them into an ordered list
|
|
@@ -7882,7 +7673,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7882
7673
|
ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {
|
|
7883
7674
|
if (source === void 0) { source = "api"; }
|
|
7884
7675
|
if (this.gridOptionsWrapper.getDomLayout() === 'print') {
|
|
7885
|
-
console.warn("Changing the column pinning status is not allowed with domLayout='print'");
|
|
7886
7676
|
return;
|
|
7887
7677
|
}
|
|
7888
7678
|
this.columnAnimationService.start();
|
|
@@ -8152,7 +7942,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8152
7942
|
return false;
|
|
8153
7943
|
}
|
|
8154
7944
|
if (params && params.state && !params.state.forEach) {
|
|
8155
|
-
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.');
|
|
8156
7945
|
return false;
|
|
8157
7946
|
}
|
|
8158
7947
|
var applyStates = function (states, existingColumns, getById) {
|
|
@@ -8299,7 +8088,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8299
8088
|
// is less sexy for the code here, but it keeps consistency.
|
|
8300
8089
|
newOrder = this.placeLockedColumns(newOrder);
|
|
8301
8090
|
if (!this.doesMovePassMarryChildren(newOrder)) {
|
|
8302
|
-
console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');
|
|
8303
8091
|
return;
|
|
8304
8092
|
}
|
|
8305
8093
|
this.gridColumns = newOrder;
|
|
@@ -8551,11 +8339,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8551
8339
|
}
|
|
8552
8340
|
}
|
|
8553
8341
|
else {
|
|
8554
|
-
if (exists(aggFunc))
|
|
8555
|
-
console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +
|
|
8556
|
-
'functions, register the functions first before using them in get/set state. This is because it is ' +
|
|
8557
|
-
'intended for the column state to be stored and retrieved as simple JSON.');
|
|
8558
|
-
}
|
|
8342
|
+
if (exists(aggFunc)) ;
|
|
8559
8343
|
// Note: we do not call column.setAggFunc(null), so that next time we aggregate
|
|
8560
8344
|
// by this column (eg drag the column to the agg section int he toolpanel) it will
|
|
8561
8345
|
// default to the last aggregation function.
|
|
@@ -8623,9 +8407,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8623
8407
|
return null;
|
|
8624
8408
|
}
|
|
8625
8409
|
var column = this.getGridColumn(key);
|
|
8626
|
-
if (!column) {
|
|
8627
|
-
console.warn('AG Grid: could not find column ' + key);
|
|
8628
|
-
}
|
|
8629
8410
|
return column;
|
|
8630
8411
|
};
|
|
8631
8412
|
ColumnModel.prototype.getPrimaryColumn = function (key) {
|
|
@@ -8728,7 +8509,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
8728
8509
|
// valueGetter is an expression, so execute the expression
|
|
8729
8510
|
return this.expressionService.evaluate(headerValueGetter, params);
|
|
8730
8511
|
}
|
|
8731
|
-
console.warn('ag-grid: headerValueGetter must be a function or a string');
|
|
8732
8512
|
return '';
|
|
8733
8513
|
}
|
|
8734
8514
|
else if (colDef.headerName != null) {
|
|
@@ -9023,10 +8803,6 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9023
8803
|
this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);
|
|
9024
8804
|
};
|
|
9025
8805
|
ColumnModel.prototype.getProvidedColumnGroup = function (key) {
|
|
9026
|
-
// if (key instanceof ProvidedColumnGroup) { return key; }
|
|
9027
|
-
if (typeof key !== 'string') {
|
|
9028
|
-
console.error('AG Grid: group key must be a string');
|
|
9029
|
-
}
|
|
9030
8806
|
// otherwise, search for the column group by id
|
|
9031
8807
|
var res = null;
|
|
9032
8808
|
this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {
|
|
@@ -9237,8 +9013,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9237
9013
|
var rowModelType = this.rowModel.getType();
|
|
9238
9014
|
var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
9239
9015
|
if (!supportedRowModel) {
|
|
9240
|
-
|
|
9241
|
-
doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');
|
|
9016
|
+
doOnce(function () { return (void 0); }, 'autoHeightActive.wrongRowModel');
|
|
9242
9017
|
}
|
|
9243
9018
|
}
|
|
9244
9019
|
};
|
|
@@ -10230,7 +10005,6 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10230
10005
|
if (found) {
|
|
10231
10006
|
return result;
|
|
10232
10007
|
}
|
|
10233
|
-
console.warn('AG Grid: could not get path');
|
|
10234
10008
|
return null;
|
|
10235
10009
|
};
|
|
10236
10010
|
DisplayedGroupCreator = __decorate$36([
|
|
@@ -11914,14 +11688,12 @@ function createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {
|
|
|
11914
11688
|
if (isNodeOrElement(rendererResult)) {
|
|
11915
11689
|
return rendererResult;
|
|
11916
11690
|
}
|
|
11917
|
-
console.warn('AG Grid: iconRenderer should return back a string or a dom object');
|
|
11918
11691
|
}
|
|
11919
11692
|
else {
|
|
11920
11693
|
var span = document.createElement('span');
|
|
11921
11694
|
var cssClass = iconNameClassMap[iconName];
|
|
11922
11695
|
if (!cssClass) {
|
|
11923
11696
|
if (!forceCreate) {
|
|
11924
|
-
console.warn("AG Grid: Did not find icon " + iconName);
|
|
11925
11697
|
cssClass = '';
|
|
11926
11698
|
}
|
|
11927
11699
|
else {
|
|
@@ -12360,7 +12132,6 @@ var AgPromise = /** @class */ (function () {
|
|
|
12360
12132
|
this.waiters.forEach(function (waiter) { return waiter(value); });
|
|
12361
12133
|
};
|
|
12362
12134
|
AgPromise.prototype.onReject = function (params) {
|
|
12363
|
-
console.warn('TBI');
|
|
12364
12135
|
};
|
|
12365
12136
|
return AgPromise;
|
|
12366
12137
|
}());
|
|
@@ -12986,11 +12757,9 @@ function RefSelector(ref) {
|
|
|
12986
12757
|
}
|
|
12987
12758
|
function querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {
|
|
12988
12759
|
if (selector === null) {
|
|
12989
|
-
console.error('AG Grid: QuerySelector selector should not be null');
|
|
12990
12760
|
return;
|
|
12991
12761
|
}
|
|
12992
12762
|
if (typeof index === 'number') {
|
|
12993
|
-
console.error('AG Grid: QuerySelector should be on an attribute');
|
|
12994
12763
|
return;
|
|
12995
12764
|
}
|
|
12996
12765
|
addToObjectProps(classPrototype, 'querySelectors', {
|
|
@@ -13225,12 +12994,8 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13225
12994
|
this.checkForDeprecatedParams();
|
|
13226
12995
|
};
|
|
13227
12996
|
OptionsFactory.prototype.checkForDeprecatedParams = function () {
|
|
13228
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; }))
|
|
13229
|
-
|
|
13230
|
-
}
|
|
13231
|
-
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {
|
|
13232
|
-
console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.");
|
|
13233
|
-
}
|
|
12997
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) ;
|
|
12998
|
+
if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) ;
|
|
13234
12999
|
};
|
|
13235
13000
|
OptionsFactory.prototype.getFilterOptions = function () {
|
|
13236
13001
|
return this.filterOptions;
|
|
@@ -13247,7 +13012,6 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13247
13012
|
var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];
|
|
13248
13013
|
var propertyCheck = function (keys) {
|
|
13249
13014
|
if (!keys.some(function (key) { return filterOption[key] != null; })) {
|
|
13250
|
-
console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '" + keys + "'");
|
|
13251
13015
|
return false;
|
|
13252
13016
|
}
|
|
13253
13017
|
return true;
|
|
@@ -13281,13 +13045,9 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13281
13045
|
else if (firstFilterOption.displayKey) {
|
|
13282
13046
|
this.defaultOption = firstFilterOption.displayKey;
|
|
13283
13047
|
}
|
|
13284
|
-
else
|
|
13285
|
-
console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'");
|
|
13286
|
-
}
|
|
13287
|
-
}
|
|
13288
|
-
else {
|
|
13289
|
-
console.warn('AG Grid: no filter options for filter');
|
|
13048
|
+
else ;
|
|
13290
13049
|
}
|
|
13050
|
+
else ;
|
|
13291
13051
|
};
|
|
13292
13052
|
OptionsFactory.prototype.getDefaultOption = function () {
|
|
13293
13053
|
return this.defaultOption;
|
|
@@ -13550,7 +13310,6 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13550
13310
|
clickListener = function (e) { _this.onBtCancel(e); };
|
|
13551
13311
|
break;
|
|
13552
13312
|
default:
|
|
13553
|
-
console.warn('AG Grid: Unknown button type specified');
|
|
13554
13313
|
return;
|
|
13555
13314
|
}
|
|
13556
13315
|
var buttonType = type === 'apply' ? 'submit' : 'button';
|
|
@@ -13691,9 +13450,6 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13691
13450
|
// static, as used by floating filter also
|
|
13692
13451
|
ProvidedFilter.getDebounceMs = function (params, debounceDefault) {
|
|
13693
13452
|
if (ProvidedFilter.isUseApplyButton(params)) {
|
|
13694
|
-
if (params.debounceMs != null) {
|
|
13695
|
-
console.warn('AG Grid: debounceMs is ignored when apply button is present');
|
|
13696
|
-
}
|
|
13697
13453
|
return 0;
|
|
13698
13454
|
}
|
|
13699
13455
|
return params.debounceMs != null ? params.debounceMs : debounceDefault;
|
|
@@ -15070,7 +14826,6 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
15070
14826
|
case ScalarFilter.NOT_BLANK:
|
|
15071
14827
|
return !this.isBlank(cellValue);
|
|
15072
14828
|
default:
|
|
15073
|
-
console.warn('AG Grid: Unexpected type of filter "' + filterModel.type + '", it looks like the filter was configured with incorrect Filter Options');
|
|
15074
14829
|
return true;
|
|
15075
14830
|
}
|
|
15076
14831
|
};
|
|
@@ -15164,17 +14919,11 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15164
14919
|
if (!isNaN(params[param])) {
|
|
15165
14920
|
return params[param] == null ? fallback : Number(params[param]);
|
|
15166
14921
|
}
|
|
15167
|
-
else {
|
|
15168
|
-
console.warn("AG Grid: DateFilter " + param + " is not a number");
|
|
15169
|
-
}
|
|
15170
14922
|
}
|
|
15171
14923
|
return fallback;
|
|
15172
14924
|
};
|
|
15173
14925
|
this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);
|
|
15174
14926
|
this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);
|
|
15175
|
-
if (this.minValidYear > this.maxValidYear) {
|
|
15176
|
-
console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear");
|
|
15177
|
-
}
|
|
15178
14927
|
this.createDateComponents();
|
|
15179
14928
|
};
|
|
15180
14929
|
DateFilter.prototype.createDateComponents = function () {
|
|
@@ -15875,7 +15624,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15875
15624
|
TextFilter.prototype.getTextMatcher = function () {
|
|
15876
15625
|
var legacyComparator = this.textFilterParams.textCustomComparator;
|
|
15877
15626
|
if (legacyComparator) {
|
|
15878
|
-
_.doOnce(function () { return
|
|
15627
|
+
_.doOnce(function () { return (void 0); }, 'textCustomComparator.deprecated');
|
|
15879
15628
|
return function (_a) {
|
|
15880
15629
|
var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;
|
|
15881
15630
|
return legacyComparator(filterOption, value, filterText);
|
|
@@ -16801,8 +16550,7 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16801
16550
|
HeaderGroupComp.prototype.checkWarnings = function () {
|
|
16802
16551
|
var paramsAny = this.params;
|
|
16803
16552
|
if (paramsAny.template) {
|
|
16804
|
-
|
|
16805
|
-
doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');
|
|
16553
|
+
doOnce(function () { return (void 0); }, 'HeaderGroupComp.templateNotSupported');
|
|
16806
16554
|
}
|
|
16807
16555
|
};
|
|
16808
16556
|
HeaderGroupComp.prototype.setupExpandIcons = function () {
|
|
@@ -17033,7 +16781,6 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
17033
16781
|
var _this = this;
|
|
17034
16782
|
this.focusAfterAttached = params.cellStartedEdit;
|
|
17035
16783
|
if (missing(params.values)) {
|
|
17036
|
-
console.warn('AG Grid: no values found for select cellEditor');
|
|
17037
16784
|
return;
|
|
17038
16785
|
}
|
|
17039
16786
|
this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;
|
|
@@ -17107,7 +16854,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
17107
16854
|
__extends$2_(PopupSelectCellEditor, _super);
|
|
17108
16855
|
function PopupSelectCellEditor() {
|
|
17109
16856
|
var _this = _super.call(this) || this;
|
|
17110
|
-
doOnce(function () { return
|
|
16857
|
+
doOnce(function () { return (void 0); }, 'PopupSelectCellEditor.deprecated');
|
|
17111
16858
|
return _this;
|
|
17112
16859
|
}
|
|
17113
16860
|
PopupSelectCellEditor.prototype.isPopup = function () {
|
|
@@ -17261,7 +17008,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17261
17008
|
__extends$2Y(PopupTextCellEditor, _super);
|
|
17262
17009
|
function PopupTextCellEditor() {
|
|
17263
17010
|
var _this = _super.call(this) || this;
|
|
17264
|
-
doOnce(function () { return
|
|
17011
|
+
doOnce(function () { return (void 0); }, 'PopupTextCellEditor.deprecated');
|
|
17265
17012
|
return _this;
|
|
17266
17013
|
}
|
|
17267
17014
|
PopupTextCellEditor.prototype.isPopup = function () {
|
|
@@ -17638,9 +17385,7 @@ var RowNode = /** @class */ (function () {
|
|
|
17638
17385
|
});
|
|
17639
17386
|
// make sure id provided doesn't start with 'row-group-' as this is reserved. also check that
|
|
17640
17387
|
// it has 'startsWith' in case the user provided a number.
|
|
17641
|
-
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP))
|
|
17642
|
-
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.");
|
|
17643
|
-
}
|
|
17388
|
+
if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) ;
|
|
17644
17389
|
// force id to be a string
|
|
17645
17390
|
if (this.id !== null && typeof this.id !== 'string') {
|
|
17646
17391
|
this.id = '' + this.id;
|
|
@@ -18099,11 +17844,9 @@ var RowNode = /** @class */ (function () {
|
|
|
18099
17844
|
// groupSelectsFiltered only makes sense when group selects children
|
|
18100
17845
|
var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);
|
|
18101
17846
|
if (this.id === undefined) {
|
|
18102
|
-
console.warn('AG Grid: cannot select node until id for node is known');
|
|
18103
17847
|
return 0;
|
|
18104
17848
|
}
|
|
18105
17849
|
if (this.rowPinned) {
|
|
18106
|
-
console.warn('AG Grid: cannot select pinned rows');
|
|
18107
17850
|
return 0;
|
|
18108
17851
|
}
|
|
18109
17852
|
// if we are a footer, we don't do selection, just pass the info
|
|
@@ -18878,9 +18621,7 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18878
18621
|
}
|
|
18879
18622
|
}
|
|
18880
18623
|
this.eGhostParent = targetEl;
|
|
18881
|
-
if (!this.eGhostParent)
|
|
18882
|
-
console.warn('AG Grid: could not find document body, it is needed for dragging columns');
|
|
18883
|
-
}
|
|
18624
|
+
if (!this.eGhostParent) ;
|
|
18884
18625
|
else {
|
|
18885
18626
|
this.eGhostParent.appendChild(this.eGhost);
|
|
18886
18627
|
}
|
|
@@ -19043,7 +18784,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
19043
18784
|
var treeData = this.beans.gridOptionsWrapper.isTreeData();
|
|
19044
18785
|
if (treeData && managed) {
|
|
19045
18786
|
doOnce(function () {
|
|
19046
|
-
return
|
|
18787
|
+
return (void 0);
|
|
19047
18788
|
}, 'RowDragComp.managedAndTreeData');
|
|
19048
18789
|
}
|
|
19049
18790
|
};
|
|
@@ -19452,9 +19193,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19452
19193
|
else if (typeof footerValueGetter === 'string') {
|
|
19453
19194
|
footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);
|
|
19454
19195
|
}
|
|
19455
|
-
else
|
|
19456
|
-
console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');
|
|
19457
|
-
}
|
|
19196
|
+
else ;
|
|
19458
19197
|
}
|
|
19459
19198
|
else {
|
|
19460
19199
|
footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');
|
|
@@ -19672,7 +19411,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19672
19411
|
var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;
|
|
19673
19412
|
var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;
|
|
19674
19413
|
if (userProvidedPaddingPixelsTheDeprecatedWay) {
|
|
19675
|
-
doOnce(function () { return
|
|
19414
|
+
doOnce(function () { return (void 0); }, 'groupCellRenderer->doDeprecatedWay');
|
|
19676
19415
|
}
|
|
19677
19416
|
if (this.indentClass) {
|
|
19678
19417
|
this.comp.addOrRemoveCssClass(this.indentClass, false);
|
|
@@ -20177,7 +19916,6 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20177
19916
|
UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {
|
|
20178
19917
|
var name = this.translateIfDeprecated(rawName);
|
|
20179
19918
|
if (this.agGridDefaults[name]) {
|
|
20180
|
-
console.error("Trying to overwrite a default component. You should call registerComponent");
|
|
20181
19919
|
return;
|
|
20182
19920
|
}
|
|
20183
19921
|
this.agGridDefaults[name] = component;
|
|
@@ -20185,7 +19923,6 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20185
19923
|
UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {
|
|
20186
19924
|
var name = this.translateIfDeprecated(rawName);
|
|
20187
19925
|
if (this.fwComps[name]) {
|
|
20188
|
-
console.error("Trying to register a component that you have already registered for frameworks: " + name);
|
|
20189
19926
|
return;
|
|
20190
19927
|
}
|
|
20191
19928
|
this.jsComps[name] = component;
|
|
@@ -20195,8 +19932,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20195
19932
|
* A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid
|
|
20196
19933
|
*/
|
|
20197
19934
|
UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {
|
|
20198
|
-
|
|
20199
|
-
doOnce(function () { return console.warn(warningMessage); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
19935
|
+
doOnce(function () { return (void 0); }, "UserComponentRegistry.frameworkComponentsDeprecated");
|
|
20200
19936
|
var name = this.translateIfDeprecated(rawName);
|
|
20201
19937
|
this.fwComps[name] = component;
|
|
20202
19938
|
};
|
|
@@ -20223,16 +19959,13 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20223
19959
|
if (defaultComponent) {
|
|
20224
19960
|
return createResult(defaultComponent, false);
|
|
20225
19961
|
}
|
|
20226
|
-
if (Object.keys(this.agGridDefaults).indexOf(name) < 0)
|
|
20227
|
-
console.warn("AG Grid: Looking for component [" + name + "] but it wasn't found.");
|
|
20228
|
-
}
|
|
19962
|
+
if (Object.keys(this.agGridDefaults).indexOf(name) < 0) ;
|
|
20229
19963
|
return null;
|
|
20230
19964
|
};
|
|
20231
19965
|
UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {
|
|
20232
19966
|
var deprecatedInfo = this.agDeprecatedNames[raw];
|
|
20233
19967
|
if (deprecatedInfo != null) {
|
|
20234
19968
|
doOnce(function () {
|
|
20235
|
-
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);
|
|
20236
19969
|
}, 'DEPRECATE_COMPONENT_' + raw);
|
|
20237
19970
|
return deprecatedInfo.newComponentName;
|
|
20238
19971
|
}
|
|
@@ -20450,7 +20183,6 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20450
20183
|
};
|
|
20451
20184
|
UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {
|
|
20452
20185
|
var _this = this;
|
|
20453
|
-
if (mandatory === void 0) { mandatory = false; }
|
|
20454
20186
|
var propertyName = type.propertyName, cellRenderer = type.cellRenderer;
|
|
20455
20187
|
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;
|
|
20456
20188
|
var lookupFromRegistry = function (key) {
|
|
@@ -20473,9 +20205,6 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20473
20205
|
jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);
|
|
20474
20206
|
}
|
|
20475
20207
|
if (!jsComp && !fwComp) {
|
|
20476
|
-
if (mandatory) {
|
|
20477
|
-
console.error("Could not find component " + compName + ", did you forget to configure this component?");
|
|
20478
|
-
}
|
|
20479
20208
|
return;
|
|
20480
20209
|
}
|
|
20481
20210
|
var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);
|
|
@@ -20512,8 +20241,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20512
20241
|
var selectorRes = selectorFunc ? selectorFunc(params) : null;
|
|
20513
20242
|
var assignComp = function (providedJsComp, providedFwComp) {
|
|
20514
20243
|
var xxxFrameworkDeprecatedWarn = function () {
|
|
20515
|
-
|
|
20516
|
-
doOnce(function () { return console.warn(warningMessage); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20244
|
+
doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkDeprecated");
|
|
20517
20245
|
};
|
|
20518
20246
|
if (typeof providedJsComp === 'string') {
|
|
20519
20247
|
compName = providedJsComp;
|
|
@@ -20539,8 +20267,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20539
20267
|
};
|
|
20540
20268
|
if (selectorRes) {
|
|
20541
20269
|
if (selectorRes.frameworkComponent != null) {
|
|
20542
|
-
|
|
20543
|
-
doOnce(function () { return console.warn(warningMessage_1); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20270
|
+
doOnce(function () { return (void 0); }, "UserComponentFactory." + propertyName + "FrameworkSelectorDeprecated");
|
|
20544
20271
|
assignComp(selectorRes.frameworkComponent, undefined);
|
|
20545
20272
|
}
|
|
20546
20273
|
else {
|
|
@@ -21045,16 +20772,13 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21045
20772
|
modelKeys_1.forEach(function (colId) {
|
|
21046
20773
|
var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);
|
|
21047
20774
|
if (!column) {
|
|
21048
|
-
console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);
|
|
21049
20775
|
return;
|
|
21050
20776
|
}
|
|
21051
20777
|
if (!column.isFilterAllowed()) {
|
|
21052
|
-
console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);
|
|
21053
20778
|
return;
|
|
21054
20779
|
}
|
|
21055
20780
|
var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');
|
|
21056
20781
|
if (!filterWrapper) {
|
|
21057
|
-
console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);
|
|
21058
20782
|
return;
|
|
21059
20783
|
}
|
|
21060
20784
|
allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));
|
|
@@ -21084,7 +20808,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21084
20808
|
return new AgPromise(function (resolve) {
|
|
21085
20809
|
filterPromise.then(function (filter) {
|
|
21086
20810
|
if (typeof filter.setModel !== 'function') {
|
|
21087
|
-
console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');
|
|
21088
20811
|
resolve();
|
|
21089
20812
|
}
|
|
21090
20813
|
(filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });
|
|
@@ -21101,7 +20824,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21101
20824
|
return null;
|
|
21102
20825
|
}
|
|
21103
20826
|
if (typeof filter.getModel !== 'function') {
|
|
21104
|
-
console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');
|
|
21105
20827
|
return;
|
|
21106
20828
|
}
|
|
21107
20829
|
var model = filter.getModel();
|
|
@@ -21135,7 +20857,6 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21135
20857
|
return false;
|
|
21136
20858
|
} // this never happens, including to avoid compile error
|
|
21137
20859
|
if (!filter.isFilterActive) {
|
|
21138
|
-
console.warn('AG Grid: Filter is missing isFilterActive() method');
|
|
21139
20860
|
return false;
|
|
21140
20861
|
}
|
|
21141
20862
|
return filter.isFilterActive();
|
|
@@ -21209,14 +20930,12 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21209
20930
|
return null;
|
|
21210
20931
|
}
|
|
21211
20932
|
if (!this.gridOptionsWrapper.isRowModelDefault()) {
|
|
21212
|
-
console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');
|
|
21213
20933
|
return null;
|
|
21214
20934
|
}
|
|
21215
20935
|
return newFilter.toUpperCase();
|
|
21216
20936
|
};
|
|
21217
20937
|
FilterManager.prototype.setQuickFilter = function (newFilter) {
|
|
21218
20938
|
if (newFilter != null && typeof newFilter !== 'string') {
|
|
21219
|
-
console.warn("AG Grid - setQuickFilter() only supports string inputs, received: " + typeof newFilter);
|
|
21220
20939
|
return;
|
|
21221
20940
|
}
|
|
21222
20941
|
var parsedFilter = this.parseQuickFilter(newFilter);
|
|
@@ -21476,9 +21195,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21476
21195
|
filterWrapper.guiPromise = new AgPromise(function (resolve) {
|
|
21477
21196
|
filterWrapper.filterPromise.then(function (filter) {
|
|
21478
21197
|
var guiFromFilter = filter.getGui();
|
|
21479
|
-
if (!exists(guiFromFilter))
|
|
21480
|
-
console.warn("AG Grid: getGui method from filter returned " + guiFromFilter + ", it should be a DOM element or an HTML template string.");
|
|
21481
|
-
}
|
|
21198
|
+
if (!exists(guiFromFilter)) ;
|
|
21482
21199
|
// for backwards compatibility with Angular 1 - we
|
|
21483
21200
|
// used to allow providing back HTML from getGui().
|
|
21484
21201
|
// once we move away from supporting Angular 1
|
|
@@ -22070,7 +21787,6 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
22070
21787
|
}
|
|
22071
21788
|
var rowCount = this.paginationProxy.getRowCount();
|
|
22072
21789
|
if (typeof index !== 'number' || index < 0 || index >= rowCount) {
|
|
22073
|
-
console.warn('invalid row index for ensureIndexVisible: ' + index);
|
|
22074
21790
|
return;
|
|
22075
21791
|
}
|
|
22076
21792
|
var isPaging = this.gridOptionsWrapper.isPagination();
|
|
@@ -22565,11 +22281,10 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22565
22281
|
RowDragFeature.prototype.addRowDropZone = function (params) {
|
|
22566
22282
|
var _this = this;
|
|
22567
22283
|
if (!params.getContainer()) {
|
|
22568
|
-
doOnce(function () { return
|
|
22284
|
+
doOnce(function () { return (void 0); }, 'add-drop-zone-empty-target');
|
|
22569
22285
|
return;
|
|
22570
22286
|
}
|
|
22571
22287
|
if (this.dragAndDropService.findExternalZone(params)) {
|
|
22572
|
-
console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');
|
|
22573
22288
|
return;
|
|
22574
22289
|
}
|
|
22575
22290
|
var processedParams = {
|
|
@@ -23096,10 +22811,7 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
23096
22811
|
_this.sizeColumnsToFit(params, -1);
|
|
23097
22812
|
}, 500);
|
|
23098
22813
|
}
|
|
23099
|
-
else
|
|
23100
|
-
console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +
|
|
23101
|
-
'zero width, maybe the grid is not visible yet on the screen?');
|
|
23102
|
-
}
|
|
22814
|
+
else ;
|
|
23103
22815
|
};
|
|
23104
22816
|
// + rangeService
|
|
23105
22817
|
GridBodyCtrl.prototype.addScrollEventListener = function (listener) {
|
|
@@ -24760,7 +24472,6 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24760
24472
|
CellCtrl.prototype.createCellRendererParams = function () {
|
|
24761
24473
|
var _this = this;
|
|
24762
24474
|
var addRowCompListener = function (eventType, listener) {
|
|
24763
|
-
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.');
|
|
24764
24475
|
_this.rowCtrl.addEventListener(eventType, listener);
|
|
24765
24476
|
};
|
|
24766
24477
|
var res = {
|
|
@@ -25289,11 +25000,11 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25289
25000
|
if (rowDragManaged) {
|
|
25290
25001
|
// row dragging only available in default row model
|
|
25291
25002
|
if (!clientSideRowModelActive) {
|
|
25292
|
-
doOnce(function () { return
|
|
25003
|
+
doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
|
|
25293
25004
|
return;
|
|
25294
25005
|
}
|
|
25295
25006
|
if (pagination) {
|
|
25296
|
-
doOnce(function () { return
|
|
25007
|
+
doOnce(function () { return (void 0); }, 'CellComp.addRowDragging');
|
|
25297
25008
|
return;
|
|
25298
25009
|
}
|
|
25299
25010
|
}
|
|
@@ -25510,7 +25221,6 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25510
25221
|
var gow = this.beans.gridOptionsWrapper;
|
|
25511
25222
|
if (gow.isEnableRangeSelection()) {
|
|
25512
25223
|
doOnce(function () {
|
|
25513
|
-
console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\'t work with `enableRangeSelection: true`');
|
|
25514
25224
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25515
25225
|
return;
|
|
25516
25226
|
}
|
|
@@ -25523,12 +25233,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25523
25233
|
var params = this.createFullWidthParams(gui.element, pinned);
|
|
25524
25234
|
var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);
|
|
25525
25235
|
if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {
|
|
25526
|
-
if (ModuleRegistry.isPackageBased())
|
|
25527
|
-
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.");
|
|
25528
|
-
}
|
|
25529
|
-
else {
|
|
25530
|
-
console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module " + ModuleNames.MasterDetailModule);
|
|
25531
|
-
}
|
|
25236
|
+
if (ModuleRegistry.isPackageBased()) ;
|
|
25532
25237
|
return;
|
|
25533
25238
|
}
|
|
25534
25239
|
var compDetails;
|
|
@@ -26279,7 +25984,6 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26279
25984
|
// part 1 - rowStyle
|
|
26280
25985
|
var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();
|
|
26281
25986
|
if (rowStyle && typeof rowStyle === 'function') {
|
|
26282
|
-
console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');
|
|
26283
25987
|
return;
|
|
26284
25988
|
}
|
|
26285
25989
|
// part 1 - rowStyleFunc
|
|
@@ -26394,14 +26098,12 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26394
26098
|
RowCtrl.prototype.addEventListener = function (eventType, listener) {
|
|
26395
26099
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26396
26100
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26397
|
-
console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26398
26101
|
}
|
|
26399
26102
|
_super.prototype.addEventListener.call(this, eventType, listener);
|
|
26400
26103
|
};
|
|
26401
26104
|
RowCtrl.prototype.removeEventListener = function (eventType, listener) {
|
|
26402
26105
|
if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {
|
|
26403
26106
|
eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;
|
|
26404
|
-
console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);
|
|
26405
26107
|
}
|
|
26406
26108
|
_super.prototype.removeEventListener.call(this, eventType, listener);
|
|
26407
26109
|
};
|
|
@@ -28561,7 +28263,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28561
28263
|
var userCell = userFunc(params);
|
|
28562
28264
|
if (exists(userCell)) {
|
|
28563
28265
|
if (userCell.floating) {
|
|
28564
|
-
doOnce(function () {
|
|
28266
|
+
doOnce(function () { }, 'no floating in userCell');
|
|
28565
28267
|
userCell.rowPinned = userCell.floating;
|
|
28566
28268
|
}
|
|
28567
28269
|
nextPosition = {
|
|
@@ -28694,7 +28396,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28694
28396
|
var userCell = userFunc(params);
|
|
28695
28397
|
if (exists(userCell)) {
|
|
28696
28398
|
if (userCell.floating) {
|
|
28697
|
-
doOnce(function () {
|
|
28399
|
+
doOnce(function () { }, 'no floating in userCell');
|
|
28698
28400
|
userCell.rowPinned = userCell.floating;
|
|
28699
28401
|
}
|
|
28700
28402
|
nextCell = {
|
|
@@ -29249,7 +28951,6 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29249
28951
|
return;
|
|
29250
28952
|
}
|
|
29251
28953
|
if (!cellEditor.getGui) {
|
|
29252
|
-
console.warn("AG Grid: cellEditor for column " + this.column.getId() + " is missing getGui() method");
|
|
29253
28954
|
this.beans.context.destroyBean(cellEditor);
|
|
29254
28955
|
return;
|
|
29255
28956
|
}
|
|
@@ -29287,10 +28988,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29287
28988
|
};
|
|
29288
28989
|
CellComp.prototype.addPopupCellEditor = function (params, position) {
|
|
29289
28990
|
var _this = this;
|
|
29290
|
-
if (this.beans.gridOptionsWrapper.isFullRowEdit())
|
|
29291
|
-
console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +
|
|
29292
|
-
'- either turn off fullRowEdit, or stop using popup editors.');
|
|
29293
|
-
}
|
|
28991
|
+
if (this.beans.gridOptionsWrapper.isFullRowEdit()) ;
|
|
29294
28992
|
var cellEditor = this.cellEditor;
|
|
29295
28993
|
// if a popup, then we wrap in a popup editor and return the popup
|
|
29296
28994
|
this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));
|
|
@@ -29474,9 +29172,6 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29474
29172
|
};
|
|
29475
29173
|
RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {
|
|
29476
29174
|
var _this = this;
|
|
29477
|
-
if (this.fullWidthCellRenderer) {
|
|
29478
|
-
console.error('AG Grid - should not be setting fullWidthRowComponent twice');
|
|
29479
|
-
}
|
|
29480
29175
|
this.fullWidthCellRenderer = fullWidthRowComponent;
|
|
29481
29176
|
this.addDestroyFunc(function () {
|
|
29482
29177
|
_this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);
|
|
@@ -29901,7 +29596,6 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29901
29596
|
switch (hDirection) {
|
|
29902
29597
|
case HorizontalDirection.Left: return HorizontalDirection.Right;
|
|
29903
29598
|
case HorizontalDirection.Right: return HorizontalDirection.Left;
|
|
29904
|
-
default: console.error("AG Grid: Unknown direction " + hDirection);
|
|
29905
29599
|
}
|
|
29906
29600
|
}
|
|
29907
29601
|
else {
|
|
@@ -30942,7 +30636,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30942
30636
|
}
|
|
30943
30637
|
var exportMode = this.getExcelExportMode(params);
|
|
30944
30638
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30945
|
-
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30946
30639
|
return;
|
|
30947
30640
|
}
|
|
30948
30641
|
return this.excelCreator.getDataAsExcel(params);
|
|
@@ -30954,7 +30647,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30954
30647
|
}
|
|
30955
30648
|
var exportMode = this.getExcelExportMode(params);
|
|
30956
30649
|
if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {
|
|
30957
|
-
console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');
|
|
30958
30650
|
return;
|
|
30959
30651
|
}
|
|
30960
30652
|
this.excelCreator.exportDataAsExcel(params);
|
|
@@ -30982,7 +30674,6 @@ var GridApi = /** @class */ (function () {
|
|
|
30982
30674
|
};
|
|
30983
30675
|
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30984
30676
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30985
|
-
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30986
30677
|
this.setServerSideDatasource(datasource);
|
|
30987
30678
|
};
|
|
30988
30679
|
/**
|
|
@@ -31011,9 +30702,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31011
30702
|
// should really have an IEnterpriseRowModel interface, so we are not casting to any
|
|
31012
30703
|
this.serverSideRowModel.setDatasource(datasource);
|
|
31013
30704
|
}
|
|
31014
|
-
else {
|
|
31015
|
-
console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31016
|
-
}
|
|
31017
30705
|
};
|
|
31018
30706
|
/**
|
|
31019
30707
|
* Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.
|
|
@@ -31022,7 +30710,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31022
30710
|
* */
|
|
31023
30711
|
GridApi.prototype.setCacheBlockSize = function (blockSize) {
|
|
31024
30712
|
if (!this.serverSideRowModel) {
|
|
31025
|
-
console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + "'");
|
|
31026
30713
|
return;
|
|
31027
30714
|
}
|
|
31028
30715
|
this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);
|
|
@@ -31033,9 +30720,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31033
30720
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
31034
30721
|
this.rowModel.setDatasource(datasource);
|
|
31035
30722
|
}
|
|
31036
|
-
else {
|
|
31037
|
-
console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_INFINITE + "'");
|
|
31038
|
-
}
|
|
31039
30723
|
};
|
|
31040
30724
|
/** Set new datasource for Viewport Row Model. */
|
|
31041
30725
|
GridApi.prototype.setViewportDatasource = function (viewportDatasource) {
|
|
@@ -31045,16 +30729,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31045
30729
|
// the enterprise implement it, rather than casting to 'any' here
|
|
31046
30730
|
this.rowModel.setViewportDatasource(viewportDatasource);
|
|
31047
30731
|
}
|
|
31048
|
-
else {
|
|
31049
|
-
console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '" + Constants.ROW_MODEL_TYPE_VIEWPORT + "'");
|
|
31050
|
-
}
|
|
31051
30732
|
};
|
|
31052
30733
|
/** Set the row data. */
|
|
31053
30734
|
GridApi.prototype.setRowData = function (rowData) {
|
|
31054
30735
|
// immutable service is part of the CSRM module, if missing, no CSRM
|
|
31055
30736
|
var missingImmutableService = this.immutableService == null;
|
|
31056
30737
|
if (missingImmutableService) {
|
|
31057
|
-
console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');
|
|
31058
30738
|
return;
|
|
31059
30739
|
}
|
|
31060
30740
|
// if no keys provided provided for rows, then we can tread the operation as Immutable
|
|
@@ -31068,32 +30748,26 @@ var GridApi = /** @class */ (function () {
|
|
|
31068
30748
|
};
|
|
31069
30749
|
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
31070
30750
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
31071
|
-
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
31072
30751
|
this.setPinnedTopRowData(rows);
|
|
31073
30752
|
};
|
|
31074
30753
|
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
31075
30754
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
31076
|
-
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
31077
30755
|
this.setPinnedBottomRowData(rows);
|
|
31078
30756
|
};
|
|
31079
30757
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
31080
30758
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
31081
|
-
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
31082
30759
|
return this.getPinnedTopRowCount();
|
|
31083
30760
|
};
|
|
31084
30761
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
31085
30762
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
31086
|
-
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
31087
30763
|
return this.getPinnedBottomRowCount();
|
|
31088
30764
|
};
|
|
31089
30765
|
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
31090
30766
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
31091
|
-
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
31092
30767
|
return this.getPinnedTopRow(index);
|
|
31093
30768
|
};
|
|
31094
30769
|
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
31095
30770
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
31096
|
-
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
31097
30771
|
return this.getPinnedBottomRow(index);
|
|
31098
30772
|
};
|
|
31099
30773
|
/** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */
|
|
@@ -31174,7 +30848,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31174
30848
|
if (params === void 0) { params = {}; }
|
|
31175
30849
|
if (Array.isArray(params)) {
|
|
31176
30850
|
// the old version of refreshCells() took an array of rowNodes for the first argument
|
|
31177
|
-
console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');
|
|
31178
30851
|
return;
|
|
31179
30852
|
}
|
|
31180
30853
|
this.rowRenderer.refreshCells(params);
|
|
@@ -31228,12 +30901,8 @@ var GridApi = /** @class */ (function () {
|
|
|
31228
30901
|
* It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).
|
|
31229
30902
|
*/
|
|
31230
30903
|
GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {
|
|
31231
|
-
if (missing(this.clientSideRowModel))
|
|
31232
|
-
|
|
31233
|
-
}
|
|
31234
|
-
if (exists(deprecated_refreshFromIndex)) {
|
|
31235
|
-
console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');
|
|
31236
|
-
}
|
|
30904
|
+
if (missing(this.clientSideRowModel)) ;
|
|
30905
|
+
if (exists(deprecated_refreshFromIndex)) ;
|
|
31237
30906
|
// we don't really want the user calling this if only one rowNode was expanded, instead they should be
|
|
31238
30907
|
// calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole
|
|
31239
30908
|
// grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,
|
|
@@ -31242,7 +30911,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31242
30911
|
};
|
|
31243
30912
|
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
31244
30913
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
31245
|
-
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
31246
30914
|
this.refreshClientSideRowModel(step);
|
|
31247
30915
|
};
|
|
31248
30916
|
/**
|
|
@@ -31250,9 +30918,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31250
30918
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
31251
30919
|
*/
|
|
31252
30920
|
GridApi.prototype.refreshClientSideRowModel = function (step) {
|
|
31253
|
-
if (missing(this.clientSideRowModel))
|
|
31254
|
-
console.warn('cannot call refreshClientSideRowModel unless using normal row model');
|
|
31255
|
-
}
|
|
30921
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31256
30922
|
var paramsStep = ClientSideRowModelSteps.EVERYTHING;
|
|
31257
30923
|
var stepsMapped = {
|
|
31258
30924
|
everything: ClientSideRowModelSteps.EVERYTHING,
|
|
@@ -31267,7 +30933,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31267
30933
|
paramsStep = stepsMapped[step];
|
|
31268
30934
|
}
|
|
31269
30935
|
if (missing(paramsStep)) {
|
|
31270
|
-
console.error("AG Grid: invalid step " + step + ", available steps are " + Object.keys(stepsMapped).join(', '));
|
|
31271
30936
|
return;
|
|
31272
30937
|
}
|
|
31273
30938
|
var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();
|
|
@@ -31313,9 +30978,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31313
30978
|
else if (this.serverSideRowModel) {
|
|
31314
30979
|
this.serverSideRowModel.expandAll(true);
|
|
31315
30980
|
}
|
|
31316
|
-
else
|
|
31317
|
-
console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');
|
|
31318
|
-
}
|
|
30981
|
+
else ;
|
|
31319
30982
|
};
|
|
31320
30983
|
/** Collapse all groups. */
|
|
31321
30984
|
GridApi.prototype.collapseAll = function () {
|
|
@@ -31325,23 +30988,17 @@ var GridApi = /** @class */ (function () {
|
|
|
31325
30988
|
else if (this.serverSideRowModel) {
|
|
31326
30989
|
this.serverSideRowModel.expandAll(false);
|
|
31327
30990
|
}
|
|
31328
|
-
else
|
|
31329
|
-
console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');
|
|
31330
|
-
}
|
|
30991
|
+
else ;
|
|
31331
30992
|
};
|
|
31332
30993
|
/** Gets the tool panel instance corresponding to the supplied `id`. */
|
|
31333
30994
|
GridApi.prototype.getToolPanelInstance = function (id) {
|
|
31334
30995
|
if (!this.sideBarComp) {
|
|
31335
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31336
30996
|
return;
|
|
31337
30997
|
}
|
|
31338
30998
|
var comp = this.sideBarComp.getToolPanelInstance(id);
|
|
31339
30999
|
return unwrapUserComp(comp);
|
|
31340
31000
|
};
|
|
31341
31001
|
GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {
|
|
31342
|
-
if (typeof eventName !== 'string') {
|
|
31343
|
-
console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');
|
|
31344
|
-
}
|
|
31345
31002
|
this.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31346
31003
|
};
|
|
31347
31004
|
/**
|
|
@@ -31352,9 +31009,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31352
31009
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31353
31010
|
*/
|
|
31354
31011
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
31355
|
-
if (eventName === 'virtualRowSelected') {
|
|
31356
|
-
console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node.");
|
|
31357
|
-
}
|
|
31358
31012
|
this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);
|
|
31359
31013
|
};
|
|
31360
31014
|
/** Pass a quick filter text into the grid for filtering. */
|
|
@@ -31363,38 +31017,19 @@ var GridApi = /** @class */ (function () {
|
|
|
31363
31017
|
};
|
|
31364
31018
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31365
31019
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31366
|
-
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31367
|
-
if (suppressEvents) {
|
|
31368
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31369
|
-
}
|
|
31370
31020
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31371
31021
|
};
|
|
31372
31022
|
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31373
31023
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31374
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31375
|
-
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31376
|
-
if (suppressEvents) {
|
|
31377
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31378
|
-
}
|
|
31379
31024
|
this.selectionService.deselectIndex(index);
|
|
31380
31025
|
};
|
|
31381
31026
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31382
31027
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31383
31028
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31384
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31385
|
-
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31386
|
-
if (suppressEvents) {
|
|
31387
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31388
|
-
}
|
|
31389
31029
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31390
31030
|
};
|
|
31391
31031
|
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31392
31032
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31393
|
-
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31394
|
-
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31395
|
-
if (suppressEvents) {
|
|
31396
|
-
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31397
|
-
}
|
|
31398
31033
|
node.setSelectedParams({ newValue: false });
|
|
31399
31034
|
};
|
|
31400
31035
|
/** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */
|
|
@@ -31415,10 +31050,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31415
31050
|
};
|
|
31416
31051
|
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31417
31052
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31418
|
-
if (missing(this.clientSideRowModel))
|
|
31419
|
-
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
31420
|
-
}
|
|
31421
|
-
console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead");
|
|
31053
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31422
31054
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });
|
|
31423
31055
|
};
|
|
31424
31056
|
/**
|
|
@@ -31440,12 +31072,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31440
31072
|
this.overlayWrapperComp.hideOverlay();
|
|
31441
31073
|
};
|
|
31442
31074
|
GridApi.prototype.isNodeSelected = function (node) {
|
|
31443
|
-
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31444
31075
|
return node.isSelected();
|
|
31445
31076
|
};
|
|
31446
31077
|
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31447
31078
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31448
|
-
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31449
31079
|
return null;
|
|
31450
31080
|
};
|
|
31451
31081
|
/**
|
|
@@ -31474,7 +31104,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31474
31104
|
};
|
|
31475
31105
|
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31476
31106
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31477
|
-
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31478
31107
|
};
|
|
31479
31108
|
/**
|
|
31480
31109
|
* Ensures the column is visible by scrolling the table if needed.
|
|
@@ -31516,9 +31145,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31516
31145
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
31517
31146
|
*/
|
|
31518
31147
|
GridApi.prototype.forEachLeafNode = function (callback) {
|
|
31519
|
-
if (missing(this.clientSideRowModel))
|
|
31520
|
-
console.warn('cannot call forEachNode unless using normal row model');
|
|
31521
|
-
}
|
|
31148
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31522
31149
|
this.clientSideRowModel.forEachLeafNode(callback);
|
|
31523
31150
|
};
|
|
31524
31151
|
/**
|
|
@@ -31532,16 +31159,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31532
31159
|
};
|
|
31533
31160
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
31534
31161
|
GridApi.prototype.forEachNodeAfterFilter = function (callback) {
|
|
31535
|
-
if (missing(this.clientSideRowModel))
|
|
31536
|
-
console.warn('cannot call forEachNodeAfterFilter unless using normal row model');
|
|
31537
|
-
}
|
|
31162
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31538
31163
|
this.clientSideRowModel.forEachNodeAfterFilter(callback);
|
|
31539
31164
|
};
|
|
31540
31165
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
31541
31166
|
GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {
|
|
31542
|
-
if (missing(this.clientSideRowModel))
|
|
31543
|
-
console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');
|
|
31544
|
-
}
|
|
31167
|
+
if (missing(this.clientSideRowModel)) ;
|
|
31545
31168
|
this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);
|
|
31546
31169
|
};
|
|
31547
31170
|
/**
|
|
@@ -31779,12 +31402,10 @@ var GridApi = /** @class */ (function () {
|
|
|
31779
31402
|
};
|
|
31780
31403
|
/** @deprecated use `setProcessPivotResultColDef` instead */
|
|
31781
31404
|
GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {
|
|
31782
|
-
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');
|
|
31783
31405
|
this.setProcessPivotResultColDef(processSecondaryColDefFunc);
|
|
31784
31406
|
};
|
|
31785
31407
|
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
|
|
31786
31408
|
GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {
|
|
31787
|
-
console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');
|
|
31788
31409
|
this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);
|
|
31789
31410
|
};
|
|
31790
31411
|
GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {
|
|
@@ -31840,9 +31461,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31840
31461
|
/** Show/hide the entire side bar, including any visible panel and the tab buttons. */
|
|
31841
31462
|
GridApi.prototype.setSideBarVisible = function (show) {
|
|
31842
31463
|
if (!this.sideBarComp) {
|
|
31843
|
-
if (show) {
|
|
31844
|
-
console.warn('AG Grid: sideBar is not loaded');
|
|
31845
|
-
}
|
|
31846
31464
|
return;
|
|
31847
31465
|
}
|
|
31848
31466
|
this.sideBarComp.setDisplayed(show);
|
|
@@ -31850,7 +31468,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31850
31468
|
/** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */
|
|
31851
31469
|
GridApi.prototype.setSideBarPosition = function (position) {
|
|
31852
31470
|
if (!this.sideBarComp) {
|
|
31853
|
-
console.warn('AG Grid: sideBar is not loaded');
|
|
31854
31471
|
return;
|
|
31855
31472
|
}
|
|
31856
31473
|
this.sideBarComp.setSideBarPosition(position);
|
|
@@ -31858,7 +31475,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31858
31475
|
/** Opens a particular tool panel. Provide the ID of the tool panel to open. */
|
|
31859
31476
|
GridApi.prototype.openToolPanel = function (key) {
|
|
31860
31477
|
if (!this.sideBarComp) {
|
|
31861
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31862
31478
|
return;
|
|
31863
31479
|
}
|
|
31864
31480
|
this.sideBarComp.openToolPanel(key);
|
|
@@ -31866,7 +31482,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31866
31482
|
/** Closes the currently open tool panel (if any). */
|
|
31867
31483
|
GridApi.prototype.closeToolPanel = function () {
|
|
31868
31484
|
if (!this.sideBarComp) {
|
|
31869
|
-
console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');
|
|
31870
31485
|
return;
|
|
31871
31486
|
}
|
|
31872
31487
|
this.sideBarComp.close();
|
|
@@ -31892,14 +31507,12 @@ var GridApi = /** @class */ (function () {
|
|
|
31892
31507
|
};
|
|
31893
31508
|
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31894
31509
|
GridApi.prototype.doLayout = function () {
|
|
31895
|
-
|
|
31896
|
-
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
31510
|
+
doOnce(function () { return (void 0); }, 'doLayoutDeprecated');
|
|
31897
31511
|
};
|
|
31898
31512
|
/** Tells the grid to recalculate the row heights. */
|
|
31899
31513
|
GridApi.prototype.resetRowHeights = function () {
|
|
31900
31514
|
if (exists(this.clientSideRowModel)) {
|
|
31901
31515
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
31902
|
-
console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');
|
|
31903
31516
|
return;
|
|
31904
31517
|
}
|
|
31905
31518
|
this.clientSideRowModel.resetRowHeights();
|
|
@@ -31986,9 +31599,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31986
31599
|
setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);
|
|
31987
31600
|
};
|
|
31988
31601
|
GridApi.prototype.warnIfDestroyed = function (methodName) {
|
|
31989
|
-
if (this.destroyCalled) {
|
|
31990
|
-
console.warn("AG Grid: Grid API method " + methodName + " was called on a grid that was destroyed.");
|
|
31991
|
-
}
|
|
31992
31602
|
return this.destroyCalled;
|
|
31993
31603
|
};
|
|
31994
31604
|
/** Reset the quick filter cache text on every rowNode. */
|
|
@@ -32000,7 +31610,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32000
31610
|
};
|
|
32001
31611
|
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
32002
31612
|
GridApi.prototype.getRangeSelections = function () {
|
|
32003
|
-
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.");
|
|
32004
31613
|
return null;
|
|
32005
31614
|
};
|
|
32006
31615
|
/** Returns the list of selected cell ranges. */
|
|
@@ -32008,7 +31617,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32008
31617
|
if (this.rangeService) {
|
|
32009
31618
|
return this.rangeService.getCellRanges();
|
|
32010
31619
|
}
|
|
32011
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32012
31620
|
return null;
|
|
32013
31621
|
};
|
|
32014
31622
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
@@ -32016,20 +31624,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32016
31624
|
};
|
|
32017
31625
|
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
32018
31626
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
32019
|
-
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()');
|
|
32020
31627
|
};
|
|
32021
31628
|
/** Adds the provided cell range to the selected ranges. */
|
|
32022
31629
|
GridApi.prototype.addCellRange = function (params) {
|
|
32023
|
-
if (!this.rangeService) {
|
|
32024
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32025
|
-
}
|
|
32026
31630
|
this.rangeService.addCellRange(params);
|
|
32027
31631
|
};
|
|
32028
31632
|
/** Clears the selected ranges. */
|
|
32029
31633
|
GridApi.prototype.clearRangeSelection = function () {
|
|
32030
|
-
if (!this.rangeService) {
|
|
32031
|
-
console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');
|
|
32032
|
-
}
|
|
32033
31634
|
this.rangeService.removeAllCellRanges();
|
|
32034
31635
|
};
|
|
32035
31636
|
/** Reverts the last cell edit. */
|
|
@@ -32116,30 +31717,18 @@ var GridApi = /** @class */ (function () {
|
|
|
32116
31717
|
};
|
|
32117
31718
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
32118
31719
|
GridApi.prototype.copyToClipboard = function (params) {
|
|
32119
|
-
if (!this.clipboardService) {
|
|
32120
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32121
|
-
}
|
|
32122
31720
|
this.clipboardService.copyToClipboard(params);
|
|
32123
31721
|
};
|
|
32124
31722
|
/** Copies the selected rows to the clipboard. */
|
|
32125
31723
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
32126
|
-
if (!this.clipboardService) {
|
|
32127
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32128
|
-
}
|
|
32129
31724
|
this.clipboardService.copySelectedRowsToClipboard(params);
|
|
32130
31725
|
};
|
|
32131
31726
|
/** Copies the selected ranges to the clipboard. */
|
|
32132
31727
|
GridApi.prototype.copySelectedRangeToClipboard = function (params) {
|
|
32133
|
-
if (!this.clipboardService) {
|
|
32134
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32135
|
-
}
|
|
32136
31728
|
this.clipboardService.copySelectedRangeToClipboard(params);
|
|
32137
31729
|
};
|
|
32138
31730
|
/** Copies the selected range down, similar to `Ctrl + D` in Excel. */
|
|
32139
31731
|
GridApi.prototype.copySelectedRangeDown = function () {
|
|
32140
|
-
if (!this.clipboardService) {
|
|
32141
|
-
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
32142
|
-
}
|
|
32143
31732
|
this.clipboardService.copyRangeDown();
|
|
32144
31733
|
};
|
|
32145
31734
|
/** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */
|
|
@@ -32156,7 +31745,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32156
31745
|
column = this.columnModel.getPrimaryColumn(colKey);
|
|
32157
31746
|
}
|
|
32158
31747
|
if (!column) {
|
|
32159
|
-
console.error("AG Grid: column '" + colKey + "' not found");
|
|
32160
31748
|
return;
|
|
32161
31749
|
}
|
|
32162
31750
|
this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);
|
|
@@ -32209,7 +31797,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32209
31797
|
GridApi.prototype.startEditingCell = function (params) {
|
|
32210
31798
|
var column = this.columnModel.getGridColumn(params.colKey);
|
|
32211
31799
|
if (!column) {
|
|
32212
|
-
console.warn("AG Grid: no column found for " + params.colKey);
|
|
32213
31800
|
return;
|
|
32214
31801
|
}
|
|
32215
31802
|
var cellPosition = {
|
|
@@ -32248,14 +31835,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32248
31835
|
/** Apply transactions to the server side row model. */
|
|
32249
31836
|
GridApi.prototype.applyServerSideTransaction = function (transaction) {
|
|
32250
31837
|
if (!this.serverSideTransactionManager) {
|
|
32251
|
-
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
32252
31838
|
return;
|
|
32253
31839
|
}
|
|
32254
31840
|
return this.serverSideTransactionManager.applyTransaction(transaction);
|
|
32255
31841
|
};
|
|
32256
31842
|
GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {
|
|
32257
31843
|
if (!this.serverSideTransactionManager) {
|
|
32258
|
-
console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');
|
|
32259
31844
|
return;
|
|
32260
31845
|
}
|
|
32261
31846
|
return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);
|
|
@@ -32263,14 +31848,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32263
31848
|
/** Gets all failed server side loads to retry. */
|
|
32264
31849
|
GridApi.prototype.retryServerSideLoads = function () {
|
|
32265
31850
|
if (!this.serverSideRowModel) {
|
|
32266
|
-
console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');
|
|
32267
31851
|
return;
|
|
32268
31852
|
}
|
|
32269
31853
|
this.serverSideRowModel.retryLoads();
|
|
32270
31854
|
};
|
|
32271
31855
|
GridApi.prototype.flushServerSideAsyncTransactions = function () {
|
|
32272
31856
|
if (!this.serverSideTransactionManager) {
|
|
32273
|
-
console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');
|
|
32274
31857
|
return;
|
|
32275
31858
|
}
|
|
32276
31859
|
return this.serverSideTransactionManager.flushAsyncTransactions();
|
|
@@ -32278,7 +31861,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32278
31861
|
/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
|
|
32279
31862
|
GridApi.prototype.applyTransaction = function (rowDataTransaction) {
|
|
32280
31863
|
if (!this.clientSideRowModel) {
|
|
32281
|
-
console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');
|
|
32282
31864
|
return;
|
|
32283
31865
|
}
|
|
32284
31866
|
var res = this.clientSideRowModel.updateRowData(rowDataTransaction);
|
|
@@ -32296,14 +31878,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32296
31878
|
};
|
|
32297
31879
|
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
32298
31880
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
32299
|
-
|
|
32300
|
-
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
31881
|
+
doOnce(function () { return (void 0); }, 'updateRowData deprecated');
|
|
32301
31882
|
return this.applyTransaction(rowDataTransaction);
|
|
32302
31883
|
};
|
|
32303
31884
|
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
|
|
32304
31885
|
GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {
|
|
32305
31886
|
if (!this.clientSideRowModel) {
|
|
32306
|
-
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
32307
31887
|
return;
|
|
32308
31888
|
}
|
|
32309
31889
|
this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);
|
|
@@ -32311,41 +31891,34 @@ var GridApi = /** @class */ (function () {
|
|
|
32311
31891
|
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
|
|
32312
31892
|
GridApi.prototype.flushAsyncTransactions = function () {
|
|
32313
31893
|
if (!this.clientSideRowModel) {
|
|
32314
|
-
console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');
|
|
32315
31894
|
return;
|
|
32316
31895
|
}
|
|
32317
31896
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
32318
31897
|
};
|
|
32319
31898
|
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
32320
31899
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
32321
|
-
|
|
32322
|
-
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
31900
|
+
doOnce(function () { return (void 0); }, 'batchUpdateRowData deprecated');
|
|
32323
31901
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
32324
31902
|
};
|
|
32325
31903
|
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
32326
31904
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32327
|
-
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
32328
31905
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
32329
31906
|
};
|
|
32330
31907
|
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32331
31908
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32332
|
-
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32333
31909
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
32334
31910
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
32335
31911
|
};
|
|
32336
31912
|
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32337
31913
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32338
|
-
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32339
31914
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
32340
31915
|
};
|
|
32341
31916
|
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32342
31917
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32343
|
-
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32344
31918
|
this.refreshInfiniteCache();
|
|
32345
31919
|
};
|
|
32346
31920
|
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32347
31921
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32348
|
-
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32349
31922
|
this.refreshInfiniteCache();
|
|
32350
31923
|
};
|
|
32351
31924
|
/**
|
|
@@ -32357,18 +31930,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32357
31930
|
if (this.infiniteRowModel) {
|
|
32358
31931
|
this.infiniteRowModel.refreshCache();
|
|
32359
31932
|
}
|
|
32360
|
-
else {
|
|
32361
|
-
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32362
|
-
}
|
|
32363
31933
|
};
|
|
32364
31934
|
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32365
31935
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32366
|
-
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32367
31936
|
this.purgeInfinitePageCache();
|
|
32368
31937
|
};
|
|
32369
31938
|
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32370
31939
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32371
|
-
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32372
31940
|
this.purgeInfiniteCache();
|
|
32373
31941
|
};
|
|
32374
31942
|
/**
|
|
@@ -32381,28 +31949,20 @@ var GridApi = /** @class */ (function () {
|
|
|
32381
31949
|
if (this.infiniteRowModel) {
|
|
32382
31950
|
this.infiniteRowModel.purgeCache();
|
|
32383
31951
|
}
|
|
32384
|
-
else {
|
|
32385
|
-
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32386
|
-
}
|
|
32387
31952
|
};
|
|
32388
31953
|
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
32389
31954
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32390
|
-
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
32391
31955
|
this.purgeServerSideCache(route);
|
|
32392
31956
|
};
|
|
32393
31957
|
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
32394
31958
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
32395
31959
|
if (route === void 0) { route = []; }
|
|
32396
31960
|
if (this.serverSideRowModel) {
|
|
32397
|
-
console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.");
|
|
32398
31961
|
this.refreshServerSide({
|
|
32399
31962
|
route: route,
|
|
32400
31963
|
purge: true
|
|
32401
31964
|
});
|
|
32402
31965
|
}
|
|
32403
|
-
else {
|
|
32404
|
-
console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.");
|
|
32405
|
-
}
|
|
32406
31966
|
};
|
|
32407
31967
|
/**
|
|
32408
31968
|
* Refresh a server-side level.
|
|
@@ -32411,34 +31971,29 @@ var GridApi = /** @class */ (function () {
|
|
|
32411
31971
|
*/
|
|
32412
31972
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
32413
31973
|
if (!this.serverSideRowModel) {
|
|
32414
|
-
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
32415
31974
|
return;
|
|
32416
31975
|
}
|
|
32417
31976
|
this.serverSideRowModel.refreshStore(params);
|
|
32418
31977
|
};
|
|
32419
31978
|
/** @deprecated use `refreshServerSide` instead */
|
|
32420
31979
|
GridApi.prototype.refreshServerSideStore = function (params) {
|
|
32421
|
-
|
|
32422
|
-
doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');
|
|
31980
|
+
doOnce(function () { return (void 0); }, 'refreshServerSideStore-renamed');
|
|
32423
31981
|
return this.refreshServerSide(params);
|
|
32424
31982
|
};
|
|
32425
31983
|
/** @deprecated use `getServerSideGroupLevelState` instead */
|
|
32426
31984
|
GridApi.prototype.getServerSideStoreState = function () {
|
|
32427
|
-
|
|
32428
|
-
doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');
|
|
31985
|
+
doOnce(function () { return (void 0); }, 'getServerSideStoreState-renamed');
|
|
32429
31986
|
return this.getServerSideGroupLevelState();
|
|
32430
31987
|
};
|
|
32431
31988
|
/** Returns info on all server side group levels. */
|
|
32432
31989
|
GridApi.prototype.getServerSideGroupLevelState = function () {
|
|
32433
31990
|
if (!this.serverSideRowModel) {
|
|
32434
|
-
console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.");
|
|
32435
31991
|
return [];
|
|
32436
31992
|
}
|
|
32437
31993
|
return this.serverSideRowModel.getStoreState();
|
|
32438
31994
|
};
|
|
32439
31995
|
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
32440
31996
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32441
|
-
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
32442
31997
|
return this.getInfiniteRowCount();
|
|
32443
31998
|
};
|
|
32444
31999
|
/** The row count defines how many rows the grid allows scrolling to. */
|
|
@@ -32446,13 +32001,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32446
32001
|
if (this.infiniteRowModel) {
|
|
32447
32002
|
return this.infiniteRowModel.getRowCount();
|
|
32448
32003
|
}
|
|
32449
|
-
else {
|
|
32450
|
-
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32451
|
-
}
|
|
32452
32004
|
};
|
|
32453
32005
|
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32454
32006
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32455
|
-
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32456
32007
|
return this.isLastRowIndexKnown();
|
|
32457
32008
|
};
|
|
32458
32009
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32460,18 +32011,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32460
32011
|
if (this.infiniteRowModel) {
|
|
32461
32012
|
return this.infiniteRowModel.isLastRowIndexKnown();
|
|
32462
32013
|
}
|
|
32463
|
-
else {
|
|
32464
|
-
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32465
|
-
}
|
|
32466
32014
|
};
|
|
32467
32015
|
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32468
32016
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32469
|
-
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32470
32017
|
this.setRowCount(rowCount, maxRowFound);
|
|
32471
32018
|
};
|
|
32472
32019
|
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32473
32020
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32474
|
-
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32475
32021
|
this.setRowCount(rowCount, maxRowFound);
|
|
32476
32022
|
};
|
|
32477
32023
|
/**
|
|
@@ -32485,18 +32031,13 @@ var GridApi = /** @class */ (function () {
|
|
|
32485
32031
|
if (this.infiniteRowModel) {
|
|
32486
32032
|
this.infiniteRowModel.setRowCount(rowCount, maxRowFound);
|
|
32487
32033
|
}
|
|
32488
|
-
else {
|
|
32489
|
-
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32490
|
-
}
|
|
32491
32034
|
};
|
|
32492
32035
|
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32493
32036
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32494
|
-
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32495
32037
|
return this.getCacheBlockState();
|
|
32496
32038
|
};
|
|
32497
32039
|
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32498
32040
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32499
|
-
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32500
32041
|
return this.getCacheBlockState();
|
|
32501
32042
|
};
|
|
32502
32043
|
/**
|
|
@@ -32507,11 +32048,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32507
32048
|
};
|
|
32508
32049
|
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32509
32050
|
GridApi.prototype.checkGridSize = function () {
|
|
32510
|
-
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32511
32051
|
};
|
|
32512
32052
|
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32513
32053
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32514
|
-
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32515
32054
|
return this.getFirstDisplayedRow();
|
|
32516
32055
|
};
|
|
32517
32056
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -32520,7 +32059,6 @@ var GridApi = /** @class */ (function () {
|
|
|
32520
32059
|
};
|
|
32521
32060
|
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32522
32061
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32523
|
-
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32524
32062
|
return this.getLastDisplayedRow();
|
|
32525
32063
|
};
|
|
32526
32064
|
/** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
@@ -33572,11 +33110,7 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33572
33110
|
};
|
|
33573
33111
|
};
|
|
33574
33112
|
SelectAllFeature.prototype.checkRightRowModelType = function () {
|
|
33575
|
-
|
|
33576
|
-
var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
33577
|
-
if (!rowModelMatches) {
|
|
33578
|
-
console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using " + rowModelType);
|
|
33579
|
-
}
|
|
33113
|
+
this.rowModel.getType();
|
|
33580
33114
|
};
|
|
33581
33115
|
SelectAllFeature.prototype.onCbSelectAll = function () {
|
|
33582
33116
|
if (this.processingEventFromCheckbox) {
|
|
@@ -33608,15 +33142,12 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33608
33142
|
}
|
|
33609
33143
|
if (result) {
|
|
33610
33144
|
if (this.gridOptionsWrapper.isRowModelServerSide()) {
|
|
33611
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');
|
|
33612
33145
|
return false;
|
|
33613
33146
|
}
|
|
33614
33147
|
if (this.gridOptionsWrapper.isRowModelInfinite()) {
|
|
33615
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');
|
|
33616
33148
|
return false;
|
|
33617
33149
|
}
|
|
33618
33150
|
if (this.gridOptionsWrapper.isRowModelViewport()) {
|
|
33619
|
-
console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');
|
|
33620
33151
|
return false;
|
|
33621
33152
|
}
|
|
33622
33153
|
// otherwise the row model is compatible, so return true
|
|
@@ -36233,9 +35764,6 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
36233
35764
|
// frames. this stops bugs - where some code is asking for a frame to be executed
|
|
36234
35765
|
// when it should not.
|
|
36235
35766
|
AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {
|
|
36236
|
-
if (this.useAnimationFrame === false) {
|
|
36237
|
-
console.warn("AG Grid: AnimationFrameService." + methodName + " called but animation frames are off");
|
|
36238
|
-
}
|
|
36239
35767
|
};
|
|
36240
35768
|
AnimationFrameService.prototype.createTask = function (task, index, list) {
|
|
36241
35769
|
this.verifyAnimationFrameOn(list);
|
|
@@ -37472,10 +37000,10 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37472
37000
|
this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));
|
|
37473
37001
|
if (this.gridOptionsWrapper.isGroupRowsSticky()) {
|
|
37474
37002
|
if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
37475
|
-
doOnce(function () { return
|
|
37003
|
+
doOnce(function () { return (void 0); }, 'rowRenderer.stickyWorksWithCsrmOnly');
|
|
37476
37004
|
}
|
|
37477
37005
|
else if (this.gridOptionsWrapper.isTreeData()) {
|
|
37478
|
-
doOnce(function () { return
|
|
37006
|
+
doOnce(function () { return (void 0); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');
|
|
37479
37007
|
}
|
|
37480
37008
|
else {
|
|
37481
37009
|
this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));
|
|
@@ -41619,9 +41147,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41619
41147
|
if (menuItemOrString === 'separator') {
|
|
41620
41148
|
_this.addSeparator();
|
|
41621
41149
|
}
|
|
41622
|
-
else if (typeof menuItemOrString === 'string')
|
|
41623
|
-
console.warn("AG Grid: unrecognised menu item " + menuItemOrString);
|
|
41624
|
-
}
|
|
41150
|
+
else if (typeof menuItemOrString === 'string') ;
|
|
41625
41151
|
else {
|
|
41626
41152
|
_this.addItem(menuItemOrString);
|
|
41627
41153
|
}
|
|
@@ -41986,9 +41512,7 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41986
41512
|
else if (typeof this.params.icon === 'string') {
|
|
41987
41513
|
icon.innerHTML = this.params.icon;
|
|
41988
41514
|
}
|
|
41989
|
-
else
|
|
41990
|
-
console.warn('AG Grid: menu item icon must be DOM node or string');
|
|
41991
|
-
}
|
|
41515
|
+
else ;
|
|
41992
41516
|
}
|
|
41993
41517
|
this.getGui().appendChild(icon);
|
|
41994
41518
|
};
|
|
@@ -42938,7 +42462,6 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42938
42462
|
var eDocument = this.gridOptionsWrapper.getDocument();
|
|
42939
42463
|
var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });
|
|
42940
42464
|
if (!eDocument) {
|
|
42941
|
-
console.warn('ag-grid: could not find the document, document is empty');
|
|
42942
42465
|
return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };
|
|
42943
42466
|
}
|
|
42944
42467
|
var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });
|
|
@@ -43351,7 +42874,6 @@ var VirtualList = /** @class */ (function (_super) {
|
|
|
43351
42874
|
VirtualList.prototype.ensureIndexVisible = function (index) {
|
|
43352
42875
|
var lastRow = this.model.getRowCount();
|
|
43353
42876
|
if (typeof index !== 'number' || index < 0 || index >= lastRow) {
|
|
43354
|
-
console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);
|
|
43355
42877
|
return;
|
|
43356
42878
|
}
|
|
43357
42879
|
var rowTopPixel = index * this.rowHeight;
|
|
@@ -43655,7 +43177,6 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43655
43177
|
break;
|
|
43656
43178
|
default:
|
|
43657
43179
|
pointer = null;
|
|
43658
|
-
console.warn('AG Grid: unknown key for navigation ' + key);
|
|
43659
43180
|
break;
|
|
43660
43181
|
}
|
|
43661
43182
|
if (pointer) {
|
|
@@ -44050,12 +43571,6 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
44050
43571
|
var groupOpenedEvent = event;
|
|
44051
43572
|
_this.processGroupOpenedEvent(groupOpenedEvent);
|
|
44052
43573
|
break;
|
|
44053
|
-
case Events.EVENT_COLUMN_PIVOT_CHANGED:
|
|
44054
|
-
// we cannot support pivoting with aligned grids as the columns will be out of sync as the
|
|
44055
|
-
// grids will have columns created based on the row data of the grid.
|
|
44056
|
-
console.warn('AG Grid: pivoting is not supported with aligned grids. ' +
|
|
44057
|
-
'You can only use one of these features at a time in a grid.');
|
|
44058
|
-
break;
|
|
44059
43574
|
}
|
|
44060
43575
|
});
|
|
44061
43576
|
};
|
|
@@ -44357,13 +43872,11 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44357
43872
|
// where groups don't actually appear in the selection normally.
|
|
44358
43873
|
SelectionService.prototype.getBestCostNodeSelection = function () {
|
|
44359
43874
|
if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
44360
|
-
console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');
|
|
44361
43875
|
return;
|
|
44362
43876
|
}
|
|
44363
43877
|
var clientSideRowModel = this.rowModel;
|
|
44364
43878
|
var topLevelNodes = clientSideRowModel.getTopLevelNodes();
|
|
44365
43879
|
if (topLevelNodes === null) {
|
|
44366
|
-
console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');
|
|
44367
43880
|
return;
|
|
44368
43881
|
}
|
|
44369
43882
|
var result = [];
|
|
@@ -44405,7 +43918,6 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44405
43918
|
var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;
|
|
44406
43919
|
if (justFiltered) {
|
|
44407
43920
|
if (!rowModelClientSide) {
|
|
44408
|
-
console.error('AG Grid: selecting just filtered only works with In Memory Row Model');
|
|
44409
43921
|
return;
|
|
44410
43922
|
}
|
|
44411
43923
|
var clientSideRowModel = this.rowModel;
|
|
@@ -44518,11 +44030,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44518
44030
|
}
|
|
44519
44031
|
/** 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. */
|
|
44520
44032
|
ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {
|
|
44521
|
-
// AG-3403 validate that gridWidth is provided because this method has the same name as
|
|
44522
|
-
// a method on the grid API that takes no arguments, and it's easy to confuse the two
|
|
44523
|
-
if (typeof gridWidth === "undefined") {
|
|
44524
|
-
console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');
|
|
44525
|
-
}
|
|
44526
44033
|
this.columnModel.sizeColumnsToFit(gridWidth, 'api');
|
|
44527
44034
|
};
|
|
44528
44035
|
/** Call this if you want to open or close a column group. */
|
|
@@ -44591,7 +44098,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44591
44098
|
ColumnApi.prototype.moveColumn = function (key, toIndex) {
|
|
44592
44099
|
if (typeof key === 'number') {
|
|
44593
44100
|
// moveColumn used to take indexes, so this is advising user who hasn't moved to new method name
|
|
44594
|
-
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');
|
|
44595
44101
|
this.columnModel.moveColumnByIndex(key, toIndex, 'api');
|
|
44596
44102
|
}
|
|
44597
44103
|
else {
|
|
@@ -44622,7 +44128,6 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44622
44128
|
ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };
|
|
44623
44129
|
/** @deprecated Use `getPivotResultColumn` instead */
|
|
44624
44130
|
ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {
|
|
44625
|
-
console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');
|
|
44626
44131
|
return this.getPivotResultColumn(pivotKeys, valueColKey);
|
|
44627
44132
|
};
|
|
44628
44133
|
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
|
|
@@ -44681,21 +44186,18 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44681
44186
|
ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };
|
|
44682
44187
|
/** @deprecated Use `setPivotResultColumns` instead. */
|
|
44683
44188
|
ColumnApi.prototype.setSecondaryColumns = function (colDefs) {
|
|
44684
|
-
console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');
|
|
44685
44189
|
this.setPivotResultColumns(colDefs);
|
|
44686
44190
|
};
|
|
44687
44191
|
/** Set the pivot result columns. */
|
|
44688
44192
|
ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };
|
|
44689
44193
|
/** @deprecated Use `getPivotResultColumns` instead. */
|
|
44690
44194
|
ColumnApi.prototype.getSecondaryColumns = function () {
|
|
44691
|
-
console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');
|
|
44692
44195
|
return this.getPivotResultColumns();
|
|
44693
44196
|
};
|
|
44694
44197
|
/** Returns the grid's pivot result columns. */
|
|
44695
44198
|
ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };
|
|
44696
44199
|
/** @deprecated Use `getColumns` instead. */
|
|
44697
44200
|
ColumnApi.prototype.getPrimaryColumns = function () {
|
|
44698
|
-
console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');
|
|
44699
44201
|
return this.getColumns();
|
|
44700
44202
|
};
|
|
44701
44203
|
ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {
|
|
@@ -44714,82 +44216,66 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44714
44216
|
// }
|
|
44715
44217
|
/** @deprecated Use `getColumns` instead */
|
|
44716
44218
|
ColumnApi.prototype.getAllColumns = function () {
|
|
44717
|
-
console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');
|
|
44718
44219
|
return this.getColumns();
|
|
44719
44220
|
};
|
|
44720
44221
|
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */
|
|
44721
44222
|
ColumnApi.prototype.columnGroupOpened = function (group, newValue) {
|
|
44722
|
-
console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');
|
|
44723
44223
|
this.setColumnGroupOpened(group, newValue);
|
|
44724
44224
|
};
|
|
44725
44225
|
/** @deprecated hideColumns is deprecated, use setColumnsVisible */
|
|
44726
44226
|
ColumnApi.prototype.hideColumns = function (colIds, hide) {
|
|
44727
|
-
console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');
|
|
44728
44227
|
this.columnModel.setColumnsVisible(colIds, !hide, 'api');
|
|
44729
44228
|
};
|
|
44730
44229
|
/** @deprecated hideColumn is deprecated, use setColumnVisible */
|
|
44731
44230
|
ColumnApi.prototype.hideColumn = function (colId, hide) {
|
|
44732
|
-
console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');
|
|
44733
44231
|
this.columnModel.setColumnVisible(colId, !hide, 'api');
|
|
44734
44232
|
};
|
|
44735
44233
|
/** @deprecated setState is deprecated, use setColumnState */
|
|
44736
44234
|
ColumnApi.prototype.setState = function (columnState) {
|
|
44737
|
-
console.error('AG Grid: setState is deprecated, use setColumnState');
|
|
44738
44235
|
return this.setColumnState(columnState);
|
|
44739
44236
|
};
|
|
44740
44237
|
/** @deprecated getState is deprecated, use getColumnState */
|
|
44741
44238
|
ColumnApi.prototype.getState = function () {
|
|
44742
|
-
console.error('AG Grid: getState is deprecated, use getColumnState');
|
|
44743
44239
|
return this.getColumnState();
|
|
44744
44240
|
};
|
|
44745
44241
|
/** @deprecated resetState is deprecated, use resetColumnState */
|
|
44746
44242
|
ColumnApi.prototype.resetState = function () {
|
|
44747
|
-
console.error('AG Grid: resetState is deprecated, use resetColumnState');
|
|
44748
44243
|
this.resetColumnState();
|
|
44749
44244
|
};
|
|
44750
44245
|
/** @deprecated getAggregationColumns is deprecated, use getValueColumns */
|
|
44751
44246
|
ColumnApi.prototype.getAggregationColumns = function () {
|
|
44752
|
-
console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');
|
|
44753
44247
|
return this.columnModel.getValueColumns();
|
|
44754
44248
|
};
|
|
44755
44249
|
/** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */
|
|
44756
44250
|
ColumnApi.prototype.removeAggregationColumn = function (colKey) {
|
|
44757
|
-
console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');
|
|
44758
44251
|
this.columnModel.removeValueColumn(colKey, 'api');
|
|
44759
44252
|
};
|
|
44760
44253
|
/** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */
|
|
44761
44254
|
ColumnApi.prototype.removeAggregationColumns = function (colKeys) {
|
|
44762
|
-
console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');
|
|
44763
44255
|
this.columnModel.removeValueColumns(colKeys, 'api');
|
|
44764
44256
|
};
|
|
44765
44257
|
/** @deprecated addAggregationColumn is deprecated, use addValueColumn */
|
|
44766
44258
|
ColumnApi.prototype.addAggregationColumn = function (colKey) {
|
|
44767
|
-
console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');
|
|
44768
44259
|
this.columnModel.addValueColumn(colKey, 'api');
|
|
44769
44260
|
};
|
|
44770
44261
|
/** @deprecated addAggregationColumns is deprecated, use addValueColumns */
|
|
44771
44262
|
ColumnApi.prototype.addAggregationColumns = function (colKeys) {
|
|
44772
|
-
console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');
|
|
44773
44263
|
this.columnModel.addValueColumns(colKeys, 'api');
|
|
44774
44264
|
};
|
|
44775
44265
|
/** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */
|
|
44776
44266
|
ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {
|
|
44777
|
-
console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');
|
|
44778
44267
|
this.columnModel.setColumnAggFunc(column, aggFunc, 'api');
|
|
44779
44268
|
};
|
|
44780
44269
|
/** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */
|
|
44781
44270
|
ColumnApi.prototype.getDisplayNameForCol = function (column) {
|
|
44782
|
-
console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');
|
|
44783
44271
|
return this.getDisplayNameForColumn(column, null);
|
|
44784
44272
|
};
|
|
44785
44273
|
/** @deprecated setColumnState is deprecated, use applyColumnState. */
|
|
44786
44274
|
ColumnApi.prototype.setColumnState = function (columnState) {
|
|
44787
|
-
console.error('AG Grid: setColumnState is deprecated, use applyColumnState');
|
|
44788
44275
|
return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');
|
|
44789
44276
|
};
|
|
44790
44277
|
/** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */
|
|
44791
44278
|
ColumnApi.prototype.getOriginalColumnGroup = function (name) {
|
|
44792
|
-
console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');
|
|
44793
44279
|
return this.columnModel.getProvidedColumnGroup(name);
|
|
44794
44280
|
};
|
|
44795
44281
|
__decorate$1n([
|
|
@@ -44942,7 +44428,6 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44942
44428
|
// need either a field or a newValueHandler for this to work
|
|
44943
44429
|
if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {
|
|
44944
44430
|
// we don't tell user about newValueHandler, as that is deprecated
|
|
44945
|
-
console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work");
|
|
44946
44431
|
return false;
|
|
44947
44432
|
}
|
|
44948
44433
|
var params = {
|
|
@@ -45119,7 +44604,6 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
45119
44604
|
result = String(result);
|
|
45120
44605
|
if (result === '[object Object]') {
|
|
45121
44606
|
doOnce(function () {
|
|
45122
|
-
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');
|
|
45123
44607
|
}, 'getKeyForNode - warn about [object,object]');
|
|
45124
44608
|
}
|
|
45125
44609
|
return result;
|
|
@@ -45191,9 +44675,7 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
45191
44675
|
var expression = expressionOrFunc;
|
|
45192
44676
|
return this.evaluateExpression(expression, params);
|
|
45193
44677
|
}
|
|
45194
|
-
else
|
|
45195
|
-
console.error('AG Grid: value should be either a string or a function', expressionOrFunc);
|
|
45196
|
-
}
|
|
44678
|
+
else ;
|
|
45197
44679
|
};
|
|
45198
44680
|
ExpressionService.prototype.evaluateExpression = function (expression, params) {
|
|
45199
44681
|
try {
|
|
@@ -45207,13 +44689,9 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
45207
44689
|
// the expression failed, which can happen, as it's the client that
|
|
45208
44690
|
// provides the expression. so print a nice message
|
|
45209
44691
|
// tslint:disable-next-line
|
|
45210
|
-
console.log('Processing of the expression failed');
|
|
45211
44692
|
// tslint:disable-next-line
|
|
45212
|
-
console.log('Expression = ' + expression);
|
|
45213
44693
|
// tslint:disable-next-line
|
|
45214
|
-
console.log('Params =', params);
|
|
45215
44694
|
// tslint:disable-next-line
|
|
45216
|
-
console.log('Exception = ' + e);
|
|
45217
44695
|
return null;
|
|
45218
44696
|
}
|
|
45219
44697
|
};
|
|
@@ -45311,7 +44789,6 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
45311
44789
|
};
|
|
45312
44790
|
TemplateService.prototype.handleHttpResult = function (httpResult, url) {
|
|
45313
44791
|
if (httpResult.status !== 200 || httpResult.response === null) {
|
|
45314
|
-
console.warn("AG Grid: Unable to get template error " + httpResult.status + " - " + url);
|
|
45315
44792
|
return;
|
|
45316
44793
|
}
|
|
45317
44794
|
// response success, so process it
|
|
@@ -45392,10 +44869,7 @@ var Logger = /** @class */ (function () {
|
|
|
45392
44869
|
return this.isLoggingFunc();
|
|
45393
44870
|
};
|
|
45394
44871
|
Logger.prototype.log = function (message) {
|
|
45395
|
-
if (this.isLoggingFunc())
|
|
45396
|
-
// tslint:disable-next-line
|
|
45397
|
-
console.log('AG Grid.' + this.name + ': ' + message);
|
|
45398
|
-
}
|
|
44872
|
+
if (this.isLoggingFunc()) ;
|
|
45399
44873
|
};
|
|
45400
44874
|
return Logger;
|
|
45401
44875
|
}());
|
|
@@ -45795,7 +45269,6 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45795
45269
|
sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;
|
|
45796
45270
|
}
|
|
45797
45271
|
if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {
|
|
45798
|
-
console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's " + sortingOrder);
|
|
45799
45272
|
return null;
|
|
45800
45273
|
}
|
|
45801
45274
|
var currentIndex = sortingOrder.indexOf(column.getSort());
|
|
@@ -45810,7 +45283,6 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45810
45283
|
}
|
|
45811
45284
|
// verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid
|
|
45812
45285
|
if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {
|
|
45813
|
-
console.warn('AG Grid: invalid sort type ' + result);
|
|
45814
45286
|
return null;
|
|
45815
45287
|
}
|
|
45816
45288
|
return result;
|
|
@@ -46139,7 +45611,6 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
46139
45611
|
var doingTreeData = this.gridOptionsWrapper.isTreeData();
|
|
46140
45612
|
var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();
|
|
46141
45613
|
if (doingTreeData && doingMultiAutoColumn) {
|
|
46142
|
-
console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');
|
|
46143
45614
|
doingMultiAutoColumn = false;
|
|
46144
45615
|
}
|
|
46145
45616
|
// if doing groupMultiAutoColumn, then we call the method multiple times, once
|
|
@@ -46823,8 +46294,8 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46823
46294
|
var theme = themeMatch[0];
|
|
46824
46295
|
var usingOldTheme = themeMatch[2] === undefined;
|
|
46825
46296
|
if (usingOldTheme) {
|
|
46826
|
-
|
|
46827
|
-
doOnce(function () { return
|
|
46297
|
+
theme.replace('ag-', 'ag-theme-');
|
|
46298
|
+
doOnce(function () { return (void 0); }, 'using-old-theme');
|
|
46828
46299
|
}
|
|
46829
46300
|
return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };
|
|
46830
46301
|
};
|
|
@@ -48330,7 +47801,6 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
48330
47801
|
var rowClass = this.gridOptionsWrapper.getRowClass();
|
|
48331
47802
|
if (rowClass) {
|
|
48332
47803
|
if (typeof rowClass === 'function') {
|
|
48333
|
-
console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');
|
|
48334
47804
|
return [];
|
|
48335
47805
|
}
|
|
48336
47806
|
process(rowClass);
|
|
@@ -49171,7 +48641,6 @@ var __spread$6 = (undefined && undefined.__spread) || function () {
|
|
|
49171
48641
|
var Grid = /** @class */ (function () {
|
|
49172
48642
|
function Grid(eGridDiv, gridOptions, params) {
|
|
49173
48643
|
if (!gridOptions) {
|
|
49174
|
-
console.error('AG Grid: no gridOptions provided to the grid');
|
|
49175
48644
|
return;
|
|
49176
48645
|
}
|
|
49177
48646
|
this.gridOptions = gridOptions;
|
|
@@ -49377,32 +48846,7 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
49377
48846
|
if (exists(rowModelClass)) {
|
|
49378
48847
|
return rowModelClass;
|
|
49379
48848
|
}
|
|
49380
|
-
if (ModuleRegistry.isPackageBased())
|
|
49381
|
-
if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {
|
|
49382
|
-
// If package based only the enterprise row models could be missing.
|
|
49383
|
-
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/");
|
|
49384
|
-
}
|
|
49385
|
-
else {
|
|
49386
|
-
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49387
|
-
}
|
|
49388
|
-
}
|
|
49389
|
-
else {
|
|
49390
|
-
if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {
|
|
49391
|
-
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/");
|
|
49392
|
-
}
|
|
49393
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {
|
|
49394
|
-
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/");
|
|
49395
|
-
}
|
|
49396
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {
|
|
49397
|
-
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/");
|
|
49398
|
-
}
|
|
49399
|
-
else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {
|
|
49400
|
-
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/");
|
|
49401
|
-
}
|
|
49402
|
-
else {
|
|
49403
|
-
console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);
|
|
49404
|
-
}
|
|
49405
|
-
}
|
|
48849
|
+
if (ModuleRegistry.isPackageBased()) ;
|
|
49406
48850
|
};
|
|
49407
48851
|
return GridCoreCreator;
|
|
49408
48852
|
}());
|
|
@@ -49664,51 +49108,15 @@ var LicenseManager = /** @class */ (function (_super) {
|
|
|
49664
49108
|
}
|
|
49665
49109
|
};
|
|
49666
49110
|
LicenseManager.prototype.outputInvalidLicenseKey = function () {
|
|
49667
|
-
console.error('*****************************************************************************************************************');
|
|
49668
|
-
console.error('***************************************** AG Grid Enterprise License ********************************************');
|
|
49669
|
-
console.error('********************************************* Invalid License ***************************************************');
|
|
49670
|
-
console.error('* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *');
|
|
49671
|
-
console.error('*****************************************************************************************************************');
|
|
49672
|
-
console.error('*****************************************************************************************************************');
|
|
49673
49111
|
this.watermarkMessage = "Invalid License";
|
|
49674
49112
|
};
|
|
49675
49113
|
LicenseManager.prototype.outputExpiredTrialKey = function (formattedExpiryDate) {
|
|
49676
|
-
console.error('****************************************************************************************************************');
|
|
49677
|
-
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49678
|
-
console.error('***************************************** Trial Period Expired. *******************************************');
|
|
49679
|
-
console.error("* Your license for AG Grid Enterprise expired on " + formattedExpiryDate + ". *");
|
|
49680
|
-
console.error('* Please email info@ag-grid.com to purchase a license. *');
|
|
49681
|
-
console.error('****************************************************************************************************************');
|
|
49682
|
-
console.error('****************************************************************************************************************');
|
|
49683
49114
|
this.watermarkMessage = "Trial Period Expired";
|
|
49684
49115
|
};
|
|
49685
49116
|
LicenseManager.prototype.outputMissingLicenseKey = function () {
|
|
49686
|
-
console.error('****************************************************************************************************************');
|
|
49687
|
-
console.error('***************************************** AG Grid Enterprise License *******************************************');
|
|
49688
|
-
console.error('****************************************** License Key Not Found ***********************************************');
|
|
49689
|
-
console.error('* All AG Grid Enterprise features are unlocked. *');
|
|
49690
|
-
console.error('* This is an evaluation only version, it is not licensed for development projects intended for production. *');
|
|
49691
|
-
console.error('* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *');
|
|
49692
|
-
console.error('****************************************************************************************************************');
|
|
49693
|
-
console.error('****************************************************************************************************************');
|
|
49694
49117
|
this.watermarkMessage = "For Trial Use Only";
|
|
49695
49118
|
};
|
|
49696
49119
|
LicenseManager.prototype.outputIncompatibleVersion = function (formattedExpiryDate, formattedReleaseDate) {
|
|
49697
|
-
console.error('****************************************************************************************************************************');
|
|
49698
|
-
console.error('****************************************************************************************************************************');
|
|
49699
|
-
console.error('* AG Grid Enterprise License *');
|
|
49700
|
-
console.error('* License not compatible with installed version of AG Grid Enterprise. *');
|
|
49701
|
-
console.error('* *');
|
|
49702
|
-
console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *");
|
|
49703
|
-
console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *");
|
|
49704
|
-
console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *");
|
|
49705
|
-
console.error("* license end date. The license key that you have expires on " + formattedExpiryDate + ", however the version of AG Grid you *");
|
|
49706
|
-
console.error("* are trying to use was released on " + formattedReleaseDate + ". *");
|
|
49707
|
-
console.error('* *');
|
|
49708
|
-
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 *');
|
|
49709
|
-
console.error('* version of AG Grid. *');
|
|
49710
|
-
console.error('****************************************************************************************************************************');
|
|
49711
|
-
console.error('****************************************************************************************************************************');
|
|
49712
49120
|
this.watermarkMessage = "License Expired";
|
|
49713
49121
|
};
|
|
49714
49122
|
var LicenseManager_1;
|
|
@@ -50255,23 +49663,13 @@ class DataSource {
|
|
|
50255
49663
|
});
|
|
50256
49664
|
this._dataUnit.metadata.fields.forEach(f => {
|
|
50257
49665
|
var _a, _b, _c, _d, _e, _f;
|
|
50258
|
-
if (f.userInterface === UserInterface.IMAGE) {
|
|
50259
|
-
return;
|
|
50260
|
-
}
|
|
50261
49666
|
if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
|
|
50262
49667
|
const props = new Map();
|
|
50263
49668
|
const properties = this._dataUnit.getField(f.name).properties;
|
|
50264
49669
|
for (const value in properties) {
|
|
50265
49670
|
props.set(value, properties[value]);
|
|
50266
49671
|
}
|
|
50267
|
-
const col = {
|
|
50268
|
-
label: f.label,
|
|
50269
|
-
name: f.name,
|
|
50270
|
-
userInterface: f.userInterface,
|
|
50271
|
-
options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options,
|
|
50272
|
-
props,
|
|
50273
|
-
aggFunc: f['aggFunc']
|
|
50274
|
-
};
|
|
49672
|
+
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 };
|
|
50275
49673
|
columnDefs.push(col);
|
|
50276
49674
|
if (f.userInterface === UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
|
|
50277
49675
|
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);
|
|
@@ -52081,12 +51479,10 @@ var RangeService = /** @class */ (function (_super) {
|
|
|
52081
51479
|
var isSameColumn = columnFrom === columnTo;
|
|
52082
51480
|
var fromIndex = allColumns.indexOf(columnFrom);
|
|
52083
51481
|
if (fromIndex < 0) {
|
|
52084
|
-
console.warn("AG Grid: column " + columnFrom.getId() + " is not visible");
|
|
52085
51482
|
return;
|
|
52086
51483
|
}
|
|
52087
51484
|
var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo);
|
|
52088
51485
|
if (toIndex < 0) {
|
|
52089
|
-
console.warn("AG Grid: column " + columnTo.getId() + " is not visible");
|
|
52090
51486
|
return;
|
|
52091
51487
|
}
|
|
52092
51488
|
if (isSameColumn) {
|
|
@@ -53021,12 +52417,10 @@ var ServerSideRowModel = /** @class */ (function (_super) {
|
|
|
53021
52417
|
};
|
|
53022
52418
|
ServerSideRowModel.prototype.verifyProps = function () {
|
|
53023
52419
|
if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {
|
|
53024
|
-
|
|
53025
|
-
_.doOnce(function () { return console.warn(message_1); }, 'SSRM.InitialGroupOrderComparator');
|
|
52420
|
+
_.doOnce(function () { return (void 0); }, 'SSRM.InitialGroupOrderComparator');
|
|
53026
52421
|
}
|
|
53027
52422
|
if (this.gridOptionsWrapper.isRowSelection() && this.gridOptionsWrapper.getRowIdFunc() == null) {
|
|
53028
|
-
|
|
53029
|
-
_.doOnce(function () { return console.warn(message_2); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
52423
|
+
_.doOnce(function () { return (void 0); }, 'SSRM.SelectionNeedsRowNodeIdFunc');
|
|
53030
52424
|
}
|
|
53031
52425
|
};
|
|
53032
52426
|
ServerSideRowModel.prototype.setDatasource = function (datasource) {
|
|
@@ -53576,11 +52970,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53576
52970
|
rowNode.key = this.valueService.getValue(rowNode.rowGroupColumn, rowNode);
|
|
53577
52971
|
if (rowNode.key === null || rowNode.key === undefined) {
|
|
53578
52972
|
_.doOnce(function () {
|
|
53579
|
-
console.warn("AG Grid: null and undefined values are not allowed for server side row model keys");
|
|
53580
|
-
if (rowNode.rowGroupColumn) {
|
|
53581
|
-
console.warn("column = " + rowNode.rowGroupColumn.getId());
|
|
53582
|
-
}
|
|
53583
|
-
console.warn("data is ", rowNode.data);
|
|
53584
52973
|
}, 'ServerSideBlock-CannotHaveNullOrUndefinedForKey');
|
|
53585
52974
|
}
|
|
53586
52975
|
};
|
|
@@ -53697,7 +53086,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53697
53086
|
var bottomPointer = 0;
|
|
53698
53087
|
var topPointer = rowNodes.length - 1;
|
|
53699
53088
|
if (_.missing(topPointer) || _.missing(bottomPointer)) {
|
|
53700
|
-
console.warn("AG Grid: error: topPointer = " + topPointer + ", bottomPointer = " + bottomPointer);
|
|
53701
53089
|
return undefined;
|
|
53702
53090
|
}
|
|
53703
53091
|
while (true) {
|
|
@@ -53726,7 +53114,6 @@ var BlockUtils = /** @class */ (function (_super) {
|
|
|
53726
53114
|
topPointer = midPointer - 1;
|
|
53727
53115
|
}
|
|
53728
53116
|
else {
|
|
53729
|
-
console.warn("AG Grid: error: unable to locate rowIndex = " + displayRowIndex + " in cache");
|
|
53730
53117
|
return undefined;
|
|
53731
53118
|
}
|
|
53732
53119
|
}
|
|
@@ -53842,11 +53229,6 @@ var NodeManager = /** @class */ (function () {
|
|
|
53842
53229
|
}
|
|
53843
53230
|
NodeManager.prototype.addRowNode = function (rowNode) {
|
|
53844
53231
|
var id = rowNode.id;
|
|
53845
|
-
if (this.rowNodes[id]) {
|
|
53846
|
-
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.");
|
|
53847
|
-
console.warn('first instance', this.rowNodes[id].data);
|
|
53848
|
-
console.warn('second instance', rowNode.data);
|
|
53849
|
-
}
|
|
53850
53232
|
this.rowNodes[id] = rowNode;
|
|
53851
53233
|
};
|
|
53852
53234
|
NodeManager.prototype.removeNode = function (rowNode) {
|
|
@@ -54778,8 +54160,7 @@ var InfiniteStore = /** @class */ (function (_super) {
|
|
|
54778
54160
|
Object.assign(this.info, info);
|
|
54779
54161
|
}
|
|
54780
54162
|
if (!params.rowData) {
|
|
54781
|
-
|
|
54782
|
-
_.doOnce(function () { return console.warn(message_1, params); }, 'InfiniteStore.noData');
|
|
54163
|
+
_.doOnce(function () { return (void 0); }, 'InfiniteStore.noData');
|
|
54783
54164
|
}
|
|
54784
54165
|
var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;
|
|
54785
54166
|
// if we are not active, then we ignore all events, otherwise we could end up getting the
|
|
@@ -55538,8 +54919,7 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55538
54919
|
this.nodesAfterFilter = [];
|
|
55539
54920
|
this.allNodesMap = {};
|
|
55540
54921
|
if (!params.rowData) {
|
|
55541
|
-
|
|
55542
|
-
_.doOnce(function () { return console.warn(message_1, params); }, 'FullStore.noData');
|
|
54922
|
+
_.doOnce(function () { return (void 0); }, 'FullStore.noData');
|
|
55543
54923
|
}
|
|
55544
54924
|
this.createOrRecycleNodes(nodesToRecycle, params.rowData);
|
|
55545
54925
|
if (nodesToRecycle) {
|
|
@@ -55914,7 +55294,6 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55914
55294
|
});
|
|
55915
55295
|
rowNode = this.allNodesMap[id];
|
|
55916
55296
|
if (!rowNode) {
|
|
55917
|
-
console.error("AG Grid: could not find row id=" + id + ", data item was not found for this id");
|
|
55918
55297
|
return null;
|
|
55919
55298
|
}
|
|
55920
55299
|
}
|
|
@@ -55922,7 +55301,6 @@ var FullStore = /** @class */ (function (_super) {
|
|
|
55922
55301
|
// find rowNode using object references
|
|
55923
55302
|
rowNode = this.allRowNodes.find(function (currentRowNode) { return currentRowNode.data === data; });
|
|
55924
55303
|
if (!rowNode) {
|
|
55925
|
-
console.error("AG Grid: could not find data item as object was not found", data);
|
|
55926
55304
|
return null;
|
|
55927
55305
|
}
|
|
55928
55306
|
}
|
|
@@ -56070,15 +55448,11 @@ var StoreFactory = /** @class */ (function () {
|
|
|
56070
55448
|
return undefined;
|
|
56071
55449
|
}
|
|
56072
55450
|
if (ssrmParams.dynamicRowHeight) {
|
|
56073
|
-
|
|
56074
|
-
'Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56075
|
-
_.doOnce(function () { return console.warn(message_1); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
55451
|
+
_.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.dynamicRowHeight');
|
|
56076
55452
|
return undefined;
|
|
56077
55453
|
}
|
|
56078
55454
|
if (this.columnModel.isAutoRowHeightActive()) {
|
|
56079
|
-
|
|
56080
|
-
'Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.';
|
|
56081
|
-
_.doOnce(function () { return console.warn(message_2); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
55455
|
+
_.doOnce(function () { return (void 0); }, 'storeFactory.maxBlocksInCache.autoRowHeightActive');
|
|
56082
55456
|
return undefined;
|
|
56083
55457
|
}
|
|
56084
55458
|
return maxBlocksInCache;
|
|
@@ -56306,7 +55680,6 @@ var Downloader = /** @class */ (function () {
|
|
|
56306
55680
|
Downloader.download = function (fileName, content) {
|
|
56307
55681
|
var win = document.defaultView || window;
|
|
56308
55682
|
if (!win) {
|
|
56309
|
-
console.warn('AG Grid: There is no `window` associated with the current `document`');
|
|
56310
55683
|
return;
|
|
56311
55684
|
}
|
|
56312
55685
|
var element = document.createElement('a');
|
|
@@ -56440,7 +55813,6 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
56440
55813
|
stringValue = value.toString();
|
|
56441
55814
|
}
|
|
56442
55815
|
else {
|
|
56443
|
-
console.warn('AG Grid: unknown value type during csv conversion');
|
|
56444
55816
|
stringValue = '';
|
|
56445
55817
|
}
|
|
56446
55818
|
// replace each " with "" (ie two sets of double quotes is how to do double quotes in csv)
|
|
@@ -56495,7 +55867,6 @@ var CsvCreator = /** @class */ (function (_super) {
|
|
|
56495
55867
|
};
|
|
56496
55868
|
CsvCreator.prototype.export = function (userParams) {
|
|
56497
55869
|
if (this.isExportSuppressed()) {
|
|
56498
|
-
console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");
|
|
56499
55870
|
return '';
|
|
56500
55871
|
}
|
|
56501
55872
|
var mergedParams = this.getMergedParams(userParams);
|
|
@@ -56615,7 +55986,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56615
55986
|
var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;
|
|
56616
55987
|
var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);
|
|
56617
55988
|
if (skipRowGroups && params.skipGroups) {
|
|
56618
|
-
_.doOnce(function () { return
|
|
55989
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-skipGroups');
|
|
56619
55990
|
}
|
|
56620
55991
|
if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||
|
|
56621
55992
|
(params.onlySelected && !node.isSelected()) ||
|
|
@@ -56649,7 +56020,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56649
56020
|
var appendContent = params.customFooter || params.appendContent;
|
|
56650
56021
|
if (appendContent) {
|
|
56651
56022
|
if (params.customFooter) {
|
|
56652
|
-
_.doOnce(function () { return
|
|
56023
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-customFooter');
|
|
56653
56024
|
}
|
|
56654
56025
|
gridSerializingSession.addCustomContent(appendContent);
|
|
56655
56026
|
}
|
|
@@ -56661,7 +56032,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56661
56032
|
var prependContent = params.customHeader || params.prependContent;
|
|
56662
56033
|
if (prependContent) {
|
|
56663
56034
|
if (params.customHeader) {
|
|
56664
|
-
_.doOnce(function () { return
|
|
56035
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-customHeader');
|
|
56665
56036
|
}
|
|
56666
56037
|
gridSerializingSession.addCustomContent(prependContent);
|
|
56667
56038
|
}
|
|
@@ -56683,7 +56054,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56683
56054
|
_this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);
|
|
56684
56055
|
}
|
|
56685
56056
|
else if (params.columnGroups) {
|
|
56686
|
-
_.doOnce(function () { return
|
|
56057
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-columnGroups');
|
|
56687
56058
|
}
|
|
56688
56059
|
return gridSerializingSession;
|
|
56689
56060
|
};
|
|
@@ -56697,7 +56068,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
56697
56068
|
});
|
|
56698
56069
|
}
|
|
56699
56070
|
else if (params.skipHeader) {
|
|
56700
|
-
_.doOnce(function () { return
|
|
56071
|
+
_.doOnce(function () { return (void 0); }, 'gridSerializer-skipHeader');
|
|
56701
56072
|
}
|
|
56702
56073
|
return gridSerializingSession;
|
|
56703
56074
|
};
|
|
@@ -56945,12 +56316,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
56945
56316
|
.then(this.processClipboardData.bind(this))
|
|
56946
56317
|
.catch(function (e) {
|
|
56947
56318
|
_.doOnce(function () {
|
|
56948
|
-
console.warn(e);
|
|
56949
|
-
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). ' +
|
|
56950
|
-
'The reason why it could not be used has been logged in the previous line. ' +
|
|
56951
|
-
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
56952
|
-
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
56953
|
-
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API');
|
|
56954
56319
|
}, 'clipboardApiError');
|
|
56955
56320
|
_this.navigatorApiFailed = true;
|
|
56956
56321
|
_this.pasteFromClipboardLegacy();
|
|
@@ -57477,12 +56842,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57477
56842
|
if (allowNavigator && navigator.clipboard) {
|
|
57478
56843
|
navigator.clipboard.writeText(data).catch(function (e) {
|
|
57479
56844
|
_.doOnce(function () {
|
|
57480
|
-
console.warn(e);
|
|
57481
|
-
console.warn('AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). ' +
|
|
57482
|
-
'The reason why it could not be used has been logged in the previous line. ' +
|
|
57483
|
-
'For this reason the grid has defaulted to using a workaround which doesn\'t perform as well. ' +
|
|
57484
|
-
'Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid ' +
|
|
57485
|
-
'property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.');
|
|
57486
56845
|
}, 'clipboardApiError');
|
|
57487
56846
|
_this.copyDataToClipboardLegacy(data);
|
|
57488
56847
|
});
|
|
@@ -57499,12 +56858,7 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57499
56858
|
element.value = data || ' '; // has to be non-empty value or execCommand will not do anything
|
|
57500
56859
|
element.select();
|
|
57501
56860
|
element.focus({ preventScroll: true });
|
|
57502
|
-
|
|
57503
|
-
if (!result) {
|
|
57504
|
-
console.warn('AG Grid: Browser did not allow document.execCommand(\'copy\'). Ensure ' +
|
|
57505
|
-
'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise ' +
|
|
57506
|
-
'the browser will prevent it for security reasons.');
|
|
57507
|
-
}
|
|
56861
|
+
eDocument.execCommand('copy');
|
|
57508
56862
|
if (focusedElementBefore != null && focusedElementBefore.focus != null) {
|
|
57509
56863
|
focusedElementBefore.focus({ preventScroll: true });
|
|
57510
56864
|
}
|
|
@@ -57528,7 +56882,6 @@ var ClipboardService = /** @class */ (function (_super) {
|
|
|
57528
56882
|
callbackNow(eTempInput);
|
|
57529
56883
|
}
|
|
57530
56884
|
catch (err) {
|
|
57531
|
-
console.warn('AG Grid: Browser does not support document.execCommand(\'copy\') for clipboard operations');
|
|
57532
56885
|
}
|
|
57533
56886
|
//It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...
|
|
57534
56887
|
if (callbackAfter) {
|
|
@@ -58801,7 +58154,6 @@ var ToolPanelColumnComp = /** @class */ (function (_super) {
|
|
|
58801
58154
|
return false;
|
|
58802
58155
|
};
|
|
58803
58156
|
ToolPanelColumnComp.prototype.setExpanded = function (value) {
|
|
58804
|
-
console.warn('AG Grid: can not expand a column item that does not represent a column group header');
|
|
58805
58157
|
};
|
|
58806
58158
|
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>";
|
|
58807
58159
|
__decorate$q([
|
|
@@ -59096,10 +58448,7 @@ var PRIMARY_COLS_LIST_PANEL_CLASS = 'ag-column-select-list';
|
|
|
59096
58448
|
expandedGroupIds.push(groupId);
|
|
59097
58449
|
}
|
|
59098
58450
|
});
|
|
59099
|
-
|
|
59100
|
-
if (unrecognisedGroupIds.length > 0) {
|
|
59101
|
-
console.warn('AG Grid: unable to find group(s) for supplied groupIds:', unrecognisedGroupIds);
|
|
59102
|
-
}
|
|
58451
|
+
groupIds.filter(function (groupId) { return !_.includes(expandedGroupIds, groupId); });
|
|
59103
58452
|
};
|
|
59104
58453
|
PrimaryColsListPanel.prototype.getExpandState = function () {
|
|
59105
58454
|
var expandedCount = 0;
|
|
@@ -59493,7 +58842,6 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
59493
58842
|
this.aggFuncService.getAggFunc(aggFuncOrString) :
|
|
59494
58843
|
aggFuncOrString;
|
|
59495
58844
|
if (typeof aggFunc !== 'function') {
|
|
59496
|
-
console.error("AG Grid: unrecognised aggregation function " + aggFuncOrString);
|
|
59497
58845
|
return null;
|
|
59498
58846
|
}
|
|
59499
58847
|
var aggFuncAny = aggFunc;
|
|
@@ -60020,9 +59368,6 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
60020
59368
|
GroupStage.prototype.insertOneNode = function (childNode, details, isMove) {
|
|
60021
59369
|
var path = this.getGroupInfo(childNode, details);
|
|
60022
59370
|
var parentGroup = this.findParentForNode(childNode, path, details);
|
|
60023
|
-
if (!parentGroup.group) {
|
|
60024
|
-
console.warn("AG Grid: duplicate group keys for row data, keys should be unique", [parentGroup.data, childNode.data]);
|
|
60025
|
-
}
|
|
60026
59371
|
if (this.usingTreeData) {
|
|
60027
59372
|
this.swapGroupWithUserNode(parentGroup, childNode, isMove);
|
|
60028
59373
|
}
|
|
@@ -60160,7 +59505,7 @@ var __spread$2 = (undefined && undefined.__spread) || function () {
|
|
|
60160
59505
|
GroupStage.prototype.getGroupInfoFromCallback = function (rowNode) {
|
|
60161
59506
|
var keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
60162
59507
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
60163
|
-
_.doOnce(function () { return
|
|
59508
|
+
_.doOnce(function () { return (void 0); }, 'groupStage.getGroupInfoFromCallback');
|
|
60164
59509
|
}
|
|
60165
59510
|
var groupInfoMapper = function (key) { return ({ key: key, field: null, rowGroupColumn: null }); };
|
|
60166
59511
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -62885,7 +62230,6 @@ var ToolPanelWrapper = /** @class */ (function (_super) {
|
|
|
62885
62230
|
var compDetails = this.userComponentFactory.getToolPanelCompDetails(toolPanelDef, params);
|
|
62886
62231
|
var componentPromise = compDetails.newAgStackInstance();
|
|
62887
62232
|
if (componentPromise == null) {
|
|
62888
|
-
console.warn("AG Grid: error processing tool panel component " + id + ". You need to specify either 'toolPanel' or 'toolPanelFramework'");
|
|
62889
62233
|
return;
|
|
62890
62234
|
}
|
|
62891
62235
|
componentPromise.then(this.setToolPanelComponent.bind(this));
|
|
@@ -63080,7 +62424,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63080
62424
|
var _this = this;
|
|
63081
62425
|
defs.forEach(function (def) {
|
|
63082
62426
|
if (def.id == null) {
|
|
63083
|
-
console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id");
|
|
63084
62427
|
return;
|
|
63085
62428
|
}
|
|
63086
62429
|
// helpers, in case user doesn't have the right module loaded
|
|
@@ -63126,7 +62469,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63126
62469
|
SideBarComp.prototype.getToolPanelInstance = function (key) {
|
|
63127
62470
|
var toolPanelWrapper = this.toolPanelWrappers.filter(function (toolPanel) { return toolPanel.getToolPanelId() === key; })[0];
|
|
63128
62471
|
if (!toolPanelWrapper) {
|
|
63129
|
-
console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: " + key);
|
|
63130
62472
|
return;
|
|
63131
62473
|
}
|
|
63132
62474
|
return toolPanelWrapper.getToolPanelInstance();
|
|
@@ -63212,7 +62554,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63212
62554
|
}
|
|
63213
62555
|
ToolPanelColDefService.prototype.createColumnTree = function (colDefs) {
|
|
63214
62556
|
var _this = this;
|
|
63215
|
-
var invalidColIds = [];
|
|
63216
62557
|
var createDummyColGroup = function (abstractColDef, depth) {
|
|
63217
62558
|
if (_this.isColGroupDef(abstractColDef)) {
|
|
63218
62559
|
// creating 'dummy' group which is not associated with grid column group
|
|
@@ -63234,9 +62575,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63234
62575
|
var colDef = abstractColDef;
|
|
63235
62576
|
var key = colDef.colId ? colDef.colId : colDef.field;
|
|
63236
62577
|
var column = _this.columnModel.getPrimaryColumn(key);
|
|
63237
|
-
if (!column) {
|
|
63238
|
-
invalidColIds.push(colDef);
|
|
63239
|
-
}
|
|
63240
62578
|
return column;
|
|
63241
62579
|
}
|
|
63242
62580
|
};
|
|
@@ -63248,9 +62586,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
63248
62586
|
mappedResults.push(result);
|
|
63249
62587
|
}
|
|
63250
62588
|
});
|
|
63251
|
-
if (invalidColIds.length > 0) {
|
|
63252
|
-
console.warn('AG Grid: unable to find grid columns for the supplied colDef(s):', invalidColIds);
|
|
63253
|
-
}
|
|
63254
62589
|
return mappedResults;
|
|
63255
62590
|
};
|
|
63256
62591
|
ToolPanelColDefService.prototype.syncLayoutWithGrid = function (syncLayoutCallback) {
|
|
@@ -63805,15 +63140,10 @@ var EnterpriseMenu = /** @class */ (function (_super) {
|
|
|
63805
63140
|
};
|
|
63806
63141
|
EnterpriseMenu.prototype.isValidMenuTabItem = function (menuTabName) {
|
|
63807
63142
|
var isValid = true;
|
|
63808
|
-
var itemsToConsider = EnterpriseMenu.TABS_DEFAULT;
|
|
63809
63143
|
if (this.restrictTo != null) {
|
|
63810
63144
|
isValid = this.restrictTo.indexOf(menuTabName) > -1;
|
|
63811
|
-
itemsToConsider = this.restrictTo;
|
|
63812
63145
|
}
|
|
63813
63146
|
isValid = isValid && EnterpriseMenu.TABS_DEFAULT.indexOf(menuTabName) > -1;
|
|
63814
|
-
if (!isValid) {
|
|
63815
|
-
console.warn("AG Grid: Trying to render an invalid menu item '" + menuTabName + "'. Check that your 'menuTabs' contains one of [" + itemsToConsider + "]");
|
|
63816
|
-
}
|
|
63817
63147
|
return isValid;
|
|
63818
63148
|
};
|
|
63819
63149
|
EnterpriseMenu.prototype.isNotSuppressed = function (menuTabName) {
|
|
@@ -64524,7 +63854,6 @@ var MenuItemMapper = /** @class */ (function (_super) {
|
|
|
64524
63854
|
return chartMenuItem;
|
|
64525
63855
|
}
|
|
64526
63856
|
else {
|
|
64527
|
-
console.warn("AG Grid: unknown menu item type " + key);
|
|
64528
63857
|
return null;
|
|
64529
63858
|
}
|
|
64530
63859
|
}
|
|
@@ -64838,54 +64167,6 @@ function _0x15c2(_0x353a9c, _0x3e4a5a) { const _0x53e110 = _0x53e1(); return _0x
|
|
|
64838
64167
|
} }(_0x53e1, 0xe8676));
|
|
64839
64168
|
const agGridLicense = _0xc7632f(0x18c);
|
|
64840
64169
|
|
|
64841
|
-
const BUILTIN_AGG_FUNCS = {
|
|
64842
|
-
"sum": (params) => params.values.reduce((a, b) => Number(a !== null && a !== void 0 ? a : 0) + Number(b !== null && b !== void 0 ? b : 0), 0),
|
|
64843
|
-
avg: (params) => {
|
|
64844
|
-
const valid = params.values.filter(v => v != null && !Number.isNaN(v));
|
|
64845
|
-
return valid.length
|
|
64846
|
-
? valid.reduce((a, b) => a + b, 0) / valid.length
|
|
64847
|
-
: null;
|
|
64848
|
-
},
|
|
64849
|
-
min: (params) => {
|
|
64850
|
-
const valid = params.values.filter(v => v != null && !Number.isNaN(v));
|
|
64851
|
-
return valid.length ? Math.min(...valid) : null;
|
|
64852
|
-
},
|
|
64853
|
-
max: (params) => Math.max(...params.values.filter(v => v != null && !Number.isNaN(v))),
|
|
64854
|
-
count: (params) => params.values.filter(v => v != null).length
|
|
64855
|
-
};
|
|
64856
|
-
function resolveAggFunc(aggFunc) {
|
|
64857
|
-
if (typeof aggFunc === 'function')
|
|
64858
|
-
return aggFunc;
|
|
64859
|
-
const fn = BUILTIN_AGG_FUNCS[aggFunc];
|
|
64860
|
-
if (!fn) {
|
|
64861
|
-
throw new Error(`aggFunc "${aggFunc}" não suportada`);
|
|
64862
|
-
}
|
|
64863
|
-
return fn;
|
|
64864
|
-
}
|
|
64865
|
-
|
|
64866
|
-
/**
|
|
64867
|
-
* Larguras padrão das colunas do grid por tipo de UserInterface
|
|
64868
|
-
*/
|
|
64869
|
-
const GRID_COLUMN_DEFAULT_WIDTHS = {
|
|
64870
|
-
[UserInterface.SEARCH]: 200,
|
|
64871
|
-
[UserInterface.SEARCHPLUS]: 100,
|
|
64872
|
-
[UserInterface.DATE]: 120,
|
|
64873
|
-
[UserInterface.DATETIME]: 160,
|
|
64874
|
-
[UserInterface.TIME]: 100,
|
|
64875
|
-
[UserInterface.ELAPSEDTIME]: 100,
|
|
64876
|
-
[UserInterface.DECIMALNUMBER]: 130,
|
|
64877
|
-
[UserInterface.INTEGERNUMBER]: 120,
|
|
64878
|
-
[UserInterface.SWITCH]: 80,
|
|
64879
|
-
[UserInterface.FILE]: 100,
|
|
64880
|
-
[UserInterface.HTML]: 200,
|
|
64881
|
-
[UserInterface.LONGTEXT]: 200,
|
|
64882
|
-
[UserInterface.CHECKBOX]: 80,
|
|
64883
|
-
[UserInterface.OPTIONSELECTOR]: 100,
|
|
64884
|
-
[UserInterface.SHORTTEXT]: 200,
|
|
64885
|
-
[UserInterface.PASSWORD]: 100,
|
|
64886
|
-
[UserInterface.MASKEDTEXT]: 100,
|
|
64887
|
-
};
|
|
64888
|
-
|
|
64889
64170
|
class AgGridController {
|
|
64890
64171
|
configFilterColumn(filterColumn) {
|
|
64891
64172
|
this._filterColumn = filterColumn;
|
|
@@ -64911,13 +64192,12 @@ class AgGridController {
|
|
|
64911
64192
|
this.DEFAULT_HEADER_ROW_HEIGHT = 32;
|
|
64912
64193
|
this.CHECK_BOX_COL_ID = 'checkBoxColumn';
|
|
64913
64194
|
this.STATUS_COL_ID = 'statusColumn';
|
|
64914
|
-
this.COLUMN_FOOTER_OPER = 'gridFooterOper';
|
|
64915
64195
|
this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
|
|
64916
64196
|
this.BLOCK_LOAD_DEBOUNCE = 100;
|
|
64917
|
-
this.DEFAULT_FONT_SIZE =
|
|
64197
|
+
this.DEFAULT_FONT_SIZE = 14;
|
|
64918
64198
|
this.DEFAULT_FONT_SIZE_HTML5 = 32;
|
|
64919
|
-
this.DEFAULT_ICON_SIZE =
|
|
64920
|
-
this.DEFAULT_MAX_SIZE =
|
|
64199
|
+
this.DEFAULT_ICON_SIZE = 12;
|
|
64200
|
+
this.DEFAULT_MAX_SIZE = 200;
|
|
64921
64201
|
this.MULTI_VALUES_PROP = '__multiValues';
|
|
64922
64202
|
this.WHEEL_LINE_HEIGHT = 40;
|
|
64923
64203
|
this.HORIZONTAL_SCROLL_VIEWPORT_SELECTOR = '.ag-body-horizontal-scroll-viewport';
|
|
@@ -64930,9 +64210,6 @@ class AgGridController {
|
|
|
64930
64210
|
this._gridShowDom = false;
|
|
64931
64211
|
this.peddingExecutionsOnGridShow = [];
|
|
64932
64212
|
this._lastColsConfig = undefined;
|
|
64933
|
-
this._pinnedBottomDebounceTimer = null;
|
|
64934
|
-
this._pinnedBottomDebounceDelay = 150;
|
|
64935
|
-
this._pinnedBottomPendingArgs = null;
|
|
64936
64213
|
ModuleRegistry.registerModules([
|
|
64937
64214
|
EnterpriseCoreModule,
|
|
64938
64215
|
RangeSelectionModule,
|
|
@@ -65144,90 +64421,6 @@ class AgGridController {
|
|
|
65144
64421
|
this.observer.observe(container);
|
|
65145
64422
|
}
|
|
65146
64423
|
}
|
|
65147
|
-
onGridReady(evt) {
|
|
65148
|
-
var _a;
|
|
65149
|
-
this._bottomPinnedRowSubscriber = async (action) => {
|
|
65150
|
-
if (action.type === Action.DATA_LOADED || action.type === Action.PAGINATION_UPDATED) {
|
|
65151
|
-
this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
|
|
65152
|
-
}
|
|
65153
|
-
};
|
|
65154
|
-
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.subscribe(this._bottomPinnedRowSubscriber);
|
|
65155
|
-
}
|
|
65156
|
-
scheduleSetPinnedBottomRow(api, columnApi) {
|
|
65157
|
-
if (!api || !columnApi)
|
|
65158
|
-
return;
|
|
65159
|
-
// atualiza args pendentes
|
|
65160
|
-
this._pinnedBottomPendingArgs = { api, columnApi };
|
|
65161
|
-
// limpa timer anterior
|
|
65162
|
-
if (this._pinnedBottomDebounceTimer != null) {
|
|
65163
|
-
window.clearTimeout(this._pinnedBottomDebounceTimer);
|
|
65164
|
-
}
|
|
65165
|
-
// agenda execução
|
|
65166
|
-
this._pinnedBottomDebounceTimer = window.setTimeout(async () => {
|
|
65167
|
-
this._pinnedBottomDebounceTimer = null;
|
|
65168
|
-
const args = this._pinnedBottomPendingArgs;
|
|
65169
|
-
this._pinnedBottomPendingArgs = null;
|
|
65170
|
-
if (!args)
|
|
65171
|
-
return;
|
|
65172
|
-
try {
|
|
65173
|
-
await this.setPinnedBottomRow(args.api, args.columnApi);
|
|
65174
|
-
}
|
|
65175
|
-
catch (err) {
|
|
65176
|
-
console.error('Erro em setPinnedBottomRow debounced:', err);
|
|
65177
|
-
}
|
|
65178
|
-
}, this._pinnedBottomDebounceDelay);
|
|
65179
|
-
}
|
|
65180
|
-
async setPinnedBottomRow(api, columnApi) {
|
|
65181
|
-
const paginationInfo = this._dataUnit.getPaginationInfo();
|
|
65182
|
-
const loadingInProgress = paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.loadingInProgress;
|
|
65183
|
-
if (!api || !columnApi || loadingInProgress)
|
|
65184
|
-
return;
|
|
65185
|
-
const columns = columnApi.getAllGridColumns();
|
|
65186
|
-
const columnsWithAgg = columns.filter(col => col.getColDef().aggFunc);
|
|
65187
|
-
if (columnsWithAgg.length === 0)
|
|
65188
|
-
return;
|
|
65189
|
-
const accumulators = new Map();
|
|
65190
|
-
columnsWithAgg.forEach(col => {
|
|
65191
|
-
const colId = col.getColId();
|
|
65192
|
-
accumulators.set(colId, { values: [], aggFunc: col.getColDef().aggFunc });
|
|
65193
|
-
});
|
|
65194
|
-
const recordsToAggregate = await this.getAllRecordsToAggregate();
|
|
65195
|
-
recordsToAggregate.forEach(record => {
|
|
65196
|
-
columnsWithAgg.forEach(col => {
|
|
65197
|
-
const colId = col.getColId();
|
|
65198
|
-
const value = record[colId];
|
|
65199
|
-
if (value != null) {
|
|
65200
|
-
accumulators.get(colId).values.push(value);
|
|
65201
|
-
}
|
|
65202
|
-
});
|
|
65203
|
-
});
|
|
65204
|
-
const totalRow = {};
|
|
65205
|
-
accumulators.forEach((acc, colId) => {
|
|
65206
|
-
try {
|
|
65207
|
-
const aggFn = resolveAggFunc(acc.aggFunc);
|
|
65208
|
-
totalRow[colId] = aggFn({ values: acc.values });
|
|
65209
|
-
}
|
|
65210
|
-
catch (error) {
|
|
65211
|
-
console.error(`Erro ao calcular agregação para coluna ${colId}:`, error);
|
|
65212
|
-
totalRow[colId] = null;
|
|
65213
|
-
}
|
|
65214
|
-
});
|
|
65215
|
-
const hasData = Object.values(totalRow).some(value => value !== null && value !== undefined && value !== 0 && !Number.isNaN(value));
|
|
65216
|
-
if (hasData) {
|
|
65217
|
-
api.setPinnedBottomRowData([totalRow]);
|
|
65218
|
-
}
|
|
65219
|
-
}
|
|
65220
|
-
async getAllRecordsToAggregate() {
|
|
65221
|
-
var _a, _b;
|
|
65222
|
-
if ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.allRecordsLoader) {
|
|
65223
|
-
return this._dataUnit.allRecordsLoader(this._dataUnit);
|
|
65224
|
-
}
|
|
65225
|
-
const paginationInfo = this._dataUnit.getPaginationInfo();
|
|
65226
|
-
if (!paginationInfo || !paginationInfo.total)
|
|
65227
|
-
return [];
|
|
65228
|
-
const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
|
|
65229
|
-
return (_b = response.records) !== null && _b !== void 0 ? _b : [];
|
|
65230
|
-
}
|
|
65231
64424
|
/**
|
|
65232
64425
|
* Habilita o scroll horizontal com a roda do mouse enquanto o ponteiro está sobre a grade.
|
|
65233
64426
|
* O AG Grid usa uma barra horizontal "fake" e mantém o corpo sem overflow rolável no eixo X,
|
|
@@ -65443,8 +64636,6 @@ class AgGridController {
|
|
|
65443
64636
|
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
65444
64637
|
opt.onDragStopped = evt => this.onCallStateChange('columnMovedEnd', evt);
|
|
65445
64638
|
opt.onCellClicked = evt => this.onCellClicked(evt);
|
|
65446
|
-
opt.onGridReady = evt => this.onGridReady(evt);
|
|
65447
|
-
opt.onModelUpdated = async (evt) => this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
|
|
65448
64639
|
}
|
|
65449
64640
|
setOptionsSupress(opt) {
|
|
65450
64641
|
opt.suppressDragLeaveHidesColumns = true;
|
|
@@ -65967,12 +65158,9 @@ class AgGridController {
|
|
|
65967
65158
|
tooltip = this._i18n('ez-grid.columnCantBeOrder');
|
|
65968
65159
|
}
|
|
65969
65160
|
const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(PRESENTATION_FROM_COL_PROP_NAME);
|
|
65970
|
-
const initialWidth = this.getInitialColumnWidth(source.userInterface, source.label);
|
|
65971
65161
|
return this._editionManager.configureColumn({
|
|
65972
65162
|
headerName: source.label,
|
|
65973
65163
|
field: source.name,
|
|
65974
|
-
width: initialWidth,
|
|
65975
|
-
aggFunc: this.getAggFunc(source),
|
|
65976
65164
|
sortable: propSortable,
|
|
65977
65165
|
resizable: true,
|
|
65978
65166
|
headerComponent: 'ezGridCustomHeader',
|
|
@@ -66014,10 +65202,6 @@ class AgGridController {
|
|
|
66014
65202
|
editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
|
|
66015
65203
|
});
|
|
66016
65204
|
}
|
|
66017
|
-
getAggFunc(column) {
|
|
66018
|
-
var _a, _b;
|
|
66019
|
-
return (_b = (_a = column.props) === null || _a === void 0 ? void 0 : _a.get(this.COLUMN_FOOTER_OPER)) !== null && _b !== void 0 ? _b : column.aggFunc;
|
|
66020
|
-
}
|
|
66021
65205
|
setHTMLRender(params, source) {
|
|
66022
65206
|
const htmlSanitized = purify.sanitize(params.value);
|
|
66023
65207
|
params.colDef.cellRenderer = (cellParams) => {
|
|
@@ -66140,13 +65324,12 @@ class AgGridController {
|
|
|
66140
65324
|
}
|
|
66141
65325
|
}
|
|
66142
65326
|
onCallStateChange(type, e) {
|
|
66143
|
-
var _a, _b;
|
|
66144
65327
|
const finished = !('finished' in e) || e['finished'];
|
|
66145
65328
|
if (finished && this._columnStateChangeCallback) {
|
|
66146
65329
|
let info = {};
|
|
66147
65330
|
let isUserChange = this.isUIEvent(e['source'], e['type']);
|
|
66148
65331
|
if (type === 'columnResize') {
|
|
66149
|
-
info['column'] = { colId:
|
|
65332
|
+
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
66150
65333
|
}
|
|
66151
65334
|
info['isUserChange'] = isUserChange;
|
|
66152
65335
|
info['isElementResize'] = this.isElementResize(e);
|
|
@@ -66299,22 +65482,6 @@ class AgGridController {
|
|
|
66299
65482
|
this._container.removeEventListener('wheel', this._horizontalWheelHandler);
|
|
66300
65483
|
}
|
|
66301
65484
|
(_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66302
|
-
this.handleDestroyBottomPinnedRowSubscriber();
|
|
66303
|
-
this.handleDestroySetBottomPinnedRowDebounce();
|
|
66304
|
-
}
|
|
66305
|
-
handleDestroyBottomPinnedRowSubscriber() {
|
|
66306
|
-
var _a;
|
|
66307
|
-
if (this._bottomPinnedRowSubscriber) {
|
|
66308
|
-
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._bottomPinnedRowSubscriber);
|
|
66309
|
-
this._bottomPinnedRowSubscriber = null;
|
|
66310
|
-
}
|
|
66311
|
-
}
|
|
66312
|
-
handleDestroySetBottomPinnedRowDebounce() {
|
|
66313
|
-
if (this._pinnedBottomDebounceTimer != null) {
|
|
66314
|
-
clearTimeout(this._pinnedBottomDebounceTimer);
|
|
66315
|
-
this._pinnedBottomDebounceTimer = null;
|
|
66316
|
-
this._pinnedBottomPendingArgs = null;
|
|
66317
|
-
}
|
|
66318
65485
|
}
|
|
66319
65486
|
registryListeners() {
|
|
66320
65487
|
var _a;
|
|
@@ -66343,21 +65510,10 @@ class AgGridController {
|
|
|
66343
65510
|
}
|
|
66344
65511
|
const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
|
|
66345
65512
|
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;
|
|
66346
|
-
|
|
66347
|
-
|
|
66348
|
-
getInitialColumnWidth(userInterface, label) {
|
|
66349
|
-
const columnWidthByLabel = this.getColumnWidthByLabel(label);
|
|
66350
|
-
const defaultWidth = this.getDefaultWidthByUserInterface(userInterface);
|
|
66351
|
-
if (!defaultWidth) {
|
|
66352
|
-
return columnWidthByLabel;
|
|
66353
|
-
}
|
|
66354
|
-
return Math.max(defaultWidth, columnWidthByLabel);
|
|
66355
|
-
}
|
|
66356
|
-
getDefaultWidthByUserInterface(userInterface) {
|
|
66357
|
-
if (!userInterface) {
|
|
66358
|
-
return undefined;
|
|
65513
|
+
if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
|
|
65514
|
+
return this.DEFAULT_MAX_SIZE;
|
|
66359
65515
|
}
|
|
66360
|
-
return
|
|
65516
|
+
return this.getColumnWidthByLabel(label);
|
|
66361
65517
|
}
|
|
66362
65518
|
getColumnWidthByLabel(label) {
|
|
66363
65519
|
const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
|
|
@@ -66551,7 +65707,7 @@ class InMemoryFilterColumnDataSource {
|
|
|
66551
65707
|
}
|
|
66552
65708
|
}
|
|
66553
65709
|
|
|
66554
|
-
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
|
|
65710
|
+
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)}}";
|
|
66555
65711
|
|
|
66556
65712
|
const windowInstace = window;
|
|
66557
65713
|
const matches = (text, filter) => {
|
|
@@ -66604,7 +65760,6 @@ const EzGrid = class {
|
|
|
66604
65760
|
this.useSearchColumn = true;
|
|
66605
65761
|
this.suppressHorizontalScroll = false;
|
|
66606
65762
|
this.mode = "complete";
|
|
66607
|
-
this.hidePagination = false;
|
|
66608
65763
|
}
|
|
66609
65764
|
/**
|
|
66610
65765
|
* Aplica a definição de colunas.
|
|
@@ -66754,17 +65909,26 @@ const EzGrid = class {
|
|
|
66754
65909
|
return;
|
|
66755
65910
|
this._gridController.stopEdit();
|
|
66756
65911
|
}
|
|
66757
|
-
/**
|
|
66758
|
-
* Manipula a mudança de página da grid.
|
|
66759
|
-
*/
|
|
66760
|
-
async handlePageChange() {
|
|
66761
|
-
this.resetPaginationState();
|
|
66762
|
-
this._gridController.setFocusFirstRow();
|
|
66763
|
-
this.ezPageChangedChanged.emit();
|
|
66764
|
-
}
|
|
66765
65912
|
observeConfig(config) {
|
|
66766
65913
|
this._gridController.setColumnsState(config === null || config === void 0 ? void 0 : config.columns);
|
|
66767
65914
|
}
|
|
65915
|
+
updatePaginationTooltip() {
|
|
65916
|
+
this.handleShowCancelPagination();
|
|
65917
|
+
if (!this._refPaginationLabelTooltip)
|
|
65918
|
+
return;
|
|
65919
|
+
const alreadyDefined = this._refPaginationLabelTooltip.getAttribute('data-tooltip');
|
|
65920
|
+
if (alreadyDefined) {
|
|
65921
|
+
this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
|
|
65922
|
+
}
|
|
65923
|
+
}
|
|
65924
|
+
observePaginationCounterMode(newValue) {
|
|
65925
|
+
if (newValue === 'hidden') {
|
|
65926
|
+
this._hidePaginationDescription();
|
|
65927
|
+
}
|
|
65928
|
+
if (newValue === 'show') {
|
|
65929
|
+
this._showPaginationDescription();
|
|
65930
|
+
}
|
|
65931
|
+
}
|
|
66768
65932
|
async observeModeChange(newMode = this.mode) {
|
|
66769
65933
|
if (newMode === "simple") {
|
|
66770
65934
|
this.canEdit = false;
|
|
@@ -66927,6 +66091,23 @@ const EzGrid = class {
|
|
|
66927
66091
|
ElementIDUtils.addIDInfo(this._refPaginationControl, 'pagination', dtInfo);
|
|
66928
66092
|
}
|
|
66929
66093
|
}
|
|
66094
|
+
handlePageChange() {
|
|
66095
|
+
this.resetPaginationState();
|
|
66096
|
+
this._gridController.setFocusFirstRow();
|
|
66097
|
+
this.ezPageChangedChanged.emit();
|
|
66098
|
+
}
|
|
66099
|
+
previousPage() {
|
|
66100
|
+
if (this.dataUnit) {
|
|
66101
|
+
this.dataUnit.previousPage()
|
|
66102
|
+
.then(() => this.handlePageChange());
|
|
66103
|
+
}
|
|
66104
|
+
}
|
|
66105
|
+
nextPage() {
|
|
66106
|
+
if (this.dataUnit) {
|
|
66107
|
+
this.dataUnit.nextPage()
|
|
66108
|
+
.then(() => this.handlePageChange());
|
|
66109
|
+
}
|
|
66110
|
+
}
|
|
66930
66111
|
nextRecord() {
|
|
66931
66112
|
if (this.dataUnit) {
|
|
66932
66113
|
if (this.dataUnit.getSelectionInfo().records.length === 0) {
|
|
@@ -66946,6 +66127,38 @@ const EzGrid = class {
|
|
|
66946
66127
|
this._paginationChangedByKeyboard = false;
|
|
66947
66128
|
(_a = this._gridController) === null || _a === void 0 ? void 0 : _a.resetPaginationState();
|
|
66948
66129
|
}
|
|
66130
|
+
resolvePaginationClassMode() {
|
|
66131
|
+
if (this.shouldPresentPaginationLabel())
|
|
66132
|
+
return "pagination-expanded";
|
|
66133
|
+
return "pagination-contracted";
|
|
66134
|
+
}
|
|
66135
|
+
async handleCancelPagination() {
|
|
66136
|
+
var _a;
|
|
66137
|
+
this.dataUnit.cancelPagination = true;
|
|
66138
|
+
await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
|
|
66139
|
+
}
|
|
66140
|
+
renderCancelPagination() {
|
|
66141
|
+
return (h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, h("div", { class: 'cancel-pagination' }, h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, this.i18n("ez-grid.cancelPagination")))));
|
|
66142
|
+
}
|
|
66143
|
+
handleShowCancelPagination() {
|
|
66144
|
+
var _a, _b, _c;
|
|
66145
|
+
if (!this._hasToShowCancelPagination()) {
|
|
66146
|
+
(_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide();
|
|
66147
|
+
return;
|
|
66148
|
+
}
|
|
66149
|
+
if ((_b = this._cancelPaginationPopoverElement) === null || _b === void 0 ? void 0 : _b.opened)
|
|
66150
|
+
return;
|
|
66151
|
+
(_c = this._cancelPaginationPopoverElement) === null || _c === void 0 ? void 0 : _c.show("15px");
|
|
66152
|
+
}
|
|
66153
|
+
getPaginationControl() {
|
|
66154
|
+
if (!this._paginationInfo)
|
|
66155
|
+
return null;
|
|
66156
|
+
const { currentPage, hasMore } = this._paginationInfo;
|
|
66157
|
+
return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, 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") }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: this.i18n("ez-grid.nextPage") }))));
|
|
66158
|
+
}
|
|
66159
|
+
shouldPresentPaginationLabel() {
|
|
66160
|
+
return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
|
|
66161
|
+
}
|
|
66949
66162
|
componentDidLoad() {
|
|
66950
66163
|
const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
66951
66164
|
this.enableLockManagerLoadingComp = (!_application || (_application === null || _application === void 0 ? void 0 : _application.enableLockManagerLoadingApp)) ? this.enableLockManagerLoadingComp : false;
|
|
@@ -67010,9 +66223,76 @@ const EzGrid = class {
|
|
|
67010
66223
|
}
|
|
67011
66224
|
this._paginationInfo = paginationInfo;
|
|
67012
66225
|
}
|
|
67013
|
-
|
|
66226
|
+
_getActualPageLabel() {
|
|
66227
|
+
const { firstRecord, lastRecord } = this._paginationInfo;
|
|
66228
|
+
return `${firstRecord}-${lastRecord}`;
|
|
66229
|
+
}
|
|
66230
|
+
_getRemainingPageLabel() {
|
|
66231
|
+
const { total, count } = this._paginationInfo;
|
|
66232
|
+
return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
|
|
66233
|
+
}
|
|
66234
|
+
_hasToShowCancelPagination() {
|
|
67014
66235
|
var _a;
|
|
67015
|
-
(_a = this.
|
|
66236
|
+
const { total, count } = (_a = this._paginationInfo) !== null && _a !== void 0 ? _a : {};
|
|
66237
|
+
const hasMore = (total === undefined);
|
|
66238
|
+
return !this.dataUnit.cancelPagination && hasMore && count > this.dataUnit.pageSize;
|
|
66239
|
+
}
|
|
66240
|
+
_getPaginationTooltip() {
|
|
66241
|
+
return this._getActualPageLabel() + this._getRemainingPageLabel();
|
|
66242
|
+
}
|
|
66243
|
+
_initHeaderOverflowWatcher() {
|
|
66244
|
+
var _a;
|
|
66245
|
+
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66246
|
+
if (this._refPaginationControl)
|
|
66247
|
+
this._headerOverflowWatcher = new OverflowWatcher(this.buildOverFlowWatcherParams());
|
|
66248
|
+
}
|
|
66249
|
+
buildOverFlowWatcherParams() {
|
|
66250
|
+
return {
|
|
66251
|
+
element: this._refPaginationControl,
|
|
66252
|
+
callback: this.handleOverFlow.bind(this),
|
|
66253
|
+
notOverFlow: ["grid-pagination-tooltip"]
|
|
66254
|
+
};
|
|
66255
|
+
}
|
|
66256
|
+
handleOverFlow() {
|
|
66257
|
+
if (!this._refPaginationLabel || !this._refPaginationControl)
|
|
66258
|
+
return;
|
|
66259
|
+
const controlWidth = this._refPaginationControl.clientWidth;
|
|
66260
|
+
const labelWidth = this._refPaginationLabel.scrollWidth;
|
|
66261
|
+
const buttonsElement = this._refPaginationControl.querySelector('#grid-pagination-tooltip');
|
|
66262
|
+
const buttonsWidth = (buttonsElement === null || buttonsElement === void 0 ? void 0 : buttonsElement.clientWidth) || 0;
|
|
66263
|
+
const totalMargins = this._getElementMargins(this._refPaginationLabel) + (buttonsElement ? this._getElementMargins(buttonsElement) : 0);
|
|
66264
|
+
const paginationWidthWithoutDescription = labelWidth + buttonsWidth + totalMargins;
|
|
66265
|
+
const paginationWidthWithDescription = paginationWidthWithoutDescription + this._getPaginationDescriptionWidth();
|
|
66266
|
+
if (controlWidth > paginationWidthWithDescription) {
|
|
66267
|
+
this._showPaginationDescription();
|
|
66268
|
+
}
|
|
66269
|
+
else if (controlWidth <= paginationWidthWithoutDescription) {
|
|
66270
|
+
this._hidePaginationDescription();
|
|
66271
|
+
}
|
|
66272
|
+
}
|
|
66273
|
+
_getPaginationDescriptionWidth() {
|
|
66274
|
+
var _a;
|
|
66275
|
+
return ((_a = this._refPaginationLabelTooltip) === null || _a === void 0 ? void 0 : _a.scrollWidth) || 0;
|
|
66276
|
+
}
|
|
66277
|
+
_getElementMargins(element) {
|
|
66278
|
+
const style = getComputedStyle(element);
|
|
66279
|
+
return parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
66280
|
+
}
|
|
66281
|
+
_hidePaginationDescription() {
|
|
66282
|
+
this._refPaginationLabel.classList.add(OVERFLOWED_CLASS_NAME);
|
|
66283
|
+
this._refPaginationLabelTooltip.setAttribute('data-flow', 'bottom');
|
|
66284
|
+
this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
|
|
66285
|
+
}
|
|
66286
|
+
;
|
|
66287
|
+
_showPaginationDescription() {
|
|
66288
|
+
this._refPaginationLabel.classList.remove(OVERFLOWED_CLASS_NAME);
|
|
66289
|
+
this._refPaginationLabelTooltip.removeAttribute('data-flow');
|
|
66290
|
+
this._refPaginationLabelTooltip.removeAttribute('data-tooltip');
|
|
66291
|
+
}
|
|
66292
|
+
disconnectedCallback() {
|
|
66293
|
+
var _a, _b;
|
|
66294
|
+
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
66295
|
+
(_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
|
|
67016
66296
|
this.removeShortcuts();
|
|
67017
66297
|
}
|
|
67018
66298
|
connectedCallback() {
|
|
@@ -67041,6 +66321,8 @@ const EzGrid = class {
|
|
|
67041
66321
|
if (this.dataUnit && this._showSelectionCounter) {
|
|
67042
66322
|
this.setSelection(this.dataUnit.getSelectionInfo());
|
|
67043
66323
|
}
|
|
66324
|
+
if (this.paginationCounterMode === 'auto')
|
|
66325
|
+
this._initHeaderOverflowWatcher();
|
|
67044
66326
|
}
|
|
67045
66327
|
getDataSource() {
|
|
67046
66328
|
if (!this.columnfilterDataSource) {
|
|
@@ -67052,7 +66334,7 @@ const EzGrid = class {
|
|
|
67052
66334
|
if (this.mode === "simple") {
|
|
67053
66335
|
return true;
|
|
67054
66336
|
}
|
|
67055
|
-
return !this._hasLeftButtons;
|
|
66337
|
+
return !this._hasLeftButtons && !this._paginationInfo;
|
|
67056
66338
|
}
|
|
67057
66339
|
resolveLeftHeaderClass() {
|
|
67058
66340
|
if (this.paginationCounterMode == 'show')
|
|
@@ -67077,7 +66359,7 @@ const EzGrid = class {
|
|
|
67077
66359
|
return;
|
|
67078
66360
|
const { currentPage } = this._paginationInfo;
|
|
67079
66361
|
if (currentPage > 0) {
|
|
67080
|
-
this.
|
|
66362
|
+
this.previousPage();
|
|
67081
66363
|
}
|
|
67082
66364
|
}, { description: this.i18n("ez-grid.previousPage"), element: this._element })
|
|
67083
66365
|
.bind("ctrl + alt + ArrowRight", () => {
|
|
@@ -67085,7 +66367,7 @@ const EzGrid = class {
|
|
|
67085
66367
|
return;
|
|
67086
66368
|
const { hasMore } = this._paginationInfo;
|
|
67087
66369
|
if (hasMore) {
|
|
67088
|
-
this.
|
|
66370
|
+
this.nextPage();
|
|
67089
66371
|
}
|
|
67090
66372
|
}, { description: this.i18n("ez-grid.nextPage"), element: this._element });
|
|
67091
66373
|
if (this.useSearchColumn) {
|
|
@@ -67138,14 +66420,16 @@ const EzGrid = class {
|
|
|
67138
66420
|
'ez-box ez-padding--small grid-header': true,
|
|
67139
66421
|
'outline-mode': this.outlineMode,
|
|
67140
66422
|
'shadow-mode': !this.outlineMode && !this.hideHeader(),
|
|
67141
|
-
}, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })))), h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
66423
|
+
}, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })), this.getPaginationControl())), h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
67142
66424
|
${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
|
|
67143
|
-
` }, 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) })), h("div", { class: "grid__footer" },
|
|
66425
|
+
` }, 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) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
|
|
67144
66426
|
}
|
|
67145
66427
|
static get assetsDirs() { return ["../assets"]; }
|
|
67146
66428
|
get _element() { return getElement(this); }
|
|
67147
66429
|
static get watchers() { return {
|
|
67148
66430
|
"config": ["observeConfig"],
|
|
66431
|
+
"_paginationInfo": ["updatePaginationTooltip"],
|
|
66432
|
+
"paginationCounterMode": ["observePaginationCounterMode"],
|
|
67149
66433
|
"mode": ["observeModeChange"]
|
|
67150
66434
|
}; }
|
|
67151
66435
|
};
|