import{c as o,a8 as s,a as e,c8 as a,a3 as i,u as l}from"./index-ip5gDR6L.js";const r=Symbol("formContextKey"),d=Symbol("formItemContextKey"),n=e=>{const a=s();return o(()=>{var o,s;return null==(s=null==(o=null==a?void 0:a.proxy)?void 0:o.$props)?void 0:s[e]})},t=(s,t={})=>{const v=e(void 0),u=t.prop?v:n("size"),m=t.global?v:a(),p=t.form?{size:void 0}:i(r,void 0),b=t.formItem?{size:void 0}:i(d,void 0);return o(()=>u.value||l(s)||(null==b?void 0:b.size)||(null==p?void 0:p.size)||m.value||"")},v=s=>{const e=n("disabled"),a=i(r,void 0);return o(()=>e.value||l(s)||(null==a?void 0:a.disabled)||!1)};export{d as a,v as b,r as f,t as u};
