{"version":3,"file":"loginForm-BHk6mlg4.js","sources":["../../src/scripts/modules/loginForm.ts"],"sourcesContent":["import { Component } from '@verndale/core';\nimport PasswordInput from './passwordInput';\n\nclass LoginForm extends Component {\n constructor(el: HTMLElement) {\n super(el);\n }\n\n setupDefaults() {\n this.dom = {\n passwordInput: this.el.querySelectorAll('input[type=\"password\"]')\n };\n\n this.initPasswordInput();\n }\n\n initPasswordInput() {\n if (this.dom.passwordInput) {\n (this.dom.passwordInput as NodeList).forEach(input => {\n const inputWrapper = input.parentElement;\n new PasswordInput(inputWrapper as HTMLElement);\n });\n }\n }\n}\n\nexport default LoginForm;\n"],"names":["LoginForm","Component","el","input","inputWrapper","PasswordInput"],"mappings":"oFAGA,MAAMA,UAAkBC,CAAU,CAChC,YAAYC,EAAiB,CAC3B,MAAMA,CAAE,CAAA,CAGV,eAAgB,CACd,KAAK,IAAM,CACT,cAAe,KAAK,GAAG,iBAAiB,wBAAwB,CAClE,EAEA,KAAK,kBAAkB,CAAA,CAGzB,mBAAoB,CACd,KAAK,IAAI,eACV,KAAK,IAAI,cAA2B,QAAiBC,GAAA,CACpD,MAAMC,EAAeD,EAAM,cAC3B,IAAIE,EAAcD,CAA2B,CAAA,CAC9C,CACH,CAEJ"}