import{computed as o,inject as r,provide as i}from"vue";import{objectType as e}from"../_util/type.mjs";const l="anticon",a=Symbol("GlobalFormContextKey"),s=t=>{i(a,t)},f=()=>r(a,{validateMessages:o(()=>{})}),g=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:e(),input:e(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:e(),pageHeader:e(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:e(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:e(),pagination:e(),theme:e(),select:e(),wave:e()}),c=Symbol("configProvider"),p={getPrefixCls:(t,n)=>n||(t?`ant-${t}`:"ant"),iconPrefixCls:o(()=>l),getPopupContainer:o(()=>()=>document.body),direction:o(()=>"ltr")},y=()=>r(c,p),m=t=>i(c,t);export{a as GlobalFormContextKey,c as configProviderKey,g as configProviderProps,p as defaultConfigProvider,l as defaultIconPrefixCls,y as useConfigContextInject,m as useConfigContextProvider,f as useInjectGlobalForm,s as useProvideGlobalForm};
