@progress/kendo-angular-grid 17.0.0-develop.8 → 17.0.0
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 +46 -36
- package/aggregates/aggregate-types.d.ts +1 -1
- package/aggregates/status-bar.component.d.ts +1 -1
- package/column-menu/column-chooser-item-checked.directive.d.ts +5 -4
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-list.component.d.ts +2 -2
- package/column-menu/column-menu-autosize.component.d.ts +1 -1
- package/column-menu/column-menu-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +1 -1
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +1 -1
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-position.component.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +1 -1
- package/column-resizing/column-handle.directive.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +3 -3
- package/column-resizing/table.directive.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/reorder-column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +2 -2
- package/columns/span-column.component.d.ts +1 -1
- package/common/clipboard-types.d.ts +2 -2
- package/common/clipboard.directive.d.ts +1 -1
- package/common/create-form-group.d.ts +1 -1
- package/common/fetch-data-callback.d.ts +1 -1
- package/{pager → common}/pager-settings.d.ts +15 -2
- package/common/remove-confirmation.d.ts +1 -1
- package/common/size-options.d.ts +1 -1
- package/data/data.iterators.d.ts +1 -1
- package/data/grid-item.interface.d.ts +1 -1
- package/databinding.directive.d.ts +1 -1
- package/directives.d.ts +8 -21
- package/dragdrop/context-types.d.ts +1 -1
- package/dragdrop/draggable-column.directive.d.ts +1 -1
- package/dragdrop/drop-target.directive.d.ts +1 -1
- package/editing/add-command-tool.directive.d.ts +39 -0
- package/editing/edit.service.d.ts +3 -3
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/aggregates/selection-aggregate.service.mjs +20 -17
- package/{esm2020 → esm2022}/aggregates/status-bar-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/aggregates/status-bar.component.mjs +10 -8
- package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +45 -0
- package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +35 -23
- package/{esm2020 → esm2022}/column-menu/column-list-kb-nav.service.mjs +6 -4
- package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +108 -96
- package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-menu-autosize-all.component.mjs +6 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-autosize.component.mjs +10 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +33 -29
- package/{esm2020 → esm2022}/column-menu/column-menu-container.component.mjs +8 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +28 -26
- package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +73 -42
- package/{esm2020 → esm2022}/column-menu/column-menu-item.directive.mjs +38 -28
- package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-position.component.mjs +38 -28
- package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-stick.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +97 -63
- package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +34 -10
- package/{esm2020 → esm2022}/column-menu/column-sticky-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +23 -15
- package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
- package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
- package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +24 -16
- package/{esm2020 → esm2022}/columns/column-base.mjs +188 -84
- package/{esm2020 → esm2022}/columns/column-group.component.mjs +29 -20
- package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
- package/{esm2020 → esm2022}/columns/column.component.mjs +62 -46
- package/{esm2020 → esm2022}/columns/columns-container.mjs +16 -15
- package/{esm2020 → esm2022}/columns/command-column.component.mjs +10 -8
- package/{esm2020 → esm2022}/columns/reorder-column.component.mjs +23 -12
- package/{esm2020 → esm2022}/columns/span-column.component.mjs +49 -29
- package/esm2022/common/clipboard.directive.mjs +190 -0
- package/{esm2020 → esm2022}/common/clipboard.service.mjs +12 -9
- package/{esm2020 → esm2022}/common/column-info.service.mjs +10 -10
- package/esm2022/common/dom-events.service.mjs +26 -0
- package/{esm2020 → esm2022}/common/error-messages.mjs +4 -1
- package/{esm2020 → esm2022}/common/event-emitter.mjs +1 -0
- package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
- package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/common/provider.service.mjs +10 -3
- package/{esm2020 → esm2022}/common/single-popup.service.mjs +21 -10
- package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
- package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
- package/{esm2020 → esm2022}/data/data.collection.mjs +5 -0
- package/{esm2020 → esm2022}/data/data.iterators.mjs +16 -1
- package/{esm2020 → esm2022}/databinding.directive.mjs +24 -16
- package/{esm2020 → esm2022}/directives.mjs +8 -30
- package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
- package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
- package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
- package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
- package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
- package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
- package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
- package/esm2022/editing/add-command-tool.directive.mjs +64 -0
- package/{esm2020 → esm2022}/editing/add-command.directive.mjs +9 -8
- package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/cell-close-event.mjs +21 -4
- package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/editing/edit.service.mjs +13 -8
- package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
- package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/save-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -9
- package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +10 -3
- package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +2 -0
- package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +9 -3
- package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +4 -3
- package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +11 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
- package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +11 -10
- package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
- package/{esm2020 → esm2022}/excel/excel.component.mjs +66 -12
- package/{esm2020 → esm2022}/excel/excel.module.mjs +9 -7
- package/{esm2020 → esm2022}/excel/excel.service.mjs +5 -7
- package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +22 -11
- package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +24 -32
- package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +18 -15
- package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +10 -8
- package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +25 -23
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +59 -38
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +9 -9
- package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +25 -18
- package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +27 -19
- package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -38
- package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
- package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
- package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +20 -13
- package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +17 -15
- package/{esm2020 → esm2022}/filtering/filter.service.mjs +14 -10
- package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +33 -23
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +24 -5
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +26 -21
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +46 -20
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-dropdownlist.directive.mjs +11 -9
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +5 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +14 -8
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +27 -6
- package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
- package/{esm2020 → esm2022}/filtering/menu/menu-tabbing.service.mjs +9 -8
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +51 -15
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +42 -37
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +25 -16
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +36 -21
- package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
- package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
- package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
- package/{esm2020 → esm2022}/grid.component.mjs +648 -396
- package/esm2022/grid.module.mjs +216 -0
- package/{esm2020 → esm2022}/grouping/group-footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header-column-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header.component.mjs +25 -16
- package/{esm2020 → esm2022}/grouping/group-info.service.mjs +1 -3
- package/{esm2020 → esm2022}/grouping/group-panel.component.mjs +71 -53
- package/{esm2020 → esm2022}/grouping/group-scroll-binding.directive.mjs +11 -9
- package/{esm2020 → esm2022}/grouping/groups.service.mjs +6 -7
- package/{esm2020 → esm2022}/index.mjs +6 -24
- package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
- package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
- package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
- package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
- package/{esm2020 → esm2022}/layout/sizing-options.service.mjs +4 -6
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +591 -0
- package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
- package/{esm2020 → esm2022}/navigation/focus-group.mjs +10 -9
- package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
- package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +23 -17
- package/{esm2020 → esm2022}/navigation/grid-focusable-element.mjs +1 -0
- package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
- package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +38 -23
- package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +18 -12
- package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
- package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +12 -4
- package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +49 -29
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pdf/grid-query.mjs +4 -0
- package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
- package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
- package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf.component.mjs +39 -12
- package/{esm2020 → esm2022}/pdf/pdf.module.mjs +5 -4
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
- package/{esm2020 → esm2022}/rendering/cell-loading.template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell.component.mjs +64 -75
- package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +8 -9
- package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +10 -8
- package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +12 -7
- package/{esm2020 → esm2022}/rendering/details/detail-collapse-event.mjs +8 -0
- package/{esm2020 → esm2022}/rendering/details/detail-expand-event.mjs +8 -0
- package/{esm2020 → esm2022}/rendering/details/detail-template.directive.mjs +8 -7
- package/{esm2020 → esm2022}/rendering/details/details.service.mjs +6 -7
- package/{esm2020 → esm2022}/rendering/details-expand.directive.mjs +28 -25
- package/{esm2020 → esm2022}/rendering/footer/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/footer/footer.component.mjs +19 -15
- package/{esm2020 → esm2022}/rendering/grid-table.directive.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/groups-expand.directive.mjs +21 -18
- package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/header/header.component.mjs +78 -55
- package/{esm2020 → esm2022}/rendering/list.component.mjs +99 -52
- package/{esm2020 → esm2022}/rendering/loading-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/table-body.component.mjs +60 -29
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +8 -7
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +17 -13
- package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -10
- package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +5 -2
- package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
- package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
- package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -1
- package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
- package/{esm2020 → esm2022}/selection/cell-selection.service.mjs +31 -20
- package/{esm2020 → esm2022}/selection/marquee.directive.mjs +16 -4
- package/{esm2020 → esm2022}/selection/pair-set.mjs +16 -16
- package/esm2022/selection/selectall-checkbox.directive.mjs +144 -0
- package/{esm2020 → esm2022}/selection/selection-checkbox.directive.mjs +36 -15
- package/{esm2020 → esm2022}/selection/selection-default.mjs +46 -25
- package/{esm2020 → esm2022}/selection/selection.directive.mjs +4 -3
- package/{esm2020 → esm2022}/selection/selection.service.mjs +31 -18
- package/excel/excel-command-tool.directive.d.ts +41 -0
- package/excel/excel-command.directive.d.ts +1 -1
- package/excel/excel.component.d.ts +1 -1
- package/excel/excel.module.d.ts +3 -2
- package/{fesm2020 → fesm2022}/progress-kendo-angular-grid.mjs +5338 -5029
- package/filtering/base-filter-cell.component.d.ts +5 -1
- package/filtering/boolean-filter.component.d.ts +2 -17
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
- package/filtering/cell/date-filter-cell.component.d.ts +1 -1
- package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
- package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
- package/filtering/cell/filter-cell.component.d.ts +1 -1
- package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +2 -11
- package/filtering/filter-host.directive.d.ts +2 -2
- package/filtering/filter-input-wrapper.component.d.ts +1 -2
- package/filtering/filter-input.directive.d.ts +1 -1
- package/filtering/filter-row.component.d.ts +1 -1
- package/filtering/filterable.d.ts +1 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -2
- package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/date-filter-menu.component.d.ts +1 -7
- package/filtering/menu/filter-menu-container.component.d.ts +1 -1
- package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +1 -1
- package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
- package/filtering/menu/filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
- package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -7
- package/filtering/numeric-filter.component.d.ts +2 -11
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/string-filter.component.d.ts +2 -11
- package/grid.component.d.ts +5 -6
- package/grid.module.d.ts +94 -101
- package/grouping/group-header.component.d.ts +1 -1
- package/grouping/group-panel.component.d.ts +1 -1
- package/grouping/group-scroll-binding.directive.d.ts +1 -1
- package/index.d.ts +7 -27
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/messages.d.ts +10 -6
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/logical-cell.directive.d.ts +1 -1
- package/navigation/logical-row.directive.d.ts +1 -1
- package/navigation/navigable-settings.d.ts +2 -2
- package/navigation/navigation.service.d.ts +1 -1
- package/package.json +29 -33
- package/pdf/pdf-command-tool.directive.d.ts +41 -0
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +2 -1
- package/rendering/cell.component.d.ts +1 -1
- package/rendering/common/cell-context.d.ts +1 -1
- package/rendering/common/col-group.component.d.ts +1 -1
- package/rendering/common/loading.component.d.ts +1 -1
- package/rendering/common/row-class.d.ts +4 -4
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +2 -2
- package/rendering/details-expand.directive.d.ts +1 -1
- package/rendering/footer/footer.component.d.ts +1 -1
- package/rendering/grid-table.directive.d.ts +1 -1
- package/rendering/groups-expand.directive.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -1
- package/rendering/list.component.d.ts +1 -1
- package/rendering/table-body.component.d.ts +1 -1
- package/rendering/toolbar/toolbar-position.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar.component.d.ts +1 -1
- package/row-reordering/types.d.ts +1 -1
- package/schematics/ngAdd/index.js +5 -5
- package/scrolling/scroll-sync.service.d.ts +1 -1
- package/scrolling/scroller.service.d.ts +1 -1
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/cell-selection.service.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +9 -7
- package/selection/selection-checkbox.directive.d.ts +6 -5
- package/selection/selection-default.d.ts +1 -1
- package/selection/selection.service.d.ts +1 -1
- package/selection/types.d.ts +4 -4
- package/utils.d.ts +1 -1
- package/esm2020/column-menu/column-chooser-item-checked.directive.mjs +0 -39
- package/esm2020/common/clipboard.directive.mjs +0 -186
- package/esm2020/common/dom-events.service.mjs +0 -28
- package/esm2020/filtering/cell/row-filtering.module.mjs +0 -112
- package/esm2020/filtering/menu/filter-menu.module.mjs +0 -116
- package/esm2020/filtering/shared-filtering.module.mjs +0 -92
- package/esm2020/grid.module.mjs +0 -219
- package/esm2020/grouping/group.module.mjs +0 -53
- package/esm2020/localization/messages.mjs +0 -187
- package/esm2020/pager/pager-context.service.mjs +0 -41
- package/esm2020/pager/pager-dropdown.directive.mjs +0 -39
- package/esm2020/pager/pager-element.component.mjs +0 -109
- package/esm2020/pager/pager-info.component.mjs +0 -76
- package/esm2020/pager/pager-input.component.mjs +0 -142
- package/esm2020/pager/pager-input.directive.mjs +0 -30
- package/esm2020/pager/pager-next-buttons.component.mjs +0 -114
- package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -257
- package/esm2020/pager/pager-page-sizes.component.mjs +0 -145
- package/esm2020/pager/pager-prev-buttons.component.mjs +0 -116
- package/esm2020/pager/pager-template.directive.mjs +0 -48
- package/esm2020/pager/pager.component.mjs +0 -457
- package/esm2020/pager/pager.module.mjs +0 -51
- package/esm2020/pager/pagesize-item.interface.mjs +0 -5
- package/esm2020/rendering/body.module.mjs +0 -88
- package/esm2020/rendering/footer/footer.module.mjs +0 -41
- package/esm2020/rendering/header/header.module.mjs +0 -152
- package/esm2020/selection/selectall-checkbox.directive.mjs +0 -115
- package/esm2020/shared.module.mjs +0 -41
- package/fesm2015/progress-kendo-angular-grid.mjs +0 -28474
- package/filtering/cell/row-filtering.module.d.ts +0 -59
- package/filtering/menu/filter-menu.module.d.ts +0 -63
- package/filtering/shared-filtering.module.d.ts +0 -49
- package/grouping/group.module.d.ts +0 -38
- package/pager/pager-context.service.d.ts +0 -30
- package/pager/pager-dropdown.directive.d.ts +0 -18
- package/pager/pager-element.component.d.ts +0 -79
- package/pager/pager-info.component.d.ts +0 -43
- package/pager/pager-input.component.d.ts +0 -45
- package/pager/pager-input.directive.d.ts +0 -18
- package/pager/pager-next-buttons.component.d.ts +0 -28
- package/pager/pager-numeric-buttons.component.d.ts +0 -52
- package/pager/pager-page-sizes.component.d.ts +0 -49
- package/pager/pager-prev-buttons.component.d.ts +0 -28
- package/pager/pager-template.directive.d.ts +0 -38
- package/pager/pager.component.d.ts +0 -80
- package/pager/pager.module.d.ts +0 -37
- package/pager/pagesize-item.interface.d.ts +0 -14
- package/rendering/body.module.d.ts +0 -50
- package/rendering/footer/footer.module.d.ts +0 -30
- package/rendering/header/header.module.d.ts +0 -101
- package/shared.module.d.ts +0 -29
- /package/{esm2020 → esm2022}/aggregates/aggregate-types.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/column-menu-expandable-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
- /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/clipboard-types.mjs +0 -0
- /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
- /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
- /package/{esm2020 → esm2022}/common/fetch-data-callback.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
- /package/{esm2020/pager → esm2022/common}/pager-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
- /package/{esm2020 → esm2022}/common/size-options.mjs +0 -0
- /package/{esm2020 → esm2022}/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/grid-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/group-footer-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/group-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/edit-row-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/local-row-edit.service.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-key.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-rows-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/virtual-group-result.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigable-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-grid.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/cell-context.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-args.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/toolbar/toolbar-position.mjs +0 -0
- /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
- /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/types.mjs +0 -0
- /package/{esm2020 → esm2022}/utils.mjs +0 -0
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input, EventEmitter, Output, HostBinding, ElementRef, Renderer2, HostListener, NgZone, Optional, Inject, ViewChild } from '@angular/core';
|
|
6
|
-
import { normalize } from './pager-settings';
|
|
7
|
-
import { PagerTemplateDirective } from './pager-template.directive';
|
|
8
|
-
import { anyChanged, replaceMessagePlaceholder } from '../utils';
|
|
9
|
-
import { PagerContextService } from './pager-context.service';
|
|
10
|
-
import { Subscription } from 'rxjs';
|
|
11
|
-
import { RESPONSIVE_BREAKPOINT_LARGE, RESPONSIVE_BREAKPOINT_MEDIUM } from '../constants';
|
|
12
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
13
|
-
import { take } from 'rxjs/operators';
|
|
14
|
-
import { CELL_CONTEXT } from '../rendering/common/cell-context';
|
|
15
|
-
import { FocusGroup } from '../navigation/focus-group';
|
|
16
|
-
import { FocusRoot, FOCUS_ROOT_ACTIVE } from '../navigation/focus-root';
|
|
17
|
-
import { findFocusableChild, findLastFocusableChild } from '../rendering/common/dom-queries';
|
|
18
|
-
import { ContextService } from '../common/provider.service';
|
|
19
|
-
import { PagerInfoComponent } from './pager-info.component';
|
|
20
|
-
import { PagerPageSizesComponent } from './pager-page-sizes.component';
|
|
21
|
-
import { PagerNumericButtonsComponent } from './pager-numeric-buttons.component';
|
|
22
|
-
import { PagerNextButtonsComponent } from './pager-next-buttons.component';
|
|
23
|
-
import { PagerInputComponent } from './pager-input.component';
|
|
24
|
-
import { PagerPrevButtonsComponent } from './pager-prev-buttons.component';
|
|
25
|
-
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
26
|
-
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
27
|
-
import * as i0 from "@angular/core";
|
|
28
|
-
import * as i1 from "./pager-context.service";
|
|
29
|
-
import * as i2 from "../navigation/navigation.service";
|
|
30
|
-
import * as i3 from "../common/provider.service";
|
|
31
|
-
import * as i4 from "../navigation/focus-root";
|
|
32
|
-
import * as i5 from "../navigation/focus-group";
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export class PagerComponent {
|
|
37
|
-
constructor(pagerContext, navigationService, element, renderer, zone, ctx, cellContext, focusRoot, focusGroup) {
|
|
38
|
-
this.pagerContext = pagerContext;
|
|
39
|
-
this.navigationService = navigationService;
|
|
40
|
-
this.element = element;
|
|
41
|
-
this.renderer = renderer;
|
|
42
|
-
this.zone = zone;
|
|
43
|
-
this.ctx = ctx;
|
|
44
|
-
this.cellContext = cellContext;
|
|
45
|
-
this.focusRoot = focusRoot;
|
|
46
|
-
this.focusGroup = focusGroup;
|
|
47
|
-
this.total = 0;
|
|
48
|
-
this.skip = 1;
|
|
49
|
-
this.pageChange = new EventEmitter();
|
|
50
|
-
this.gridPagerClass = true;
|
|
51
|
-
this.settings = normalize({});
|
|
52
|
-
this.subscriptions = new Subscription();
|
|
53
|
-
this._templateContext = {};
|
|
54
|
-
this._isFocused = false;
|
|
55
|
-
this._size = 'medium';
|
|
56
|
-
this.resizeHandler = () => {
|
|
57
|
-
const element = this.element.nativeElement;
|
|
58
|
-
if (this.template || !element) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
this.zone.runOutsideAngular(() => {
|
|
62
|
-
setTimeout(() => {
|
|
63
|
-
const width = element.offsetWidth;
|
|
64
|
-
if (this.numericButtons) {
|
|
65
|
-
const selectElement = this.numericButtons.selectElement.nativeElement;
|
|
66
|
-
const numbersElement = this.numericButtons.numbersElement.nativeElement;
|
|
67
|
-
this.renderer.removeStyle(numbersElement, 'display');
|
|
68
|
-
this.renderer.setStyle(selectElement, 'display', 'none');
|
|
69
|
-
if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
|
|
70
|
-
this.renderer.removeStyle(selectElement, 'display');
|
|
71
|
-
this.renderer.setStyle(numbersElement, 'display', 'none');
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if (this.pagerInfo) {
|
|
75
|
-
this.renderer.removeStyle(this.pagerInfo.nativeElement, 'display');
|
|
76
|
-
if (width < RESPONSIVE_BREAKPOINT_LARGE) {
|
|
77
|
-
this.renderer.setStyle(this.pagerInfo.nativeElement, 'display', 'none');
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
if (this.pagerPageSizes) {
|
|
81
|
-
this.renderer.removeStyle(this.pagerPageSizes.nativeElement, 'display');
|
|
82
|
-
if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
|
|
83
|
-
this.renderer.setStyle(this.pagerPageSizes.nativeElement, 'display', 'none');
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
set options(value) {
|
|
91
|
-
this.settings = normalize(value);
|
|
92
|
-
}
|
|
93
|
-
set size(size) {
|
|
94
|
-
this._size = size;
|
|
95
|
-
if (size === 'none') {
|
|
96
|
-
this.element.nativeElement.classList.remove('k-pager-sm', 'k-pager-md');
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
get size() {
|
|
100
|
-
return this._size;
|
|
101
|
-
}
|
|
102
|
-
get sizeSmallClass() {
|
|
103
|
-
return this.size === 'small';
|
|
104
|
-
}
|
|
105
|
-
get sizeMediumClass() {
|
|
106
|
-
return this.size === 'medium' || !this.size;
|
|
107
|
-
}
|
|
108
|
-
get isFocused() {
|
|
109
|
-
return this._isFocused;
|
|
110
|
-
}
|
|
111
|
-
get pagerAriaLabel() {
|
|
112
|
-
return this.navigationService.pagerEnabled ? this.pagerLabel : undefined;
|
|
113
|
-
}
|
|
114
|
-
get pagerLabel() {
|
|
115
|
-
const localizationMsg = this.ctx.localization.get('pagerLabel') || '';
|
|
116
|
-
return replaceMessagePlaceholder(replaceMessagePlaceholder(localizationMsg, 'currentPage', this.currentPage.toString()), 'totalPages', this.totalPages.toString());
|
|
117
|
-
}
|
|
118
|
-
get focusTrapTabIndex() {
|
|
119
|
-
return this.focusGroup.isActive ? '0' : '-1';
|
|
120
|
-
}
|
|
121
|
-
onFocusIn(event) {
|
|
122
|
-
if (this.navigationService.pagerEnabled) {
|
|
123
|
-
const shouldFocusPager = event.target === this.element.nativeElement;
|
|
124
|
-
if (shouldFocusPager) {
|
|
125
|
-
this._isFocused = true;
|
|
126
|
-
this.focusRoot.deactivate();
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
this.focusRoot.activate();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
onFocusOut() {
|
|
134
|
-
if (this.navigationService.pagerEnabled) {
|
|
135
|
-
this._isFocused = false;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
onEscape() {
|
|
139
|
-
if (this.navigationService.pagerEnabled) {
|
|
140
|
-
this.focusRoot.deactivate();
|
|
141
|
-
this.element.nativeElement.focus();
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
onEnter(event) {
|
|
145
|
-
if (this.navigationService.pagerEnabled && event.target === this.element.nativeElement) {
|
|
146
|
-
event.preventDefault();
|
|
147
|
-
this.focusRoot.activate();
|
|
148
|
-
this.focusFirstElement();
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
navigateToPreviousPage(e) {
|
|
152
|
-
e.preventDefault();
|
|
153
|
-
if (this.shouldTriggerPageChange(e.target, this.currentPage > 1)) {
|
|
154
|
-
this.pagerContext.prevPage();
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
navigateToNextPage(e) {
|
|
158
|
-
e.preventDefault();
|
|
159
|
-
if (this.shouldTriggerPageChange(e.target, this.currentPage < this.totalPages)) {
|
|
160
|
-
this.pagerContext.nextPage();
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
navigateToFirstPage(e) {
|
|
164
|
-
e.preventDefault();
|
|
165
|
-
if (this.shouldTriggerPageChange(e.target, this.currentPage > 1)) {
|
|
166
|
-
this.pagerContext.changePage(0);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
navigateToLastPage(e) {
|
|
170
|
-
e.preventDefault();
|
|
171
|
-
if (this.shouldTriggerPageChange(e.target, this.currentPage < this.totalPages)) {
|
|
172
|
-
this.pagerContext.changePage(this.totalPages - 1);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
get totalPages() {
|
|
176
|
-
return Math.ceil((this.total || 0) / this.pageSize);
|
|
177
|
-
}
|
|
178
|
-
get currentPage() {
|
|
179
|
-
return Math.floor((this.skip || 0) / this.pageSize) + 1;
|
|
180
|
-
}
|
|
181
|
-
get templateContext() {
|
|
182
|
-
const context = this._templateContext;
|
|
183
|
-
context.totalPages = this.totalPages;
|
|
184
|
-
context.total = this.total;
|
|
185
|
-
context.skip = this.skip;
|
|
186
|
-
context.pageSize = this.pageSize;
|
|
187
|
-
context.currentPage = this.currentPage;
|
|
188
|
-
return context;
|
|
189
|
-
}
|
|
190
|
-
ngOnInit() {
|
|
191
|
-
this.subscriptions.add(this.pagerContext.pageChange.subscribe(this.changePage.bind(this)));
|
|
192
|
-
if (this.navigationService.pagerEnabled) {
|
|
193
|
-
this.focusRoot.deactivate();
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
ngDoCheck() {
|
|
197
|
-
this.updateCellContext();
|
|
198
|
-
}
|
|
199
|
-
ngOnChanges(changes) {
|
|
200
|
-
if (anyChanged(['pageSize', 'skip', 'total'], changes, false)) {
|
|
201
|
-
this.pagerContext.notifyChanges({
|
|
202
|
-
pageSize: this.pageSize,
|
|
203
|
-
skip: this.skip,
|
|
204
|
-
total: this.total
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
const changesInTemplate = changes['template'];
|
|
208
|
-
if (changesInTemplate) {
|
|
209
|
-
changesInTemplate.currentValue ? this.clearResponsiveStyling() : this.resizeHandler();
|
|
210
|
-
}
|
|
211
|
-
if (changes['options']) {
|
|
212
|
-
this.settings.responsive ? this.resizeHandler() : this.clearResponsiveStyling();
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
ngOnDestroy() {
|
|
216
|
-
if (this.subscriptions) {
|
|
217
|
-
this.subscriptions.unsubscribe();
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
changePage(event) {
|
|
221
|
-
this.pageChange.emit(event);
|
|
222
|
-
}
|
|
223
|
-
onInnerFocusIn(event, position) {
|
|
224
|
-
this.zone.onStable.pipe(take(1)).subscribe(() => {
|
|
225
|
-
if (position === 'start') {
|
|
226
|
-
if (event.relatedTarget === this.element.nativeElement) {
|
|
227
|
-
this.focusFirstElement();
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
this.focusLastElement();
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
this.focusFirstElement();
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
shouldTriggerPageChange(target, condition) {
|
|
239
|
-
return this.navigationService.pagerEnabled &&
|
|
240
|
-
target === this.element.nativeElement &&
|
|
241
|
-
condition;
|
|
242
|
-
}
|
|
243
|
-
focusFirstElement() {
|
|
244
|
-
const first = findFocusableChild(this.element.nativeElement, true);
|
|
245
|
-
if (first) {
|
|
246
|
-
first.focus();
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
focusLastElement() {
|
|
250
|
-
const last = findLastFocusableChild(this.element.nativeElement, true);
|
|
251
|
-
if (last) {
|
|
252
|
-
last.focus();
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
updateCellContext() {
|
|
256
|
-
if (this.cellContext) {
|
|
257
|
-
this.cellContext.focusGroup = this.focusGroup;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
clearResponsiveStyling() {
|
|
261
|
-
this.zone.runOutsideAngular(() => {
|
|
262
|
-
setTimeout(() => {
|
|
263
|
-
if (this.numericButtons) {
|
|
264
|
-
this.renderer.removeStyle(this.numericButtons.numbersElement.nativeElement, 'display');
|
|
265
|
-
this.renderer.setStyle(this.numericButtons.selectElement.nativeElement, 'display', 'none');
|
|
266
|
-
}
|
|
267
|
-
this.pagerInfo && this.renderer.removeStyle(this.pagerInfo.nativeElement, 'display');
|
|
268
|
-
this.pagerPageSizes && this.renderer.removeStyle(this.pagerPageSizes.nativeElement, 'display');
|
|
269
|
-
});
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerComponent, deps: [{ token: i1.PagerContextService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.ContextService }, { token: CELL_CONTEXT, optional: true }, { token: i4.FocusRoot }, { token: i5.FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
|
|
274
|
-
PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerComponent, isStandalone: true, selector: "kendo-pager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", options: "options", size: "size", template: "template" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut()", "keydown.escape": "onEscape()", "keydown.enter": "onEnter($event)", "keydown.arrowleft": "navigateToPreviousPage($event)", "keydown.pageup": "navigateToPreviousPage($event)", "keydown.arrowright": "navigateToNextPage($event)", "keydown.pagedown": "navigateToNextPage($event)", "keydown.home": "navigateToFirstPage($event)", "keydown.end": "navigateToLastPage($event)" }, properties: { "class.k-grid-pager": "this.gridPagerClass", "class.k-pager-sm": "this.sizeSmallClass", "class.k-pager-md": "this.sizeMediumClass", "class.k-focus": "this.isFocused", "attr.aria-label": "this.pagerAriaLabel" } }, providers: [{
|
|
275
|
-
provide: FOCUS_ROOT_ACTIVE,
|
|
276
|
-
useValue: true
|
|
277
|
-
}, {
|
|
278
|
-
provide: FocusRoot,
|
|
279
|
-
deps: [FOCUS_ROOT_ACTIVE],
|
|
280
|
-
useClass: FocusRoot
|
|
281
|
-
}, {
|
|
282
|
-
provide: FocusGroup,
|
|
283
|
-
deps: [FocusRoot],
|
|
284
|
-
useClass: FocusGroup
|
|
285
|
-
}], viewQueries: [{ propertyName: "pagerInfo", first: true, predicate: PagerInfoComponent, descendants: true, read: ElementRef }, { propertyName: "pagerPageSizes", first: true, predicate: PagerPageSizesComponent, descendants: true, read: ElementRef }, { propertyName: "numericButtons", first: true, predicate: PagerNumericButtonsComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
286
|
-
<div
|
|
287
|
-
*ngIf="navigationService.pagerEnabled"
|
|
288
|
-
class="k-sr-only"
|
|
289
|
-
[tabindex]="focusTrapTabIndex"
|
|
290
|
-
[attr.aria-hidden]="true"
|
|
291
|
-
(focusin)="onInnerFocusIn($event, 'start')">
|
|
292
|
-
</div>
|
|
293
|
-
<ng-container
|
|
294
|
-
*ngIf="template?.templateRef"
|
|
295
|
-
[ngTemplateOutlet]="template.templateRef"
|
|
296
|
-
[ngTemplateOutletContext]="templateContext">
|
|
297
|
-
</ng-container>
|
|
298
|
-
<ng-container *ngIf="!template?.templateRef">
|
|
299
|
-
<div class="k-pager-numbers-wrap">
|
|
300
|
-
<kendo-pager-prev-buttons [size]="size" *ngIf="settings.previousNext"></kendo-pager-prev-buttons>
|
|
301
|
-
<kendo-pager-numeric-buttons
|
|
302
|
-
[size]="size"
|
|
303
|
-
*ngIf="settings.type === 'numeric'"
|
|
304
|
-
[buttonCount]="settings.buttonCount">
|
|
305
|
-
</kendo-pager-numeric-buttons>
|
|
306
|
-
<kendo-pager-input [size]="size" *ngIf="settings.type === 'input'"></kendo-pager-input>
|
|
307
|
-
<kendo-pager-next-buttons [size]="size" *ngIf="settings.previousNext"></kendo-pager-next-buttons>
|
|
308
|
-
</div>
|
|
309
|
-
<kendo-pager-info *ngIf='settings.info'></kendo-pager-info>
|
|
310
|
-
<kendo-pager-page-sizes
|
|
311
|
-
[size]="size"
|
|
312
|
-
*ngIf="settings.pageSizes"
|
|
313
|
-
[pageSizes]="$any(settings.pageSizes)"
|
|
314
|
-
></kendo-pager-page-sizes>
|
|
315
|
-
</ng-container>
|
|
316
|
-
<div
|
|
317
|
-
*ngIf="navigationService.pagerEnabled"
|
|
318
|
-
class="k-sr-only"
|
|
319
|
-
[tabindex]="focusTrapTabIndex"
|
|
320
|
-
[attr.aria-hidden]="true"
|
|
321
|
-
(focusin)="onInnerFocusIn($event, 'end')">
|
|
322
|
-
</div>
|
|
323
|
-
<kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
324
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons" }, { kind: "component", type: PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: ["buttonCount"] }, { kind: "component", type: PagerInputComponent, selector: "kendo-pager-input" }, { kind: "component", type: PagerNextButtonsComponent, selector: "kendo-pager-next-buttons" }, { kind: "component", type: PagerInfoComponent, selector: "kendo-pager-info" }, { kind: "component", type: PagerPageSizesComponent, selector: "kendo-pager-page-sizes", inputs: ["pageSizes"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerComponent, decorators: [{
|
|
326
|
-
type: Component,
|
|
327
|
-
args: [{
|
|
328
|
-
selector: 'kendo-pager',
|
|
329
|
-
providers: [{
|
|
330
|
-
provide: FOCUS_ROOT_ACTIVE,
|
|
331
|
-
useValue: true
|
|
332
|
-
}, {
|
|
333
|
-
provide: FocusRoot,
|
|
334
|
-
deps: [FOCUS_ROOT_ACTIVE],
|
|
335
|
-
useClass: FocusRoot
|
|
336
|
-
}, {
|
|
337
|
-
provide: FocusGroup,
|
|
338
|
-
deps: [FocusRoot],
|
|
339
|
-
useClass: FocusGroup
|
|
340
|
-
}],
|
|
341
|
-
template: `
|
|
342
|
-
<div
|
|
343
|
-
*ngIf="navigationService.pagerEnabled"
|
|
344
|
-
class="k-sr-only"
|
|
345
|
-
[tabindex]="focusTrapTabIndex"
|
|
346
|
-
[attr.aria-hidden]="true"
|
|
347
|
-
(focusin)="onInnerFocusIn($event, 'start')">
|
|
348
|
-
</div>
|
|
349
|
-
<ng-container
|
|
350
|
-
*ngIf="template?.templateRef"
|
|
351
|
-
[ngTemplateOutlet]="template.templateRef"
|
|
352
|
-
[ngTemplateOutletContext]="templateContext">
|
|
353
|
-
</ng-container>
|
|
354
|
-
<ng-container *ngIf="!template?.templateRef">
|
|
355
|
-
<div class="k-pager-numbers-wrap">
|
|
356
|
-
<kendo-pager-prev-buttons [size]="size" *ngIf="settings.previousNext"></kendo-pager-prev-buttons>
|
|
357
|
-
<kendo-pager-numeric-buttons
|
|
358
|
-
[size]="size"
|
|
359
|
-
*ngIf="settings.type === 'numeric'"
|
|
360
|
-
[buttonCount]="settings.buttonCount">
|
|
361
|
-
</kendo-pager-numeric-buttons>
|
|
362
|
-
<kendo-pager-input [size]="size" *ngIf="settings.type === 'input'"></kendo-pager-input>
|
|
363
|
-
<kendo-pager-next-buttons [size]="size" *ngIf="settings.previousNext"></kendo-pager-next-buttons>
|
|
364
|
-
</div>
|
|
365
|
-
<kendo-pager-info *ngIf='settings.info'></kendo-pager-info>
|
|
366
|
-
<kendo-pager-page-sizes
|
|
367
|
-
[size]="size"
|
|
368
|
-
*ngIf="settings.pageSizes"
|
|
369
|
-
[pageSizes]="$any(settings.pageSizes)"
|
|
370
|
-
></kendo-pager-page-sizes>
|
|
371
|
-
</ng-container>
|
|
372
|
-
<div
|
|
373
|
-
*ngIf="navigationService.pagerEnabled"
|
|
374
|
-
class="k-sr-only"
|
|
375
|
-
[tabindex]="focusTrapTabIndex"
|
|
376
|
-
[attr.aria-hidden]="true"
|
|
377
|
-
(focusin)="onInnerFocusIn($event, 'end')">
|
|
378
|
-
</div>
|
|
379
|
-
<kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
380
|
-
`,
|
|
381
|
-
standalone: true,
|
|
382
|
-
imports: [NgIf, NgTemplateOutlet, PagerPrevButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerNextButtonsComponent, PagerInfoComponent, PagerPageSizesComponent, ResizeSensorComponent]
|
|
383
|
-
}]
|
|
384
|
-
}], ctorParameters: function () { return [{ type: i1.PagerContextService }, { type: i2.NavigationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i3.ContextService }, { type: undefined, decorators: [{
|
|
385
|
-
type: Optional
|
|
386
|
-
}, {
|
|
387
|
-
type: Inject,
|
|
388
|
-
args: [CELL_CONTEXT]
|
|
389
|
-
}] }, { type: i4.FocusRoot }, { type: i5.FocusGroup }]; }, propDecorators: { pagerInfo: [{
|
|
390
|
-
type: ViewChild,
|
|
391
|
-
args: [PagerInfoComponent, { read: ElementRef }]
|
|
392
|
-
}], pagerPageSizes: [{
|
|
393
|
-
type: ViewChild,
|
|
394
|
-
args: [PagerPageSizesComponent, { read: ElementRef }]
|
|
395
|
-
}], numericButtons: [{
|
|
396
|
-
type: ViewChild,
|
|
397
|
-
args: [PagerNumericButtonsComponent]
|
|
398
|
-
}], total: [{
|
|
399
|
-
type: Input
|
|
400
|
-
}], skip: [{
|
|
401
|
-
type: Input
|
|
402
|
-
}], pageSize: [{
|
|
403
|
-
type: Input
|
|
404
|
-
}], options: [{
|
|
405
|
-
type: Input
|
|
406
|
-
}], size: [{
|
|
407
|
-
type: Input
|
|
408
|
-
}], template: [{
|
|
409
|
-
type: Input
|
|
410
|
-
}], pageChange: [{
|
|
411
|
-
type: Output
|
|
412
|
-
}], gridPagerClass: [{
|
|
413
|
-
type: HostBinding,
|
|
414
|
-
args: ['class.k-grid-pager']
|
|
415
|
-
}], sizeSmallClass: [{
|
|
416
|
-
type: HostBinding,
|
|
417
|
-
args: ['class.k-pager-sm']
|
|
418
|
-
}], sizeMediumClass: [{
|
|
419
|
-
type: HostBinding,
|
|
420
|
-
args: ['class.k-pager-md']
|
|
421
|
-
}], isFocused: [{
|
|
422
|
-
type: HostBinding,
|
|
423
|
-
args: ['class.k-focus']
|
|
424
|
-
}], pagerAriaLabel: [{
|
|
425
|
-
type: HostBinding,
|
|
426
|
-
args: ['attr.aria-label']
|
|
427
|
-
}], onFocusIn: [{
|
|
428
|
-
type: HostListener,
|
|
429
|
-
args: ['focusin', ['$event']]
|
|
430
|
-
}], onFocusOut: [{
|
|
431
|
-
type: HostListener,
|
|
432
|
-
args: ['focusout']
|
|
433
|
-
}], onEscape: [{
|
|
434
|
-
type: HostListener,
|
|
435
|
-
args: ['keydown.escape']
|
|
436
|
-
}], onEnter: [{
|
|
437
|
-
type: HostListener,
|
|
438
|
-
args: ['keydown.enter', ['$event']]
|
|
439
|
-
}], navigateToPreviousPage: [{
|
|
440
|
-
type: HostListener,
|
|
441
|
-
args: ['keydown.arrowleft', ['$event']]
|
|
442
|
-
}, {
|
|
443
|
-
type: HostListener,
|
|
444
|
-
args: ['keydown.pageup', ['$event']]
|
|
445
|
-
}], navigateToNextPage: [{
|
|
446
|
-
type: HostListener,
|
|
447
|
-
args: ['keydown.arrowright', ['$event']]
|
|
448
|
-
}, {
|
|
449
|
-
type: HostListener,
|
|
450
|
-
args: ['keydown.pagedown', ['$event']]
|
|
451
|
-
}], navigateToFirstPage: [{
|
|
452
|
-
type: HostListener,
|
|
453
|
-
args: ['keydown.home', ['$event']]
|
|
454
|
-
}], navigateToLastPage: [{
|
|
455
|
-
type: HostListener,
|
|
456
|
-
args: ['keydown.end', ['$event']]
|
|
457
|
-
}] } });
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
7
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
|
|
10
|
-
import { KENDO_GRID_PAGER_EXPORTS, KENDO_GRID_SHARED } from '../directives';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../columns/column.component";
|
|
13
|
-
import * as i2 from "../columns/column-group.component";
|
|
14
|
-
import * as i3 from "../navigation/logical-cell.directive";
|
|
15
|
-
import * as i4 from "../navigation/logical-row.directive";
|
|
16
|
-
import * as i5 from "../navigation/focusable.directive";
|
|
17
|
-
import * as i6 from "../rendering/footer/footer-template.directive";
|
|
18
|
-
import * as i7 from "../rendering/common/col-group.component";
|
|
19
|
-
import * as i8 from "../layout/resizable.directive";
|
|
20
|
-
import * as i9 from "@progress/kendo-angular-common";
|
|
21
|
-
import * as i10 from "../rendering/common/field-accessor.pipe";
|
|
22
|
-
import * as i11 from "../rendering/details/detail-template.directive";
|
|
23
|
-
import * as i12 from "../columns/span-column.component";
|
|
24
|
-
import * as i13 from "../rendering/common/loading.component";
|
|
25
|
-
import * as i14 from "../rendering/grid-table.directive";
|
|
26
|
-
import * as i15 from "./pager.component";
|
|
27
|
-
import * as i16 from "./pager-prev-buttons.component";
|
|
28
|
-
import * as i17 from "./pager-next-buttons.component";
|
|
29
|
-
import * as i18 from "./pager-numeric-buttons.component";
|
|
30
|
-
import * as i19 from "./pager-input.component";
|
|
31
|
-
import * as i20 from "./pager-info.component";
|
|
32
|
-
import * as i21 from "./pager-page-sizes.component";
|
|
33
|
-
import * as i22 from "./pager-template.directive";
|
|
34
|
-
import * as i23 from "./pager-dropdown.directive";
|
|
35
|
-
import * as i24 from "./pager-input.directive";
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
export class PagerModule {
|
|
40
|
-
}
|
|
41
|
-
PagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
-
PagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent, i22.PagerTemplateDirective, i23.PagerDropDownListDirective, i24.PagerInputDirective], exports: [i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent, i22.PagerTemplateDirective, i23.PagerDropDownListDirective, i24.PagerInputDirective] });
|
|
43
|
-
PagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i13.LoadingComponent, i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent] });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, decorators: [{
|
|
45
|
-
type: NgModule,
|
|
46
|
-
args: [{
|
|
47
|
-
exports: [...KENDO_GRID_PAGER_EXPORTS],
|
|
48
|
-
imports: [...KENDO_GRID_SHARED, ...KENDO_GRID_PAGER_EXPORTS],
|
|
49
|
-
providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService]
|
|
50
|
-
}]
|
|
51
|
-
}] });
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export {};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
7
|
-
import { CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, NavigationService, YearViewService } from '@progress/kendo-angular-dateinputs';
|
|
8
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
-
import { KENDO_GRID_BODY_EXPORTS, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_SHARED } from '../directives';
|
|
10
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../columns/column.component";
|
|
13
|
-
import * as i2 from "../columns/column-group.component";
|
|
14
|
-
import * as i3 from "../navigation/logical-cell.directive";
|
|
15
|
-
import * as i4 from "../navigation/logical-row.directive";
|
|
16
|
-
import * as i5 from "../navigation/focusable.directive";
|
|
17
|
-
import * as i6 from "./footer/footer-template.directive";
|
|
18
|
-
import * as i7 from "./common/col-group.component";
|
|
19
|
-
import * as i8 from "../layout/resizable.directive";
|
|
20
|
-
import * as i9 from "@progress/kendo-angular-common";
|
|
21
|
-
import * as i10 from "./common/field-accessor.pipe";
|
|
22
|
-
import * as i11 from "./details/detail-template.directive";
|
|
23
|
-
import * as i12 from "../columns/span-column.component";
|
|
24
|
-
import * as i13 from "./common/loading.component";
|
|
25
|
-
import * as i14 from "./grid-table.directive";
|
|
26
|
-
import * as i15 from "../grouping/group-header-template.directive";
|
|
27
|
-
import * as i16 from "../grouping/group-header-column-template.directive";
|
|
28
|
-
import * as i17 from "../grouping/group-footer-template.directive";
|
|
29
|
-
import * as i18 from "../grouping/group-header.component";
|
|
30
|
-
import * as i19 from "../grouping/group-panel.component";
|
|
31
|
-
import * as i20 from "../columns/command-column.component";
|
|
32
|
-
import * as i21 from "../columns/checkbox-column.component";
|
|
33
|
-
import * as i22 from "../selection/selection-checkbox.directive";
|
|
34
|
-
import * as i23 from "./cell-template.directive";
|
|
35
|
-
import * as i24 from "../editing/edit-template.directive";
|
|
36
|
-
import * as i25 from "./table-body.component";
|
|
37
|
-
import * as i26 from "./no-records-template.directive";
|
|
38
|
-
import * as i27 from "./cell.component";
|
|
39
|
-
import * as i28 from "../editing/edit-command.directive";
|
|
40
|
-
import * as i29 from "../editing/cancel-command.directive";
|
|
41
|
-
import * as i30 from "../editing/save-command.directive";
|
|
42
|
-
import * as i31 from "../editing/remove-command.directive";
|
|
43
|
-
import * as i32 from "../editing/add-command.directive";
|
|
44
|
-
import * as i33 from "./cell-loading.template.directive";
|
|
45
|
-
import * as i34 from "./loading-template.directive";
|
|
46
|
-
import * as i35 from "../columns/reorder-column.component";
|
|
47
|
-
const importedModules = [
|
|
48
|
-
...KENDO_GRID_SHARED,
|
|
49
|
-
...KENDO_GRID_GROUP_EXPORTS
|
|
50
|
-
];
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
*
|
|
54
|
-
* This module is deprecated and will be removed in a future major version release.
|
|
55
|
-
*/
|
|
56
|
-
export class BodyModule {
|
|
57
|
-
}
|
|
58
|
-
BodyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
59
|
-
BodyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, i15.GroupHeaderTemplateDirective, i16.GroupHeaderColumnTemplateDirective, i17.GroupFooterTemplateDirective, i18.GroupHeaderComponent, i19.GroupPanelComponent, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.TableBodyComponent, i26.NoRecordsTemplateDirective, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i33.CellLoadingTemplateDirective, i34.LoadingTemplateDirective, i35.RowReorderColumnComponent], exports: [i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.TableBodyComponent, i26.NoRecordsTemplateDirective, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i33.CellLoadingTemplateDirective, i34.LoadingTemplateDirective, i35.RowReorderColumnComponent] });
|
|
60
|
-
BodyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, providers: [
|
|
61
|
-
IconsService,
|
|
62
|
-
PopupService,
|
|
63
|
-
ResizeBatchService,
|
|
64
|
-
CalendarDOMService,
|
|
65
|
-
CenturyViewService,
|
|
66
|
-
DecadeViewService,
|
|
67
|
-
MonthViewService,
|
|
68
|
-
YearViewService,
|
|
69
|
-
NavigationService
|
|
70
|
-
], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i13.LoadingComponent, i18.GroupHeaderComponent, i19.GroupPanelComponent, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i25.TableBodyComponent, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i35.RowReorderColumnComponent] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, decorators: [{
|
|
72
|
-
type: NgModule,
|
|
73
|
-
args: [{
|
|
74
|
-
exports: [...KENDO_GRID_BODY_EXPORTS],
|
|
75
|
-
imports: [...importedModules, ...KENDO_GRID_BODY_EXPORTS],
|
|
76
|
-
providers: [
|
|
77
|
-
IconsService,
|
|
78
|
-
PopupService,
|
|
79
|
-
ResizeBatchService,
|
|
80
|
-
CalendarDOMService,
|
|
81
|
-
CenturyViewService,
|
|
82
|
-
DecadeViewService,
|
|
83
|
-
MonthViewService,
|
|
84
|
-
YearViewService,
|
|
85
|
-
NavigationService
|
|
86
|
-
]
|
|
87
|
-
}]
|
|
88
|
-
}] });
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { FooterComponent } from "./footer.component";
|
|
7
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
-
import { KENDO_GRID_SHARED } from '../../directives';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../../columns/column.component";
|
|
11
|
-
import * as i2 from "../../columns/column-group.component";
|
|
12
|
-
import * as i3 from "../../navigation/logical-cell.directive";
|
|
13
|
-
import * as i4 from "../../navigation/logical-row.directive";
|
|
14
|
-
import * as i5 from "../../navigation/focusable.directive";
|
|
15
|
-
import * as i6 from "./footer-template.directive";
|
|
16
|
-
import * as i7 from "../common/col-group.component";
|
|
17
|
-
import * as i8 from "../../layout/resizable.directive";
|
|
18
|
-
import * as i9 from "@progress/kendo-angular-common";
|
|
19
|
-
import * as i10 from "../common/field-accessor.pipe";
|
|
20
|
-
import * as i11 from "../details/detail-template.directive";
|
|
21
|
-
import * as i12 from "../../columns/span-column.component";
|
|
22
|
-
import * as i13 from "../common/loading.component";
|
|
23
|
-
import * as i14 from "../grid-table.directive";
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*
|
|
27
|
-
* This module is deprecated and will be removed in a future major version release.
|
|
28
|
-
*/
|
|
29
|
-
export class FooterModule {
|
|
30
|
-
}
|
|
31
|
-
FooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
32
|
-
FooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FooterModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, FooterComponent], exports: [FooterComponent] });
|
|
33
|
-
FooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterModule, providers: [IconsService], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i13.LoadingComponent, FooterComponent] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterModule, decorators: [{
|
|
35
|
-
type: NgModule,
|
|
36
|
-
args: [{
|
|
37
|
-
exports: [FooterComponent],
|
|
38
|
-
imports: [...KENDO_GRID_SHARED, FooterComponent],
|
|
39
|
-
providers: [IconsService]
|
|
40
|
-
}]
|
|
41
|
-
}] });
|