{ "version": 3, "sources": ["src/app/atoms/directives/hover-class.directive.ts"], "sourcesContent": ["import { Directive, HostListener, ElementRef, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[hover-class]',\r\n standalone: true\r\n})\r\nexport class HoverClassDirective {\r\n\r\n constructor(public elementRef:ElementRef) { }\r\n @Input('hover-class') hoverClass:any; \r\n \r\n @HostListener('mouseenter') onMouseEnter() {\r\n this.elementRef.nativeElement.classList.add(this.hoverClass);\r\n }\r\n\r\n @HostListener('mouseleave') onMouseLeave() {\r\n this.elementRef.nativeElement.classList.remove(this.hoverClass);\r\n }\r\n \r\n}\r\n"], "mappings": ";;;;;;;;AAMM,IAAO,uBAAP,MAAO,qBAAmB;EAE9B,YAAmB,YAAqB;AAArB,SAAA,aAAA;EAAyB;EAGhB,eAAY;AACtC,SAAK,WAAW,cAAc,UAAU,IAAI,KAAK,UAAU;EAC9D;EAE6B,eAAY;AACtC,SAAK,WAAW,cAAc,UAAU,OAAO,KAAK,UAAU;EAChE;;;mBAXW,sBAAmB,4BAAA,UAAA,CAAA;AAAA;qFAAnB,sBAAmB,WAAA,CAAA,CAAA,IAAA,eAAA,EAAA,CAAA,GAAA,cAAA,SAAA,iCAAA,IAAA,KAAA;AAAA,MAAA,KAAA,GAAA;AAAnB,IAAA,qBAAA,cAAA,SAAA,oDAAA;AAAA,aAAA,IAAA,aAAA;IAAc,CAAA,EAAK,cAAA,SAAA,oDAAA;AAAA,aAAnB,IAAA,aAAA;IAAc,CAAA;;;AAArB,IAAO,sBAAP;", "names": [] }