@progress/kendo-angular-grid 19.3.0-develop.41 → 19.3.0-develop.43

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.
@@ -14,7 +14,7 @@ export declare abstract class ToolbarToolBase implements OnInit, OnDestroy, Afte
14
14
  commandName: string;
15
15
  ctx: ContextService;
16
16
  zone: NgZone;
17
- private cdr;
17
+ cdr: ChangeDetectorRef;
18
18
  private clickSub;
19
19
  constructor(host: ToolBarButtonComponent, commandName: string, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
20
20
  ngOnInit(): void;
@@ -233,7 +233,10 @@ export class NavigationService {
233
233
  this.subs.add(this.domEvents.cellClick
234
234
  .subscribe(() => {
235
235
  if (this.isStackedMode) {
236
- const stackedCells = this.activeCell.focusGroup.focusableChildren;
236
+ const stackedCells = this.activeCell?.focusGroup?.focusableChildren;
237
+ if (!isPresent(stackedCells) || stackedCells.length === 0) {
238
+ return;
239
+ }
237
240
  const currFocusedIndex = stackedCells.findIndex(el => el.hasFocus() || el.hostElement?.nativeElement === document.activeElement);
238
241
  currFocusedIndex > -1 && (this.stackedFocusedCellIndex = currFocusedIndex);
239
242
  }
@@ -908,7 +911,10 @@ export class NavigationService {
908
911
  if (this.stackedFocusedCellIndex === -1) {
909
912
  return;
910
913
  }
911
- const stackedCells = this.activeCell.focusGroup.focusableChildren;
914
+ const stackedCells = this.activeCell?.focusGroup?.focusableChildren;
915
+ if (!isPresent(stackedCells) || stackedCells.length === 0) {
916
+ return;
917
+ }
912
918
  const currFocusedIndex = stackedCells.findIndex(el => el.hasFocus() || el.hostElement?.nativeElement === document.activeElement);
913
919
  if (args.shiftKey) {
914
920
  if (currFocusedIndex === 0) {
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1754998719,
14
- version: '19.3.0-develop.41',
13
+ publishDate: 1755013866,
14
+ version: '19.3.0-develop.43',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -169,7 +169,11 @@ export class ColumnChooserToolbarDirective extends ToolbarToolBase {
169
169
  this.subs.add(this.popupRef.popup.instance.anchorViewportLeave.subscribe(() => {
170
170
  this.closePopup(true);
171
171
  }));
172
- this.subs.add(columnList.apply.subscribe(() => {
172
+ this.subs.add(columnList.apply.subscribe((changed) => {
173
+ if (changed.length) {
174
+ this.cdr.markForCheck();
175
+ this.columnInfoService.changeVisibility(changed);
176
+ }
173
177
  this.closePopup();
174
178
  }));
175
179
  this.zone.runOutsideAngular(() => this.renderer.listen('document', 'click', ({ target }) => {
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
6
6
  import { EventEmitter, Injectable, SecurityContext, InjectionToken, Optional, Inject, Directive, SkipSelf, Input, isDevMode, QueryList, Component, ContentChildren, ContentChild, forwardRef, Host, Output, HostBinding, Pipe, TemplateRef, ChangeDetectionStrategy, ViewChildren, ViewChild, Self, NgZone, HostListener, ElementRef, ViewContainerRef, ViewEncapsulation, inject, Injector, NgModule } from '@angular/core';
7
7
  import { merge, of, Subject, zip as zip$1, from, Subscription, interval, fromEvent, Observable, BehaviorSubject } from 'rxjs';
8
8
  import * as i1$3 from '@progress/kendo-angular-common';
9
- import { isDocumentAvailable, Keys, hasClasses as hasClasses$1, normalizeNumpadKeys, isPresent as isPresent$1, anyChanged, TemplateContextDirective, DraggableDirective, EventsOutsideAngularDirective, replaceMessagePlaceholder, isChanged as isChanged$1, KendoInput, guid, closest as closest$1, hasObservers, ResizeSensorComponent, closestInScope as closestInScope$1, isFocusable as isFocusable$1, PreventableEvent as PreventableEvent$1, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
9
+ import { isDocumentAvailable, Keys, hasClasses as hasClasses$1, isPresent as isPresent$1, normalizeNumpadKeys, anyChanged, TemplateContextDirective, DraggableDirective, EventsOutsideAngularDirective, replaceMessagePlaceholder, isChanged as isChanged$1, KendoInput, guid, closest as closest$1, hasObservers, ResizeSensorComponent, closestInScope as closestInScope$1, isFocusable as isFocusable$1, PreventableEvent as PreventableEvent$1, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
10
10
  import * as i1 from '@angular/platform-browser';
11
11
  import * as i1$1 from '@progress/kendo-angular-icons';
12
12
  import { IconWrapperComponent, IconsService, KENDO_ICONS } from '@progress/kendo-angular-icons';
@@ -3581,7 +3581,10 @@ class NavigationService {
3581
3581
  this.subs.add(this.domEvents.cellClick
3582
3582
  .subscribe(() => {
3583
3583
  if (this.isStackedMode) {
3584
- const stackedCells = this.activeCell.focusGroup.focusableChildren;
3584
+ const stackedCells = this.activeCell?.focusGroup?.focusableChildren;
3585
+ if (!isPresent$1(stackedCells) || stackedCells.length === 0) {
3586
+ return;
3587
+ }
3585
3588
  const currFocusedIndex = stackedCells.findIndex(el => el.hasFocus() || el.hostElement?.nativeElement === document.activeElement);
3586
3589
  currFocusedIndex > -1 && (this.stackedFocusedCellIndex = currFocusedIndex);
3587
3590
  }
@@ -4256,7 +4259,10 @@ class NavigationService {
4256
4259
  if (this.stackedFocusedCellIndex === -1) {
4257
4260
  return;
4258
4261
  }
4259
- const stackedCells = this.activeCell.focusGroup.focusableChildren;
4262
+ const stackedCells = this.activeCell?.focusGroup?.focusableChildren;
4263
+ if (!isPresent$1(stackedCells) || stackedCells.length === 0) {
4264
+ return;
4265
+ }
4260
4266
  const currFocusedIndex = stackedCells.findIndex(el => el.hasFocus() || el.hostElement?.nativeElement === document.activeElement);
4261
4267
  if (args.shiftKey) {
4262
4268
  if (currFocusedIndex === 0) {
@@ -12967,7 +12973,11 @@ class ColumnChooserToolbarDirective extends ToolbarToolBase {
12967
12973
  this.subs.add(this.popupRef.popup.instance.anchorViewportLeave.subscribe(() => {
12968
12974
  this.closePopup(true);
12969
12975
  }));
12970
- this.subs.add(columnList.apply.subscribe(() => {
12976
+ this.subs.add(columnList.apply.subscribe((changed) => {
12977
+ if (changed.length) {
12978
+ this.cdr.markForCheck();
12979
+ this.columnInfoService.changeVisibility(changed);
12980
+ }
12971
12981
  this.closePopup();
12972
12982
  }));
12973
12983
  this.zone.runOutsideAngular(() => this.renderer.listen('document', 'click', ({ target }) => {
@@ -22009,8 +22019,8 @@ const packageMetadata = {
22009
22019
  productName: 'Kendo UI for Angular',
22010
22020
  productCode: 'KENDOUIANGULAR',
22011
22021
  productCodes: ['KENDOUIANGULAR'],
22012
- publishDate: 1754998719,
22013
- version: '19.3.0-develop.41',
22022
+ publishDate: 1755013866,
22023
+ version: '19.3.0-develop.43',
22014
22024
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
22015
22025
  };
22016
22026
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-grid",
3
- "version": "19.3.0-develop.41",
3
+ "version": "19.3.0-develop.43",
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": 1754998719,
29
+ "publishDate": 1755013866,
30
30
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
31
31
  }
32
32
  },
@@ -39,29 +39,29 @@
39
39
  "@progress/kendo-data-query": "^1.0.0",
40
40
  "@progress/kendo-drawing": "^1.21.0",
41
41
  "@progress/kendo-licensing": "^1.7.0",
42
- "@progress/kendo-angular-buttons": "19.3.0-develop.41",
43
- "@progress/kendo-angular-common": "19.3.0-develop.41",
44
- "@progress/kendo-angular-dateinputs": "19.3.0-develop.41",
45
- "@progress/kendo-angular-layout": "19.3.0-develop.41",
46
- "@progress/kendo-angular-navigation": "19.3.0-develop.41",
47
- "@progress/kendo-angular-dropdowns": "19.3.0-develop.41",
48
- "@progress/kendo-angular-excel-export": "19.3.0-develop.41",
49
- "@progress/kendo-angular-icons": "19.3.0-develop.41",
50
- "@progress/kendo-angular-inputs": "19.3.0-develop.41",
51
- "@progress/kendo-angular-conversational-ui": "19.3.0-develop.41",
52
- "@progress/kendo-angular-intl": "19.3.0-develop.41",
53
- "@progress/kendo-angular-l10n": "19.3.0-develop.41",
54
- "@progress/kendo-angular-label": "19.3.0-develop.41",
55
- "@progress/kendo-angular-pager": "19.3.0-develop.41",
56
- "@progress/kendo-angular-pdf-export": "19.3.0-develop.41",
57
- "@progress/kendo-angular-popup": "19.3.0-develop.41",
58
- "@progress/kendo-angular-toolbar": "19.3.0-develop.41",
59
- "@progress/kendo-angular-utils": "19.3.0-develop.41",
42
+ "@progress/kendo-angular-buttons": "19.3.0-develop.43",
43
+ "@progress/kendo-angular-common": "19.3.0-develop.43",
44
+ "@progress/kendo-angular-dateinputs": "19.3.0-develop.43",
45
+ "@progress/kendo-angular-layout": "19.3.0-develop.43",
46
+ "@progress/kendo-angular-navigation": "19.3.0-develop.43",
47
+ "@progress/kendo-angular-dropdowns": "19.3.0-develop.43",
48
+ "@progress/kendo-angular-excel-export": "19.3.0-develop.43",
49
+ "@progress/kendo-angular-icons": "19.3.0-develop.43",
50
+ "@progress/kendo-angular-inputs": "19.3.0-develop.43",
51
+ "@progress/kendo-angular-conversational-ui": "19.3.0-develop.43",
52
+ "@progress/kendo-angular-intl": "19.3.0-develop.43",
53
+ "@progress/kendo-angular-l10n": "19.3.0-develop.43",
54
+ "@progress/kendo-angular-label": "19.3.0-develop.43",
55
+ "@progress/kendo-angular-pager": "19.3.0-develop.43",
56
+ "@progress/kendo-angular-pdf-export": "19.3.0-develop.43",
57
+ "@progress/kendo-angular-popup": "19.3.0-develop.43",
58
+ "@progress/kendo-angular-toolbar": "19.3.0-develop.43",
59
+ "@progress/kendo-angular-utils": "19.3.0-develop.43",
60
60
  "rxjs": "^6.5.3 || ^7.0.0"
61
61
  },
62
62
  "dependencies": {
63
63
  "tslib": "^2.3.1",
64
- "@progress/kendo-angular-schematics": "19.3.0-develop.41",
64
+ "@progress/kendo-angular-schematics": "19.3.0-develop.43",
65
65
  "@progress/kendo-common": "^1.0.1",
66
66
  "@progress/kendo-file-saver": "^1.0.0"
67
67
  },
@@ -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.3.0-develop.41',
8
- '@progress/kendo-angular-navigation': '19.3.0-develop.41',
7
+ '@progress/kendo-angular-treeview': '19.3.0-develop.43',
8
+ '@progress/kendo-angular-navigation': '19.3.0-develop.43',
9
9
  // peer dependency of kendo-angular-inputs
10
- '@progress/kendo-angular-dialog': '19.3.0-develop.41',
10
+ '@progress/kendo-angular-dialog': '19.3.0-develop.43',
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.3.0-develop.41'
14
+ '@progress/kendo-angular-progressbar': '19.3.0-develop.43'
15
15
  } });
16
16
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
17
17
  }