import{A as e,E as t,I as n,N as r,Xt as i,b as a,dt as o,et as s,k as c,qt as l,rt as u,w as d}from"./vue-vendor-DMUmTARL.js";import{t as f}from"./_plugin-vue_export-helper-CWyGVBf-.js";var p=f(n({__name:`ZFormHint`,props:{title:{default:``},size:{default:`md`}},setup(n){let f=o(),p=t(()=>(f.default?.()??[]).some(e=>!(e.type===a||e.type===d&&typeof e.children==`string`&&!e.children.trim())));return(t,a)=>(s(),e(`div`,{class:l([`zf-form-hint el-form-item-tips`,`zf-form-hint--${n.size}`])},[t.$slots.title||n.title?(s(),e(`div`,{key:0,class:l([`zf-form-hint__title`,{"zf-form-hint__title--with-body":p.value}])},[u(t.$slots,`title`,{},()=>[r(i(n.title),1)],!0)],2)):c(``,!0),u(t.$slots,`default`,{},void 0,!0)],2))}}),[[`__scopeId`,`data-v-131ee7ab`]]);export{p as t};