【新增】插件git同步模块,用于同步项目内容,加速项目开发

【调整】前端暗色问题
pull/79/head^2
chudong 2025-05-14 16:50:54 +08:00
parent 819ffe8d99
commit 9af06c8780
215 changed files with 19918 additions and 9710 deletions

View File

@ -4,9 +4,9 @@
<meta charset="UTF-8" />
<link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ALLinSSL</title>
<script type="module" crossorigin src="./static/js/main-DUOwN26A.js"></script>
<link rel="stylesheet" crossorigin href="./static/css/style-DsAJ--Wa.css">
<title>AllinSSL</title>
<script type="module" crossorigin src="./static/js/main-DKqTMGci.js"></script>
<link rel="stylesheet" crossorigin href="./static/css/style-CIgcu4bk.css">
</head>
<body>
<div id="app"></div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as e,aO as r,aQ as a,z as l,U as t,A as n,bR as s,aD as i,l as o,aE as f,bS as p,b6 as u}from"./main-DUOwN26A.js";const c=e({name:"Flex",props:Object.assign(Object.assign({},n.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),setup(e){const{mergedClsPrefixRef:r,mergedRtlRef:a}=t(e),l=n("Flex","-flex",void 0,s,e,r);return{rtlEnabled:i("Flex",a,r),mergedClsPrefix:r,margin:o((()=>{const{size:r}=e;if(Array.isArray(r))return{horizontal:r[0],vertical:r[1]};if("number"==typeof r)return{horizontal:r,vertical:r};const{self:{[f("gap",r)]:a}}=l.value,{row:t,col:n}=p(a);return{horizontal:u(n),vertical:u(t)}}))}},render(){const{vertical:e,reverse:t,align:n,inline:s,justify:i,margin:o,wrap:f,mergedClsPrefix:p,rtlEnabled:u}=this,c=r(a(this),!1);return c.length?l("div",{role:"none",class:[`${p}-flex`,u&&`${p}-flex--rtl`],style:{display:s?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:i,flexWrap:!f||e?"nowrap":"wrap",alignItems:n,gap:`${o.vertical}px ${o.horizontal}px`}},c):null}});export{c as N};
import{d as e,aR as r,aT as a,z as l,U as t,A as n,bU as s,aD as i,l as o,aE as f,bV as p,b9 as u}from"./main-DKqTMGci.js";const c=e({name:"Flex",props:Object.assign(Object.assign({},n.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),setup(e){const{mergedClsPrefixRef:r,mergedRtlRef:a}=t(e),l=n("Flex","-flex",void 0,s,e,r);return{rtlEnabled:i("Flex",a,r),mergedClsPrefix:r,margin:o((()=>{const{size:r}=e;if(Array.isArray(r))return{horizontal:r[0],vertical:r[1]};if("number"==typeof r)return{horizontal:r,vertical:r};const{self:{[f("gap",r)]:a}}=l.value,{row:t,col:n}=p(a);return{horizontal:u(n),vertical:u(t)}}))}},render(){const{vertical:e,reverse:t,align:n,inline:s,justify:i,margin:o,wrap:f,mergedClsPrefix:p,rtlEnabled:u}=this,c=r(a(this),!1);return c.length?l("div",{role:"none",class:[`${p}-flex`,u&&`${p}-flex--rtl`],style:{display:s?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:i,flexWrap:!f||e?"nowrap":"wrap",alignItems:n,gap:`${o.vertical}px ${o.horizontal}px`}},c):null}});export{c as N};

View File

@ -1 +1 @@
import{d as a,E as l,F as n,G as r}from"./main-DUOwN26A.js";const t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20"},o=a({name:"Certificate20Regular",render:function(a,o){return n(),l("svg",t,o[0]||(o[0]=[r("g",{fill:"none"},[r("path",{d:"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3.146a4.508 4.508 0 0 0-1-.678V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h7.258c.076.113.157.223.242.329V15H4a2 2 0 0 1-2-2V5zm16.5 6.5c0 .954-.381 1.818-1 2.45V18a.5.5 0 0 1-.8.4l-1.4-1.05a.5.5 0 0 0-.6 0l-1.4 1.05a.5.5 0 0 1-.8-.4v-4.05a3.5 3.5 0 1 1 6-2.45zM15 15c-.537 0-1.045-.12-1.5-.337v2.087l1.243-.746a.5.5 0 0 1 .514 0l1.243.746v-2.087A3.486 3.486 0 0 1 15 15zm0-1a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5zM5 6.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm.5 4.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4z",fill:"currentColor"})],-1)]))}}),h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},w=a({name:"CloudMonitoring",render:function(a,t){return n(),l("svg",h,t[0]||(t[0]=[r("path",{d:"M28 16v6H4V6h7V4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v4H8v2h16v-2h-4v-4h8a2 2 0 0 0 2-2v-6zM18 28h-4v-4h4z",fill:"currentColor"},null,-1),r("path",{d:"M18 18h-.01a1 1 0 0 1-.951-.725L15.246 11H11V9h5a1 1 0 0 1 .962.725l1.074 3.76l3.009-9.78A1.014 1.014 0 0 1 22 3a.98.98 0 0 1 .949.684L24.72 9H30v2h-6a1 1 0 0 1-.949-.684l-1.013-3.04l-3.082 10.018A1 1 0 0 1 18 18z",fill:"currentColor"},null,-1)]))}}),v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},e=a({name:"Flow",render:function(a,t){return n(),l("svg",v,t[0]||(t[0]=[r("path",{d:"M27 22.14V17a2 2 0 0 0-2-2h-8V9.86a4 4 0 1 0-2 0V15H7a2 2 0 0 0-2 2v5.14a4 4 0 1 0 2 0V17h18v5.14a4 4 0 1 0 2 0zM8 26a2 2 0 1 1-2-2a2 2 0 0 1 2 2zm6-20a2 2 0 1 1 2 2a2 2 0 0 1-2-2zm12 22a2 2 0 1 1 2-2a2 2 0 0 1-2 2z",fill:"currentColor"},null,-1)]))}});export{o as C,e as F,w as a};
import{d as a,E as l,F as n,G as r}from"./main-DKqTMGci.js";const t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20"},o=a({name:"Certificate20Regular",render:function(a,o){return n(),l("svg",t,o[0]||(o[0]=[r("g",{fill:"none"},[r("path",{d:"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3.146a4.508 4.508 0 0 0-1-.678V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h7.258c.076.113.157.223.242.329V15H4a2 2 0 0 1-2-2V5zm16.5 6.5c0 .954-.381 1.818-1 2.45V18a.5.5 0 0 1-.8.4l-1.4-1.05a.5.5 0 0 0-.6 0l-1.4 1.05a.5.5 0 0 1-.8-.4v-4.05a3.5 3.5 0 1 1 6-2.45zM15 15c-.537 0-1.045-.12-1.5-.337v2.087l1.243-.746a.5.5 0 0 1 .514 0l1.243.746v-2.087A3.486 3.486 0 0 1 15 15zm0-1a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5zM5 6.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm.5 4.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4z",fill:"currentColor"})],-1)]))}}),h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},w=a({name:"CloudMonitoring",render:function(a,t){return n(),l("svg",h,t[0]||(t[0]=[r("path",{d:"M28 16v6H4V6h7V4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v4H8v2h16v-2h-4v-4h8a2 2 0 0 0 2-2v-6zM18 28h-4v-4h4z",fill:"currentColor"},null,-1),r("path",{d:"M18 18h-.01a1 1 0 0 1-.951-.725L15.246 11H11V9h5a1 1 0 0 1 .962.725l1.074 3.76l3.009-9.78A1.014 1.014 0 0 1 22 3a.98.98 0 0 1 .949.684L24.72 9H30v2h-6a1 1 0 0 1-.949-.684l-1.013-3.04l-3.082 10.018A1 1 0 0 1 18 18z",fill:"currentColor"},null,-1)]))}}),v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},e=a({name:"Flow",render:function(a,t){return n(),l("svg",v,t[0]||(t[0]=[r("path",{d:"M27 22.14V17a2 2 0 0 0-2-2h-8V9.86a4 4 0 1 0-2 0V15H7a2 2 0 0 0-2 2v5.14a4 4 0 1 0 2 0V17h18v5.14a4 4 0 1 0 2 0zM8 26a2 2 0 1 1-2-2a2 2 0 0 1 2 2zm6-20a2 2 0 1 1 2 2a2 2 0 0 1-2-2zm12 22a2 2 0 1 1 2-2a2 2 0 0 1-2 2z",fill:"currentColor"},null,-1)]))}});export{o as C,e as F,w as a};

View File

@ -1 +1 @@
import{d as c,E as n,F as r,G as t}from"./main-DUOwN26A.js";const o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},s=c({name:"LockOutlined",render:function(c,s){return r(),n("svg",o,s[0]||(s[0]=[t("path",{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z",fill:"currentColor"},null,-1)]))}});export{s as L};
import{d as c,E as n,F as r,G as t}from"./main-DKqTMGci.js";const o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},s=c({name:"LockOutlined",render:function(c,s){return r(),n("svg",o,s[0]||(s[0]=[t("path",{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z",fill:"currentColor"},null,-1)]))}});export{s as L};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{bb as $,bm as a,bY as t,bo as n,bv as s,bq as r}from"./main-DUOwN26A.js";import{d as e,t as o,c as f}from"./test-DX0x6VVo.js";var A=$((function($,n){return a($+1,(function(){var a=arguments[$];if(null!=a&&t(a[n]))return a[n].apply(a,Array.prototype.slice.call(arguments,0,$));throw new TypeError(e(a)+' does not have a method named "'+n+'"')}))}))(1,"split");const p="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])",z=new RegExp(`^${p}\\.${p}\\.${p}\\.${p}$`),Z="[0-9A-Fa-f]{1,4}",u=new RegExp([`^(${Z}:){7}${Z}$`,`^(${Z}:){1,7}:$`,"^:((:[0-9A-Fa-f]{1,4}){1,7}|:)$",`^(${Z}:){1,6}:${Z}$`,`^(${Z}:){1,5}(:${Z}){1,2}$`,`^(${Z}:){1,4}(:${Z}){1,3}$`,`^(${Z}:){1,3}(:${Z}){1,4}$`,`^(${Z}:){1,2}(:${Z}){1,5}$`,`^${Z}:(:${Z}){1,6}$`,"^fe80:(:[0-9A-Fa-f]{1,4}){0,4}%[0-9A-Za-z]{1,}$",`^::((ffff(:0{1,4})?:)?${p}\\.${p}\\.${p}\\.${p})$`,`^(${Z}:){1,4}:${p}\\.${p}\\.${p}\\.${p}$`].join("|")),d=new RegExp(`^${p}\\.${p}\\.${p}\\.${p}(\\/([1-2][0-9]|3[0-2]|[1-9]))?$`),i=o(/^[^\s@]+@[^\s@]+\.[^\s@]+$/);o(/^1[3-9]\d{9}$/),o(/^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/);const c=o(/^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/),m=o(z),l=o(u),b=$=>m($)||l($);o(d);const h=o(/^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/);o(/^([0-9A-Fa-f]{2}-){5}[0-9A-Fa-f]{2}$/),o(/^[\u4e00-\u9fa5]+$/);const x=o(/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),B=o(/^(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)|(?:\*))\.)+(?:[a-zA-Z\u00a1-\uffff]{2,}|xn--[a-zA-Z0-9]+)$/),F=o(/^\*\.(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),g=($,a=",")=>f(s(!0),r(($=>x($)||F($)||B($)),A(a,$)));n((($,a=2,t=!0,n="")=>{if(0===$)return t?"0 B":"0";const s=["B","KB","MB","GB","TB"],r=($,e)=>{const o=s[e],f=0===e||0===a?Math.round($).toString():$.toFixed(a);return n&&o===n||$<1024||e>=s.length-1?t?`${f} ${o}`:f:r($/1024,e+1)};return r($,0)}));export{h as H,x as N,b as O,c as T,g as W,i as w};
import{be as $,bp as a,b$ as t,br as n,by as r,bt as s}from"./main-DKqTMGci.js";import{d as e,t as o,c as f}from"./test-BLZVy0JC.js";var A=$((function($,n){return a($+1,(function(){var a=arguments[$];if(null!=a&&t(a[n]))return a[n].apply(a,Array.prototype.slice.call(arguments,0,$));throw new TypeError(e(a)+' does not have a method named "'+n+'"')}))}))(1,"split");const p="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])",z=new RegExp(`^${p}\\.${p}\\.${p}\\.${p}$`),Z="[0-9A-Fa-f]{1,4}",u=new RegExp([`^(${Z}:){7}${Z}$`,`^(${Z}:){1,7}:$`,"^:((:[0-9A-Fa-f]{1,4}){1,7}|:)$",`^(${Z}:){1,6}:${Z}$`,`^(${Z}:){1,5}(:${Z}){1,2}$`,`^(${Z}:){1,4}(:${Z}){1,3}$`,`^(${Z}:){1,3}(:${Z}){1,4}$`,`^(${Z}:){1,2}(:${Z}){1,5}$`,`^${Z}:(:${Z}){1,6}$`,"^fe80:(:[0-9A-Fa-f]{1,4}){0,4}%[0-9A-Za-z]{1,}$",`^::((ffff(:0{1,4})?:)?${p}\\.${p}\\.${p}\\.${p})$`,`^(${Z}:){1,4}:${p}\\.${p}\\.${p}\\.${p}$`].join("|")),d=new RegExp(`^${p}\\.${p}\\.${p}\\.${p}(\\/([1-2][0-9]|3[0-2]|[1-9]))?$`),i=o(/^[^\s@]+@[^\s@]+\.[^\s@]+$/);o(/^1[3-9]\d{9}$/),o(/^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/);const c=o(/^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/),m=o(z),l=o(u),h=$=>m($)||l($);o(d);const x=o(/^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/);o(/^([0-9A-Fa-f]{2}-){5}[0-9A-Fa-f]{2}$/),o(/^[\u4e00-\u9fa5]+$/);const b=o(/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),y=o(/^(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)|(?:\*))\.)+(?:[a-zA-Z\u00a1-\uffff]{2,}|xn--[a-zA-Z0-9]+)$/),B=o(/^\*\.(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),F=($,a=",")=>f(r(!0),s(($=>b($)||B($)||y($)),A(a,$)));n((($,a=2,t=!0,n="")=>{if(0===$)return t?"0 B":"0";const r=["B","KB","MB","GB","TB"],s=($,e)=>{const o=r[e],f=0===e||0===a?Math.round($).toString():$.toFixed(a);return n&&o===n||$<1024||e>=r.length-1?t?`${f} ${o}`:f:s($/1024,e+1)};return s($,0)}));export{x as H,b as N,h as O,c as T,F as W,i as w};

View File

@ -1 +1 @@
import{c as t}from"./index-DgjT6rfd.js";const e=e=>t("/v1/cert/get_list",e),r=e=>t("/v1/cert/upload_cert",e),c=e=>t("/v1/cert/del_cert",e);export{c as d,e as g,r as u};
import{c as t}from"./index-DoBLtCBk.js";const e=e=>t("/v1/cert/get_list",e),r=e=>t("/v1/cert/upload_cert",e),c=e=>t("/v1/cert/del_cert",e);export{c as d,e as g,r as u};

View File

@ -1 +1 @@
import{d as e,r as a,y as t,l as r,m as l,$ as o,x as s,o as i,c as u}from"./main-DUOwN26A.js";import{u as c}from"./index-DgjT6rfd.js";import{u as n,k as d}from"./index-DobLzAdB.js";import{u as v,g as m}from"./cert-CO76XRgq.js";import{r as p}from"./verify-Bitg124P.js";import"./index-BygmNX12.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";const _=e({name:"UploadNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{cert_id:"",cert:"",key:""}})}},setup(e){const{updateNodeConfig:_,isRefreshNode:f}=n(),{useFormTextarea:y,useFormSelect:h,useFormHelp:k}=l(),j=a(d(e.node.config)),{confirm:w,options:x}=t(),{handleError:b}=c(),g=x(),F=a([{cert:"",key:"",label:"自定义证书",value:""}]),N=r((()=>[h(o("t_0_1747110184700"),"cert_id",F.value,{filterable:!0,onUpdateValue:e=>{j.value.cert_id=e;const a=T(e);a&&(j.value.cert=a.cert,j.value.key=a.key)}},{showRequireMark:!1}),y(o("t_34_1745735771147"),"cert",{placeholder:o("t_35_1745735781545"),rows:6,readonly:""!==j.value.cert_id,onInput:e=>j.value.cert=e.trim()}),y(o("t_36_1745735769443"),"key",{placeholder:o("t_37_1745735779980"),rows:6,readonly:""!==j.value.cert_id,onInput:e=>j.value.key=e.trim()}),k([{content:o("t_1_1747110191587")},{content:o("t_2_1747110193465")}])])),{component:I,data:R,example:S}=s({defaultValue:j,config:N,rules:p}),T=e=>F.value.find((a=>a.value===e));return i((async()=>{await(async()=>{try{const{data:e}=await m({p:1,limit:100}).fetch();F.value=(null==e?void 0:e.map((e=>({cert:e.cert,key:e.key,label:e.domains+" 【 "+e.issuer+" 】",value:e.sha256}))))||[],F.value.unshift({cert:"",key:"",label:"自定义证书",value:""})}catch(e){F.value=[],b(e)}})()})),g.value.confirmText=r((()=>""===j.value.cert_id?o("t_3_1747110185110"):o("t_2_1744861190040"))),w((async a=>{var t;try{if(await(null==(t=S.value)?void 0:t.validate()),""===j.value.cert_id){const{data:e}=await v(j.value).fetch();j.value.cert_id=e}_(e.node.id,R.value),f.value=e.node.id,a()}catch(r){b(r)}})),()=>u("div",{class:"upload-node-drawer"},[u(I,{labelPlacement:"top"},null)])}});export{_ as default};
import{d as e,r as a,y as t,l as r,m as l,$ as o,x as s,o as i,c as u}from"./main-DKqTMGci.js";import{u as c}from"./index-DoBLtCBk.js";import{u as n,k as d}from"./index-DffoH-R8.js";import{u as v,g as m}from"./cert-BZ7eWr4f.js";import{r as p}from"./verify-DqBodpCp.js";import"./index-K1QYmvkf.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";const _=e({name:"UploadNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{cert_id:"",cert:"",key:""}})}},setup(e){const{updateNodeConfig:_,isRefreshNode:f}=n(),{useFormTextarea:y,useFormSelect:h,useFormHelp:k}=l(),j=a(d(e.node.config)),{confirm:w,options:x}=t(),{handleError:b}=c(),g=x(),F=a([{cert:"",key:"",label:"自定义证书",value:""}]),N=r((()=>[h(o("t_0_1747110184700"),"cert_id",F.value,{filterable:!0,onUpdateValue:e=>{j.value.cert_id=e;const a=T(e);a&&(j.value.cert=a.cert,j.value.key=a.key)}},{showRequireMark:!1}),y(o("t_34_1745735771147"),"cert",{placeholder:o("t_35_1745735781545"),rows:6,readonly:""!==j.value.cert_id,onInput:e=>j.value.cert=e.trim()}),y(o("t_36_1745735769443"),"key",{placeholder:o("t_37_1745735779980"),rows:6,readonly:""!==j.value.cert_id,onInput:e=>j.value.key=e.trim()}),k([{content:o("t_1_1747110191587")},{content:o("t_2_1747110193465")}])])),{component:I,data:R,example:S}=s({defaultValue:j,config:N,rules:p}),T=e=>F.value.find((a=>a.value===e));return i((async()=>{await(async()=>{try{const{data:e}=await m({p:1,limit:100}).fetch();F.value=(null==e?void 0:e.map((e=>({cert:e.cert,key:e.key,label:e.domains+" 【 "+e.issuer+" 】",value:e.sha256}))))||[],F.value.unshift({cert:"",key:"",label:"自定义证书",value:""})}catch(e){F.value=[],b(e)}})()})),g.value.confirmText=r((()=>""===j.value.cert_id?o("t_3_1747110185110"):o("t_2_1744861190040"))),w((async a=>{var t;try{if(await(null==(t=S.value)?void 0:t.validate()),""===j.value.cert_id){const{data:e}=await v(j.value).fetch();j.value.cert_id=e}_(e.node.id,R.value),f.value=e.node.id,a()}catch(r){b(r)}})),()=>u("div",{class:"upload-node-drawer"},[u(I,{labelPlacement:"top"},null)])}});export{_ as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as e,r as o,m as r,$ as t,c as a,x as i,y as s}from"./main-DUOwN26A.js";import{u as d,k as n}from"./index-DobLzAdB.js";import{u as p}from"./index-DgjT6rfd.js";import{N as u}from"./index-DB8a04kf.js";import{r as l}from"./verify-DntmcGWB.js";import"./index-BygmNX12.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";import"./useStore-D55peUEd.js";import"./setting-BtTwGaRp.js";import"./index-BFoI7iji.js";import"./index-C9r2f0Ic.js";import"./Flex-D8wlmEmi.js";import"./text-D2UE5EL1.js";const m=e({name:"NotifyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{provider:"",provider_id:"",subject:"",body:""}})}},setup(e){const{updateNodeConfig:m,isRefreshNode:v}=d(),{useFormInput:c,useFormTextarea:j,useFormCustom:f}=r(),{confirm:x}=s(),{handleError:y}=p(),_=o(n(e.node.config)),b=[c(t("t_0_1745920566646"),"subject",{placeholder:t("t_3_1745887835089"),onInput:e=>_.value.subject=e.trim()}),j(t("t_1_1745920567200"),"body",{placeholder:t("t_4_1745887835265"),rows:4,onInput:e=>_.value.body=e.trim()}),f((()=>a(u,{path:"provider_id",value:_.value.provider_id,isAddMode:!0,"onUpdate:value":e=>{_.value.provider_id=e.value,_.value.provider=e.type}},null)))],{component:h,data:g,example:N}=i({defaultValue:_,config:b,rules:l});return x((async o=>{var r;try{await(null==(r=N.value)?void 0:r.validate()),m(e.node.id,g.value),v.value=e.node.id,o()}catch(t){y(t)}})),()=>a("div",{class:"notify-node-drawer"},[a(h,{labelPlacement:"top"},null)])}});export{m as default};
import{d as e,r as o,m as r,$ as t,c as a,x as i,y as s}from"./main-DKqTMGci.js";import{u as d,k as n}from"./index-DffoH-R8.js";import{u as p}from"./index-DoBLtCBk.js";import{N as u}from"./index-BR6XzYWc.js";import{r as l}from"./verify-B43ktUsL.js";import"./index-K1QYmvkf.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";import"./useStore-BxWZ-2Xk.js";import"./setting-huTIIu1c.js";import"./index-CpnxPwGt.js";import"./index-ClL52y7R.js";import"./Flex-CfuRT3n6.js";import"./text-CBxeXF61.js";const m=e({name:"NotifyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{provider:"",provider_id:"",subject:"",body:""}})}},setup(e){const{updateNodeConfig:m,isRefreshNode:v}=d(),{useFormInput:c,useFormTextarea:j,useFormCustom:f}=r(),{confirm:x}=s(),{handleError:y}=p(),_=o(n(e.node.config)),b=[c(t("t_0_1745920566646"),"subject",{placeholder:t("t_3_1745887835089"),onInput:e=>_.value.subject=e.trim()}),j(t("t_1_1745920567200"),"body",{placeholder:t("t_4_1745887835265"),rows:4,onInput:e=>_.value.body=e.trim()}),f((()=>a(u,{path:"provider_id",value:_.value.provider_id,isAddMode:!0,"onUpdate:value":e=>{_.value.provider_id=e.value,_.value.provider=e.type}},null)))],{component:h,data:g,example:N}=i({defaultValue:_,config:b,rules:l});return x((async o=>{var r;try{await(null==(r=N.value)?void 0:r.validate()),m(e.node.id,g.value),v.value=e.node.id,o()}catch(t){y(t)}})),()=>a("div",{class:"notify-node-drawer"},[a(h,{labelPlacement:"top"},null)])}});export{m as default};

View File

@ -1 +1 @@
import{d as e,r as a,l as r,m as s,$ as t,c as o,bJ as l,p as n,x as i,y as d}from"./main-DUOwN26A.js";import{u as p,k as m}from"./index-DobLzAdB.js";import{r as u}from"./verify-TSo8Q64G.js";import{D as v}from"./index-BbsMgSA8.js";import"./index-BygmNX12.js";import"./index-DgjT6rfd.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";import"./business-CRXZMi5O.js";import"./useStore-D55peUEd.js";import"./setting-BtTwGaRp.js";import"./index-BFoI7iji.js";import"./index-C9r2f0Ic.js";import"./text-D2UE5EL1.js";import"./Flex-D8wlmEmi.js";const _=e({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{domains:"",email:"",provider_id:"",provider:"",end_day:30,name_server:"",skip_check:1}})}},setup(e){const{updateNodeConfig:_,isRefreshNode:c}=p(),{confirm:j}=d(),{useFormInput:y,useFormHelp:f,useFormSwitch:h}=s(),x=a(m(e.node.config)),g=r((()=>[y(t("t_17_1745227838561"),"domains",{placeholder:t("t_0_1745735774005"),onInput:e=>{x.value.domains=e.trim(),x.value.domains=x.value.domains.replace(//g,","),x.value.domains=x.value.domains.replace(/;/g,",")},onFocus:()=>{x.value.domains=x.value.domains.replace(/,^/g,"")}}),y(t("t_1_1745735764953"),"email",{placeholder:t("t_2_1745735773668"),onInput:e=>x.value.email=e.trim()}),{type:"custom",render:()=>o(v,{type:"dns",path:"provider_id",value:x.value.provider_id,"onUpdate:value":e=>{x.value.provider_id=e.value,x.value.provider=e.type}},null)},{type:"custom",render:()=>o(n,{label:t("t_5_1745735769112"),path:"end_day"},{default:()=>[o(l,{value:x.value.end_day,"onUpdate:value":e=>x.value.end_day=e,showButton:!1,min:1,class:"w-[180px]",placeholder:t("t_6_1745735765205")},null),o("span",{class:"text-[1.4rem] ml-[1.2rem]"},[t("t_7_1745735768326")])]})},y(t("t_0_1747106957037"),"name_server",{placeholder:t("t_1_1747106961747"),onInput:e=>{x.value.name_server=e.trim(),x.value.name_server=x.value.name_server.replace(//g,","),x.value.name_server=x.value.name_server.replace(/;/g,",")},onFocus:()=>{x.value.name_server=x.value.name_server.replace(/,^/g,"")}},{showRequireMark:!1}),h(t("t_2_1747106957037"),"skip_check",{},{showRequireMark:!1}),f([{content:t("t_0_1747040228657"),isHtml:!1},{content:t("t_1_1747040226143"),isHtml:!1}])])),{component:w,data:k,example:F}=i({defaultValue:x,config:g,rules:u});return j((async a=>{var r;try{await(null==(r=F.value)?void 0:r.validate()),_(e.node.id,k.value),c.value=e.node.id,a()}catch(s){}})),()=>o("div",{class:"apply-node-drawer"},[o(w,{labelPlacement:"top"},null)])}});export{_ as default};
import{d as e,r as a,l as r,m as s,$ as t,c as o,bM as l,p as n,x as i,y as d}from"./main-DKqTMGci.js";import{u as p,k as m}from"./index-DffoH-R8.js";import{r as u}from"./verify-Ccmvvliy.js";import{D as v}from"./index-DpMxWTvF.js";import"./index-K1QYmvkf.js";import"./index-DoBLtCBk.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";import"./business-DeShhBC1.js";import"./useStore-BxWZ-2Xk.js";import"./setting-huTIIu1c.js";import"./index-CpnxPwGt.js";import"./index-ClL52y7R.js";import"./text-CBxeXF61.js";import"./Flex-CfuRT3n6.js";const _=e({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{domains:"",email:"",provider_id:"",provider:"",end_day:30,name_server:"",skip_check:1}})}},setup(e){const{updateNodeConfig:_,isRefreshNode:c}=p(),{confirm:j}=d(),{useFormInput:y,useFormHelp:f,useFormSwitch:h}=s(),x=a(m(e.node.config)),g=r((()=>[y(t("t_17_1745227838561"),"domains",{placeholder:t("t_0_1745735774005"),onInput:e=>{x.value.domains=e.trim(),x.value.domains=x.value.domains.replace(//g,","),x.value.domains=x.value.domains.replace(/;/g,",")},onFocus:()=>{x.value.domains=x.value.domains.replace(/,^/g,"")}}),y(t("t_1_1745735764953"),"email",{placeholder:t("t_2_1745735773668"),onInput:e=>x.value.email=e.trim()}),{type:"custom",render:()=>o(v,{type:"dns",path:"provider_id",value:x.value.provider_id,"onUpdate:value":e=>{x.value.provider_id=e.value,x.value.provider=e.type}},null)},{type:"custom",render:()=>o(n,{label:t("t_5_1745735769112"),path:"end_day"},{default:()=>[o(l,{value:x.value.end_day,"onUpdate:value":e=>x.value.end_day=e,showButton:!1,min:1,class:"w-[180px]",placeholder:t("t_6_1745735765205")},null),o("span",{class:"text-[1.4rem] ml-[1.2rem]"},[t("t_7_1745735768326")])]})},y(t("t_0_1747106957037"),"name_server",{placeholder:t("t_1_1747106961747"),onInput:e=>{x.value.name_server=e.trim(),x.value.name_server=x.value.name_server.replace(//g,","),x.value.name_server=x.value.name_server.replace(/;/g,",")},onFocus:()=>{x.value.name_server=x.value.name_server.replace(/,^/g,"")}},{showRequireMark:!1}),h(t("t_2_1747106957037"),"skip_check",{},{showRequireMark:!1}),f([{content:t("t_0_1747040228657"),isHtml:!1},{content:t("t_1_1747040226143"),isHtml:!1}])])),{component:w,data:k,example:F}=i({defaultValue:x,config:g,rules:u});return j((async a=>{var r;try{await(null==(r=F.value)?void 0:r.validate()),_(e.node.id,k.value),c.value=e.node.id,a()}catch(s){}})),()=>o("div",{class:"apply-node-drawer"},[o(w,{labelPlacement:"top"},null)])}});export{_ as default};

View File

@ -1 +1 @@
import{Q as e,Z as a,d as l,z as t,U as o,A as n,bW as r,l as u,aE as s,X as i,r as d,$ as p,m as v,c as b,q as c,n as m,v as h,x as _,w as f,y,bJ as g,bX as x,i as w}from"./main-DUOwN26A.js";import{u as k,k as z}from"./index-DobLzAdB.js";import{r as j}from"./verify-t26GTzlI.js";import{u as C}from"./index-DgjT6rfd.js";import"./index-BygmNX12.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";const R=e("input-group-label","\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n box-sizing: border-box;\n padding: 0 12px;\n display: inline-block;\n border-radius: var(--n-border-radius);\n background-color: var(--n-group-label-color);\n color: var(--n-group-label-text-color);\n font-size: var(--n-font-size);\n line-height: var(--n-height);\n height: var(--n-height);\n flex-shrink: 0;\n white-space: nowrap;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[a("border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-group-label-border);\n transition: border-color .3s var(--n-bezier);\n ")]),B=l({name:"InputGroupLabel",props:Object.assign(Object.assign({},n.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),setup(e){const{mergedBorderedRef:a,mergedClsPrefixRef:l,inlineThemeDisabled:t}=o(e),d=n("Input","-input-group-label",R,r,e,l),p=u((()=>{const{size:a}=e,{common:{cubicBezierEaseInOut:l},self:{groupLabelColor:t,borderRadius:o,groupLabelTextColor:n,lineHeight:r,groupLabelBorder:u,[s("fontSize",a)]:i,[s("height",a)]:p}}=d.value;return{"--n-bezier":l,"--n-group-label-color":t,"--n-group-label-border":u,"--n-border-radius":o,"--n-group-label-text-color":n,"--n-font-size":i,"--n-line-height":r,"--n-height":p}})),v=t?i("input-group-label",u((()=>e.size[0])),p,e):void 0;return{mergedClsPrefix:l,mergedBordered:a,cssVars:t?void 0:p,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e,a,l;const{mergedClsPrefix:o}=this;return null===(e=this.onRender)||void 0===e||e.call(this),t("div",{class:[`${o}-input-group-label`,this.themeClass],style:this.cssVars},null===(l=(a=this.$slots).default)||void 0===l?void 0:l.call(a),this.mergedBordered?t("div",{class:`${o}-input-group-label__border`}):null)}});function O(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!w(e)}const S=l({name:"StartNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{exec_type:"auto"}})}},setup(e){const{updateNodeConfig:a,isRefreshNode:l}=k(),{confirm:t}=y(),{handleError:o}=C(),{useFormRadio:n,useFormCustom:r}=v(),s=d(z(e.node.config)),i=[{label:p("t_2_1744875938555"),value:"day"},{label:p("t_0_1744942117992"),value:"week"},{label:p("t_3_1744875938310"),value:"month"}],w=[{label:p("t_1_1744942116527"),value:1},{label:p("t_2_1744942117890"),value:2},{label:p("t_3_1744942117885"),value:3},{label:p("t_4_1744942117738"),value:4},{label:p("t_5_1744942117167"),value:5},{label:p("t_6_1744942117815"),value:6},{label:p("t_7_1744942117862"),value:0}],R={day:{exec_type:"auto",type:"day",hour:1,minute:0},week:{exec_type:"auto",type:"week",hour:1,minute:0,week:1},month:{exec_type:"auto",type:"month",hour:1,minute:0,month:1}},S=(e,a,l,t)=>b(x,null,{default:()=>[b(g,{value:e,onUpdateValue:e=>{null!==e&&a(e)},max:l,min:0,showButton:!1,class:"w-full"},null),b(B,null,O(t)?t:{default:()=>[t]})]}),V=u((()=>{const e=[];return"auto"===s.value.exec_type&&e.push(r((()=>{let e,a;return b(h,{cols:24,xGap:24},{default:()=>[b(c,{label:p("t_2_1744879616413"),span:8,showRequireMark:!0,path:"type"},{default:()=>[b(m,{class:"w-full",options:i,value:s.value.type,"onUpdate:value":e=>s.value.type=e},null)]}),"day"!==s.value.type&&b(c,{span:5,path:"week"===s.value.type?"week":"month"},{default:()=>["week"===s.value.type?b(m,{value:s.value.week,onUpdateValue:e=>{"number"==typeof e&&(s.value.week=e)},options:w},null):S(s.value.month||0,(e=>s.value.month=e),31,p("t_29_1744958838904"))]}),b(c,{span:"day"===s.value.type?7:5,path:"hour"},O(e=S(s.value.hour||0,(e=>s.value.hour=e),23,p("t_5_1744879615277")))?e:{default:()=>[e]}),b(c,{span:"day"===s.value.type?7:5,path:"minute"},O(a=S(s.value.minute||0,(e=>s.value.minute=e),59,p("t_3_1744879615723")))?a:{default:()=>[a]})]})}))),[n(p("t_30_1745735764748"),"exec_type",[{label:p("t_4_1744875940750"),value:"auto"},{label:p("t_5_1744875940010"),value:"manual"}]),...e]})),{component:L,data:P,example:U}=_({defaultValue:s,config:V,rules:j}),$=e=>{s.value={...e}};return f((()=>s.value.exec_type),(e=>{"auto"===e?$(R.day):"manual"===e&&$({exec_type:"manual"})})),f((()=>s.value.type),(e=>{e&&"auto"===s.value.exec_type&&$(R[e])})),t((async t=>{var n;try{await(null==(n=U.value)?void 0:n.validate()),a(e.node.id,P.value),l.value=e.node.id,t()}catch(r){o(r)}})),()=>b("div",{class:"apply-node-drawer"},[b(L,{labelPlacement:"top"},null)])}});export{S as default};
import{Q as e,Z as a,d as l,z as t,U as o,A as n,bZ as r,l as u,aE as s,X as i,r as d,$ as p,m as v,c as b,q as c,n as m,v as h,x as _,w as f,y,bM as g,b_ as x,i as w}from"./main-DKqTMGci.js";import{u as k,k as z}from"./index-DffoH-R8.js";import{r as j}from"./verify-B-A9YSDN.js";import{u as C}from"./index-DoBLtCBk.js";import"./index-K1QYmvkf.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";const R=e("input-group-label","\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n box-sizing: border-box;\n padding: 0 12px;\n display: inline-block;\n border-radius: var(--n-border-radius);\n background-color: var(--n-group-label-color);\n color: var(--n-group-label-text-color);\n font-size: var(--n-font-size);\n line-height: var(--n-height);\n height: var(--n-height);\n flex-shrink: 0;\n white-space: nowrap;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[a("border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-group-label-border);\n transition: border-color .3s var(--n-bezier);\n ")]),B=l({name:"InputGroupLabel",props:Object.assign(Object.assign({},n.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),setup(e){const{mergedBorderedRef:a,mergedClsPrefixRef:l,inlineThemeDisabled:t}=o(e),d=n("Input","-input-group-label",R,r,e,l),p=u((()=>{const{size:a}=e,{common:{cubicBezierEaseInOut:l},self:{groupLabelColor:t,borderRadius:o,groupLabelTextColor:n,lineHeight:r,groupLabelBorder:u,[s("fontSize",a)]:i,[s("height",a)]:p}}=d.value;return{"--n-bezier":l,"--n-group-label-color":t,"--n-group-label-border":u,"--n-border-radius":o,"--n-group-label-text-color":n,"--n-font-size":i,"--n-line-height":r,"--n-height":p}})),v=t?i("input-group-label",u((()=>e.size[0])),p,e):void 0;return{mergedClsPrefix:l,mergedBordered:a,cssVars:t?void 0:p,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e,a,l;const{mergedClsPrefix:o}=this;return null===(e=this.onRender)||void 0===e||e.call(this),t("div",{class:[`${o}-input-group-label`,this.themeClass],style:this.cssVars},null===(l=(a=this.$slots).default)||void 0===l?void 0:l.call(a),this.mergedBordered?t("div",{class:`${o}-input-group-label__border`}):null)}});function O(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!w(e)}const S=l({name:"StartNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{exec_type:"auto"}})}},setup(e){const{updateNodeConfig:a,isRefreshNode:l}=k(),{confirm:t}=y(),{handleError:o}=C(),{useFormRadio:n,useFormCustom:r}=v(),s=d(z(e.node.config)),i=[{label:p("t_2_1744875938555"),value:"day"},{label:p("t_0_1744942117992"),value:"week"},{label:p("t_3_1744875938310"),value:"month"}],w=[{label:p("t_1_1744942116527"),value:1},{label:p("t_2_1744942117890"),value:2},{label:p("t_3_1744942117885"),value:3},{label:p("t_4_1744942117738"),value:4},{label:p("t_5_1744942117167"),value:5},{label:p("t_6_1744942117815"),value:6},{label:p("t_7_1744942117862"),value:0}],R={day:{exec_type:"auto",type:"day",hour:1,minute:0},week:{exec_type:"auto",type:"week",hour:1,minute:0,week:1},month:{exec_type:"auto",type:"month",hour:1,minute:0,month:1}},S=(e,a,l,t)=>b(x,null,{default:()=>[b(g,{value:e,onUpdateValue:e=>{null!==e&&a(e)},max:l,min:0,showButton:!1,class:"w-full"},null),b(B,null,O(t)?t:{default:()=>[t]})]}),V=u((()=>{const e=[];return"auto"===s.value.exec_type&&e.push(r((()=>{let e,a;return b(h,{cols:24,xGap:24},{default:()=>[b(c,{label:p("t_2_1744879616413"),span:8,showRequireMark:!0,path:"type"},{default:()=>[b(m,{class:"w-full",options:i,value:s.value.type,"onUpdate:value":e=>s.value.type=e},null)]}),"day"!==s.value.type&&b(c,{span:5,path:"week"===s.value.type?"week":"month"},{default:()=>["week"===s.value.type?b(m,{value:s.value.week,onUpdateValue:e=>{"number"==typeof e&&(s.value.week=e)},options:w},null):S(s.value.month||0,(e=>s.value.month=e),31,p("t_29_1744958838904"))]}),b(c,{span:"day"===s.value.type?7:5,path:"hour"},O(e=S(s.value.hour||0,(e=>s.value.hour=e),23,p("t_5_1744879615277")))?e:{default:()=>[e]}),b(c,{span:"day"===s.value.type?7:5,path:"minute"},O(a=S(s.value.minute||0,(e=>s.value.minute=e),59,p("t_3_1744879615723")))?a:{default:()=>[a]})]})}))),[n(p("t_30_1745735764748"),"exec_type",[{label:p("t_4_1744875940750"),value:"auto"},{label:p("t_5_1744875940010"),value:"manual"}]),...e]})),{component:L,data:P,example:U}=_({defaultValue:s,config:V,rules:j}),$=e=>{s.value={...e}};return f((()=>s.value.exec_type),(e=>{"auto"===e?$(R.day):"manual"===e&&$({exec_type:"manual"})})),f((()=>s.value.type),(e=>{e&&"auto"===s.value.exec_type&&$(R[e])})),t((async t=>{var n;try{await(null==(n=U.value)?void 0:n.validate()),a(e.node.id,P.value),l.value=e.node.id,t()}catch(r){o(r)}})),()=>b("div",{class:"apply-node-drawer"},[b(L,{labelPlacement:"top"},null)])}});export{S as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as e,u as t,a as o,c as r,b as l,$ as a,B as s,i as n}from"./main-DUOwN26A.js";const c=(e=16,t="var(--n-warning-color)")=>r("svg",{width:e,height:e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:t},[r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.6 1c1.6.1 3.1.9 4.2 2 1.3 1.4 2 3.1 2 5.1 0 1.6-.6 3.1-1.6 4.4-1 1.2-2.4 2.1-4 2.4-1.6.3-3.2.1-4.6-.7-1.4-.8-2.5-2-3.1-3.5C.9 9.2.8 7.5 1.3 6c.5-1.6 1.4-2.9 2.8-3.8C5.4 1.3 7 .9 8.6 1zm.5 12.9c1.3-.3 2.5-1 3.4-2.1.8-1.1 1.3-2.4 1.2-3.8 0-1.6-.6-3.2-1.7-4.3-1-1-2.2-1.6-3.6-1.7-1.3-.1-2.7.2-3.8 1-1.1.8-1.9 1.9-2.3 3.3-.4 1.3-.4 2.7.2 4 .6 1.3 1.5 2.3 2.7 3 1.2.7 2.6.9 3.9.6zM7.9 7.5L10.3 5l.7.7-2.4 2.5 2.4 2.5-.7.7-2.4-2.5-2.4 2.5-.7-.7 2.4-2.5-2.4-2.5.7-.7 2.4 2.5z"},null)]),i=e({setup(){const e=t(),i=o(["cardColor","warningColor","textColorSecondary","textColorDisabled","textColorInverse","warningColorHover"]);return()=>{let t;return r("div",{class:"flex flex-col items-center justify-center min-h-screen",style:i.value},[r("div",{class:"text-center px-8 max-w-[60rem] mx-auto"},[r("div",{class:"text-[8rem] font-bold leading-none mb-4",style:{color:"var(--n-warning-color)",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.1)"}},[l("404")]),r("div",{class:"flex items-center justify-center mb-8"},[c(60)]),r("div",{class:"text-[1.8rem] mb-8",style:{color:"var(--n-text-color-secondary)"}},[a("t_0_1744098811152")]),r(s,{type:"warning",onClick:()=>e.push("/")},(o=t=a("t_1_1744098801860"),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!n(o)?t:{default:()=>[t]})),r("div",{class:"mt-8 text-[1.3rem]",style:{color:"var(--n-text-color-disabled)"}},[a("t_2_1744098804908")])])]);var o}}});export{i as default};
import{d as e,u as t,a as o,c as r,b as l,$ as a,B as s,i as n}from"./main-DKqTMGci.js";const c=(e=16,t="var(--n-warning-color)")=>r("svg",{width:e,height:e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:t},[r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.6 1c1.6.1 3.1.9 4.2 2 1.3 1.4 2 3.1 2 5.1 0 1.6-.6 3.1-1.6 4.4-1 1.2-2.4 2.1-4 2.4-1.6.3-3.2.1-4.6-.7-1.4-.8-2.5-2-3.1-3.5C.9 9.2.8 7.5 1.3 6c.5-1.6 1.4-2.9 2.8-3.8C5.4 1.3 7 .9 8.6 1zm.5 12.9c1.3-.3 2.5-1 3.4-2.1.8-1.1 1.3-2.4 1.2-3.8 0-1.6-.6-3.2-1.7-4.3-1-1-2.2-1.6-3.6-1.7-1.3-.1-2.7.2-3.8 1-1.1.8-1.9 1.9-2.3 3.3-.4 1.3-.4 2.7.2 4 .6 1.3 1.5 2.3 2.7 3 1.2.7 2.6.9 3.9.6zM7.9 7.5L10.3 5l.7.7-2.4 2.5 2.4 2.5-.7.7-2.4-2.5-2.4 2.5-.7-.7 2.4-2.5-2.4-2.5.7-.7 2.4 2.5z"},null)]),i=e({setup(){const e=t(),i=o(["cardColor","warningColor","textColorSecondary","textColorDisabled","textColorInverse","warningColorHover"]);return()=>{let t;return r("div",{class:"flex flex-col items-center justify-center min-h-screen",style:i.value},[r("div",{class:"text-center px-8 max-w-[60rem] mx-auto"},[r("div",{class:"text-[8rem] font-bold leading-none mb-4",style:{color:"var(--n-warning-color)",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.1)"}},[l("404")]),r("div",{class:"flex items-center justify-center mb-8"},[c(60)]),r("div",{class:"text-[1.8rem] mb-8",style:{color:"var(--n-text-color-secondary)"}},[a("t_0_1744098811152")]),r(s,{type:"warning",onClick:()=>e.push("/")},(o=t=a("t_1_1744098801860"),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!n(o)?t:{default:()=>[t]})),r("div",{class:"mt-8 text-[1.3rem]",style:{color:"var(--n-text-color-disabled)"}},[a("t_2_1744098804908")])])]);var o}}});export{i as default};

