1import{m as r,aw as l,V as c,am as g,L as F}from"./BW9x5Wpd.js";const a=g("n-form-item");function I(t,{defaultSize:s="medium",mergedSize:o,mergedDisabled:i}={}){const e=c(a,null);F(a,null);const f=r(o?()=>o(e):()=>{const{size:n}=t;if(n)return n;if(e){const{mergedSize:u}=e;if(u.value!==void 0)return u.value}return s}),m=r(i?()=>i(e):()=>{const{disabled:n}=t;return n!==void 0?n:e?e.disabled.value:!1}),d=r(()=>{const{status:n}=t;return n||(e==null?void 0:e.mergedValidationStatus.value)});return l(()=>{e&&e.restoreValidation()}),{mergedSizeRef:f,mergedDisabledRef:m,mergedStatusRef:d,nTriggerFormBlur(){e&&e.handleContentBlur()},nTriggerFormChange(){e&&e.handleContentChange()},nTriggerFormFocus(){e&&e.handleContentFocus()},nTriggerFormInput(){e&&e.handleContentInput()}}}export{a as f,I 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.