{"version":3,"file":"installation-steps-row-4c034164.js","sources":["../../../../src/scripts/modules/installation-steps-row.ts"],"sourcesContent":["import { Component } from '@verndale/core';\n\nclass InstallationStepsRow extends Component {\n setupDefaults() {\n this.dom = {\n steps: this.el.querySelectorAll('.installation-steps-row__step'),\n showAllButton: this.el.querySelector(\n '.installation-steps-row__see-more'\n )\n };\n }\n\n addListeners() {\n (this.dom.showAllButton as HTMLElement)?.addEventListener(\n 'click',\n this.showAllSteps.bind(this)\n );\n }\n\n showAllSteps() {\n (this.dom.steps as NodeListOf).forEach(step => {\n step.style.display = 'list-item';\n });\n (this.dom.showAllButton as HTMLElement).style.display = 'none';\n }\n}\n\nexport default InstallationStepsRow;\n"],"names":["InstallationStepsRow","Component","_a","step"],"mappings":"wEAEA,MAAMA,UAA6BC,CAAU,CAC3C,eAAgB,CACd,KAAK,IAAM,CACT,MAAO,KAAK,GAAG,iBAAiB,+BAA+B,EAC/D,cAAe,KAAK,GAAG,cACrB,mCACF,CAAA,CAEJ,CAEA,cAAe,QACZC,EAAA,KAAK,IAAI,gBAAT,MAAAA,EAAwC,iBACvC,QACA,KAAK,aAAa,KAAK,IAAI,EAE/B,CAEA,cAAe,CACZ,KAAK,IAAI,MAAkC,QAAgBC,GAAA,CAC1DA,EAAK,MAAM,QAAU,WAAA,CACtB,EACA,KAAK,IAAI,cAA8B,MAAM,QAAU,MAC1D,CACF"}