import{g as s,d as r,c as o,a1 as t,a2 as i,au as d,a3 as l,m as u}from"./vue-d2584a6d.js";import{V as m,i as f}from"./index-135ae4c1.js";const h=s({__name:"PasswordField",props:{hideIcon:{type:Boolean},prependIcon:{}},setup(v){const e=r(!1);function a(){e.value=!e.value}const p=o(()=>e.value?"text":"password"),c=o(()=>e.value?"mdi-eye":"mdi-eye-off");return(n,y)=>(t(),i(f,{type:p.value,"append-inner-icon":n.hideIcon?"":c.value,"onClick:appendInner":a},d({_:2},[n.prependIcon?{name:"prepend",fn:l(()=>[u(m,{color:"accent",icon:n.prependIcon},null,8,["icon"])]),key:"0"}:void 0]),1032,["type","append-inner-icon"]))}});export{h as _};
