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