@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,32 +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
|
-
* Lets you customize the content of edited cells by providing a column edit-cell template for the Grid ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/custom-editors#setting-up-custom-editors)).
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag to define the template.
|
|
10
|
-
*
|
|
11
|
-
* The template context includes:
|
|
12
|
-
* - `formGroup`—The current [FormGroup](link:site.data.urls.angular['formgroupapi']). This is the default context for template variables using `let-x`, such as `let-formGroup`. If you use the Grid in [Template-Driven Forms](link:site.data.urls.angular['forms']), this is `undefined`.
|
|
13
|
-
* - `rowIndex`—The current data row index. For a new item row, `rowIndex` is `-1`. Use `let-rowIndex="rowIndex"` to access it.
|
|
14
|
-
* - `dataItem`—The current data item. Use `let-dataItem="dataItem"` to access it.
|
|
15
|
-
* - `column`—The current column instance. Use `let-column="column"` to access it.
|
|
16
|
-
* - `isNew`—The state of the current item. Use `let-isNew="isNew"` to access it.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <kendo-grid-column>
|
|
21
|
-
* <ng-template kendoGridEditTemplate let-formGroup="formGroup" let-dataItem="dataItem">
|
|
22
|
-
* <kendo-textbox [formControl]="formGroup.get('field')"></kendo-textbox>
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-grid-column>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class EditTemplateDirective {
|
|
28
|
-
templateRef: TemplateRef<any>;
|
|
29
|
-
constructor(templateRef: TemplateRef<any>);
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditTemplateDirective, [{ optional: true; }]>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditTemplateDirective, "[kendoGridEditTemplate]", never, {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,71 +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, NgZone } from '@angular/core';
|
|
6
|
-
import { FormGroup } from '@angular/forms';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export type Entity = {
|
|
13
|
-
index: number;
|
|
14
|
-
group: any;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export type CommandAction = 'edit' | 'remove' | 'cancel' | 'save' | 'add';
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export type CommandEvent = {
|
|
24
|
-
action: CommandAction;
|
|
25
|
-
formGroup?: FormGroup;
|
|
26
|
-
isNew?: boolean;
|
|
27
|
-
rowIndex?: number;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export declare class EditService {
|
|
33
|
-
ngZone: NgZone;
|
|
34
|
-
changes: EventEmitter<CommandEvent>;
|
|
35
|
-
changed: Observable<any>;
|
|
36
|
-
editedIndices: Entity[];
|
|
37
|
-
editZone: 'body' | 'pinned';
|
|
38
|
-
private newItemGroup;
|
|
39
|
-
private keepEditCell;
|
|
40
|
-
private keepCellTimeout;
|
|
41
|
-
private column;
|
|
42
|
-
private closingCell;
|
|
43
|
-
private changedSource;
|
|
44
|
-
constructor(ngZone: NgZone);
|
|
45
|
-
editRow(index: number, group?: any): void;
|
|
46
|
-
addRow(group: any): void;
|
|
47
|
-
editCell(rowIndex: number, column: any, group?: any): void;
|
|
48
|
-
isEditing(): boolean;
|
|
49
|
-
isEditingCell(): boolean;
|
|
50
|
-
get hasNewItem(): boolean;
|
|
51
|
-
get newDataItem(): any;
|
|
52
|
-
close(index?: number): void;
|
|
53
|
-
closeCell(originalEvent?: any): boolean;
|
|
54
|
-
cancelCell(): void;
|
|
55
|
-
shouldCloseCell(): boolean;
|
|
56
|
-
preventCellClose(): void;
|
|
57
|
-
context(index?: number): Entity;
|
|
58
|
-
columnContext(index: number, column: any): Entity;
|
|
59
|
-
isEdited(index: number): boolean;
|
|
60
|
-
hasEdited(index: number): boolean;
|
|
61
|
-
isEditedColumn(index: number, column: any): boolean;
|
|
62
|
-
beginEdit(rowIndex: number): void;
|
|
63
|
-
beginAdd(): void;
|
|
64
|
-
endEdit(rowIndex?: number): void;
|
|
65
|
-
save(rowIndex?: number): void;
|
|
66
|
-
remove(rowIndex: number): void;
|
|
67
|
-
private findByIndex;
|
|
68
|
-
private onChanged;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditService, never>;
|
|
70
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EditService>;
|
|
71
|
-
}
|
|
@@ -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 { DialogContentBase, DialogRef } from '@progress/kendo-angular-dialog';
|
|
6
|
-
import { FormControlSettings, FormSettings } from './models';
|
|
7
|
-
import { FormGroup } from '@angular/forms';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class DialogFormComponent extends DialogContentBase {
|
|
15
|
-
private localization;
|
|
16
|
-
controls: FormControlSettings[];
|
|
17
|
-
formGroup: FormGroup;
|
|
18
|
-
formSettings: FormSettings;
|
|
19
|
-
saveIcon: SVGIcon;
|
|
20
|
-
cancelIcon: SVGIcon;
|
|
21
|
-
constructor(dialogRef: DialogRef, localization: LocalizationService);
|
|
22
|
-
save(): void;
|
|
23
|
-
cancel(): void;
|
|
24
|
-
messageFor(key: string): string;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogFormComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogFormComponent, "kendo-grid-dialog-form", never, { "controls": { "alias": "controls"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formSettings": { "alias": "formSettings"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -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
|
-
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { FormControlSettings } from './models';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class FormFormFieldComponent implements AfterContentInit {
|
|
13
|
-
private localization;
|
|
14
|
-
private cdr;
|
|
15
|
-
control: FormControlSettings;
|
|
16
|
-
floatingLabel: boolean;
|
|
17
|
-
showError: boolean;
|
|
18
|
-
input: any;
|
|
19
|
-
constructor(localization: LocalizationService, cdr: ChangeDetectorRef);
|
|
20
|
-
ngAfterContentInit(): void;
|
|
21
|
-
messageFor(key: string, errorName: string, field: string): string;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFormFieldComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFormFieldComponent, "kendo-form-formfield", never, { "control": { "alias": "control"; "required": false; }; "floatingLabel": { "alias": "floatingLabel"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -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, OnInit } from '@angular/core';
|
|
6
|
-
import { FormGroup } from '@angular/forms';
|
|
7
|
-
import { FormActionButton, FormControlSettings, FormSettings, FormSubmitEvent } from './models';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class FormComponent implements OnInit {
|
|
13
|
-
controls: FormControlSettings[];
|
|
14
|
-
set formSettings(value: FormSettings);
|
|
15
|
-
get formSettings(): FormSettings;
|
|
16
|
-
formGroup: FormGroup;
|
|
17
|
-
set actionButtons(value: boolean | FormActionButton[]);
|
|
18
|
-
get actionButtons(): FormActionButton[];
|
|
19
|
-
formSubmit: EventEmitter<FormSubmitEvent>;
|
|
20
|
-
get componentIndex(): number;
|
|
21
|
-
private _formSettings;
|
|
22
|
-
private defaultActionButtons;
|
|
23
|
-
private _actionButtons;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
private normalizeActionButtonSettings;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "kendo-grid-external-form", never, { "controls": { "alias": "controls"; "required": false; }; "formSettings": { "alias": "formSettings"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "actionButtons": { "alias": "actionButtons"; "required": false; }; }, { "formSubmit": "formSubmit"; }, never, never, true, never>;
|
|
28
|
-
}
|
package/editing/form/index.d.ts
DELETED
|
@@ -1,8 +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
|
-
export * from './models';
|
|
6
|
-
export * from './form.component';
|
|
7
|
-
export * from './dialog-form.component';
|
|
8
|
-
export * from './form-formfield.component';
|
package/editing/form/models.d.ts
DELETED
|
@@ -1,202 +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, ViewContainerRef } from "@angular/core";
|
|
6
|
-
import { FormControl, FormGroup } from "@angular/forms";
|
|
7
|
-
import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from "@progress/kendo-angular-buttons";
|
|
8
|
-
import { ActionsLayout, DialogAnimation } from "@progress/kendo-angular-dialog";
|
|
9
|
-
import { Orientation } from "@progress/kendo-angular-inputs";
|
|
10
|
-
import { SVGIcon } from "@progress/kendo-svg-icons";
|
|
11
|
-
import { FieldDataType } from "../../common/field-datatype";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export interface FormControlSettings {
|
|
16
|
-
name: string;
|
|
17
|
-
label?: string;
|
|
18
|
-
hint?: string;
|
|
19
|
-
errors?: {
|
|
20
|
-
[key: string]: string;
|
|
21
|
-
};
|
|
22
|
-
dataType: FieldDataType;
|
|
23
|
-
formControl: FormControl;
|
|
24
|
-
orientation?: Orientation;
|
|
25
|
-
template?: TemplateRef<any>;
|
|
26
|
-
templateContext?: any;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Configures the built-in external editing form.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```typescript
|
|
33
|
-
* const settings: FormSettings = {
|
|
34
|
-
* orientation: 'vertical',
|
|
35
|
-
* showErrors: true,
|
|
36
|
-
* floatingLabels: false,
|
|
37
|
-
* fields: {
|
|
38
|
-
* name: { label: 'Name', hint: 'Enter a name.' }
|
|
39
|
-
* }
|
|
40
|
-
* };
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
export interface FormSettings {
|
|
44
|
-
/**
|
|
45
|
-
* Customizes the label, hint, and error messages for each form control.
|
|
46
|
-
*/
|
|
47
|
-
fields?: {
|
|
48
|
-
[key: string]: FormFieldSettings;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Sets the orientation of the elements in the form.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
orientation?: Orientation;
|
|
55
|
-
/**
|
|
56
|
-
* Shows validation errors for each form control.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
showErrors?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Renders FloatingLabel components instead of the default Label components.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
floatingLabels?: boolean;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Configures the form fields in the built-in external editing form.
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* ```typescript
|
|
71
|
-
* const fieldSettings: FormFieldSettings = {
|
|
72
|
-
* label: 'Email',
|
|
73
|
-
* hint: 'Enter a valid email address.',
|
|
74
|
-
* errors: { required: 'Email is required.' }
|
|
75
|
-
* };
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export interface FormFieldSettings {
|
|
79
|
-
/**
|
|
80
|
-
* Passes custom error messages as key-value pairs. The key is the error name in the `FormControl` validators, and the value is the error message shown when the control is invalid.
|
|
81
|
-
*
|
|
82
|
-
* The default error message is `The "{fieldName}" field has "{errorName}" validation error.`
|
|
83
|
-
*/
|
|
84
|
-
errors?: {
|
|
85
|
-
[key: string]: string;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Provides custom hint text. By default, no hint message appears.
|
|
89
|
-
*/
|
|
90
|
-
hint?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Provides a custom label for the form control. By default, the column `title` or `field` appears.
|
|
93
|
-
*/
|
|
94
|
-
label?: string;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Configures the external editing Dialog.
|
|
98
|
-
*
|
|
99
|
-
* @example
|
|
100
|
-
* ```typescript
|
|
101
|
-
* const dialogSettings: FormDialogSettings = {
|
|
102
|
-
* title: 'Edit Item',
|
|
103
|
-
* width: 400,
|
|
104
|
-
* themeColor: 'primary'
|
|
105
|
-
* };
|
|
106
|
-
* ```
|
|
107
|
-
*/
|
|
108
|
-
export interface FormDialogSettings {
|
|
109
|
-
/**
|
|
110
|
-
* Sets the title of the Dialog. If the title is omitted, the Dialog does not render a **Close** button.
|
|
111
|
-
*/
|
|
112
|
-
title?: string;
|
|
113
|
-
/**
|
|
114
|
-
* Sets the CSS classes for the Dialog wrapper element. Supports the union type of values that [`ngClass`](link:site.data.urls.angular['ngclassapi']) accepts.
|
|
115
|
-
*/
|
|
116
|
-
cssClass?: any;
|
|
117
|
-
/**
|
|
118
|
-
* Configures the Dialog opening animation ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations)). By default, the animation type is `translate` and its duration is `300ms`.
|
|
119
|
-
*/
|
|
120
|
-
animation?: boolean | DialogAnimation;
|
|
121
|
-
/**
|
|
122
|
-
* Sets the HTML attributes of the Dialog wrapper element. Accepts string key-value pairs.
|
|
123
|
-
*
|
|
124
|
-
* @remarks
|
|
125
|
-
* This option is related to accessibility.
|
|
126
|
-
*/
|
|
127
|
-
htmlAttributes?: {
|
|
128
|
-
[key: string]: string;
|
|
129
|
-
};
|
|
130
|
-
/**
|
|
131
|
-
* Sets the width of the Dialog. A number sets the width in pixels. A string sets the width in arbitrary units, for example, `50%`.
|
|
132
|
-
*/
|
|
133
|
-
width?: number | string;
|
|
134
|
-
/**
|
|
135
|
-
* Sets the minimum width of the Dialog. A number sets the minimum width in pixels. A string sets the minimum width in arbitrary units, for example, `50%`.
|
|
136
|
-
*/
|
|
137
|
-
minWidth?: number | string;
|
|
138
|
-
/**
|
|
139
|
-
* Sets the maximum width of the Dialog. A number sets the maximum width in pixels. A string sets the maximum width in arbitrary units, for example, `50%`.
|
|
140
|
-
*/
|
|
141
|
-
maxWidth?: number | string;
|
|
142
|
-
/**
|
|
143
|
-
* Sets the height of the Dialog. A number sets the height in pixels. A string sets the height in arbitrary units, for example, `50%`.
|
|
144
|
-
*/
|
|
145
|
-
height?: number | string;
|
|
146
|
-
/**
|
|
147
|
-
* Sets the minimum height of the Dialog. A number sets the minimum height in pixels. A string sets the minimum height in arbitrary units, for example, `50%`.
|
|
148
|
-
*/
|
|
149
|
-
minHeight?: number | string;
|
|
150
|
-
/**
|
|
151
|
-
* Sets the maximum height of the Dialog. A number sets the maximum height in pixels. A string sets the maximum height in arbitrary units, for example, `50%`.
|
|
152
|
-
*/
|
|
153
|
-
maxHeight?: number | string;
|
|
154
|
-
/**
|
|
155
|
-
* Defines the container for the Dialog. Setting this option changes where the Dialog appears in the page hierarchy. The Dialog styling stays the same.
|
|
156
|
-
*/
|
|
157
|
-
appendTo?: ViewContainerRef;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the title of the close button.
|
|
160
|
-
*/
|
|
161
|
-
closeTitle?: string;
|
|
162
|
-
/**
|
|
163
|
-
* Sets the layout of the action buttons in the Dialog.
|
|
164
|
-
*/
|
|
165
|
-
actionsLayout?: ActionsLayout;
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* @hidden
|
|
169
|
-
*/
|
|
170
|
-
export interface FormActionButton {
|
|
171
|
-
actionType: FormActionButtonType;
|
|
172
|
-
text?: string;
|
|
173
|
-
clickHandler?: FormActionCallback;
|
|
174
|
-
icon?: string;
|
|
175
|
-
svgIcon?: SVGIcon;
|
|
176
|
-
fillMode?: ButtonFillMode;
|
|
177
|
-
rounded?: ButtonRounded;
|
|
178
|
-
size?: ButtonSize;
|
|
179
|
-
themeColor?: ButtonThemeColor;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* @hidden
|
|
183
|
-
*/
|
|
184
|
-
export type FormActionButtonType = 'submit' | 'reset' | 'button';
|
|
185
|
-
/**
|
|
186
|
-
* @hidden
|
|
187
|
-
*/
|
|
188
|
-
export type FormActionCallback = (event?: FormActionEvent) => any;
|
|
189
|
-
/**
|
|
190
|
-
* @hidden
|
|
191
|
-
*/
|
|
192
|
-
export interface FormActionEvent {
|
|
193
|
-
originalEvent: Event;
|
|
194
|
-
actionType: FormActionButtonType;
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* @hidden
|
|
198
|
-
*/
|
|
199
|
-
export interface FormSubmitEvent {
|
|
200
|
-
originalEvent: any;
|
|
201
|
-
formGroup: FormGroup;
|
|
202
|
-
}
|
|
@@ -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 LocalDataChangesService {
|
|
11
|
-
changes: EventEmitter<any>;
|
|
12
|
-
data: any[];
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalDataChangesService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalDataChangesService>;
|
|
15
|
-
}
|
|
@@ -1,40 +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 `remove` 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
|
-
* [`remove`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#remove) event fires.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-grid>
|
|
22
|
-
* <kendo-toolbar>
|
|
23
|
-
* <kendo-toolbar-button text="Remove row" kendoGridRemoveTool></kendo-toolbar-button>
|
|
24
|
-
* </kendo-toolbar>
|
|
25
|
-
* </kendo-grid>
|
|
26
|
-
* ```
|
|
27
|
-
* @remarks
|
|
28
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
29
|
-
*/
|
|
30
|
-
export declare class RemoveCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
31
|
-
editService: EditService;
|
|
32
|
-
selection: SelectionService;
|
|
33
|
-
constructor(editService: EditService, host: ToolBarButtonComponent, selection: SelectionService, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
onClick(e: any): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCommandToolbarDirective, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveCommandToolbarDirective, "[kendoGridRemoveTool]", never, {}, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,51 +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 `remove` command of the Grid. Apply this directive to any `button` element
|
|
13
|
-
* 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
|
-
* When you click the button with this directive, the
|
|
16
|
-
* [`remove`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#remove) event fires.
|
|
17
|
-
* The button with `kendoGridRemoveCommand` is automatically hidden when the row is in edit mode.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-grid>
|
|
22
|
-
* <kendo-grid-command-column title="command">
|
|
23
|
-
* <ng-template kendoGridCellTemplate>
|
|
24
|
-
* <button kendoGridRemoveCommand>Remove row</button>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-grid-command-column>
|
|
27
|
-
* </kendo-grid>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class RemoveCommandDirective extends Button implements DoCheck {
|
|
31
|
-
private editService;
|
|
32
|
-
private cellContext;
|
|
33
|
-
rowIndex: number;
|
|
34
|
-
protected isEdited: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
get visible(): string;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
commandClass: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
onClick(e: any): void;
|
|
47
|
-
constructor(editService: EditService, cellContext: CellContext, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone);
|
|
48
|
-
ngDoCheck(): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCommandDirective, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveCommandDirective, "[kendoGridRemoveCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
51
|
-
}
|
|
@@ -1,11 +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 `remove` event. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#removing-records).
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export interface RemoveEvent extends EditEvent {
|
|
11
|
-
}
|
|
@@ -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 `save` 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
|
-
* [`save`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#save) event fires.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-grid>
|
|
22
|
-
* <kendo-toolbar>
|
|
23
|
-
* <kendo-toolbar-button text="Save" kendoGridSaveTool></kendo-toolbar-button>
|
|
24
|
-
* </kendo-toolbar>
|
|
25
|
-
* </kendo-grid>
|
|
26
|
-
* ```
|
|
27
|
-
* @remarks
|
|
28
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
29
|
-
*/
|
|
30
|
-
export declare class SaveCommandToolbarDirective 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<SaveCommandToolbarDirective, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SaveCommandToolbarDirective, "[kendoGridSaveTool]", 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 `save` 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
|
-
* When you click the button with this directive, the
|
|
16
|
-
* [`save`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#save) event fires.
|
|
17
|
-
* The button with `kendoGridSaveCommand` is automatically hidden when the row is not in edit mode.
|
|
18
|
-
*
|
|
19
|
-
* You can change the button content based on the row state.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```html
|
|
23
|
-
* <kendo-grid>
|
|
24
|
-
* <kendo-grid-command-column title="command">
|
|
25
|
-
* <ng-template kendoGridCellTemplate let-isNew="isNew">
|
|
26
|
-
* <button kendoGridSaveCommand>{{isNew ? 'Add' : 'Update'}}</button>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-grid-command-column>
|
|
29
|
-
* </kendo-grid>
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare class SaveCommandDirective 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<SaveCommandDirective, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SaveCommandDirective, "[kendoGridSaveCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
53
|
-
}
|
|
@@ -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 { EditEvent } from "./edit-event-args.interface";
|
|
6
|
-
import { FormGroup } from "@angular/forms";
|
|
7
|
-
/**
|
|
8
|
-
* Provides the arguments for the `save` event. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#saving-records).
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export interface SaveEvent extends EditEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The edited `formGroup` instance.
|
|
14
|
-
*/
|
|
15
|
-
formGroup: FormGroup;
|
|
16
|
-
}
|
|
@@ -1,30 +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, ChangeDetectorRef, DoCheck, NgZone } from '@angular/core';
|
|
6
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
-
import { SelectionService } from '../selection/selection.service';
|
|
8
|
-
import { EditService } from '../editing/edit.service';
|
|
9
|
-
import { ContextService } from '../common/provider.service';
|
|
10
|
-
import { ToolbarToolBase } from '../common/toolbar-tool-base.directive';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare abstract class ToolbarEditingToolBase extends ToolbarToolBase implements AfterViewInit, DoCheck {
|
|
16
|
-
host: ToolBarButtonComponent;
|
|
17
|
-
commandName: string;
|
|
18
|
-
ctx: ContextService;
|
|
19
|
-
editService?: EditService;
|
|
20
|
-
selection?: SelectionService;
|
|
21
|
-
private isEdited;
|
|
22
|
-
private lastToolState;
|
|
23
|
-
constructor(host: ToolBarButtonComponent, commandName: string, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef, editService?: EditService, selection?: SelectionService);
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
ngDoCheck(): void;
|
|
26
|
-
get lastSelectionIndex(): number;
|
|
27
|
-
get isSelectionPresent(): boolean;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarEditingToolBase, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarEditingToolBase, never, never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|