UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 3.87 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.16.1"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./core-legacy-VD8c7QJ-.js","./src-legacy-B67uuxhB.js","./_plugin-vue_export-helper-legacy-DFdC_I5Z.js","./users.store-legacy-azRUgFdP.js","./BaseLayout-legacy-D2xw9CZc.js","./constants-legacy-2_ytuuS3.js","./useRootStore-legacy-CC08el-l.js","./useSettingsItems-legacy-DFliaKBv.js"],(function(e,t){var n,i,o,s,a,r,l,d,c,u,_,g,f,p,y,v,b,h,m,w,j,k,x,C,$,z,S,E,T,I,B;return{setters:[function(e){n=e.$,i=e.A,o=e.C,s=e.E,a=e.Ft,r=e.N,l=e.Sn,d=e.Wt,c=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.at},function(e){h=e.H,m=e.Qi,w=e.Xi,j=e.lt,k=e.tt},function(e){x=e.t},function(e){C=e.kr,$=e.r},function(e){z=e.t},function(e){e.$o,S=e.Qo},function(e){E=e.t},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:{},(R=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[R]="966a8dcb-a4b8-4760-8fdb-18ad4e0df3b1",t._sentryDebugIdIdentifier="sentry-dbid-966a8dcb-a4b8-4760-8fdb-18ad4e0df3b1")}catch(t){}var t,R;B=x(r({__name:"SettingsSidebar",emits:["return"],setup(e,{emit:t}){const a=t,r=b(),c=E(),g=$(),{settingsItems:j}=T();return(e,t)=>(n(),s("div",{class:_(e.$style.container)},[o("div",{class:_(e.$style.returnButton),"data-test-id":"settings-back",onClick:t[0]||(t[0]=e=>a("return"))},[o("i",null,[f(d(m),{icon:"arrow-left"})]),f(d(w),{bold:""},{default:v((()=>[i(l(d(r).baseText("settings")),1)])),_:1})],2),o("div",{class:_(e.$style.items)},[(n(!0),s(u,null,p(d(j),(e=>(n(),y(d(h),{key:e.id,item:e},null,8,["item"])))),128))],2),o("div",{class:_(e.$style.versionContainer)},[f(d(k),{size:"small",onClick:t[1]||(t[1]=e=>d(g).openModal(d("about")))},{default:v((()=>[i(l(d(r).baseText("settings.version"))+" "+l(d(c).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=j(),i=a();function s(){const e=t.resolve({name:S.SETTINGS}),n=C(i.value)?t.resolve(i.value):null,o=!n||n.path.startsWith(e.path)?{name:S.HOMEPAGE}:n;t.push(o)}return c((()=>{i.value=t.options.history.state.back})),(e,t)=>{const i=g("RouterView");return n(),y(z,null,{sidebar:v((()=>[f(B,{onReturn:s})])),default:v((()=>[o("div",{class:_(e.$style.contentContainer)},[o("div",{class:_(e.$style.content)},[f(i)],2)],2)])),_:1})}}}),[["__cssModules",{$style:{contentContainer:"_contentContainer_7wvpa_125",content:"_content_7wvpa_125"}}]]))}}})); //# sourceMappingURL=SettingsLayout-legacy-D3ab595Z.js.map