import{objectType as e}from"../_util/type.mjs";import{computed as t,inject as n,provide as r}from"vue";var i=`anticon`,a=Symbol(`GlobalFormContextKey`),o=e=>{r(a,e)},s=()=>n(a,{validateMessages:t(()=>void 0)}),c=()=>({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()}),l=Symbol(`configProvider`),u={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:`ant`),iconPrefixCls:t(()=>i),getPopupContainer:t(()=>()=>document.body),direction:t(()=>`ltr`)},d=()=>n(l,u),f=e=>r(l,e);export{a as GlobalFormContextKey,l as configProviderKey,c as configProviderProps,u as defaultConfigProvider,i as defaultIconPrefixCls,d as useConfigContextInject,f as useConfigContextProvider,s as useInjectGlobalForm,o as useProvideGlobalForm};