@progress/kendo-angular-grid 24.2.2 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-grid.mjs +711 -711
- package/index.d.ts +14651 -272
- package/package-metadata.mjs +2 -2
- package/package.json +29 -29
- package/schematics/ngAdd/index.js +7 -7
- package/adaptiveness/adaptive-mode.d.ts +0 -8
- package/adaptiveness/adaptive-renderer.component.d.ts +0 -89
- package/aggregates/aggregate-types.d.ts +0 -58
- package/aggregates/selection-aggregate.service.d.ts +0 -43
- package/aggregates/status-bar-template.directive.d.ts +0 -21
- package/aggregates/status-bar.component.d.ts +0 -23
- package/column-menu/column-chooser-content.component.d.ts +0 -61
- package/column-menu/column-chooser.component.d.ts +0 -86
- package/column-menu/column-list-kb-nav.service.d.ts +0 -22
- package/column-menu/column-list.component.d.ts +0 -78
- package/column-menu/column-locked-change-event.d.ts +0 -18
- package/column-menu/column-menu-autosize-all.component.d.ts +0 -48
- package/column-menu/column-menu-autosize.component.d.ts +0 -52
- package/column-menu/column-menu-chooser.component.d.ts +0 -73
- package/column-menu/column-menu-container.component.d.ts +0 -21
- package/column-menu/column-menu-expandable-item.interface.d.ts +0 -14
- package/column-menu/column-menu-filter.component.d.ts +0 -76
- package/column-menu/column-menu-item-base.d.ts +0 -34
- package/column-menu/column-menu-item-content-template.directive.d.ts +0 -34
- package/column-menu/column-menu-item.component.d.ts +0 -140
- package/column-menu/column-menu-item.directive.d.ts +0 -76
- package/column-menu/column-menu-lock.component.d.ts +0 -55
- package/column-menu/column-menu-position.component.d.ts +0 -89
- package/column-menu/column-menu-settings.interface.d.ts +0 -58
- package/column-menu/column-menu-sort.component.d.ts +0 -50
- package/column-menu/column-menu-stick.component.d.ts +0 -57
- package/column-menu/column-menu-template.directive.d.ts +0 -36
- package/column-menu/column-menu.component.d.ts +0 -189
- package/column-menu/column-menu.service.d.ts +0 -64
- package/column-menu/column-sticky-change-event.d.ts +0 -18
- package/column-menu/column-visibility-change-event.d.ts +0 -18
- package/column-menu/utils.d.ts +0 -44
- package/column-resizing/column-handle.directive.d.ts +0 -60
- package/column-resizing/column-resize.interface.d.ts +0 -75
- package/column-resizing/column-resizing.service.d.ts +0 -43
- package/column-resizing/table.directive.d.ts +0 -34
- package/columns/cell-rowspan.d.ts +0 -14
- package/columns/checkbox-column.component.d.ts +0 -53
- package/columns/column-base.d.ts +0 -322
- package/columns/column-common.d.ts +0 -53
- package/columns/column-group.component.d.ts +0 -75
- package/columns/column-list.d.ts +0 -21
- package/columns/column.component.d.ts +0 -112
- package/columns/columns-container.d.ts +0 -31
- package/columns/command-column.component.d.ts +0 -41
- package/columns/pin-column.component.d.ts +0 -45
- package/columns/reorder-column.component.d.ts +0 -64
- package/columns/sort-settings.d.ts +0 -80
- package/columns/span-column.component.d.ts +0 -122
- package/common/adaptiveness.service.d.ts +0 -50
- package/common/cell-click-event-args.interface.d.ts +0 -44
- package/common/clipboard-types.d.ts +0 -98
- package/common/clipboard.directive.d.ts +0 -53
- package/common/clipboard.service.d.ts +0 -28
- package/common/column-info.service.d.ts +0 -38
- package/common/create-form-group.d.ts +0 -12
- package/common/data-layout-mode.d.ts +0 -24
- package/common/default-track-by.d.ts +0 -9
- package/common/dom-events.service.d.ts +0 -24
- package/common/error-messages.d.ts +0 -20
- package/common/event-emitter.d.ts +0 -13
- package/common/fetch-data-callback.d.ts +0 -14
- package/common/field-datatype.d.ts +0 -9
- package/common/filter-descriptor-differ.d.ts +0 -13
- package/common/filter-operator.interface.d.ts +0 -11
- package/common/grid-col-size.d.ts +0 -13
- package/common/id.service.d.ts +0 -24
- package/common/pager-settings.d.ts +0 -105
- package/common/preventable-event.d.ts +0 -20
- package/common/provider.service.d.ts +0 -41
- package/common/remove-confirmation.d.ts +0 -21
- package/common/resizable-settings.d.ts +0 -26
- package/common/single-popup.service.d.ts +0 -64
- package/common/size-options.d.ts +0 -9
- package/common/sort.service.d.ts +0 -13
- package/common/toolbar-tool-base.directive.d.ts +0 -27
- package/constants.d.ts +0 -16
- package/csv/csv-command-tool.directive.d.ts +0 -38
- package/csv/csv-command.directive.d.ts +0 -38
- package/csv/csv-export-event.d.ts +0 -15
- package/csv/csv.component.d.ts +0 -132
- package/csv/csv.module.d.ts +0 -32
- package/csv/csv.service.d.ts +0 -16
- package/data/change-event-args.interface.d.ts +0 -44
- package/data/change-notification.service.d.ts +0 -18
- package/data/data-item.interface.d.ts +0 -34
- package/data/data-mapping.service.d.ts +0 -48
- package/data/data.collection.d.ts +0 -47
- package/data/data.iterators.d.ts +0 -85
- package/data/grid-item.interface.d.ts +0 -16
- package/data/group-footer-item.interface.d.ts +0 -31
- package/data/group-item.interface.d.ts +0 -30
- package/databinding.directive.d.ts +0 -124
- package/directives.d.ts +0 -285
- package/dragdrop/column-reorder-config.d.ts +0 -13
- package/dragdrop/column-reorder-event.d.ts +0 -27
- package/dragdrop/column-reorder.service.d.ts +0 -15
- package/dragdrop/common.d.ts +0 -38
- package/dragdrop/context-types.d.ts +0 -17
- package/dragdrop/drag-and-drop.service.d.ts +0 -23
- package/dragdrop/drag-hint.service.d.ts +0 -34
- package/dragdrop/draggable-column.directive.d.ts +0 -39
- package/dragdrop/drop-cue.service.d.ts +0 -18
- package/dragdrop/drop-target.directive.d.ts +0 -26
- package/editing/add-command-tool.directive.d.ts +0 -38
- package/editing/add-command.directive.d.ts +0 -34
- package/editing/add-event-args.interface.d.ts +0 -10
- package/editing/cancel-command-tool.directive.d.ts +0 -38
- package/editing/cancel-command.directive.d.ts +0 -54
- package/editing/cancel-event-args.interface.d.ts +0 -16
- package/editing/cell-close-event.d.ts +0 -37
- package/editing/edit-command-tool.directive.d.ts +0 -39
- package/editing/edit-command.directive.d.ts +0 -53
- package/editing/edit-event-args.interface.d.ts +0 -26
- package/editing/edit-row-options.interface.d.ts +0 -24
- package/editing/edit-template.directive.d.ts +0 -32
- package/editing/edit.service.d.ts +0 -71
- package/editing/form/dialog-form.component.d.ts +0 -27
- package/editing/form/form-formfield.component.d.ts +0 -24
- package/editing/form/form.component.d.ts +0 -28
- package/editing/form/index.d.ts +0 -8
- package/editing/form/models.d.ts +0 -202
- package/editing/local-data-changes.service.d.ts +0 -15
- package/editing/remove-command-tool.directive.d.ts +0 -40
- package/editing/remove-command.directive.d.ts +0 -51
- package/editing/remove-event-args.interface.d.ts +0 -11
- package/editing/save-command-tool.directive.d.ts +0 -39
- package/editing/save-command.directive.d.ts +0 -53
- package/editing/save-event-args.interface.d.ts +0 -16
- package/editing/toolbar-editing-tool-base.directive.d.ts +0 -30
- package/editing-directives/create-form-group-args.interface.d.ts +0 -10
- package/editing-directives/edit-service.interface.d.ts +0 -33
- package/editing-directives/editing-directive-base.d.ts +0 -63
- package/editing-directives/external-editing.directive.d.ts +0 -55
- package/editing-directives/in-cell-editing.directive.d.ts +0 -41
- package/editing-directives/local-edit.service.d.ts +0 -22
- package/editing-directives/local-row-edit.service.d.ts +0 -11
- package/editing-directives/reactive-editing.directive.d.ts +0 -32
- package/editing-directives/row-editing-directive-base.d.ts +0 -25
- package/editing-directives/template-editing.directive.d.ts +0 -36
- package/editing-directives/utils.d.ts +0 -9
- package/excel/excel-command-tool.directive.d.ts +0 -38
- package/excel/excel-command.directive.d.ts +0 -38
- package/excel/excel-export-event.d.ts +0 -15
- package/excel/excel.component.d.ts +0 -90
- package/excel/excel.module.d.ts +0 -33
- package/excel/excel.service.d.ts +0 -16
- package/filtering/base-filter-cell.component.d.ts +0 -81
- package/filtering/boolean-filter.component.d.ts +0 -47
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +0 -33
- package/filtering/cell/boolean-filter-cell.component.d.ts +0 -44
- package/filtering/cell/date-filter-cell.component.d.ts +0 -51
- package/filtering/cell/filter-cell-component.factory.d.ts +0 -12
- package/filtering/cell/filter-cell-host.directive.d.ts +0 -17
- package/filtering/cell/filter-cell-operators.component.d.ts +0 -117
- package/filtering/cell/filter-cell-template.directive.d.ts +0 -35
- package/filtering/cell/filter-cell-wrapper.component.d.ts +0 -21
- package/filtering/cell/filter-cell.component.d.ts +0 -25
- package/filtering/cell/numeric-filter-cell.component.d.ts +0 -61
- package/filtering/cell/string-filter-cell.component.d.ts +0 -56
- package/filtering/date-filter.component.d.ts +0 -104
- package/filtering/filter-component.interface.d.ts +0 -13
- package/filtering/filter-host.directive.d.ts +0 -35
- package/filtering/filter-input-wrapper.component.d.ts +0 -39
- package/filtering/filter-input.directive.d.ts +0 -35
- package/filtering/filter-row.component.d.ts +0 -34
- package/filtering/filter.service.d.ts +0 -34
- package/filtering/filterable.d.ts +0 -56
- package/filtering/menu/boolean-filter-menu.component.d.ts +0 -76
- package/filtering/menu/date-filter-menu-input.component.d.ts +0 -49
- package/filtering/menu/date-filter-menu.component.d.ts +0 -64
- package/filtering/menu/filter-menu-component.factory.d.ts +0 -12
- package/filtering/menu/filter-menu-container.component.d.ts +0 -88
- package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +0 -19
- package/filtering/menu/filter-menu-host.directive.d.ts +0 -22
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +0 -53
- package/filtering/menu/filter-menu-template.directive.d.ts +0 -37
- package/filtering/menu/filter-menu.component.d.ts +0 -63
- package/filtering/menu/filter-radio-button.directive.d.ts +0 -19
- package/filtering/menu/menu-tabbing.service.d.ts +0 -18
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +0 -73
- package/filtering/menu/numeric-filter-menu.component.d.ts +0 -82
- package/filtering/menu/string-filter-menu-input.component.d.ts +0 -32
- package/filtering/menu/string-filter-menu.component.d.ts +0 -78
- package/filtering/multicheckbox-filter.component.d.ts +0 -50
- package/filtering/numeric-filter.component.d.ts +0 -85
- package/filtering/operators/after-eq-filter-operator.component.d.ts +0 -49
- package/filtering/operators/after-filter-operator.component.d.ts +0 -49
- package/filtering/operators/before-eq-filter-operator.component.d.ts +0 -49
- package/filtering/operators/before-filter-operator.component.d.ts +0 -49
- package/filtering/operators/contains-filter-operator.component.d.ts +0 -42
- package/filtering/operators/ends-with-filter-operator.component.d.ts +0 -42
- package/filtering/operators/eq-filter-operator.component.d.ts +0 -90
- package/filtering/operators/filter-operator.base.d.ts +0 -44
- package/filtering/operators/gt-filter-operator.component.d.ts +0 -42
- package/filtering/operators/gte-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-empty-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +0 -89
- package/filtering/operators/isnull-filter-operator.component.d.ts +0 -89
- package/filtering/operators/lt-filter-operator.component.d.ts +0 -42
- package/filtering/operators/lte-filter-operator.component.d.ts +0 -42
- package/filtering/operators/neq-filter-operator.component.d.ts +0 -89
- package/filtering/operators/not-contains-filter-operator.component.d.ts +0 -42
- package/filtering/operators/starts-with-filter-operator.component.d.ts +0 -42
- package/filtering/string-filter.component.d.ts +0 -48
- package/grid.component.d.ts +0 -1156
- package/grid.module.d.ts +0 -179
- package/grouping/group-footer-template.directive.d.ts +0 -33
- package/grouping/group-header-column-template.directive.d.ts +0 -34
- package/grouping/group-header-template.directive.d.ts +0 -35
- package/grouping/group-header.component.d.ts +0 -52
- package/grouping/group-info.service.d.ts +0 -21
- package/grouping/group-key.interface.d.ts +0 -29
- package/grouping/group-panel.component.d.ts +0 -75
- package/grouping/group-rows-args.interface.d.ts +0 -23
- package/grouping/group-settings.d.ts +0 -38
- package/grouping/groups.service.d.ts +0 -36
- package/grouping/sticky-groups/models.d.ts +0 -24
- package/grouping/sticky-groups/sticky-group-container.component.d.ts +0 -114
- package/grouping/sticky-groups/sticky-groups-utils.d.ts +0 -71
- package/grouping/sticky-groups/sticky-groups.service.d.ts +0 -132
- package/grouping/utils.d.ts +0 -10
- package/highlight/highlight-item.d.ts +0 -17
- package/highlight/highlight.directive.d.ts +0 -62
- package/layout/resizable.directive.d.ts +0 -28
- package/layout/resize.service.d.ts +0 -18
- package/layout/responsive.service.d.ts +0 -20
- package/layout/row-sync.d.ts +0 -8
- package/layout/sizing-options.service.d.ts +0 -15
- package/localization/custom-messages.component.d.ts +0 -28
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -744
- package/navigation/default-focusable-element.d.ts +0 -22
- package/navigation/focus-group.d.ts +0 -35
- package/navigation/focus-root.d.ts +0 -25
- package/navigation/focusable-element.interface.d.ts +0 -37
- package/navigation/focusable.directive.d.ts +0 -73
- package/navigation/grid-focusable-element.d.ts +0 -18
- package/navigation/item-map.d.ts +0 -19
- package/navigation/logical-cell.directive.d.ts +0 -59
- package/navigation/logical-cell.interface.d.ts +0 -20
- package/navigation/logical-row.directive.d.ts +0 -36
- package/navigation/logical-row.interface.d.ts +0 -13
- package/navigation/navigable-settings.d.ts +0 -31
- package/navigation/navigation-cell.interface.d.ts +0 -52
- package/navigation/navigation-change.interface.d.ts +0 -13
- package/navigation/navigation-cursor.d.ts +0 -50
- package/navigation/navigation-metadata.d.ts +0 -24
- package/navigation/navigation-mode.d.ts +0 -43
- package/navigation/navigation-model.d.ts +0 -27
- package/navigation/navigation-row.interface.d.ts +0 -36
- package/navigation/navigation.service.d.ts +0 -156
- package/navigation/skip-cell-navigation.d.ts +0 -12
- package/navigation/toolbar-tool-name.d.ts +0 -19
- package/package-metadata.d.ts +0 -9
- package/pdf/export-element.d.ts +0 -11
- package/pdf/grid-query.d.ts +0 -26
- package/pdf/pdf-command-tool.directive.d.ts +0 -39
- package/pdf/pdf-command.directive.d.ts +0 -38
- package/pdf/pdf-export-event.d.ts +0 -14
- package/pdf/pdf-margin.component.d.ts +0 -29
- package/pdf/pdf-margin.interface.d.ts +0 -11
- package/pdf/pdf-template.directive.d.ts +0 -32
- package/pdf/pdf.component.d.ts +0 -94
- package/pdf/pdf.module.d.ts +0 -35
- package/pdf/pdf.service.d.ts +0 -25
- package/rendering/cell-loading.template.directive.d.ts +0 -28
- package/rendering/cell-template.directive.d.ts +0 -33
- package/rendering/cell.component.d.ts +0 -107
- package/rendering/common/cell-context.d.ts +0 -26
- package/rendering/common/col-group.component.d.ts +0 -31
- package/rendering/common/dom-queries.d.ts +0 -64
- package/rendering/common/field-accessor.pipe.d.ts +0 -18
- package/rendering/common/format.pipe.d.ts +0 -17
- package/rendering/common/loading.component.d.ts +0 -19
- package/rendering/common/row-args.d.ts +0 -19
- package/rendering/common/row-class.d.ts +0 -60
- package/rendering/common/spacer.component.d.ts +0 -37
- package/rendering/constants.d.ts +0 -20
- package/rendering/details/detail-collapse-event.d.ts +0 -24
- package/rendering/details/detail-expand-event.d.ts +0 -24
- package/rendering/details/detail-template.directive.d.ts +0 -49
- package/rendering/details/details.service.d.ts +0 -28
- package/rendering/details-expand.directive.d.ts +0 -71
- package/rendering/footer/footer-template.directive.d.ts +0 -37
- package/rendering/footer/footer.component.d.ts +0 -42
- package/rendering/grid-table.directive.d.ts +0 -19
- package/rendering/groups-expand.directive.d.ts +0 -59
- package/rendering/header/header-template.directive.d.ts +0 -34
- package/rendering/header/header.component.d.ts +0 -142
- package/rendering/list.component.d.ts +0 -263
- package/rendering/loading-template.directive.d.ts +0 -29
- package/rendering/no-records-template.directive.d.ts +0 -27
- package/rendering/rowspan.service.d.ts +0 -14
- package/rendering/table-body.component.d.ts +0 -135
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +0 -41
- package/rendering/toolbar/toolbar-navigation.service.d.ts +0 -23
- package/rendering/toolbar/toolbar-position.d.ts +0 -22
- package/rendering/toolbar/toolbar-template.directive.d.ts +0 -37
- package/rendering/toolbar/toolbar.component.d.ts +0 -36
- package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +0 -50
- package/rendering/toolbar/tools/ai-assistant/ai-request-response.service.d.ts +0 -61
- package/rendering/toolbar/tools/ai-assistant/ai-tool.directive.d.ts +0 -115
- package/rendering/toolbar/tools/ai-assistant/models.d.ts +0 -203
- package/rendering/toolbar/tools/ai-assistant/utils.d.ts +0 -28
- package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +0 -81
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +0 -64
- package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +0 -42
- package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +0 -52
- package/rendering/toolbar/tools/group-command-tool.directive.d.ts +0 -53
- package/rendering/toolbar/tools/group-toolbar-tool.component.d.ts +0 -61
- package/rendering/toolbar/tools/select-all-command-tool.directive.d.ts +0 -36
- package/rendering/toolbar/tools/smartbox/models.d.ts +0 -71
- package/rendering/toolbar/tools/smartbox/search.service.d.ts +0 -32
- package/rendering/toolbar/tools/smartbox/smartbox-component/common.d.ts +0 -38
- package/rendering/toolbar/tools/smartbox/smartbox-component/models.d.ts +0 -177
- package/rendering/toolbar/tools/smartbox/smartbox-component/smartbox.component.d.ts +0 -157
- package/rendering/toolbar/tools/smartbox/smartbox-history-item.template.d.ts +0 -29
- package/rendering/toolbar/tools/smartbox/smartbox-suggestion.template.d.ts +0 -29
- package/rendering/toolbar/tools/smartbox/smartbox-tool.component.d.ts +0 -120
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +0 -62
- package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +0 -57
- package/row-pinning/pinned-row-tracking.service.d.ts +0 -64
- package/row-pinning/row-pin-container.component.d.ts +0 -56
- package/row-pinning/row-pin.service.d.ts +0 -28
- package/row-pinning/types.d.ts +0 -42
- package/row-reordering/drag-handle-template.directive.d.ts +0 -33
- package/row-reordering/drag-hint-template.directive.d.ts +0 -31
- package/row-reordering/row-reorder.service.d.ts +0 -69
- package/row-reordering/types.d.ts +0 -48
- package/row-reordering/utils.d.ts +0 -78
- package/scrolling/content-scroll-event.d.ts +0 -37
- package/scrolling/row-height.service.d.ts +0 -18
- package/scrolling/scroll-bottom-event.d.ts +0 -14
- package/scrolling/scroll-request.service.d.ts +0 -47
- package/scrolling/scroll-sync.service.d.ts +0 -35
- package/scrolling/scroller.service.d.ts +0 -76
- package/scrolling/scrollmode.d.ts +0 -18
- package/scrolling/suspend.service.d.ts +0 -13
- package/selection/cell-selection.service.d.ts +0 -74
- package/selection/marquee.directive.d.ts +0 -38
- package/selection/pair-set.d.ts +0 -78
- package/selection/selectall-checkbox.directive.d.ts +0 -60
- package/selection/selection-checkbox.directive.d.ts +0 -52
- package/selection/selection-default.d.ts +0 -89
- package/selection/selection.directive.d.ts +0 -35
- package/selection/selection.service.d.ts +0 -79
- package/selection/types.d.ts +0 -174
- package/state-management/grid-state.models.d.ts +0 -71
- package/state-management/redo-command-tool.d.ts +0 -46
- package/state-management/undo-command-tool.d.ts +0 -46
- package/state-management/undo-redo.directive.d.ts +0 -73
- package/state-management/undo-redo.service.d.ts +0 -17
- package/state-management/undo-redo.stack.d.ts +0 -106
- package/utils.d.ts +0 -119
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines the arguments for the `scrollTo` method. Use this to specify the row or column to scroll to.
|
|
9
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-row-and-column).
|
|
10
|
-
*/
|
|
11
|
-
export interface ScrollRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Specifies the row index to scroll to. The first row has index `0`.
|
|
14
|
-
*/
|
|
15
|
-
row?: number;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the column index to scroll to. The first column has index `0`.
|
|
18
|
-
*/
|
|
19
|
-
column?: number;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Defines the arguments for the `scrollToItem` method. Use this to specify the data item and column to scroll to.
|
|
23
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-item).
|
|
24
|
-
*/
|
|
25
|
-
export interface ScrollToItemRequest {
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the property name in the Grid data items that holds the unique ID.
|
|
28
|
-
*/
|
|
29
|
-
idField: string;
|
|
30
|
-
/**
|
|
31
|
-
* Specifies the value of the unique identifier for the data item.
|
|
32
|
-
*/
|
|
33
|
-
id: any;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
export declare class ScrollRequestService {
|
|
39
|
-
requests: Subject<{
|
|
40
|
-
request: ScrollRequest | ScrollToItemRequest;
|
|
41
|
-
adjustIndex?: boolean;
|
|
42
|
-
}>;
|
|
43
|
-
scrollTo(request: ScrollRequest, adjustIndex?: boolean): void;
|
|
44
|
-
scrollToItem(request: ScrollToItemRequest): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollRequestService, never>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollRequestService>;
|
|
47
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone } from '@angular/core';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export type ScrollSyncEvent = {
|
|
12
|
-
scrollLeft: number;
|
|
13
|
-
sourceType: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare class ScrollSyncService {
|
|
19
|
-
private ngZone;
|
|
20
|
-
changes: Subject<ScrollSyncEvent>;
|
|
21
|
-
private elements;
|
|
22
|
-
private source;
|
|
23
|
-
private subscriptions;
|
|
24
|
-
private elementSubscriptions;
|
|
25
|
-
constructor(ngZone: NgZone);
|
|
26
|
-
registerEmitter(el: any, sourceType: "body" | "header" | "footer" | "pinnedContainer"): void;
|
|
27
|
-
/**
|
|
28
|
-
* destroy
|
|
29
|
-
*/
|
|
30
|
-
destroy(): void;
|
|
31
|
-
private scrollLeft;
|
|
32
|
-
private unregister;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollSyncService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollSyncService>;
|
|
35
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Observable, Observer, BehaviorSubject } from 'rxjs';
|
|
6
|
-
import { RowHeightService } from './row-height.service';
|
|
7
|
-
import { ContextService } from '../common/provider.service';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class ScrollAction {
|
|
12
|
-
offset: number;
|
|
13
|
-
changeVirtualData?: boolean;
|
|
14
|
-
constructor(offset: number, changeVirtualData?: boolean);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export declare class PageAction {
|
|
20
|
-
skip: number;
|
|
21
|
-
take: number;
|
|
22
|
-
constructor(skip: number, take: number);
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
export declare class ScrollBottomAction {
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export type Action = ScrollAction | ScrollBottomAction | PageAction;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare class ScrollerService {
|
|
37
|
-
private scrollObservable;
|
|
38
|
-
private ctx;
|
|
39
|
-
total: number;
|
|
40
|
-
rowHeightService: RowHeightService;
|
|
41
|
-
table: HTMLTableElement | null;
|
|
42
|
-
lockedTable: HTMLTableElement | null;
|
|
43
|
-
tableBody: HTMLTableSectionElement | null;
|
|
44
|
-
container: HTMLDivElement | null;
|
|
45
|
-
scrollHeightContainer: HTMLDivElement | null;
|
|
46
|
-
scrollableVirtual: boolean;
|
|
47
|
-
tableTransformOffset: number;
|
|
48
|
-
virtualSkip: number;
|
|
49
|
-
virtualPageSize: number;
|
|
50
|
-
firstToLoad: number;
|
|
51
|
-
lastLoaded: number;
|
|
52
|
-
scrollSyncing: boolean;
|
|
53
|
-
private scrollSubscription;
|
|
54
|
-
private subscription;
|
|
55
|
-
private lastScrollTop;
|
|
56
|
-
private firstLoaded;
|
|
57
|
-
private expandedRows;
|
|
58
|
-
take: number;
|
|
59
|
-
constructor(scrollObservable: Observable<any>, ctx: ContextService);
|
|
60
|
-
create(rowHeightService: RowHeightService, skip: number, take: number, total: number): BehaviorSubject<Action>;
|
|
61
|
-
reset(skipScroll?: boolean): void;
|
|
62
|
-
update(skipAdjust?: boolean): void;
|
|
63
|
-
destroy(): void;
|
|
64
|
-
protected onScroll({ scrollTop, offsetHeight, scrollHeight, clientHeight }: any, observer: Observer<Action>): void;
|
|
65
|
-
private loadPage;
|
|
66
|
-
private unsubscribe;
|
|
67
|
-
private translate;
|
|
68
|
-
adjustScroll(scrollOffset: number, initialAdjust?: boolean): void;
|
|
69
|
-
isExpanded(rowIndex: number): boolean;
|
|
70
|
-
resetVirtualSkip: () => void;
|
|
71
|
-
private setScrollHeightContainerHeight;
|
|
72
|
-
private getItemHeights;
|
|
73
|
-
private getTotalHeight;
|
|
74
|
-
private getExpectedTotalHeight;
|
|
75
|
-
private virtualPageChange;
|
|
76
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Sets the scroll mode of the Grid.
|
|
7
|
-
*
|
|
8
|
-
* The available values are:
|
|
9
|
-
* * `none`—Hides scrollbars. The Grid does not scroll.
|
|
10
|
-
* * `scrollable`—Shows scrollbars in the Grid.
|
|
11
|
-
* * `virtual`—Enables the [virtual scroll mode](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual) of the Grid.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-grid scrollable="scrollable"></kendo-grid>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export type ScrollMode = 'none' | 'scrollable' | 'virtual';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class SuspendService {
|
|
10
|
-
scroll: boolean;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuspendService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SuspendService>;
|
|
13
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
6
|
-
import { DomEventsService } from '../common/dom-events.service';
|
|
7
|
-
import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
8
|
-
import { CellSelectedFn, SelectionEvent, SelectableSettings, CellSelectionItem } from './types';
|
|
9
|
-
import { ColumnBase } from '../columns/column-base';
|
|
10
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
11
|
-
import { SelectionAggregates } from '../aggregates/aggregate-types';
|
|
12
|
-
import { CellSelectionAggregateService } from '../aggregates/selection-aggregate.service';
|
|
13
|
-
import { RowSelectableFn } from '../rendering/common/row-class';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
type CellSelectionServiceSettings = {
|
|
19
|
-
cellSelected: CellSelectedFn;
|
|
20
|
-
selectable: boolean | SelectableSettings;
|
|
21
|
-
isRowSelectable: RowSelectableFn;
|
|
22
|
-
view: {
|
|
23
|
-
accessor: Function;
|
|
24
|
-
at: Function;
|
|
25
|
-
length: number;
|
|
26
|
-
};
|
|
27
|
-
columns: ColumnBase[];
|
|
28
|
-
isStacked: boolean;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export declare class CellSelectionService implements OnDestroy {
|
|
34
|
-
private domEvents;
|
|
35
|
-
private aggregateService;
|
|
36
|
-
private localDataChangesService?;
|
|
37
|
-
private navigationService?;
|
|
38
|
-
changes: EventEmitter<SelectionEvent>;
|
|
39
|
-
mouseUpEvent: EventEmitter<any>;
|
|
40
|
-
currentSelection: CellSelectionItem[];
|
|
41
|
-
settings: CellSelectionServiceSettings;
|
|
42
|
-
active: boolean;
|
|
43
|
-
aggregates: SelectionAggregates;
|
|
44
|
-
nonSelectableRows: Map<any, any>;
|
|
45
|
-
get enableMarquee(): boolean;
|
|
46
|
-
get hasNonSelectable(): boolean;
|
|
47
|
-
mouseDownEventArgs: any;
|
|
48
|
-
mouseUpEventArgs: any;
|
|
49
|
-
dragging: boolean;
|
|
50
|
-
dragSelectDeselect: boolean;
|
|
51
|
-
lastSelectionItem: CellSelectionItem;
|
|
52
|
-
lastSelectionItemRowIndex: number;
|
|
53
|
-
lastSelectionItemColIndex: number;
|
|
54
|
-
private cellClickSubscription;
|
|
55
|
-
private dataChangedSubscription;
|
|
56
|
-
private mousedownSubscription;
|
|
57
|
-
constructor(domEvents: DomEventsService, aggregateService: CellSelectionAggregateService, localDataChangesService?: LocalDataChangesService, navigationService?: NavigationService);
|
|
58
|
-
init(settings: any): void;
|
|
59
|
-
isCellSelected(item: any, col: any): boolean;
|
|
60
|
-
handleClick(item: any, event: any): void;
|
|
61
|
-
toggle(item: any): any;
|
|
62
|
-
select(item: any): any;
|
|
63
|
-
deselect(removedItem: any): void;
|
|
64
|
-
selectRange(startRowIndex: number, startColIndex: number, endRowIndex: number, endColIndex: number, preserveSelection?: boolean, existingSelections?: any[]): any;
|
|
65
|
-
get options(): SelectableSettings;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
addSubscriptions(): void;
|
|
68
|
-
setSelectionStartColumn(index: number): void;
|
|
69
|
-
private getIterator;
|
|
70
|
-
private removeSubscriptions;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CellSelectionService, never>;
|
|
72
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CellSelectionService>;
|
|
73
|
-
}
|
|
74
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DomEventsService } from './../common/dom-events.service';
|
|
6
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
7
|
-
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
8
|
-
import { SelectionService } from './selection.service';
|
|
9
|
-
import { CellSelectionService } from './cell-selection.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class GridMarqueeDirective {
|
|
15
|
-
private draggable;
|
|
16
|
-
private selection;
|
|
17
|
-
private cellSelection;
|
|
18
|
-
private domEvents;
|
|
19
|
-
private host;
|
|
20
|
-
private renderer;
|
|
21
|
-
private pressArgs;
|
|
22
|
-
private marqueeElement;
|
|
23
|
-
private pressTarget;
|
|
24
|
-
private subscriptions;
|
|
25
|
-
private selectionStarted;
|
|
26
|
-
private dragEndSubscription;
|
|
27
|
-
constructor(draggable: DraggableDirective, selection: SelectionService, cellSelection: CellSelectionService, domEvents: DomEventsService, host: ElementRef, renderer: Renderer2);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
private start;
|
|
31
|
-
private moveMarquee;
|
|
32
|
-
private endSelection;
|
|
33
|
-
private clean;
|
|
34
|
-
private initMarquee;
|
|
35
|
-
private getMarqueeQuadrant;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridMarqueeDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GridMarqueeDirective, "[kendoGridSelectionMarquee]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
package/selection/pair-set.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* Quick look-up structure for combinations of keys or single keys.
|
|
9
|
-
* Similar to the native JS Set, however, working with single keys or a couple of keys.
|
|
10
|
-
* Supports both primitive keys and object keys (compared by reference).
|
|
11
|
-
*/
|
|
12
|
-
export declare class PairSet {
|
|
13
|
-
/**
|
|
14
|
-
* Symbol used internally to represent "no Y key" when storing single X keys.
|
|
15
|
-
*/
|
|
16
|
-
private static readonly SINGLE_KEY_SYMBOL;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the total number of key entries (both single keys and key pairs).
|
|
19
|
-
*/
|
|
20
|
-
get size(): number;
|
|
21
|
-
/**
|
|
22
|
-
* Holds a set of Y keys for each defined X key.
|
|
23
|
-
* Each X key creates a map which holds a set of Y keys.
|
|
24
|
-
* For single keys, the Y value is the SINGLE_KEY_SYMBOL.
|
|
25
|
-
*
|
|
26
|
-
* Map { 'foo' => Set { Symbol(SINGLE_KEY) } } // single key: {x: 'foo'}
|
|
27
|
-
* Map { 'foo2' => Set { 'bar', 'baz' } } // pairs: {x: 'foo2', y: 'bar'}, {x: 'foo2', y: 'baz'}
|
|
28
|
-
*/
|
|
29
|
-
private keysX;
|
|
30
|
-
/**
|
|
31
|
-
* Count each added or deleted key manually to avoid iterating over all items when calling `this.size`.
|
|
32
|
-
*/
|
|
33
|
-
private totalKeysCount;
|
|
34
|
-
constructor(items?: any[], keyXField?: string, keyYField?: string);
|
|
35
|
-
/**
|
|
36
|
-
* Adds a single key entry.
|
|
37
|
-
*/
|
|
38
|
-
addSingle(keyX: any): void;
|
|
39
|
-
/**
|
|
40
|
-
* Adds a couple of items identified as a combination.
|
|
41
|
-
*/
|
|
42
|
-
add(keyX: any, keyY: any): void;
|
|
43
|
-
/**
|
|
44
|
-
* Deletes a single key entry.
|
|
45
|
-
*/
|
|
46
|
-
deleteSingle(keyX: any): void;
|
|
47
|
-
/**
|
|
48
|
-
* Deletes a combination of a couple of items identified together.
|
|
49
|
-
*/
|
|
50
|
-
delete(keyX: any, keyY: any): void;
|
|
51
|
-
/**
|
|
52
|
-
* Checks whether a single key is stored.
|
|
53
|
-
*/
|
|
54
|
-
hasSingle(keyX: any): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Checks whether the defined combination is stored.
|
|
57
|
-
*/
|
|
58
|
-
has(keyX: any, keyY: any): boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Checks whether any entry exists for the given X key (single or paired).
|
|
61
|
-
*/
|
|
62
|
-
hasX(keyX: any): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Gets all Y keys for a given X key, excluding single key entries.
|
|
65
|
-
*/
|
|
66
|
-
getYKeys(keyX: any): any[];
|
|
67
|
-
/**
|
|
68
|
-
* Clears all key combinations and single keys.
|
|
69
|
-
*/
|
|
70
|
-
clear(): void;
|
|
71
|
-
/**
|
|
72
|
-
* Converts the persisted data structure to an array of objects,
|
|
73
|
-
* using the provided field names for the object props.
|
|
74
|
-
* Single keys will only have the keyXField property.
|
|
75
|
-
* Pair keys will have both keyXField and keyYField properties.
|
|
76
|
-
*/
|
|
77
|
-
toArray(keyXField: string, keyYField?: string): any[];
|
|
78
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnDestroy, AfterContentChecked, OnChanges, EventEmitter, NgZone, Renderer2, ElementRef } from '@angular/core';
|
|
6
|
-
import { SelectionService } from './selection.service';
|
|
7
|
-
import { SelectAllCheckboxState } from './types';
|
|
8
|
-
import { CellSelectionService } from './cell-selection.service';
|
|
9
|
-
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Adds a select-all checkbox to the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#selecting-all-rows).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-checkbox
|
|
17
|
-
* kendoGridSelectAllCheckbox
|
|
18
|
-
* [state]="selectAllState"
|
|
19
|
-
* (selectAllChange)="onSelectAllChange($event)"
|
|
20
|
-
* ></kendo-checkbox>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class SelectAllCheckboxDirective implements AfterContentChecked, OnDestroy, OnChanges {
|
|
24
|
-
private selectionService;
|
|
25
|
-
private cellSelectionService;
|
|
26
|
-
private ngZone;
|
|
27
|
-
private element;
|
|
28
|
-
private renderer;
|
|
29
|
-
private checkbox;
|
|
30
|
-
/**
|
|
31
|
-
* Explicitly overrides the state of the select-all checkbox.
|
|
32
|
-
*/
|
|
33
|
-
state: SelectAllCheckboxState;
|
|
34
|
-
/**
|
|
35
|
-
* Emits when the user clicks the select-all checkbox.
|
|
36
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection#select-all-checkbox)).
|
|
37
|
-
*/
|
|
38
|
-
selectAllChange: EventEmitter<SelectAllCheckboxState>;
|
|
39
|
-
private destroyClick;
|
|
40
|
-
private checkboxChange;
|
|
41
|
-
private stateSet;
|
|
42
|
-
ngAfterContentChecked(): void;
|
|
43
|
-
ngOnChanges(): void;
|
|
44
|
-
constructor(selectionService: SelectionService, cellSelectionService: CellSelectionService, ngZone: NgZone, element: ElementRef, renderer: Renderer2, checkbox: CheckBoxComponent);
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
onClick(): void;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
private setState;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
private stateToBool;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectAllCheckboxDirective, [null, null, null, null, null, { optional: true; host: true; }]>;
|
|
59
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectAllCheckboxDirective, "[kendoGridSelectAllCheckbox]", never, { "state": { "alias": "state"; "required": false; }; }, { "selectAllChange": "selectAllChange"; }, never, never, true, never>;
|
|
60
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterContentChecked, ElementRef, Renderer2, OnDestroy, NgZone } from '@angular/core';
|
|
6
|
-
import { SelectionService } from './selection.service';
|
|
7
|
-
import { CellSelectionAggregateService } from '../aggregates/selection-aggregate.service';
|
|
8
|
-
import { CellSelectionService } from './cell-selection.service';
|
|
9
|
-
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Adds a row-selection checkbox to the Grid.
|
|
13
|
-
* Use this directive on a `<kendo-checkbox>` component or `<input type="checkbox">` element inside a cell template.
|
|
14
|
-
* When the user clicks the checkbox, the Grid triggers a [`selectionChange`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#selectionChange) event.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-grid>
|
|
19
|
-
* <kendo-grid-column>
|
|
20
|
-
* <ng-template kendoGridCellTemplate let-rowIndex="rowIndex">
|
|
21
|
-
* <input [kendoGridSelectionCheckbox]="rowIndex"/>
|
|
22
|
-
* <kendo-checkbox [kendoGridSelectionCheckbox]="rowIndex"></kendo-checkbox>
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-grid-column>
|
|
25
|
-
* </kendo-grid>
|
|
26
|
-
* ```
|
|
27
|
-
* @remarks
|
|
28
|
-
* Applied to: {@link CheckBoxComponent}.
|
|
29
|
-
*/
|
|
30
|
-
export declare class SelectionCheckboxDirective implements AfterContentChecked, OnDestroy {
|
|
31
|
-
private selectionService;
|
|
32
|
-
private cellSelectionService;
|
|
33
|
-
private aggregateService;
|
|
34
|
-
private el;
|
|
35
|
-
private renderer;
|
|
36
|
-
private ngZone;
|
|
37
|
-
private checkbox;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the index of the `dataItem` to select.
|
|
40
|
-
*/
|
|
41
|
-
itemIndex: number;
|
|
42
|
-
private destroyClick;
|
|
43
|
-
private destroyKeyDown;
|
|
44
|
-
ngAfterContentChecked(): void;
|
|
45
|
-
constructor(selectionService: SelectionService, cellSelectionService: CellSelectionService, aggregateService: CellSelectionAggregateService, el: ElementRef, renderer: Renderer2, ngZone: NgZone, checkbox: CheckBoxComponent);
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
private onClick;
|
|
48
|
-
private onKeyDown;
|
|
49
|
-
private setCheckedState;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionCheckboxDirective, [null, null, null, null, null, null, { optional: true; host: true; }]>;
|
|
51
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionCheckboxDirective, "[kendoGridSelectionCheckbox]", never, { "itemIndex": { "alias": "kendoGridSelectionCheckbox"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
6
|
-
import { Subscription } from "rxjs";
|
|
7
|
-
import { RowArgs } from "../rendering/common/row-args";
|
|
8
|
-
import { SelectionEvent, CellSelectionItem } from "./types";
|
|
9
|
-
import { ColumnComponent } from '../columns/column.component';
|
|
10
|
-
import { PairSet } from './pair-set';
|
|
11
|
-
import { ContextService } from '../common/provider.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class Selection {
|
|
17
|
-
protected ctx: ContextService;
|
|
18
|
-
protected cd: ChangeDetectorRef;
|
|
19
|
-
/**
|
|
20
|
-
* Stores the selected item keys.
|
|
21
|
-
* @default []
|
|
22
|
-
*/
|
|
23
|
-
selectedKeys: any[];
|
|
24
|
-
/**
|
|
25
|
-
* Sets the starting row index for `Shift`+click range selection.
|
|
26
|
-
*
|
|
27
|
-
* @default 0
|
|
28
|
-
*/
|
|
29
|
-
set rangeSelectionStartRow(value: RowArgs);
|
|
30
|
-
get rangeSelectionStartRow(): RowArgs;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the starting column index for `Shift`+click range selection when cell selection is on.
|
|
33
|
-
*
|
|
34
|
-
* @default 0
|
|
35
|
-
*/
|
|
36
|
-
set rangeSelectionStartColumnIndex(value: number);
|
|
37
|
-
get rangeSelectionStartColumnIndex(): number;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the item key to store in `selectedKeys`.
|
|
40
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#using-data-item-field).
|
|
41
|
-
*/
|
|
42
|
-
selectionKey: string | ((context: RowArgs) => any);
|
|
43
|
-
/**
|
|
44
|
-
* Sets a function to get the column key for a data cell.
|
|
45
|
-
*
|
|
46
|
-
* The function must return a unique value for each column.
|
|
47
|
-
* The Grid uses the column index as the default column key.
|
|
48
|
-
*/
|
|
49
|
-
columnKey: string | ((column: any, columnIndex: number) => any);
|
|
50
|
-
/**
|
|
51
|
-
* Emits when the `selectedKeys` collection changes.
|
|
52
|
-
*/
|
|
53
|
-
selectedKeysChange: EventEmitter<any[]>;
|
|
54
|
-
rowSelectionState: Set<any>;
|
|
55
|
-
cellSelectionState: PairSet;
|
|
56
|
-
private _rangeSelectionStartRow;
|
|
57
|
-
private _rangeSelectionStartColumnIndex;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
get isCellSelectionMode(): boolean;
|
|
62
|
-
protected lastSelectionState: any[];
|
|
63
|
-
protected selectionChangeSubscription: Subscription;
|
|
64
|
-
constructor(ctx: ContextService, cd: ChangeDetectorRef);
|
|
65
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
66
|
-
protected init(): void;
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
*/
|
|
70
|
-
destroy(): void;
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*/
|
|
74
|
-
reset(): void;
|
|
75
|
-
/**
|
|
76
|
-
* @hidden
|
|
77
|
-
*/
|
|
78
|
-
getItemKey(row: RowArgs): any;
|
|
79
|
-
/**
|
|
80
|
-
* @hidden
|
|
81
|
-
*/
|
|
82
|
-
stateToArray(): any[];
|
|
83
|
-
protected getSelectionItem(row: RowArgs, col: ColumnComponent, colIndex: number): CellSelectionItem;
|
|
84
|
-
protected onSelectionChange(selection: SelectionEvent): void;
|
|
85
|
-
private notifyChange;
|
|
86
|
-
private setState;
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Selection, never>;
|
|
88
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Selection, "kendo-grid-selection-base", never, { "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "rangeSelectionStartRow": { "alias": "rangeSelectionStartRow"; "required": false; }; "rangeSelectionStartColumnIndex": { "alias": "rangeSelectionStartColumnIndex"; "required": false; }; "selectionKey": { "alias": "kendoGridSelectBy"; "required": false; }; "columnKey": { "alias": "columnKey"; "required": false; }; }, { "selectedKeysChange": "selectedKeysChange"; }, never, never, true, never>;
|
|
89
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { ContextService } from '../common/provider.service';
|
|
7
|
-
import { Selection } from "./selection-default";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Stores the row selection state of the Grid in memory
|
|
11
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-grid kendoGridSelectBy="ProductID"></kendo-grid>
|
|
16
|
-
*
|
|
17
|
-
* <kendo-grid [kendoGridSelectBy]="myKey"></kendo-grid>
|
|
18
|
-
* ```
|
|
19
|
-
* @remarks
|
|
20
|
-
* Applied to: {@link GridComponent}.
|
|
21
|
-
*/
|
|
22
|
-
export declare class SelectionDirective extends Selection implements OnInit, OnDestroy {
|
|
23
|
-
protected ctx: ContextService;
|
|
24
|
-
constructor(ctx: ContextService, cd: ChangeDetectorRef);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionDirective, "[kendoGridSelectBy]", never, {}, {}, never, never, true, never>;
|
|
35
|
-
}
|