igniteui-angular 15.1.35 → 15.1.36

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.
@@ -8898,6 +8898,13 @@ class IgxSelectionAPIService {
8898
8898
  clear(componentID) {
8899
8899
  this.selection.set(componentID, this.get_empty());
8900
8900
  }
8901
+ /**
8902
+ * Removes selection for a component.
8903
+ * @param componentID
8904
+ */
8905
+ delete(componentID) {
8906
+ this.selection.delete(componentID);
8907
+ }
8901
8908
  /**
8902
8909
  * Get current component selection length.
8903
8910
  *
@@ -12647,8 +12654,8 @@ class IgxDropDownComponent extends IgxDropDownBaseDirective {
12647
12654
  ngOnDestroy() {
12648
12655
  this.destroy$.next(true);
12649
12656
  this.destroy$.complete();
12650
- this.selection.clear(this.id);
12651
- this.selection.clear(`${this.id}-active`);
12657
+ this.selection.delete(this.id);
12658
+ this.selection.delete(`${this.id}-active`);
12652
12659
  }
12653
12660
  /** @hidden @internal */
12654
12661
  calculateScrollPosition(item) {
@@ -38385,7 +38392,7 @@ class IgxComboBaseDirective extends DisplayDensityBase {
38385
38392
  this.destroy$.next();
38386
38393
  this.destroy$.complete();
38387
38394
  this.comboAPI.clear();
38388
- this.selectionService.clear(this.id);
38395
+ this.selectionService.delete(this.id);
38389
38396
  }
38390
38397
  /**
38391
38398
  * A method that opens/closes the combo.
@@ -42792,14 +42799,6 @@ class IgxSelectComponent extends IgxDropDownComponent {
42792
42799
  this.inputGroup.suffixes = this.suffixes;
42793
42800
  }
42794
42801
  }
42795
- /**
42796
- * @hidden @internal
42797
- */
42798
- ngOnDestroy() {
42799
- this.destroy$.next(true);
42800
- this.destroy$.complete();
42801
- this.selection.clear(this.id);
42802
- }
42803
42802
  /**
42804
42803
  * @hidden @internal
42805
42804
  * Prevent input blur - closing the items container on Header/Footer Template click.