@progress/kendo-angular-grid 24.2.2 → 25.0.0-develop.12
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 +737 -739
- 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,62 +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 { AfterViewInit, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { ContextService } from '../../../common/provider.service';
|
|
9
|
-
import { SortService } from '../../../common/sort.service';
|
|
10
|
-
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
11
|
-
import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
12
|
-
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Represents the toolbar tool for sorting columns of the Grid.
|
|
16
|
-
* Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
17
|
-
*
|
|
18
|
-
* When you click the toolbar button with this directive, the `sort` event is triggered.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html-no-run
|
|
22
|
-
* <kendo-grid>
|
|
23
|
-
* <kendo-toolbar>
|
|
24
|
-
* <kendo-toolbar-button text="Sort" kendoGridSortTool></kendo-toolbar-button>
|
|
25
|
-
* </kendo-toolbar>
|
|
26
|
-
* </kendo-grid>
|
|
27
|
-
* ```
|
|
28
|
-
* @remarks
|
|
29
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
30
|
-
*/
|
|
31
|
-
export declare class SortCommandToolbarDirective implements AfterViewInit, OnDestroy {
|
|
32
|
-
private host;
|
|
33
|
-
private popupService;
|
|
34
|
-
private ctx;
|
|
35
|
-
private sortService;
|
|
36
|
-
private columnInfoService;
|
|
37
|
-
private ngZone;
|
|
38
|
-
private renderer;
|
|
39
|
-
private adaptiveGridService;
|
|
40
|
-
private popupRef;
|
|
41
|
-
private nextId;
|
|
42
|
-
private toolSubs;
|
|
43
|
-
private popupSubs;
|
|
44
|
-
private actionSheetCloseSub;
|
|
45
|
-
private removeClickListener;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
isSortingApplied(sort: SortDescriptor[]): boolean;
|
|
50
|
-
constructor(host: ToolBarButtonComponent, popupService: PopupService, ctx: ContextService, sortService: SortService, columnInfoService: ColumnInfoService, ngZone: NgZone, renderer: Renderer2, adaptiveGridService: AdaptiveGridService);
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
ngAfterViewInit(): void;
|
|
53
|
-
ngOnDestroy(): void;
|
|
54
|
-
private onClick;
|
|
55
|
-
private openPopup;
|
|
56
|
-
private setPopupAttributes;
|
|
57
|
-
private initPopupProperties;
|
|
58
|
-
private closePopup;
|
|
59
|
-
private get buttonElement();
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortCommandToolbarDirective, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SortCommandToolbarDirective, "[kendoGridSortTool]", never, {}, {}, never, never, true, never>;
|
|
62
|
-
}
|
|
@@ -1,57 +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 { ElementRef, EventEmitter, QueryList, NgZone, AfterViewInit, OnDestroy } from '@angular/core';
|
|
6
|
-
import { ContextService } from '../../../common/provider.service';
|
|
7
|
-
import { ColumnBase } from '../../../columns/column-base';
|
|
8
|
-
import { SortService } from '../../../common/sort.service';
|
|
9
|
-
import { ColumnComponent } from '../../../columns/column.component';
|
|
10
|
-
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
11
|
-
import { SVGIcon } from '@progress/kendo-angular-icons';
|
|
12
|
-
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare const directions: (initialDirection: any) => string[];
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare class SortToolbarToolComponent implements AfterViewInit, OnDestroy {
|
|
22
|
-
element: ElementRef;
|
|
23
|
-
private ngZone;
|
|
24
|
-
sortItems: QueryList<ElementRef>;
|
|
25
|
-
wrapperClasses: boolean;
|
|
26
|
-
onEscKeyDown(event: KeyboardEvent): void;
|
|
27
|
-
close: EventEmitter<any>;
|
|
28
|
-
sortClear: EventEmitter<any>;
|
|
29
|
-
sort: Array<SortDescriptor>;
|
|
30
|
-
columns: Array<ColumnBase>;
|
|
31
|
-
sortAscSmallIcon: SVGIcon;
|
|
32
|
-
sortDescSmallIcon: SVGIcon;
|
|
33
|
-
clearIcon: SVGIcon;
|
|
34
|
-
private _columnInfoService;
|
|
35
|
-
set columnInfoService(columnInfoService: ColumnInfoService);
|
|
36
|
-
get columnInfoService(): ColumnInfoService;
|
|
37
|
-
private _ctx;
|
|
38
|
-
set ctx(ctx: ContextService);
|
|
39
|
-
get ctx(): ContextService;
|
|
40
|
-
private _sortService;
|
|
41
|
-
set sortService(sortService: SortService);
|
|
42
|
-
get sortService(): SortService;
|
|
43
|
-
private subscription;
|
|
44
|
-
private hostButton;
|
|
45
|
-
constructor(element: ElementRef, ngZone: NgZone);
|
|
46
|
-
ngAfterViewInit(): void;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
toggleSort(column: ColumnBase, ev: any): void;
|
|
49
|
-
getColumnComponent(column: ColumnBase): ColumnComponent;
|
|
50
|
-
sortDescriptor(field: string): SortDescriptor;
|
|
51
|
-
getDescriptor(column: ColumnBase): SortDescriptor[];
|
|
52
|
-
showSortNumbering(column: ColumnComponent): boolean;
|
|
53
|
-
sortOrder(field: string): number;
|
|
54
|
-
clearSorting(): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortToolbarToolComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortToolbarToolComponent, "kendo-sort-toolbar-tool", never, {}, { "close": "close"; "sortClear": "sortClear"; }, never, never, true, never>;
|
|
57
|
-
}
|
|
@@ -1,64 +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
|
-
* Tracks the relationship between pinned rows and their counterparts in the main data table.
|
|
8
|
-
* Use this service to find the main row index for a given pinned row data item,
|
|
9
|
-
* or to find the pinned counterpart of a main row.
|
|
10
|
-
*
|
|
11
|
-
* The service is updated automatically by the Grid when `pinnedTopRows`, `pinnedBottomRows`,
|
|
12
|
-
* or `data` changes. For reliable index resolution, pinned row data items must be
|
|
13
|
-
* reference-equal to the corresponding items in the main data array.
|
|
14
|
-
*
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class PinnedRowTrackingService {
|
|
18
|
-
private topIndexMap;
|
|
19
|
-
private bottomIndexMap;
|
|
20
|
-
private mainIndexMap;
|
|
21
|
-
/**
|
|
22
|
-
* Updates the internal tracking maps based on the current pinned rows and main data.
|
|
23
|
-
* Called automatically by the Grid when relevant inputs change.
|
|
24
|
-
*
|
|
25
|
-
* @param topRows - The array of data items pinned to the top.
|
|
26
|
-
* @param bottomRows - The array of data items pinned to the bottom.
|
|
27
|
-
* @param data - The flat main data array for the current page.
|
|
28
|
-
* @param skip - The current page skip offset used to compute absolute row indices.
|
|
29
|
-
*/
|
|
30
|
-
update(topRows: any[], bottomRows: any[], data: any[], skip: number): void;
|
|
31
|
-
/**
|
|
32
|
-
* Updates the internal tracking maps using a pre-built data-item-to-index map from the main view.
|
|
33
|
-
* This handles grouping, sorting, and pagination correctly.
|
|
34
|
-
*
|
|
35
|
-
* @param topRows - The array of data items pinned to the top.
|
|
36
|
-
* @param bottomRows - The array of data items pinned to the bottom.
|
|
37
|
-
* @param dataToIndex - A map from data item references to their absolute row indices in the main view.
|
|
38
|
-
*/
|
|
39
|
-
updateFromIndexMap(topRows: any[], bottomRows: any[], dataToIndex: Map<any, number>): void;
|
|
40
|
-
/**
|
|
41
|
-
* Returns the absolute main row index for a pinned row data item, or `-1` if not found.
|
|
42
|
-
* The returned index matches the `index` property used by selection and editing services.
|
|
43
|
-
*/
|
|
44
|
-
getMainRowIndex(dataItem: any): number;
|
|
45
|
-
/**
|
|
46
|
-
* Returns `true` if the given data item is currently pinned to the top or bottom.
|
|
47
|
-
*/
|
|
48
|
-
isRowPinned(dataItem: any): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Returns the pin position (`'top'` or `'bottom'`) for the given data item,
|
|
51
|
-
* or `null` if the item is not pinned.
|
|
52
|
-
*/
|
|
53
|
-
getPinnedPosition(dataItem: any): 'top' | 'bottom' | null;
|
|
54
|
-
/**
|
|
55
|
-
* Returns the pinned counterpart for a given main row index,
|
|
56
|
-
* or `null` if the main row has no pinned counterpart.
|
|
57
|
-
*/
|
|
58
|
-
getPinnedCounterpart(mainIndex: number): {
|
|
59
|
-
dataItem: any;
|
|
60
|
-
position: 'top' | 'bottom';
|
|
61
|
-
} | null;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PinnedRowTrackingService, never>;
|
|
63
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PinnedRowTrackingService>;
|
|
64
|
-
}
|
|
@@ -1,56 +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 { AfterViewChecked, ElementRef, TrackByFunction, QueryList } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { GridItem } from '../data/grid-item.interface';
|
|
8
|
-
import { ColumnsContainer } from '../columns/columns-container';
|
|
9
|
-
import { SelectableSettings } from '../selection/types';
|
|
10
|
-
import { ColumnBase } from '../columns/column-base';
|
|
11
|
-
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
12
|
-
import { DetailTemplateDirective } from '../rendering/details/detail-template.directive';
|
|
13
|
-
import { FilterableSettings } from '../filtering/filterable';
|
|
14
|
-
import { GridSize } from '../common/size-options';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export declare class RowPinContainerComponent implements AfterViewChecked {
|
|
20
|
-
private readonly localization;
|
|
21
|
-
pinnedWrapper: ElementRef;
|
|
22
|
-
private readonly lockedTable;
|
|
23
|
-
private readonly pinnedTable;
|
|
24
|
-
hostClass: boolean;
|
|
25
|
-
get bottomClass(): boolean;
|
|
26
|
-
leafColumns: any[];
|
|
27
|
-
lockedLeafColumns: QueryList<ColumnBase>;
|
|
28
|
-
nonLockedLeafColumns: QueryList<ColumnBase>;
|
|
29
|
-
sort: any;
|
|
30
|
-
position: 'top' | 'bottom';
|
|
31
|
-
rowsToRender: Array<GridItem & {
|
|
32
|
-
showDetailRow?: boolean;
|
|
33
|
-
cells?: any[];
|
|
34
|
-
isExpanded?: boolean;
|
|
35
|
-
showDataItem?: boolean;
|
|
36
|
-
isHighlighted?: boolean;
|
|
37
|
-
}>;
|
|
38
|
-
totalColumns: ColumnsContainer;
|
|
39
|
-
lockedWidth: number;
|
|
40
|
-
nonLockedWidth: number;
|
|
41
|
-
isLocked: boolean;
|
|
42
|
-
selectable: SelectableSettings | boolean;
|
|
43
|
-
trackBy: TrackByFunction<any>;
|
|
44
|
-
groups: Array<GroupDescriptor>;
|
|
45
|
-
detailTemplate: DetailTemplateDirective;
|
|
46
|
-
filterable: FilterableSettings;
|
|
47
|
-
rowHeight: number;
|
|
48
|
-
detailRowHeight: number;
|
|
49
|
-
loading: boolean;
|
|
50
|
-
size: GridSize;
|
|
51
|
-
constructor(localization: LocalizationService);
|
|
52
|
-
ngAfterViewChecked(): void;
|
|
53
|
-
get ariaLabel(): string;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowPinContainerComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowPinContainerComponent, "kendo-grid-rowpin-container", never, { "leafColumns": { "alias": "leafColumns"; "required": false; }; "lockedLeafColumns": { "alias": "lockedLeafColumns"; "required": false; }; "nonLockedLeafColumns": { "alias": "nonLockedLeafColumns"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "position": { "alias": "position"; "required": false; }; "rowsToRender": { "alias": "rowsToRender"; "required": false; }; "totalColumns": { "alias": "totalColumns"; "required": false; }; "lockedWidth": { "alias": "lockedWidth"; "required": false; }; "nonLockedWidth": { "alias": "nonLockedWidth"; "required": false; }; "isLocked": { "alias": "isLocked"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
-
}
|
|
@@ -1,28 +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 } from '@angular/core';
|
|
6
|
-
import { ContextService } from '../common/provider.service';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { RowPinEvent } from './types';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class RowPinService {
|
|
14
|
-
private ctx;
|
|
15
|
-
private localization;
|
|
16
|
-
changes: EventEmitter<RowPinEvent>;
|
|
17
|
-
constructor(ctx: ContextService, localization: LocalizationService);
|
|
18
|
-
handleContextMenuAction(ev: any): void;
|
|
19
|
-
updatePinnedRows(ev: RowPinEvent): void;
|
|
20
|
-
get pinnedTopRowMenuItems(): any[];
|
|
21
|
-
get pinnedBottomRowMenuItems(): any[];
|
|
22
|
-
get unpinnedRowMenuItems(): any[];
|
|
23
|
-
get unpinRowMenuItem(): any;
|
|
24
|
-
get pinToTopMenuItem(): any;
|
|
25
|
-
get pinToBottomMenuItem(): any;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowPinService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RowPinService>;
|
|
28
|
-
}
|
package/row-pinning/types.d.ts
DELETED
|
@@ -1,42 +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 { RowArgs } from "../rendering/common/row-args";
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the [`rowPinChange`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#rowpinchange) event.
|
|
8
|
-
*/
|
|
9
|
-
export interface RowPinEvent {
|
|
10
|
-
/**
|
|
11
|
-
* The data item that triggered the pin update.
|
|
12
|
-
*/
|
|
13
|
-
dataItem: any;
|
|
14
|
-
/**
|
|
15
|
-
* The updated collection of items pinned to the top of the Grid.
|
|
16
|
-
*/
|
|
17
|
-
pinnedTopRows: Array<any>;
|
|
18
|
-
/**
|
|
19
|
-
* The updated collection of items pinned to the bottom of the Grid.
|
|
20
|
-
*/
|
|
21
|
-
pinnedBottomRows: Array<any>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Sets the allowed position for pinning rows in the Grid.
|
|
25
|
-
*
|
|
26
|
-
* The available values are:
|
|
27
|
-
* * `top`—Allows pinning rows to the top of the Grid only.
|
|
28
|
-
* * `bottom`—Allows pinning rows to the bottom of the Grid only.
|
|
29
|
-
* * `both`—Allows pinning rows to both the top and bottom of the Grid.
|
|
30
|
-
*/
|
|
31
|
-
export type GridRowPinLocation = 'top' | 'bottom' | 'both';
|
|
32
|
-
/**
|
|
33
|
-
* Represents the callback used to determine whether a data row is pinnable. Used by the [`isRowPinnable`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#isrowpinnable) property.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```typescript
|
|
37
|
-
* isRowPinnableCallback({ dataItem, index }) {
|
|
38
|
-
* return index % 2 === 0;
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
export type RowPinnableFn = (context: RowArgs) => boolean;
|
|
@@ -1,33 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* The directive allows customizing the drag handle cell in the Grid row reorder column.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGridRowDragHandleTemplate` directive inside the `<kendo-grid-rowreorder-column>` tag to set the cell template.
|
|
10
|
-
*
|
|
11
|
-
* The template context is the current data item. You also get access to the following additional fields:
|
|
12
|
-
* - `columnIndex`—The current column index. Use it as a template variable with `let-columnIndex="columnIndex"`.
|
|
13
|
-
* - `rowIndex`—The data row index. Use it as a template variable with `let-rowIndex="rowIndex"`.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-grid [kendoGridBinding]="data" [rowReorderable]="true">
|
|
18
|
-
* <kendo-grid-rowreorder-column>
|
|
19
|
-
* <ng-template kendoGridRowDragHandleTemplate>
|
|
20
|
-
* <span>Drag here</span>
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-grid-rowreorder-column>
|
|
23
|
-
* <kendo-grid-column field="Field1"></kendo-grid-column>
|
|
24
|
-
* <kendo-grid-column field="Field2"></kendo-grid-column>
|
|
25
|
-
* </kendo-grid>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class RowDragHandleTemplateDirective {
|
|
29
|
-
templateRef: TemplateRef<any>;
|
|
30
|
-
constructor(templateRef: TemplateRef<any>);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowDragHandleTemplateDirective, [{ optional: true; }]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RowDragHandleTemplateDirective, "[kendoGridRowDragHandleTemplate]", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,31 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* The directive allows customizing the drag hint in the Grid row reorder column.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGridRowDragHintTemplate` directive inside the `<kendo-grid-rowreorder-column>` tag to set the hint template.
|
|
10
|
-
*
|
|
11
|
-
* The template context is the current data item. You also get the data row index as an extra field. Use it as a template variable with `let-rowIndex="rowIndex"`.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-grid [kendoGridBinding]="data" [rowReorderable]="true">
|
|
16
|
-
* <kendo-grid-rowreorder-column>
|
|
17
|
-
* <ng-template kendoGridRowDragHintTemplate>
|
|
18
|
-
* <span>Custom hint</span>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-grid-rowreorder-column>
|
|
21
|
-
* <kendo-grid-column field="Field1"></kendo-grid-column>
|
|
22
|
-
* <kendo-grid-column field="Field2"></kendo-grid-column>
|
|
23
|
-
* </kendo-grid>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare class RowDragHintTemplateDirective {
|
|
27
|
-
templateRef: TemplateRef<any>;
|
|
28
|
-
constructor(templateRef: TemplateRef<any>);
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowDragHintTemplateDirective, [{ optional: true; }]>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RowDragHintTemplateDirective, "[kendoGridRowDragHintTemplate]", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,69 +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 { DragTargetPressEvent, DragTargetDragEvent, DropTargetEvent } from '@progress/kendo-angular-utils';
|
|
6
|
-
import { EventEmitter, Renderer2 } from '@angular/core';
|
|
7
|
-
import { DropPosition, RowReorderEvent } from './types';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { ColumnList } from '../columns/column-list';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class RowReorderService {
|
|
15
|
-
private renderer;
|
|
16
|
-
hintElement: HTMLElement;
|
|
17
|
-
defaultSelectors: (isStacked?: boolean) => {
|
|
18
|
-
handle: string;
|
|
19
|
-
dragTarget: string;
|
|
20
|
-
dropTarget: string;
|
|
21
|
-
};
|
|
22
|
-
hintText: string;
|
|
23
|
-
skip: number;
|
|
24
|
-
private dropIndicator;
|
|
25
|
-
private lastDropPosition;
|
|
26
|
-
private dragTarget;
|
|
27
|
-
private dropTarget;
|
|
28
|
-
private offsetY;
|
|
29
|
-
rowReorder: EventEmitter<RowReorderEvent>;
|
|
30
|
-
constructor(renderer: Renderer2);
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
press(ev: DragTargetPressEvent): void;
|
|
33
|
-
dragStart(): void;
|
|
34
|
-
drag(ev: DragTargetDragEvent): void;
|
|
35
|
-
dragEnter(ev: DropTargetEvent): void;
|
|
36
|
-
dragLeave(): void;
|
|
37
|
-
dragEnd(): void;
|
|
38
|
-
drop(ev: DropTargetEvent): void;
|
|
39
|
-
reorderRows(ev: RowReorderEvent, collection: Array<any>): void;
|
|
40
|
-
get hintIcon(): string;
|
|
41
|
-
get hintSVGIcon(): SVGIcon;
|
|
42
|
-
getDefaultHintText(columns: ColumnList, data: any[]): string;
|
|
43
|
-
getDraggedRow(data: any): any;
|
|
44
|
-
/**
|
|
45
|
-
* Triggers row reordering programmatically via keyboard shortcut.
|
|
46
|
-
* @param dragRowIndex - The index of the row to move
|
|
47
|
-
* @param dropRowIndex - The index of the target row
|
|
48
|
-
* @param dropPosition - The position relative to the target row ('before' or 'after')
|
|
49
|
-
* @param data - The data array
|
|
50
|
-
*/
|
|
51
|
-
reorderViaKeyboard(dragRowIndex: number, dropRowIndex: number, dropPosition: DropPosition, data: Array<any>): void;
|
|
52
|
-
private createVirtualRowElement;
|
|
53
|
-
private rowReorderArgs;
|
|
54
|
-
private getDragRowPerElement;
|
|
55
|
-
private createDropIndicator;
|
|
56
|
-
private destroyDropIndicator;
|
|
57
|
-
private destroyHintElement;
|
|
58
|
-
private decorateHint;
|
|
59
|
-
private positionDropIndicator;
|
|
60
|
-
private calculateIndexToAdd;
|
|
61
|
-
private decorateDropIndicator;
|
|
62
|
-
private getDropPosition;
|
|
63
|
-
private updateDropIndicatorPosition;
|
|
64
|
-
private shouldHideDropIndicator;
|
|
65
|
-
private hide;
|
|
66
|
-
private show;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowReorderService, never>;
|
|
68
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RowReorderService>;
|
|
69
|
-
}
|
|
@@ -1,48 +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
|
-
* Arguments for the [`rowReorder`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#rowreorder) event
|
|
7
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/rows/reordering)).
|
|
8
|
-
*/
|
|
9
|
-
export interface RowReorderEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Represents the dragged rows and their data.
|
|
12
|
-
*/
|
|
13
|
-
draggedRows: DragRow[];
|
|
14
|
-
/**
|
|
15
|
-
* Represents the row where dragged rows are dropped.
|
|
16
|
-
*/
|
|
17
|
-
dropTargetRow?: DragRow;
|
|
18
|
-
/**
|
|
19
|
-
* Represents the exact position of the dragged row compared to the drop target row.
|
|
20
|
-
*/
|
|
21
|
-
dropPosition: DropPosition;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Represents a reorderable data row with an associated data item.
|
|
25
|
-
*/
|
|
26
|
-
export interface DragRow {
|
|
27
|
-
/**
|
|
28
|
-
* Represents the data item for the row.
|
|
29
|
-
*/
|
|
30
|
-
dataItem: any;
|
|
31
|
-
/**
|
|
32
|
-
* Represents the index of the data row.
|
|
33
|
-
*/
|
|
34
|
-
rowIndex: number;
|
|
35
|
-
/**
|
|
36
|
-
* Represents the HTML element for the row.
|
|
37
|
-
*/
|
|
38
|
-
element: HTMLElement;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Represents the exact position of the dragged row compared to the drop target row.
|
|
42
|
-
*
|
|
43
|
-
* The possible values are:
|
|
44
|
-
* * `before`—The row appears before the target row.
|
|
45
|
-
* * `after`—The row appears after the target row.
|
|
46
|
-
* * `forbidden`—You cannot drop the row here.
|
|
47
|
-
*/
|
|
48
|
-
export type DropPosition = 'before' | 'after' | 'forbidden';
|
|
@@ -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
|
-
export declare const isNextSibling: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const isPreviousSibling: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const isDifferentParent: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare function getOffset(element: any): {
|
|
21
|
-
top: number;
|
|
22
|
-
left: number;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
export declare const hintIcons: {
|
|
28
|
-
forbidden: string;
|
|
29
|
-
before: string;
|
|
30
|
-
after: string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare const hintSVGIcons: {
|
|
36
|
-
forbidden: import("@progress/kendo-svg-icons").SVGIcon;
|
|
37
|
-
before: import("@progress/kendo-svg-icons").SVGIcon;
|
|
38
|
-
after: import("@progress/kendo-svg-icons").SVGIcon;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
export declare const dropPosition: {
|
|
44
|
-
forbidden: string;
|
|
45
|
-
before: string;
|
|
46
|
-
after: string;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
export declare const hintStyles: {
|
|
52
|
-
zIndex: string;
|
|
53
|
-
display: string;
|
|
54
|
-
position: string;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* @hidden
|
|
58
|
-
*/
|
|
59
|
-
export declare const hintClasses: string[];
|
|
60
|
-
/**
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
export declare const dropIndicatorStyles: {
|
|
64
|
-
zIndex: string;
|
|
65
|
-
position: string;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
*/
|
|
70
|
-
export declare const dropIndicatorClasses: string[];
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*/
|
|
74
|
-
export declare const getDefaultSelectors: (isStacked?: boolean) => {
|
|
75
|
-
handle: string;
|
|
76
|
-
dragTarget: string;
|
|
77
|
-
dropTarget: string;
|
|
78
|
-
};
|
|
@@ -1,37 +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
|
-
* Provides the arguments for the [`contentScroll`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#contentscroll) event.
|
|
7
|
-
*/
|
|
8
|
-
export interface ContentScrollEvent {
|
|
9
|
-
/**
|
|
10
|
-
* Represents the horizontal scroll position.
|
|
11
|
-
*/
|
|
12
|
-
scrollLeft: number;
|
|
13
|
-
/**
|
|
14
|
-
* Represents the vertical scroll position.
|
|
15
|
-
*/
|
|
16
|
-
scrollTop: number;
|
|
17
|
-
/**
|
|
18
|
-
* Represents the index of the first visible row in the viewport.
|
|
19
|
-
* Available only if the grid uses virtual scrolling.
|
|
20
|
-
*/
|
|
21
|
-
startRow: number;
|
|
22
|
-
/**
|
|
23
|
-
* Represents the index of the last visible row in the viewport.
|
|
24
|
-
* Available only if the grid uses virtual scrolling.
|
|
25
|
-
*/
|
|
26
|
-
endRow: number;
|
|
27
|
-
/**
|
|
28
|
-
* Represents the index of the first visible column in the viewport.
|
|
29
|
-
* Available only if the `virtualColumns` option is true.
|
|
30
|
-
*/
|
|
31
|
-
startColumn: number;
|
|
32
|
-
/**
|
|
33
|
-
* Represents the index of the last visible column in the viewport.
|
|
34
|
-
* Available only if the `virtualColumns` option is true.
|
|
35
|
-
*/
|
|
36
|
-
endColumn: number;
|
|
37
|
-
}
|
|
@@ -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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class RowHeightService {
|
|
9
|
-
private total;
|
|
10
|
-
private offsets;
|
|
11
|
-
private heights;
|
|
12
|
-
constructor(total: number, rowHeight: number);
|
|
13
|
-
height(rowIndex: number): number;
|
|
14
|
-
index(position: number): number;
|
|
15
|
-
offset(rowIndex: number): number;
|
|
16
|
-
totalHeight(): number;
|
|
17
|
-
update(startIndex: number, rowHeights: Array<number>): void;
|
|
18
|
-
}
|
|
@@ -1,14 +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 { GridComponent } from "../grid.component";
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `scrollBottom` event.
|
|
8
|
-
*/
|
|
9
|
-
export interface ScrollBottomEvent {
|
|
10
|
-
/**
|
|
11
|
-
* The instance of the `GridComponent` that triggers the event.
|
|
12
|
-
*/
|
|
13
|
-
sender: GridComponent;
|
|
14
|
-
}
|