UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 4.07 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./_MapCache-legacy-DwgdC8YO.js","./src-legacy-Dwzr7bD0.js","./_plugin-vue_export-helper-legacy-DEZAmQqp.js","./sanitize-html-legacy-ChR3ikxn.js","./users.store-legacy-OKuN0qAC.js","./BaseLayout-legacy-Dj2Lc5Iz.js","./constants-legacy-DNCca_FT.js","./merge-legacy-uu1aGqHK.js","./_baseOrderBy-legacy-PsQY_Pvh.js","./dateformat-legacy-BxdD_OP7.js","./useDebounce-legacy-CT3oYGrC.js","./useSettingsItems-legacy-BduHMZbw.js"],(function(e,t){var n,i,s,o,a,r,l,c,d,u,_,g,f,p,y,v,b,h,m,j,w,k,x,C,z,$,E,S,T,I,B;return{setters:[function(e){n=e.$,i=e.A,s=e.C,o=e.E,a=e.Ft,r=e.N,l=e.Sn,c=e.Wt,d=e.X,u=e._,_=e._n,g=e.at,f=e.j,p=e.rt,y=e.w,v=e.yt},function(e){b=e.bt},function(e){h=e.$i,m=e.X,j=e.Zi,w=e._t,k=e.lt},function(e){x=e.t},function(e){},function(e){C=e.ii,z=e.r},function(e){$=e.t},function(e){e.hs,E=e.ms},function(e){},function(e){S=e.r},function(e){},function(e){},function(e){T=e.t}],execute:function(){(I=document.createElement("style")).textContent="._container_ikjzi_125{background-color:var(--color--background--light-3);border-right:var(--border);min-width:200px;height:100%;position:relative;overflow:auto}._returnButton_ikjzi_134{padding:var(--spacing--xs);cursor:pointer;gap:var(--spacing--3xs);align-items:center;display:flex}._returnButton_ikjzi_134:hover{color:var(--color--primary)}._items_ikjzi_145{padding:0 var(--spacing--3xs);flex-direction:column;display:flex}._versionContainer_ikjzi_151{padding:var(--spacing--xs)}@media screen and (max-height:420px){._versionContainer_ikjzi_151{display:none}}._contentContainer_7wvpa_125{background-color:var(--color--background--light-2);justify-content:center;width:100%;height:100%;padding-top:70.5px;display:flex;position:relative;overflow:auto}._content_7wvpa_125{width:100%;max-width:1440px;height:100%;padding:0 var(--spacing--2xl)}\n/*$vite$:1*/",document.head.appendChild(I);try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(D=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[D]="9ccd7335-7fda-421b-9282-fdbe7cbd2ad5",t._sentryDebugIdIdentifier="sentry-dbid-9ccd7335-7fda-421b-9282-fdbe7cbd2ad5")}catch(t){}var t,D;B=x(r({__name:"SettingsSidebar",emits:["return"],setup(e,{emit:t}){const a=t,r=b(),d=S(),g=z(),{settingsItems:w}=T();return(e,t)=>(n(),o("div",{class:_(e.$style.container)},[s("div",{class:_(e.$style.returnButton),"data-test-id":"settings-back",onClick:t[0]||(t[0]=e=>a("return"))},[s("i",null,[f(c(h),{icon:"arrow-left"})]),f(c(j),{bold:""},{default:v((()=>[i(l(c(r).baseText("settings")),1)])),_:1})],2),s("div",{class:_(e.$style.items)},[(n(!0),o(u,null,p(c(w),(e=>(n(),y(c(m),{key:e.id,item:e},null,8,["item"])))),128))],2),s("div",{class:_(e.$style.versionContainer)},[f(c(k),{size:"small",onClick:t[1]||(t[1]=e=>c(g).openModal(c("about")))},{default:v((()=>[i(l(c(r).baseText("settings.version"))+" "+l(c(d).versionCli),1)])),_:1})],2)],2))}}),[["__cssModules",{$style:{container:"_container_ikjzi_125",returnButton:"_returnButton_ikjzi_134",items:"_items_ikjzi_145",versionContainer:"_versionContainer_ikjzi_151"}}]]),e("default",x(r({__name:"SettingsLayout",setup(e){const t=w(),i=a();function o(){const e=t.resolve({name:E.SETTINGS}),n=C(i.value)?t.resolve(i.value):null,s=!n||n.path.startsWith(e.path)?{name:E.HOMEPAGE}:n;t.push(s)}return d((()=>{i.value=t.options.history.state.back})),(e,t)=>{const i=g("RouterView");return n(),y($,null,{sidebar:v((()=>[f(B,{onReturn:o})])),default:v((()=>[s("div",{class:_(e.$style.contentContainer)},[s("div",{class:_(e.$style.content)},[f(i)],2)],2)])),_:1})}}}),[["__cssModules",{$style:{contentContainer:"_contentContainer_7wvpa_125",content:"_content_7wvpa_125"}}]]))}}})); //# sourceMappingURL=SettingsLayout-legacy-iZGqalCV.js.map