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