@whyour/qinglong 2.21.0-11 → 2.21.0-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/dist/index.html +2 -2
- package/static/dist/{preload_helper.3048fe5b.js → preload_helper.5fb41cf7.js} +1 -1
- package/static/dist/src__pages__dashboard__index.52ea0532.async.js +1 -0
- package/static/dist/{umi.a54a59f6.js → umi.1e3916ff.js} +1 -1
- package/static/dist/src__pages__dashboard__index.58177357.async.js +0 -1
package/package.json
CHANGED
package/static/dist/index.html
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
<link rel="shortcut icon" href="https://qn.whyour.cn/favicon.svg">
|
|
8
8
|
<link rel="stylesheet" href="./umi.a4d14b92.css">
|
|
9
9
|
<script src="./api/env.js"></script>
|
|
10
|
-
<script src="./preload_helper.
|
|
10
|
+
<script src="./preload_helper.5fb41cf7.js"></script>
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
|
14
|
-
<script src="./umi.
|
|
14
|
+
<script src="./umi.1e3916ff.js"></script>
|
|
15
15
|
</body>
|
|
16
16
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@whyour/qinglong","b":"webpack","f":[["src__pages__subscription__modal.562448e2.async.js",73],["119.89e2d610.async.js",119],["134.54df9e38.async.js",134],["src__pages__setting__about.e6db5090.chunk.css",154],["src__pages__setting__about.3d3c019f.async.js",154],["src__pages__env__modal.e1234834.async.js",222],["255.8a80b983.async.js",255],["src__pages__crontab__viewManageModal.0e317746.async.js",349],["src__pages__script__setting.1a82c6d7.async.js",440],["540.19ddf020.async.js",540],["src__pages__subscription__logModal.3864b37f.async.js",578],["src__pages__dashboard__index.58177357.async.js",635],["691.187a388c.async.js",691],["src__pages__dependence__modal.f7bb47ba.async.js",803],["1147.62793604.async.js",1147],["1352.96a77e1d.async.js",1352],["1379.f91563a1.async.js",1379],["src__pages__dependence__logModal.0681830b.async.js",1406],["src__pages__initialization__index.66819338.chunk.css",1554],["src__pages__initialization__index.22620a77.async.js",1554],["1571.94ddca13.async.js",1571],["layouts__index.adf0692f.chunk.css",1717],["layouts__index.a7a2bfe0.async.js",1717],["1765.5ac01a93.async.js",1765],["1836.f0b74cf1.async.js",1836],["1883.675b6a18.chunk.css",1883],["1885.e1ea09f6.async.js",1885],["1967.3f3945d0.async.js",1967],["2096.6d98fd12.async.js",2096],["2208.85285476.async.js",2208],["2286.f371c743.async.js",2286],["src__pages__setting__appModal.43b7758a.async.js",2313],["2325.dfa32834.async.js",2325],["2338.d678967d.async.js",2338],["src__pages__setting__index.7cf46d4a.chunk.css",2340],["src__pages__setting__index.7e070838.async.js",2340],["2808.cdc0995c.async.js",2808],["2821.651f31e5.async.js",2821],["2890.9e373f5b.async.js",2890],["src__pages__script__components__UnsupportedFilePreview__index.d50aeff1.chunk.css",2892],["src__pages__script__components__UnsupportedFilePreview__index.c347a13a.async.js",2892],["3191.545ab873.async.js",3191],["src__pages__error__index.b047bb77.chunk.css",3217],["src__pages__error__index.dedb2b90.async.js",3217],["src__pages__crontab__logModal.831d5e4b.async.js",3249],["src__pages__setting__progress.8823ac90.async.js",3308],["3382.a584a111.async.js",3382],["3383.041eee73.async.js",3383],["3390.fb4b6851.async.js",3390],["3481.333c2962.async.js",3481],["3600.7637c822.async.js",3600],["src__pages__setting__checkUpdate.34d773f2.async.js",3830],["src__pages__env__editNameModal.48715576.async.js",4216],["src__pages__crontab__viewCreateModal.4d589f66.async.js",4453],["src__pages__crontab__index.5bbea517.chunk.css",4473],["src__pages__crontab__index.68e78a33.async.js",4473],["src__pages__crontab__const.aba07deb.async.js",4555],["src__pages__404.771168fc.async.js",4650],["4859.1b962b29.chunk.css",4859],["4859.6592cebb.async.js",4859],["4902.555f92ab.async.js",4902],["4934.f3539d08.async.js",4934],["5077.cbd111cd.async.js",5077],["5481.624d0e07.async.js",5481],["5520.ff2cfd6b.async.js",5520],["src__pages__setting__security.7c80dd0f.chunk.css",5530],["src__pages__setting__security.b7235753.async.js",5530],["src__pages__script__editModal.cbf4ec0e.async.js",5586],["src__pages__setting__loginLog.cea6056c.async.js",5722],["src__pages__crontab__type.d7af36e5.async.js",5812],["src__pages__config__index.a22ff7dc.async.js",5825],["5970.d3a6e7bd.async.js",5970],["6013.4e38de36.async.js",6013],["6016.1e6574b6.async.js",6016],["6035.32ebfad9.async.js",6035],["6339.ab305e96.async.js",6339],["6341.673fb65c.async.js",6341],["src__pages__diff__index.16e53710.chunk.css",6401],["src__pages__diff__index.013b7c75.async.js",6401],["src__pages__setting__other.28ecea01.chunk.css",6465],["src__pages__setting__other.707cfafe.async.js",6465],["src__pages__script__index.60b6f827.chunk.css",6534],["src__pages__script__index.1fc20f22.async.js",6534],["6569.55177f6a.async.js",6569],["6646.95e92533.async.js",6646],["6707.801b886b.async.js",6707],["6872.42f939f1.async.js",6872],["src__pages__setting__dependence.28ecea01.chunk.css",6877],["src__pages__setting__dependence.9c04c79a.async.js",6877],["src__pages__script__editNameModal.532a3044.async.js",7158],["src__pages__setting__notification.bac481c2.async.js",7213],["src__pages__dependence__type.e48c5c88.async.js",7243],["7253.4b9bf133.async.js",7253],["7285.d561cf26.async.js",7285],["7355.f9f263d8.async.js",7355],["7384.1bb449d5.async.js",7384],["7508.3fffed15.chunk.css",7508],["7508.7dcee91c.async.js",7508],["7802.34255805.async.js",7802],["src__pages__subscription__index.4b5150de.chunk.css",7953],["src__pages__subscription__index.d0ab2abc.async.js",7953],["7984.594296a5.async.js",7984],["8060.8b699029.async.js",8060],["8078.8586c875.async.js",8078],["src__pages__env__index.77923857.chunk.css",8247],["src__pages__env__index.452cdc47.async.js",8247],["src__pages__crontab__modal.f7041c7c.async.js",8393],["src__pages__setting__systemLog.b81a8c1d.async.js",8490],["8495.d53e15ca.async.js",8495],["src__pages__script__saveModal.5ffed35f.async.js",8673],["8826.db34ad8d.async.js",8826],["src__pages__script__renameModal.5cdde919.async.js",9064],["9066.605168f8.async.js",9066],["9313.37acaf13.async.js",9313],["9323.a33f47da.async.js",9323],["src__pages__crontab__detail.b98f0084.async.js",9558],["9730.801665a3.async.js",9730],["9761.360a19d8.async.js",9761],["src__pages__log__index.9f2eae80.chunk.css",9818],["src__pages__log__index.9c66639f.async.js",9818],["src__pages__dependence__index.ef46db37.chunk.css",9914],["src__pages__dependence__index.b7bbc795.async.js",9914],["src__pages__login__index.d00b91e8.chunk.css",9939],["src__pages__login__index.8c813eb1.async.js",9939]],"r":{"/*":[6,12,23,37,49,50,57,71,1,14,16,20,21,22,25,47,48,75,95,103,112,113],"/":[1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/initialization":[6,12,18,19,23,33,37,49,71,72,73,93,113,1,14,16,20,21,22,25,47,48,50,75,95,103,112],"/subscription":[1,6,9,12,14,16,23,25,26,32,33,37,41,49,64,71,72,74,76,84,93,94,95,96,97,99,100,102,103,112,113,116,20,21,22,47,48,50,75],"/dependence":[1,6,9,12,23,25,26,32,33,37,49,64,71,72,74,76,92,93,94,95,96,97,98,102,103,110,112,113,116,120,121,14,16,20,21,22,47,48,50,75],"/dashboard":[1,2,6,9,11,12,14,16,23,25,26,32,37,38,49,64,71,72,74,76,93,94,95,96,97,102,108,112,113,20,21,22,47,48,50,75,103],"/crontab":[1,6,9,12,15,16,23,24,25,26,32,33,37,38,47,49,54,55,62,64,71,72,74,76,92,93,94,95,96,97,102,108,112,113,114,116,14,20,21,22,48,50,75,103],"/setting":[1,6,9,12,15,16,20,23,25,26,32,33,34,35,36,37,38,49,60,63,64,71,72,73,74,76,86,93,94,95,96,97,101,102,103,112,113,116,117,14,21,22,47,48,50,75],"/config":[1,6,14,16,23,25,26,27,36,37,47,49,61,70,72,74,95,96,97,113,20,21,22,48,50,75,103,112],"/script":[1,6,12,16,23,25,26,27,33,36,37,46,47,49,58,59,61,64,71,72,73,74,76,81,82,93,95,96,97,102,103,112,113,116,117,14,20,21,22,48,50,75],"/error":[6,12,23,37,42,43,71,113,1,14,16,20,21,22,25,47,48,49,50,75,95,103,112],"/login":[6,14,16,23,33,37,38,49,71,93,113,122,123,1,20,21,22,25,47,48,50,75,95,103,112],"/diff":[1,6,14,16,23,25,33,37,47,49,72,74,77,78,85,95,96,97,113,20,21,22,48,50,75,103,112],"/env":[1,6,9,12,16,23,25,26,32,33,37,49,62,64,71,72,73,74,76,92,93,94,95,96,97,104,105,112,113,114,116,117,14,20,21,22,47,48,50,75,103],"/log":[1,6,12,14,16,23,25,26,36,37,46,47,49,61,64,71,72,74,76,93,95,96,97,112,113,116,118,119,20,21,22,48,50,75,103],"/crontab/viewCreateModal":[6,15,23,29,33,37,49,53,64,71,72,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/crontab/viewManageModal":[1,6,7,9,12,15,23,26,29,32,33,37,49,64,71,72,76,92,93,94,95,112,113,116,14,16,20,21,22,25,47,48,50,75,103],"/subscription/logModal":[10,14,16,37,49,64,102,112,113,1,6,20,21,22,23,25,47,48,50,75,95,103],"/script/editNameModal":[6,23,26,28,33,37,49,61,64,71,72,73,89,93,112,113,116,117,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/notification":[6,23,33,37,49,71,72,90,93,113,1,14,16,20,21,22,25,47,48,50,75,95,103,112],"/dependence/logModal":[17,37,49,64,102,103,110,112,113,1,6,14,16,20,21,22,23,25,47,48,50,75,95],"/setting/checkUpdate":[14,16,37,38,49,51,64,102,103,112,113,1,6,20,21,22,23,25,47,48,50,75,95],"/script/renameModal":[6,23,33,37,49,64,71,93,111,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/dependence":[6,23,33,37,49,71,72,87,88,93,102,103,113,1,14,16,20,21,22,25,47,48,50,75,95,112],"/subscription/modal":[0,6,16,23,33,37,41,49,64,71,72,84,93,112,113,1,14,20,21,22,25,47,48,50,75,95,103],"/env/editNameModal":[6,23,33,37,49,52,64,71,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/systemLog":[6,15,36,37,49,63,107,113,1,14,16,20,21,22,23,25,47,48,50,75,95,103,112],"/crontab/logModal":[6,12,14,16,23,37,38,44,49,64,71,102,112,113,1,20,21,22,25,47,48,50,75,95,103],"/dependence/modal":[6,13,23,33,37,49,64,71,72,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/script/editModal":[6,14,16,23,26,33,37,46,47,48,49,61,64,67,71,72,93,102,103,112,113,1,20,21,22,25,50,75,95],"/script/saveModal":[6,23,33,37,49,64,71,93,109,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/appModal":[6,23,31,33,37,49,64,71,72,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/loginLog":[1,6,9,12,23,26,32,37,49,68,71,72,76,93,94,95,14,16,20,21,22,25,47,48,50,75,103,112,113],"/setting/progress":[37,45,49,64,73,112,1,6,14,16,20,21,22,23,25,47,48,50,75,95,103,113],"/setting/security":[6,12,23,33,37,49,64,65,66,71,73,93,101,112,113,116,117,1,14,16,20,21,22,25,47,48,50,75,95,103],"/dependence/type":[91,1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/crontab/detail":[6,12,14,16,23,32,37,38,47,49,64,71,72,74,83,95,102,112,113,115,1,20,21,22,25,48,50,75,103],"/script/setting":[6,8,23,33,37,49,64,71,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/crontab/const":[56,1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/crontab/modal":[6,16,23,30,33,37,49,64,71,72,93,106,112,113,114,1,14,20,21,22,25,47,48,50,75,95,103],"/setting/about":[3,4,6,12,23,37,71,1,14,16,20,21,22,25,47,48,49,50,75,95,103,112,113],"/setting/other":[6,9,14,16,20,23,33,37,38,49,64,71,72,73,79,80,84,86,93,102,103,112,113,116,117,1,21,22,25,47,48,50,75,95],"/crontab/type":[69,1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/env/modal":[5,6,23,30,33,37,49,64,71,93,112,113,114,1,14,16,20,21,22,25,47,48,50,75,95,103],"/script/components/UnsupportedFilePreview":[39,40,49,1,6,14,16,20,21,22,23,25,37,47,48,50,75,95,103,112,113]}},{publicPath:"./"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}();
|
|
1
|
+
!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@whyour/qinglong","b":"webpack","f":[["src__pages__subscription__modal.562448e2.async.js",73],["119.89e2d610.async.js",119],["134.54df9e38.async.js",134],["src__pages__setting__about.e6db5090.chunk.css",154],["src__pages__setting__about.3d3c019f.async.js",154],["src__pages__env__modal.e1234834.async.js",222],["255.8a80b983.async.js",255],["src__pages__crontab__viewManageModal.0e317746.async.js",349],["src__pages__script__setting.1a82c6d7.async.js",440],["540.19ddf020.async.js",540],["src__pages__subscription__logModal.3864b37f.async.js",578],["src__pages__dashboard__index.52ea0532.async.js",635],["691.187a388c.async.js",691],["src__pages__dependence__modal.f7bb47ba.async.js",803],["1147.62793604.async.js",1147],["1352.96a77e1d.async.js",1352],["1379.f91563a1.async.js",1379],["src__pages__dependence__logModal.0681830b.async.js",1406],["src__pages__initialization__index.66819338.chunk.css",1554],["src__pages__initialization__index.22620a77.async.js",1554],["1571.94ddca13.async.js",1571],["layouts__index.adf0692f.chunk.css",1717],["layouts__index.a7a2bfe0.async.js",1717],["1765.5ac01a93.async.js",1765],["1836.f0b74cf1.async.js",1836],["1883.675b6a18.chunk.css",1883],["1885.e1ea09f6.async.js",1885],["1967.3f3945d0.async.js",1967],["2096.6d98fd12.async.js",2096],["2208.85285476.async.js",2208],["2286.f371c743.async.js",2286],["src__pages__setting__appModal.43b7758a.async.js",2313],["2325.dfa32834.async.js",2325],["2338.d678967d.async.js",2338],["src__pages__setting__index.7cf46d4a.chunk.css",2340],["src__pages__setting__index.7e070838.async.js",2340],["2808.cdc0995c.async.js",2808],["2821.651f31e5.async.js",2821],["2890.9e373f5b.async.js",2890],["src__pages__script__components__UnsupportedFilePreview__index.d50aeff1.chunk.css",2892],["src__pages__script__components__UnsupportedFilePreview__index.c347a13a.async.js",2892],["3191.545ab873.async.js",3191],["src__pages__error__index.b047bb77.chunk.css",3217],["src__pages__error__index.dedb2b90.async.js",3217],["src__pages__crontab__logModal.831d5e4b.async.js",3249],["src__pages__setting__progress.8823ac90.async.js",3308],["3382.a584a111.async.js",3382],["3383.041eee73.async.js",3383],["3390.fb4b6851.async.js",3390],["3481.333c2962.async.js",3481],["3600.7637c822.async.js",3600],["src__pages__setting__checkUpdate.34d773f2.async.js",3830],["src__pages__env__editNameModal.48715576.async.js",4216],["src__pages__crontab__viewCreateModal.4d589f66.async.js",4453],["src__pages__crontab__index.5bbea517.chunk.css",4473],["src__pages__crontab__index.68e78a33.async.js",4473],["src__pages__crontab__const.aba07deb.async.js",4555],["src__pages__404.771168fc.async.js",4650],["4859.1b962b29.chunk.css",4859],["4859.6592cebb.async.js",4859],["4902.555f92ab.async.js",4902],["4934.f3539d08.async.js",4934],["5077.cbd111cd.async.js",5077],["5481.624d0e07.async.js",5481],["5520.ff2cfd6b.async.js",5520],["src__pages__setting__security.7c80dd0f.chunk.css",5530],["src__pages__setting__security.b7235753.async.js",5530],["src__pages__script__editModal.cbf4ec0e.async.js",5586],["src__pages__setting__loginLog.cea6056c.async.js",5722],["src__pages__crontab__type.d7af36e5.async.js",5812],["src__pages__config__index.a22ff7dc.async.js",5825],["5970.d3a6e7bd.async.js",5970],["6013.4e38de36.async.js",6013],["6016.1e6574b6.async.js",6016],["6035.32ebfad9.async.js",6035],["6339.ab305e96.async.js",6339],["6341.673fb65c.async.js",6341],["src__pages__diff__index.16e53710.chunk.css",6401],["src__pages__diff__index.013b7c75.async.js",6401],["src__pages__setting__other.28ecea01.chunk.css",6465],["src__pages__setting__other.707cfafe.async.js",6465],["src__pages__script__index.60b6f827.chunk.css",6534],["src__pages__script__index.1fc20f22.async.js",6534],["6569.55177f6a.async.js",6569],["6646.95e92533.async.js",6646],["6707.801b886b.async.js",6707],["6872.42f939f1.async.js",6872],["src__pages__setting__dependence.28ecea01.chunk.css",6877],["src__pages__setting__dependence.9c04c79a.async.js",6877],["src__pages__script__editNameModal.532a3044.async.js",7158],["src__pages__setting__notification.bac481c2.async.js",7213],["src__pages__dependence__type.e48c5c88.async.js",7243],["7253.4b9bf133.async.js",7253],["7285.d561cf26.async.js",7285],["7355.f9f263d8.async.js",7355],["7384.1bb449d5.async.js",7384],["7508.3fffed15.chunk.css",7508],["7508.7dcee91c.async.js",7508],["7802.34255805.async.js",7802],["src__pages__subscription__index.4b5150de.chunk.css",7953],["src__pages__subscription__index.d0ab2abc.async.js",7953],["7984.594296a5.async.js",7984],["8060.8b699029.async.js",8060],["8078.8586c875.async.js",8078],["src__pages__env__index.77923857.chunk.css",8247],["src__pages__env__index.452cdc47.async.js",8247],["src__pages__crontab__modal.f7041c7c.async.js",8393],["src__pages__setting__systemLog.b81a8c1d.async.js",8490],["8495.d53e15ca.async.js",8495],["src__pages__script__saveModal.5ffed35f.async.js",8673],["8826.db34ad8d.async.js",8826],["src__pages__script__renameModal.5cdde919.async.js",9064],["9066.605168f8.async.js",9066],["9313.37acaf13.async.js",9313],["9323.a33f47da.async.js",9323],["src__pages__crontab__detail.b98f0084.async.js",9558],["9730.801665a3.async.js",9730],["9761.360a19d8.async.js",9761],["src__pages__log__index.9f2eae80.chunk.css",9818],["src__pages__log__index.9c66639f.async.js",9818],["src__pages__dependence__index.ef46db37.chunk.css",9914],["src__pages__dependence__index.b7bbc795.async.js",9914],["src__pages__login__index.d00b91e8.chunk.css",9939],["src__pages__login__index.8c813eb1.async.js",9939]],"r":{"/*":[6,12,23,37,49,50,57,71,1,14,16,20,21,22,25,47,48,75,95,103,112,113],"/":[1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/initialization":[6,12,18,19,23,33,37,49,71,72,73,93,113,1,14,16,20,21,22,25,47,48,50,75,95,103,112],"/subscription":[1,6,9,12,14,16,23,25,26,32,33,37,41,49,64,71,72,74,76,84,93,94,95,96,97,99,100,102,103,112,113,116,20,21,22,47,48,50,75],"/dependence":[1,6,9,12,23,25,26,32,33,37,49,64,71,72,74,76,92,93,94,95,96,97,98,102,103,110,112,113,116,120,121,14,16,20,21,22,47,48,50,75],"/dashboard":[1,2,6,9,11,12,14,16,23,25,26,32,37,38,49,64,71,72,74,76,93,94,95,96,97,102,108,112,113,20,21,22,47,48,50,75,103],"/crontab":[1,6,9,12,15,16,23,24,25,26,32,33,37,38,47,49,54,55,62,64,71,72,74,76,92,93,94,95,96,97,102,108,112,113,114,116,14,20,21,22,48,50,75,103],"/setting":[1,6,9,12,15,16,20,23,25,26,32,33,34,35,36,37,38,49,60,63,64,71,72,73,74,76,86,93,94,95,96,97,101,102,103,112,113,116,117,14,21,22,47,48,50,75],"/config":[1,6,14,16,23,25,26,27,36,37,47,49,61,70,72,74,95,96,97,113,20,21,22,48,50,75,103,112],"/script":[1,6,12,16,23,25,26,27,33,36,37,46,47,49,58,59,61,64,71,72,73,74,76,81,82,93,95,96,97,102,103,112,113,116,117,14,20,21,22,48,50,75],"/error":[6,12,23,37,42,43,71,113,1,14,16,20,21,22,25,47,48,49,50,75,95,103,112],"/login":[6,14,16,23,33,37,38,49,71,93,113,122,123,1,20,21,22,25,47,48,50,75,95,103,112],"/diff":[1,6,14,16,23,25,33,37,47,49,72,74,77,78,85,95,96,97,113,20,21,22,48,50,75,103,112],"/env":[1,6,9,12,16,23,25,26,32,33,37,49,62,64,71,72,73,74,76,92,93,94,95,96,97,104,105,112,113,114,116,117,14,20,21,22,47,48,50,75,103],"/log":[1,6,12,14,16,23,25,26,36,37,46,47,49,61,64,71,72,74,76,93,95,96,97,112,113,116,118,119,20,21,22,48,50,75,103],"/crontab/viewCreateModal":[6,15,23,29,33,37,49,53,64,71,72,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/crontab/viewManageModal":[1,6,7,9,12,15,23,26,29,32,33,37,49,64,71,72,76,92,93,94,95,112,113,116,14,16,20,21,22,25,47,48,50,75,103],"/subscription/logModal":[10,14,16,37,49,64,102,112,113,1,6,20,21,22,23,25,47,48,50,75,95,103],"/script/editNameModal":[6,23,26,28,33,37,49,61,64,71,72,73,89,93,112,113,116,117,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/notification":[6,23,33,37,49,71,72,90,93,113,1,14,16,20,21,22,25,47,48,50,75,95,103,112],"/dependence/logModal":[17,37,49,64,102,103,110,112,113,1,6,14,16,20,21,22,23,25,47,48,50,75,95],"/setting/checkUpdate":[14,16,37,38,49,51,64,102,103,112,113,1,6,20,21,22,23,25,47,48,50,75,95],"/script/renameModal":[6,23,33,37,49,64,71,93,111,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/dependence":[6,23,33,37,49,71,72,87,88,93,102,103,113,1,14,16,20,21,22,25,47,48,50,75,95,112],"/subscription/modal":[0,6,16,23,33,37,41,49,64,71,72,84,93,112,113,1,14,20,21,22,25,47,48,50,75,95,103],"/env/editNameModal":[6,23,33,37,49,52,64,71,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/systemLog":[6,15,36,37,49,63,107,113,1,14,16,20,21,22,23,25,47,48,50,75,95,103,112],"/crontab/logModal":[6,12,14,16,23,37,38,44,49,64,71,102,112,113,1,20,21,22,25,47,48,50,75,95,103],"/dependence/modal":[6,13,23,33,37,49,64,71,72,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/script/editModal":[6,14,16,23,26,33,37,46,47,48,49,61,64,67,71,72,93,102,103,112,113,1,20,21,22,25,50,75,95],"/script/saveModal":[6,23,33,37,49,64,71,93,109,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/appModal":[6,23,31,33,37,49,64,71,72,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/setting/loginLog":[1,6,9,12,23,26,32,37,49,68,71,72,76,93,94,95,14,16,20,21,22,25,47,48,50,75,103,112,113],"/setting/progress":[37,45,49,64,73,112,1,6,14,16,20,21,22,23,25,47,48,50,75,95,103,113],"/setting/security":[6,12,23,33,37,49,64,65,66,71,73,93,101,112,113,116,117,1,14,16,20,21,22,25,47,48,50,75,95,103],"/dependence/type":[91,1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/crontab/detail":[6,12,14,16,23,32,37,38,47,49,64,71,72,74,83,95,102,112,113,115,1,20,21,22,25,48,50,75,103],"/script/setting":[6,8,23,33,37,49,64,71,93,112,113,1,14,16,20,21,22,25,47,48,50,75,95,103],"/crontab/const":[56,1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/crontab/modal":[6,16,23,30,33,37,49,64,71,72,93,106,112,113,114,1,14,20,21,22,25,47,48,50,75,95,103],"/setting/about":[3,4,6,12,23,37,71,1,14,16,20,21,22,25,47,48,49,50,75,95,103,112,113],"/setting/other":[6,9,14,16,20,23,33,37,38,49,64,71,72,73,79,80,84,86,93,102,103,112,113,116,117,1,21,22,25,47,48,50,75,95],"/crontab/type":[69,1,6,14,16,20,21,22,23,25,37,47,48,49,50,75,95,103,112,113],"/env/modal":[5,6,23,30,33,37,49,64,71,93,112,113,114,1,14,16,20,21,22,25,47,48,50,75,95,103],"/script/components/UnsupportedFilePreview":[39,40,49,1,6,14,16,20,21,22,23,25,37,47,48,50,75,95,103,112,113]}},{publicPath:"./"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[635],{63549:function(e,t,n){n.r(t);var l=n(48305),a=n.n(l),i=n(72317),s=n(75271),r=n(32890),o=n(50691),d=n(45520),c=n(93481),u=n(16314),x=n(3475),g=n(56958),Z=n(44084),f=n(34014),h=n(48916),m=n(78060),v=n.n(m),p=n(52676);r.Z.Countdown;t.default=function(e){var t=e.cron,n=e.handleCancel,l=e.data,r=e.logUrl,m=(0,s.useState)(i.ZP.get("启动中...")),j=a()(m,2),P=j[0],y=j[1],w=(0,s.useState)(!0),S=a()(w,2),T=S[0],z=S[1],I=(0,s.useState)(!0),b=a()(I,2),k=b[0],C=b[1],F=(0,s.useState)(!1),W=a()(F,2),R=W[0],q=W[1],K=(0,s.useRef)({value:0,down:!0}),M=r||String(null==t?void 0:t.id),E=function e(n){n&&z(!0),u.W.get(r||"".concat(x.Z.apiPrefix,"crons/").concat(t.id,"/log")).then((function(t){var n=t.code,l=t.data,a=t.logStatus;if(200===n&&localStorage.getItem("logCron")===M&&l!==P){var s=l||i.ZP.get("暂无日志");y(s);var r="running"===a;r||(0,h.x$)(P)||P===i.ZP.get("启动中...")||setTimeout((function(){N()})),C(r),r&&setTimeout((function(){N(),e()}),2e3)}})).finally((function(){n&&z(!1)}))},N=function(){K.current.down&&setTimeout((function(){var e;null===(e=document.querySelector("#log-flag"))||void 0===e||e.scrollIntoView({behavior:"smooth"})}),600)},U=function(){localStorage.removeItem("logCron"),n()};return(0,s.useEffect)((function(){t&&t.id&&E(!0)}),[t]),(0,s.useEffect)((function(){l&&y(l)}),[l]),(0,s.useEffect)((function(){q(document.body.clientWidth<768)}),[]),(0,p.jsx)(d.Z,{title:(0,p.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(k||T)&&(0,p.jsx)(g.Z,{spin:!0}),!k&&!T&&(0,p.jsx)(Z.Z,{}),(0,p.jsx)(o.Z.Text,{ellipsis:!0,style:{marginLeft:5},children:t&&t.name})]}),open:!0,centered:!0,className:"log-modal",forceRender:!0,onOk:function(){return U()},onCancel:function(){return U()},footer:[(0,p.jsx)(c.Z,{type:"primary",onClick:function(){return U()},children:i.ZP.get("知道了")})],children:(0,p.jsxs)("div",{onScroll:function(e){var t=e.target.scrollTop;K.current.down&&(K.current={value:t,down:t-K.current.value>-5||!t})},className:"log-container",children:[T?(0,p.jsx)(f.Z,{}):(0,p.jsx)("pre",{style:R?{fontFamily:"Source Code Pro",zoom:.83}:{},children:(0,p.jsx)(v(),{children:P})}),(0,p.jsx)("div",{id:"log-flag"})]})})}},15409:function(e,t,n){n.r(t);var l=n(26068),a=n.n(l),i=n(90228),s=n.n(i),r=n(87999),o=n.n(r),d=n(48305),c=n.n(d),u=n(75271),x=n(20553),g=n(75036),Z=n(91757),f=n(66633),h=n(32890),m=n(98705),v=n(10948),p=n(47667),j=n(25854),P=n(44084),y=n(25361),w=n(86935),S=n(15631),T=n(1704),z=n(47508),I=n(98783),b=n(91879),k=n(37902),C=n(72317),F=n(16314),W=n(3475),R=n(63549),q=n(52676),K=function(e){if(e<60)return"".concat(e,"s");if(e<3600)return"".concat(Math.floor(e/60),"m ").concat(e%60,"s");var t=Math.floor(e/3600),n=Math.floor(e%3600/60);return"".concat(t,"h ").concat(n,"m")};t.default=function(){var e,t=(0,I.useOutletContext)(),n=t.headerStyle,l="vs-dark"===t.theme,i=(0,u.useState)(null),r=c()(i,2),d=r[0],M=r[1],E=(0,u.useState)([]),N=c()(E,2),U=N[0],_=N[1],A=(0,u.useState)([]),H=c()(A,2),O=H[0],B=H[1],D=(0,u.useState)([]),L=c()(D,2),V=L[0],Y=L[1],$=(0,u.useState)(null),G=c()($,2),J=G[0],Q=G[1],X=(0,u.useState)(null),ee=c()(X,2),te=ee[0],ne=ee[1],le=(0,u.useState)([]),ae=c()(le,2),ie=ae[0],se=ae[1],re=(0,u.useState)(null),oe=c()(re,2),de=oe[0],ce=oe[1],ue=(0,u.useState)(!0),xe=c()(ue,2),ge=xe[0],Ze=xe[1],fe=(0,u.useCallback)(o()(s()().mark((function e(){var t,n,l,a,i,r,o,d,u;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.allSettled([F.W.get("".concat(W.Z.apiPrefix,"dashboard/overview")),F.W.get("".concat(W.Z.apiPrefix,"dashboard/trend")),F.W.get("".concat(W.Z.apiPrefix,"dashboard/top-time")),F.W.get("".concat(W.Z.apiPrefix,"dashboard/top-count")),F.W.get("".concat(W.Z.apiPrefix,"dashboard/runtime")),F.W.get("".concat(W.Z.apiPrefix,"dashboard/system")),F.W.get("".concat(W.Z.apiPrefix,"dashboard/labels"))]);case 3:t=e.sent,n=c()(t,7),l=n[0],a=n[1],i=n[2],r=n[3],o=n[4],d=n[5],u=n[6],"fulfilled"===l.status&&200===l.value.code&&M(l.value.data),"fulfilled"===a.status&&200===a.value.code&&_(a.value.data),"fulfilled"===i.status&&200===i.value.code&&B(i.value.data),"fulfilled"===r.status&&200===r.value.code&&Y(r.value.data),"fulfilled"===o.status&&200===o.value.code&&Q(o.value.data),"fulfilled"===d.status&&200===d.value.code&&ne(d.value.data),"fulfilled"===u.status&&200===u.value.code&&se(u.value.data),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(0),console.error("[dashboard] fetch error",e.t0);case 24:return e.prev=24,Ze(!1),e.finish(24);case 27:case"end":return e.stop()}}),e,null,[[0,21,24,27]])}))),[]);(0,u.useEffect)((function(){var e,t=function(){var n=o()(s()().mark((function n(){return s()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fe();case 2:e=setTimeout(t,3e4);case 3:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return fe(),e=setTimeout(t,3e4),function(){return clearTimeout(e)}}),[fe]);var he={data:U.flatMap((function(e){return[{date:e.date,value:e.total,type:C.ZP.get("总执行")},{date:e.date,value:e.success,type:C.ZP.get("成功")},{date:e.date,value:e.fail,type:C.ZP.get("失败")}]})),xField:"date",yField:"value",seriesField:"type",smooth:!0,height:260,color:["#1677ff","#52c41a","#ff4d4f"],legend:{position:"top"},theme:l?"dark":"light",xAxis:{label:{style:{fill:l?"#aaa":"#333"}}},yAxis:{label:{style:{fill:l?"#aaa":"#333"}},grid:{line:{style:{stroke:l?"#333":"#eee"}}}}};return ge?(0,q.jsx)(x.Z,{size:"large",style:{display:"block",marginTop:100}}):(0,q.jsxs)(z.ZP,{title:C.ZP.get("仪表盘"),header:{style:n},className:"ql-container-wrapper dashboard-wrapper",children:[(0,q.jsxs)(g.Z,{gutter:[16,16],children:[(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("总任务"),value:(null==d?void 0:d.total)||0,prefix:(0,q.jsx)(j.Z,{})})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("已启用"),value:(null==d?void 0:d.enabled)||0,valueStyle:{color:"#1677ff"},prefix:(0,q.jsx)(P.Z,{})})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("今日执行"),value:(null==d?void 0:d.todayRuns)||0,valueStyle:{color:"#1677ff"},prefix:(0,q.jsx)(y.Z,{})})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("成功率"),value:"".concat((null==d?void 0:d.successRate)||"0","%"),valueStyle:{color:"#52c41a"}})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("今日成功"),value:(null==d?void 0:d.todaySuccess)||0,valueStyle:{color:"#52c41a"},prefix:(0,q.jsx)(P.Z,{})})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("今日失败"),value:(null==d?void 0:d.todayFail)||0,valueStyle:{color:"#ff4d4f"},prefix:(0,q.jsx)(w.Z,{})})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("平均耗时"),value:null!=d&&d.avgTime?"".concat((d.avgTime/1e3).toFixed(1),"s"):"-",prefix:(0,q.jsx)(S.Z,{})})})}),(0,q.jsx)(Z.Z,{xs:12,sm:8,md:6,lg:3,children:(0,q.jsx)(f.Z,{size:"small",children:(0,q.jsx)(h.Z,{title:C.ZP.get("已禁用"),value:(null==d?void 0:d.disabled)||0,prefix:(0,q.jsx)(T.Z,{})})})})]}),(0,q.jsx)(g.Z,{gutter:[16,16],style:{marginTop:16},children:(0,q.jsx)(Z.Z,{span:24,children:(0,q.jsx)(f.Z,{title:C.ZP.get("近 7 日趋势"),size:"small",children:U.length>0?(0,q.jsx)(b.Z,a()({},he)):(0,q.jsx)(m.Z,{description:C.ZP.get("暂无数据")})})})}),(0,q.jsxs)(g.Z,{gutter:[16,16],style:{marginTop:16},children:[(0,q.jsx)(Z.Z,{xs:24,lg:12,children:(0,q.jsx)(f.Z,{title:C.ZP.get("今日耗时 Top 5"),size:"small",children:(0,q.jsx)(v.Z,{dataSource:O,rowKey:"rank",pagination:!1,size:"small",columns:[{title:"#",dataIndex:"rank",width:40},{title:C.ZP.get("定时任务"),dataIndex:"name",ellipsis:!0},{title:C.ZP.get("平均耗时"),dataIndex:"avgTime",width:100,render:function(e){return e?"".concat((e/1e3).toFixed(1),"s"):"-"}},{title:C.ZP.get("最长单次"),dataIndex:"maxTime",width:100,render:function(e){return e?"".concat((e/1e3).toFixed(1),"s"):"-"}}]})})}),(0,q.jsx)(Z.Z,{xs:24,lg:12,children:(0,q.jsx)(f.Z,{title:C.ZP.get("今日执行次数 Top 5"),size:"small",children:(0,q.jsx)(v.Z,{dataSource:V,rowKey:"rank",pagination:!1,size:"small",columns:[{title:"#",dataIndex:"rank",width:40},{title:C.ZP.get("定时任务"),dataIndex:"name",ellipsis:!0},{title:C.ZP.get("次数"),dataIndex:"runCount",width:60},{title:C.ZP.get("平均耗时"),dataIndex:"avgTime",width:100,render:function(e){return e?"".concat((e/1e3).toFixed(1),"s"):"-"}},{title:C.ZP.get("成功率"),dataIndex:"successRate",width:80,render:function(e){return"".concat(e,"%")}}]})})})]}),ie.length>0&&(0,q.jsx)(g.Z,{gutter:[16,16],style:{marginTop:16},children:(0,q.jsx)(Z.Z,{span:24,children:(0,q.jsx)(f.Z,{title:C.ZP.get("标签统计"),size:"small",children:(0,q.jsx)(v.Z,{dataSource:ie,rowKey:"label",pagination:!1,size:"small",columns:[{title:C.ZP.get("标签"),dataIndex:"label",width:150,render:function(e){return(0,q.jsx)(p.Z,{children:e})}},{title:C.ZP.get("任务数"),dataIndex:"count",width:80},{title:C.ZP.get("今日执行"),dataIndex:"todayRuns",width:100},{title:C.ZP.get("成功率"),dataIndex:"successRate",width:100,render:function(e){return"".concat(e,"%")}},{title:C.ZP.get("平均耗时"),dataIndex:"avgTime",width:120,render:function(e){return e?"".concat((e/1e3).toFixed(1),"s"):"-"}}]})})})}),(0,q.jsxs)(g.Z,{gutter:[16,16],style:{marginTop:16},children:[(0,q.jsx)(Z.Z,{xs:24,lg:12,children:(0,q.jsxs)(f.Z,{title:C.ZP.get("实时运行态"),size:"small",extra:(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(p.Z,{color:"processing",children:[C.ZP.get("运行中")," ",(null==J?void 0:J.runningCount)||0]}),(0,q.jsxs)(p.Z,{color:"warning",children:[C.ZP.get("排队中")," ",(null==J?void 0:J.queuedCount)||0]})]}),children:[(0,q.jsx)(v.Z,{dataSource:(null==J?void 0:J.running)||[],rowKey:"instanceId",pagination:!!(J&&J.running.length>5)&&{pageSize:5,showSizeChanger:!1,showTotal:function(e){return"共 ".concat(e," 个")}},size:"small",locale:{emptyText:(0,q.jsx)(m.Z,{description:C.ZP.get("暂无运行中任务")})},columns:[{title:C.ZP.get("定时任务"),dataIndex:"name",ellipsis:!0,render:function(e,t){var n=((null==J?void 0:J.running)||[]).filter((function(e){return e.id===t.id})).length;return n>1?(0,q.jsxs)("span",{children:[e," ",(0,q.jsxs)(p.Z,{color:"processing",style:{fontSize:10,lineHeight:"16px"},children:["×",n]})]}):e}},{title:"PID",dataIndex:"pid",width:80},{title:C.ZP.get("已运行"),dataIndex:"elapsed",width:100,render:function(e){return e?K(e):"-"}},{title:C.ZP.get("日志"),dataIndex:"id",width:60,render:function(e,t){return(0,q.jsx)("a",{onClick:function(){localStorage.setItem("logCron",String(e)),ce({id:e,name:t.name})},children:C.ZP.get("查看")})}}]}),(null==J?void 0:J.idleTasks)&&J.idleTasks.length>0&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)("div",{style:{marginTop:12,fontSize:13,color:"#ff7a00"},children:[C.ZP.get("24小时未运行")," (",J.idleTasks.length,")"]}),(0,q.jsx)(v.Z,{dataSource:J.idleTasks,rowKey:"id",pagination:!1,size:"small",showHeader:!1,columns:[{dataIndex:"name",ellipsis:!0},{dataIndex:"lastRun",width:110,render:function(e){return(0,q.jsx)("span",{style:{color:"#999"},children:e})}}]})]})]})}),(0,q.jsx)(Z.Z,{xs:24,lg:12,children:(0,q.jsx)(f.Z,{title:C.ZP.get("系统资源"),size:"small",children:te&&(0,q.jsxs)(g.Z,{gutter:[16,16],align:"middle",children:[(0,q.jsx)(Z.Z,{span:12,children:(0,q.jsx)(k.Z,{height:300,data:{target:Number(te.memUsagePercent),total:100,name:"内存使用率"},style:{textY:"70%",textContent:function(e,t){return"".concat(C.ZP.get("内存"),":").concat(e,"%")}}})}),(0,q.jsxs)(Z.Z,{span:12,children:[(0,q.jsx)(h.Z,{title:C.ZP.get("系统运行"),value:K(te.uptime)}),(0,q.jsx)(h.Z,{title:C.ZP.get("堆内存"),value:"".concat(te.heapUsed," MB"),valueStyle:{fontSize:16}}),(0,q.jsxs)("div",{style:{marginTop:8,color:"#888",fontSize:12},children:[C.ZP.get("负载 1m"),": ",(null===(e=te.loadAvg)||void 0===e?void 0:e[0])||"-"," | CPU: ",te.cpus," ",C.ZP.get("核心")," | ",te.platform]})]})]})})})]}),de&&(0,q.jsx)(R.default,{cron:de,handleCancel:function(){return ce(null)}})]})}}}]);
|