Files
appco_dist/.output/public/_nuxt/BoFADEJV.js
T
2025-07-26 22:08:43 +03:30

2 lines
1.1 KiB
JavaScript

import{bx as I,d as i,k as c,r as p,a1 as C,bm as u,b8 as x,e as f,bn as a}from"./DE-gAEY9.js";const r=Symbol("ContextProps"),s=Symbol("InternalContextProps"),g=function(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c(()=>!0);const e=p(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)};C([o,e],()=>{}),a(r,n),a(s,{addFormItemField:t,removeFormItemField:F})},l={id:c(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},d={addFormItemField:()=>{},removeFormItemField:()=>{}},S=()=>{const n=u(s,d),o=Symbol("FormItemFieldKey"),e=x();return n.addFormItemField(o,e.type),f(()=>{n.removeFormItemField(o)}),a(s,d),a(r,l),u(r,l)},w=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)}}}),b=I({}),K=i({name:"NoFormStatus",setup(n,o){let{slots:e}=o;return b.useProvide({}),()=>{var t;return(t=e.default)===null||t===void 0?void 0:t.call(e)}}});export{w as F,K as N,b as a,g as b,S as u};