matcha-components 20.166.0 → 20.167.0

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.
@@ -12276,6 +12276,9 @@ class MatchaAutocompleteTriggerDirective {
12276
12276
  get hostDisabled() {
12277
12277
  return !!(this.disabled || this.panel?.disabled || this.ngControl?.control?.disabled);
12278
12278
  }
12279
+ get autocompleteOff() {
12280
+ return 'off';
12281
+ }
12279
12282
  ngAfterViewInit() {
12280
12283
  if (!this.panel) {
12281
12284
  throw new Error('Você precisa passar uma referência para <matcha-autocomplete> ex: [matchaAutocomplete]="auto"');
@@ -12590,7 +12593,7 @@ class MatchaAutocompleteTriggerDirective {
12590
12593
  }
12591
12594
  }
12592
12595
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: MatchaAutocompleteTriggerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
12593
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: MatchaAutocompleteTriggerDirective, isStandalone: false, selector: "[matchaAutocomplete]", inputs: { panel: ["matchaAutocomplete", "panel"], disabled: "disabled" }, host: { listeners: { "click": "onClick()", "focus": "onFocus()", "input": "onInput($event)", "blur": "onBlur()", "keydown": "onKeydown($event)", "document:click": "onDocClick($event)" }, properties: { "disabled": "this.hostDisabled" } }, ngImport: i0 }); }
12596
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: MatchaAutocompleteTriggerDirective, isStandalone: false, selector: "[matchaAutocomplete]", inputs: { panel: ["matchaAutocomplete", "panel"], disabled: "disabled" }, host: { listeners: { "click": "onClick()", "focus": "onFocus()", "input": "onInput($event)", "blur": "onBlur()", "keydown": "onKeydown($event)", "document:click": "onDocClick($event)" }, properties: { "disabled": "this.hostDisabled", "attr.autocomplete": "this.autocompleteOff" } }, ngImport: i0 }); }
12594
12597
  }
12595
12598
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: MatchaAutocompleteTriggerDirective, decorators: [{
12596
12599
  type: Directive,
@@ -12606,6 +12609,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
12606
12609
  }], hostDisabled: [{
12607
12610
  type: HostBinding,
12608
12611
  args: ['disabled']
12612
+ }], autocompleteOff: [{
12613
+ type: HostBinding,
12614
+ args: ['attr.autocomplete']
12609
12615
  }], onClick: [{
12610
12616
  type: HostListener,
12611
12617
  args: ['click']