@wizishop/angular-components 0.0.106 → 0.0.107

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.
@@ -368,15 +368,15 @@
368
368
  InputSearchComponent.prototype.registerOnTouched = function (fn) {
369
369
  this.onTouchedCallback = fn;
370
370
  };
371
- InputSearchComponent.prototype.handleDebouncedKeyUp = function (event) {
372
- this.changeDebounced.emit(event.target.value);
371
+ InputSearchComponent.prototype.handleDebouncedKeyUp = function () {
372
+ this.changeDebounced.emit(this.value);
373
373
  };
374
374
  return InputSearchComponent;
375
375
  }());
376
376
  InputSearchComponent.decorators = [
377
377
  { type: i0.Component, args: [{
378
378
  selector: 'wac-input-search',
379
- template: "<div class=\"wac-field-input-search\" [ngClass]=\"smallPadding ? 'small-padding' : ''\">\n <p class=\"control has-icons-left has-icons-right\">\n <input\n [placeholder]=\"placeholder\"\n value=\"\"\n class=\"input\"\n type=\"text\"\n [attr.id]=\"id\"\n [(ngModel)]=\"value\"\n debounceKeyUp\n [debounceTime]=\"1000\"\n (onEventChange)=\"handleDebouncedKeyUp($event)\"\n />\n <i class=\"icon fal fa-search\"></i>\n </p>\n</div>\n",
379
+ template: "<div class=\"wac-field-input-search\" [ngClass]=\"smallPadding ? 'small-padding' : ''\">\n <p class=\"control has-icons-left has-icons-right\">\n <input\n [placeholder]=\"placeholder\"\n value=\"\"\n class=\"input\"\n type=\"text\"\n [attr.id]=\"id\"\n [(ngModel)]=\"value\"\n debounceKeyUp\n [debounceTime]=\"1000\"\n (onEventChange)=\"handleDebouncedKeyUp()\"\n />\n <i class=\"icon fal fa-search\"></i>\n </p>\n</div>\n",
380
380
  providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: InputSearchComponent, multi: true }]
381
381
  },] }
382
382
  ];
@@ -865,8 +865,7 @@
865
865
  TagComponent.decorators = [
866
866
  { type: i0.Component, args: [{
867
867
  selector: 'wac-tag',
868
- template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n",
869
- encapsulation: i0.ViewEncapsulation.None
868
+ template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n"
870
869
  },] }
871
870
  ];
872
871
  TagComponent.ctorParameters = function () { return []; };