@progress/kendo-angular-dropdowns 25.4.0-develop.30 → 25.4.0-develop.32
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.
|
@@ -37,8 +37,8 @@ const packageMetadata = {
|
|
|
37
37
|
productName: 'Kendo UI for Angular',
|
|
38
38
|
productCode: 'KENDOUIANGULAR',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '25.4.0-develop.
|
|
40
|
+
publishDate: 1793967066,
|
|
41
|
+
version: '25.4.0-develop.32',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -649,6 +649,10 @@ class SearchBarComponent {
|
|
|
649
649
|
ngOnDestroy() {
|
|
650
650
|
this.subs.unsubscribe();
|
|
651
651
|
}
|
|
652
|
+
emitValue(value) {
|
|
653
|
+
this._previousValue = value;
|
|
654
|
+
this.valueChange.emit(value);
|
|
655
|
+
}
|
|
652
656
|
writeInputValue(text) {
|
|
653
657
|
if (isDocumentAvailable()) {
|
|
654
658
|
this.renderer.setProperty(this.input.nativeElement, 'value', text);
|
|
@@ -680,9 +684,12 @@ class SearchBarComponent {
|
|
|
680
684
|
}
|
|
681
685
|
handleInput(event) {
|
|
682
686
|
const value = event.target.value;
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
687
|
+
// Safari clears the marked text before inserting the confirmed one. The empty value is not a user edit.
|
|
688
|
+
if (this.composing && !value) {
|
|
689
|
+
return;
|
|
690
|
+
}
|
|
691
|
+
if (value !== this._previousValue) {
|
|
692
|
+
this.emitValue(value);
|
|
686
693
|
}
|
|
687
694
|
}
|
|
688
695
|
handleCompositionStart() {
|
|
@@ -690,6 +697,10 @@ class SearchBarComponent {
|
|
|
690
697
|
}
|
|
691
698
|
handleCompositionEnd() {
|
|
692
699
|
this.composing = false;
|
|
700
|
+
const value = this.value;
|
|
701
|
+
if (value !== this._previousValue) {
|
|
702
|
+
this.ngZone.run(() => this.emitValue(value));
|
|
703
|
+
}
|
|
693
704
|
}
|
|
694
705
|
handleFocus(event) {
|
|
695
706
|
this.onFocus.emit(event);
|
|
@@ -698,6 +709,9 @@ class SearchBarComponent {
|
|
|
698
709
|
this.onBlur.emit(event);
|
|
699
710
|
}
|
|
700
711
|
handleKeydown(event) {
|
|
712
|
+
if (this.composing || event.isComposing) {
|
|
713
|
+
return;
|
|
714
|
+
}
|
|
701
715
|
// on some keyboards arrow keys, PageUp/Down, and Home/End are mapped to Numpad keys
|
|
702
716
|
const keyCode = normalizeKeys(event);
|
|
703
717
|
const keys = [Keys.ArrowUp, Keys.ArrowDown, Keys.ArrowLeft, Keys.ArrowRight, Keys.Enter,
|
|
@@ -1560,6 +1574,9 @@ class NavigationService {
|
|
|
1560
1574
|
process(args) {
|
|
1561
1575
|
// on some keyboards arrow keys, PageUp/Down, and Home/End are mapped to Numpad keys
|
|
1562
1576
|
const keyCode = normalizeKeys(args.originalEvent);
|
|
1577
|
+
if (args.originalEvent.isComposing || keyCode === 'Process') {
|
|
1578
|
+
return NavigationAction.Undefined;
|
|
1579
|
+
}
|
|
1563
1580
|
const altKey = args.originalEvent.altKey;
|
|
1564
1581
|
const shiftKey = args.originalEvent.shiftKey;
|
|
1565
1582
|
const ctrlKey = args.originalEvent.ctrlKey || args.originalEvent.metaKey;
|
package/index.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ declare class SearchBarComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
96
96
|
ngOnChanges(changes: any): void;
|
|
97
97
|
ngAfterViewInit(): void;
|
|
98
98
|
ngOnDestroy(): void;
|
|
99
|
+
private emitValue;
|
|
99
100
|
private writeInputValue;
|
|
100
101
|
private setInputSelection;
|
|
101
102
|
private setAriaAutocomplete;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.4.0-develop.
|
|
10
|
+
"publishDate": 1793967066,
|
|
11
|
+
"version": "25.4.0-develop.32",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "25.4.0-develop.
|
|
3
|
+
"version": "25.4.0-develop.32",
|
|
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",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"package": {
|
|
133
133
|
"productName": "Kendo UI for Angular",
|
|
134
134
|
"productCode": "KENDOUIANGULAR",
|
|
135
|
-
"publishDate":
|
|
135
|
+
"publishDate": 1793967066,
|
|
136
136
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
@@ -143,19 +143,19 @@
|
|
|
143
143
|
"@angular/forms": "20 - 22",
|
|
144
144
|
"@angular/platform-browser": "20 - 22",
|
|
145
145
|
"@progress/kendo-licensing": "^1.13.0",
|
|
146
|
-
"@progress/kendo-angular-common": "25.4.0-develop.
|
|
147
|
-
"@progress/kendo-angular-utils": "25.4.0-develop.
|
|
148
|
-
"@progress/kendo-angular-l10n": "25.4.0-develop.
|
|
149
|
-
"@progress/kendo-angular-navigation": "25.4.0-develop.
|
|
150
|
-
"@progress/kendo-angular-popup": "25.4.0-develop.
|
|
151
|
-
"@progress/kendo-angular-icons": "25.4.0-develop.
|
|
152
|
-
"@progress/kendo-angular-inputs": "25.4.0-develop.
|
|
153
|
-
"@progress/kendo-angular-treeview": "25.4.0-develop.
|
|
146
|
+
"@progress/kendo-angular-common": "25.4.0-develop.32",
|
|
147
|
+
"@progress/kendo-angular-utils": "25.4.0-develop.32",
|
|
148
|
+
"@progress/kendo-angular-l10n": "25.4.0-develop.32",
|
|
149
|
+
"@progress/kendo-angular-navigation": "25.4.0-develop.32",
|
|
150
|
+
"@progress/kendo-angular-popup": "25.4.0-develop.32",
|
|
151
|
+
"@progress/kendo-angular-icons": "25.4.0-develop.32",
|
|
152
|
+
"@progress/kendo-angular-inputs": "25.4.0-develop.32",
|
|
153
|
+
"@progress/kendo-angular-treeview": "25.4.0-develop.32",
|
|
154
154
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
155
155
|
},
|
|
156
156
|
"dependencies": {
|
|
157
157
|
"tslib": "^2.3.1",
|
|
158
|
-
"@progress/kendo-angular-schematics": "25.4.0-develop.
|
|
158
|
+
"@progress/kendo-angular-schematics": "25.4.0-develop.32",
|
|
159
159
|
"@progress/kendo-common": "^1.0.1"
|
|
160
160
|
},
|
|
161
161
|
"schematics": "./schematics/collection.json",
|
|
@@ -9,9 +9,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
|
|
11
11
|
// peers of the treeview
|
|
12
|
-
'@progress/kendo-angular-inputs': '25.4.0-develop.
|
|
12
|
+
'@progress/kendo-angular-inputs': '25.4.0-develop.32',
|
|
13
13
|
// peers of inputs
|
|
14
|
-
'@progress/kendo-angular-intl': '25.4.0-develop.
|
|
14
|
+
'@progress/kendo-angular-intl': '25.4.0-develop.32',
|
|
15
15
|
'@progress/kendo-drawing': '^1.17.2',
|
|
16
16
|
// Peer dependency of icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|