import{inject as t,computed as e,provide as r}from"vue";import{defaultValidateMessages as d}from"./utils/messages.mjs";const i=Symbol("formContextKey"),s=o=>{r(i,o)},v=()=>t(i,{name:e(()=>{}),labelAlign:e(()=>"right"),vertical:e(()=>!1),addField:(o,m)=>{},removeField:o=>{},model:e(()=>{}),rules:e(()=>{}),colon:e(()=>{}),labelWrap:e(()=>{}),labelCol:e(()=>{}),requiredMark:e(()=>!1),validateTrigger:e(()=>{}),onValidate:()=>{},validateMessages:e(()=>d)}),l=Symbol("formItemPrefixContextKey"),f=o=>{r(l,o)},c=()=>t(l,{prefixCls:e(()=>"")});export{i as FormContextKey,l as FormItemPrefixContextKey,v as useInjectForm,c as useInjectFormItemPrefix,s as useProvideForm,f as useProvideFormItemPrefix};
