import{p as a,Q as o,k as d,o as e,w as p,c as s,g as _,d as r,F as u,h as m,t as f,N as h}from"./app-fEKA3BkQ.js";import{c as k}from"./PageHeader-DmRLoM5E.js";const v={key:0,class:"validation-errors"},g={class:"flex flex-col"},x={__name:"ValidationErrors",setup(b){const t=a(()=>o().props.errors),n=()=>o().props.errors=[],c=a(()=>Object.keys(t.value).length>0);return(y,V)=>(e(),d(h,{name:"slide-right"},{default:p(()=>[c.value?(e(),s("div",v,[r("div",{class:"flex justify-end"},[r("button",{class:"btn btn-danger btn-sm",onClick:n},"X")]),r("div",g,[(e(!0),s(u,null,m(t.value,(l,i)=>(e(),s("p",{key:i},"* "+f(l.replace(/[.,]/g," ")),1))),128))])])):_("",!0)]),_:1}))}},C=k(x,[["__scopeId","data-v-bd991806"]]);export{C as V};
