@progress/kendo-angular-grid 5.5.1-dev.202111300913 → 5.5.1-dev.202112060801

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.
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as tslib_1 from "tslib";
6
6
  import { ChangeDetectorRef, Directive, Input } from '@angular/core';
7
+ import { Keys } from '@progress/kendo-angular-common';
7
8
  import { EditingDirectiveBase } from './editing-directive-base';
8
9
  import { GridComponent } from '../grid.component';
9
10
  import { LocalDataChangesService } from '../editing/local-data-changes.service';
@@ -60,6 +61,9 @@ var InCellEditingDirective = /** @class */ (function (_super) {
60
61
  args.preventDefault();
61
62
  }
62
63
  else if (formGroup.dirty) {
64
+ if (args.originalEvent && args.originalEvent.keyCode === Keys.Escape) {
65
+ return;
66
+ }
63
67
  this.editService.assignValues(dataItem, formGroup.value);
64
68
  this.editService.update(dataItem);
65
69
  }
@@ -559,7 +559,7 @@ var NavigationService = /** @class */ (function () {
559
559
  this.editService.closeCell(args);
560
560
  }
561
561
  else if (cancel) {
562
- this.editService.cancelCell();
562
+ this.editService.closeCell(args);
563
563
  this.cd.detectChanges();
564
564
  }
565
565
  else if (navigate) {
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-grid',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1638263088,
12
+ publishDate: 1638777162,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as tslib_1 from "tslib";
6
6
  import { ChangeDetectorRef, Directive, Input } from '@angular/core';
7
+ import { Keys } from '@progress/kendo-angular-common';
7
8
  import { EditingDirectiveBase } from './editing-directive-base';
8
9
  import { GridComponent } from '../grid.component';
9
10
  import { LocalDataChangesService } from '../editing/local-data-changes.service';
@@ -57,6 +58,9 @@ let InCellEditingDirective = class InCellEditingDirective extends EditingDirecti
57
58
  args.preventDefault();
58
59
  }
59
60
  else if (formGroup.dirty) {
61
+ if (args.originalEvent && args.originalEvent.keyCode === Keys.Escape) {
62
+ return;
63
+ }
60
64
  this.editService.assignValues(dataItem, formGroup.value);
61
65
  this.editService.update(dataItem);
62
66
  }