@runeya/runeya 1.33.19 → 1.33.20
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/node-red-contrib-runeya.tar +0 -0
- package/package.json +2 -3
- package/public/assets/{App-Zd1wzq6w.js → App-CxWYnNM-.js} +1 -1
- package/public/assets/{CurrentEditor-DLPmlCCH.js → CurrentEditor-C38cqf-Z.js} +1 -1
- package/public/assets/{Editor-BGkwp83-.js → Editor-Ck3cFVn3.js} +6 -6
- package/public/assets/{ImportCreate-Cb9Yo4_T.js → ImportCreate-DFEf3KiI.js} +1 -1
- package/public/assets/{Init-C32Q3Vuy.js → Init-Lt-2DFbi.js} +1 -1
- package/public/assets/{LeftLogo-7mp987n7.js → LeftLogo-fTp83qX1.js} +1 -1
- package/public/assets/{Markdown-CkEWgBbg.js → Markdown-CNWZoHio.js} +1 -1
- package/public/assets/{Overview-Butnf29p.js → Overview-DR4QmO04.js} +1 -1
- package/public/assets/{Section-DArSOaS2.js → Section-BC6pA1HZ.js} +1 -1
- package/public/assets/{Settings-CEcFg3LS.js → Settings-Dp_ktsgs.js} +1 -1
- package/public/assets/{StackChooser-BsG17xPQ.js → StackChooser-CsNxPvyi.js} +1 -1
- package/public/assets/{StackChooser-CH4WGtD8.js → StackChooser-vHgodEvA.js} +1 -1
- package/public/assets/{StackMultiple-CnhHiGG6.js → StackMultiple-BeZmv6DX.js} +1 -1
- package/public/assets/{StackSingle-DzMAOzU6.js → StackSingle-Bza6Vusw.js} +1 -1
- package/public/assets/{Tabs-VGIyn9Mu.js → Tabs-DMteuptw.js} +1 -1
- package/public/assets/{cssMode-CzzL7NLn.js → cssMode-DptFVzSA.js} +1 -1
- package/public/assets/{freemarker2-Dir7A35Q.js → freemarker2-Nj-3NhAz.js} +1 -1
- package/public/assets/{handlebars-Bwt7SUKz.js → handlebars-DccXq6O-.js} +1 -1
- package/public/assets/{html-BVMS5MXg.js → html-BFezHwqy.js} +1 -1
- package/public/assets/{htmlMode-DtatUs1Z.js → htmlMode-8pIWMfce.js} +1 -1
- package/public/assets/{index-BnoOVDVz.js → index-DVXSyllr.js} +2 -2
- package/public/assets/{javascript-D-oImBdK.js → javascript-B0mQdjwH.js} +1 -1
- package/public/assets/{jsonMode-ChekEzF3.js → jsonMode-BuKXiIei.js} +1 -1
- package/public/assets/{liquid-Cx00nEdK.js → liquid-9G58QM1k.js} +1 -1
- package/public/assets/{mdx-B_3CUkN7.js → mdx-DWeREtqy.js} +1 -1
- package/public/assets/{python-PnVqLAvu.js → python-BZtttaDe.js} +1 -1
- package/public/assets/{razor-B-e3gtRB.js → razor-CIhED9yj.js} +1 -1
- package/public/assets/{router-imsD-DjM.css → router-BIesWMTV.css} +1 -1
- package/public/assets/{router-59CbSGll.js → router-BaBuIyxA.js} +94 -94
- package/public/assets/{system-Bck6co6p.js → system-IAlLmFx7.js} +1 -1
- package/public/assets/{tsMode-aTnOdaF2.js → tsMode-BMdhWjVC.js} +1 -1
- package/public/assets/{typescript-D4fq51ct.js → typescript-DurNSXGF.js} +1 -1
- package/public/assets/{xml-aY-jq2ZR.js → xml-Ckok0faQ.js} +1 -1
- package/public/assets/{yaml-BH_SsNz5.js → yaml-C2OtFevY.js} +1 -1
- package/public/index.html +1 -1
- package/www.js +15 -128
- package/www.js.map +1 -1
- package/runeya.vsix +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runeya/runeya",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.20",
|
|
4
4
|
"description": "Monitor processes as a stack",
|
|
5
5
|
"git": "https://github.com/runeya/runeya",
|
|
6
6
|
"repository": "https://github.com/runeya/runeya",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "cross-env-shell node bin/www $RUNEYA_ROOT_PATH \"$SERVICE\"",
|
|
19
|
-
"serve": "nodemon -e js,ts,jsx,tsx,vue,swagger.yml,swagger.yaml -x \"
|
|
19
|
+
"serve": "nodemon -e js,ts,jsx,tsx,vue,swagger.yml,swagger.yaml -x \"runeya-dev-watch npm run start\"",
|
|
20
20
|
"build": "tsup",
|
|
21
21
|
"test": ""
|
|
22
22
|
},
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"http-proxy": "^1.18.1",
|
|
61
61
|
"json-tree-view-vue3": "^1.0.2",
|
|
62
62
|
"fix-esm": "^1.0.1",
|
|
63
|
-
"workspace-tools": "^0.36.4",
|
|
64
63
|
"compressing": "^1.10.1",
|
|
65
64
|
"node-red": "^4.0.8"
|
|
66
65
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as re,s as pe,a as K,b as we,S as M,n as A,c as Xe,P as et,M as Te,R as tt,d as nt,T as me,e as ot,f as it,g as Ie,p as st,h as rt,i as lt,j as at}from"./router-
|
|
1
|
+
import{u as re,s as pe,a as K,b as we,S as M,n as A,c as Xe,P as et,M as Te,R as tt,d as nt,T as me,e as ot,f as it,g as Ie,p as st,h as rt,i as lt,j as at}from"./router-BaBuIyxA.js";import le from"./system-IAlLmFx7.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as Y,a as g,o as p,b as f,d as B,t as j,n as F,r as E,w as ke,e as w,f as _,g as L,h as he,T as ut,i as ge,j as ee,S as T,k as ae,l as $,m as Ke,v as ct,p as Ne,F as P,q as J,s as z,u as Q,x as dt,y as ft,B as vt,z as pt,$ as te,A as fe,C as _e,D as ne,E as Ee,G as mt,H as ye,I as X,J as ht,K as $e,L as D,M as gt,N as yt,O as bt}from"./index-DVXSyllr.js";import{P as Fe}from"./Section-BC6pA1HZ.js";import{s as kt,a as ze}from"./Markdown-CNWZoHio.js";import"./Editor-Ck3cFVn3.js";const wt={key:0,class:"fas fa-exclamation"},Ct={key:1,class:"fas fa-heartbeat success"},St={key:2,class:"fas fa-times warning"},It={key:3,class:"fas fa-square"},_t={__name:"sidebarItem",props:{service:{default:null}},setup(t){const e=re(),n=t,o=Y(()=>{var d;const v=e.currentRoute.value.fullPath.split("?")[0].split("/").filter(c=>c).pop();return(d=n.service)!=null&&d.label?encodeURIComponent(n.service.label)===v:!1});function i(a){localStorage.setItem("last-service-visisted",a.label||""),e.push({name:"stack-single",params:{label:a.label}})}return(a,v)=>(p(),g("div",{onClick:v[0]||(v[0]=d=>i(t.service)),class:F(["sidebar-item",{active:o.value,disabled:!t.service.enabled,crashed:t.service.crashed}])},[f("span",null,[t.service.crashed?(p(),g("i",wt)):t.service.enabled&&!t.service.exited?(p(),g("i",Ct)):t.service.exited?(p(),g("i",St)):(p(),g("i",It)),B(" "+j(t.service.label),1)]),v[1]||(v[1]=f("i",{class:"fas fa-chevron-right hover","aria-hidden":"true"},null,-1))],2))}},Et=G(_t,[["__scopeId","data-v-30b21d4f"]]),xt={class:"title"},Vt={__name:"sidebarGroup",props:{header:{default:""},open:{default:!1}},emits:["open","close"],setup(t,{emit:e}){const n=t,o=e,i=E(n.open),a=E();ke(()=>n.open,async()=>{i.value=n.open,await ge(),a.value&&(a.value.style.maxHeight=`${a.value.scrollHeight}px`)});function v(){i.value=!i.value,i.value?o("open"):o("close")}return(d,c)=>(p(),g("div",{class:F({open:i.value})},[f("div",{class:"header",onClick:v},[c[0]||(c[0]=f("i",{class:"fas fa-chevron-right"},null,-1)),f("h3",xt,j(t.header),1)]),w(ut,{name:"fade-sidebar"},{default:_(()=>[i.value?(p(),g("div",{key:0,class:"slot-container",ref_key:"slotRef",ref:a},[he(d.$slots,"default",{},void 0,!0)],512)):L("",!0)]),_:3})],2))}},Tt=G(Vt,[["__scopeId","data-v-e715e98d"]]),At={components:{sidebarItem:Et,sidebarGroup:Tt,Dialog:we,Button:K,InputText:pe},props:{currentService:{default:null},isMinimized:{default:!1}},setup(){const t=re(),e=E(""),n=E("All"),o=E(!1);ee(async()=>{await M.loadServices(),T.on("service:crash",async({label:d,code:c,signal:u})=>{A.next("error",`${d} has crashed with code ${c}`),await M.loadServices()}),T.on("service:exit",async({label:d,code:c,signal:u})=>{await M.loadServices()}),T.on("service:healthcheck:down",async({label:d,code:c,signal:u})=>{const h=await M.getService(d);h!=null&&h.crashed||await M.loadServices()}),T.on("service:healthcheck:up",async({label:d,code:c,signal:u})=>{const h=await M.getService(d);h!=null&&h.crashed&&await M.loadServices()})});const i=Y(()=>Xe(M.services.value.filter(d=>(d.label||"").toUpperCase().includes(e.value.toUpperCase()))).desc(d=>d.enabled)),a=Y(()=>{const d=i.value.reduce((c,u)=>{var h;return(h=u.groups)!=null&&h.length&&u.groups.forEach(b=>{c[b]||(c[b]=[]),c[b].push(u)}),c},{});return Object.keys(d).map(c=>({label:c,services:d[c]})).sort((c,u)=>c.label.localeCompare(u.label))}),v=E("");return{groups:a,openGroup:n,search:e,sortedStack:i,System:le,serviceLabelToAdd:v,addServiceModalVisible:o,addServiceError:Y(()=>M.services.value.find(d=>d.label===v.value)?"A service already exists with this label":""),addService(){M.services.value.find(d=>d.label===v.value)||ae.post("/stack/services",{label:v.value}).then(()=>{const d=v.value;o.value=!1,setTimeout(()=>{t.push({name:"stack-single",params:{label:d},query:{tab:"Configuration"}})},100),v.value=""})},launchService(d){const c=i.value[0];d.ctrlKey&&c&&(c==null||c.restart(),localStorage.setItem("last-service-visisted",c.label||""),t.push({name:"stack-single",params:{label:c.label}}))},openAddServiceModal(){o.value=!0},cancelAddService(){o.value=!1,v.value=""}}}},Ot={class:"sidebar-root"},jt={class:"sidebar"},$t={class:"add-container"},Lt={key:0},Mt={class:"header"},Pt={class:"services-container"},Dt={class:"minimized-container"},Nt={class:"p-fluid"},zt={class:"p-field"},Rt={key:0,class:"p-error"};function Ut(t,e,n,o,i,a){const v=$("Button"),d=$("sidebar-item"),c=$("sidebar-group"),u=$("InputText"),h=$("Dialog");return p(),g("div",Ot,[f("div",jt,[f("div",$t,[w(v,{class:"add-button",fluid:"",outlined:"",icon:"fas fa-plus",label:"Add service",onClick:o.openAddServiceModal},null,8,["onClick"]),o.addServiceError?(p(),g("label",Lt,j(o.addServiceError),1)):L("",!0)]),f("div",Mt,[Ke(f("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=b=>o.search=b),onInput:e[1]||(e[1]=b=>o.openGroup="All"),class:"search-input",placeholder:"Search service...",onKeypress:e[2]||(e[2]=Ne((...b)=>o.launchService&&o.launchService(...b),["enter"]))},null,544),[[ct,o.search]])]),f("div",Pt,[w(c,{header:"All",open:o.openGroup==="All",onOpen:e[3]||(e[3]=b=>o.openGroup="All")},{default:_(()=>[(p(!0),g(P,null,J(o.sortedStack,b=>(p(),z(d,{key:b.label,service:b},null,8,["service"]))),128))]),_:1},8,["open"]),(p(!0),g(P,null,J(o.groups,b=>(p(),z(c,{header:b.label,open:o.openGroup===b.label,onOpen:x=>o.openGroup=b.label,onClose:e[4]||(e[4]=x=>o.openGroup="All")},{default:_(()=>[(p(!0),g(P,null,J(b.services,x=>(p(),z(d,{key:x.label,service:x},null,8,["service"]))),128))]),_:2},1032,["header","open","onOpen"]))),256))]),f("div",Dt,[n.isMinimized?L("",!0):(p(),z(v,{key:0,icon:"fas fa-chevron-left",outlined:"",onClick:e[5]||(e[5]=b=>t.$emit("toggle-minimized"))}))])]),w(h,{visible:o.addServiceModalVisible,"onUpdate:visible":e[7]||(e[7]=b=>o.addServiceModalVisible=b),modal:"",header:"Add new service",style:{width:"350px"}},{footer:_(()=>[w(v,{label:"Cancel",icon:"fas fa-times",onClick:o.cancelAddService,class:"p-button-text"},null,8,["onClick"]),w(v,{label:"Add",icon:"fas fa-plus",onClick:o.addService,disabled:!!o.addServiceError||!o.serviceLabelToAdd},null,8,["onClick","disabled"])]),default:_(()=>[f("div",Nt,[f("div",zt,[w(u,{modelValue:o.serviceLabelToAdd,"onUpdate:modelValue":e[6]||(e[6]=b=>o.serviceLabelToAdd=b),placeholder:"Service name",onKeypress:Ne(o.addService,["enter"]),autofocus:"",fluid:""},null,8,["modelValue","onKeypress"]),o.addServiceError?(p(),g("small",Rt,j(o.addServiceError),1)):L("",!0)])])]),_:1},8,["visible"])])}const Bt=G(At,[["render",Ut],["__scopeId","data-v-367d8d42"]]);function Jt(t={}){let e;if(t.repoUrl)e=t.repoUrl;else if(t.user&&t.repo)e=`https://github.com/${t.user}/${t.repo}`;else throw new Error("You need to specify either the `repoUrl` option or both the `user` and `repo` options");const n=new URL(`${e}/issues/new`),o=["body","title","labels","template","milestone","assignee","projects","type"];for(const i of o){let a=t[i];if(a!==void 0){if(i==="labels"||i==="projects"){if(!Array.isArray(a))throw new TypeError(`The \`${i}\` option should be an array`);a=a.join(",")}n.searchParams.set(i,a)}}return n.toString()}const qt=Jt({user:"runeya",repo:"runeya",body:`
|
|
2
2
|
## Issue
|
|
3
3
|
|
|
4
4
|
### Plateform
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as g}from"./Section-
|
|
1
|
+
import{P as g}from"./Section-BC6pA1HZ.js";import{D as h,f as C}from"./router-BaBuIyxA.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{s as c,L as e,o as r,f as d,b as y,a as n,F as v,q as x,n as b}from"./index-DVXSyllr.js";const B=["src","title"],$={key:1},w={class:"icons"},z=["alt","src","onClick"],D={__name:"CurrentEditor",props:{service:{default:void 0},direction:{default:"bottom"},dark:{default:!1}},setup(s){const u=s,{availableEditors:p,loading:m,allEditors:f,setDefaultEditor:k,currentEditor:i}=h(u.service);return(_,l)=>e(m)?(r(),c(C,{key:1,size:"18",noColor:!0})):(r(),c(g,{key:0,trigger:"mouseenter",appendTo:"parent",style:{display:"inline-block",width:"max-content"},triggerHeight:"18px",placement:s.direction},{trigger:d(()=>{var t,o,a;return[(t=e(i))!=null&&t.icon?(r(),n("img",{key:0,class:b({"filter-dark":s.dark}),src:(o=e(i))==null?void 0:o.icon,alt:"editor icon","aria-hidden":"true",title:(a=e(i))==null?void 0:a.title,onClick:l[0]||(l[0]=F=>_.$emit("openEditor",e(i).key))},null,10,B)):(r(),n("span",$,"Choose your default editor"))]}),content:d(()=>[y("div",w,[(r(!0),n(v,null,x(e(p),t=>{var o;return r(),n("img",{alt:`Editor icon: ${t}`,src:(o=e(f)[t])==null?void 0:o.icon,style:{width:"35px",height:"35px"},onClick:a=>e(k)(t),class:"filter-dark"},null,8,z)}),256))])]),_:1},8,["placement"]))}},I=E(D,[["__scopeId","data-v-1dc07b45"]]);export{I as C};
|