igniteui-angular 18.0.3 → 18.0.4

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.
@@ -35511,6 +35511,39 @@ const ItemHeights = {
35511
35511
  "1": 28
35512
35512
  };
35513
35513
  class IgxComboBaseDirective {
35514
+ /**
35515
+ * Gets/gets combo id.
35516
+ *
35517
+ * ```typescript
35518
+ * // get
35519
+ * let id = this.combo.id;
35520
+ * ```
35521
+ *
35522
+ * ```html
35523
+ * <!--set-->
35524
+ * <igx-combo [id]='combo1'></igx-combo>
35525
+ * ```
35526
+ */
35527
+ get id() {
35528
+ return this._id;
35529
+ }
35530
+ set id(value) {
35531
+ if (!value) {
35532
+ return;
35533
+ }
35534
+ const selection = this.selectionService.get(this._id);
35535
+ this._id = value;
35536
+ if (selection) {
35537
+ this.selectionService.set(this._id, selection);
35538
+ }
35539
+ if (this.dropdown.open) {
35540
+ this.dropdown.close();
35541
+ }
35542
+ if (this.inputGroup?.isFocused) {
35543
+ this.inputGroup.element.nativeElement.blur();
35544
+ this.inputGroup.isFocused = false;
35545
+ }
35546
+ }
35514
35547
  /**
35515
35548
  * Configures the drop down list height
35516
35549
  *
@@ -35863,20 +35896,6 @@ class IgxComboBaseDirective {
35863
35896
  * ```
35864
35897
  */
35865
35898
  this.overlaySettings = null;
35866
- /**
35867
- * Gets/gets combo id.
35868
- *
35869
- * ```typescript
35870
- * // get
35871
- * let id = this.combo.id;
35872
- * ```
35873
- *
35874
- * ```html
35875
- * <!--set-->
35876
- * <igx-combo [id]='combo1'></igx-combo>
35877
- * ```
35878
- */
35879
- this.id = `igx-combo-${NEXT_ID$f++}`;
35880
35899
  /**
35881
35900
  * Controls whether custom values can be added to the collection
35882
35901
  *
@@ -36158,6 +36177,7 @@ class IgxComboBaseDirective {
36158
36177
  this._onTouchedCallback = noop;
36159
36178
  this._onChangeCallback = noop;
36160
36179
  this.compareCollator = new Intl.Collator();
36180
+ this._id = `igx-combo-${NEXT_ID$f++}`;
36161
36181
  this._type = null;
36162
36182
  this._dataType = '';
36163
36183
  this._itemHeight = null;
@@ -72929,6 +72949,7 @@ class IgxPivotGridComponent extends IgxGridBaseDirective {
72929
72949
  set superCompactMode(value) {
72930
72950
  this._superCompactMode = value;
72931
72951
  }
72952
+ /** @hidden @internal */
72932
72953
  get gridSize() {
72933
72954
  if (this.superCompactMode) {
72934
72955
  return Size.Small;
@@ -75017,7 +75038,7 @@ class IgxGridStateDirective {
75017
75038
  Object.assign(ref1.instance, colState);
75018
75039
  ref1.instance.grid = context.currGrid;
75019
75040
  if (ref1.instance.parent) {
75020
- const columnGroup = newColumns.find(e => e.header === ref1.instance.parent);
75041
+ const columnGroup = newColumns.find(e => e.header === ref1.instance.parent && e.columnGroup);
75021
75042
  columnGroup.children.reset([...columnGroup.children.toArray(), ref1.instance]);
75022
75043
  ref1.instance.parent = columnGroup;
75023
75044
  }
@@ -75029,7 +75050,7 @@ class IgxGridStateDirective {
75029
75050
  Object.assign(ref.instance, colState);
75030
75051
  ref.instance.grid = context.currGrid;
75031
75052
  if (ref.instance.parent) {
75032
- const columnGroup = newColumns.find(e => e.header === ref.instance.parent);
75053
+ const columnGroup = newColumns.find(e => e.header === ref.instance.parent && e.columnGroup);
75033
75054
  if (columnGroup) {
75034
75055
  ref.instance.parent = columnGroup;
75035
75056
  columnGroup.children.reset([...columnGroup.children.toArray(), ref.instance]);