@progress/kendo-angular-grid 19.1.0-develop.1 → 19.1.0-develop.2

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.
@@ -1280,7 +1280,6 @@ export class GridComponent {
1280
1280
  }
1281
1281
  this.initSelectionService();
1282
1282
  this.updateNavigationMetadata();
1283
- this.currentState.currentData = this.data;
1284
1283
  }
1285
1284
  ngOnChanges(changes) {
1286
1285
  if (isChanged("data", changes)) {
@@ -2040,13 +2039,13 @@ export class GridComponent {
2040
2039
  this.blockArrowSelection = true;
2041
2040
  }
2042
2041
  this.dataStateChange.emit(x);
2043
- this.gridStateChange.emit({ ...x, columnsState: this.currentState.columnsState, currentData: this.currentState.currentData });
2042
+ hasObservers(this.gridStateChange) && this.gridStateChange.emit({ ...this.currentState, ...x });
2044
2043
  if (this.undoRedoService) {
2045
2044
  this.undoRedoService.originalEvent = x;
2046
2045
  }
2047
2046
  });
2048
2047
  this.stateChangeSubscription.add(merge(this.columnReorder, this.columnResize, this.columnVisibilityChange, this.columnLockedChange, this.columnStickyChange).pipe(flatMap(() => this.ngZone.onStable.pipe(take(1))))
2049
- .subscribe(() => this.ngZone.run(() => this.gridStateChange.emit(this.currentState))));
2048
+ .subscribe(() => this.ngZone.run(() => hasObservers(this.gridStateChange) && this.gridStateChange.emit(this.currentState))));
2050
2049
  }
2051
2050
  attachEditHandlers() {
2052
2051
  if (!this.editService) {
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1748508266,
14
- version: '19.1.0-develop.1',
13
+ publishDate: 1748527051,
14
+ version: '19.1.0-develop.2',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -20476,8 +20476,8 @@ const packageMetadata = {
20476
20476
  productName: 'Kendo UI for Angular',
20477
20477
  productCode: 'KENDOUIANGULAR',
20478
20478
  productCodes: ['KENDOUIANGULAR'],
20479
- publishDate: 1748508266,
20480
- version: '19.1.0-develop.1',
20479
+ publishDate: 1748527051,
20480
+ version: '19.1.0-develop.2',
20481
20481
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
20482
20482
  };
20483
20483
 
@@ -27910,7 +27910,6 @@ class GridComponent {
27910
27910
  }
27911
27911
  this.initSelectionService();
27912
27912
  this.updateNavigationMetadata();
27913
- this.currentState.currentData = this.data;
27914
27913
  }
27915
27914
  ngOnChanges(changes) {
27916
27915
  if (isChanged$1("data", changes)) {
@@ -28670,13 +28669,13 @@ class GridComponent {
28670
28669
  this.blockArrowSelection = true;
28671
28670
  }
28672
28671
  this.dataStateChange.emit(x);
28673
- this.gridStateChange.emit({ ...x, columnsState: this.currentState.columnsState, currentData: this.currentState.currentData });
28672
+ hasObservers(this.gridStateChange) && this.gridStateChange.emit({ ...this.currentState, ...x });
28674
28673
  if (this.undoRedoService) {
28675
28674
  this.undoRedoService.originalEvent = x;
28676
28675
  }
28677
28676
  });
28678
28677
  this.stateChangeSubscription.add(merge(this.columnReorder, this.columnResize, this.columnVisibilityChange, this.columnLockedChange, this.columnStickyChange).pipe(flatMap(() => this.ngZone.onStable.pipe(take(1))))
28679
- .subscribe(() => this.ngZone.run(() => this.gridStateChange.emit(this.currentState))));
28678
+ .subscribe(() => this.ngZone.run(() => hasObservers(this.gridStateChange) && this.gridStateChange.emit(this.currentState))));
28680
28679
  }
28681
28680
  attachEditHandlers() {
28682
28681
  if (!this.editService) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-grid",
3
- "version": "19.1.0-develop.1",
3
+ "version": "19.1.0-develop.2",
4
4
  "description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -26,7 +26,7 @@
26
26
  "package": {
27
27
  "productName": "Kendo UI for Angular",
28
28
  "productCode": "KENDOUIANGULAR",
29
- "publishDate": 1748508266,
29
+ "publishDate": 1748527051,
30
30
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
31
31
  }
32
32
  },
@@ -39,28 +39,28 @@
39
39
  "@progress/kendo-data-query": "^1.0.0",
