account.data-BbqfrtqX.js 1.4 KB

1
  1. import{d as s}from"./formatTime-GfXNJyvM.js";import{f as o,D as l}from"./index-CKIhG1T4.js";import{r as e}from"./formRules-3Zf-RRUe.js";import{u as t}from"./useCrudSchemas-Cdeco6qR.js";import{b as a}from"./spreadSheetsDesignerVue-MRUT1X_l.js";const{t:r}=o(),i=a({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=a([{label:"\u90AE\u7BB1",field:"mail",isSearch:!0,search:{componentProps:{style:{width:"240px"}}}},{label:"\u7528\u6237\u540D",field:"username",isSearch:!0,search:{componentProps:{style:{width:"240px"}}}},{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:l.INFRA_BOOLEAN_STRING,dictClass:"boolean",form:{component:"Radio"}},{label:"\u662F\u5426\u5F00\u542F STARTTLS",field:"starttlsEnable",dictType:l.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:p}=t(m);export{p as a,i as r};