1import{At as i,Ct as I,Ft as L,L as f,N as y,R as u,S as l,X as S,Y as h,pt as w,zt as b}from"./vue.runtime.esm-bundler-BXOQDxND.js";import{$ as K,tt as R}from"./icon-9jHkglq3.js";f();var z=t=>{const e=y();return l(()=>e?.proxy?.$props?.[t])},p=Symbol("formContextKey"),F=Symbol("formItemContextKey");f(),I();var $=(t,e={})=>{const a=i(void 0),o=e.prop?a:z("size"),v=e.global?a:K(),m=e.form?{size:void 0}:u(p,void 0),r=e.formItem?{size:void 0}:u(F,void 0);return l(()=>o.value||b(t)||r?.size||m?.size||v.value||"")},j=t=>{const e=z("disabled"),a=u(p,void 0);return l(()=>e.value??b(t)??a?.disabled??!1)};f(),I();var A=()=>({form:u(p,void 0),formItem:u(F,void 0)}),B=(t,{formItemContext:e,disableIdGeneration:a,disableIdManagement:o})=>{a||(a=i(!1)),o||(o=i(!1));const v=y(),m=()=>{let s=v?.parent;for(;s;){if(s.type.name==="ElFormItem")return!1;if(s.type.name==="ElLabelWrap")return!0;s=s.parent}return!1},r=i();let d;const _=l(()=>!!(!(t.label||t.ariaLabel)&&e&&e.inputIds&&e.inputIds?.length<=1));return h(()=>{d=w([L(t,"id"),a],([s,c])=>{const n=s??(c?void 0:R().value);n!==r.value&&(e?.removeInputId&&!m()&&(r.value&&e.removeInputId(r.value),!o?.value&&!c&&n&&e.addInputId(n)),r.value=n)},{immediate:!0})}),S(()=>{d&&d(),e?.removeInputId&&r.value&&e.removeInputId(r.value)}),{isLabeledByFormItem:_,inputId:r}};export{p as a,$ as i,B as n,F as o,j as r,A as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.