@progress/kendo-angular-grid 24.2.2 → 25.0.0-develop.1
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,27 +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 { PreventableEvent } from '../common/preventable-event';
|
|
6
|
-
import { ColumnBase } from '../columns/column-base';
|
|
7
|
-
/**
|
|
8
|
-
* Provides the arguments for the `columnReorder` event.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ColumnReorderEvent extends PreventableEvent {
|
|
11
|
-
/**
|
|
12
|
-
* Represents the reordered column.
|
|
13
|
-
*/
|
|
14
|
-
readonly column: ColumnBase;
|
|
15
|
-
/**
|
|
16
|
-
* Represents the new index of the column. This index is relative to the collection of columns.
|
|
17
|
-
*/
|
|
18
|
-
readonly newIndex: number;
|
|
19
|
-
/**
|
|
20
|
-
* Represents the original index of the column before reordering. This index is relative to the collection of columns.
|
|
21
|
-
*/
|
|
22
|
-
readonly oldIndex: number;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
constructor({ column, newIndex, oldIndex }: any);
|
|
27
|
-
}
|
|
@@ -1,15 +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 * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class ColumnReorderService {
|
|
11
|
-
changes: EventEmitter<any>;
|
|
12
|
-
reorder(e: any): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnReorderService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ColumnReorderService>;
|
|
15
|
-
}
|
package/dragdrop/common.d.ts
DELETED
|
@@ -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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const append: (element: any) => () => any;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const offset: (element: any) => {
|
|
13
|
-
top: number;
|
|
14
|
-
left: number;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
* If the target is before the draggable element, returns `true`.
|
|
19
|
-
*
|
|
20
|
-
* DOCUMENT_POSITION_FOLLOWING = 4
|
|
21
|
-
*/
|
|
22
|
-
export declare const isTargetBefore: (draggable: any, target: any) => boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
* If the container and the element are the same
|
|
26
|
-
* or if the container holds (contains) the element, returns `true`.
|
|
27
|
-
*
|
|
28
|
-
* DOCUMENT_POSITION_CONTAINED_BY = 16
|
|
29
|
-
*/
|
|
30
|
-
export declare const contains: (element: any, container: any) => boolean;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
export declare const position: (target: any, before: any) => {
|
|
35
|
-
left: any;
|
|
36
|
-
top: number;
|
|
37
|
-
height: any;
|
|
38
|
-
};
|
|
@@ -1,17 +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 { ColumnBase } from '../columns/column-base';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export type DragAndDropContext = {
|
|
10
|
-
field?: string;
|
|
11
|
-
hint?: string;
|
|
12
|
-
lastTarget?: boolean;
|
|
13
|
-
lastColumn?: boolean;
|
|
14
|
-
column?: ColumnBase;
|
|
15
|
-
type?: 'column' | 'groupIndicator' | 'columnGroup';
|
|
16
|
-
target?: any;
|
|
17
|
-
};
|
|
@@ -1,23 +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 { DropTargetDirective } from './drop-target.directive';
|
|
7
|
-
import { DraggableColumnDirective } from './draggable-column.directive';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class DragAndDropService {
|
|
13
|
-
changes: EventEmitter<any>;
|
|
14
|
-
private register;
|
|
15
|
-
private lastTarget;
|
|
16
|
-
add(target: DropTargetDirective): void;
|
|
17
|
-
remove(target: DropTargetDirective): void;
|
|
18
|
-
notifyDrag(draggable: DraggableColumnDirective, element: any, mouseEvent: any): void;
|
|
19
|
-
notifyDrop(draggable: DraggableColumnDirective, mouseEvent: any): void;
|
|
20
|
-
private targetFor;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DragAndDropService>;
|
|
23
|
-
}
|
|
@@ -1,34 +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 { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class DragHintService {
|
|
12
|
-
private sanitizer;
|
|
13
|
-
private iconsService;
|
|
14
|
-
private dom;
|
|
15
|
-
private cancelIcon;
|
|
16
|
-
constructor(sanitizer: DomSanitizer, iconsService: IconsService);
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
create(title: string): void;
|
|
19
|
-
attach(): Function;
|
|
20
|
-
remove(): void;
|
|
21
|
-
show(): void;
|
|
22
|
-
hide(): void;
|
|
23
|
-
enable(): void;
|
|
24
|
-
disable(): void;
|
|
25
|
-
removeLock(): void;
|
|
26
|
-
toggleLock(locked: boolean): void;
|
|
27
|
-
move(move: {
|
|
28
|
-
pageX: number;
|
|
29
|
-
pageY: number;
|
|
30
|
-
}): void;
|
|
31
|
-
private get isSVG();
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragHintService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DragHintService>;
|
|
34
|
-
}
|
|
@@ -1,39 +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, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
6
|
-
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
|
-
import { DragAndDropService } from './drag-and-drop.service';
|
|
8
|
-
import { DragHintService } from './drag-hint.service';
|
|
9
|
-
import { DragAndDropContext } from './context-types';
|
|
10
|
-
import { DropCueService } from './drop-cue.service';
|
|
11
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class DraggableColumnDirective implements OnInit, OnDestroy {
|
|
17
|
-
draggable: DraggableDirective;
|
|
18
|
-
element: ElementRef;
|
|
19
|
-
private zone;
|
|
20
|
-
private service;
|
|
21
|
-
private hint;
|
|
22
|
-
private cue;
|
|
23
|
-
private nav;
|
|
24
|
-
private renderer;
|
|
25
|
-
context: DragAndDropContext;
|
|
26
|
-
set enableDrag(enabled: boolean);
|
|
27
|
-
drag: EventEmitter<any>;
|
|
28
|
-
private subscriptions;
|
|
29
|
-
private enabled;
|
|
30
|
-
constructor(draggable: DraggableDirective, element: ElementRef, zone: NgZone, service: DragAndDropService, hint: DragHintService, cue: DropCueService, nav: NavigationService, renderer: Renderer2);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
private drop;
|
|
34
|
-
private performDrag;
|
|
35
|
-
private elementUnderCursor;
|
|
36
|
-
private updateTouchAction;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableColumnDirective, [{ host: true; }, null, null, null, null, null, null, null]>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableColumnDirective, "[kendoDraggableColumn]", never, { "context": { "alias": "context"; "required": false; }; "enableDrag": { "alias": "enableDrag"; "required": false; }; }, { "drag": "drag"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -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
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class DropCueService {
|
|
10
|
-
private dom;
|
|
11
|
-
create(): void;
|
|
12
|
-
attach(): Function;
|
|
13
|
-
remove(): void;
|
|
14
|
-
hide(): void;
|
|
15
|
-
position({ left, top, height }: any): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropCueService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DropCueService>;
|
|
18
|
-
}
|
|
@@ -1,26 +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, OnDestroy, OnInit } from '@angular/core';
|
|
6
|
-
import { DragAndDropService } from './drag-and-drop.service';
|
|
7
|
-
import { DragAndDropContext } from './context-types';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class DropTargetDirective implements OnInit, OnDestroy {
|
|
13
|
-
element: ElementRef;
|
|
14
|
-
private service;
|
|
15
|
-
context: DragAndDropContext;
|
|
16
|
-
enter: EventEmitter<any>;
|
|
17
|
-
leave: EventEmitter<any>;
|
|
18
|
-
drop: EventEmitter<any>;
|
|
19
|
-
private subscriptions;
|
|
20
|
-
constructor(element: ElementRef, service: DragAndDropService);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
private eventArgs;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropTargetDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetDirective, "[kendoDropTarget]", never, { "context": { "alias": "context"; "required": false; }; }, { "enter": "enter"; "leave": "leave"; "drop": "drop"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -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 { ChangeDetectorRef, NgZone } from '@angular/core';
|
|
6
|
-
import { EditService } from './edit.service';
|
|
7
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { ContextService } from '../common/provider.service';
|
|
9
|
-
import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the command for adding a new item to the Grid.
|
|
13
|
-
* You can apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent used in the Grid.
|
|
14
|
-
* When you click the toolbar button associated with the directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#add) event triggers ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)).
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-grid>
|
|
19
|
-
* <kendo-toolbar>
|
|
20
|
-
* <kendo-toolbar-button text="Add new" kendoGridAddTool></kendo-toolbar-button>
|
|
21
|
-
* </kendo-toolbar>
|
|
22
|
-
* </kendo-grid>
|
|
23
|
-
* ```
|
|
24
|
-
* @remarks
|
|
25
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
26
|
-
*/
|
|
27
|
-
export declare class AddCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
28
|
-
editService: EditService;
|
|
29
|
-
host: ToolBarButtonComponent;
|
|
30
|
-
constructor(editService: EditService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
onClick(e: any): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddCommandToolbarDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AddCommandToolbarDirective, "[kendoGridAddTool]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,34 +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, Renderer2 as Renderer, NgZone } from '@angular/core';
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { ContextService } from '../common/provider.service';
|
|
8
|
-
import { EditService } from './edit.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the command for adding a new item to the Grid. Apply this directive to any
|
|
12
|
-
* `button` element inside a [ToolbarTemplate](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent).
|
|
13
|
-
* When you click the button with this directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#add) event is triggered
|
|
14
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)).
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <button kendoGridAddCommand>Add new item</button>
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare class AddCommandDirective extends Button {
|
|
22
|
-
private editService;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
onClick(e: any): void;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
get commandClass(): boolean;
|
|
31
|
-
constructor(editService: EditService, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddCommandDirective, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddCommandDirective, "[kendoGridAddCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
34
|
-
}
|
|
@@ -1,10 +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 { EditEvent } from "./edit-event-args.interface";
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the [`add`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#add) event. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#adding-records).
|
|
8
|
-
*/
|
|
9
|
-
export interface AddEvent extends EditEvent {
|
|
10
|
-
}
|
|
@@ -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 { ChangeDetectorRef, NgZone } from '@angular/core';
|
|
6
|
-
import { EditService } from './edit.service';
|
|
7
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { SelectionService } from '../selection/selection.service';
|
|
9
|
-
import { ContextService } from '../common/provider.service';
|
|
10
|
-
import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the `cancel` command in the Grid.
|
|
14
|
-
* Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent in the Grid.
|
|
15
|
-
*
|
|
16
|
-
* When you click the toolbar button with this directive, the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cancel) event triggers.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <kendo-grid>
|
|
21
|
-
* <kendo-toolbar>
|
|
22
|
-
* <kendo-toolbar-button text="Cancel" kendoGridCancelTool></kendo-toolbar-button>
|
|
23
|
-
* </kendo-toolbar>
|
|
24
|
-
* </kendo-grid>
|
|
25
|
-
* ```
|
|
26
|
-
* @remarks
|
|
27
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
28
|
-
*/
|
|
29
|
-
export declare class CancelCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
30
|
-
editService: EditService;
|
|
31
|
-
constructor(editService: EditService, host: ToolBarButtonComponent, selection: SelectionService, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
onClick(e: any): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CancelCommandToolbarDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CancelCommandToolbarDirective, "[kendoGridCancelTool]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,54 +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, Renderer2 as Renderer, NgZone, DoCheck } from '@angular/core';
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { EditService } from './edit.service';
|
|
8
|
-
import { CellContext } from '../rendering/common/cell-context';
|
|
9
|
-
import { ContextService } from '../common/provider.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the `cancel` command of the Grid. Apply this directive to any `button`
|
|
13
|
-
* element inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent)
|
|
14
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics#editing-action-buttons)).
|
|
15
|
-
*
|
|
16
|
-
* When a button with this directive is clicked, the
|
|
17
|
-
* [`cancel`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cancel) event
|
|
18
|
-
* is triggered. If the row is not in edit mode, the button is automatically hidden.
|
|
19
|
-
*
|
|
20
|
-
* You can customize the button content based on the row's state.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```html
|
|
24
|
-
* <kendo-grid>
|
|
25
|
-
* <kendo-grid-command-column title="command">
|
|
26
|
-
* <ng-template kendoGridCellTemplate let-isNew="isNew">
|
|
27
|
-
* <button kendoGridCancelCommand>{{isNew ? 'Discard' : 'Cancel changes'}}</button>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-grid-command-column>
|
|
30
|
-
* </kendo-grid>
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class CancelCommandDirective extends Button implements DoCheck {
|
|
34
|
-
private editService;
|
|
35
|
-
private cellContext;
|
|
36
|
-
rowIndex: number;
|
|
37
|
-
protected isEdited: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
get visible(): string;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
commandClass: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
onClick(e: any): void;
|
|
50
|
-
constructor(editService: EditService, cellContext: CellContext, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone);
|
|
51
|
-
ngDoCheck(): void;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CancelCommandDirective, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CancelCommandDirective, "[kendoGridCancelCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
54
|
-
}
|
|
@@ -1,16 +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 { SaveEvent } from "./save-event-args.interface";
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cancel) event.
|
|
8
|
-
*
|
|
9
|
-
* This event is emitted when the user cancels editing of a row or cell.
|
|
10
|
-
*
|
|
11
|
-
* The event exposes the same properties as the `SaveEvent`, allowing access to the data item, form group, and row or cell context being canceled.
|
|
12
|
-
*
|
|
13
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#canceling-editing).
|
|
14
|
-
*/
|
|
15
|
-
export interface CancelEvent extends SaveEvent {
|
|
16
|
-
}
|
|
@@ -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
|
-
import { PreventableEvent } from '../common/preventable-event';
|
|
6
|
-
import { EditEvent } from './edit-event-args.interface';
|
|
7
|
-
import type { GridComponent } from '../grid.component';
|
|
8
|
-
/**
|
|
9
|
-
* Arguments for the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellclose) event.
|
|
10
|
-
*/
|
|
11
|
-
export declare class CellCloseEvent extends PreventableEvent implements EditEvent {
|
|
12
|
-
isNew: boolean;
|
|
13
|
-
dataItem: any;
|
|
14
|
-
rowIndex: number;
|
|
15
|
-
sender: GridComponent;
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
action: string;
|
|
20
|
-
/**
|
|
21
|
-
* The Grid column that will be closed.
|
|
22
|
-
*/
|
|
23
|
-
column: any;
|
|
24
|
-
/**
|
|
25
|
-
* The [FormGroup](link:site.data.urls.angular['formgroupapi']) used to edit the cell.
|
|
26
|
-
*/
|
|
27
|
-
formGroup: any;
|
|
28
|
-
/**
|
|
29
|
-
* The DOM event that triggered the `cellClose` event.
|
|
30
|
-
* May be undefined if the event was triggered programmatically.
|
|
31
|
-
*/
|
|
32
|
-
originalEvent: any;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
constructor(options: any);
|
|
37
|
-
}
|
|
@@ -1,39 +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 { ChangeDetectorRef, NgZone } from '@angular/core';
|
|
6
|
-
import { EditService } from './edit.service';
|
|
7
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { SelectionService } from '../selection/selection.service';
|
|
9
|
-
import { ContextService } from '../common/provider.service';
|
|
10
|
-
import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the `edit` command in the Grid. Apply this directive to any `kendo-toolbar-button`
|
|
14
|
-
* element inside a ToolbarComponent used in the Grid.
|
|
15
|
-
*
|
|
16
|
-
* When you click the toolbar button with this directive, the
|
|
17
|
-
* [`edit`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#edit) event fires.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-grid>
|
|
22
|
-
* <kendo-toolbar>
|
|
23
|
-
* <kendo-toolbar-button text="Edit" kendoGridEditTool></kendo-toolbar-button>
|
|
24
|
-
* </kendo-toolbar>
|
|
25
|
-
* </kendo-grid>
|
|
26
|
-
* ```
|
|
27
|
-
* @remarks
|
|
28
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
29
|
-
*/
|
|
30
|
-
export declare class EditCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
31
|
-
editService: EditService;
|
|
32
|
-
constructor(editService: EditService, host: ToolBarButtonComponent, selection: SelectionService, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
onClick(e: any): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditCommandToolbarDirective, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditCommandToolbarDirective, "[kendoGridEditTool]", never, {}, {}, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,53 +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, Renderer2 as Renderer, NgZone, DoCheck } from '@angular/core';
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { EditService } from './edit.service';
|
|
8
|
-
import { CellContext } from '../rendering/common/cell-context';
|
|
9
|
-
import { ContextService } from '../common/provider.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the `edit` command of the Grid. You can apply this directive to any `button`
|
|
13
|
-
* element inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent).
|
|
14
|
-
* When an associated button with the directive is clicked, the
|
|
15
|
-
* [`edit`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#edit) event
|
|
16
|
-
* is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)).
|
|
17
|
-
*
|
|
18
|
-
* When the row is in the `edit` mode, the button with `kendoGridEditCommand` is automatically hidden.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-grid>
|
|
23
|
-
* <kendo-grid-command-column title="command">
|
|
24
|
-
* <ng-template kendoGridCellTemplate>
|
|
25
|
-
* <button kendoGridEditCommand class="k-primary">Edit</button>
|
|
26
|
-
* </ng-template>
|
|
27
|
-
* </kendo-grid-command-column>
|
|
28
|
-
* </kendo-grid>
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
export declare class EditCommandDirective extends Button implements DoCheck {
|
|
33
|
-
private editService;
|
|
34
|
-
private cellContext;
|
|
35
|
-
rowIndex: number;
|
|
36
|
-
protected isEdited: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
get visible(): string;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
commandClass: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
onClick(e: any): void;
|
|
49
|
-
constructor(editService: EditService, cellContext: CellContext, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone);
|
|
50
|
-
ngDoCheck(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditCommandDirective, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditCommandDirective, "[kendoGridEditCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
53
|
-
}
|
|
@@ -1,26 +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 type { GridComponent } from "../grid.component";
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the [`edit`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#edit) event.
|
|
8
|
-
*/
|
|
9
|
-
export interface EditEvent {
|
|
10
|
-
/**
|
|
11
|
-
* The data item for the row.
|
|
12
|
-
*/
|
|
13
|
-
dataItem: any;
|
|
14
|
-
/**
|
|
15
|
-
* Indicates if the data item is new or existing.
|
|
16
|
-
*/
|
|
17
|
-
isNew: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* The data row index for the operation.
|
|
20
|
-
*/
|
|
21
|
-
rowIndex: number;
|
|
22
|
-
/**
|
|
23
|
-
* The `GridComponent` instance that triggered the event.
|
|
24
|
-
*/
|
|
25
|
-
sender: GridComponent;
|
|
26
|
-
}
|
|
@@ -1,24 +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 additional options for the [`editRow`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#editrow) method. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#managing-focus).
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```typescript
|
|
10
|
-
* public onEdit(grid: GridComponent): void {
|
|
11
|
-
* grid.editRow(2, { skipFocus: true, columnIndex: 1 });
|
|
12
|
-
* }
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
export interface EditRowOptions {
|
|
16
|
-
/**
|
|
17
|
-
* If set to `true`, skips focusing the row's edit element. Defaults to `false`.
|
|
18
|
-
*/
|
|
19
|
-
skipFocus?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Sets which column receives focus after the row editor opens. The first column receives focus by default.
|
|
22
|
-
*/
|
|
23
|
-
columnIndex?: number;
|
|
24
|
-
}
|