novo-elements 6.0.4 → 6.0.5

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.
@@ -30727,6 +30727,7 @@
30727
30727
  else {
30728
30728
  event.stopPropagation();
30729
30729
  }
30730
+ this.toggleSelected(true);
30730
30731
  };
30731
30732
  /** Handle custom key presses. */
30732
30733
  NovoChipElement.prototype._handleKeydown = function (event) {
@@ -33486,11 +33487,12 @@
33486
33487
  * a previewTemplate given in the config.
33487
33488
  */
33488
33489
  NovoChipsElement.prototype.showPreview = function () {
33490
+ var _a;
33489
33491
  if (this.source.previewTemplate) {
33490
33492
  if (!this.popup) {
33491
33493
  this.popup = this.componentUtils.append(this.source.previewTemplate, this.preview);
33492
33494
  }
33493
- this.popup.instance.match = this.selected;
33495
+ this.popup.instance.match = { data: (_a = this.selected.data) !== null && _a !== void 0 ? _a : this.selected.value };
33494
33496
  }
33495
33497
  };
33496
33498
  /**
@@ -39553,7 +39555,8 @@
39553
39555
  }
39554
39556
  };
39555
39557
  NovoFileInputElement.prototype.ngOnChanges = function (changes) {
39556
- this.onModelChange(this.model);
39558
+ // Removed 6.0.5, not sure why this was here
39559
+ // this.onModelChange(this.model);}
39557
39560
  };
39558
39561
  NovoFileInputElement.prototype.updateLayout = function () {
39559
39562
  this.layoutOptions = Object.assign({}, LAYOUT_DEFAULTS$1, this.layoutOptions);