@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.
@@ -507,7 +507,7 @@ let NavigationService = class NavigationService {
507
507
  this.editService.closeCell(args);
508
508
  }
509
509
  else if (cancel) {
510
- this.editService.cancelCell();
510
+ this.editService.closeCell(args);
511
511
  this.cd.detectChanges();
512
512
  }
513
513
  else if (navigate) {
@@ -9,7 +9,7 @@ export const 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
  };
@@ -1915,7 +1915,7 @@ let NavigationService = class NavigationService {
1915
1915
  this.editService.closeCell(args);
1916
1916
  }
1917
1917
  else if (cancel) {
1918
- this.editService.cancelCell();
1918
+ this.editService.closeCell(args);
1919
1919
  this.cd.detectChanges();
1920
1920
  }
1921
1921
  else if (navigate) {
@@ -2831,7 +2831,7 @@ const packageMetadata = {
2831
2831
  name: '@progress/kendo-angular-grid',
2832
2832
  productName: 'Kendo UI for Angular',
2833
2833
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
2834
- publishDate: 1638263088,
2834
+ publishDate: 1638777162,
2835
2835
  version: '',
2836
2836
  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'
2837
2837
  };
@@ -22298,6 +22298,9 @@ let InCellEditingDirective = class InCellEditingDirective extends EditingDirecti
22298
22298
  args.preventDefault();
22299
22299
  }
22300
22300
  else if (formGroup.dirty) {
22301
+ if (args.originalEvent && args.originalEvent.keyCode === Keys.Escape) {
22302
+ return;
22303
+ }
22301
22304
  this.editService.assignValues(dataItem, formGroup.value);
22302
22305
  this.editService.update(dataItem);
22303
22306
  }
@@ -2076,7 +2076,7 @@ var NavigationService = /** @class */ (function () {
2076
2076
  this.editService.closeCell(args);
2077
2077
  }
2078
2078
  else if (cancel) {
2079
- this.editService.cancelCell();
2079
+ this.editService.closeCell(args);
2080
2080
  this.cd.detectChanges();
2081
2081
  }
2082
2082
  else if (navigate) {
@@ -3046,7 +3046,7 @@ var packageMetadata = {
3046
3046
  name: '@progress/kendo-angular-grid',
3047
3047
  productName: 'Kendo UI for Angular',
3048
3048
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
3049
- publishDate: 1638263088,
3049
+ publishDate: 1638777162,
3050
3050
  version: '',
3051
3051
  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'
3052
3052
  };
@@ -22412,6 +22412,9 @@ var InCellEditingDirective = /** @class */ (function (_super) {
22412
22412
  args.preventDefault();
22413
22413
  }
22414
22414
  else if (formGroup.dirty) {
22415
+ if (args.originalEvent && args.originalEvent.keyCode === Keys.Escape) {
22416
+ return;
22417
+ }
22415
22418
  this.editService.assignValues(dataItem, formGroup.value);
22416
22419
  this.editService.update(dataItem);
22417
22420
  }
@@ -6,6 +6,7 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  var tslib_1 = require("tslib");
8
8
  var core_1 = require("@angular/core");
9
+ var kendo_angular_common_1 = require("@progress/kendo-angular-common");
9
10
  var editing_directive_base_1 = require("./editing-directive-base");
10
11
  var grid_component_1 = require("../grid.component");
11
12
  var local_data_changes_service_1 = require("../editing/local-data-changes.service");
@@ -62,6 +63,9 @@ var InCellEditingDirective = /** @class */ (function (_super) {
62
63
  args.preventDefault();
63
64
  }
64
65
  else if (formGroup.dirty) {
66
+ if (args.originalEvent && args.originalEvent.keyCode === kendo_angular_common_1.Keys.Escape) {
67
+ return;
68
+ }
65
69
  this.editService.assignValues(dataItem, formGroup.value);
66
70
  this.editService.update(dataItem);
67
71
  }
@@ -569,7 +569,7 @@ var NavigationService = /** @class */ (function () {
569
569
  this.editService.closeCell(args);
570
570
  }
571
571
  else if (cancel) {
572
- this.editService.cancelCell();
572
+ this.editService.closeCell(args);
573
573
  this.cd.detectChanges();
574
574
  }
575
575
  else if (navigate) {
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-grid',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1638263088,
14
+ publishDate: 1638777162,
15
15
  version: '',
16
16
  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'
17
17
  };