igniteui-angular 12.3.39 → 12.3.40

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.
@@ -40163,6 +40163,13 @@
40163
40163
  });
40164
40164
  };
40165
40165
  /** @hidden @internal */
40166
+ IgxComboBaseDirective.prototype.ngDoCheck = function () {
40167
+ var _a;
40168
+ if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) && this.selection.length) {
40169
+ this._value = this.createDisplayText(this.selection, []);
40170
+ }
40171
+ };
40172
+ /** @hidden @internal */
40166
40173
  IgxComboBaseDirective.prototype.ngOnDestroy = function () {
40167
40174
  this.destroy$.next();
40168
40175
  this.destroy$.complete();
@@ -71663,7 +71670,7 @@
71663
71670
  BaseToolbarDirective.prototype.toggle = function (anchorElement, toggleRef, actions) {
71664
71671
  var _this = this;
71665
71672
  if (actions) {
71666
- this._setupListeners(toggleRef);
71673
+ this._setupListeners(toggleRef, actions);
71667
71674
  var setHeight = function () {
71668
71675
  var _a;
71669
71676
  return actions.columnsAreaMaxHeight = actions.columnsAreaMaxHeight !== '100%'
@@ -71684,10 +71691,7 @@
71684
71691
  var _this = this;
71685
71692
  if (actions) {
71686
71693
  if (!this.$sub || this.$sub.closed) {
71687
- this.$sub = actions.columnToggled.subscribe(function (event) { return _this.columnToggle.emit(event); });
71688
- }
71689
- else {
71690
- this.$sub.unsubscribe();
71694
+ this.$sub = actions.columnToggled.pipe(operators.takeUntil(this.$destroyer)).subscribe(function (event) { return _this.columnToggle.emit(event); });
71691
71695
  }
71692
71696
  }
71693
71697
  /** The if statement prevents emitting open and close events twice */