1import{a as p,f}from"./constants-JAUZZBS7.js";import{u as m}from"./index-DCkoyqiF.js";import{a7 as c,r as d,c as I,a0 as y,a1 as t,aD as h,ad as w,a as F}from"./index-aWB-IPs8.js";const U=()=>{const e=c(p,void 0),u=c(f,void 0);return{form:e,formItem:u}},j=(e,{formItemContext:u,disableIdGeneration:l,disableIdManagement:v})=>{l||(l=d(!1)),v||(v=d(!1));const a=d();let o;const i=I(()=>{var s;return!!(!(e.label||e.ariaLabel)&&u&&u.inputIds&&((s=u.inputIds)==null?void 0:s.length)<=1)});return y(()=>{o=t([h(e,"id"),l],([s,n])=>{const r=s??(n?void 0:m().value);r!==a.value&&(u!=null&&u.removeInputId&&(a.value&&u.removeInputId(a.value),!(v!=null&&v.value)&&!n&&r&&u.addInputId(r)),a.value=r)},{immediate:!0})}),w(()=>{o&&o(),u!=null&&u.removeInputId&&a.value&&u.removeInputId(a.value)}),{isLabeledByFormItem:i,inputId:a}},A=({from:e,replacement:u,scope:l,version:v,ref:a,type:o="API"},i)=>{t(()=>F(i),s=>{},{immediate:!0})};export{j as a,A as b,U as u};
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.