import{Z as I}from"./bootstrap-Bqxdt4iG.js";import{a1 as i,N as u,k as p,a8 as C,E as c,L as f,U as x,a2 as a}from"../jse/index-index-BUJ_4tQs.js";const r=Symbol("ContextProps"),s=Symbol("InternalContextProps"),b=function(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c(()=>!0);const e=f(new Map),t=(m,v)=>{e.value.set(m,v),e.value=new Map(e.value)},F=m=>{e.value.delete(m),e.value=new Map(e.value)};x([o,e],()=>{}),a(r,n),a(s,{addFormItemField:t,removeFormItemField:F})},l={id:c(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},d={addFormItemField:()=>{},removeFormItemField:()=>{}},w=()=>{const n=u(s,d),o=Symbol("FormItemFieldKey"),e=p();return n.addFormItemField(o,e.type),C(()=>{n.removeFormItemField(o)}),a(s,d),a(r,l),u(r,l)},K=i({compatConfig:{MODE:3},name:"AFormItemRest",setup(n,o){let{slots:e}=o;return a(s,d),a(r,l),()=>{var t;return(t=e.default)===null||t===void 0?void 0:t.call(e)}}}),y=I({}),M=i({name:"NoFormStatus",setup(n,o){let{slots:e}=o;return y.useProvide({}),()=>{var t;return(t=e.default)===null||t===void 0?void 0:t.call(e)}}});export{y as F,M as N,b as a,K as b,w as u};
