import{d as s}from"./formatTime-DG99nHw2.js";import{J as i,A as l,N as a}from"./index-CHTXMeh8.js";import{r as e}from"./formRules-KRws1Ke5.js";import{u as o}from"./useCrudSchemas-8uncdcXs.js";const{t:r}=i(),t=l({mail:[{required:!0,message:r("profile.rules.mail"),trigger:"blur"},{type:"email",message:r("profile.rules.truemail"),trigger:["blur","change"]}],username:[e],password:[e],host:[e],port:[e],sslEnable:[e],starttlsEnable:[e]}),m=l([{label:"\u90AE\u7BB1",field:"mail",isSearch:!0},{label:"\u7528\u6237\u540D",field:"username",isSearch:!0},{label:"\u5BC6\u7801",field:"password",isTable:!1},{label:"SMTP \u670D\u52A1\u5668\u57DF\u540D",field:"host"},{label:"SMTP \u670D\u52A1\u5668\u7AEF\u53E3",field:"port",form:{component:"InputNumber",value:465}},{label:"\u662F\u5426\u5F00\u542F SSL",field:"sslEnable",dictType:a.INFRA_BOOLEAN_STRING,dictClass:"boolean",form:{component:"Radio"}},{label:"\u662F\u5426\u5F00\u542F STARTTLS",field:"starttlsEnable",dictType:a.INFRA_BOOLEAN_STRING,dictClass:"boolean",form:{component:"Radio"}},{label:"\u521B\u5EFA\u65F6\u95F4",field:"createTime",isForm:!1,formatter:s,detail:{dateFormat:"YYYY-MM-DD HH:mm:ss"}},{label:"\u64CD\u4F5C",field:"action",isForm:!1,isDetail:!1}]),{allSchemas:d}=o(m);export{d as a,t as r};
|