@progress/kendo-angular-dropdowns 20.1.0-develop.1 → 20.1.0-develop.11

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.
@@ -7,11 +7,11 @@
7
7
  *
8
8
  * For more information, refer to the articles on using the built-in
9
9
  * `kendoDropDownFilter` directive with each DropDowns component:
10
- * * [AutoComplete]({% slug filtering_autocomplete %}#toc-built-in-directive)
11
- * * [ComboBox]({% slug filtering_combobox %}#toc-built-in-directive)
12
- * * [MultiColumnComboBox]({% slug filtering_multicolumncombobox %}#toc-built-in-directive)
13
- * * [DropDownList]({% slug filtering_ddl %}#toc-built-in-directive)
14
- * * [MultiSelect]({% slug filtering_multiselect %}#toc-built-in-directive)
10
+ * * [AutoComplete](slug:filtering_autocomplete#automatic-filtering)
11
+ * * [ComboBox](slug:filtering_combobox#automatic-filtering)
12
+ * * [MultiColumnComboBox](slug:filtering_multicolumncombobox#automatic-filtering)
13
+ * * [DropDownList](slug:filtering_ddl#automatic-filtering)
14
+ * * [MultiSelect](slug:filtering_multiselect#automatic-filtering)
15
15
  *
16
16
  * @example
17
17
  * ```ts
@@ -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() {
@@ -664,7 +664,7 @@ export class DropDownTreeComponent {
664
664
  const itemToFocus = this._searchableNodes.find((node) => {
665
665
  return node.text.toLowerCase().startsWith(this._typedValue);
666
666
  });
667
- this.treeview.focus(itemToFocus?.index);
667
+ this.treeview?.focus(itemToFocus?.index);
668
668
  }), debounceTime(1000)).subscribe(() => {
669
669
  this._typedValue = '';
670
670
  }));
@@ -835,7 +835,7 @@ export class MultiSelectTreeComponent {
835
835
  const itemToFocus = this._searchableNodes.find((node) => {
836
836
  return node.text.toLowerCase().startsWith(this._typedValue);
837
837
  });
838
- this.treeview.focus(itemToFocus?.index);
838
+ this.treeview?.focus(itemToFocus?.index);
839
839
  }), debounceTime(1000)).subscribe(() => {
840
840
  this._typedValue = '';
841
841
  }));
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1758109612,
14
- version: '20.1.0-develop.1',
13
+ publishDate: 1759739215,
14
+ version: '20.1.0-develop.11',
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: 1758109612,
41
- version: '20.1.0-develop.1',
40
+ publishDate: 1759739215,
41
+ version: '20.1.0-develop.11',
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() {
@@ -13257,7 +13259,7 @@ class DropDownTreeComponent {
13257
13259
  const itemToFocus = this._searchableNodes.find((node) => {
13258
13260
  return node.text.toLowerCase().startsWith(this._typedValue);
13259
13261
  });
13260
- this.treeview.focus(itemToFocus?.index);
13262
+ this.treeview?.focus(itemToFocus?.index);
13261
13263
  }), debounceTime(1000)).subscribe(() => {
13262
13264
  this._typedValue = '';
13263
13265
  }));
@@ -15774,7 +15776,7 @@ class MultiSelectTreeComponent {
15774
15776
  const itemToFocus = this._searchableNodes.find((node) => {
15775
15777
  return node.text.toLowerCase().startsWith(this._typedValue);
15776
15778
  });
15777
- this.treeview.focus(itemToFocus?.index);
15779
+ this.treeview?.focus(itemToFocus?.index);
15778
15780
  }), debounceTime(1000)).subscribe(() => {
15779
15781
  this._typedValue = '';
15780
15782
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "20.1.0-develop.1",
3
+ "version": "20.1.0-develop.11",
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": 1758109612,
103
+ "publishDate": 1759739215,
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.1",
115
- "@progress/kendo-angular-utils": "20.1.0-develop.1",
116
- "@progress/kendo-angular-l10n": "20.1.0-develop.1",
117
- "@progress/kendo-angular-navigation": "20.1.0-develop.1",
118
- "@progress/kendo-angular-popup": "20.1.0-develop.1",
119
- "@progress/kendo-angular-icons": "20.1.0-develop.1",
120
- "@progress/kendo-angular-treeview": "20.1.0-develop.1",
114
+ "@progress/kendo-angular-common": "20.1.0-develop.11",
115
+ "@progress/kendo-angular-utils": "20.1.0-develop.11",
116
+ "@progress/kendo-angular-l10n": "20.1.0-develop.11",
117
+ "@progress/kendo-angular-navigation": "20.1.0-develop.11",
118
+ "@progress/kendo-angular-popup": "20.1.0-develop.11",
119
+ "@progress/kendo-angular-icons": "20.1.0-develop.11",
120
+ "@progress/kendo-angular-treeview": "20.1.0-develop.11",
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.1",
125
+ "@progress/kendo-angular-schematics": "20.1.0-develop.11",
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.1',
7
+ '@progress/kendo-angular-inputs': '20.1.0-develop.11',
8
8
  // peers of inputs
9
- '@progress/kendo-angular-intl': '20.1.0-develop.1',
9
+ '@progress/kendo-angular-intl': '20.1.0-develop.11',
10
10
  '@progress/kendo-drawing': '^1.17.2',
11
11
  // Peer dependency of icons
12
12
  '@progress/kendo-svg-icons': '^4.0.0'