UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 3.12 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"],(function(e,t){var n,i,l,a,r,o,s,c,d,_,f,p,u,g,y,w,h,m;return{setters:[function(e){n=e.$,i=e.C,l=e.E,a=e.N,r=e.Sn,o=e.T,s=e.Wt,c=e._n,d=e.it,_=e.j},function(e){f=e.at},function(e){p=e.Qi,u=e.lt},function(e){g=e.t}],execute:function(){(y=document.createElement("style")).textContent="._wrapper_trrfk_125{cursor:pointer;align-items:center;display:flex}._wrapper_trrfk_125:hover ._icon_trrfk_130,._wrapper_trrfk_125:hover ._text_trrfk_131{color:var(--color--primary)}._icon_trrfk_130{margin-right:var(--spacing--2xs);color:var(--color--foreground--shade-1);font-size:var(--font-size--md)}._text_trrfk_131{font-size:var(--font-size--sm);line-height:var(--line-height--lg);color:var(--color--text)}._template_cwiqq_125{width:100%;max-width:var(--content-container--width);padding:var(--spacing--lg) var(--spacing--lg) 0;justify-content:center;display:flex}@media (min-width:1200px){._template_cwiqq_125{padding:var(--spacing--2xl) var(--spacing--2xl) 0}}._template_cwiqq_125._fullWidth_cwiqq_137{max-width:none;padding:0}._container_cwiqq_142{width:100%}._header_cwiqq_146{margin-bottom:var(--spacing--2xl);flex-direction:column;display:flex}._goBack_cwiqq_152{margin-bottom:var(--spacing--2xs)}\n/*$vite$:1*/",document.head.appendChild(y);try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(v=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[v]="bd415061-39f0-4b36-988d-c06ed703c6dd",t._sentryDebugIdIdentifier="sentry-dbid-bd415061-39f0-4b36-988d-c06ed703c6dd")}catch(t){}var t,v;w=["textContent"],h=g(a({__name:"GoBackButton",setup(e){const t=u(),a=f(),o=()=>{t.back()};return(e,t)=>(n(),l("div",{class:c(e.$style.wrapper),onClick:o},[_(s(p),{class:c(e.$style.icon),icon:"arrow-left"},null,8,["class"]),i("div",{class:c(e.$style.text),textContent:r(s(a).baseText("template.buttons.goBackButton"))},null,10,w)],2))}}),[["__cssModules",{$style:{wrapper:"_wrapper_trrfk_125",icon:"_icon_trrfk_130",text:"_text_trrfk_131"}}]]),m=a({__name:"TemplatesView",props:{goBackEnabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},setup:e=>(t,a)=>(n(),l("div",{class:c([t.$style.template,{[t.$style.fullWidth]:e.fullWidth}])},[i("div",{class:c(t.$style.container)},[e.goBackEnabled?(n(),l("div",{key:0,class:c(t.$style.header)},[i("div",{class:c(t.$style.goBack)},[_(h)],2),d(t.$slots,"header")],2)):o("",!0),i("div",null,[d(t.$slots,"content")])],2)],2))}),e("t",g(m,[["__cssModules",{$style:{template:"_template_cwiqq_125",fullWidth:"_fullWidth_cwiqq_137",container:"_container_cwiqq_142",header:"_header_cwiqq_146",goBack:"_goBack_cwiqq_152"}}]]))}}})); //# sourceMappingURL=TemplatesView-legacy-jGljU3FD.js.map