【同步】前端项目源码

【修复】工作流兼容问题
This commit is contained in:
chudong
2025-05-10 11:53:11 +08:00
parent c514471adc
commit f1a75afaba
584 changed files with 55714 additions and 110 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

View File

@@ -1 +0,0 @@
<svg width="1440.855" height="900.46" viewBox="0 0 1440.85 900.46" fill="none" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="0" y1="724" x2="442.31" y2="898.26" id="a" gradientUnits="userSpaceOnUse"><stop stop-color="#121212"/><stop offset=".969" stop-color="#333" stop-opacity=".969"/><stop offset="1" stop-color="#E3E4E8" stop-opacity="0"/></linearGradient><linearGradient x1="995.427" y1="642.73" x2="466.927" y2="898.31" id="b" gradientUnits="userSpaceOnUse"><stop stop-color="#121212"/><stop offset="1" stop-color="#333"/></linearGradient><linearGradient x1="0" y1="653.04" x2="1120.19" y2="653.04" id="c" gradientUnits="userSpaceOnUse"><stop stop-color="#121212"/><stop offset="1" stop-color="#333"/></linearGradient><linearGradient x1=".7" y1="58.87" x2="382.18" y2="58.87" id="d" gradientUnits="userSpaceOnUse"><stop stop-color="#121212"/><stop offset="1" stop-color="#333"/></linearGradient><linearGradient x1="1440.355" y1="665.73" x2="1152.355" y2="900.23" id="e" gradientUnits="userSpaceOnUse"><stop stop-color="#333"/><stop offset="1" stop-color="#121212"/></linearGradient><linearGradient x1="1206.355" y1="1.73" x2="1460.355" y2="314.73" id="f" gradientUnits="userSpaceOnUse"><stop stop-color="#121212"/><stop offset=".995" stop-color="#333" stop-opacity=".792"/></linearGradient></defs><path fill="#121212" d="M.7.46h1440v900H.7z"/><path d="M3.09 755.27 0 724.46l442.31 174.26h-79.56L3.09 755.27z" fill="url(#a)"/><path d="M532.78 898.72h83.62l526.16-259.19-22.38-27.13-587.4 286.32z" fill="url(#b)"/><path d="m3.09 585.09 470.03-177.73 647.06 205.04-587.4 286.32h-90.47L0 724.46l3.09-139.37z" fill="url(#c)"/><path d="m.7 79.92 88.22 37.37L382.18.45H.7v79.47z" fill="url(#d)"/><path d="M1440.35 665.73v234.5h-288l288-234.5z" fill="url(#e)" fill-opacity=".9" fill-rule="evenodd"/><path d="M1206.35 1.72h234.5v288.01L1206.35 1.72z" fill="url(#f)" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -1 +0,0 @@
<svg width="1440.855" height="900.46" viewBox="0 0 1440.85 900.46" fill="none" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="0" y1="653.04" x2="1120.19" y2="653.04" id="a" gradientUnits="userSpaceOnUse"><stop stop-color="#F0F0F2"/><stop offset="1" stop-color="#F3F4F6"/></linearGradient><linearGradient x1=".7" y1="58.87" x2="382.18" y2="58.87" id="b" gradientUnits="userSpaceOnUse"><stop stop-color="#EBEBED"/><stop offset="1" stop-color="#F3F4F6"/></linearGradient><linearGradient x1="1506.855" y1="665.73" x2="1152.355" y2="900.23" id="c" gradientUnits="userSpaceOnUse"><stop stop-color="#EBECEE"/><stop offset="1" stop-color="#F2F3F5"/></linearGradient><linearGradient x1="1206.355" y1="1.73" x2="1460.355" y2="314.73" id="d" gradientUnits="userSpaceOnUse"><stop offset=".282" stop-color="#F1F2F3"/><stop offset="1" stop-color="#EBECEE" stop-opacity=".792"/></linearGradient></defs><path fill="#F3F4F6" d="M.7.46h1440v900H.7z"/><path d="M3.09 755.27 0 724.46l442.31 174.26h-79.56L3.09 755.27z" fill="#E3E4E8"/><path d="M532.78 898.72h83.62l526.16-259.19-22.38-27.13-587.4 286.32z" fill="#FBFBFC"/><path d="m3.09 585.09 470.03-177.73 647.06 205.04-587.4 286.32h-90.47L0 724.46l3.09-139.37z" fill="url(#a)"/><path d="m.7 79.92 88.22 37.37L382.18.45H.7v79.47z" fill="url(#b)"/><path d="M1440.35 665.73v234.5h-288l288-234.5z" fill="url(#c)" fill-opacity=".9" fill-rule="evenodd"/><path d="M1206.35 1.72h234.5v288.01L1206.35 1.72z" fill="url(#d)" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{d as a,c as l,o as n,a as r}from"./main-D8Z-8iPZ.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 +0,0 @@
import{d as c,c as n,o,a as r}from"./main-D8Z-8iPZ.js";const t={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 o(),n("svg",t,s[0]||(s[0]=[r("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};

View File

@@ -1 +0,0 @@
import{d as l,c as n,o as r,a as t}from"./main-D8Z-8iPZ.js";const o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},s=l({name:"PlusOutlined",render:function(l,s){return r(),n("svg",o,s[0]||(s[0]=[t("defs",null,null,-1),t("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z",fill:"currentColor"},null,-1),t("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z",fill:"currentColor"},null,-1)]))}}),w={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},a=l({name:"Search",render:function(l,o){return r(),n("svg",w,o[0]||(o[0]=[t("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)]))}});export{s as P,a as S};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{c as s}from"./index-yiIyVSv0.js";const c=c=>s("/v1/access/get_list",c),a=c=>s("/v1/access/add_access",c),e=c=>s("/v1/access/upd_access",c),d=c=>s("/v1/access/del_access",c),t=c=>s("/v1/access/get_all",c);export{a,t as b,d,c as g,e as u};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{be as $,bp as a,b_ as t,br as n,by as r,bt as s}from"./main-D8Z-8iPZ.js";import{d as e,t as o,c as f}from"./test-DbYqM2ZR.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]|[1-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,}$/),w=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($)||w($)),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};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{d as e,r as o,x as r,$ as t,e as i,G as s,H as a}from"./main-D8Z-8iPZ.js";import{u as d}from"./index-C6fPintp.js";import{u as p}from"./index-yiIyVSv0.js";import{N as n}from"./index-BLjn2Hdc.js";import{r as l}from"./verify-C4A8sgpW.js";import"./index-4SW2EnHr.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.js";import"./useStore-CEiyUWBM.js";import"./setting-BuW_WiRV.js";import"./index-Cc_zz0Ev.js";import"./index-BMspkLA9.js";import"./access-DymwmDzp.js";import"./text-BWsiCV4g.js";const u=e({name:"NotifyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{provider:"",provider_id:"",subject:"",body:""}})}},setup(e){const{updateNodeConfig:u,isRefreshNode:m}=d(),{useFormInput:c,useFormTextarea:v,useFormCustom:j}=r(),{confirm:f}=a(),{handleError:_}=p(),x=o(Object.keys(e.node.config).length>0?e.node.config:{provider:"",provider_id:"",subject:"",body:""}),y=[c(t("t_0_1745920566646"),"subject",{placeholder:t("t_3_1745887835089")}),v(t("t_1_1745920567200"),"body",{placeholder:t("t_4_1745887835265"),rows:4}),j((()=>i(n,{path:"provider_id",value:x.value.provider_id,isAddMode:!0,"onUpdate:value":e=>{x.value.provider_id=e.value,x.value.provider=e.type}},null)))],{component:b,data:g,example:h}=s({defaultValue:x,config:y,rules:l});return f((async o=>{var r;try{await(null==(r=h.value)?void 0:r.validate()),u(e.node.id,g.value),m.value=e.node.id,o()}catch(t){_(t)}})),()=>i("div",{class:"notify-node-drawer"},[i(b,{labelPlacement:"top"},null)])}});export{u as default};

View File

@@ -1 +0,0 @@
import{d as e,r as a,w as t,x as o,$ as s,e as r,bM as d,z as i,G as l,H as n}from"./main-D8Z-8iPZ.js";import{u as p}from"./index-C6fPintp.js";import{r as m}from"./verify-DT_aKhVd.js";import{D as u}from"./index-CQ0Tngw6.js";import"./index-4SW2EnHr.js";import"./index-yiIyVSv0.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.js";import"./business-DN2MKo6G.js";import"./useStore-CEiyUWBM.js";import"./setting-BuW_WiRV.js";import"./index-Cc_zz0Ev.js";import"./index-BMspkLA9.js";import"./access-DymwmDzp.js";import"./text-BWsiCV4g.js";const c=e({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e){const{updateNodeConfig:c,isRefreshNode:v}=p(),{confirm:_}=n(),{useFormInput:j}=o(),f=a(Object.keys(e.node.config).length>0?e.node.config:{domains:"",email:"",provider_id:"",provider:"",end_day:30}),y=t((()=>[j(s("t_17_1745227838561"),"domains",{placeholder:s("t_0_1745735774005")}),j(s("t_1_1745735764953"),"email",{placeholder:s("t_2_1745735773668")}),{type:"custom",render:()=>r(u,{type:"dns",path:"provider_id",value:f.value.provider_id,"onUpdate:value":e=>{f.value.provider_id=e.value,f.value.provider=e.type}},null)},{type:"custom",render:()=>r(i,{label:s("t_5_1745735769112"),path:"end_day"},{default:()=>[r(d,{value:f.value.end_day,"onUpdate:value":e=>f.value.end_day=e,showButton:!1,min:1,class:"w-[180px]",placeholder:s("t_6_1745735765205")},null),r("span",{class:"text-[1.4rem] ml-[1.2rem]"},[s("t_7_1745735768326")])]})}])),{component:x,data:h,example:g}=l({defaultValue:f,config:y,rules:m});return _((async a=>{var t;try{await(null==(t=g.value)?void 0:t.validate()),c(e.node.id,h.value),v.value=e.node.id,a()}catch(o){}})),()=>r("div",{class:"apply-node-drawer"},[r(x,{labelPlacement:"top"},null)])}});export{c as default};

View File

@@ -1 +0,0 @@
import{d as e,bY as a,x as o,$ as r,G as t,H as s,e as d}from"./main-D8Z-8iPZ.js";import{u as i}from"./index-C6fPintp.js";import{u as l}from"./index-yiIyVSv0.js";import{r as n}from"./verify-D33tYN8b.js";import"./index-4SW2EnHr.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.js";const p=e({name:"UploadNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{cert:"",key:""}})}},setup(e){const{updateNodeConfig:p,isRefreshNode:m}=i(),{useFormTextarea:u}=o(),{config:c}=a(e.node),{confirm:f}=s(),{handleError:j}=l(),v=[u(r("t_34_1745735771147"),"cert",{placeholder:r("t_35_1745735781545"),rows:6}),u(r("t_36_1745735769443"),"key",{placeholder:r("t_37_1745735779980"),rows:6})],{component:x,data:_,example:w}=t({defaultValue:c,config:v,rules:n});return f((async a=>{var o;try{await(null==(o=w.value)?void 0:o.validate()),p(e.node.id,_.value),m.value=e.node.id,a()}catch(r){j(r)}})),()=>d("div",{class:"upload-node-drawer"},[d(x,{labelPlacement:"top"},null)])}});export{p 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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{S as e}from"./index-4SW2EnHr.js";import{d as n,w as t,E as l,e as a,Q as o}from"./main-D8Z-8iPZ.js";const s={ssh:"SSH",aliyun:"阿里云",tencentcloud:"腾讯云",btpanel:"宝塔面板","1panel":"1Panel",mail:"邮件",dingtalk:"钉钉",wecom:"企业微信",feishu:"飞书",webhook:"WebHook","tencentcloud-cdn":"腾讯云CDN","tencentcloud-cos":"腾讯云COS","aliyun-cdn":"阿里云CDN","aliyun-oss":"阿里云OSS","1panel-site":"1Panel网站","btpanel-site":"宝塔面板网站"},c=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 c=t((()=>(["mail","dingtalk","wecom","feishu","webhook"].includes(n.icon)?"notify-":"resources-")+({ssh:"ssh",aliyun:"aliyun",tencentcloud:"tencentcloud",btpanel:"btpanel","1panel":"1panel",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"))),i=t((()=>s[n.icon]||n.icon));return l((()=>n.icon),(e=>{})),l((()=>n.type),(e=>{})),()=>a(o,{bordered:!1,class:"cursor-pointer",type:n.type},{default:()=>[a("span",{class:"text-[12px] color-[#333]"},[n.text&&a("span",null,[i.value])])],avatar:()=>a(e,{iconName:c.value,size:"1.6rem",class:"mr-0"},null)})}});export{c as A};

View File

@@ -1 +0,0 @@
import{u as e,a as o}from"./index-C6fPintp.js";import{d as a,i,w as r,E as s,aO as t,e as n,$ as d}from"./main-D8Z-8iPZ.js";import{r as l}from"./verify-DT_aKhVd.js";import{u as m}from"./index-BMspkLA9.js";import"./index-4SW2EnHr.js";import"./index-yiIyVSv0.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.js";import"./business-DN2MKo6G.js";const p=a({name:"ApplyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(a){const{isRefreshNode:p}=e(),{registerCompatValidator:u,validate:v,validationResult:f,unregisterValidator:c}=o(),j=i(["warningColor","primaryColor"]),x=r((()=>f.value.valid?"var(--n-primary-color)":"var(--n-warning-color)"));return s((()=>p.value),(e=>{m((()=>{u(a.node.id,l,a.node.config),v(a.node.id),p.value=null}),500)}),{immediate:!0}),t((()=>c(a.node.id))),()=>{var e;return n("div",{style:j.value,class:"text-[12px]"},[n("div",{style:{color:x.value}},[f.value.valid?"域名:"+(null==(e=a.node.config)?void 0:e.domains):d("t_9_1745735765287")])])}}});export{p as default};

View File

@@ -1 +0,0 @@
import{d as e,r as l,E as a,I as t,e as u,D as s,A as n,$ as i,y as o,B as p,F as r,k as v}from"./main-D8Z-8iPZ.js";import{u as d}from"./useStore-CEiyUWBM.js";import{S as f}from"./index-4SW2EnHr.js";import{N as m}from"./text-BWsiCV4g.js";function y(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!v(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:v}){const{fetchNotifyProvider:c,notifyProvider:b}=d(),_=l({label:"",value:"",type:""}),x=l([]),g=()=>{window.open("/settings?tab=notification","_blank")},j=({option:l})=>u("div",{class:"flex items-center"},[l.label?u(r,null,[u(f,{iconName:`notify-${"value"===e.valueType?l.type:l.value}`,size:"2rem"},null),u("div",{class:"ml-[.8rem] p-[4px_0]"},[u(m,null,{default:()=>[l.label]})])]):u("span",{class:"text-[1.4rem] text-gray-400"},[i("t_0_1745887835267")])]),S=l=>u("div",{style:{display:"flex",alignItems:"center"}},[u(f,{iconName:`notify-${"value"===e.valueType?l.type:l.value}`,size:"2rem"},null),u("div",{class:"ml-[.8rem] p-[4px_0]"},[u(m,null,{default:()=>[l.label]})])]),N=e=>{if(!e)return;const l=x.value.find((l=>l.value===e));_.value={label:(null==l?void 0:l.label)||"",value:(null==l?void 0:l.value)||"",type:(null==l?void 0:l.type)||""}},T=e=>{N(e),v("update:value",_.value)};return a((()=>e.value),(e=>N(e)),{immediate:!0}),a((()=>b.value),(l=>{x.value=l.map((l=>({label:l.label,value:"value"===e.valueType?l.value:l.type,type:"value"===e.valueType?l.type:l.value})))||[],N(e.value)})),t((()=>{c()})),()=>{let l,a;return u(s,{cols:24},{default:()=>[u(n,{span:e.isAddMode?13:24,label:i("t_1_1745887832941"),path:e.path},{default:()=>[u(o,{class:"flex-1 w-full ",options:x.value,renderLabel:S,renderTag:j,filterable:!0,placeholder:i("t_0_1745887835267"),value:_.value.value,"onUpdate:value":e=>_.value.value=e,onUpdateValue:T},{empty:()=>u("span",{class:"text-[1.4rem]"},[i("t_0_1745887835267")])})]}),e.isAddMode&&u(n,{span:11},{default:()=>[u(p,{class:"mx-[8px]",onClick:g},y(l=i("t_2_1745887834248"))?l:{default:()=>[l]}),u(p,{onClick:c},y(a=i("t_0_1746497662220"))?a:{default:()=>[a]})]})]})}}});export{c as N};

View File

@@ -1 +0,0 @@
import{bv as t,b$ as e,bV as n,c0 as i,aL as a,I as s,aw as o,E as r,ab as u,r as c,c1 as l,bJ as f}from"./main-D8Z-8iPZ.js";function v(t){return!!i()&&(a(t),!0)}const m="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const p=Object.prototype.toString,b=t=>"[object Object]"===p.call(t),d=()=>{};const y=t=>t();function g(t=y,n={}){const{initialState:i="active"}=n,a=function(...t){if(1!==t.length)return u(...t);const n=t[0];return"function"==typeof n?e(l((()=>({get:n,set:d})))):c(n)}("active"===i);return{isActive:e(a),pause:function(){a.value=!1},resume:function(){a.value=!0},eventFilter:(...e)=>{a.value&&t(...e)}}}function h(t){return Array.isArray(t)?t:[t]}function A(t,e,n={}){const{eventFilter:i=y,...a}=n;return r(t,(s=i,o=e,function(...t){return new Promise(((e,n)=>{Promise.resolve(s((()=>o.apply(this,t)),{fn:o,thisArg:this,args:t})).then(e).catch(n)}))}),a);var s,o}function S(t,e,n={}){const{eventFilter:i,initialState:a="active",...s}=n,{eventFilter:o,pause:r,resume:u,isActive:c}=g(i,{initialState:a});return{stop:A(t,e,{...s,eventFilter:o}),pause:r,resume:u,isActive:c}}function w(t,e=!0,n){f()?s(t,n):e?t():o(t)}function F(i,a,s={}){const{immediate:o=!0,immediateCallback:r=!1}=s,u=t(!1);let c=null;function l(){c&&(clearTimeout(c),c=null)}function f(){u.value=!1,l()}function p(...t){r&&i(),l(),u.value=!0,c=setTimeout((()=>{u.value=!1,c=null,i(...t)}),n(a))}return o&&(u.value=!0,m&&p()),v(f),{isPending:e(u),start:p,stop:f}}function j(t,e,n){return r(t,e,{...n,immediate:!0})}export{h as a,j as b,v as c,b as d,m as i,w as t,F as u,S as w};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{d as e,e as s}from"./main-D8Z-8iPZ.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};

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};

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 +0,0 @@
import{d as e,n as a,r as l,E as t,I as u,e as n,D as s,A as p,$ as r,y as d,B as v,F as i,k as o}from"./main-D8Z-8iPZ.js";import{u as y}from"./useStore-CEiyUWBM.js";import{S as m}from"./index-4SW2EnHr.js";import{u as f}from"./index-yiIyVSv0.js";import{N as c}from"./text-BWsiCV4g.js";const _=e({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}},emits:["update:value"],setup(e,{emit:_}){const{handleError:b}=f(),g=a(),{fetchDnsProvider:x,dnsProvider:h}=y(),S=l({label:"",value:"",type:""}),j=l([]),A=()=>{window.open("/auth-api-manage","_blank")},w=({option:a})=>n("div",{style:{display:"flex",alignItems:"center"}},[a.label?n(i,null,[n(m,{iconName:`resources-${a.type}`,size:"2rem"},null),n("div",{style:{marginLeft:".8rem",padding:"4px 0"}},[n(c,null,{default:()=>[a.label]})])]):n("span",{style:{fontSize:"1.4rem",color:"#9CA3AF"}},["dns"===e.type?r("t_3_1745490735059"):r("t_19_1745735766810")])]),k=e=>n("div",{style:{display:"flex",alignItems:"center"}},[n(m,{iconName:`resources-${e.type}`,size:"2rem"},null),n("div",{style:{marginLeft:".8rem",padding:"4px 0"}},[n(c,null,{default:()=>[e.label]})])]),C=()=>{var e,a,l;const t=h.value.find((e=>e.value===S.value.value));t&&(S.value={label:t.label,value:t.value,type:t.type}),h.value.length>0&&""===S.value.value&&(S.value={label:(null==(e=h.value[0])?void 0:e.label)||"",value:(null==(a=h.value[0])?void 0:a.value)||"",type:(null==(l=h.value[0])?void 0:l.type)||""}),_("update:value",S.value)},D=e=>{S.value.value=e,C()};return t((()=>h.value),(a=>{j.value=a.map((a=>({label:a.label,value:"value"===e.valueType?a.value:a.type,type:"value"===e.valueType?a.type:a.value})))||[],C()})),t((()=>e.value),(()=>D(e.value)),{immediate:!0}),u((()=>{x(e.type)})),()=>{let a;return n(s,{cols:24},{default:()=>[n(p,{span:e.isAddMode?13:24,label:"dns"===e.type?r("t_3_1745735765112"):r("t_0_1745744902975"),path:e.path},{default:()=>[n(d,{class:"flex-1 w-full",options:j.value,renderLabel:k,renderTag:w,filterable:!0,placeholder:"dns"===e.type?r("t_3_1745490735059"):r("t_1_1745744905566"),value:S.value.value,"onUpdate:value":e=>S.value.value=e,onUpdateValue:D},{empty:()=>n("span",{class:"text-[1.4rem]"},["dns"===e.type?r("t_3_1745490735059"):r("t_1_1745744905566")])})]}),e.isAddMode&&n(p,{span:11},{default:()=>{return[n(v,{class:"mx-[8px]",onClick:A},{default:()=>["dns"===e.type?r("t_1_1746004861166"):r("t_0_1745748292337")]}),n(v,{onClick:()=>(async(a="")=>{try{await x(a),h.value.length||g.warning("dns"===e.type?r("t_0_1746673515941"):r("t_2_1745748298902"))}catch(l){b(l)}})(e.type)},(l=a=r("t_0_1746497662220"),"function"==typeof l||"[object Object]"===Object.prototype.toString.call(l)&&!o(l)?a:{default:()=>[a]}))];var l}})]})}}});export{_ as D};

