mirror of https://github.com/allinssl/allinssl
Merge remote-tracking branch 'origin/1.0.1' into 1.0.1
commit
f7a48533b1
Binary file not shown.
|
@ -1,11 +1,11 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<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-Fcjzy_wF.js"></script>
|
||||
<script type="module" crossorigin src="./static/js/main-DOVIGS6h.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./static/css/style-CZCZekGI.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{d as a,c as l,o as n,a as r}from"./main-Fcjzy_wF.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,c as l,o as n,a as r}from"./main-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{d as c,c as n,o,a as r}from"./main-Fcjzy_wF.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};
|
||||
import{d as c,c as n,o,a as r}from"./main-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{d as a,c as n,o as r,a as o}from"./main-Fcjzy_wF.js";const s={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},t=a({name:"Search",render:function(a,t){return r(),n("svg",s,t[0]||(t[0]=[o("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{t as S};
|
||||
import{d as a,c as n,o as r,a as o}from"./main-DOVIGS6h.js";const s={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},t=a({name:"Search",render:function(a,t){return r(),n("svg",s,t[0]||(t[0]=[o("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{t as S};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{c as s}from"./index-BzaYP_dt.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};
|
||||
import{c as s}from"./index-CMbFiwwa.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
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{be as $,bp as a,b_ as t,bs as s,bx as n,br as r}from"./main-Fcjzy_wF.js";import{d as e,t as o,c as f}from"./test-D61Aaakq.js";var A=$((function($,s){return a($+1,(function(){var a=arguments[$];if(null!=a&&t(a[s]))return a[s].apply(a,Array.prototype.slice.call(arguments,0,$));throw new TypeError(e(a)+' does not have a method named "'+s+'"')}))}))(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),x=$=>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 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(n(!0),r(($=>b($)||B($)||w($)),A(a,$)));s((($,a=2,t=!0,s="")=>{if(0===$)return t?"0 B":"0";const n=["B","KB","MB","GB","TB"],r=($,e)=>{const o=n[e],f=0===e||0===a?Math.round($).toString():$.toFixed(a);return s&&o===s||$<1024||e>=n.length-1?t?`${f} ${o}`:f:r($/1024,e+1)};return r($,0)}));export{h as H,b as N,x as O,c as T,F as W,i as w};
|
||||
import{be as $,bp as a,b_ as t,bs as s,bx as n,br as r}from"./main-DOVIGS6h.js";import{d as e,t as o,c as f}from"./test-CvjPVGrt.js";var A=$((function($,s){return a($+1,(function(){var a=arguments[$];if(null!=a&&t(a[s]))return a[s].apply(a,Array.prototype.slice.call(arguments,0,$));throw new TypeError(e(a)+' does not have a method named "'+s+'"')}))}))(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),x=$=>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 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(n(!0),r(($=>b($)||B($)||w($)),A(a,$)));s((($,a=2,t=!0,s="")=>{if(0===$)return t?"0 B":"0";const n=["B","KB","MB","GB","TB"],r=($,e)=>{const o=n[e],f=0===e||0===a?Math.round($).toString():$.toFixed(a);return s&&o===s||$<1024||e>=n.length-1?t?`${f} ${o}`:f:r($/1024,e+1)};return r($,0)}));export{h as H,b as N,x as O,c as T,F as W,i as w};
|
|
@ -1 +1 @@
|
|||
import{d as e,r as o,x as r,$ as t,e as i,G as d,H as a}from"./main-Fcjzy_wF.js";import{u as s}from"./index-DG5JwjjR.js";import{u as n}from"./index-BzaYP_dt.js";import{N as p}from"./index-D3FZKry1.js";import{r as l}from"./verify-B512YF0m.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./useStore-HZZS0aMU.js";import"./useStore-2btmTDHW.js";import"./setting-DDVYcm7y.js";import"./index-KVsSPPSy.js";import"./index-CopjO70k.js";import"./text-DukdqSR_.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}=s(),{useFormInput:v,useFormTextarea:c,useFormCustom:f}=r(),{confirm:j}=a(),{handleError:_}=n(),x=o(Object.keys(e.node.config).length>0?e.node.config:{provider:"",provider_id:"",subject:"",body:""}),y=[v(t("t_0_1745920566646"),"subject",{placeholder:t("t_3_1745887835089")}),c(t("t_1_1745920567200"),"body",{placeholder:t("t_4_1745887835265"),rows:4}),f((()=>i(p,{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}=d({defaultValue:x,config:y,rules:l});return j((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};
|
||||
import{d as e,r as o,x as r,$ as t,e as i,G as d,H as a}from"./main-DOVIGS6h.js";import{u as s}from"./index-DbNsGVer.js";import{u as n}from"./index-CMbFiwwa.js";import{N as p}from"./index-CfUYWsgk.js";import{r as l}from"./verify-C_zi2gIN.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./useStore-DJUuxybP.js";import"./useStore-CS_RrGuA.js";import"./setting-B00oi6ED.js";import"./index-CokCP7d-.js";import"./index-BXyMoOoy.js";import"./text-DNFAlJW_.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}=s(),{useFormInput:v,useFormTextarea:c,useFormCustom:f}=r(),{confirm:j}=a(),{handleError:_}=n(),x=o(Object.keys(e.node.config).length>0?e.node.config:{provider:"",provider_id:"",subject:"",body:""}),y=[v(t("t_0_1745920566646"),"subject",{placeholder:t("t_3_1745887835089")}),c(t("t_1_1745920567200"),"body",{placeholder:t("t_4_1745887835265"),rows:4}),f((()=>i(p,{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}=d({defaultValue:x,config:y,rules:l});return j((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};
|
|
@ -1 +1 @@
|
|||
import{d as e,bY as a,x as o,$ as r,G as t,H as s,e as d}from"./main-Fcjzy_wF.js";import{u as i}from"./index-DG5JwjjR.js";import{u as l}from"./index-BzaYP_dt.js";import{r as n}from"./verify-CqyHW22e.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./useStore-HZZS0aMU.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};
|
||||
import{d as e,bY as a,x as o,$ as r,G as t,H as s,e as d}from"./main-DOVIGS6h.js";import{u as i}from"./index-DbNsGVer.js";import{u as l}from"./index-CMbFiwwa.js";import{r as n}from"./verify-Do1-yRQm.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./useStore-DJUuxybP.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
|
@ -1 +1 @@
|
|||
import{d as e,r as a,w as l,x as t,$ as r,e as o,y as s,B as d,z as i,bM as n,F as p,G as u,I as v,H as m,k as c}from"./main-Fcjzy_wF.js";import{u as _}from"./index-DG5JwjjR.js";import{u as f}from"./index-BzaYP_dt.js";import{b as y}from"./access-BN9qtvTy.js";import{r as x}from"./verify-plaJO6Vf.js";import{S as b}from"./index-C782_Rj1.js";import{N as h}from"./text-DukdqSR_.js";import"./test-D61Aaakq.js";import"./useStore-HZZS0aMU.js";import"./business-NkigeWWm.js";function j(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!c(e)}const g=e({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e){const{updateNodeConfig:c,isRefreshNode:g}=_(),{confirm:w}=m(),{useFormInput:k}=t(),{handleError:N}=f(),O=a([]),S=a(Object.keys(e.node.config).length>0?e.node.config:{domains:"",email:"",provider_id:-1,provider:"",end_day:30}),z=l((()=>[k(r("t_17_1745227838561"),"domains",{placeholder:r("t_0_1745735774005")}),k(r("t_1_1745735764953"),"email",{placeholder:r("t_2_1745735773668")}),{type:"custom",render:()=>{let e,a;return o(i,{label:r("t_3_1745735765112"),path:"provider_id"},{default:()=>[o("div",{class:"flex items-center"},[o(s,{class:"w-[240px] mr-[1.6rem]",options:O.value,renderLabel:$,renderTag:U,filterable:!0,placeholder:r("t_3_1745490735059"),value:S.value.provider_id,"onUpdate:value":e=>S.value.provider_id=e,onUpdateValue:e=>{var a;S.value.provider_id=e,S.value.provider=(null==(a=O.value.find((a=>a.value===e)))?void 0:a.type)||""}},{empty:()=>o("span",{class:"text-[1.4rem] text-gray-400"},[r("t_0_1746004861782")])}),o(d,{class:"mx-[8px]",onClick:I},j(e=r("t_1_1746004861166"))?e:{default:()=>[e]}),o(d,{onClick:C},j(a=r("t_0_1746497662220"))?a:{default:()=>[a]})])]})}},{type:"custom",render:()=>o(i,{label:r("t_5_1745735769112"),path:"end_day"},{default:()=>[o(n,{value:S.value.end_day,"onUpdate:value":e=>S.value.end_day=e,showButton:!1,min:1,class:"w-[180px]",placeholder:r("t_6_1745735765205")},null),o("span",{class:"text-[1.4rem] ml-[1.2rem]"},[r("t_7_1745735768326")])]})}])),C=async()=>{var e,a;try{const{data:l}=await y({type:"dns"}).fetch();O.value=(null==l?void 0:l.map((e=>({type:e.type,label:e.name,value:e.id}))))||[],-1!==S.value.provider_id?S.value.provider=(null==(e=O.value.find((e=>e.value===S.value.provider_id)))?void 0:e.type)||"":-1===S.value.provider_id&&O.value.length>0?S.value.provider_id=(null==(a=O.value[0])?void 0:a.value)||-1:S.value.provider_id=""}catch(l){O.value=[],N(l)}},I=()=>{window.open("/auth-api-manage","_blank")},U=({option:e})=>o("div",{class:"flex items-center"},[e.label?o(p,null,[o(b,{iconName:`resources-${e.type}`,size:"2rem"},null),o("div",{class:"ml-[.8rem] p-[4px_0]"},[o(h,null,{default:()=>[e.label]})])]):o("span",{class:"text-[1.4rem] text-gray-400"},[r("t_3_1745490735059")])]),$=e=>o("div",{style:{display:"flex",alignItems:"center"}},[o(b,{iconName:`resources-${e.type}`,size:"2rem"},null),o("div",{class:"ml-[.8rem] p-[4px_0]"},[o(h,null,{default:()=>[e.label]})])]),{component:B,data:F,example:V}=u({defaultValue:S,config:z,rules:x});return v((()=>{C()})),w((async a=>{var l;try{await(null==(l=V.value)?void 0:l.validate()),c(e.node.id,F.value),g.value=e.node.id,a()}catch(t){}})),()=>o("div",{class:"apply-node-drawer"},[o(B,{labelPlacement:"top"},null)])}});export{g as default};
|
||||
import{d as e,r as a,w as l,x as t,$ as r,e as o,y as s,B as d,z as i,bM as n,F as p,G as u,I as v,H as m,k as c}from"./main-DOVIGS6h.js";import{u as _}from"./index-DbNsGVer.js";import{u as f}from"./index-CMbFiwwa.js";import{b as y}from"./access-PIazReFW.js";import{r as x}from"./verify-al39GNG2.js";import{S as b}from"./index-D4cPy4H-.js";import{N as h}from"./text-DNFAlJW_.js";import"./test-CvjPVGrt.js";import"./useStore-DJUuxybP.js";import"./business-Nash29bx.js";function j(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!c(e)}const g=e({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e){const{updateNodeConfig:c,isRefreshNode:g}=_(),{confirm:w}=m(),{useFormInput:k}=t(),{handleError:N}=f(),O=a([]),z=a(Object.keys(e.node.config).length>0?e.node.config:{domains:"",email:"",provider_id:-1,provider:"",end_day:30}),C=l((()=>[k(r("t_17_1745227838561"),"domains",{placeholder:r("t_0_1745735774005")}),k(r("t_1_1745735764953"),"email",{placeholder:r("t_2_1745735773668")}),{type:"custom",render:()=>{let e,a;return o(i,{label:r("t_3_1745735765112"),path:"provider_id"},{default:()=>[o("div",{class:"flex items-center"},[o(s,{class:"w-[240px] mr-[1.6rem]",options:O.value,renderLabel:$,renderTag:U,filterable:!0,placeholder:r("t_3_1745490735059"),value:z.value.provider_id,"onUpdate:value":e=>z.value.provider_id=e,onUpdateValue:e=>{var a;z.value.provider_id=e,z.value.provider=(null==(a=O.value.find((a=>a.value===e)))?void 0:a.type)||""}},{empty:()=>o("span",{class:"text-[1.4rem] text-gray-400"},[r("t_0_1746004861782")])}),o(d,{class:"mx-[8px]",onClick:S},j(e=r("t_1_1746004861166"))?e:{default:()=>[e]}),o(d,{onClick:I},j(a=r("t_0_1746497662220"))?a:{default:()=>[a]})])]})}},{type:"custom",render:()=>o(i,{label:r("t_5_1745735769112"),path:"end_day"},{default:()=>[o(n,{value:z.value.end_day,"onUpdate:value":e=>z.value.end_day=e,showButton:!1,min:1,class:"w-[180px]",placeholder:r("t_6_1745735765205")},null),o("span",{class:"text-[1.4rem] ml-[1.2rem]"},[r("t_7_1745735768326")])]})}])),I=async()=>{var e,a;try{const{data:l}=await y({type:"dns"}).fetch();O.value=(null==l?void 0:l.map((e=>({type:e.type,label:e.name,value:e.id}))))||[],-1!==z.value.provider_id?z.value.provider=(null==(e=O.value.find((e=>e.value===z.value.provider_id)))?void 0:e.type)||"":-1===z.value.provider_id&&O.value.length>0?z.value.provider_id=(null==(a=O.value[0])?void 0:a.value)||-1:z.value.provider_id=""}catch(l){O.value=[],N(l)}},S=()=>{window.open("/auth-api-manage","_blank")},U=({option:e})=>o("div",{class:"flex items-center"},[e.label?o(p,null,[o(b,{iconName:`resources-${e.type}`,size:"2rem"},null),o("div",{class:"ml-[.8rem] p-[4px_0]"},[o(h,null,{default:()=>[e.label]})])]):o("span",{class:"text-[1.4rem] text-gray-400"},[r("t_3_1745490735059")])]),$=e=>o("div",{style:{display:"flex",alignItems:"center"}},[o(b,{iconName:`resources-${e.type}`,size:"2rem"},null),o("div",{class:"ml-[.8rem] p-[4px_0]"},[o(h,null,{default:()=>[e.label]})])]),{component:B,data:F,example:T}=u({defaultValue:z,config:C,rules:x});return v((()=>{I()})),w((async a=>{var l;try{await(null==(l=T.value)?void 0:l.validate()),c(e.node.id,F.value),g.value=e.node.id,a()}catch(t){}})),()=>o("div",{class:"apply-node-drawer"},[o(B,{labelPlacement:"top"},null)])}});export{g 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
|
@ -1 +1 @@
|
|||
import{bu as t,b$ as e,bU 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-Fcjzy_wF.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};
|
||||
import{bu as t,b$ as e,bU 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-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{u as e,a as o}from"./index-DG5JwjjR.js";import{d as i,i as s,w as a,e as r,$ as t,E as n,aO as d}from"./main-Fcjzy_wF.js";import{A as l}from"./index-B_diYAph.js";import{r as p}from"./verify-BVvx1WMa.js";import{u as m}from"./index-CopjO70k.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./index-BzaYP_dt.js";import"./useStore-HZZS0aMU.js";import"./business-NkigeWWm.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};
|
||||
import{u as e,a as o}from"./index-DbNsGVer.js";import{d as i,i as s,w as a,e as r,$ as t,E as n,aO as d}from"./main-DOVIGS6h.js";import{A as l}from"./index-DN2PTtsM.js";import{r as p}from"./verify-p04Tgg8q.js";import{u as m}from"./index-BXyMoOoy.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./index-CMbFiwwa.js";import"./useStore-DJUuxybP.js";import"./business-Nash29bx.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};
|
|
@ -1 +1 @@
|
|||
import{d as e,c as l,o as s,a as t,e as r}from"./main-Fcjzy_wF.js";const f={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},n=e({name:"PlusOutlined",render:function(e,r){return s(),l("svg",f,r[0]||(r[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)]))}}),o=e({name:"BaseComponent",setup(e,{slots:l}){const s=l["header-left"]||l.headerLeft,t=l["header-right"]||l.headerRight,f=l.header||l.header,n=l["footer-left"]||l.footerLeft,o=l["footer-right"]||l.footerRight,a=l.footer||l.footer;return()=>r("div",{class:"flex flex-col"},[(s||t)&&r("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[r("div",{class:"flex flex-shrink-0"},[s&&s()]),r("div",{class:"flex flex-shrink-0"},[t&&t()])]),f&&r("div",{class:"flex justify-between flex-wrap w-full"},[f&&f()]),r("div",{class:`w-full content ${s||t?"mt-[1.2rem]":""} ${n||o?"mb-[1.2rem]":""}`},[l.content&&l.content()]),(n||o)&&r("div",{class:"flex justify-between"},[r("div",{class:"flex flex-shrink-0"},[n&&n()]),r("div",{class:"flex flex-shrink-0"},[o&&o()])]),a&&r("div",{class:"flex justify-between w-full"},[a()]),l.popup&&l.popup()])}});export{o as B,n as P};
|
||||
import{d as e,c as l,o as s,a as t,e as r}from"./main-DOVIGS6h.js";const f={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},n=e({name:"PlusOutlined",render:function(e,r){return s(),l("svg",f,r[0]||(r[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)]))}}),o=e({name:"BaseComponent",setup(e,{slots:l}){const s=l["header-left"]||l.headerLeft,t=l["header-right"]||l.headerRight,f=l.header||l.header,n=l["footer-left"]||l.footerLeft,o=l["footer-right"]||l.footerRight,a=l.footer||l.footer;return()=>r("div",{class:"flex flex-col"},[(s||t)&&r("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[r("div",{class:"flex flex-shrink-0"},[s&&s()]),r("div",{class:"flex flex-shrink-0"},[t&&t()])]),f&&r("div",{class:"flex justify-between flex-wrap w-full"},[f&&f()]),r("div",{class:`w-full content ${s||t?"mt-[1.2rem]":""} ${n||o?"mb-[1.2rem]":""}`},[l.content&&l.content()]),(n||o)&&r("div",{class:"flex justify-between"},[r("div",{class:"flex flex-shrink-0"},[n&&n()]),r("div",{class:"flex flex-shrink-0"},[o&&o()])]),a&&r("div",{class:"flex justify-between w-full"},[a()]),l.popup&&l.popup()])}});export{o as B,n as P};
|
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
|
@ -1 +1 @@
|
|||
import{u as a,a as e}from"./index-DG5JwjjR.js";import{r as o}from"./verify-CqyHW22e.js";import{d as r,i,w as s,E as t,aO as d,e as l}from"./main-Fcjzy_wF.js";import{u as n}from"./index-CopjO70k.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./index-BzaYP_dt.js";import"./useStore-HZZS0aMU.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};
|
||||
import{u as a,a as e}from"./index-DbNsGVer.js";import{r as o}from"./verify-Do1-yRQm.js";import{d as r,i,w as s,E as t,aO as d,e as l}from"./main-DOVIGS6h.js";import{u as n}from"./index-BXyMoOoy.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./index-CMbFiwwa.js";import"./useStore-DJUuxybP.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};
|
|
@ -1 +1 @@
|
|||
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-Fcjzy_wF.js";import{u as d}from"./useStore-2btmTDHW.js";import{S as f}from"./index-C782_Rj1.js";import{N as m}from"./text-DukdqSR_.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};
|
||||
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-DOVIGS6h.js";import{u as d}from"./useStore-CS_RrGuA.js";import{S as f}from"./index-D4cPy4H-.js";import{N as m}from"./text-DNFAlJW_.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};
|
|
@ -1 +1 @@
|
|||
import{i as e,w as t,t as n,a as r,b as a,c as o,d as l}from"./index-CopjO70k.js";import{bu as i,r as u,w as s,bU as f,E as c,aw as d,bV as v}from"./main-Fcjzy_wF.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:k,resume:F}=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){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(F):F()}}}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};
|
||||
import{i as e,w as t,t as n,a as r,b as a,c as o,d as l}from"./index-BXyMoOoy.js";import{bu as i,r as u,w as s,bU as f,E as c,aw as d,bV as v}from"./main-DOVIGS6h.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:k,resume:F}=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){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(F):F()}}}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};
|
|
@ -1 +1 @@
|
|||
import{u as e,a}from"./index-DG5JwjjR.js";import{d as o,i as r,w as i,$ as t,E as s,aO as d,e as n}from"./main-Fcjzy_wF.js";import{r as l}from"./verify-BL1Hofgq.js";import{u as m}from"./index-CopjO70k.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./index-BzaYP_dt.js";import"./useStore-HZZS0aMU.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};
|
||||
import{u as e,a}from"./index-DbNsGVer.js";import{d as o,i as r,w as i,$ as t,E as s,aO as d,e as n}from"./main-DOVIGS6h.js";import{r as l}from"./verify-CBP-Sgbr.js";import{u as m}from"./index-BXyMoOoy.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./index-CMbFiwwa.js";import"./useStore-DJUuxybP.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};
|
|
@ -1 +1 @@
|
|||
import{d as o,i as e,w as i,e as r,$ as a,E as s,aO as t}from"./main-Fcjzy_wF.js";import{u as d,a as n}from"./index-DG5JwjjR.js";import{r as l}from"./verify-B512YF0m.js";import{A as p}from"./index-B_diYAph.js";import{u as m}from"./index-CopjO70k.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./index-BzaYP_dt.js";import"./useStore-HZZS0aMU.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,i as e,w as i,e as r,$ as a,E as s,aO as t}from"./main-DOVIGS6h.js";import{u as d,a as n}from"./index-DbNsGVer.js";import{r as l}from"./verify-C_zi2gIN.js";import{A as p}from"./index-DN2PTtsM.js";import{u as m}from"./index-BXyMoOoy.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./index-CMbFiwwa.js";import"./useStore-DJUuxybP.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};
|
|
@ -1 +1 @@
|
|||
import{d as e,w as i,e as a}from"./main-Fcjzy_wF.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};
|
||||
import{d as e,w as i,e as a}from"./main-DOVIGS6h.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
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{S as e}from"./index-C782_Rj1.js";import{d as n,w as t,E as a,e as o,R as l}from"./main-Fcjzy_wF.js";const s={ssh:"SSH",aliyun:"阿里云",tencentcloud:"腾讯云",btpanel:"宝塔面板","1panel":"1Panel",mail:"邮件",dingtalk:"钉钉",wecom:"企业微信",feishu:"飞书",webhook:"WebHook","tencentcloud-cdn":"腾讯云CDN"},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"}[n.icon]||"default"))),i=t((()=>s[n.icon]||n.icon));return a((()=>n.icon),(e=>{})),a((()=>n.type),(e=>{})),()=>o(l,{bordered:!1,class:"cursor-pointer",type:n.type},{default:()=>[o("span",{class:"text-[12px] color-[#333]"},[n.text&&o("span",null,[i.value])])],avatar:()=>o(e,{iconName:c.value,size:"1.6rem",class:"mr-0"},null)})}});export{c as A};
|
||||
import{S as e}from"./index-D4cPy4H-.js";import{d as n,w as t,E as a,e as o,R as l}from"./main-DOVIGS6h.js";const s={ssh:"SSH",aliyun:"阿里云",tencentcloud:"腾讯云",btpanel:"宝塔面板","1panel":"1Panel",mail:"邮件",dingtalk:"钉钉",wecom:"企业微信",feishu:"飞书",webhook:"WebHook","tencentcloud-cdn":"腾讯云CDN"},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"}[n.icon]||"default"))),i=t((()=>s[n.icon]||n.icon));return a((()=>n.icon),(e=>{})),a((()=>n.type),(e=>{})),()=>o(l,{bordered:!1,class:"cursor-pointer",type:n.type},{default:()=>[o("span",{class:"text-[12px] color-[#333]"},[n.text&&o("span",null,[i.value])])],avatar:()=>o(e,{iconName:c.value,size:"1.6rem",class:"mr-0"},null)})}});export{c as A};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{u as e,a as o}from"./index-DG5JwjjR.js";import{d as a,i,w as r,E as s,aO as t,e as n,$ as d}from"./main-Fcjzy_wF.js";import{r as l}from"./verify-plaJO6Vf.js";import{u as m}from"./index-CopjO70k.js";import"./index-C782_Rj1.js";import"./test-D61Aaakq.js";import"./index-BzaYP_dt.js";import"./useStore-HZZS0aMU.js";import"./business-NkigeWWm.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};
|
||||
import{u as e,a as o}from"./index-DbNsGVer.js";import{d as a,i,w as r,E as s,aO as t,e as n,$ as d}from"./main-DOVIGS6h.js";import{r as l}from"./verify-al39GNG2.js";import{u as m}from"./index-BXyMoOoy.js";import"./index-D4cPy4H-.js";import"./test-CvjPVGrt.js";import"./index-CMbFiwwa.js";import"./useStore-DJUuxybP.js";import"./business-Nash29bx.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};
|
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{c as o,d as s}from"./index-BzaYP_dt.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-CMbFiwwa.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
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{c as t}from"./index-BzaYP_dt.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/get_list",e);export{p as a,s as b,a as d,e as g,r as s,o as u};
|
||||
import{c as t}from"./index-CMbFiwwa.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/get_list",e);export{p as a,s as b,a as d,e as g,r as s,o as u};
|
|
@ -1 +1 @@
|
|||
import{bl as t,be as e,bo as r,bx as n,by as u,bz as o,bA as i,bB as c,bk as a}from"./main-Fcjzy_wF.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,bx as n,by as u,bz as o,bA as i,bB as c,bk as a}from"./main-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{Y as e,Z as o,d as t,J as n,_ as r,K as s,bW as i,w as a,aI as l,a2 as d,ap as c}from"./main-Fcjzy_wF.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};
|
||||
import{Y as e,Z as o,d as t,J as n,_ as r,K as s,bW as i,w as a,aI as l,a2 as d,ap as c}from"./main-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{u as e}from"./index-BzaYP_dt.js";import{a}from"./setting-DDVYcm7y.js";import{m as t,s as o,r as l,w as n}from"./main-Fcjzy_wF.js";import{u as r}from"./index-KVsSPPSy.js";const s=t("layout-store",(()=>{const{handleError:t}=e(),o=r("layout-collapsed",!1),s=l([]),i=r("menu-active","home"),u=n((()=>"home"!==i.value?"var(--n-content-padding)":"0"));return{locales:r("locales-active","zhCN"),notifyProvider:s,isCollapsed:o,layoutPadding:u,menuActive:i,resetDataInfo:()=>{i.value="home",localStorage.removeItem("menu-active")},updateMenuActive:e=>{"logout"!==e&&(i.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();s.value=[],s.value=null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type})))}catch(e){t(e)}}}})),i=()=>{const e=s();return{...e,...o(e)}};export{i as u};
|
||||
import{u as e}from"./index-CMbFiwwa.js";import{a}from"./setting-B00oi6ED.js";import{m as t,s as o,r as l,w as n}from"./main-DOVIGS6h.js";import{u as r}from"./index-CokCP7d-.js";const s=t("layout-store",(()=>{const{handleError:t}=e(),o=r("layout-collapsed",!1),s=l([]),i=r("menu-active","home"),u=n((()=>"home"!==i.value?"var(--n-content-padding)":"0"));return{locales:r("locales-active","zhCN"),notifyProvider:s,isCollapsed:o,layoutPadding:u,menuActive:i,resetDataInfo:()=>{i.value="home",localStorage.removeItem("menu-active")},updateMenuActive:e=>{"logout"!==e&&(i.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();s.value=[],s.value=null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type})))}catch(e){t(e)}}}})),i=()=>{const e=s();return{...e,...o(e)}};export{i as u};
|
|
@ -1 +1 @@
|
|||
import{c as e,u as a}from"./index-BzaYP_dt.js";import{m as o,s as t,r as l,$ as r}from"./main-Fcjzy_wF.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};
|
||||
import{c as e,u as a}from"./index-CMbFiwwa.js";import{m as o,s as t,r as l,$ as r}from"./main-DOVIGS6h.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};
|
|
@ -1 +0,0 @@
|
|||
import{$ as e}from"./main-Fcjzy_wF.js";import{N as r}from"./business-NkigeWWm.js";const i={provider:{required:!0,message:e("t_19_1745735766810"),type:"string",trigger:"change"},provider_id:{required:!0,trigger:"change",validator:(r,i)=>{if(i<0)return new Error(e("t_1_1745744905566"))}},"inputs.fromNodeId":{required:!0,message:e("t_3_1745748298161"),trigger:"change"},certPath:{required:!0,message:e("请输入证书文件路径"),trigger:"input"},keyPath:{required:!0,message:e("请输入私钥文件路径"),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};
|
|
@ -1 +1 @@
|
|||
import{$ as e}from"./main-Fcjzy_wF.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-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{$ as r}from"./main-Fcjzy_wF.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",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-DOVIGS6h.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",validator:(e,t)=>new Promise(((e,o)=>{t?e():o(new Error(r("t_0_1745887835267")))}))}};export{e as r};
|
|
@ -1 +1 @@
|
|||
import{$ as r}from"./main-Fcjzy_wF.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};
|
||||
import{$ as r}from"./main-DOVIGS6h.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};
|
|
@ -1 +1 @@
|
|||
import{w as r,W as e}from"./business-NkigeWWm.js";import{$ as i}from"./main-Fcjzy_wF.js";const t={domains:{required:!0,trigger:"input",validator:(r,t)=>new Promise(((r,o)=>{e(t)?r():o(new Error(i("t_0_1745553910661")))}))},email:{required:!0,trigger:"input",validator:(e,t)=>new Promise(((e,o)=>{r(t)?e():o(new Error(i("t_1_1745553909483")))}))},provider_id:{required:!0,message:i("t_3_1745490735059"),trigger:"change",type:"number"},end_day:{required:!0,trigger:"input",validator:(r,e)=>new Promise(((r,t)=>{e?r():t(new Error(i("t_2_1745553907423")))}))}};export{t as r};
|
||||
import{w as r,W as e}from"./business-Nash29bx.js";import{$ as i}from"./main-DOVIGS6h.js";const t={domains:{required:!0,trigger:"input",validator:(r,t)=>new Promise(((r,o)=>{e(t)?r():o(new Error(i("t_0_1745553910661")))}))},email:{required:!0,trigger:"input",validator:(e,t)=>new Promise(((e,o)=>{r(t)?e():o(new Error(i("t_1_1745553909483")))}))},provider_id:{required:!0,message:i("t_3_1745490735059"),trigger:"change",type:"number"},end_day:{required:!0,trigger:"input",validator:(r,e)=>new Promise(((r,t)=>{e?r():t(new Error(i("t_2_1745553907423")))}))}};export{t as r};
|
|
@ -0,0 +1 @@
|
|||
import{$ as e}from"./main-DOVIGS6h.js";import{N as r}from"./business-Nash29bx.js";const i={provider:{required:!0,message:e("t_19_1745735766810"),type:"string",trigger:"change"},provider_id:{required:!0,trigger:"change",validator:(r,i)=>{if(i<0)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};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue