@progress/kendo-angular-dropdowns 20.1.0-develop.7 → 20.1.0-develop.8

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.
@@ -216,10 +216,10 @@ export class SearchBarComponent {
216
216
  }
217
217
  }
218
218
  ngAfterViewInit() {
219
- this.subs.add(this.input.nativeElement.addEventListener('input', (event) => this.handleInput(event)));
220
- this.subs.add(this.input.nativeElement.addEventListener('focus', (event) => this.handleFocus(event)));
221
- this.subs.add(this.input.nativeElement.addEventListener('blur', (event) => this.handleBlur(event)));
222
- this.subs.add(this.input.nativeElement.addEventListener('keydown', (event) => this.handleKeydown(event)));
219
+ this.subs.add(this.renderer.listen(this.input.nativeElement, 'input', (event) => this.handleInput(event)));
220
+ this.subs.add(this.renderer.listen(this.input.nativeElement, 'focus', (event) => this.handleFocus(event)));
221
+ this.subs.add(this.renderer.listen(this.input.nativeElement, 'blur', (event) => this.handleBlur(event)));
222
+ this.subs.add(this.ngZone.runOutsideAngular(() => this.renderer.listen(this.input.nativeElement, 'keydown', (event) => this.handleKeydown(event))));
223
223
  }
224
224
  ngOnDestroy() {
225
225
  this.subs.unsubscribe();
@@ -274,7 +274,9 @@ export class SearchBarComponent {
274
274
  const keys = [Keys.ArrowUp, Keys.ArrowDown, Keys.ArrowLeft, Keys.ArrowRight, Keys.Enter,
275
275
  Keys.Escape, Keys.Delete, Keys.Backspace, Keys.Home, Keys.End, Keys.PageDown, Keys.PageUp];
276
276
  if (keys.indexOf(keyCode) > -1) {
277
- this.onNavigate.emit(event);
277
+ this.ngZone.run(() => {
278
+ this.onNavigate.emit(event);
279
+ });
278
280
  }
279
281
  }
280
282
  focus() {
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1759477638,
14
- version: '20.1.0-develop.7',
13
+ publishDate: 1759482346,
14
+ version: '20.1.0-develop.8',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  productName: 'Kendo UI for Angular',
38
38
  productCode: 'KENDOUIANGULAR',
39
39
  productCodes: ['KENDOUIANGULAR'],
40
- publishDate: 1759477638,
41
- version: '20.1.0-develop.7',
40
+ publishDate: 1759482346,
41
+ version: '20.1.0-develop.8',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -619,10 +619,10 @@ class SearchBarComponent {
619
619
  }
620
620
  }
621
621
  ngAfterViewInit() {
622
- this.subs.add(this.input.nativeElement.addEventListener('input', (event) => this.handleInput(event)));
623
- this.subs.add(this.input.nativeElement.addEventListener('focus', (event) => this.handleFocus(event)));
624
- this.subs.add(this.input.nativeElement.addEventListener('blur', (event) => this.handleBlur(event)));
625
- this.subs.add(this.input.nativeElement.addEventListener('keydown', (event) => this.handleKeydown(event)));
622
+ this.subs.add(this.renderer.listen(this.input.nativeElement, 'input', (event) => this.handleInput(event)));
623
+ this.subs.add(this.renderer.listen(this.input.nativeElement, 'focus', (event) => this.handleFocus(event)));
624
+ this.subs.add(this.renderer.listen(this.input.nativeElement, 'blur', (event) => this.handleBlur(event)));
625
+ this.subs.add(this.ngZone.runOutsideAngular(() => this.renderer.listen(this.input.nativeElement, 'keydown', (event) => this.handleKeydown(event))));
626
626
  }
627
627
  ngOnDestroy() {
628
628
  this.subs.unsubscribe();
@@ -677,7 +677,9 @@ class SearchBarComponent {
677
677
  const keys = [Keys.ArrowUp, Keys.ArrowDown, Keys.ArrowLeft, Keys.ArrowRight, Keys.Enter,
678
678
  Keys.Escape, Keys.Delete, Keys.Backspace, Keys.Home, Keys.End, Keys.PageDown, Keys.PageUp];
679
679
  if (keys.indexOf(keyCode) > -1) {
680
- this.onNavigate.emit(event);
680
+ this.ngZone.run(() => {
681
+ this.onNavigate.emit(event);
682
+ });
681
683
  }
682
684
  }
683
685
  focus() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "20.1.0-develop.7",
3
+ "version": "20.1.0-develop.8",
4
4
  "description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -100,7 +100,7 @@
100
100
  "package": {
101
101
  "productName": "Kendo UI for Angular",
102
102
  "productCode": "KENDOUIANGULAR",
103
- "publishDate": 1759477638,
103
+ "publishDate": 1759482346,
104
104
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
105
105
  }
106
106
  },
@@ -111,18 +111,18 @@
111
111
  "@angular/forms": "16 - 20",
112
112
  "@angular/platform-browser": "16 - 20",
113
113
  "@progress/kendo-licensing": "^1.7.0",
114
- "@progress/kendo-angular-common": "20.1.0-develop.7",
115
- "@progress/kendo-angular-utils": "20.1.0-develop.7",
116
- "@progress/kendo-angular-l10n": "20.1.0-develop.7",
117
- "@progress/kendo-angular-navigation": "20.1.0-develop.7",
118
- "@progress/kendo-angular-popup": "20.1.0-develop.7",
119
- "@progress/kendo-angular-icons": "20.1.0-develop.7",
120
- "@progress/kendo-angular-treeview": "20.1.0-develop.7",
114
+ "@progress/kendo-angular-common": "20.1.0-develop.8",
115
+ "@progress/kendo-angular-utils": "20.1.0-develop.8",
116
+ "@progress/kendo-angular-l10n": "20.1.0-develop.8",
117
+ "@progress/kendo-angular-navigation": "20.1.0-develop.8",
118
+ "@progress/kendo-angular-popup": "20.1.0-develop.8",
119
+ "@progress/kendo-angular-icons": "20.1.0-develop.8",
120
+ "@progress/kendo-angular-treeview": "20.1.0-develop.8",
121
121
  "rxjs": "^6.5.3 || ^7.0.0"
122
122
  },
123
123
  "dependencies": {
124
124
  "tslib": "^2.3.1",
125
- "@progress/kendo-angular-schematics": "20.1.0-develop.7",
125
+ "@progress/kendo-angular-schematics": "20.1.0-develop.8",
126
126
  "@progress/kendo-common": "^1.0.1",
127
127
  "node-html-parser": "^7.0.1"
128
128
  },
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
6
6
  // peers of the treeview
7
- '@progress/kendo-angular-inputs': '20.1.0-develop.7',
7
+ '@progress/kendo-angular-inputs': '20.1.0-develop.8',
8
8
  // peers of inputs
9
- '@progress/kendo-angular-intl': '20.1.0-develop.7',
9
+ '@progress/kendo-angular-intl': '20.1.0-develop.8',
10
10
  '@progress/kendo-drawing': '^1.17.2',
11
11
  // Peer dependency of icons
12
12
  '@progress/kendo-svg-icons': '^4.0.0'