View File

@@ -1 +0,0 @@
import{d as o,i as e,w as i,e as r,$ as a,E as s,aO as t}from"./main-D8Z-8iPZ.js";import{u as d,a as n}from"./index-C6fPintp.js";import{r as l}from"./verify-C4A8sgpW.js";import{A as p}from"./index-B8mQ18bn.js";import{u as m}from"./index-BMspkLA9.js";import"./index-4SW2EnHr.js";import"./index-yiIyVSv0.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.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};

View File

@@ -1 +0,0 @@
import{u as e,a}from"./index-C6fPintp.js";import{d as o,i as r,w as i,$ as t,E as s,aO as d,e as n}from"./main-D8Z-8iPZ.js";import{r as l}from"./verify-CW6Fb60h.js";import{u as m}from"./index-BMspkLA9.js";import"./index-4SW2EnHr.js";import"./index-yiIyVSv0.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.js";const p=o({name:"StartNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(o){const{isRefreshNode:p}=e(),{validate:u,validationResult:v,registerCompatValidator:c,unregisterValidator:f}=a(),j=r(["warningColor","primaryColor"]),x=i((()=>v.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),g=i((()=>v.value.valid?"auto"===o.node.config.exec_type?t("t_4_1744875940750"):t("t_5_1744875940010"):"未配置"));return s((()=>p.value),(e=>{m((()=>{c(o.node.id,l,o.node.config),u(o.node.id),p.value=null}),500)}),{immediate:!0}),d((()=>f(o.node.id))),()=>n("div",{style:j.value,class:"text-[12px]"},[n("div",{style:{color:x.value}},[g.value])])}});export{p as default};

View File

@@ -1 +0,0 @@
import{u as e,a as o}from"./index-C6fPintp.js";import{d as i,i as s,w as a,e as r,$ as t,E as n,aO as d}from"./main-D8Z-8iPZ.js";import{A as l}from"./index-B8mQ18bn.js";import{r as p}from"./verify-DINczDQF.js";import{u as m}from"./index-BMspkLA9.js";import"./index-4SW2EnHr.js";import"./index-yiIyVSv0.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.js";import"./business-DN2MKo6G.js";const u=i({name:"DeployNode",props:{node:{type:Object,default:()=>({id:"",inputs:{},config:{}})}},setup(i){const{isRefreshNode:u}=e(),{registerCompatValidator:v,validate:c,validationResult:f,unregisterValidator:j}=o(),x=s(["warningColor","primaryColor"]),y=a((()=>f.value.valid?"var(--n-primary-color)":"var(--n-warning-color)")),g=a((()=>f.value.valid?r(l,{icon:i.node.config.provider,type:"success"},null):t("t_9_1745735765287")));return n((()=>u.value),(e=>{m((()=>{v(i.node.id,p,i.node.config),c(i.node.id),u.value=null}),500)}),{immediate:!0}),d((()=>j(i.node.id))),()=>r("div",{style:x.value,class:"text-[12px]"},[r("div",{style:{color:y.value}},[g.value])])}});export{u as default};

View File

@@ -1 +0,0 @@
import{i as e,w as t,t as n,a as r,b as a,c as o,d as l}from"./index-BMspkLA9.js";import{bv as i,r as u,w as s,bV as f,E as c,aw as d,bW as v}from"./main-D8Z-8iPZ.js";const g=e?window:void 0;function p(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},i=s((()=>{const t=r(f(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),u=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),()=>{u(),n()}}const w="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 w||(w[y]=w[y]||{}),w[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:w=!0,listenToStorageChanges:y=!0,writeDefaults:S=!0,mergeDefaults:N=!1,shallow:E,window:O=g,eventFilter:j,onError:A=e=>{},initOnMounted:I}=o,J=(E?i:u)("function"==typeof r?r():r),_=s((()=>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:F,resume:k}=t(J,(()=>function(e){try{const t=a.getItem(_.value);if(null==e)T(t,null),a.removeItem(_.value);else{const n=V.write(e);t!==n&&(a.setItem(_.value,n),T(t,n))}}catch(L){A(L)}}(J.value)),{flush:v,deep:w,eventFilter:j});function T(e,t){if(O){const n={key:_.value,oldValue:e,newValue:t,storageArea:a};O.dispatchEvent(a instanceof Storage?new StorageEvent("storage",n):new CustomEvent(h,{detail:n}))}}function x(e){if(!e||e.storageArea===a)if(e&&null==e.key)J.value=D;else if(!e||e.key===_.value){F();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(k):k()}}}function C(e){x(e.detail)}return c(_,(()=>x()),{flush:v}),O&&y&&n((()=>{a instanceof Storage?p(O,"storage",x,{passive:!0}):p(O,h,C),I&&x()})),I||x(),J}function E(e,t,n={}){const{window:r=g}=n;return N(e,t,null==r?void 0:r.localStorage,n)}export{E as u};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{u as a,a as e}from"./index-C6fPintp.js";import{r as o}from"./verify-D33tYN8b.js";import{d as r,i,w as s,E as t,aO as d,e as l}from"./main-D8Z-8iPZ.js";import{u as n}from"./index-BMspkLA9.js";import"./index-4SW2EnHr.js";import"./index-yiIyVSv0.js";import"./test-DbYqM2ZR.js";import"./useStore-CFVnCatL.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:f}=e(),c=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((()=>f(r.node.id))),()=>l("div",{style:c.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

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

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

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 +0,0 @@
import{c as o,d as s}from"./index-yiIyVSv0.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};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{c as t}from"./index-yiIyVSv0.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 +0,0 @@
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-D8Z-8iPZ.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 +0,0 @@
import{Y as e,Z as o,d as t,J as n,_ as r,K as s,bU as i,w as a,aI as l,a2 as d,ap as c}from"./main-D8Z-8iPZ.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=a((()=>{const{depth:o,type:t}=e,r="default"===t?void 0===o?"textColor":`textColor${o}Depth`:l("textColor",t),{common:{fontWeightStrong:s,fontFamilyMono:i,cubicBezierEaseInOut:a},self:{codeTextColor:d,codeBorderRadius:c,codeColor:h,codeBorder:g,[r]:u}}=n.value;return{"--n-bezier":a,"--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",a((()=>`${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 +0,0 @@
import{u as e}from"./index-yiIyVSv0.js";import{a}from"./setting-BuW_WiRV.js";import{m as t,s as o,r as l,w as r}from"./main-D8Z-8iPZ.js";import{u as s}from"./index-Cc_zz0Ev.js";import{b as n}from"./access-DymwmDzp.js";const i=t("layout-store",(()=>{const{handleError:t}=e(),o=s("layout-collapsed",!1),i=l([]),u=l([]),c=s("menu-active","home"),v=r((()=>"home"!==c.value?"var(--n-content-padding)":"0"));return{locales:s("locales-active","zhCN"),notifyProvider:i,dnsProvider:u,isCollapsed:o,layoutPadding:v,menuActive:c,resetDataInfo:()=>{c.value="home",localStorage.removeItem("menu-active")},updateMenuActive:e=>{"logout"!==e&&(c.value=e)},toggleCollapse:()=>{o.value=!o.value},handleCollapse:()=>{o.value=!0},handleExpand:()=>{o.value=!1},fetchNotifyProvider:async()=>{try{const{data:e}=await a({p:1,search:"",limit:1e3}).fetch();i.value=[],i.value=null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type})))}catch(e){t(e)}},fetchDnsProvider:async(e="")=>{try{const{data:a}=await n({type:e}).fetch();u.value=(null==a?void 0:a.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(a){u.value=[],t(a)}}}})),u=()=>{const e=i();return{...e,...o(e)}};export{u};

View File

@@ -1 +0,0 @@
import{c as e,u as a}from"./index-yiIyVSv0.js";import{m as o,s as t,r as l,$ as r}from"./main-D8Z-8iPZ.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),i=a=>e("/v1/workflow/get_exec_log",a),n=a=>e("/v1/workflow/execute_workflow",a),d=a=>e("/v1/workflow/exec_type",a),f=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",exec_time:""}),c=l("quick"),i=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:i,resetWorkflowData:()=>{s.value={id:"",name:"",content:"",active:"1",exec_type:"manual"},i.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).defalut(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).defalut(r("t_11_1745457488256"))}}}})),k=()=>{const e=u();return{...e,...t(e)}};export{c as a,n as b,i as c,s as d,f as e,k as f,w as g,d as u};

