@runeya/runeya 1.33.16 → 1.33.19

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.
Files changed (49) hide show
  1. package/node-red-contrib-runeya.tar +0 -0
  2. package/package.json +1 -1
  3. package/public/assets/{App-havugOhG.js → App-Zd1wzq6w.js} +1 -1
  4. package/public/assets/{CurrentEditor-CGzL3h8U.js → CurrentEditor-DLPmlCCH.js} +1 -1
  5. package/public/assets/{Editor-DK3XKnCP.js → Editor-BGkwp83-.js} +6 -6
  6. package/public/assets/{ImportCreate-Byvpjnq0.js → ImportCreate-Cb9Yo4_T.js} +1 -1
  7. package/public/assets/{Init-Dif9nNb1.js → Init-C32Q3Vuy.js} +1 -1
  8. package/public/assets/{LeftLogo-Cbwhm4ku.js → LeftLogo-7mp987n7.js} +1 -1
  9. package/public/assets/{Markdown-5TtJbvAz.js → Markdown-CkEWgBbg.js} +1 -1
  10. package/public/assets/MuseoModerno-CGeER_rz.ttf +0 -0
  11. package/public/assets/{Overview-Bl8fTVx6.js → Overview-Butnf29p.js} +1 -1
  12. package/public/assets/{Section-DLhOQaZc.js → Section-DArSOaS2.js} +1 -1
  13. package/public/assets/{Settings-BjPflvt4.js → Settings-CEcFg3LS.js} +1 -1
  14. package/public/assets/{StackChooser-Dm1JVLNV.js → StackChooser-BsG17xPQ.js} +1 -1
  15. package/public/assets/{StackChooser-jx7LDKIV.js → StackChooser-CH4WGtD8.js} +1 -1
  16. package/public/assets/{StackMultiple-kplS4h1T.js → StackMultiple-CnhHiGG6.js} +1 -1
  17. package/public/assets/{StackSingle-vf02csuy.js → StackSingle-DzMAOzU6.js} +1 -1
  18. package/public/assets/{Tabs-DnJSk4n2.js → Tabs-VGIyn9Mu.js} +1 -1
  19. package/public/assets/{cssMode-BPdPLkVG.js → cssMode-CzzL7NLn.js} +1 -1
  20. package/public/assets/fa-brands-400-D1LuMI3I.ttf +0 -0
  21. package/public/assets/fa-brands-400-D_cYUPeE.woff2 +0 -0
  22. package/public/assets/fa-regular-400-BjRzuEpd.woff2 +0 -0
  23. package/public/assets/fa-regular-400-DZaxPHgR.ttf +0 -0
  24. package/public/assets/fa-solid-900-CTAAxXor.woff2 +0 -0
  25. package/public/assets/fa-solid-900-D0aA9rwL.ttf +0 -0
  26. package/public/assets/fa-v4compatibility-C9RhG_FT.woff2 +0 -0
  27. package/public/assets/fa-v4compatibility-CCth-dXg.ttf +0 -0
  28. package/public/assets/{freemarker2-3NvUG45O.js → freemarker2-Dir7A35Q.js} +1 -1
  29. package/public/assets/{handlebars-CFHZlhgH.js → handlebars-Bwt7SUKz.js} +1 -1
  30. package/public/assets/{html-Bkw9bGL4.js → html-BVMS5MXg.js} +1 -1
  31. package/public/assets/{htmlMode-CRd0eLDO.js → htmlMode-DtatUs1Z.js} +1 -1
  32. package/public/assets/index--FPUu8lq.css +5 -0
  33. package/public/assets/{index-CWdLNLf2.js → index-BnoOVDVz.js} +2 -2
  34. package/public/assets/{javascript-ByJcXg8C.js → javascript-D-oImBdK.js} +1 -1
  35. package/public/assets/{jsonMode-eQLqr7ag.js → jsonMode-ChekEzF3.js} +1 -1
  36. package/public/assets/{liquid-D7tDuX3T.js → liquid-Cx00nEdK.js} +1 -1
  37. package/public/assets/{mdx-Ct31jTJm.js → mdx-B_3CUkN7.js} +1 -1
  38. package/public/assets/{python-B9O75g1L.js → python-PnVqLAvu.js} +1 -1
  39. package/public/assets/{razor-CTgHL3xd.js → razor-B-e3gtRB.js} +1 -1
  40. package/public/assets/{router-B5BHMCJX.js → router-59CbSGll.js} +3 -3
  41. package/public/assets/{system-D6n39APF.js → system-Bck6co6p.js} +1 -1
  42. package/public/assets/{tsMode-D-YLfP_n.js → tsMode-aTnOdaF2.js} +1 -1
  43. package/public/assets/{typescript-CjO-D8b6.js → typescript-D4fq51ct.js} +1 -1
  44. package/public/assets/{xml-D7AJmN-D.js → xml-aY-jq2ZR.js} +1 -1
  45. package/public/assets/{yaml-Ct88-2x6.js → yaml-BH_SsNz5.js} +1 -1
  46. package/public/index.html +1 -1
  47. package/www.js +3 -2
  48. package/www.js.map +1 -1
  49. package/public/assets/index-CqmUSPWF.css +0 -5
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runeya/runeya",
3
- "version": "1.33.16",
3
+ "version": "1.33.19",
4
4
  "description": "Monitor processes as a stack",
5
5
  "git": "https://github.com/runeya/runeya",
6
6
  "repository": "https://github.com/runeya/runeya",
@@ -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-B5BHMCJX.js";import le from"./system-D6n39APF.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-CWdLNLf2.js";import{P as Fe}from"./Section-DLhOQaZc.js";import{s as kt,a as ze}from"./Markdown-5TtJbvAz.js";import"./Editor-DK3XKnCP.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:`
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-59CbSGll.js";import le from"./system-Bck6co6p.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-BnoOVDVz.js";import{P as Fe}from"./Section-DArSOaS2.js";import{s as kt,a as ze}from"./Markdown-CkEWgBbg.js";import"./Editor-BGkwp83-.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-DLhOQaZc.js";import{D as h,f as C}from"./router-B5BHMCJX.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-CWdLNLf2.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};
1
+ import{P as g}from"./Section-DArSOaS2.js";import{D as h,f as C}from"./router-59CbSGll.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-BnoOVDVz.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};