View File

@ -1 +1 @@
import{u as a,a as e}from"./index-DobLzAdB.js";import{d as o,a as r,l as i,$ as t,w as s,aL as d,c as l}from"./main-DUOwN26A.js";import{r as n}from"./verify-t26GTzlI.js";import{u as m}from"./index-C9r2f0Ic.js";import"./index-BygmNX12.js";import"./index-DgjT6rfd.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";const p=o({name:"StartNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(o){const{isRefreshNode:p}=a(),{validate:u,validationResult:v,registerCompatValidator:c,unregisterValidator:f}=e(),j=r(["warningColor","primaryColor"]),x=i((()=>v.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),y=i((()=>v.value.valid?"auto"===o.node.config.exec_type?t("t_4_1744875940750"):t("t_5_1744875940010"):"未配置"));return s((()=>p.value),(a=>{m((()=>{c(o.node.id,n,o.node.config),u(o.node.id),p.value=null}),500)}),{immediate:!0}),d((()=>f(o.node.id))),()=>l("div",{style:j.value,class:"text-[12px]"},[l("div",{style:{color:x.value}},[y.value])])}});export{p as default};
import{u as a,a as e}from"./index-DffoH-R8.js";import{d as o,a as r,l as i,$ as t,w as s,aO as d,c as l}from"./main-DKqTMGci.js";import{r as n}from"./verify-B-A9YSDN.js";import{u as m}from"./index-ClL52y7R.js";import"./index-K1QYmvkf.js";import"./index-DoBLtCBk.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";const p=o({name:"StartNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(o){const{isRefreshNode:p}=a(),{validate:u,validationResult:v,registerCompatValidator:c,unregisterValidator:f}=e(),j=r(["warningColor","primaryColor"]),x=i((()=>v.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),y=i((()=>v.value.valid?"auto"===o.node.config.exec_type?t("t_4_1744875940750"):t("t_5_1744875940010"):"未配置"));return s((()=>p.value),(a=>{m((()=>{c(o.node.id,n,o.node.config),u(o.node.id),p.value=null}),500)}),{immediate:!0}),d((()=>f(o.node.id))),()=>l("div",{style:j.value,class:"text-[12px]"},[l("div",{style:{color:x.value}},[y.value])])}});export{p as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as e,r as l,w as a,c as t,v as u,q as n,$ as o,n as i,B as s,i as p}from"./main-DUOwN26A.js";import{b as r}from"./useStore-D55peUEd.js";import{S as v}from"./index-BygmNX12.js";import{N as d}from"./Flex-D8wlmEmi.js";import{N as f}from"./text-D2UE5EL1.js";function y(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!p(e)}const c=e({name:"NotifyProviderSelect",props:{path:{type:String,default:""},value:{type:String,default:""},valueType:{type:String,default:"value"},isAddMode:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:p}){const{fetchNotifyProvider:c,notifyProvider:m}=r(),b=l({label:"",value:"",type:""}),_=l([]),x=()=>{window.open("/settings?tab=notification","_blank")},j=({option:l})=>{let a;return t("div",{class:"flex items-center"},[l.label?t(d,null,{default:()=>[t(v,{icon:`notify-${"value"===e.valueType?l.type:l.value}`,size:"2rem"},null),t(f,null,{default:()=>[l.label]})]}):t(f,null,y(a=o("t_0_1745887835267"))?a:{default:()=>[a]})])},S=l=>t(d,null,{default:()=>[t(v,{icon:`notify-${"value"===e.valueType?l.type:l.value}`,size:"2rem"},null),t(f,null,{default:()=>[l.label]})]}),g=e=>{if(!e)return;const l=_.value.find((l=>l.value===e));b.value={label:(null==l?void 0:l.label)||"",value:(null==l?void 0:l.value)||"",type:(null==l?void 0:l.type)||""}},T=e=>{g(e),p("update:value",b.value)};return a((()=>e.value),(e=>{c(),g(e)}),{immediate:!0}),a((()=>m.value),(l=>{_.value=l.map((l=>({label:l.label,value:"value"===e.valueType?l.value:l.type,type:"value"===e.valueType?l.type:l.value})))||[],g(e.value)})),()=>{let l,a;return t(u,{cols:24},{default:()=>[t(n,{span:e.isAddMode?13:24,label:o("t_1_1745887832941"),path:e.path},{default:()=>[t(i,{class:"flex-1 w-full ",options:_.value,renderLabel:S,renderTag:j,filterable:!0,placeholder:o("t_0_1745887835267"),value:b.value.value,"onUpdate:value":e=>b.value.value=e,onUpdateValue:T},{empty:()=>t("span",{class:"text-[1.4rem]"},[o("t_0_1745887835267")])})]}),e.isAddMode&&t(n,{span:11},{default:()=>[t(s,{class:"mx-[8px]",onClick:x},y(l=o("t_2_1745887834248"))?l:{default:()=>[l]}),t(s,{onClick:c},y(a=o("t_0_1746497662220"))?a:{default:()=>[a]})]})]})}}});export{c as N};
import{d as e,r as l,w as a,c as t,v as u,q as n,$ as o,n as i,B as s,i as p}from"./main-DKqTMGci.js";import{b as r}from"./useStore-BxWZ-2Xk.js";import{S as v}from"./index-K1QYmvkf.js";import{N as d}from"./Flex-CfuRT3n6.js";import{N as f}from"./text-CBxeXF61.js";function y(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!p(e)}const c=e({name:"NotifyProviderSelect",props:{path:{type:String,default:""},value:{type:String,default:""},valueType:{type:String,default:"value"},isAddMode:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:p}){const{fetchNotifyProvider:c,notifyProvider:m}=r(),b=l({label:"",value:"",type:""}),_=l([]),x=()=>{window.open("/settings?tab=notification","_blank")},j=({option:l})=>{let a;return t("div",{class:"flex items-center"},[l.label?t(d,null,{default:()=>[t(v,{icon:`notify-${"value"===e.valueType?l.type:l.value}`,size:"2rem"},null),t(f,null,{default:()=>[l.label]})]}):t(f,null,y(a=o("t_0_1745887835267"))?a:{default:()=>[a]})])},S=l=>t(d,null,{default:()=>[t(v,{icon:`notify-${"value"===e.valueType?l.type:l.value}`,size:"2rem"},null),t(f,null,{default:()=>[l.label]})]}),g=e=>{if(!e)return;const l=_.value.find((l=>l.value===e));b.value={label:(null==l?void 0:l.label)||"",value:(null==l?void 0:l.value)||"",type:(null==l?void 0:l.type)||""}},T=e=>{g(e),p("update:value",b.value)};return a((()=>e.value),(e=>{c(),g(e)}),{immediate:!0}),a((()=>m.value),(l=>{_.value=l.map((l=>({label:l.label,value:"value"===e.valueType?l.value:l.type,type:"value"===e.valueType?l.type:l.value})))||[],g(e.value)})),()=>{let l,a;return t(u,{cols:24},{default:()=>[t(n,{span:e.isAddMode?13:24,label:o("t_1_1745887832941"),path:e.path},{default:()=>[t(i,{class:"flex-1 w-full ",options:_.value,renderLabel:S,renderTag:j,filterable:!0,placeholder:o("t_0_1745887835267"),value:b.value.value,"onUpdate:value":e=>b.value.value=e,onUpdateValue:T},{empty:()=>t("span",{class:"text-[1.4rem]"},[o("t_0_1745887835267")])})]}),e.isAddMode&&t(n,{span:11},{default:()=>[t(s,{class:"mx-[8px]",onClick:x},y(l=o("t_2_1745887834248"))?l:{default:()=>[l]}),t(s,{onClick:c},y(a=o("t_0_1746497662220"))?a:{default:()=>[a]})]})]})}}});export{c as N};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{u as a,a as o}from"./index-DobLzAdB.js";import{d as e,a as r,l as i,w as s,aL as t,c as n,$ as d}from"./main-DUOwN26A.js";import{r as l}from"./verify-TSo8Q64G.js";import{u as m}from"./index-C9r2f0Ic.js";import"./index-BygmNX12.js";import"./index-DgjT6rfd.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";import"./business-CRXZMi5O.js";const p=e({name:"ApplyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e){const{isRefreshNode:p}=a(),{registerCompatValidator:u,validate:v,validationResult:c,unregisterValidator:f}=o(),j=r(["warningColor","primaryColor"]),x=i((()=>c.value.valid?"var(--n-primary-color)":"var(--n-warning-color)"));return s((()=>p.value),(a=>{m((()=>{u(e.node.id,l,e.node.config),v(e.node.id),p.value=null}),500)}),{immediate:!0}),t((()=>f(e.node.id))),()=>{var a;return n("div",{style:j.value,class:"text-[12px]"},[n("div",{style:{color:x.value}},[c.value.valid?"域名:"+(null==(a=e.node.config)?void 0:a.domains):d("t_9_1745735765287")])])}}});export{p as default};
import{u as a,a as o}from"./index-DffoH-R8.js";import{d as e,a as r,l as i,w as s,aO as t,c as n,$ as d}from"./main-DKqTMGci.js";import{r as l}from"./verify-Ccmvvliy.js";import{u as m}from"./index-ClL52y7R.js";import"./index-K1QYmvkf.js";import"./index-DoBLtCBk.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";import"./business-DeShhBC1.js";const p=e({name:"ApplyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e){const{isRefreshNode:p}=a(),{registerCompatValidator:u,validate:v,validationResult:c,unregisterValidator:f}=o(),j=r(["warningColor","primaryColor"]),x=i((()=>c.value.valid?"var(--n-primary-color)":"var(--n-warning-color)"));return s((()=>p.value),(a=>{m((()=>{u(e.node.id,l,e.node.config),v(e.node.id),p.value=null}),500)}),{immediate:!0}),t((()=>f(e.node.id))),()=>{var a;return n("div",{style:j.value,class:"text-[12px]"},[n("div",{style:{color:x.value}},[c.value.valid?"域名:"+(null==(a=e.node.config)?void 0:a.domains):d("t_9_1745735765287")])])}}});export{p as default};

View File

@ -1 +0,0 @@
/* empty css */const r={Modal:{preset:"card"}},e={name:"defaultLight",type:"light",title:"默认亮色主题",themeOverrides:{common:{borderRadius:"0.6rem"}},presetsOverrides:r},o={name:"defaultDark",type:"dark",title:"默认暗色主题",themeOverrides:{common:{primaryColor:"#4caf50",primaryColorHover:"#20a53a",primaryColorPressed:"#157f3a",primaryColorSuppl:"#4caf50",borderRadius:"0.6rem"},Popover:{},Button:{textColorPrimary:"#ffffff",textColorHoverPrimary:"#ffffff",textColorPressedPrimary:"#ffffff",textColorFocusPrimary:"#ffffff"},Radio:{buttonTextColorActive:"#ffffff"}},presetsOverrides:r};export{o as defaultDark,e as defaultLight};

View File

@ -1 +1 @@
import{u as e,a as o}from"./index-DobLzAdB.js";import{d as a,a as i,l as s,c as r,$ as t,w as n,aL as d}from"./main-DUOwN26A.js";import{A as l}from"./index-KCUOobnu.js";import{r as p}from"./verify-1qWWLiqD.js";import{u as m}from"./index-C9r2f0Ic.js";import"./index-BygmNX12.js";import"./index-DgjT6rfd.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";import"./business-CRXZMi5O.js";const u=a({name:"DeployNode",props:{node:{type:Object,default:()=>({id:"",inputs:{},config:{}})}},setup(a){const{isRefreshNode:u}=e(),{registerCompatValidator:v,validate:c,validationResult:f,unregisterValidator:j}=o(),x=i(["warningColor","primaryColor"]),y=s((()=>f.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),g=s((()=>f.value.valid?r(l,{icon:a.node.config.provider,type:"success"},null):t("t_9_1745735765287")));return n((()=>u.value),(e=>{m((()=>{v(a.node.id,p,a.node.config),c(a.node.id),u.value=null}),500)}),{immediate:!0}),d((()=>j(a.node.id))),()=>r("div",{style:x.value,class:"text-[12px]"},[r("div",{style:{color:y.value}},[g.value])])}});export{u as default};
import{u as e,a as o}from"./index-DffoH-R8.js";import{d as a,a as i,l as s,c as r,$ as t,w as n,aO as d}from"./main-DKqTMGci.js";import{A as l}from"./index-C8NIzWwZ.js";import{r as p}from"./verify-BuSCsdPA.js";import{u as m}from"./index-ClL52y7R.js";import"./index-K1QYmvkf.js";import"./index-DoBLtCBk.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";import"./business-DeShhBC1.js";const u=a({name:"DeployNode",props:{node:{type:Object,default:()=>({id:"",inputs:{},config:{}})}},setup(a){const{isRefreshNode:u}=e(),{registerCompatValidator:v,validate:c,validationResult:f,unregisterValidator:j}=o(),x=i(["warningColor","primaryColor"]),y=s((()=>f.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),g=s((()=>f.value.valid?r(l,{icon:a.node.config.provider,type:"success"},null):t("t_9_1745735765287")));return n((()=>u.value),(e=>{m((()=>{v(a.node.id,p,a.node.config),c(a.node.id),u.value=null}),500)}),{immediate:!0}),d((()=>j(a.node.id))),()=>r("div",{style:x.value,class:"text-[12px]"},[r("div",{style:{color:y.value}},[g.value])])}});export{u as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{S as e}from"./index-BygmNX12.js";import{d as n,l,w as t,c as a,N as o}from"./main-DUOwN26A.js";const c={ssh:"SSH",aliyun:"阿里云",tencentcloud:"腾讯云",btpanel:"宝塔面板","1panel":"1Panel",huaweicloud:"华为云",cloudflare:"Cloudflare",mail:"邮件",dingtalk:"钉钉",wecom:"企业微信",feishu:"飞书",webhook:"WebHook","tencentcloud-cdn":"腾讯云CDN","tencentcloud-cos":"腾讯云COS","aliyun-cdn":"阿里云CDN","aliyun-oss":"阿里云OSS","1panel-site":"1Panel网站","btpanel-site":"宝塔面板网站"},i=n({name:"TypeIcon",props:{icon:{type:String,required:!0},type:{type:String,default:"default"},align:{type:String,default:"left"},text:{type:Boolean,default:!0}},setup(n){const i=l((()=>(["mail","dingtalk","wecom","feishu","webhook"].includes(n.icon)?"notify-":"resources-")+({ssh:"ssh",aliyun:"aliyun",tencentcloud:"tencentcloud",btpanel:"btpanel","1panel":"1panel",huaweicloud:"huaweicloud",cloudflare:"cloudflare",mail:"mail",dingtalk:"dingtalk",wecom:"wecom",feishu:"feishu",webhook:"webhook","tencentcloud-cdn":"tencentcloud","tencentcloud-cos":"tencentcloud","aliyun-cdn":"aliyun","aliyun-oss":"aliyun","1panel-site":"1panel","btpanel-site":"btpanel"}[n.icon]||"default"))),u=l((()=>c[n.icon]||n.icon));return t((()=>n.icon),(e=>{})),t((()=>n.type),(e=>{})),()=>a(o,{type:n.type,size:"small"},{default:()=>[a(e,{icon:i.value,size:"1.2rem",class:"mr-[0.4rem]"},null),a("span",{class:"text-[12px]"},[n.text&&a("span",null,[u.value])])]})}});export{i as A};
import{S as e}from"./index-K1QYmvkf.js";import{d as n,l,w as t,c as a,N as o}from"./main-DKqTMGci.js";const c={ssh:"SSH",aliyun:"阿里云",tencentcloud:"腾讯云",btpanel:"宝塔面板","1panel":"1Panel",huaweicloud:"华为云",cloudflare:"Cloudflare",mail:"邮件",dingtalk:"钉钉",wecom:"企业微信",feishu:"飞书",webhook:"WebHook","tencentcloud-cdn":"腾讯云CDN","tencentcloud-cos":"腾讯云COS","aliyun-cdn":"阿里云CDN","aliyun-oss":"阿里云OSS","1panel-site":"1Panel网站","btpanel-site":"宝塔面板网站"},i=n({name:"TypeIcon",props:{icon:{type:String,required:!0},type:{type:String,default:"default"},align:{type:String,default:"left"},text:{type:Boolean,default:!0}},setup(n){const i=l((()=>(["mail","dingtalk","wecom","feishu","webhook"].includes(n.icon)?"notify-":"resources-")+({ssh:"ssh",aliyun:"aliyun",tencentcloud:"tencentcloud",btpanel:"btpanel","1panel":"1panel",huaweicloud:"huaweicloud",cloudflare:"cloudflare",mail:"mail",dingtalk:"dingtalk",wecom:"wecom",feishu:"feishu",webhook:"webhook","tencentcloud-cdn":"tencentcloud","tencentcloud-cos":"tencentcloud","aliyun-cdn":"aliyun","aliyun-oss":"aliyun","1panel-site":"1panel","btpanel-site":"btpanel"}[n.icon]||"default"))),u=l((()=>c[n.icon]||n.icon));return t((()=>n.icon),(e=>{})),t((()=>n.type),(e=>{})),()=>a(o,{type:n.type,size:"small"},{default:()=>[a(e,{icon:i.value,size:"1.2rem",class:"mr-[0.4rem]"},null),a("span",{class:"text-[12px]"},[n.text&&a("span",null,[u.value])])]})}});export{i as A};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{u as a,a as e}from"./index-DobLzAdB.js";import{r as o}from"./verify-Bitg124P.js";import{d as r,a as i,l as s,w as t,aL as d,c as l}from"./main-DUOwN26A.js";import{u as n}from"./index-C9r2f0Ic.js";import"./index-BygmNX12.js";import"./index-DgjT6rfd.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";const m=r({name:"UploadNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(r){const{isRefreshNode:m}=a(),{validate:p,validationResult:u,registerCompatValidator:v,unregisterValidator:c}=e(),f=i(["warningColor","primaryColor"]),j=s((()=>u.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),x=s((()=>u.value.valid?"已配置":"未配置"));return t((()=>m.value),(a=>{n((()=>{v(r.node.id,o,r.node.config),p(r.node.id),m.value=null}),500)}),{immediate:!0}),d((()=>c(r.node.id))),()=>l("div",{style:f.value,class:"text-[12px]"},[l("div",{style:{color:j.value}},[x.value])])}});export{m as default};
import{u as a,a as e}from"./index-DffoH-R8.js";import{r as o}from"./verify-DqBodpCp.js";import{d as r,a as i,l as s,w as t,aO as d,c as l}from"./main-DKqTMGci.js";import{u as n}from"./index-ClL52y7R.js";import"./index-K1QYmvkf.js";import"./index-DoBLtCBk.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";const m=r({name:"UploadNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(r){const{isRefreshNode:m}=a(),{validate:p,validationResult:u,registerCompatValidator:v,unregisterValidator:c}=e(),f=i(["warningColor","primaryColor"]),j=s((()=>u.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),x=s((()=>u.value.valid?"已配置":"未配置"));return t((()=>m.value),(a=>{n((()=>{v(r.node.id,o,r.node.config),p(r.node.id),m.value=null}),500)}),{immediate:!0}),d((()=>c(r.node.id))),()=>l("div",{style:f.value,class:"text-[12px]"},[l("div",{style:{color:j.value}},[x.value])])}});export{m as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as e,c as s}from"./main-DUOwN26A.js";const t=e({name:"BaseComponent",setup(e,{slots:t}){const l=t["header-left"]||t.headerLeft,f=t["header-right"]||t.headerRight,r=t.header||t.header,o=t["footer-left"]||t.footerLeft,a=t["footer-right"]||t.footerRight,i=t.footer||t.footer;return()=>s("div",{class:"flex flex-col"},[(l||f)&&s("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[s("div",{class:"flex flex-shrink-0"},[l&&l()]),s("div",{class:"flex flex-shrink-0"},[f&&f()])]),r&&s("div",{class:"flex justify-between flex-wrap w-full"},[r&&r()]),s("div",{class:`w-full content ${l||f?"mt-[1.2rem]":""} ${o||a?"mb-[1.2rem]":""}`},[t.content&&t.content()]),(o||a)&&s("div",{class:"flex justify-between"},[s("div",{class:"flex flex-shrink-0"},[o&&o()]),s("div",{class:"flex flex-shrink-0"},[a&&a()])]),i&&s("div",{class:"flex justify-between w-full"},[i()]),t.popup&&t.popup()])}});export{t as B};
import{d as e,c as s}from"./main-DKqTMGci.js";const t=e({name:"BaseComponent",setup(e,{slots:t}){const l=t["header-left"]||t.headerLeft,f=t["header-right"]||t.headerRight,r=t.header||t.header,o=t["footer-left"]||t.footerLeft,a=t["footer-right"]||t.footerRight,i=t.footer||t.footer;return()=>s("div",{class:"flex flex-col"},[(l||f)&&s("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[s("div",{class:"flex flex-shrink-0"},[l&&l()]),s("div",{class:"flex flex-shrink-0"},[f&&f()])]),r&&s("div",{class:"flex justify-between flex-wrap w-full"},[r&&r()]),s("div",{class:`w-full content ${l||f?"mt-[1.2rem]":""} ${o||a?"mb-[1.2rem]":""}`},[t.content&&t.content()]),(o||a)&&s("div",{class:"flex justify-between"},[s("div",{class:"flex flex-shrink-0"},[o&&o()]),s("div",{class:"flex flex-shrink-0"},[a&&a()])]),i&&s("div",{class:"flex justify-between w-full"},[i()]),t.popup&&t.popup()])}});export{t as B};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as t,E as l,F as e,G as s,c as n,M as a,b as r,B as i}from"./main-DUOwN26A.js";const u={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},o=t({name:"PlusOutlined",render:function(t,n){return e(),l("svg",u,n[0]||(n[0]=[s("defs",null,null,-1),s("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z",fill:"currentColor"},null,-1),s("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z",fill:"currentColor"},null,-1)]))}}),p={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},d=t({name:"Search",render:function(t,n){return e(),l("svg",p,n[0]||(n[0]=[s("path",{d:"M29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29zM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9z",fill:"currentColor"},null,-1)]))}}),m=t({name:"EmptyActionPrompt",props:{addButtonText:{type:String,required:!0},onAddClick:{type:Function,required:!0}},setup:t=>()=>n("div",{class:"flex justify-center items-center h-full"},[n(a,{class:"px-[4rem]"},{default:()=>[r("请先"),n(i,{text:!0,type:"primary",size:"small",onClick:t.onAddClick},{default:()=>[t.addButtonText]}),r(",有问题或建议可提"),n(i,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl/issues"},{default:()=>[r("Issues")]}),r("也可在Github给我们"),n(i,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl"},{default:()=>[r("Star")]}),r("您的参与对ALLinSSL极其重要感谢。")]})])});export{m as E,o as P,d as S};
import{d as t,E as l,F as e,G as s,c as n,M as a,b as r,B as i}from"./main-DKqTMGci.js";const u={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},o=t({name:"PlusOutlined",render:function(t,n){return e(),l("svg",u,n[0]||(n[0]=[s("defs",null,null,-1),s("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z",fill:"currentColor"},null,-1),s("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z",fill:"currentColor"},null,-1)]))}}),p={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},d=t({name:"Search",render:function(t,n){return e(),l("svg",p,n[0]||(n[0]=[s("path",{d:"M29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29zM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9z",fill:"currentColor"},null,-1)]))}}),m=t({name:"EmptyActionPrompt",props:{addButtonText:{type:String,required:!0},onAddClick:{type:Function,required:!0}},setup:t=>()=>n("div",{class:"flex justify-center items-center h-full"},[n(a,{class:"px-[4rem]"},{default:()=>[r("请先"),n(i,{text:!0,type:"primary",size:"small",onClick:t.onAddClick},{default:()=>[t.addButtonText]}),r(",有问题或建议可提"),n(i,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl/issues"},{default:()=>[r("Issues")]}),r("也可在Github给我们"),n(i,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl"},{default:()=>[r("Star")]}),r("您的参与对AllinSSL极其重要感谢。")]})])});export{m as E,o as P,d as S};

View File

@ -1 +1 @@
import{bs as t,bZ as e,b_ as n,bU as i,b$ as a,aH as o,o as s,as as r,w as u,a5 as c,r as l,c0 as f,bG as m}from"./main-DUOwN26A.js";function v(t){return!!a()&&(o(t),!0)}const p="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const d=Object.prototype.toString,b=t=>"[object Object]"===d.call(t),w=()=>{};function y(t,e){return function(...n){return new Promise(((i,a)=>{Promise.resolve(t((()=>e.apply(this,n)),{fn:e,thisArg:this,args:n})).then(i).catch(a)}))}}const g=t=>t();function h(t=g,n={}){const{initialState:i="active"}=n,a=function(...t){if(1!==t.length)return c(...t);const n=t[0];return"function"==typeof n?e(f((()=>({get:n,set:w})))):l(n)}("active"===i);return{isActive:e(a),pause:function(){a.value=!1},resume:function(){a.value=!0},eventFilter:(...e)=>{a.value&&t(...e)}}}function j(t){return Array.isArray(t)?t:[t]}function A(t,e=200,a=!1,o=!0,s=!1){return y(function(...t){let e,a,o,s,r,u,c=0,l=!0,f=w;n(t[0])||"object"!=typeof t[0]?[o,s=!0,r=!0,u=!1]=t:({delay:o,trailing:s=!0,leading:r=!0,rejectOnCancel:u=!1}=t[0]);const m=()=>{e&&(clearTimeout(e),e=void 0,f(),f=w)};return t=>{const n=i(o),v=Date.now()-c,p=()=>a=t();return m(),n<=0?(c=Date.now(),p()):(v>n&&(r||!l)?(c=Date.now(),p()):s&&(a=new Promise(((t,i)=>{f=u?i:t,e=setTimeout((()=>{c=Date.now(),l=!0,t(p()),m()}),Math.max(0,n-v))}))),r||e||(e=setTimeout((()=>l=!0),n)),l=!1,a)}}(e,a,o,s),t)}function S(t,e,n={}){const{eventFilter:i,initialState:a="active",...o}=n,{eventFilter:s,pause:r,resume:c,isActive:l}=h(i,{initialState:a}),f=function(t,e,n={}){const{eventFilter:i=g,...a}=n;return u(t,y(i,e),a)}(t,e,{...o,eventFilter:s});return{stop:f,pause:r,resume:c,isActive:l}}function T(t,e=!0,n){m()?s(t,n):e?t():r(t)}function F(n,a,o={}){const{immediate:s=!0,immediateCallback:r=!1}=o,u=t(!1);let c=null;function l(){c&&(clearTimeout(c),c=null)}function f(){u.value=!1,l()}function m(...t){r&&n(),l(),u.value=!0,c=setTimeout((()=>{u.value=!1,c=null,n(...t)}),i(a))}return s&&(u.value=!0,p&&m()),v(f),{isPending:e(u),start:m,stop:f}}function D(t,e,n){return u(t,e,{...n,immediate:!0})}export{A as a,j as b,D as c,v as d,b as e,p as i,T as t,F as u,S as w};
import{bv as t,c0 as e,c1 as n,bX as i,c2 as a,aI as o,o as r,as as s,w as u,a5 as c,r as l,c3 as f,bJ as m}from"./main-DKqTMGci.js";function v(t){return!!a()&&(o(t),!0)}const p="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const d=Object.prototype.toString,b=t=>"[object Object]"===d.call(t),w=()=>{};function y(t,e){return function(...n){return new Promise(((i,a)=>{Promise.resolve(t((()=>e.apply(this,n)),{fn:e,thisArg:this,args:n})).then(i).catch(a)}))}}const g=t=>t();function h(t=g,n={}){const{initialState:i="active"}=n,a=function(...t){if(1!==t.length)return c(...t);const n=t[0];return"function"==typeof n?e(f((()=>({get:n,set:w})))):l(n)}("active"===i);return{isActive:e(a),pause:function(){a.value=!1},resume:function(){a.value=!0},eventFilter:(...e)=>{a.value&&t(...e)}}}function j(t){return Array.isArray(t)?t:[t]}function A(t,e=200,a=!1,o=!0,r=!1){return y(function(...t){let e,a,o,r,s,u,c=0,l=!0,f=w;n(t[0])||"object"!=typeof t[0]?[o,r=!0,s=!0,u=!1]=t:({delay:o,trailing:r=!0,leading:s=!0,rejectOnCancel:u=!1}=t[0]);const m=()=>{e&&(clearTimeout(e),e=void 0,f(),f=w)};return t=>{const n=i(o),v=Date.now()-c,p=()=>a=t();return m(),n<=0?(c=Date.now(),p()):(v>n&&(s||!l)?(c=Date.now(),p()):r&&(a=new Promise(((t,i)=>{f=u?i:t,e=setTimeout((()=>{c=Date.now(),l=!0,t(p()),m()}),Math.max(0,n-v))}))),s||e||(e=setTimeout((()=>l=!0),n)),l=!1,a)}}(e,a,o,r),t)}function S(t,e,n={}){const{eventFilter:i,initialState:a="active",...o}=n,{eventFilter:r,pause:s,resume:c,isActive:l}=h(i,{initialState:a}),f=function(t,e,n={}){const{eventFilter:i=g,...a}=n;return u(t,y(i,e),a)}(t,e,{...o,eventFilter:r});return{stop:f,pause:s,resume:c,isActive:l}}function T(t,e=!0,n){m()?r(t,n):e?t():s(t)}function F(n,a,o={}){const{immediate:r=!0,immediateCallback:s=!1}=o,u=t(!1);let c=null;function l(){c&&(clearTimeout(c),c=null)}function f(){u.value=!1,l()}function m(...t){s&&n(),l(),u.value=!0,c=setTimeout((()=>{u.value=!1,c=null,n(...t)}),i(a))}return r&&(u.value=!0,p&&m()),v(f),{isPending:e(u),start:m,stop:f}}function D(t,e,n){return u(t,e,{...n,immediate:!0})}export{A as a,j as b,D as c,v as d,b as e,p as i,T as t,F as u,S as w};

View File

@ -1 +1 @@
import{i as e,w as t,t as n,b as r,c as a,d as o,e as l}from"./index-C9r2f0Ic.js";import{bs as i,r as s,l as u,bU as f,w as c,as as d,bV as v}from"./main-DUOwN26A.js";const g=e?window:void 0;function w(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},i=u((()=>{const t=r(f(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),s=a((()=>{var t,n;return[null!=(n=null==(t=i.value)?void 0:t.map((e=>function(e){var t;const n=f(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[g].filter((e=>null!=e)),r(f(i.value?e[1]:e[0])),r(v(i.value?e[2]:e[1])),f(i.value?e[3]:e[2])]}),(([e,r,a,o])=>{if(n(),!(null==e?void 0:e.length)||!(null==r?void 0:r.length)||!(null==a?void 0:a.length))return;const i=l(o)?{...o}:o;t.push(...e.flatMap((e=>r.flatMap((t=>a.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,i))))))))}),{flush:"post"});return o(n),()=>{s(),n()}}const p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y="__vueuse_ssr_handlers__",m=S();function S(){return y in p||(p[y]=p[y]||{}),p[y]}const b={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},h="vueuse-storage";function N(e,r,a,o={}){var l;const{flush:v="pre",deep:p=!0,listenToStorageChanges:y=!0,writeDefaults:S=!0,mergeDefaults:N=!1,shallow:O,window:E=g,eventFilter:j,onError:A=e=>{},initOnMounted:I}=o,J=(O?i:s)("function"==typeof r?r():r),_=u((()=>f(e)));if(!a)try{a=function(e,t){return m[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=g)?void 0:e.localStorage}))()}catch(L){A(L)}if(!a)return J;const D=f(r),M=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(D),V=null!=(l=o.serializer)?l:b[M],{pause:k,resume:x}=t(J,(()=>function(e){try{const t=a.getItem(_.value);if(null==e)F(t,null),a.removeItem(_.value);else{const n=V.write(e);t!==n&&(a.setItem(_.value,n),F(t,n))}}catch(L){A(L)}}(J.value)),{flush:v,deep:p,eventFilter:j});function F(e,t){if(E){const n={key:_.value,oldValue:e,newValue:t,storageArea:a};E.dispatchEvent(a instanceof Storage?new StorageEvent("storage",n):new CustomEvent(h,{detail:n}))}}function T(e){if(!e||e.storageArea===a)if(e&&null==e.key)J.value=D;else if(!e||e.key===_.value){k();try{(null==e?void 0:e.newValue)!==V.write(J.value)&&(J.value=function(e){const t=e?e.newValue:a.getItem(_.value);if(null==t)return S&&null!=D&&a.setItem(_.value,V.write(D)),D;if(!e&&N){const e=V.read(t);return"function"==typeof N?N(e,D):"object"!==M||Array.isArray(e)?e:{...D,...e}}return"string"!=typeof t?t:V.read(t)}(e))}catch(L){A(L)}finally{e?d(x):x()}}}function C(e){T(e.detail)}return c(_,(()=>T()),{flush:v}),E&&y&&n((()=>{a instanceof Storage?w(E,"storage",T,{passive:!0}):w(E,h,C),I&&T()})),I||T(),J}function O(e,t,n={}){const{window:r=g}=n;return N(e,t,null==r?void 0:r.localStorage,n)}function E(e,t,n={}){const{window:r=g}=n;return N(e,t,null==r?void 0:r.sessionStorage,n)}export{E as a,O as u};
import{i as e,w as t,t as n,b as r,c as a,d as o,e as l}from"./index-ClL52y7R.js";import{bv as i,r as s,l as u,bX as f,w as c,as as d,bY as v}from"./main-DKqTMGci.js";const g=e?window:void 0;function w(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},i=u((()=>{const t=r(f(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),s=a((()=>{var t,n;return[null!=(n=null==(t=i.value)?void 0:t.map((e=>function(e){var t;const n=f(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[g].filter((e=>null!=e)),r(f(i.value?e[1]:e[0])),r(v(i.value?e[2]:e[1])),f(i.value?e[3]:e[2])]}),(([e,r,a,o])=>{if(n(),!(null==e?void 0:e.length)||!(null==r?void 0:r.length)||!(null==a?void 0:a.length))return;const i=l(o)?{...o}:o;t.push(...e.flatMap((e=>r.flatMap((t=>a.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,i))))))))}),{flush:"post"});return o(n),()=>{s(),n()}}const p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y="__vueuse_ssr_handlers__",m=S();function S(){return y in p||(p[y]=p[y]||{}),p[y]}const b={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},h="vueuse-storage";function N(e,r,a,o={}){var l;const{flush:v="pre",deep:p=!0,listenToStorageChanges:y=!0,writeDefaults:S=!0,mergeDefaults:N=!1,shallow:O,window:E=g,eventFilter:j,onError:A=e=>{},initOnMounted:I}=o,J=(O?i:s)("function"==typeof r?r():r),_=u((()=>f(e)));if(!a)try{a=function(e,t){return m[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=g)?void 0:e.localStorage}))()}catch(L){A(L)}if(!a)return J;const D=f(r),M=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(D),V=null!=(l=o.serializer)?l:b[M],{pause:k,resume:x}=t(J,(()=>function(e){try{const t=a.getItem(_.value);if(null==e)F(t,null),a.removeItem(_.value);else{const n=V.write(e);t!==n&&(a.setItem(_.value,n),F(t,n))}}catch(L){A(L)}}(J.value)),{flush:v,deep:p,eventFilter:j});function F(e,t){if(E){const n={key:_.value,oldValue:e,newValue:t,storageArea:a};E.dispatchEvent(a instanceof Storage?new StorageEvent("storage",n):new CustomEvent(h,{detail:n}))}}function T(e){if(!e||e.storageArea===a)if(e&&null==e.key)J.value=D;else if(!e||e.key===_.value){k();try{(null==e?void 0:e.newValue)!==V.write(J.value)&&(J.value=function(e){const t=e?e.newValue:a.getItem(_.value);if(null==t)return S&&null!=D&&a.setItem(_.value,V.write(D)),D;if(!e&&N){const e=V.read(t);return"function"==typeof N?N(e,D):"object"!==M||Array.isArray(e)?e:{...D,...e}}return"string"!=typeof t?t:V.read(t)}(e))}catch(L){A(L)}finally{e?d(x):x()}}}function C(e){T(e.detail)}return c(_,(()=>T()),{flush:v}),E&&y&&n((()=>{a instanceof Storage?w(E,"storage",T,{passive:!0}):w(E,h,C),I&&T()})),I||T(),J}function O(e,t,n={}){const{window:r=g}=n;return N(e,t,null==r?void 0:r.localStorage,n)}function E(e,t,n={}){const{window:r=g}=n;return N(e,t,null==r?void 0:r.sessionStorage,n)}export{E as a,O as u};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as o,a as e,l as i,c as r,$ as a,w as s,aL as t}from"./main-DUOwN26A.js";import{u as d,a as n}from"./index-DobLzAdB.js";import{r as l}from"./verify-DntmcGWB.js";import{A as p}from"./index-KCUOobnu.js";import{u as m}from"./index-C9r2f0Ic.js";import"./index-BygmNX12.js";import"./index-DgjT6rfd.js";import"./test-DX0x6VVo.js";import"./useStore-BhpEzt4H.js";const u=o({name:"NotifyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(o){const{isRefreshNode:u}=d(),{validate:v,validationResult:c,registerCompatValidator:f,unregisterValidator:j}=n(),g=e(["warningColor","primaryColor"]),x=i((()=>c.value.valid&&o.node.config.provider?"var(--n-primary-color)":"var(--n-warning-color)")),y=i((()=>c.value.valid&&o.node.config.provider?r(p,{icon:o.node.config.provider,type:"success"},null):a("t_9_1745735765287")));return s((()=>u.value),(e=>{m((()=>{f(o.node.id,l,o.node.config),v(o.node.id),u.value=null}),500)}),{immediate:!0}),t((()=>j(o.node.id))),()=>r("div",{style:g.value,class:"text-[12px]"},[r("div",{style:{color:x.value}},[y.value])])}});export{u as default};
import{d as o,a as e,l as i,c as r,$ as a,w as s,aO as t}from"./main-DKqTMGci.js";import{u as d,a as n}from"./index-DffoH-R8.js";import{r as l}from"./verify-B43ktUsL.js";import{A as p}from"./index-C8NIzWwZ.js";import{u as m}from"./index-ClL52y7R.js";import"./index-K1QYmvkf.js";import"./index-DoBLtCBk.js";import"./test-BLZVy0JC.js";import"./useStore-fO20gUdJ.js";const u=o({name:"NotifyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(o){const{isRefreshNode:u}=d(),{validate:v,validationResult:c,registerCompatValidator:f,unregisterValidator:j}=n(),g=e(["warningColor","primaryColor"]),x=i((()=>c.value.valid&&o.node.config.provider?"var(--n-primary-color)":"var(--n-warning-color)")),y=i((()=>c.value.valid&&o.node.config.provider?r(p,{icon:o.node.config.provider,type:"success"},null):a("t_9_1745735765287")));return s((()=>u.value),(e=>{m((()=>{f(o.node.id,l,o.node.config),v(o.node.id),u.value=null}),500)}),{immediate:!0}),t((()=>j(o.node.id))),()=>r("div",{style:g.value,class:"text-[12px]"},[r("div",{style:{color:x.value}},[y.value])])}});export{u as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
/* empty css */const r={Modal:{preset:"card"}},e={name:"defaultLight",type:"light",title:"默认亮色主题",themeOverrides:{common:{borderRadius:"0.6rem",primaryColor:"#4caf50",primaryColorHover:"#20a53a",primaryColorPressed:"#157f3a",primaryColorSuppl:"#4caf50"}},presetsOverrides:r},o={name:"defaultDark",type:"dark",title:"默认暗色主题",themeOverrides:{common:{primaryColor:"#4caf50",primaryColorHover:"#20a53a",primaryColorPressed:"#157f3a",primaryColorSuppl:"#4caf50",borderRadius:"0.6rem"},Popover:{},Button:{textColorPrimary:"#ffffff",textColorHoverPrimary:"#ffffff",textColorPressedPrimary:"#ffffff",textColorFocusPrimary:"#ffffff"},Radio:{buttonTextColorActive:"#ffffff"}},presetsOverrides:r};export{o as defaultDark,e as defaultLight};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{u as e,N as a}from"./index-DgjT6rfd.js";import{d as l,r as t,w as u,o as s,c as d,v as o,q as n,$ as v,n as p,B as r,i}from"./main-DUOwN26A.js";import{b as y}from"./useStore-D55peUEd.js";import{S as f}from"./index-BygmNX12.js";import{N as c}from"./text-D2UE5EL1.js";import{N as m}from"./Flex-D8wlmEmi.js";const b=l({name:"DnsProviderSelect",props:{type:{type:String,default:""},path:{type:String,default:""},value:{type:String,default:""},valueType:{type:String,default:"value"},isAddMode:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},customClass:{type:String,default:""}},emits:["update:value"],setup(l,{emit:b}){const{handleError:_}=e(),{fetchDnsProvider:g,dnsProvider:x}=y(),h=t({label:"",value:"",type:""}),j=t([]),S=t(!1),w=t(""),C=()=>{window.open("/auth-api-manage","_blank")},T=({option:e})=>d("div",{class:"flex items-center"},[e.label?k(e):d(c,{class:"text-[#aaa]"},{default:()=>["dns"===l.type?v("t_0_1747019621052",[]):v("t_0_1746858920894")]})]),k=e=>d(m,null,{default:()=>[d(f,{icon:`resources-${e.type}`,size:"2rem"},null),d(c,null,{default:()=>[e.label]})]}),A=async()=>{var e,a,l;const t=x.value.find((e=>e.value===h.value.value));t&&(h.value={label:t.label,value:t.value,type:t.type}),x.value.length>0&&""===h.value.value&&(h.value={label:(null==(e=x.value[0])?void 0:e.label)||"",value:(null==(a=x.value[0])?void 0:a.value)||"",type:(null==(l=x.value[0])?void 0:l.type)||""}),b("update:value",h.value)},B=e=>{h.value.value=e,A()},D=async(e="")=>{S.value=!0,w.value="";try{await g(e)}catch(a){w.value="string"==typeof a?a:v("t_0_1746760933542"),_(a)}finally{S.value=!1}},L=(e,a)=>a.label.toLowerCase().includes(e.toLowerCase());return u((()=>x.value),(e=>{j.value=e.map((e=>({label:e.label,value:"value"===l.valueType?e.value:e.type,type:"value"===l.valueType?e.type:e.value})))||[],A()})),u((()=>l.value),(()=>{B(l.value)}),{immediate:!0}),s((()=>{D(l.type)})),()=>{let e;return d(a,{show:S.value},{default:()=>[d(o,{cols:24,class:l.customClass},{default:()=>[d(n,{span:l.isAddMode?13:24,label:"dns"===l.type?v("t_3_1745735765112"):v("t_0_1746754500246"),path:l.path},{default:()=>[d(p,{class:"flex-1 w-full",options:j.value,renderLabel:k,renderTag:T,filterable:!0,filter:L,placeholder:"dns"===l.type?v("t_3_1745490735059"):v("t_0_1746858920894"),value:h.value.value,"onUpdate:value":e=>h.value.value=e,onUpdateValue:B,disabled:l.disabled},{empty:()=>d("span",{class:"text-[1.4rem]"},[w.value||("dns"===l.type?v("t_1_1746858922914"):v("t_2_1746858923964"))])})]}),l.isAddMode&&d(n,{span:11},{default:()=>{return[d(r,{class:"mx-[8px]",onClick:C,disabled:l.disabled},{default:()=>["dns"===l.type?v("t_1_1746004861166"):v("t_3_1746858920060")]}),d(r,{onClick:()=>D(l.type),loading:S.value,disabled:l.disabled},(a=e=v("t_0_1746497662220"),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!i(a)?e:{default:()=>[e]}))];var a}})]})]})}}});export{b as D};
import{u as e,N as a}from"./index-DoBLtCBk.js";import{d as l,r as t,w as u,o as s,c as d,v as o,q as n,$ as v,n as p,B as r,i}from"./main-DKqTMGci.js";import{b as y}from"./useStore-BxWZ-2Xk.js";import{S as f}from"./index-K1QYmvkf.js";import{N as c}from"./text-CBxeXF61.js";import{N as m}from"./Flex-CfuRT3n6.js";const b=l({name:"DnsProviderSelect",props:{type:{type:String,default:""},path:{type:String,default:""},value:{type:String,default:""},valueType:{type:String,default:"value"},isAddMode:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},customClass:{type:String,default:""}},emits:["update:value"],setup(l,{emit:b}){const{handleError:_}=e(),{fetchDnsProvider:g,dnsProvider:x}=y(),h=t({label:"",value:"",type:""}),j=t([]),S=t(!1),w=t(""),C=()=>{window.open("/auth-api-manage","_blank")},T=({option:e})=>d("div",{class:"flex items-center"},[e.label?k(e):d(c,{class:"text-[#aaa]"},{default:()=>["dns"===l.type?v("t_0_1747019621052",[]):v("t_0_1746858920894")]})]),k=e=>d(m,null,{default:()=>[d(f,{icon:`resources-${e.type}`,size:"2rem"},null),d(c,null,{default:()=>[e.label]})]}),A=async()=>{var e,a,l;const t=x.value.find((e=>e.value===h.value.value));t&&(h.value={label:t.label,value:t.value,type:t.type}),x.value.length>0&&""===h.value.value&&(h.value={label:(null==(e=x.value[0])?void 0:e.label)||"",value:(null==(a=x.value[0])?void 0:a.value)||"",type:(null==(l=x.value[0])?void 0:l.type)||""}),b("update:value",h.value)},B=e=>{h.value.value=e,A()},D=async(e="")=>{S.value=!0,w.value="";try{await g(e)}catch(a){w.value="string"==typeof a?a:v("t_0_1746760933542"),_(a)}finally{S.value=!1}},L=(e,a)=>a.label.toLowerCase().includes(e.toLowerCase());return u((()=>x.value),(e=>{j.value=e.map((e=>({label:e.label,value:"value"===l.valueType?e.value:e.type,type:"value"===l.valueType?e.type:e.value})))||[],A()})),u((()=>l.value),(()=>{B(l.value)}),{immediate:!0}),s((()=>{D(l.type)})),()=>{let e;return d(a,{show:S.value},{default:()=>[d(o,{cols:24,class:l.customClass},{default:()=>[d(n,{span:l.isAddMode?13:24,label:"dns"===l.type?v("t_3_1745735765112"):v("t_0_1746754500246"),path:l.path},{default:()=>[d(p,{class:"flex-1 w-full",options:j.value,renderLabel:k,renderTag:T,filterable:!0,filter:L,placeholder:"dns"===l.type?v("t_3_1745490735059"):v("t_0_1746858920894"),value:h.value.value,"onUpdate:value":e=>h.value.value=e,onUpdateValue:B,disabled:l.disabled},{empty:()=>d("span",{class:"text-[1.4rem]"},[w.value||("dns"===l.type?v("t_1_1746858922914"):v("t_2_1746858923964"))])})]}),l.isAddMode&&d(n,{span:11},{default:()=>{return[d(r,{class:"mx-[8px]",onClick:C,disabled:l.disabled},{default:()=>["dns"===l.type?v("t_1_1746004861166"):v("t_3_1746858920060")]}),d(r,{onClick:()=>D(l.type),loading:S.value,disabled:l.disabled},(a=e=v("t_0_1746497662220"),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!i(a)?e:{default:()=>[e]}))];var a}})]})]})}}});export{b as D};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as e,l as i,c as r}from"./main-DUOwN26A.js";const t=e({name:"SvgIcon",props:{icon:{type:String,required:!0},color:{type:String,default:""},size:{type:String,default:"1.8rem"}},setup(e){const t=i((()=>`#icon-${e.icon}`));return()=>r("svg",{class:"relative inline-block align-[-0.2rem]",style:{width:e.size,height:e.size},"aria-hidden":"true"},[r("use",{"xlink:href":t.value,fill:e.color},null)])}});export{t as S};
import{d as e,l as i,c as r}from"./main-DKqTMGci.js";const t=e({name:"SvgIcon",props:{icon:{type:String,required:!0},color:{type:String,default:""},size:{type:String,default:"1.8rem"}},setup(e){const t=i((()=>`#icon-${e.icon}`));return()=>r("svg",{class:"relative inline-block align-[-0.2rem]",style:{width:e.size,height:e.size},"aria-hidden":"true"},[r("use",{"xlink:href":t.value,fill:e.color},null)])}});export{t as S};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{c as o,d as s}from"./index-DgjT6rfd.js";const e=s=>o("/v1/login/sign",s),g=()=>s.get("/v1/login/get_code"),i=()=>o("/v1/login/sign-out"),v=s=>o("/v1/overview/get_overviews",s);export{g as a,v as g,e as l,i as s};
import{c as o,d as s}from"./index-DoBLtCBk.js";const e=s=>o("/v1/login/sign",s),g=()=>s.get("/v1/login/get_code"),i=()=>o("/v1/login/sign-out"),v=s=>o("/v1/overview/get_overviews",s);export{g as a,v as g,e as l,i as s};

View File

@ -1 +1 @@
import{c as t}from"./index-DgjT6rfd.js";const e=e=>t("/v1/setting/get_setting",e),r=e=>t("/v1/setting/save_setting",e),s=e=>t("/v1/report/add_report",e),o=e=>t("/v1/report/upd_report",e),a=e=>t("/v1/report/del_report",e),p=e=>t("/v1/report/notify_test",e),i=e=>t("/v1/report/get_list",e);export{i as a,s as b,a as d,e as g,r as s,p as t,o as u};
import{c as t}from"./index-DoBLtCBk.js";const e=e=>t("/v1/setting/get_setting",e),r=e=>t("/v1/setting/save_setting",e),s=e=>t("/v1/report/add_report",e),o=e=>t("/v1/report/upd_report",e),a=e=>t("/v1/report/del_report",e),p=e=>t("/v1/report/notify_test",e),i=e=>t("/v1/report/get_list",e);export{i as a,s as b,a as d,e as g,r as s,p as t,o as u};

View File

@ -1 +1 @@
import{bi as t,bb as e,bl as r,bv as n,bw as u,bx as o,bp as i,by as c,bh as a}from"./main-DUOwN26A.js";function s(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var f=function(){function e(t,e){this.xf=e,this.f=t,this.all=!0}return e.prototype["@@transducer/init"]=t.init,e.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=s(this.xf["@@transducer/step"](t,!1))),t},e}();function l(t){return function(e){return new f(t,e)}}var p=e(r(["all"],l,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function g(t,e){return function(t,e,r){var u,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(u=1/e;r<t.length;){if(0===(o=t[r])&&1/o===u)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(n(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function b(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var d=function(t){return(t<10?"0":"")+t},y="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+d(t.getUTCMonth()+1)+"-"+d(t.getUTCDate())+"T"+d(t.getUTCHours())+":"+d(t.getUTCMinutes())+":"+d(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var h=function(){function e(t,e){this.xf=e,this.f=t}return e.prototype["@@transducer/init"]=t.init,e.prototype["@@transducer/result"]=t.result,e.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},e}();function v(t){return function(e){return new h(t,e)}}var j=e(r(["fantasy-land/filter","filter"],v,(function(t,e){return o(e)?u((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},i(e)):function(t,e){for(var r=0,n=e.length,u=[];r<n;)t(e[r])&&(u[u.length]=e[r]),r+=1;return u}(t,e)}))),x=e((function(t,e){return j((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function S(t,e){var r=function(r){var n=e.concat([t]);return g(r,n)?"<Circular>":S(r,n)},n=function(t,e){return c((function(e){return b(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+c(r,t).join(", ")+"))";case"[object Array]":return"["+c(r,t).concat(n(t,x((function(t){return/^\d+$/.test(t)}),i(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):b(y(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":b(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var u=t.toString();if("[object Object]"!==u)return u}return"{"+n(t,i(t)).join(", ")+"}"}}var m=a((function(t){return S(t,[])}));function w(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}var O=e((function(t,e){if(r=t,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("test requires a value of type RegExp as its first argument; received "+m(t));var r;return w(t).test(e)}));export{w as _,s as a,g as b,p as c,m as d,O as t};
import{bl as t,be as e,bo as r,by as n,bz as u,bA as o,bs as i,bB as c,bk as a}from"./main-DKqTMGci.js";function s(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var f=function(){function e(t,e){this.xf=e,this.f=t,this.all=!0}return e.prototype["@@transducer/init"]=t.init,e.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=s(this.xf["@@transducer/step"](t,!1))),t},e}();function l(t){return function(e){return new f(t,e)}}var p=e(r(["all"],l,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function g(t,e){return function(t,e,r){var u,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(u=1/e;r<t.length;){if(0===(o=t[r])&&1/o===u)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(n(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function b(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var d=function(t){return(t<10?"0":"")+t},y="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+d(t.getUTCMonth()+1)+"-"+d(t.getUTCDate())+"T"+d(t.getUTCHours())+":"+d(t.getUTCMinutes())+":"+d(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var h=function(){function e(t,e){this.xf=e,this.f=t}return e.prototype["@@transducer/init"]=t.init,e.prototype["@@transducer/result"]=t.result,e.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},e}();function v(t){return function(e){return new h(t,e)}}var j=e(r(["fantasy-land/filter","filter"],v,(function(t,e){return o(e)?u((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},i(e)):function(t,e){for(var r=0,n=e.length,u=[];r<n;)t(e[r])&&(u[u.length]=e[r]),r+=1;return u}(t,e)}))),x=e((function(t,e){return j((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function S(t,e){var r=function(r){var n=e.concat([t]);return g(r,n)?"<Circular>":S(r,n)},n=function(t,e){return c((function(e){return b(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+c(r,t).join(", ")+"))";case"[object Array]":return"["+c(r,t).concat(n(t,x((function(t){return/^\d+$/.test(t)}),i(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):b(y(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":b(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var u=t.toString();if("[object Object]"!==u)return u}return"{"+n(t,i(t)).join(", ")+"}"}}var m=a((function(t){return S(t,[])}));function w(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}var O=e((function(t,e){if(r=t,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("test requires a value of type RegExp as its first argument; received "+m(t));var r;return w(t).test(e)}));export{w as _,s as a,g as b,p as c,m as d,O as t};

View File

@ -1 +1 @@
import{Q as e,T as o,d as t,z as n,U as r,A as s,bT as i,l,aE as a,X as d,al as c}from"./main-DUOwN26A.js";const h=e("text","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n",[o("strong","\n font-weight: var(--n-font-weight-strong);\n "),o("italic",{fontStyle:"italic"}),o("underline",{textDecoration:"underline"}),o("code","\n line-height: 1.4;\n display: inline-block;\n font-family: var(--n-font-famliy-mono);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n box-sizing: border-box;\n padding: .05em .35em 0 .35em;\n border-radius: var(--n-code-border-radius);\n font-size: .9em;\n color: var(--n-code-text-color);\n background-color: var(--n-code-color);\n border: var(--n-code-border);\n ")]),g=t({name:"Text",props:Object.assign(Object.assign({},s.props),{code:Boolean,type:{type:String,default:"default"},delete:Boolean,strong:Boolean,italic:Boolean,underline:Boolean,depth:[String,Number],tag:String,as:{type:String,validator:()=>!0,default:void 0}}),setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:t}=r(e),n=s("Typography","-text",h,i,e,o),g=l((()=>{const{depth:o,type:t}=e,r="default"===t?void 0===o?"textColor":`textColor${o}Depth`:a("textColor",t),{common:{fontWeightStrong:s,fontFamilyMono:i,cubicBezierEaseInOut:l},self:{codeTextColor:d,codeBorderRadius:c,codeColor:h,codeBorder:g,[r]:u}}=n.value;return{"--n-bezier":l,"--n-text-color":u,"--n-font-weight-strong":s,"--n-font-famliy-mono":i,"--n-code-border-radius":c,"--n-code-text-color":d,"--n-code-color":h,"--n-code-border":g}})),u=t?d("text",l((()=>`${e.type[0]}${e.depth||""}`)),g,e):void 0;return{mergedClsPrefix:o,compitableTag:c(e,["as","tag"]),cssVars:t?void 0:g,themeClass:null==u?void 0:u.themeClass,onRender:null==u?void 0:u.onRender}},render(){var e,o,t;const{mergedClsPrefix:r}=this;null===(e=this.onRender)||void 0===e||e.call(this);const s=[`${r}-text`,this.themeClass,{[`${r}-text--code`]:this.code,[`${r}-text--delete`]:this.delete,[`${r}-text--strong`]:this.strong,[`${r}-text--italic`]:this.italic,[`${r}-text--underline`]:this.underline}],i=null===(t=(o=this.$slots).default)||void 0===t?void 0:t.call(o);return this.code?n("code",{class:s,style:this.cssVars},this.delete?n("del",null,i):i):this.delete?n("del",{class:s,style:this.cssVars},i):n(this.compitableTag||"span",{class:s,style:this.cssVars},i)}});export{g as N};
import{Q as e,T as o,d as t,z as n,U as r,A as s,bW as i,l,aE as a,X as d,al as c}from"./main-DKqTMGci.js";const h=e("text","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n",[o("strong","\n font-weight: var(--n-font-weight-strong);\n "),o("italic",{fontStyle:"italic"}),o("underline",{textDecoration:"underline"}),o("code","\n line-height: 1.4;\n display: inline-block;\n font-family: var(--n-font-famliy-mono);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n box-sizing: border-box;\n padding: .05em .35em 0 .35em;\n border-radius: var(--n-code-border-radius);\n font-size: .9em;\n color: var(--n-code-text-color);\n background-color: var(--n-code-color);\n border: var(--n-code-border);\n ")]),g=t({name:"Text",props:Object.assign(Object.assign({},s.props),{code:Boolean,type:{type:String,default:"default"},delete:Boolean,strong:Boolean,italic:Boolean,underline:Boolean,depth:[String,Number],tag:String,as:{type:String,validator:()=>!0,default:void 0}}),setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:t}=r(e),n=s("Typography","-text",h,i,e,o),g=l((()=>{const{depth:o,type:t}=e,r="default"===t?void 0===o?"textColor":`textColor${o}Depth`:a("textColor",t),{common:{fontWeightStrong:s,fontFamilyMono:i,cubicBezierEaseInOut:l},self:{codeTextColor:d,codeBorderRadius:c,codeColor:h,codeBorder:g,[r]:u}}=n.value;return{"--n-bezier":l,"--n-text-color":u,"--n-font-weight-strong":s,"--n-font-famliy-mono":i,"--n-code-border-radius":c,"--n-code-text-color":d,"--n-code-color":h,"--n-code-border":g}})),u=t?d("text",l((()=>`${e.type[0]}${e.depth||""}`)),g,e):void 0;return{mergedClsPrefix:o,compitableTag:c(e,["as","tag"]),cssVars:t?void 0:g,themeClass:null==u?void 0:u.themeClass,onRender:null==u?void 0:u.onRender}},render(){var e,o,t;const{mergedClsPrefix:r}=this;null===(e=this.onRender)||void 0===e||e.call(this);const s=[`${r}-text`,this.themeClass,{[`${r}-text--code`]:this.code,[`${r}-text--delete`]:this.delete,[`${r}-text--strong`]:this.strong,[`${r}-text--italic`]:this.italic,[`${r}-text--underline`]:this.underline}],i=null===(t=(o=this.$slots).default)||void 0===t?void 0:t.call(o);return this.code?n("code",{class:s,style:this.cssVars},this.delete?n("del",null,i):i):this.delete?n("del",{class:s,style:this.cssVars},i):n(this.compitableTag||"span",{class:s,style:this.cssVars},i)}});export{g as N};

View File

@ -1 +1 @@
import{c as e,u as a}from"./index-DgjT6rfd.js";import{a as s}from"./setting-BtTwGaRp.js";import{e as t,s as n,r as c,l as o,$ as l}from"./main-DUOwN26A.js";import{u as i,a as u}from"./index-BFoI7iji.js";const d=a=>e("/v1/access/get_list",a),m=a=>e("/v1/access/add_access",a),r=a=>e("/v1/access/upd_access",a),v=a=>e("/v1/access/del_access",a),_=t("layout-store",(()=>{const{handleError:t}=a(),n=i("layout-collapsed",!1),d=c([]),m=c([]),r=u("menu-active","home"),v=o((()=>"home"!==r.value?"var(--n-content-padding)":"0")),_=i("locales-active","zhCN"),p=c({ssh:{name:"SSH",access:["host"]},btpanel:{name:l("t_10_1745735765165"),access:["host"]},"1panel":{name:"1Panel",access:["host"]},aliyun:{name:l("t_2_1747019616224"),access:["dns","host"]},tencentcloud:{name:l("t_3_1747019616129"),access:["dns","host"]},huaweicloud:{name:"华为云",access:["dns"]},cloudflare:{name:"Cloudflare",access:["dns"]}}),h=c({"btpanel-site":{name:l("t_11_1745735766456")},"1panel-site":{name:l("t_13_1745735766084")},"aliyun-cdn":{name:l("t_16_1745735766712")},"aliyun-oss":{name:l("t_2_1746697487164")},"tencentcloud-cdn":{name:l("t_14_1745735766121")},"tencentcloud-cos":{name:l("t_15_1745735768976")}}),y=c({mail:{name:l("t_68_1745289354676")},dingtalk:{name:l("t_32_1746773348993")},wecom:{name:l("t_33_1746773350932")},feishu:{name:l("t_34_1746773350153")},webhook:{name:"WebHook"}});return{locales:_,notifyProvider:d,dnsProvider:m,isCollapsed:n,layoutPadding:v,menuActive:r,sourceTypes:p,sourceDerivationTypes:h,pushSourceType:y,resetDataInfo:()=>{r.value="home",sessionStorage.removeItem("menu-active")},updateMenuActive:e=>{"logout"!==e&&(r.value=e)},toggleCollapse:()=>{n.value=!n.value},handleCollapse:()=>{n.value=!0},handleExpand:()=>{n.value=!1},fetchNotifyProvider:async()=>{try{d.value=[];const{data:e}=await s({p:1,search:"",limit:1e3}).fetch();d.value=null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type})))}catch(e){t(e)}},fetchDnsProvider:async(a="")=>{try{m.value=[];const{data:t}=await(s={type:a},e("/v1/access/get_all",s)).fetch();m.value=(null==t?void 0:t.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(n){t(n)}var s}}})),p=()=>{const e=_();return{...e,...n(e)}};export{m as a,p as b,v as d,d as g,r as u};
import{c as e,u as a}from"./index-DoBLtCBk.js";import{a as s}from"./setting-huTIIu1c.js";import{e as t,s as n,r as c,l as o,$ as l}from"./main-DKqTMGci.js";import{u as i,a as u}from"./index-CpnxPwGt.js";const d=a=>e("/v1/access/get_list",a),m=a=>e("/v1/access/add_access",a),r=a=>e("/v1/access/upd_access",a),v=a=>e("/v1/access/del_access",a),_=t("layout-store",(()=>{const{handleError:t}=a(),n=i("layout-collapsed",!1),d=c([]),m=c([]),r=u("menu-active","home"),v=o((()=>"home"!==r.value?"var(--n-content-padding)":"0")),_=i("locales-active","zhCN"),p=c({ssh:{name:"SSH",access:["host"]},btpanel:{name:l("t_10_1745735765165"),access:["host"]},"1panel":{name:"1Panel",access:["host"]},aliyun:{name:l("t_2_1747019616224"),access:["dns","host"]},tencentcloud:{name:l("t_3_1747019616129"),access:["dns","host"]},huaweicloud:{name:"华为云",access:["dns"]},cloudflare:{name:"Cloudflare",access:["dns"]}}),h=c({"btpanel-site":{name:l("t_11_1745735766456")},"1panel-site":{name:l("t_13_1745735766084")},"aliyun-cdn":{name:l("t_16_1745735766712")},"aliyun-oss":{name:l("t_2_1746697487164")},"tencentcloud-cdn":{name:l("t_14_1745735766121")},"tencentcloud-cos":{name:l("t_15_1745735768976")}}),y=c({mail:{name:l("t_68_1745289354676")},dingtalk:{name:l("t_32_1746773348993")},wecom:{name:l("t_33_1746773350932")},feishu:{name:l("t_34_1746773350153")},webhook:{name:"WebHook"}});return{locales:_,notifyProvider:d,dnsProvider:m,isCollapsed:n,layoutPadding:v,menuActive:r,sourceTypes:p,sourceDerivationTypes:h,pushSourceType:y,resetDataInfo:()=>{r.value="home",sessionStorage.removeItem("menu-active")},updateMenuActive:e=>{"logout"!==e&&(r.value=e)},toggleCollapse:()=>{n.value=!n.value},handleCollapse:()=>{n.value=!0},handleExpand:()=>{n.value=!1},fetchNotifyProvider:async()=>{try{d.value=[];const{data:e}=await s({p:1,search:"",limit:1e3}).fetch();d.value=null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type})))}catch(e){t(e)}},fetchDnsProvider:async(a="")=>{try{m.value=[];const{data:t}=await(s={type:a},e("/v1/access/get_all",s)).fetch();m.value=(null==t?void 0:t.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(n){t(n)}var s}}})),p=()=>{const e=_();return{...e,...n(e)}};export{m as a,p as b,v as d,d as g,r as u};

View File

@ -1 +1 @@
import{c as e,u as a}from"./index-DgjT6rfd.js";import{e as o,s as t,r as l,$ as r}from"./main-DUOwN26A.js";const w=a=>e("/v1/workflow/get_list",a),s=a=>e("/v1/workflow/del_workflow",a),c=a=>e("/v1/workflow/get_workflow_history",a),n=a=>e("/v1/workflow/get_exec_log",a),d=a=>e("/v1/workflow/execute_workflow",a),f=a=>e("/v1/workflow/exec_type",a),i=a=>e("/v1/workflow/active",a),u=o("work-edit-view-store",(()=>{const{handleError:o}=a(),t=l(!1),w=l(!1),s=l({id:"",name:"",content:"",active:"1",exec_type:"manual"}),c=l("quick"),n=l({id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}});return{isEdit:t,detectionRefresh:w,workflowData:s,workflowType:c,workDefalutNodeData:n,resetWorkflowData:()=>{s.value={id:"",name:"",content:"",active:"1",exec_type:"manual"},n.value={id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}},c.value="quick",t.value=!1},addNewWorkflow:async a=>{try{const{message:o,fetch:t}=(a=>e("/v1/workflow/add_workflow",a))(a);o.value=!0,await t()}catch(t){o(t).default(r("t_10_1745457486451"))}},updateWorkflowData:async a=>{try{const{message:o,fetch:t}=e("/v1/workflow/upd_workflow",a);o.value=!0,await t()}catch(t){o(t).default(r("t_11_1745457488256"))}}}})),k=()=>{const e=u();return{...e,...t(e)}};export{c as a,d as b,n as c,s as d,i as e,k as f,w as g,f as u};
import{c as e,u as a}from"./index-DoBLtCBk.js";import{e as o,s as t,r as l,$ as r}from"./main-DKqTMGci.js";const w=a=>e("/v1/workflow/get_list",a),s=a=>e("/v1/workflow/del_workflow",a),c=a=>e("/v1/workflow/get_workflow_history",a),n=a=>e("/v1/workflow/get_exec_log",a),d=a=>e("/v1/workflow/execute_workflow",a),f=a=>e("/v1/workflow/exec_type",a),i=a=>e("/v1/workflow/active",a),u=o("work-edit-view-store",(()=>{const{handleError:o}=a(),t=l(!1),w=l(!1),s=l({id:"",name:"",content:"",active:"1",exec_type:"manual"}),c=l("quick"),n=l({id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}});return{isEdit:t,detectionRefresh:w,workflowData:s,workflowType:c,workDefalutNodeData:n,resetWorkflowData:()=>{s.value={id:"",name:"",content:"",active:"1",exec_type:"manual"},n.value={id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}},c.value="quick",t.value=!1},addNewWorkflow:async a=>{try{const{message:o,fetch:t}=(a=>e("/v1/workflow/add_workflow",a))(a);o.value=!0,await t()}catch(t){o(t).default(r("t_10_1745457486451"))}},updateWorkflowData:async a=>{try{const{message:o,fetch:t}=e("/v1/workflow/upd_workflow",a);o.value=!0,await t()}catch(t){o(t).default(r("t_11_1745457488256"))}}}})),k=()=>{const e=u();return{...e,...t(e)}};export{c as a,d as b,n as c,s as d,i as e,k as f,w as g,f as u};

View File

@ -1 +1 @@
import{$ as e}from"./main-DUOwN26A.js";const r={exec_type:{required:!0,message:e("t_31_1745735767891"),trigger:"change"},type:{required:!0,message:e("t_32_1745735767156"),trigger:"change"},week:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"},month:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"},hour:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"},minute:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"}};export{r};
import{$ as e}from"./main-DKqTMGci.js";const r={exec_type:{required:!0,message:e("t_31_1745735767891"),trigger:"change"},type:{required:!0,message:e("t_32_1745735767156"),trigger:"change"},week:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"},month:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"},hour:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"},minute:{required:!0,message:e("t_33_1745735766532"),trigger:"input",type:"number"}};export{r};

View File

@ -1 +1 @@
import{$ as r}from"./main-DUOwN26A.js";const e={subject:{trigger:"input",validator:(e,t)=>new Promise(((e,o)=>{t?t.length>100?o(new Error(r("t_3_1745887835089")+"长度不能超过100个字符")):e():o(new Error(r("t_3_1745887835089")))}))},body:{trigger:"input",validator:(e,t)=>new Promise(((e,o)=>{t?t.length>1e3?o(new Error(r("t_4_1745887835265")+"长度不能超过1000个字符")):e():o(new Error(r("t_4_1745887835265")))}))},provider_id:{trigger:"change",type:"string",validator:(e,t)=>new Promise(((e,o)=>{t?e():o(new Error(r("t_0_1745887835267")))}))}};export{e as r};
import{$ as r}from"./main-DKqTMGci.js";const e={subject:{trigger:"input",validator:(e,t)=>new Promise(((e,o)=>{t?t.length>100?o(new Error(r("t_3_1745887835089")+"长度不能超过100个字符")):e():o(new Error(r("t_3_1745887835089")))}))},body:{trigger:"input",validator:(e,t)=>new Promise(((e,o)=>{t?t.length>1e3?o(new Error(r("t_4_1745887835265")+"长度不能超过1000个字符")):e():o(new Error(r("t_4_1745887835265")))}))},provider_id:{trigger:"change",type:"string",validator:(e,t)=>new Promise(((e,o)=>{t?e():o(new Error(r("t_0_1745887835267")))}))}};export{e as r};

View File

@ -1 +1 @@
import{$ as e}from"./main-DUOwN26A.js";import{N as r}from"./business-CRXZMi5O.js";const i={provider:{required:!0,message:e("t_0_1746858920894"),type:"string",trigger:"change"},provider_id:{required:!0,trigger:"change",type:"string",validator:(r,i)=>{if(!i)return new Error(e("t_0_1746858920894"))}},"inputs.fromNodeId":{required:!0,message:e("t_3_1745748298161"),trigger:"change"},certPath:{required:!0,message:e("t_30_1746667591892"),trigger:"input"},keyPath:{required:!0,message:e("t_31_1746667593074"),trigger:"input"},siteName:{required:!0,message:e("t_23_1745735766455"),trigger:"input"},site_id:{required:!0,message:e("t_24_1745735766826"),trigger:"input"},domain:{required:!0,trigger:"input",validator:(i,t)=>{if(!r(t))return new Error(e("t_0_1744958839535"))}},region:{required:!0,message:e("t_25_1745735766651"),trigger:"input"},bucket:{required:!0,message:e("t_26_1745735767144"),trigger:"input"}};export{i as r};
import{$ as e}from"./main-DKqTMGci.js";import{N as r}from"./business-DeShhBC1.js";const i={provider:{required:!0,message:e("t_0_1746858920894"),type:"string",trigger:"change"},provider_id:{required:!0,trigger:"change",type:"string",validator:(r,i)=>{if(!i)return new Error(e("t_0_1746858920894"))}},"inputs.fromNodeId":{required:!0,message:e("t_3_1745748298161"),trigger:"change"},certPath:{required:!0,message:e("t_30_1746667591892"),trigger:"input"},keyPath:{required:!0,message:e("t_31_1746667593074"),trigger:"input"},siteName:{required:!0,message:e("t_23_1745735766455"),trigger:"input"},site_id:{required:!0,message:e("t_24_1745735766826"),trigger:"input"},domain:{required:!0,trigger:"input",validator:(i,t)=>{if(!r(t))return new Error(e("t_0_1744958839535"))}},region:{required:!0,message:e("t_25_1745735766651"),trigger:"input"},bucket:{required:!0,message:e("t_26_1745735767144"),trigger:"input"}};export{i as r};

View File

@ -1 +1 @@
import{w as r,W as e}from"./business-CRXZMi5O.js";import{$ as i}from"./main-DUOwN26A.js";const o={domains:{required:!0,trigger:"input",validator:(r,o)=>new Promise(((r,t)=>{e(o)?o?r():t(new Error(i("t_0_1744958839535"))):t(new Error(i("t_3_1747047218669")))}))},email:{required:!0,trigger:"input",validator:(e,o)=>new Promise(((e,t)=>{r(o)?o?e():t(new Error(i("t_1_1746697485188"))):t(new Error(i("t_1_1745553909483")))}))},provider_id:{required:!0,trigger:"change",validator:(r,e)=>new Promise(((r,o)=>{e?r():o(new Error(i("t_3_1745490735059")))}))},end_day:{required:!0,trigger:"input",validator:(r,e)=>new Promise(((r,o)=>{e?r():o(new Error(i("t_2_1745553907423")))}))}};export{o as r};
import{w as r,W as e}from"./business-DeShhBC1.js";import{$ as i}from"./main-DKqTMGci.js";const o={domains:{required:!0,trigger:"input",validator:(r,o)=>new Promise(((r,t)=>{e(o)?o?r():t(new Error(i("t_0_1744958839535"))):t(new Error(i("t_3_1747047218669")))}))},email:{required:!0,trigger:"input",validator:(e,o)=>new Promise(((e,t)=>{r(o)?o?e():t(new Error(i("t_1_1746697485188"))):t(new Error(i("t_1_1745553909483")))}))},provider_id:{required:!0,trigger:"change",validator:(r,e)=>new Promise(((r,o)=>{e?r():o(new Error(i("t_3_1745490735059")))}))},end_day:{required:!0,trigger:"input",validator:(r,e)=>new Promise(((r,o)=>{e?r():o(new Error(i("t_2_1745553907423")))}))}};export{o as r};

View File

@ -1 +1 @@
import{$ as r}from"./main-DUOwN26A.js";const e={key:{required:!0,trigger:["input","blur","focus"],validator:(e,i)=>new Promise(((e,o)=>{i?e():o(new Error(r("t_38_1745735769521")))}))},cert:{required:!0,trigger:["input","blur","focus"],validator:(e,i)=>new Promise(((e,o)=>{i?e():o(new Error(r("t_40_1745735815317")))}))}};export{e as r};
import{$ as r}from"./main-DKqTMGci.js";const e={key:{required:!0,trigger:["input","blur","focus"],validator:(e,i)=>new Promise(((e,o)=>{i?e():o(new Error(r("t_38_1745735769521")))}))},cert:{required:!0,trigger:["input","blur","focus"],validator:(e,i)=>new Promise(((e,o)=>{i?e():o(new Error(r("t_40_1745735815317")))}))}};export{e as r};

BIN
frontend/.DS_Store vendored

Binary file not shown.

11
frontend/.editorconfig Normal file
View File

@ -0,0 +1,11 @@
# Editor configuration, see http://editorconfig.org
# 表示是最顶层的 EditorConfig 配置文件
root = true
[*] # 表示所有文件适用
charset = utf-8 # 设置文件字符集为 utf-8
indent_style = space # 缩进风格tab | space
indent_size = 2 # 缩进大小
end_of_line = lf # 控制换行类型(lf | cr | crlf)
trim_trailing_whitespace = true # 去除行首的任意空白字符
insert_final_newline = true # 始终在文件末尾插入一个新行
trim_trailing_whitespace = true # 删除一行中的前后空格

1
frontend/.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

49
frontend/.gitignore vendored Normal file
View File

@ -0,0 +1,49 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Dependencies
node_modules
.pnp
.pnp.js
# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Testing
coverage
# Turbo
.turbo
# Vercel
.vercel
# Build Outputs
.next/
out/
build
dist
# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Misc
.DS_Store
*.pem
.turbo
pnpm-lock.yaml
.specstory/**、
.sync-log
.sync-log/**
.sync-git
.sync-git/**

0
frontend/.npmrc Normal file
View File

View File

@ -0,0 +1,18 @@
# 工具配置
config:
parallel_build: false # 是否并行编译
dry_run: false # 是否干运行
# 工作区配置
workspaces:
# 示例工作区配置
# app-name:
# sync_mappings:
# - source:
# git_url: "https://github.com/user/repo.git" # Git 仓库地址
# branch: "main" # 分支名称
# alias: "repo-name" # 仓库别名(可选)
# target:
# sync_dir: "dist" # 要同步的目录
# git_dir: "dist" # Git 仓库中的目标目录

View File

16
frontend/.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
// 使 IntelliSense
//
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "启动程序",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/apps/cloud-control/bt-i18n.work.js",
"cwd": "${workspaceFolder}/apps/cloud-control"
}
]
}

11
frontend/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"i18n-ally.enabledParsers": ["json", "yaml", "js"],
"i18n-ally.keystyle": "flat",
"i18n-ally.sourceLanguage": "zhCN", //
"i18n-ally.displayLanguage": "zhCN", //
"i18n-ally.enabledFrameworks": ["vue"],
"i18n-ally.localesPaths": [
"apps/cloud-control/src/locales/model",
"apps/allin-ssl/src/locales/model"
]
}

112
frontend/README.md Normal file
View File

@ -0,0 +1,112 @@
# 宝塔 Turborepo 项目
基于 Turborepo 构建的多项目工作空间,包含多个应用和共享包。
## 技术栈
- **构建工具**: Turborepo、Vite
- **前端框架**: Vue 3、React、Svelte
- **语言**: TypeScript
- **样式**: Tailwind CSS、CSS Modules
- **UI 组件库**: Naive UI
- **状态管理**: Pinia
- **路由**: Vue Router
- **工具库**: VueUse、Axios
- **包管理器**: pnpm
## 项目结构
```
.
├── apps/ # 应用目录
│ ├── allin-ssl/ # SSL 管理应用
│ ├── cloud-control/ # 云控制应用
│ ├── monorepo-docs/ # 项目文档应用
│ ├── naive-template/ # Naive UI 模板
│ └── vueFlow/ # Vue Flow 应用示例
├── packages/ # 共享包目录
│ ├── utils/ # 通用工具函数
│ ├── vue/ # Vue 相关组件和工具
│ ├── react/ # React 相关组件和工具
│ ├── svelte/ # Svelte 相关组件和工具
│ └── node/ # Node.js 相关工具
├── environment/ # 环境配置
├── plugin/ # 自定义插件
├── scripts/ # 脚本工具
├── types/ # 全局类型定义
└── ...
```
## 主要应用
### Cloud Control
云控制应用是本项目的主要应用之一,基于 Vue 3、TypeScript 和 Vite 构建。
## 快速开始
### 环境要求
- Node.js >= 18
- pnpm 9.0.0+
### 安装依赖
```bash
pnpm install
```
### 启动开发环境
```bash
# 启动所有应用
pnpm dev
# 仅启动云控制应用
pnpm devcloud
```
### 构建项目
```bash
# 构建所有应用
pnpm build
# 仅构建云控制应用
pnpm buildcloud
```
### 其他命令
```bash
# 代码检查
pnpm lint
# 类型检查
pnpm check-types
# 运行测试
pnpm test
# 清理项目
pnpm clear
# 同步项目
pnpm sync
# Cursor 备份
pnpm cursor:backup
```
## 开发规范
- 使用 TypeScript 编写所有代码
- 遵循函数式编程和声明式编程模式
- 使用 Vue 3 的 Composition API 和 `<script setup>` 语法
- 遵循 MVC 分离模式,区分状态 (useStore.tsx)、控制器 (useController.tsx) 和视图 (index.tsx)
- 使用 TSX 语法编写 Vue 组件,文件使用 .tsx 后缀
- 使用 JSDoc 注释函数、参数和返回值
## 贡献指南
欢迎提交 Pull Request 或提出 Issue。在贡献代码前请确保遵循项目的代码风格和开发规范。

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,131 @@
# Vue 3 + TypeScript + Vite
# AllinSSL
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
AllinSSL 是一个基于 Vue 3 和 TypeScript 开发的 SSL 证书管理平台,旨在简化 SSL 证书的申请、部署、监控和管理流程。
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
## 功能特性
- **证书管理**:集中管理所有 SSL 证书,包括证书信息查看、状态监控和到期提醒
- **证书申请**:简化 SSL 证书申请流程,支持多种类型证书的快速申请
- **自动部署**:支持证书的自动化部署到不同的服务器和环境
- **监控系统**:实时监控证书状态,提供证书健康度和到期预警
- **API 管理**:提供 API 接口管理功能,支持与其他系统集成
- **多语言支持**:内置国际化支持,可扩展多种语言
## 技术栈
- **前端框架**Vue 3 + TypeScript + TSX
- **状态管理**Pinia
- **路由管理**Vue Router
- **UI 组件库**Naive UI
- **工具库**VueUse
- **CSS 框架**Tailwind CSS
- **构建工具**Vite
- **包管理**Turborepo (Monorepo 结构)
## 开发环境设置
### 前提条件
- Node.js (v16+)
- npm 或 yarn 或 pnpm
### 安装依赖
```bash
npm install
# 或
yarn install
# 或
pnpm install
```
### 开发服务器启动
```bash
npm run dev
# 或
yarn dev
# 或
pnpm dev
```
应用将在本地 `http://localhost:5173` 启动。
## 构建部署
### 构建生产版本
```bash
npm run build
# 或
yarn build
# 或
pnpm build
```
构建后的文件将生成在 `dist` 目录中。
### 预览构建结果
```bash
npm run preview
# 或
yarn preview
# 或
pnpm preview
```
## 项目结构
```
src/
├── api/ # API 接口定义
├── assets/ # 静态资源
├── components/ # 公共组件
├── config/ # 全局配置
├── lib/ # 工具库和功能函数
├── locales/ # 国际化语言文件
├── router/ # 路由配置
├── styles/ # 全局样式文件
├── types/ # TypeScript 类型定义
├── views/ # 页面视图组件
│ ├── certApply/ # 证书申请
│ ├── certManage/ # 证书管理
│ ├── autoDeploy/ # 自动部署
│ ├── monitor/ # 监控系统
│ ├── settings/ # 系统设置
│ ├── layout/ # 布局组件
│ ├── login/ # 登录页面
│ └── home/ # 首页
├── App.tsx # 根组件
└── main.ts # 应用入口
```
## 代码规范
项目采用 ESLint 和 Prettier 进行代码规范控制,确保代码风格统一。
```bash
# 运行代码检查
npm run lint
# 或
yarn lint
# 或
pnpm lint
```
## 项目特点
- 采用 Vue 3 Composition API 和 TSX 语法
- MVC 分离模式:将状态 (useStore.tsx)、控制器 (useController.tsx) 和视图 (index.tsx) 区分开来
- 使用 Tailwind CSS 实现响应式设计
- 基于 Vite 的高性能构建系统
- Monorepo 结构,便于多包协同开发
## 贡献指南
欢迎贡献代码,请确保遵循以下准则:
1. 遵循项目已有的代码风格和命名规范
2. 提交前进行代码检查和测试
3. 提交消息遵循规范化提交格式

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ALLinSSL</title>
<title>AllinSSL</title>
</head>
<body>
<div id="app"></div>

View File

@ -50,11 +50,12 @@
},
"devDependencies": {
"@baota/eslint": "workspace:*",
"@baota/plugin-i18n": "workspace:*",
"@baota/vite-plugin-i18n": "workspace:*",
"@baota/vite-plugin-ftp-sync": "workspace:*",
"@baota/vite-plugin-turborepo-deploy": "workspace:*",
"@baota/prettier": "workspace:*",
"@baota/stylelint": "workspace:*",
"@baota/typescript": "workspace:*",
"@baota/project-ftp-sync": "workspace:*",
"@types/crypto-js": "^4.1.1",
"@types/humps": "^2.0.6",
"@types/md5": "^2.3.5",

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1747041966838" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7167" width="40" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M654.7456 646.5536c5.4784-17.408 3.6864-34.7648-5.4784-45.2096s-22.016-17.408-38.5024-19.1488l-318.976-3.4816c-1.8432 0-3.6864-1.7408-5.4784-1.7408-1.8432-1.7408-1.8432-3.4816 0-5.2224 1.8432-3.4816 3.6864-5.2224 7.3216-5.2224l320.8192-3.4816c38.5024-1.7408 78.848-31.2832 93.4912-66.048l18.3296-45.2096c0-1.7408 1.8432-3.4816 0-5.2224C706.048 357.888 621.7216 291.84 522.752 291.84c-91.648 0-170.496 55.6544-197.9904 133.888-18.3296-12.1856-40.3456-19.1488-65.9968-17.408-43.9808 3.4816-78.848 38.2464-84.3264 79.9744-1.8432 10.4448 0 20.8896 1.8432 31.2832C104.7552 521.3696 46.08 576.9728 46.08 646.5536c0 6.9632 0 12.1856 1.8432 19.1488 0 3.4816 3.6864 5.2224 5.4784 5.2224h588.4928c3.6864 0 7.3216-1.7408 7.3216-5.2224l5.5296-19.1488z" fill="#F48120" p-id="7168"></path><path d="M764.7232 460.8h-10.7008c-2.1504 0-4.2496 1.6896-6.4 3.4304l-14.9504 41.1136c-6.4 17.1008-4.2496 34.2528 6.4 44.4928s25.6512 17.1008 44.8512 18.8416l79.0528 3.4304c2.1504 0 4.2496 1.6896 6.4 1.6896 2.1504 1.6896 2.1504 3.4304 0 5.12-2.1504 3.4304-4.2496 5.12-8.5504 5.12l-81.2032 3.4304c-44.8512 1.6896-91.8528 30.8224-108.9536 65.0752l-4.2496 15.4112c-2.1504 1.6896 0 5.12 4.2496 5.12h282.0096c4.2496 0 6.4-1.6896 6.4-5.12 4.2496-13.7216 8.5504-29.1328 8.5504-44.4928C967.68 534.4256 875.8272 460.8 764.7232 460.8" fill="#FAAD3F" p-id="7169"></path></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1747043132978" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8260" width="40" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M433.728 0C382.72 0 336.32 23.424 303.872 60.8c-51.008 70.4-13.888 168.704 13.952 224.832 27.904 56.128 153.152 257.472 157.76 262.208 4.544 4.672 9.28 4.672 9.28 0 0-4.736 13.888-299.712 4.544-369.92A998.016 998.016 0 0 0 433.728 0zM160 135.68c-9.28 0-74.24 70.272-83.52 131.2-9.28 60.8 23.168 107.712 97.408 159.168 78.912 56.128 259.84 154.496 264.448 149.888 4.544-9.344-69.568-140.544-134.592-238.848C238.912 238.72 169.344 135.744 160 135.744z m23.168 599.424c55.68 23.424 143.872-32.832 167.04-46.72l64.96-46.912-315.52 9.344c18.624 32.832 46.4 60.992 83.52 84.288z m9.28-257.472c-55.68-28.16-171.52-93.696-176.256-93.696-4.608 0-23.168 84.288 13.952 145.28 37.12 60.8 106.752 79.552 139.136 84.224 37.12 4.736 250.496 4.736 250.496 0-4.608-4.8-171.584-107.776-227.328-135.808zM712.128 60.8C679.68 23.424 633.28 0 582.272 0c-23.168 56.128-41.728 112.384-51.008 173.248-9.28 70.208 4.608 369.92 4.608 369.92 0 4.672 4.544 4.672 9.28 0 4.544-4.736 134.528-210.752 157.696-262.208 23.168-51.456 60.288-149.888 9.28-220.16zM1004.416 384c-4.608 0-120.704 65.472-176.256 93.632-55.68 28.096-222.72 131.2-227.328 135.808 0 4.736 213.44 4.736 250.56 0 32.448-4.672 102.016-23.424 139.136-84.288 32.448-60.928 13.888-145.216 13.888-145.216z m-338.688 304.32c23.168 14.08 111.36 70.208 167.04 46.784 37.12-18.752 64.96-51.456 83.392-88.96l-315.52-9.344 65.088 51.52z m273.664-421.44c-4.544-60.928-74.24-131.2-83.52-131.2-9.28 0-88.128 103.04-148.48 201.408-60.224 98.304-134.528 229.504-129.792 238.848 4.544 9.408 185.6-93.632 264.384-149.888 74.24-51.456 102.144-93.632 97.408-159.168z" fill="#EA020A" p-id="8261"></path><path d="M71.232 1002.24V931.2h81.28v70.976h26.24v-160.256h-26.24v66.88h-81.28v-66.88h-26.24v160.256h26.24z m222.656 3.136c21.12 0 37.44-5.44 49.088-16.192 11.712-11.008 17.536-26.88 17.536-47.808v-99.392h-26.24v99.84c0 13.952-3.392 24-9.664 30.72-6.528 6.592-16.832 9.92-30.72 9.92-14.208 0-24.512-3.392-30.784-9.856-6.464-6.784-9.6-16.832-9.6-30.72v-99.84H227.2v99.328c0 20.928 5.824 36.8 17.728 48 11.2 10.56 27.584 16 48.96 16z m127.424-3.2l14.592-40.128H503.04l14.528 40.192h28.032l-61.248-160.256h-29.824l-61.248 160.256h28.032z m73.856-61.696h-51.392l25.344-70.208h0.896l25.152 70.208z m142.72 61.76l31.36-120.512h0.896l31.232 120.512h27.84l46.208-160.256h-29.632l-30.08 121.856h-0.832l-31.68-121.856h-27.136l-31.616 121.856h-0.896l-30.08-121.856H563.84l46.016 160.256h28.032z m290.816 0v-22.464h-93.12v-48.512h62.08v-22.4h-62.08v-44.48h89.344v-22.4h-115.584v160.256h119.36z m67.968 0v-160.256h-26.24v160.256h26.24z" fill="#010101" p-id="8262"></path></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -129,6 +129,8 @@ export default defineComponent({
// 错误信息
const errorMessage = ref('')
console.log(props.type)
/**
* @description DNS
*/
@ -145,12 +147,11 @@ export default defineComponent({
return (
<div class="flex items-center">
{option.label ? (
<NFlex>
<SvgIcon icon={`resources-${option.type}`} size="2rem" />
<NText>{option.label}</NText>
</NFlex>
renderLabel(option)
) : (
<NText>{props.type === 'dns' ? $t('t_3_1745490735059') : $t('t_19_1745735766810')}</NText>
<NText class="text-[#aaa]">
{props.type === 'dns' ? $t('t_0_1747019621052', []) : $t('t_0_1746858920894')}
</NText>
)}
</div>
)
@ -247,18 +248,22 @@ export default defineComponent({
watch(
() => props.value,
() => {
loadDnsProviders(props.type)
// loadDnsProviders(props.type)
handleUpdateValue(props.value)
},
{ immediate: true },
)
onMounted(() => {
loadDnsProviders(props.type)
})
return () => (
<NSpin show={isLoading.value}>
<NGrid cols={24} class={props.customClass}>
<NFormItemGi
span={props.isAddMode ? 13 : 24}
label={props.type === 'dns' ? $t('t_3_1745735765112') : $t('t_0_1745744902975')}
label={props.type === 'dns' ? $t('t_3_1745735765112') : $t('t_0_1746754500246')}
path={props.path}
>
<NSelect
@ -268,7 +273,7 @@ export default defineComponent({
renderTag={renderSingleSelectTag}
filterable
filter={handleFilter}
placeholder={props.type === 'dns' ? $t('t_3_1745490735059') : $t('t_1_1745744905566')}
placeholder={props.type === 'dns' ? $t('t_3_1745490735059') : $t('t_0_1746858920894')}
v-model:value={param.value.value}
onUpdateValue={handleUpdateValue}
disabled={props.disabled}
@ -276,7 +281,7 @@ export default defineComponent({
empty: () => {
return (
<span class="text-[1.4rem]">
{errorMessage.value || (props.type === 'dns' ? $t('t_3_1745490735059') : $t('t_1_1745744905566'))}
{errorMessage.value || (props.type === 'dns' ? $t('t_1_1746858922914') : $t('t_2_1746858923964'))}
</span>
)
},
@ -286,7 +291,7 @@ export default defineComponent({
{props.isAddMode && (
<NFormItemGi span={11}>
<NButton class="mx-[8px]" onClick={goToAddDnsProvider} disabled={props.disabled}>
{props.type === 'dns' ? $t('t_1_1746004861166') : $t('t_0_1745748292337')}
{props.type === 'dns' ? $t('t_1_1746004861166') : $t('t_3_1746858920060')}
</NButton>
<NButton onClick={() => loadDnsProviders(props.type)} loading={isLoading.value} disabled={props.disabled}>
{$t('t_0_1746497662220')}

View File

@ -0,0 +1,47 @@
import { NEmpty, NButton } from 'naive-ui'
import { defineComponent } from 'vue'
/**
*
* @param addButtonText
* @param onAddClick
*/
interface EmptyActionPromptProps {
addButtonText: string
onAddClick: () => void
}
export default defineComponent({
name: 'EmptyActionPrompt',
props: {
addButtonText: {
type: String,
required: true,
},
onAddClick: {
type: Function,
required: true,
},
},
setup(props: EmptyActionPromptProps) {
return () => (
<div class="flex justify-center items-center h-full">
<NEmpty class="px-[4rem]">
<NButton text type="primary" size="small" onClick={props.onAddClick}>
{props.addButtonText}
</NButton>
<NButton text tag="a" target="_blank" type="primary" href="https://github.com/allinssl/allinssl/issues">
Issues
</NButton>
Github
<NButton text tag="a" target="_blank" type="primary" href="https://github.com/allinssl/allinssl">
Star
</NButton>
AllinSSL
</NEmpty>
</div>
)
},
})

View File

@ -4,8 +4,8 @@ import { useStore } from '@components/flowChart/useStore'
import { $t } from '@locales/index'
import rules from './verify'
import DnsProviderSelect from '@components/dnsProviderSelect'
import type { ApplyNodeConfig } from '@components/flowChart/types'
import { deepClone } from '@baota/utils/data'
export default defineComponent({
name: 'ApplyNodeDrawer',
@ -15,7 +15,15 @@ export default defineComponent({
type: Object as PropType<{ id: string; config: ApplyNodeConfig }>,
default: () => ({
id: '',
config: {},
config: {
domains: '',
email: '',
provider_id: '',
provider: '',
end_day: 30,
name_server: '',
skip_check: 1,
},
}),
},
},
@ -24,14 +32,9 @@ export default defineComponent({
// 弹窗辅助
const { confirm } = useModalHooks()
// 获取表单助手函数
const { useFormInput } = useFormHooks()
const { useFormInput, useFormHelp, useFormSwitch } = useFormHooks()
// 表单参数
const param = ref<ApplyNodeConfig>(
Object.keys(props.node.config).length > 0
? props.node.config
: { domains: '', email: '', provider_id: '', provider: '', end_day: 30 },
)
const param = ref(deepClone(props.node.config))
// 表单渲染配置
const config = computed(() => {
@ -39,9 +42,18 @@ export default defineComponent({
return [
useFormInput($t('t_17_1745227838561'), 'domains', {
placeholder: $t('t_0_1745735774005'),
onInput: (val: string) => {
param.value.domains = val.trim() // 去除空格
param.value.domains = param.value.domains.replace(//g, ',') // 中文逗号分隔
param.value.domains = param.value.domains.replace(/;/g, ',') // 去除分号
},
onFocus: () => {
param.value.domains = param.value.domains.replace(/,^/g, '') // 中文逗号分隔
},
}),
useFormInput($t('t_1_1745735764953'), 'email', {
placeholder: $t('t_2_1745735773668'),
onInput: (val: string) => (param.value.email = val.trim()),
}),
{
type: 'custom' as const,
@ -76,6 +88,33 @@ export default defineComponent({
)
},
},
useFormInput(
$t('t_0_1747106957037'),
'name_server',
{
placeholder: $t('t_1_1747106961747'),
onInput: (val: string) => {
param.value.name_server = val.trim() // 去除空格
param.value.name_server = param.value.name_server.replace(//g, ',') // 中文逗号分隔
param.value.name_server = param.value.name_server.replace(/;/g, ',') // 去除分号
},
onFocus: () => {
param.value.name_server = param.value.name_server.replace(/,^/g, '') // 中文逗号分隔
},
},
{ showRequireMark: false },
),
useFormSwitch($t('t_2_1747106957037'), 'skip_check', {}, { showRequireMark: false }),
useFormHelp([
{
content: $t('t_0_1747040228657'),
isHtml: false,
},
{
content: $t('t_1_1747040226143'),
isHtml: false,
},
]),
]
})

View File

@ -9,9 +9,9 @@ export default {
validator: (rule: FormItemRule, value: string) => {
return new Promise<void>((resolve, reject) => {
if (!isDomainGroup(value)) {
reject(new Error($t('t_0_1745553910661')))
reject(new Error($t('t_3_1747047218669')))
} else if (!value) {
reject(new Error($t('t_0_1746697487119')))
reject(new Error($t('t_0_1744958839535')))
} else {
resolve()
}

View File

@ -10,7 +10,7 @@ import DnsProviderSelect from '@/components/dnsProviderSelect'
import styles from './index.module.css'
import verifyRules from './verify'
import { isArray } from '@baota/utils/type'
import { deepClone } from '@baota/utils/data'
type StepStatus = 'process' | 'wait' | 'finish' | 'error'
@ -26,6 +26,10 @@ export default defineComponent({
config: {
provider: '',
provider_id: '',
inputs: {
fromNodeId: '',
name: '',
},
},
}),
},
@ -61,20 +65,13 @@ export default defineComponent({
const current = ref(1) // 当前步骤
const next = ref(true) // 是否是下一步
const currentStatus = ref<StepStatus>('process') // 当前步骤状态
// 表单参数
const param = ref(
Object.keys(props.node.config).length > 0
? props.node.config
: {
provider: '',
provider_id: '',
inputs: {
fromNodeId: '',
name: '',
},
},
) as Ref<DeployNodeConfig & { inputs: DeployNodeInputsConfig }>
const param = ref(deepClone(props.node.config)) // 表单参数
const provider = computed(() => {
return param.value.provider
? $t('t_4_1746858917773') + '' + deployTypeOptions.find((item) => item.value === param.value.provider)?.label
: $t('t_19_1745735766810')
})
// 表单配置
const formConfig = computed(() => {
const config = []
@ -107,8 +104,14 @@ export default defineComponent({
case 'ssh':
config.push(
...[
useFormInput('证书文件路径仅支持PEM格式', 'certPath', { placeholder: $t('t_30_1746667591892') }),
useFormInput('私钥文件路径', 'keyPath', { placeholder: $t('t_31_1746667593074') }),
useFormInput('证书文件路径仅支持PEM格式', 'certPath', {
placeholder: $t('t_30_1746667591892'),
onInput: (val: string) => (param.value.certPath = val.trim()),
}),
useFormInput('私钥文件路径', 'keyPath', {
placeholder: $t('t_31_1746667593074'),
onInput: (val: string) => (param.value.keyPath = val.trim()),
}),
useFormTextarea(
'前置命令',
'beforeCmd',
@ -125,20 +128,62 @@ export default defineComponent({
)
break
case 'btpanel-site':
config.push(...[useFormInput('站点名称', 'siteName', { placeholder: $t('t_23_1745735766455') })])
config.push(
...[
useFormInput('站点名称', 'siteName', {
placeholder: $t('t_23_1745735766455'),
onInput: (val: string) => (param.value.siteName = val.trim()),
}),
],
)
break
case '1panel-site':
config.push(...[useFormInput('站点ID', 'site_id', { placeholder: $t('t_24_1745735766826') })])
config.push(
...[
useFormInput('站点ID', 'site_id', {
placeholder: $t('t_24_1745735766826'),
onInput: (val: string) => (param.value.site_id = val.trim()),
}),
],
)
break
case 'tencentcloud-cdn':
case 'aliyun-cdn':
config.push(...[useFormInput('域名', 'domain', { placeholder: $t('t_0_1744958839535') })])
config.push(
...[
useFormInput('域名', 'domain', {
placeholder: $t('t_0_1744958839535'),
onInput: (val: string) => (param.value.domain = val.trim()),
}),
],
)
break
case 'tencentcloud-cos':
case 'aliyun-oss':
config.push(...[useFormInput('域名', 'domain', { placeholder: $t('t_0_1744958839535') })])
config.push(...[useFormInput('区域', 'region', { placeholder: $t('t_25_1745735766651') })])
config.push(...[useFormInput('存储桶', 'bucket', { placeholder: $t('t_26_1745735767144') })])
config.push(
...[
useFormInput('域名', 'domain', {
placeholder: $t('t_0_1744958839535'),
onInput: (val: string) => (param.value.domain = val.trim()),
}),
],
)
config.push(
...[
useFormInput('区域', 'region', {
placeholder: $t('t_25_1745735766651'),
onInput: (val: string) => (param.value.region = val.trim()),
}),
],
)
config.push(
...[
useFormInput('存储桶', 'bucket', {
placeholder: $t('t_26_1745735767144'),
onInput: (val: string) => (param.value.bucket = val.trim()),
}),
],
)
break
}
return config
@ -149,7 +194,7 @@ export default defineComponent({
* @returns
*/
const nextStep = async () => {
if (!props.node.config.provider) return message.error($t('t_19_1745735766810'))
if (!param.value.provider) return message.error($t('t_0_1746858920894'))
// 加载证书来源选项
certOptions.value = findApplyUploadNodesUp(props.node.id).map((item) => {
@ -158,7 +203,7 @@ export default defineComponent({
if (!certOptions.value.length) {
message.warning($t('t_3_1745748298161'))
} else if (!props.node.config.inputs?.fromNodeId) {
} else if (!param.value.inputs?.fromNodeId) {
param.value.inputs = {
name: certOptions.value[0]?.label || '',
fromNodeId: certOptions.value[0]?.value || '',
@ -221,7 +266,7 @@ export default defineComponent({
return () => (
<div class={styles.container} style={cssVar.value}>
<NSteps size="small" current={current.value} status={currentStatus.value}>
<NStep title={$t('t_28_1745735766626')} description={$t('t_19_1745735766810')}></NStep>
<NStep title={$t('t_28_1745735766626')} description={provider.value}></NStep>
<NStep title={$t('t_29_1745735768933')} description={$t('t_2_1745738969878')}></NStep>
</NSteps>
{current.value === 1 && (

View File

@ -5,7 +5,7 @@ import { isDomain } from '@baota/utils/business'
export default {
provider: {
required: true,
message: $t('t_19_1745735766810'),
message: $t('t_0_1746858920894'),
type: 'string',
trigger: 'change',
},
@ -15,7 +15,7 @@ export default {
type: 'string',
validator: (rule: FormItemRule, value: number) => {
if (!value) {
return new Error($t('t_1_1745744905566'))
return new Error($t('t_0_1746858920894'))
}
},
},

View File

@ -9,6 +9,7 @@ import NotifyProviderSelect from '@components/notifyProviderSelect'
import verify from './verify'
import { NotifyNodeConfig } from '@components/flowChart/types'
import { deepClone } from '@baota/utils/data'
export default defineComponent({
name: 'NotifyNodeDrawer',
@ -32,25 +33,18 @@ export default defineComponent({
const { useFormInput, useFormTextarea, useFormCustom } = useFormHooks()
const { confirm } = useModalHooks()
const { handleError } = useError()
const param = ref(
Object.keys(props.node.config).length > 0
? props.node.config
: {
provider: '',
provider_id: '',
subject: '',
body: '',
},
)
const param = ref(deepClone(props.node.config))
// 表单渲染配置
const formConfig: FormConfig = [
useFormInput($t('t_0_1745920566646'), 'subject', {
placeholder: $t('t_3_1745887835089'),
onInput: (val: string) => (param.value.subject = val.trim()),
}),
useFormTextarea($t('t_1_1745920567200'), 'body', {
placeholder: $t('t_4_1745887835265'),
rows: 4,
onInput: (val: string) => (param.value.body = val.trim()),
}),
useFormCustom(() => (
<NotifyProviderSelect

View File

@ -10,6 +10,7 @@ import type { FormConfig } from '@baota/naive-ui/types/form'
// 类型
import type { VNode } from 'vue'
import { useError } from '@baota/hooks/error'
import { deepClone } from '@baota/utils/data'
export default defineComponent({
name: 'StartNodeDrawer',
@ -17,7 +18,12 @@ export default defineComponent({
// 节点配置数据
node: {
type: Object as PropType<{ id: string; config: StartNodeConfig }>,
default: () => ({}),
default: () => ({
id: '',
config: {
exec_type: 'auto',
},
}),
},
},
setup(props) {
@ -29,9 +35,7 @@ export default defineComponent({
// 获取表单助手函数
const { useFormRadio, useFormCustom } = useFormHooks()
// 表单参数
const param = ref<StartNodeConfig>(
Object.values(props.node.config).length > 0 ? props.node.config : { exec_type: 'manual' },
)
const param = ref(deepClone(props.node.config))
// 周期类型选项
const cycleTypeOptions = [
@ -58,9 +62,6 @@ export default defineComponent({
month: { exec_type: 'auto', type: 'month', hour: 1, minute: 0, month: 1 },
}
// 节点配置
const { config } = toRefs(props.node)
// 创建时间输入input
const createTimeInput = (value: number, updateFn: (val: number) => void, max: number, label: string): VNode => (
<NInputGroup>
@ -115,7 +116,7 @@ export default defineComponent({
</NFormItemGi>
)}
<NFormItemGi span={config.value.type === 'day' ? 7 : 5} path="hour">
<NFormItemGi span={param.value.type === 'day' ? 7 : 5} path="hour">
{createTimeInput(
param.value.hour || 0,
(val: number) => (param.value.hour = val),
@ -124,7 +125,7 @@ export default defineComponent({
)}
</NFormItemGi>
<NFormItemGi span={config.value.type === 'day' ? 7 : 5} path="minute">
<NFormItemGi span={param.value.type === 'day' ? 7 : 5} path="minute">
{createTimeInput(
param.value.minute || 0,
(val: number) => (param.value.minute = val),

View File

@ -1,10 +1,15 @@
import { useForm, useFormHooks, useModalHooks } from '@baota/naive-ui/hooks'
import { FormConfig } from '@baota/naive-ui/types/form'
import { $t } from '@locales/index'
import { useStore } from '@components/flowChart/useStore'
import { useError } from '@baota/hooks/error'
import { deepClone } from '@baota/utils/data'
import { $t } from '@locales/index'
import { getCertList, uploadCert } from '@api/cert'
import { useStore } from '@components/flowChart/useStore'
import verifyRules from './verify'
import { UploadNodeConfig } from '@components/flowChart/types'
import type { FormConfig } from '@baota/naive-ui/types/form'
import type { UploadNodeConfig } from '@components/flowChart/types'
import type { CertItem } from '@/types/cert'
export default defineComponent({
name: 'UploadNodeDrawer',
@ -15,6 +20,7 @@ export default defineComponent({
default: () => ({
id: '',
config: {
cert_id: '',
cert: '',
key: '',
},
@ -25,25 +31,69 @@ export default defineComponent({
// 获取store
const { updateNodeConfig, isRefreshNode } = useStore()
// 获取表单助手函数
const { useFormTextarea } = useFormHooks()
const { useFormTextarea, useFormSelect, useFormHelp } = useFormHooks()
// 节点配置数据
const { config } = toRefs(props.node)
const param = ref(deepClone(props.node.config))
// 弹窗辅助
const { confirm } = useModalHooks()
const { confirm, options } = useModalHooks()
// 错误处理
const { handleError } = useError()
// 弹窗配置
const modalOptions = options()
// 证书列表
const certList = ref<{ cert: string; key: string; label: string; value: string }[]>([
{
cert: '',
key: '',
label: '自定义证书',
value: '',
},
])
// 表单渲染配置
const formConfig: FormConfig = [
useFormTextarea($t('t_34_1745735771147'), 'cert', {
placeholder: $t('t_35_1745735781545'),
rows: 6,
}),
useFormTextarea($t('t_36_1745735769443'), 'key', {
placeholder: $t('t_37_1745735779980'),
rows: 6,
}),
]
const formConfig = computed(
() =>
[
useFormSelect(
$t('t_0_1747110184700'),
'cert_id',
certList.value,
{
filterable: true,
onUpdateValue: (val: string) => {
param.value.cert_id = val
const item = findCertItem(val)
if (item) {
param.value.cert = item.cert
param.value.key = item.key
}
},
},
{ showRequireMark: false },
),
useFormTextarea($t('t_34_1745735771147'), 'cert', {
placeholder: $t('t_35_1745735781545'),
rows: 6,
readonly: param.value.cert_id === '' ? false : true,
onInput: (val: string) => (param.value.cert = val.trim()),
}),
useFormTextarea($t('t_36_1745735769443'), 'key', {
placeholder: $t('t_37_1745735779980'),
rows: 6,
readonly: param.value.cert_id === '' ? false : true,
onInput: (val: string) => (param.value.key = val.trim()),
}),
useFormHelp([
{
content: $t('t_1_1747110191587'),
},
{
content: $t('t_2_1747110193465'),
},
]),
] as FormConfig,
)
// 创建表单实例
const {
@ -51,23 +101,68 @@ export default defineComponent({
data,
example,
} = useForm<UploadNodeConfig>({
defaultValue: config,
defaultValue: param,
config: formConfig,
rules: verifyRules,
})
/**
*
* @param {string} val
* @returns {object}
*/
const findCertItem = (val: string) => {
return certList.value.find((item) => item.value === val)
}
/**
* @description
*/
const renderCertList = async () => {
try {
const { data } = await getCertList({ p: 1, limit: 100 }).fetch()
certList.value =
data?.map((item: CertItem) => ({
cert: item.cert,
key: item.key,
label: item.domains + ' 【 ' + item.issuer + ' 】',
value: item.sha256,
})) || []
certList.value.unshift({
cert: '',
key: '',
label: '自定义证书',
value: '',
})
} catch (error) {
certList.value = []
handleError(error)
}
}
onMounted(async () => {
await renderCertList()
})
modalOptions.value.confirmText = computed(() => {
return param.value.cert_id === '' ? $t('t_3_1747110185110') : $t('t_2_1744861190040')
})
// 确认事件触发
confirm(async (close) => {
try {
await example.value?.validate()
if (param.value.cert_id === '') {
const { data } = await uploadCert(param.value).fetch()
param.value.cert_id = data
}
updateNodeConfig(props.node.id, data.value) // 更新节点配置
console.log(data.value, props.node.id)
isRefreshNode.value = props.node.id // 刷新节点
close()
} catch (error) {
handleError(error)
}
})
return () => (
<div class="upload-node-drawer">
<Form labelPlacement="top" />

View File

@ -3,7 +3,7 @@ import type { FormItemRule, FormRules } from 'naive-ui'
export default {
key: {
required: true,
trigger: 'input',
trigger: ['input', 'blur', 'focus'],
validator: (rule: FormItemRule, value: string) => {
return new Promise<void>((resolve, reject) => {
if (!value) {
@ -16,7 +16,7 @@ export default {
},
cert: {
required: true,
trigger: 'input',
trigger: ['input', 'blur', 'focus'],
validator: (rule: FormItemRule, value: string) => {
return new Promise<void>((resolve, reject) => {
if (!value) {

View File

@ -4,7 +4,7 @@
}
.flowContainer {
@apply flex relative box-border w-full h-[calc(100vh-19rem)] overflow-x-auto overflow-y-auto bg-slate-50 dark:bg-gray-900 ;
@apply flex relative box-border w-full h-[calc(100vh-19rem)] overflow-x-auto overflow-y-auto bg-slate-50 ;
}
.flowProcess {
@ -33,11 +33,11 @@
/* 右侧配置区样式 */
.configPanel {
@apply flex flex-col w-[360px] min-w-[360px] bg-white dark:bg-gray-800 dark:border-gray-700 z-10 rounded-lg;
@apply flex flex-col w-[360px] min-w-[360px] bg-white z-10 rounded-lg;
}
.configHeader {
@apply flex items-center justify-between px-4 py-3 border-b border-gray-200 dark:border-gray-700;
@apply flex items-center justify-between px-4 py-3 border-b border-gray-200 ;
}
.configContent {
@ -45,5 +45,5 @@
}
.emptyTip {
@apply flex items-center justify-center h-full text-gray-400 dark:text-gray-500;
@apply flex items-center justify-center h-full text-gray-400 ;
}

View File

@ -106,9 +106,9 @@ nodeOptions[APPLY] = () =>
config: {
domains: '',
email: '',
end_day: 30,
provider: '',
provider_id: '',
end_day: 30,
},
childNode: null,
},
@ -125,6 +125,7 @@ nodeOptions[UPLOAD] = () =>
name: '上传',
type: UPLOAD,
config: {
cert_id: '',
cert: '',
key: '',
},
@ -146,6 +147,10 @@ nodeOptions[DEPLOY] = () =>
config: {
provider: '',
provider_id: '',
inputs: {
fromNodeId: '',
name: '',
},
},
childNode: null,
},

View File

@ -25,7 +25,7 @@ export default {
id: 'deploy-1',
name: '部署',
type: 'deploy',
inputs: {},
inputs: [],
config: {
provider: '',
provider_id: '',

View File

@ -203,6 +203,8 @@ export interface ApplyNodeConfig {
provider_id: string // DNS提供商授权ID
provider: string // DNS提供商
end_day: number // 续签间隔
name_server: string // DNS递归服务器
skip_check: number // 跳过检查
// 高级功能
// algorithm: 'RSA2048' | 'RSA3072' | 'RSA4096' | 'RSA8192' | 'EC256' | 'EC384' // 数字证书算法
// dnsServer?: string // 指定DNS解析服务器
@ -229,11 +231,10 @@ export interface DeployConfig<
> {
provider: T
provider_id: string
[key: string]: Z
[key: string]: Z
}
export interface DeployPanelConfig {
}
export interface DeployPanelConfig {}
// 部署节点配置ssh
export interface DeploySSHConfig {
@ -265,21 +266,17 @@ export interface DeployStorageConfig {
bucket: string
}
// 部署节点配置
export type DeployNodeConfig = DeployConfig<
DeploySSHConfig | DeployBTPanelConfig | Deploy1PanelConfig | DeployCDNConfig | DeployStorageConfig
>
// 部署节点输入配置
export interface DeployNodeInputsConfig {
name: string
fromNodeId: string
}
// 定义通知节点配置类型
interface NotifyNodeConfig {
provider: string
@ -288,10 +285,9 @@ interface NotifyNodeConfig {
body: string
}
// 定义上传节点配置类型
interface UploadNodeConfig {
cert_id: string
cert: string
key: string
}

View File

@ -9,6 +9,8 @@ const types = {
tencentcloud: '腾讯云',
btpanel: '宝塔面板',
'1panel': '1Panel',
huaweicloud: '华为云',
cloudflare: 'Cloudflare',
mail: '邮件',
dingtalk: '钉钉',
wecom: '企业微信',
@ -59,6 +61,8 @@ export const AuthApiTypeIcon = defineComponent({
tencentcloud: 'tencentcloud',
btpanel: 'btpanel',
'1panel': '1panel',
huaweicloud: 'huaweicloud',
cloudflare: 'cloudflare',
mail: 'mail',
dingtalk: 'dingtalk',
wecom: 'wecom',
@ -92,15 +96,9 @@ export const AuthApiTypeIcon = defineComponent({
)
return () => (
<NTag
bordered={false}
class="cursor-pointer"
type={props.type}
v-slots={{
avatar: () => <SvgIcon icon={iconPath.value} size="1.4rem" />,
}}
>
<NText class="text-[12px]">{props.text && <span>{typeName.value}</span>}</NText>
<NTag type={props.type} size="small">
<SvgIcon icon={iconPath.value} size="1.2rem" class="mr-[0.4rem]" />
<span class="text-[12px]">{props.text && <span>{typeName.value}</span>}</span>
</NTag>
)
},

View File

@ -0,0 +1,33 @@
import { App, Directive, DirectiveBinding } from 'vue'
/**
*
* v-nospace
*/
export const vNospace: Directive = {
mounted(el: HTMLElement, binding: DirectiveBinding) {
el.addEventListener('input', (event: Event) => {
const inputElement = event.target as HTMLInputElement
const newValue = inputElement.value.replace(/\s+/g, '')
// 直接设置输入元素的值
if (inputElement.value !== newValue) {
inputElement.value = newValue
// 触发自定义事件,通知父组件值已更改
el.dispatchEvent(new Event('input', { bubbles: true }))
}
})
},
}
// 导出所有指令的集合,方便批量注册
export const directives = {
nospace: vNospace,
}
// 注册所有指令
export const useDirectives = (app: App, directives: Record<string, Directive>) => {
Object.entries(directives).forEach(([key, value]) => {
app.directive(key, value)
})
}

View File

@ -1,11 +1,9 @@
{
"t_0_1746782379424": "المهام الآلية",
"t_0_1744098811152": "تحذير: لقد دخلتم منطقة غير معروفة، الصفحة التي تحاول زيارتها غير موجودة، يرجى الضغط على الزر للعودة إلى الصفحة الرئيسية.",
"t_1_1744098801860": "رجوع إلى الصفحة الرئيسية",
"t_2_1744098804908": "نصيحة أمنية: إذا كنت تعتقد أن هذا خطأ، يرجى الاتصال بالمدير على الفور",
"t_3_1744098802647": "افتح القائمة الرئيسية",
"t_4_1744098802046": "القائمة الرئيسية القابلة للطي",
"t_0_1744164843238": "مرحبًا بكم في AllinSSL، إدارة فعالة لشهادات SSL",
"t_1_1744164835667": "AllinSSL",
"t_2_1744164839713": "دخول الحساب",
"t_3_1744164839524": "من فضلك أدخل اسم المستخدم",
@ -14,7 +12,6 @@
"t_6_1744164838900": "هل نسيت كلمة المرور؟",
"t_7_1744164838625": "في إجراء الدخول",
"t_8_1744164839833": "تسجيل الدخول",
"t_0_1744168657526": "تسجيل الخروج",
"t_0_1744258111441": "الصفحة الرئيسية",
"t_1_1744258113857": "توزيع آلي",
"t_2_1744258111238": "إدارة الشهادات",
@ -85,11 +82,6 @@
"t_21_1744958839305": "خادم 1",
"t_22_1744958841926": "خادم 2",
"t_23_1744958838717": "اللوحة 1",
"t_24_1744958845324": "لوحة 2",
"t_25_1744958839236": "الموقع 1",
"t_26_1744958839682": "الموقع 2",
"t_27_1744958840234": "تencent Cloud 1",
"t_28_1744958839760": "ألييوان 1",
"t_29_1744958838904": "يوم",
"t_30_1744958843864": "تنسيق الشهادة غير صحيح، يرجى التحقق مما إذا كان يحتوي على العناصر التوضيحية للعناوين والرؤوس الكاملة",
"t_31_1744958844490": "شكل المفتاح الخاص غير صحيح، يرجى التحقق من أن يحتوي على معرف الرأس والساقطة الكاملة للمفتاح الخاص",
@ -111,7 +103,6 @@
"t_16_1745215915209": "حذف مسار العمل",
"t_17_1745215915985": "نجاح عملية حذف العملية",
"t_18_1745215915630": "فشل حذف مسار العمل",
"t_0_1745227838699": "تثبيت آلي جديد",
"t_1_1745227838776": "الرجاء إدخال اسم الت automatization",
"t_2_1745227839794": "هل أنت متأكد من أنك تريد تنفيذ عملية {name}؟",
"t_3_1745227841567": "هل تؤكد على حذف {name} مسار العمل؟ هذه العملية لا يمكن إلغاؤها.",
@ -278,7 +269,6 @@
"t_6_1745490738548": "الرجاء إدخال البريد الإلكتروني، لا يمكن أن يكون البريد الإلكتروني فارغًا",
"t_7_1745490739917": "الرجاء اختيار موفر DNS، لا يمكن أن يكون موفر DNS فارغًا",
"t_8_1745490739319": "الرجاء إدخال فترة التجديد، فترة التجديد لا يمكن أن تكون فارغة",
"t_0_1745553910661": "خطأ في تنسيق النطاق، يُرجى إدخال النطاق الصحيح",
"t_1_1745553909483": "تنسيق البريد الإلكتروني غير صحيح، يرجى إدخال بريد صحيح",
"t_2_1745553907423": "لا يمكن أن يكون فاصل التجديد فارغًا",
"t_0_1745735774005": "الرجاء إدخال اسم نطاق الشهادة، أسماء نطاقات متعددة مفصولة بفواصل",
@ -453,7 +443,6 @@
"t_12_1746773355641": "انقر لإنشاء سير عمل آلي لتحسين الكفاءة",
"t_13_1746773349526": "التقدم بطلب للحصول على شهادة",
"t_14_1746773355081": "انقر للتقدم بطلب وإدارة شهادات SSL لضمان الأمان",
"t_15_1746773358151": "انقر لإعداد مراقبة الموقع وتتبع حالة التشغيل في الوقت الفعلي",
"t_16_1746773356568": "يمكن تكوين قناة إشعار واحدة فقط عبر البريد الإلكتروني كحد أقصى",
"t_17_1746773351220": "تأكيد قناة الإشعارات {0}",
"t_18_1746773355467": "ستبدأ قنوات الإشعار {0} في إرسال تنبيهات.",
@ -490,5 +479,34 @@
"t_0_1746776194126": "تفاصيل السجل",
"t_1_1746776198156": "فشل تحميل السجل:",
"t_2_1746776194263": "تنزيل السجل",
"t_3_1746776195004": "لا توجد معلومات السجل"
"t_3_1746776195004": "لا توجد معلومات السجل",
"t_0_1746782379424": "المهام الآلية",
"t_0_1746858920894": "يرجى اختيار موفر الاستضافة",
"t_1_1746858922914": "قائمة موفري DNS فارغة، يرجى الإضافة",
"t_2_1746858923964": "قائمة مزودي الاستضافة فارغة، يرجى الإضافة",
"t_3_1746858920060": "إضافة مزود استضافة",
"t_4_1746858917773": "محدد",
"t_0_1747019621052": "الرجاء اختيار مزود استضافة{0}",
"t_1_1747019624067": "انقر لضبط مراقبة الموقع وفهم الحالة في الوقت الحقيقي",
"t_2_1747019616224": "علي بابا كلاود",
"t_3_1747019616129": "تينسنت كلاود",
"t_0_1747040228657": "للمجالات المتعددة، يرجى استخدام فواصل إنجليزية لفصلها، على سبيل المثال: test.com,test.cn",
"t_1_1747040226143": "للمجالات العامة، استخدم علامة النجمة *، على سبيل المثال: *.test.com",
"t_0_1747042966820": "الرجاء إدخال مفتاح Cloudflare API الصحيح",
"t_1_1747042969705": "يرجى إدخال مفتاح API الصحيح لـ BT-Panel",
"t_2_1747042967277": "الرجاء إدخال SecretKey الصحيح لـ Tencent Cloud",
"t_3_1747042967608": "الرجاء إدخال Huawei Cloud SecretKey الصحيح",
"t_4_1747042966254": "الرجاء إدخال مفتاح الوصول Huawei Cloud",
"t_5_1747042965911": "الرجاء إدخال حساب البريد الإلكتروني الصحيح",
"t_0_1747047213730": "إضافة النشر الآلي",
"t_1_1747047213009": "إضافة شهادة",
"t_2_1747047214975": "منصة إدارة شهادات SSL",
"t_3_1747047218669": "خطأ في تنسيق النطاق، يرجى التحقق من تنسيق النطاق",
"t_0_1747106957037": "خادم DNS العودي (اختياري)",
"t_1_1747106961747": "أدخل خوادم DNS العودية (استخدم الفواصل لفصل القيم المتعددة)",
"t_2_1747106957037": "تخطي الفحص المسبق المحلي",
"t_0_1747110184700": "اختيار الشهادة",
"t_1_1747110191587": "إذا كنت بحاجة إلى تعديل محتوى الشهادة والمفتاح، فاختر شهادة مخصصة",
"t_2_1747110193465": "عند اختيار شهادة غير مخصصة، لا يمكن تعديل محتوى الشهادة أو المفتاح",
"t_3_1747110185110": "تحميل وتقديم"
}

View File

@ -1,11 +1,9 @@
{
"t_0_1746782379424": "Automated tasks",
"t_0_1744098811152": "Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.",
"t_1_1744098801860": "Return Home",
"t_2_1744098804908": "Safety Tip: If you think this is an error, please contact the administrator immediately",
"t_3_1744098802647": "Expand Main Menu",
"t_4_1744098802046": "Foldout Main Menu",
"t_0_1744164843238": "Welcome to AllinSSL, Efficient SSL Certificate Management",
"t_1_1744164835667": "AllinSSL",
"t_2_1744164839713": "Account Login",
"t_3_1744164839524": "Please enter the username",
@ -14,7 +12,6 @@
"t_6_1744164838900": "Forget password",
"t_7_1744164838625": "Logging in",
"t_8_1744164839833": "Login",
"t_0_1744168657526": "Log out",
"t_0_1744258111441": "Home",
"t_1_1744258113857": "Automation Deployment",
"t_2_1744258111238": "Certificate Management",
@ -85,11 +82,6 @@
"t_21_1744958839305": "Server 1",
"t_22_1744958841926": "Server 2",
"t_23_1744958838717": "Panel 1",
"t_24_1744958845324": "Panel 2",
"t_25_1744958839236": "Website 1",
"t_26_1744958839682": "Website 2",
"t_27_1744958840234": "Tencent Cloud 1",
"t_28_1744958839760": "Aliyun 1",
"t_29_1744958838904": "Day",
"t_30_1744958843864": "Certificate format is incorrect, please check if it includes the complete certificate header and footer identifiers",
"t_31_1744958844490": "Private key format is incorrect, please check if it includes the complete private key header and footer identifier",
@ -111,7 +103,6 @@
"t_16_1745215915209": "Delete Workflow",
"t_17_1745215915985": "Workflow deletion successful",
"t_18_1745215915630": "Workflow deletion failed",
"t_0_1745227838699": "New Automated Deployment",
"t_1_1745227838776": "Please enter the automation name",
"t_2_1745227839794": "Are you sure you want to execute the {name} workflow?",
"t_3_1745227841567": "Confirm deletion of {name} workflow? This action cannot be undone.",
@ -278,7 +269,6 @@
"t_6_1745490738548": "Please enter your email, email cannot be empty",
"t_7_1745490739917": "Please select a DNS provider, the DNS provider cannot be empty",
"t_8_1745490739319": "Please enter the renewal interval, the renewal interval cannot be empty",
"t_0_1745553910661": "Domain format error, please enter the correct domain",
"t_1_1745553909483": "Invalid email format, please enter a correct email",
"t_2_1745553907423": "Renewal interval cannot be empty",
"t_0_1745735774005": "Please enter the certificate domain name, multiple domain names separated by commas",
@ -453,7 +443,6 @@
"t_12_1746773355641": "Click to create an automated workflow to improve efficiency",
"t_13_1746773349526": "Apply for certificate",
"t_14_1746773355081": "Click to apply for and manage SSL certificates to ensure security",
"t_15_1746773358151": "Click to set up website monitoring and keep track of the runtime status in real time",
"t_16_1746773356568": "Only one email notification channel can be configured at most",
"t_17_1746773351220": "Confirm {0} notification channel",
"t_18_1746773355467": "{0} notification channels will start sending alert notifications.",
@ -490,5 +479,34 @@
"t_0_1746776194126": "Log Details",
"t_1_1746776198156": "Failed to load log:",
"t_2_1746776194263": "Download log",
"t_3_1746776195004": "No log information"
"t_3_1746776195004": "No log information",
"t_0_1746782379424": "Automated tasks",
"t_0_1746858920894": "Please select a hosting provider",
"t_1_1746858922914": "The DNS provider list is empty, please add",
"t_2_1746858923964": "The list of hosting providers is empty, please add",
"t_3_1746858920060": "Add host provider",
"t_4_1746858917773": "Selected",
"t_0_1747019621052": "Please select a host provider{0}",
"t_1_1747019624067": "Click to set up website monitoring and grasp real-time status",
"t_2_1747019616224": "Alibaba Cloud",
"t_3_1747019616129": "Tencent Cloud",
"t_0_1747040228657": "For multiple domains, please use English commas to separate them, for example: test.com,test.cn",
"t_1_1747040226143": "For wildcard domains, use an asterisk *, for example: *.test.com",
"t_0_1747042966820": "Please enter the correct Cloudflare API key",
"t_1_1747042969705": "Please enter the correct BT-Panel API key",
"t_2_1747042967277": "Please enter the correct Tencent Cloud SecretKey",
"t_3_1747042967608": "Please enter the correct Huawei Cloud SecretKey",
"t_4_1747042966254": "Please enter Huawei Cloud AccessKey",
"t_5_1747042965911": "Please enter the correct email account",
"t_0_1747047213730": "Add automated deployment",
"t_1_1747047213009": "Add certificate",
"t_2_1747047214975": "SSL Certificate Management Platform",
"t_3_1747047218669": "Domain format error, please check the domain format",
"t_0_1747106957037": "DNS recursive server (optional)",
"t_1_1747106961747": "Please enter DNS recursive servers (use commas to separate multiple values)",
"t_2_1747106957037": "Skip local pre-check",
"t_0_1747110184700": "Select certificate",
"t_1_1747110191587": "If you need to modify the certificate content and key, please choose a custom certificate",
"t_2_1747110193465": "When a non-custom certificate is selected, neither the certificate content nor the key can be modified",
"t_3_1747110185110": "Upload and submit"
}

View File

@ -1,11 +1,9 @@
{
"t_0_1746782379424": "Tareas automatizadas",
"t_0_1744098811152": "Advertencia: Ha ingresado a una zona desconocida, la página que intenta visitar no existe, por favor, haga clic en el botón para regresar a la página de inicio.",
"t_1_1744098801860": "Volver al inicio",
"t_2_1744098804908": "Consejo de seguridad: Si piensa que es un error, póngase en contacto con el administrador inmediatamente",
"t_3_1744098802647": "Expandir el menú principal",
"t_4_1744098802046": "Menú principal plegable",
"t_0_1744164843238": "Bienvenido a AllinSSL, gestión eficiente de certificados SSL",
"t_1_1744164835667": "AllinSSL",
"t_2_1744164839713": "Iniciar sesión en la cuenta",
"t_3_1744164839524": "Por favor, ingrese el nombre de usuario",
@ -14,7 +12,6 @@
"t_6_1744164838900": "¿Olvidaste tu contraseña?",
"t_7_1744164838625": "Logueándose",
"t_8_1744164839833": "Iniciar sesión",
"t_0_1744168657526": "Salir",
"t_0_1744258111441": "Inicio",
"t_1_1744258113857": "Despliegue Automatizado",
"t_2_1744258111238": "Gestión de certificados",
@ -85,11 +82,6 @@
"t_21_1744958839305": "Servidor 1",
"t_22_1744958841926": "Servidor 2",
"t_23_1744958838717": "Panel 1",
"t_24_1744958845324": "Panel 2",
"t_25_1744958839236": "Sitio 1",
"t_26_1744958839682": "Sitio 2",
"t_27_1744958840234": "Tencent Cloud 1",
"t_28_1744958839760": "Aliyun 1",
"t_29_1744958838904": "día",
"t_30_1744958843864": "El formato del certificado no es correcto, por favor revise si contiene las identificaciones de cabecera y pie completo",
"t_31_1744958844490": "El formato de la clave privada no es correcto, por favor verifique si contiene el identificador completo de la cabecera y el pie de página de la clave privada",
@ -111,7 +103,6 @@
"t_16_1745215915209": "Eliminar flujo de trabajo",
"t_17_1745215915985": "Eliminación del flujo de trabajo exitosa",
"t_18_1745215915630": "Fallo al eliminar el flujo de trabajo",
"t_0_1745227838699": "Despliegue automatizado nuevo",
"t_1_1745227838776": "Por favor, ingrese el nombre de automatización",
"t_2_1745227839794": "¿Está seguro de que desea ejecutar el flujo de trabajo {name}?",
"t_3_1745227841567": "¿Confirma la eliminación del flujo de trabajo {name}? Esta acción no se puede deshacer.",
@ -278,7 +269,6 @@
"t_6_1745490738548": "Por favor ingrese el correo electrónico, el correo electrónico no puede estar vacío",
"t_7_1745490739917": "Por favor, seleccione un proveedor DNS, el proveedor DNS no puede estar vacío",
"t_8_1745490739319": "Ingrese el intervalo de renovación, el intervalo de renovación no puede estar vacío",
"t_0_1745553910661": "Formato de dominio incorrecto, ingrese el dominio correcto",
"t_1_1745553909483": "Formato de correo electrónico incorrecto, ingrese un correo correcto",
"t_2_1745553907423": "El intervalo de renovación no puede estar vacío",
"t_0_1745735774005": "Ingrese el nombre de dominio del certificado, varios nombres de dominio separados por comas",
@ -453,7 +443,6 @@
"t_12_1746773355641": "Haz clic para crear un flujo de trabajo automatizado y mejorar la eficiencia",
"t_13_1746773349526": "Solicitar certificado",
"t_14_1746773355081": "Haz clic para solicitar y administrar certificados SSL para garantizar la seguridad",
"t_15_1746773358151": "Haz clic para configurar el monitoreo del sitio web y realiza un seguimiento del estado de ejecución en tiempo real",
"t_16_1746773356568": "Solo se puede configurar un canal de notificación por correo electrónico como máximo",
"t_17_1746773351220": "Confirmar canal de notificación {0}",
"t_18_1746773355467": "Los canales de notificación {0} comenzarán a enviar alertas.",
@ -490,5 +479,34 @@
"t_0_1746776194126": "Detalles del registro",
"t_1_1746776198156": "Error al cargar el registro:",
"t_2_1746776194263": "Descargar registro",
"t_3_1746776195004": "Sin información de registro"
"t_3_1746776195004": "Sin información de registro",
"t_0_1746782379424": "Tareas automatizadas",
"t_0_1746858920894": "Por favor, seleccione un proveedor de alojamiento",
"t_1_1746858922914": "La lista de proveedores DNS está vacía, por favor agregue",
"t_2_1746858923964": "La lista de proveedores de alojamiento está vacía, agregue",
"t_3_1746858920060": "Agregar proveedor de alojamiento",
"t_4_1746858917773": "Seleccionado",
"t_0_1747019621052": "Seleccione un proveedor de alojamiento{0}",
"t_1_1747019624067": "Haz clic para configurar el monitoreo del sitio web y conocer el estado en tiempo real",
"t_2_1747019616224": "Alibaba Cloud",
"t_3_1747019616129": "Tencent Cloud",
"t_0_1747040228657": "Para múltiples dominios, utilice comas en inglés para separarlos, por ejemplo: test.com,test.cn",
"t_1_1747040226143": "Para dominios comodín, use un asterisco *, por ejemplo: *.test.com",
"t_0_1747042966820": "Por favor, ingrese la clave API correcta de Cloudflare",
"t_1_1747042969705": "Por favor, ingrese la clave API correcta de BT-Panel",
"t_2_1747042967277": "Por favor, ingrese el SecretKey correcto de Tencent Cloud",
"t_3_1747042967608": "Por favor, ingrese el SecretKey correcto de Huawei Cloud",
"t_4_1747042966254": "Por favor ingrese el AccessKey de Huawei Cloud",
"t_5_1747042965911": "Por favor, ingrese la cuenta de correo electrónico correcta",
"t_0_1747047213730": "Agregar despliegue automatizado",
"t_1_1747047213009": "Agregar certificado",
"t_2_1747047214975": "Plataforma de Gestión de Certificados SSL",
"t_3_1747047218669": "Error de formato de dominio, verifique el formato del dominio",
"t_0_1747106957037": "Servidor DNS recursivo (opcional)",
"t_1_1747106961747": "Ingrese los servidores DNS recursivos (separe varios valores con comas)",
"t_2_1747106957037": "Omitir la comprobación previa local",
"t_0_1747110184700": "Seleccionar certificado",
"t_1_1747110191587": "Si necesita modificar el contenido del certificado y la clave, elija un certificado personalizado",
"t_2_1747110193465": "Cuando se selecciona un certificado no personalizado, ni el contenido del certificado ni la clave se pueden modificar",
"t_3_1747110185110": "Subir y enviar"
}

View File

@ -1,11 +1,9 @@
{
"t_0_1746782379424": "Tâches automatisées",
"t_0_1744098811152": "Avertissement : Vous avez entré dans une zone inconnue, la page que vous visitez n'existe pas, veuillez cliquer sur le bouton pour revenir à la page d'accueil.",
"t_1_1744098801860": "Retour à l'accueil",
"t_2_1744098804908": "Avis de sécurité : Si vous pensez que c'est une erreur, veuillez contacter l'administrateur immédiatement",
"t_3_1744098802647": "Développer le menu principal",
"t_4_1744098802046": "Menu principal pliable",
"t_0_1744164843238": "Bienvenue dans AllinSSL, gestion efficace des certificats SSL",
"t_1_1744164835667": "AllinSSL",
"t_2_1744164839713": "Connexion du compte",
"t_3_1744164839524": "Veuillez saisir le nom d'utilisateur",
@ -14,7 +12,6 @@
"t_6_1744164838900": "Oublié votre mot de passe?",
"t_7_1744164838625": "En cours de connexion",
"t_8_1744164839833": "Se connecter",
"t_0_1744168657526": "Déconnecter",
"t_0_1744258111441": "Accueil",
"t_1_1744258113857": "Déploiement Automatisé",
"t_2_1744258111238": "Gestion des certificats",
@ -85,11 +82,6 @@
"t_21_1744958839305": "Serveur 1",
"t_22_1744958841926": "Serveur 2",
"t_23_1744958838717": "Panneau 1",
"t_24_1744958845324": "Panneau 2",
"t_25_1744958839236": "Site 1",
"t_26_1744958839682": "Site 2",
"t_27_1744958840234": "Tencent Cloud 1",
"t_28_1744958839760": "Aliyun 1",
"t_29_1744958838904": "jour",
"t_30_1744958843864": "Le format du certificat est incorrect, veuillez vérifier s'il contient les identifiants d'en-tête et de pied de page complets",
"t_31_1744958844490": "Le format de la clé privée est incorrect, veuillez vérifier si elle contient l'identifiant complet de l'en-tête et du pied de page de la clé privée",
@ -111,7 +103,6 @@
"t_16_1745215915209": "Supprimer le flux de travail",
"t_17_1745215915985": "Suppression du flux de travail réussie",
"t_18_1745215915630": "Échec de la suppression du flux de travail",
"t_0_1745227838699": "Déploiement automatisé ajouté",
"t_1_1745227838776": "Veuillez saisir le nom de l'automatisation",
"t_2_1745227839794": "Êtes-vous sûr de vouloir exécuter le workflow {name}?",
"t_3_1745227841567": "Confirmez-vous la suppression du flux de travail {name} ? Cette action ne peut pas être annulée.",
@ -278,7 +269,6 @@
"t_6_1745490738548": "Veuillez entrer votre email, l'email ne peut pas être vide",
"t_7_1745490739917": "Veuillez sélectionner un fournisseur DNS, le fournisseur DNS ne peut pas être vide",
"t_8_1745490739319": "Veuillez saisir l'intervalle de renouvellement, l'intervalle de renouvellement ne peut pas être vide",
"t_0_1745553910661": "Format de domaine incorrect, veuillez entrer le bon domaine",
"t_1_1745553909483": "Format d'email incorrect, veuillez saisir un email valide",
"t_2_1745553907423": "L'intervalle de renouvellement ne peut pas être vide",
"t_0_1745735774005": "Veuillez saisir le nom de domaine du certificat, plusieurs noms de domaine séparés par des virgules",
@ -453,7 +443,6 @@
"t_12_1746773355641": "Cliquez pour créer un flux de travail automatisé afin d'améliorer l'efficacité",
"t_13_1746773349526": "Demander un certificat",
"t_14_1746773355081": "Cliquez pour demander et gérer les certificats SSL afin d'assurer la sécurité",
"t_15_1746773358151": "Cliquez pour configurer la surveillance du site et suivre l'état d'exécution en temps réel",
"t_16_1746773356568": "Un seul canal de notification par e-mail peut être configuré au maximum",
"t_17_1746773351220": "Confirmer le canal de notification {0}",
"t_18_1746773355467": "Les canaux de notification {0} commenceront à envoyer des alertes.",
@ -490,5 +479,34 @@
"t_0_1746776194126": "Détails du journal",
"t_1_1746776198156": "Échec du chargement du journal :",
"t_2_1746776194263": "Télécharger le journal",
"t_3_1746776195004": "Aucune information de journal"
"t_3_1746776195004": "Aucune information de journal",
"t_0_1746782379424": "Tâches automatisées",
"t_0_1746858920894": "Veuillez sélectionner un hébergeur",
"t_1_1746858922914": "La liste des fournisseurs DNS est vide, veuillez ajouter",
"t_2_1746858923964": "La liste des fournisseurs d'hébergement est vide, veuillez ajouter",
"t_3_1746858920060": "Ajouter un fournisseur d'hébergement",
"t_4_1746858917773": "Sélectionné",
"t_0_1747019621052": "Veuillez choisir un fournisseur d'hébergement{0}",
"t_1_1747019624067": "Cliquez pour configurer la surveillance du site et suivre l'état en temps réel",
"t_2_1747019616224": "Alibaba Cloud",
"t_3_1747019616129": "Tencent Cloud",
"t_0_1747040228657": "Pour plusieurs domaines, veuillez utiliser des virgules anglaises pour les séparer, par exemple : test.com,test.cn",
"t_1_1747040226143": "Pour les domaines génériques, utilisez un astérisque *, par exemple : *.test.com",
"t_0_1747042966820": "Veuillez entrer la clé API Cloudflare correcte",
"t_1_1747042969705": "Veuillez entrer la clé API correcte de BT-Panel",
"t_2_1747042967277": "Veuillez entrer le bon SecretKey de Tencent Cloud",
"t_3_1747042967608": "Veuillez entrer la bonne clé secrète Huawei Cloud",
"t_4_1747042966254": "Veuillez saisir la clé d'accès Huawei Cloud",
"t_5_1747042965911": "Veuillez entrer le bon compte email",
"t_0_1747047213730": "Ajouter un déploiement automatisé",
"t_1_1747047213009": "Ajouter un certificat",
"t_2_1747047214975": "Plateforme de Gestion de Certificats SSL",
"t_3_1747047218669": "Erreur de format de domaine, vérifiez le format du domaine",
"t_0_1747106957037": "Serveur DNS récursif (facultatif)",
"t_1_1747106961747": "Saisissez les serveurs DNS récursifs (séparez plusieurs valeurs par des virgules)",
"t_2_1747106957037": "Ignorer la vérification préalable locale",
"t_0_1747110184700": "Sélectionner le certificat",
"t_1_1747110191587": "Si vous devez modifier le contenu du certificat et la clé, choisissez un certificat personnalisé",
"t_2_1747110193465": "Lorsqu'un certificat non personnalisé est sélectionné, ni le contenu du certificat ni la clé ne peuvent être modifiés",
"t_3_1747110185110": "Télécharger et soumettre"
}

View File

@ -1,11 +1,9 @@
{
"t_0_1746782379424": "自動化タスク",
"t_0_1744098811152": "警告:未知のエリアに進入しました。アクセスしようとしたページは存在しません。ボタンをクリックしてホームページに戻ってください。",
"t_1_1744098801860": "ホームに戻る",
"t_2_1744098804908": "安全注意:これが誤りだと思われる場合は、すぐに管理者に連絡してください",
"t_3_1744098802647": "メインメニューを展開する",
"t_4_1744098802046": "折りたたみメインメニュー",
"t_0_1744164843238": "AllinSSLへようこそ、SSL証明書の効率的な管理",
"t_1_1744164835667": "AllinSSL",
"t_2_1744164839713": "アカウントログイン",
"t_3_1744164839524": "ユーザー名を入力してください",
@ -14,7 +12,6 @@
"t_6_1744164838900": "パスワードを忘れたら",
"t_7_1744164838625": "ログイン中",
"t_8_1744164839833": "ログイン",
"t_0_1744168657526": "ログアウト",
"t_0_1744258111441": "ホーム",
"t_1_1744258113857": "自動デプロイメント",
"t_2_1744258111238": "証明書管理",
@ -85,11 +82,6 @@
"t_21_1744958839305": "サーバー1",
"t_22_1744958841926": "サーバー2",
"t_23_1744958838717": "パネル1",
"t_24_1744958845324": "パネル2",
"t_25_1744958839236": "ウェブサイト1",
"t_26_1744958839682": "ウェブサイト2",
"t_27_1744958840234": "テンセントクラウド1",
"t_28_1744958839760": "アリyun 1",
"t_29_1744958838904": "日",
"t_30_1744958843864": "証明書のフォーマットが不正です。完全な証明書のヘッダおよびフッタ識別子が含まれているか確認してください。",
"t_31_1744958844490": "プライベートキーフォーマットが不正です。完全なプライベートキーヘッダおよびフッタ識別子が含まれているか確認してください。",
@ -111,7 +103,6 @@
"t_16_1745215915209": "ワークフローを削除する",
"t_17_1745215915985": "ワークフローの削除が成功しました",
"t_18_1745215915630": "ワークフローの削除に失敗しました",
"t_0_1745227838699": "新しい自動デプロイメント",
"t_1_1745227838776": "自動化名前を入力してください",
"t_2_1745227839794": "{name}ワークフローの実行を確認しますか?",
"t_3_1745227841567": "{name}のワークフローの削除を確認しますか?この操作は元に戻せません。",
@ -278,7 +269,6 @@
"t_6_1745490738548": "メールアドレスを入力してください、メールアドレスは空にできません",
"t_7_1745490739917": "DNSプロバイダーを選択してください。DNSプロバイダーは空にできません",
"t_8_1745490739319": "更新間隔を入力してください。更新間隔は空にできません",
"t_0_1745553910661": "ドメイン形式が間違っています。正しいドメインを入力してください",
"t_1_1745553909483": "メールの形式が正しくありません。正しいメールアドレスを入力してください",
"t_2_1745553907423": "更新間隔は空にできません",
"t_0_1745735774005": "証明書のドメイン名を入力してください。複数のドメイン名はカンマで区切ります",
@ -453,7 +443,6 @@
"t_12_1746773355641": "効率を向上させるために自動化されたワークフローを作成するにはクリックしてください",
"t_13_1746773349526": "証明書を申請する",
"t_14_1746773355081": "SSL証明書の申請と管理をクリックして、セキュリティを確保します",
"t_15_1746773358151": "クリックしてウェブサイトの監視を設定し、実行状態をリアルタイムで把握します",
"t_16_1746773356568": "最大で1つのメール通知チャネルしか設定できません",
"t_17_1746773351220": "{0}通知チャネルの確認",
"t_18_1746773355467": "{0}通知チャネルは、アラート通知の送信を開始します。",
@ -490,5 +479,34 @@
"t_0_1746776194126": "ログの詳細",
"t_1_1746776198156": "ロードログ失敗:",
"t_2_1746776194263": "ログをダウンロード",
"t_3_1746776195004": "ログ情報がありません"
"t_3_1746776195004": "ログ情報がありません",
"t_0_1746782379424": "自動化タスク",
"t_0_1746858920894": "ホスティングプロバイダーを選択してください",
"t_1_1746858922914": "DNSプロバイダーリストが空です、追加してください",
"t_2_1746858923964": "ホスティングプロバイダーのリストが空です、追加してください",
"t_3_1746858920060": "ホストプロバイダーを追加",
"t_4_1746858917773": "選択済み",
"t_0_1747019621052": "ホストプロバイダーを選択してください{0}",
"t_1_1747019624067": "クリックしてウェブサイト監視を設定し、リアルタイム状態を把握する",
"t_2_1747019616224": "アリババクラウド",
"t_3_1747019616129": "テンセントクラウド",
"t_0_1747040228657": "複数のドメインは英語のカンマで区切ってください。例test.com,test.cn",
"t_1_1747040226143": "ワイルドカードドメインにはアスタリスク*を使用してください。例:*.test.com",
"t_0_1747042966820": "正しいCloudflare APIキーを入力してください",
"t_1_1747042969705": "正しい宝塔APIキーを入力してください",
"t_2_1747042967277": "正しいTencent Cloud SecretKeyを入力してください",
"t_3_1747042967608": "正しいHuawei Cloud SecretKeyを入力してください",
"t_4_1747042966254": "Huawei Cloud AccessKeyを入力してください",
"t_5_1747042965911": "正しいメールアカウントを入力してください",
"t_0_1747047213730": "自動デプロイの追加",
"t_1_1747047213009": "証明書を追加",
"t_2_1747047214975": "SSL証明書管理プラットフォーム",
"t_3_1747047218669": "ドメイン形式が間違っています、ドメイン形式を確認してください",
"t_0_1747106957037": "DNS再帰サーバーオプション",
"t_1_1747106961747": "DNS 再帰サーバーを入力してください(複数の値は,で区切ってください)",
"t_2_1747106957037": "ローカル事前チェックをスキップ",
"t_0_1747110184700": "証明書を選択",
"t_1_1747110191587": "証明書の内容とキーを変更する必要がある場合は、カスタム証明書を選択してください",
"t_2_1747110193465": "非カスタム証明書を選択した場合、証明書の内容とキーはどちらも変更できません",
"t_3_1747110185110": "アップロードして提出"
}

View File

@ -1,11 +1,9 @@
{
"t_0_1746782379424": "자동화 작업",
"t_0_1744098811152": "경고: 알 수 없는 영역에 진입했습니다. 방문하려는 페이지가 존재하지 않습니다. 버튼을 클릭하여 홈페이지로 돌아가세요。",
"t_1_1744098801860": "홈으로 돌아가기",
"t_2_1744098804908": "안전 유의사항: 이가 오류라면 즉시 관리자에게 연락하십시오",
"t_3_1744098802647": "메인 메뉴 펼치기",
"t_4_1744098802046": "접기 메인 메뉴",
"t_0_1744164843238": "AllinSSL을 환영합니다, SSL 셀프리피켓 효율적 관리",
"t_1_1744164835667": "AllinSSL",
"t_2_1744164839713": "계정 로그인",
"t_3_1744164839524": "사용자 이름을 입력하세요",
@ -14,7 +12,6 @@
"t_6_1744164838900": "비밀번호를 잊었나요?",
"t_7_1744164838625": "로그인 중",
"t_8_1744164839833": "로그인",
"t_0_1744168657526": "로그아웃",
"t_0_1744258111441": "홈",
"t_1_1744258113857": "자동 배포",
"t_2_1744258111238": "서비스 관리",
@ -85,11 +82,6 @@
"t_21_1744958839305": "서버1",
"t_22_1744958841926": "서버2",
"t_23_1744958838717": "판널 1",
"t_24_1744958845324": "판널 2",
"t_25_1744958839236": "웹사이트 1",
"t_26_1744958839682": "웹사이트 2",
"t_27_1744958840234": "테encent 클라우드 1",
"t_28_1744958839760": "阿里yun 1",
"t_29_1744958838904": "일",
"t_30_1744958843864": "서류 형식이 잘못되었습니다. 전체 서류 헤더 및 푸터 식별자가 포함되어 있는지 확인해 주세요.",
"t_31_1744958844490": "비밀키 형식이 잘못되었습니다. 완전한 비밀키 헤더 및 푸터 식별자가 포함되어 있는지 확인해 주세요.",
@ -111,7 +103,6 @@
"t_16_1745215915209": "워크플로우 제거",
"t_17_1745215915985": "워크플로우가 성공적으로 삭제되었습니다",
"t_18_1745215915630": "워크플로우 삭제 실패",
"t_0_1745227838699": "신규 자동 배포",
"t_1_1745227838776": "자동화 이름을 입력하세요",
"t_2_1745227839794": "{name} 작업 흐름을 실행하시겠습니까?",
"t_3_1745227841567": "{name} 작업流程을 정말로 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.",
@ -278,7 +269,6 @@
"t_6_1745490738548": "이메일을 입력하세요, 이메일은 비워둘 수 없습니다",
"t_7_1745490739917": "DNS 공급자를 선택하십시오. DNS 공급자는 비워 둘 수 없습니다",
"t_8_1745490739319": "갱신 간격을 입력하세요. 갱신 간격은 비워둘 수 없습니다",
"t_0_1745553910661": "도메인 형식이 잘못되었습니다. 올바른 도메인을 입력하세요",
"t_1_1745553909483": "이메일 형식이 잘못되었습니다. 올바른 이메일을 입력하세요",
"t_2_1745553907423": "갱신 간격은 비워둘 수 없습니다",
"t_0_1745735774005": "인증서 도메인 이름을 입력하세요. 여러 도메인 이름은 쉼표로 구분합니다",
@ -453,7 +443,6 @@
"t_12_1746773355641": "효율성을 높이기 위해 자동화된 워크플로우를 생성하려면 클릭하세요",
"t_13_1746773349526": "증명서 신청",
"t_14_1746773355081": "SSL 인증서를 신청하고 관리하여 보안을 보장합니다",
"t_15_1746773358151": "웹사이트 모니터링을 설정하려면 클릭하세요. 실시간으로 실행 상태를 확인할 수 있습니다",
"t_16_1746773356568": "최대 하나의 이메일 알림 채널만 구성할 수 있습니다",
"t_17_1746773351220": "{0} 알림 채널 확인",
"t_18_1746773355467": "{0} 알림 채널에서 경고 알림을 보내기 시작할 예정입니다.",
@ -490,5 +479,34 @@
"t_0_1746776194126": "로그 상세",
"t_1_1746776198156": "로그 로드 실패:",
"t_2_1746776194263": "로그 다운로드",
"t_3_1746776195004": "로그 정보 없음"
"t_3_1746776195004": "로그 정보 없음",
"t_0_1746782379424": "자동화 작업",
"t_0_1746858920894": "호스팅 제공자를 선택하십시오",
"t_1_1746858922914": "DNS 공급자 목록이 비어 있습니다. 추가해 주세요",
"t_2_1746858923964": "호스팅 제공자 목록이 비어 있습니다. 추가해 주세요",
"t_3_1746858920060": "호스트 공급자 추가",
"t_4_1746858917773": "선택됨",
"t_0_1747019621052": "호스트 공급자를 선택하세요{0}",
"t_1_1747019624067": "클릭하여 웹사이트 모니터링을 설정하고 실시간 상태를 파악하세요",
"t_2_1747019616224": "알리바바 클라우드",
"t_3_1747019616129": "텐센트 클라우드",
"t_0_1747040228657": "여러 도메인은 영어 쉼표로 구분하십시오. 예: test.com,test.cn",
"t_1_1747040226143": "와일드카드 도메인에는 별표 *를 사용하세요. 예: *.test.com",
"t_0_1747042966820": "올바른 Cloudflare API 키를 입력하세요",
"t_1_1747042969705": "올바른 보타(BT) API 키를 입력하세요",
"t_2_1747042967277": "올바른 Tencent Cloud SecretKey를 입력하세요",
"t_3_1747042967608": "정확한 Huawei Cloud SecretKey를 입력하세요",
"t_4_1747042966254": "Huawei Cloud AccessKey를 입력하십시오",
"t_5_1747042965911": "올바른 이메일 계정을 입력하세요",
"t_0_1747047213730": "자동 배포 추가",
"t_1_1747047213009": "인증서 추가",
"t_2_1747047214975": "SSL 인증서 관리 플랫폼",
"t_3_1747047218669": "도메인 형식 오류, 도메인 형식을 확인하세요",
"t_0_1747106957037": "DNS 재귀 서버 (선택 사항)",
"t_1_1747106961747": "DNS 재귀 서버를 입력하십시오 (여러 값은 쉼표로 구분하십시오)",
"t_2_1747106957037": "로컬 사전 확인 건너뛰기",
"t_0_1747110184700": "인증서 선택",
"t_1_1747110191587": "인증서 내용과 키를 수정해야 하는 경우 사용자 정의 인증서를 선택하십시오",
"t_2_1747110193465": "사용자 정의 인증서가 아닌 것을 선택하면 인증서 내용과 키 모두 수정할 수 없습니다",
"t_3_1747110185110": "업로드 및 제출"
}

Some files were not shown because too many files have changed in this diff Show More