View File

@@ -1 +0,0 @@
import{$ as r}from"./main-D8Z-8iPZ.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 +0,0 @@
import{$ as e}from"./main-D8Z-8iPZ.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 +0,0 @@
import{$ as r}from"./main-D8Z-8iPZ.js";const e={key:{required:!0,trigger:"input",validator:(e,i)=>new Promise(((e,t)=>{i?e():t(new Error(r("t_38_1745735769521")))}))},cert:{required:!0,trigger:"input",validator:(e,i)=>new Promise(((e,t)=>{i?e():t(new Error(r("t_40_1745735815317")))}))}};export{e as r};

View File

@@ -1 +0,0 @@
import{$ as e}from"./main-D8Z-8iPZ.js";import{N as r}from"./business-DN2MKo6G.js";const i={provider:{required:!0,message:e("t_19_1745735766810"),type:"string",trigger:"change"},provider_id:{required:!0,trigger:"change",type:"string",validator:(r,i)=>{if(!i)return new Error(e("t_1_1745744905566"))}},"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 +0,0 @@
import{w as r,W as e}from"./business-DN2MKo6G.js";import{$ as i}from"./main-D8Z-8iPZ.js";const o={domains:{required:!0,trigger:"input",validator:(r,o)=>new Promise(((r,n)=>{e(o)?o?r():n(new Error(i("域名不能为空"))):n(new Error(i("t_0_1745553910661")))}))},email:{required:!0,trigger:"input",validator:(e,o)=>new Promise(((e,n)=>{r(o)?o?e():n(new Error(i("邮箱不能为空"))):n(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};

File diff suppressed because one or more lines are too long