System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./index-legacy57.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./index-legacy114.js?v=1761009159","./useMethod-legacy7.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(e,l){"use strict";var n,a,o,u,t,i,d,r,s,c,p,m,f,V,_,v;return{setters:[function(e){n=e.c,a=e.s,o=e.n,u=e.v,t=e.x,i=e.e,d=e.B,r=e.z,s=e.y,c=e.T,p=e.ab,m=e.S,f=e.an,V=e.a9},function(e){_=e.ax},function(e){v=e.M},null,null,null,null,null,null,null],execute:function(){var l={class:"p-20px"},x={class:"w-280px"},b={class:"w-100px ml-10px"},y={class:"w-280px"},g={class:"w-130px"},j={class:"w-140px ml-10px"},w={class:"w-280px"};e("default",n({__name:"index",props:{compData:{}},setup:function(e){var n=v(),U=n.rules,h=n.getDomainOptions,D=n.unitOptions,q=n.typeOptions,O=n.initForm,E=a(v()),k=E.form,M=E.domainOptions,R=E.formRef,S=e;return h(),o(function(){O(S.compData)}),function(e,n){var a=c,o=p,v=m,h=_,O=f,E=V;return u(),t("div",l,[i(E,{ref_key:"formRef",ref:R,model:s(k),rules:s(U)},{default:d(function(){return[i(o,{label:"名字",prop:"full_name"},{default:d(function(){return[r("div",x,[i(a,{modelValue:s(k).full_name,"onUpdate:modelValue":n[0]||(n[0]=function(e){return s(k).full_name=e}),placeholder:"请输入姓名"},null,8,["modelValue"])])]}),_:1}),i(o,{label:"配额",prop:"quota"},{default:d(function(){return[i(v,{modelValue:s(k).quota,"onUpdate:modelValue":n[1]||(n[1]=function(e){return s(k).quota=e}),class:"w-170px",min:0,controls:!1,placeholder:"输入邮箱的配额大小"},null,8,["modelValue"]),r("div",b,[i(h,{modelValue:s(k).quota_unit,"onUpdate:modelValue":n[2]||(n[2]=function(e){return s(k).quota_unit=e}),options:s(D)},null,8,["modelValue","options"])])]}),_:1}),i(o,{label:"用户类型",prop:"is_admin"},{default:d(function(){return[r("div",y,[i(h,{modelValue:s(k).is_admin,"onUpdate:modelValue":n[3]||(n[3]=function(e){return s(k).is_admin=e}),options:s(q)},null,8,["modelValue","options"])])]}),_:1}),i(o,{label:"邮箱地址",prop:"username"},{default:d(function(){return[r("div",g,[i(a,{modelValue:s(k).username,"onUpdate:modelValue":n[4]||(n[4]=function(e){return s(k).username=e}),disabled:e.compData.isEdit,placeholder:"您的域名"},null,8,["modelValue","disabled"])]),r("div",j,[i(h,{modelValue:s(k).domain,"onUpdate:modelValue":n[5]||(n[5]=function(e){return s(k).domain=e}),disabled:e.compData.isEdit,filterable:!0,options:s(M)},null,8,["modelValue","disabled","options"])])]}),_:1}),i(o,{label:"邮箱密码",prop:"password"},{default:d(function(){return[r("div",w,[i(a,{modelValue:s(k).password,"onUpdate:modelValue":n[6]||(n[6]=function(e){return s(k).password=e}),placeholder:e.compData.isEdit?"如果为空，密码不会更改":"请输入您的邮箱密码"},null,8,["modelValue","placeholder"])])]}),_:1}),i(o,{label:"状态",prop:"active","show-feedback":!1},{default:d(function(){return[i(O,{modelValue:s(k).active,"onUpdate:modelValue":n[7]||(n[7]=function(e){return s(k).active=e}),"active-value":1,"inactive-value":0},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","rules"])])}}}))}}});