40
40
  "@progress/kendo-drawing": "^1.21.0",
41
41
  "@progress/kendo-licensing": "^1.5.0",
42
- "@progress/kendo-angular-buttons": "19.1.0-develop.1",
43
- "@progress/kendo-angular-common": "19.1.0-develop.1",
44
- "@progress/kendo-angular-dateinputs": "19.1.0-develop.1",
45
- "@progress/kendo-angular-layout": "19.1.0-develop.1",
46
- "@progress/kendo-angular-navigation": "19.1.0-develop.1",
47
- "@progress/kendo-angular-dropdowns": "19.1.0-develop.1",
48
- "@progress/kendo-angular-excel-export": "19.1.0-develop.1",
49
- "@progress/kendo-angular-icons": "19.1.0-develop.1",
50
- "@progress/kendo-angular-inputs": "19.1.0-develop.1",
51
- "@progress/kendo-angular-intl": "19.1.0-develop.1",
52
- "@progress/kendo-angular-l10n": "19.1.0-develop.1",
53
- "@progress/kendo-angular-label": "19.1.0-develop.1",
54
- "@progress/kendo-angular-pager": "19.1.0-develop.1",
55
- "@progress/kendo-angular-pdf-export": "19.1.0-develop.1",
56
- "@progress/kendo-angular-popup": "19.1.0-develop.1",
57
- "@progress/kendo-angular-toolbar": "19.1.0-develop.1",
58
- "@progress/kendo-angular-utils": "19.1.0-develop.1",
42
+ "@progress/kendo-angular-buttons": "19.1.0-develop.2",
43
+ "@progress/kendo-angular-common": "19.1.0-develop.2",
44
+ "@progress/kendo-angular-dateinputs": "19.1.0-develop.2",
45
+ "@progress/kendo-angular-layout": "19.1.0-develop.2",
46
+ "@progress/kendo-angular-navigation": "19.1.0-develop.2",
47
+ "@progress/kendo-angular-dropdowns": "19.1.0-develop.2",
48
+ "@progress/kendo-angular-excel-export": "19.1.0-develop.2",
49
+ "@progress/kendo-angular-icons": "19.1.0-develop.2",
50
+ "@progress/kendo-angular-inputs": "19.1.0-develop.2",
51
+ "@progress/kendo-angular-intl": "19.1.0-develop.2",
52
+ "@progress/kendo-angular-l10n": "19.1.0-develop.2",
53
+ "@progress/kendo-angular-label": "19.1.0-develop.2",
54
+ "@progress/kendo-angular-pager": "19.1.0-develop.2",
55
+ "@progress/kendo-angular-pdf-export": "19.1.0-develop.2",
56
+ "@progress/kendo-angular-popup": "19.1.0-develop.2",
57
+ "@progress/kendo-angular-toolbar": "19.1.0-develop.2",
58
+ "@progress/kendo-angular-utils": "19.1.0-develop.2",
59
59
  "rxjs": "^6.5.3 || ^7.0.0"
60
60
  },
61
61
  "dependencies": {
62
62
  "tslib": "^2.3.1",
63
- "@progress/kendo-angular-schematics": "19.1.0-develop.1",
63
+ "@progress/kendo-angular-schematics": "19.1.0-develop.2",
64
64
  "@progress/kendo-common": "^1.0.1",
65
65
  "@progress/kendo-file-saver": "^1.0.0"
66
66
  },
@@ -4,14 +4,14 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
6
6
  // peer deps of the dropdowns
7
- '@progress/kendo-angular-treeview': '19.1.0-develop.1',
8
- '@progress/kendo-angular-navigation': '19.1.0-develop.1',
7
+ '@progress/kendo-angular-treeview': '19.1.0-develop.2',
8
+ '@progress/kendo-angular-navigation': '19.1.0-develop.2',
9
9
  // peer dependency of kendo-angular-inputs
10
- '@progress/kendo-angular-dialog': '19.1.0-develop.1',
10
+ '@progress/kendo-angular-dialog': '19.1.0-develop.2',
11
11
  // peer dependency of kendo-angular-icons
12
12
  '@progress/kendo-svg-icons': '^4.0.0',
13
13
  // peer dependency of kendo-angular-layout
14
- '@progress/kendo-angular-progressbar': '19.1.0-develop.1'
14
+ '@progress/kendo-angular-progressbar': '19.1.0-develop.2'
15
15
  } });
16
16
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
17
17
  }