igniteui-angular 12.3.43 → 12.3.45
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.
- package/bundles/igniteui-angular.umd.js +17 -4
- package/bundles/igniteui-angular.umd.js.map +1 -1
- package/esm2015/lib/directives/autocomplete/autocomplete.directive.js +14 -2
- package/esm2015/lib/grids/tree-grid/tree-grid-row.component.js +2 -2
- package/esm2015/lib/simple-combo/simple-combo.component.js +4 -3
- package/fesm2015/igniteui-angular.js +17 -4
- package/fesm2015/igniteui-angular.js.map +1 -1
- package/igniteui-angular.metadata.json +1 -1
- package/lib/directives/autocomplete/autocomplete.directive.d.ts +5 -0
- package/package.json +1 -1
|
@@ -22630,6 +22630,16 @@
|
|
|
22630
22630
|
IgxAutocompleteDirective.prototype.onInput = function () {
|
|
22631
22631
|
this.open();
|
|
22632
22632
|
};
|
|
22633
|
+
/** @hidden @internal */
|
|
22634
|
+
IgxAutocompleteDirective.prototype.onCompositionStart = function () {
|
|
22635
|
+
if (!this._composing) {
|
|
22636
|
+
this._composing = true;
|
|
22637
|
+
}
|
|
22638
|
+
};
|
|
22639
|
+
/** @hidden @internal */
|
|
22640
|
+
IgxAutocompleteDirective.prototype.onCompositionEnd = function () {
|
|
22641
|
+
this._composing = false;
|
|
22642
|
+
};
|
|
22633
22643
|
/** @hidden @internal */
|
|
22634
22644
|
IgxAutocompleteDirective.prototype.onArrowDown = function (event) {
|
|
22635
22645
|
event.preventDefault();
|
|
@@ -22641,7 +22651,7 @@
|
|
|
22641
22651
|
};
|
|
22642
22652
|
/** @hidden @internal */
|
|
22643
22653
|
IgxAutocompleteDirective.prototype.handleKeyDown = function (event) {
|
|
22644
|
-
if (!this.collapsed) {
|
|
22654
|
+
if (!this.collapsed && !this._composing) {
|
|
22645
22655
|
switch (event.key.toLowerCase()) {
|
|
22646
22656
|
case 'space':
|
|
22647
22657
|
case 'spacebar':
|
|
@@ -22794,6 +22804,8 @@
|
|
|
22794
22804
|
ariaActiveDescendant: [{ type: i0.HostBinding, args: ['attr.aria-activedescendant',] }],
|
|
22795
22805
|
ariaAutocomplete: [{ type: i0.HostBinding, args: ['attr.aria-autocomplete',] }],
|
|
22796
22806
|
onInput: [{ type: i0.HostListener, args: ['input',] }],
|
|
22807
|
+
onCompositionStart: [{ type: i0.HostListener, args: ['compositionstart',] }],
|
|
22808
|
+
onCompositionEnd: [{ type: i0.HostListener, args: ['compositionend',] }],
|
|
22797
22809
|
onArrowDown: [{ type: i0.HostListener, args: ['keydown.ArrowDown', ['$event'],] }, { type: i0.HostListener, args: ['keydown.Alt.ArrowDown', ['$event'],] }, { type: i0.HostListener, args: ['keydown.ArrowUp', ['$event'],] }, { type: i0.HostListener, args: ['keydown.Alt.ArrowUp', ['$event'],] }],
|
|
22798
22810
|
onTab: [{ type: i0.HostListener, args: ['keydown.Tab',] }, { type: i0.HostListener, args: ['keydown.Shift.Tab',] }]
|
|
22799
22811
|
};
|
|
@@ -41702,9 +41714,10 @@
|
|
|
41702
41714
|
if (this.isRemote) {
|
|
41703
41715
|
return this.getRemoteSelection(newSelection, oldSelection);
|
|
41704
41716
|
}
|
|
41705
|
-
if (this.displayKey !== null
|
|
41717
|
+
if (this.displayKey !== null
|
|
41718
|
+
&& this.displayKey !== undefined
|
|
41706
41719
|
&& newSelection.length > 0) {
|
|
41707
|
-
return ((_a = this.convertKeysToItems(newSelection).map(function (e) { return e[_this.displayKey]; })[0]) === null || _a === void 0 ? void 0 : _a.toString()) || '';
|
|
41720
|
+
return ((_a = this.convertKeysToItems(newSelection).filter(function (e) { return e; }).map(function (e) { return e[_this.displayKey]; })[0]) === null || _a === void 0 ? void 0 : _a.toString()) || '';
|
|
41708
41721
|
}
|
|
41709
41722
|
return ((_b = newSelection[0]) === null || _b === void 0 ? void 0 : _b.toString()) || '';
|
|
41710
41723
|
};
|
|
@@ -74683,7 +74696,7 @@
|
|
|
74683
74696
|
if (isPinnedArea) {
|
|
74684
74697
|
treeRec = this.grid.unpinnedRecords.find(function (x) { return x.data === _this.rowData; });
|
|
74685
74698
|
}
|
|
74686
|
-
return treeRec.level === 0;
|
|
74699
|
+
return (treeRec === null || treeRec === void 0 ? void 0 : treeRec.level) === 0;
|
|
74687
74700
|
},
|
|
74688
74701
|
enumerable: false,
|
|
74689
74702
|
configurable: true
|