import{d as k,r as f,f as C,M as v,a as l,o as w,x as B,w as a,g as e,h as U,q as I,X as g,B as F,E as j,k as q,b6 as z,j as M,G as A,_ as D,__tla as E}from"./index-7d5b26d3.js";import{r as d,__tla as G}from"./formRules-24ef81cf.js";let _,O=Promise.all([(()=>{try{return E}catch{}})(),(()=>{try{return G}catch{}})()]).then(async()=>{_=D(k({name:"InfraCodegenBasicInfoForm",__name:"BasicInfoForm",props:{table:{type:Object,default:()=>null}},setup(c,{expose:b}){const i=c,p=f(),t=f({tableName:"",tableComment:"",className:"",author:"",remark:""}),h=C({tableName:[d],tableComment:[d],className:[d],author:[d]});return v(()=>i.table,m=>{m&&(t.value=m)},{deep:!0,immediate:!0}),b({validate:async()=>{var m;return(m=l(p))==null?void 0:m.validate()}}),(m,o)=>{const r=g,u=F,n=j,V=q,N=z,x=M,y=A;return w(),B(y,{ref_key:"formRef",ref:p,model:l(t),rules:l(h),"label-width":"120px"},{default:a(()=>[e(x,null,{default:a(()=>[e(n,{span:12},{default:a(()=>[e(u,{label:"\u8868\u540D\u79F0",prop:"tableName"},{default:a(()=>[e(r,{modelValue:l(t).tableName,"onUpdate:modelValue":o[0]||(o[0]=s=>l(t).tableName=s),placeholder:"\u8BF7\u8F93\u5165\u4ED3\u5E93\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(u,{label:"\u8868\u63CF\u8FF0",prop:"tableComment"},{default:a(()=>[e(r,{modelValue:l(t).tableComment,"onUpdate:modelValue":o[1]||(o[1]=s=>l(t).tableComment=s),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(u,{prop:"className"},{label:a(()=>[U("span",null,[I(" \u5B9E\u4F53\u7C7B\u540D\u79F0 "),e(N,{content:"\u9ED8\u8BA4\u53BB\u9664\u8868\u540D\u7684\u524D\u7F00\u3002\u5982\u679C\u5B58\u5728\u91CD\u590D\uFF0C\u5219\u9700\u8981\u624B\u52A8\u6DFB\u52A0\u524D\u7F00\uFF0C\u907F\u514D MyBatis \u62A5 Alias \u91CD\u590D\u7684\u95EE\u9898\u3002",placement:"top"},{default:a(()=>[e(V,{class:"",icon:"ep:question-filled"})]),_:1})])]),default:a(()=>[e(r,{modelValue:l(t).className,"onUpdate:modelValue":o[2]||(o[2]=s=>l(t).className=s),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(u,{label:"\u4F5C\u8005",prop:"author"},{default:a(()=>[e(r,{modelValue:l(t).author,"onUpdate:modelValue":o[3]||(o[3]=s=>l(t).author=s),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:24},{default:a(()=>[e(u,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[e(r,{modelValue:l(t).remark,"onUpdate:modelValue":o[4]||(o[4]=s=>l(t).remark=s),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/infra/codegen/components/BasicInfoForm.vue"]])});export{O as __tla,_ as default};
