@progress/kendo-angular-dropdowns 16.4.0-develop.7 → 16.4.0
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.
|
@@ -17,7 +17,7 @@ import { PreventableEvent } from '../common/models/preventable-event';
|
|
|
17
17
|
import { animationDuration, getFillModeClass, getRoundedClass, getSearchableItems, getSizeClass, inDropDown, isArray, isLetter, isPresent, isTruthy, isUntouched, noop, setActionSheetTitle, updateActionSheetAdaptiveAppearance, windowSize } from '../common/util';
|
|
18
18
|
import { NoDataTemplateDirective } from '../common/templates/no-data-template.directive';
|
|
19
19
|
import { of, Subject, Subscription } from 'rxjs';
|
|
20
|
-
import { debounceTime, tap } from 'rxjs/operators';
|
|
20
|
+
import { debounceTime, take, tap } from 'rxjs/operators';
|
|
21
21
|
import { HeaderTemplateDirective } from '../common/templates/header-template.directive';
|
|
22
22
|
import { FooterTemplateDirective } from '../common/templates/footer-template.directive';
|
|
23
23
|
import { NodeTemplateDirective } from './templates/node-template.directive';
|
|
@@ -891,8 +891,13 @@ export class DropDownTreeComponent {
|
|
|
891
891
|
* @hidden
|
|
892
892
|
*/
|
|
893
893
|
handleFilterInputChange(input) {
|
|
894
|
-
this.filterChange.next(typeof
|
|
894
|
+
this.filterChange.next(typeof input === 'string' ? input : input.value);
|
|
895
895
|
this.allNodesHidden = this.areNodesHidden(this.nodes);
|
|
896
|
+
this._zone.onStable.pipe(take(1)).subscribe(() => {
|
|
897
|
+
if (this.data.length === 0 || this.allNodesHidden) {
|
|
898
|
+
this.filterInput?.nativeElement.focus();
|
|
899
|
+
}
|
|
900
|
+
});
|
|
896
901
|
}
|
|
897
902
|
/**
|
|
898
903
|
* @hidden
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dropdowns',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.4.0
|
|
12
|
+
publishDate: 1720607952,
|
|
13
|
+
version: '16.4.0',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.4.0
|
|
41
|
+
publishDate: 1720607952,
|
|
42
|
+
version: '16.4.0',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -13030,8 +13030,14 @@ class DropDownTreeComponent {
|
|
|
13030
13030
|
* @hidden
|
|
13031
13031
|
*/
|
|
13032
13032
|
handleFilterInputChange(input) {
|
|
13033
|
-
this.filterChange.next(typeof
|
|
13033
|
+
this.filterChange.next(typeof input === 'string' ? input : input.value);
|
|
13034
13034
|
this.allNodesHidden = this.areNodesHidden(this.nodes);
|
|
13035
|
+
this._zone.onStable.pipe(take(1)).subscribe(() => {
|
|
13036
|
+
var _a;
|
|
13037
|
+
if (this.data.length === 0 || this.allNodesHidden) {
|
|
13038
|
+
(_a = this.filterInput) === null || _a === void 0 ? void 0 : _a.nativeElement.focus();
|
|
13039
|
+
}
|
|
13040
|
+
});
|
|
13035
13041
|
}
|
|
13036
13042
|
/**
|
|
13037
13043
|
* @hidden
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.4.0
|
|
41
|
+
publishDate: 1720607952,
|
|
42
|
+
version: '16.4.0',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -12995,8 +12995,13 @@ class DropDownTreeComponent {
|
|
|
12995
12995
|
* @hidden
|
|
12996
12996
|
*/
|
|
12997
12997
|
handleFilterInputChange(input) {
|
|
12998
|
-
this.filterChange.next(typeof
|
|
12998
|
+
this.filterChange.next(typeof input === 'string' ? input : input.value);
|
|
12999
12999
|
this.allNodesHidden = this.areNodesHidden(this.nodes);
|
|
13000
|
+
this._zone.onStable.pipe(take(1)).subscribe(() => {
|
|
13001
|
+
if (this.data.length === 0 || this.allNodesHidden) {
|
|
13002
|
+
this.filterInput?.nativeElement.focus();
|
|
13003
|
+
}
|
|
13004
|
+
});
|
|
13000
13005
|
}
|
|
13001
13006
|
/**
|
|
13002
13007
|
* @hidden
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "16.4.0
|
|
3
|
+
"version": "16.4.0",
|
|
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",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"@angular/forms": "15 - 18",
|
|
26
26
|
"@angular/platform-browser": "15 - 18",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "16.4.0
|
|
29
|
-
"@progress/kendo-angular-l10n": "16.4.0
|
|
30
|
-
"@progress/kendo-angular-navigation": "16.4.0
|
|
31
|
-
"@progress/kendo-angular-popup": "16.4.0
|
|
32
|
-
"@progress/kendo-angular-icons": "16.4.0
|
|
33
|
-
"@progress/kendo-angular-treeview": "16.4.0
|
|
28
|
+
"@progress/kendo-angular-common": "16.4.0",
|
|
29
|
+
"@progress/kendo-angular-l10n": "16.4.0",
|
|
30
|
+
"@progress/kendo-angular-navigation": "16.4.0",
|
|
31
|
+
"@progress/kendo-angular-popup": "16.4.0",
|
|
32
|
+
"@progress/kendo-angular-icons": "16.4.0",
|
|
33
|
+
"@progress/kendo-angular-treeview": "16.4.0",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "16.4.0
|
|
38
|
+
"@progress/kendo-angular-schematics": "16.4.0",
|
|
39
39
|
"@progress/kendo-common": "^0.2.1"
|
|
40
40
|
},
|
|
41
41
|
"schematics": "./schematics/collection.json",
|
|
@@ -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': '16.4.0
|
|
7
|
+
'@progress/kendo-angular-inputs': '16.4.0',
|
|
8
8
|
// peers of inputs
|
|
9
|
-
'@progress/kendo-angular-intl': '16.4.0
|
|
9
|
+
'@progress/kendo-angular-intl': '16.4.0',
|
|
10
10
|
'@progress/kendo-drawing': '^1.17.2',
|
|
11
11
|
// Peer dependency of icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^3.0.0'
|