const e=require("../_util/createContext.js");let t=require("vue");var n=Symbol(`ContextProps`),r=Symbol(`InternalContextProps`),i=(e,i=(0,t.computed)(()=>!0))=>{let a=(0,t.ref)(new Map);(0,t.getCurrentInstance)(),(0,t.watch)([i,a],()=>{}),(0,t.provide)(n,e),(0,t.provide)(r,{addFormItemField:(e,t)=>{a.value.set(e,t),a.value=new Map(a.value)},removeFormItemField:e=>{a.value.delete(e),a.value=new Map(a.value)}})},a={id:(0,t.computed)(()=>void 0),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},o={addFormItemField:()=>{},removeFormItemField:()=>{}},s=()=>{let e=(0,t.inject)(r,o),i=Symbol(`FormItemFieldKey`),s=(0,t.getCurrentInstance)();return e.addFormItemField(i,s.type),(0,t.onBeforeUnmount)(()=>{e.removeFormItemField(i)}),(0,t.provide)(r,o),(0,t.provide)(n,a),(0,t.inject)(n,a)},c=(0,t.defineComponent)({compatConfig:{MODE:3},name:`AFormItemRest`,setup(e,{slots:i}){return(0,t.provide)(r,o),(0,t.provide)(n,a),()=>i.default?.()}}),l=e.default({}),u=(0,t.defineComponent)({name:`NoFormStatus`,setup(e,{slots:t}){return l.useProvide({}),()=>t.default?.()}});exports.FormItemInputContext=l,exports.NoFormStatus=u,exports.default=c,exports.useInjectFormItemContext=s,exports.useProvideFormItemContext=i;