| 1 |
- var t=Object.getOwnPropertySymbols;var r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var l=(e,o)=>{var i={};for(var n in e)r.call(e,n)&&o.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&t)for(var n of t(e))o.indexOf(n)<0&&a.call(e,n)&&(i[n]=e[n]);return i};import{r as p}from"./filters-8277ebe9.js";const m=[{title:"配置名称",dataIndex:"name"},{title:"主配置",dataIndex:"master"},{title:"存储类型",dataIndex:"type"}],u=[{label:"配置名称",field:"name",component:"Input",componentProps:{placeholder:"请输入配置名称"}},{label:"存储类型",field:"type",component:"Select",componentProps:{placeholder:"请选择存储类型",options:[{label:"阿里云",value:"ali"},{label:"数据库",value:"db"},{label:"本地存储",value:"1ocal"},{label:"minio存储",value:"minio"}]}}],s=[{label:"配置名称",field:"name",required:!0,component:"Input",componentProps:{placeholder:"请输入配置名称"}},{label:"主配置",field:"master",required:!0,component:"RadioGroup",componentProps:{placeholder:"请输入主配置",options:p,disabled:!1},defaultValue:0},{label:"存储类型",field:"type",component:"Select",required:!0,componentProps:{placeholder:"请选择存储类型",options:[{label:"阿里云",value:"ali"},{label:"数据库",value:"db"},{label:"本地存储",value:"local"},{label:"minio存储",value:"minio"}]}},{label:"配置参数",helpMessage:"配置参数",field:"configDividers",component:"Divider",ifShow:({values:e})=>e.type,helpComponentProps:{fontSize:"16px"}},{label:"密令",field:"config.aliAccessKey",required:!0,component:"Input",ifShow:({values:e})=>e.type=="ali",componentProps:{placeholder:"请输入密令"}},{label:"密钥",field:"config.aliAccessSecret",required:!0,component:"Input",ifShow:({values:e})=>e.type=="ali",componentProps:{placeholder:"请输入密钥"}},{label:"地域节点",field:"config.aliEndpoint",required:!0,component:"Input",ifShow:({values:e})=>e.type=="ali",componentProps:{placeholder:"请输入地域节点"}},{label:"桶名称",field:"config.aliBucketName",required:!0,component:"Input",ifShow:({values:e})=>e.type=="ali",componentProps:{placeholder:"请输入桶名称"}},{label:"自定义域名",field:"config.dbDomain",required:!0,component:"Input",ifShow:({values:e})=>e.type=="db",componentProps:{placeholder:"请输入自定义域名"}},{label:"基础路径",field:"config.localBasePath",required:!0,component:"Input",ifShow:({values:e})=>e.type=="local",componentProps:{placeholder:"请输入基础路径"}},{label:"自定义域名",field:"config.localDomain",required:!0,component:"Input",ifShow:({values:e})=>e.type=="local",componentProps:{placeholder:"请输入自定义域名"}},{label:"上传地址",field:"config.minioHttpUrl",required:!0,component:"Input",ifShow:({values:e})=>e.type=="minio",componentProps:{placeholder:"请输入上传地址"}},{label:"密令",field:"config.minioAccessKey",required:!0,component:"Input",ifShow:({values:e})=>e.type=="minio",componentProps:{placeholder:"请输入密令"}},{label:" 密钥",field:"config.minioAccessSecret",required:!0,component:"Input",ifShow:({values:e})=>e.type=="minio",componentProps:{placeholder:"请输入密钥"}},{label:"桶名称",field:"config.minioBucketName",required:!0,component:"Input",ifShow:({values:e})=>e.type=="minio",componentProps:{placeholder:"请输入桶名称"}},{label:"备注",helpMessage:"备注",field:"remarkDividers",component:"Divider",helpComponentProps:{fontSize:"16px"}},{label:"备注",field:"remark",component:"InputTextArea",componentProps:{placeholder:"请输入备注"}}],f=[{label:"配置名称",field:"name"},{label:"主配置",field:"master"},{label:"存储类型",field:"types"},{label:"密令",field:"config.aliAccessKey",show:o=>{var e=l(o,[]);return e.type=="ali"}},{label:"密钥",field:"config.aliAccessSecret",show:o=>{var e=l(o,[]);return e.type=="ali"}},{label:"地域节点",field:"config.aliEndpoint",show:o=>{var e=l(o,[]);return e.type=="ali"}},{label:"桶名称",field:"config.aliBucketName",show:o=>{var e=l(o,[]);return e.type=="ali"}},{label:"自定义域名",field:"config.dbDomain",show:o=>{var e=l(o,[]);return e.type=="db"}},{label:"基础路径",field:"config.localBasePath",show:o=>{var e=l(o,[]);return e.type=="local"}},{label:"自定义域名",field:"config.localDomain",show:o=>{var e=l(o,[]);return e.type=="local"}},{label:"上传地址",field:"config.minioHttpUrl",show:o=>{var e=l(o,[]);return e.type=="minio"}},{label:"密令",field:"config.minioAccessKey",show:o=>{var e=l(o,[]);return e.type=="minio"}},{label:" 密钥",field:"config.minioAccessSecret",show:o=>{var e=l(o,[]);return e.type=="minio"}},{label:"桶名称",field:"config.minioBucketName",show:o=>{var e=l(o,[]);return e.type=="minio"}},{label:"备注",field:"remark"}];export{m as c,s as d,u as s,f as v};
|