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.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"],(function(e,t){var n,i,a,l,r,o,s,c,_,d,f,p,u,g,y,h,w,b;return{setters:[function(e){n=e.$,i=e.C,a=e.E,l=e.N,r=e.Sn,o=e.T,s=e.Wt,c=e._n,_=e.it,d=e.j},function(e){f=e.bt},function(e){p=e.$i,u=e._t},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:{},(m=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[m]="b1911b69-6ef6-4c81-9b0d-b7c8a4f55780",t._sentryDebugIdIdentifier="sentry-dbid-b1911b69-6ef6-4c81-9b0d-b7c8a4f55780")}catch(t){}var t,m;h=["textContent"],w=g(l({__name:"GoBackButton",setup(e){const t=u(),l=f(),o=()=>{t.back()};return(e,t)=>(n(),a("div",{class:c(e.$style.wrapper),onClick:o},[d(s(p),{class:c(e.$style.icon),icon:"arrow-left"},null,8,["class"]),i("div",{class:c(e.$style.text),textContent:r(s(l).baseText("template.buttons.goBackButton"))},null,10,h)],2))}}),[["__cssModules",{$style:{wrapper:"_wrapper_trrfk_125",icon:"_icon_trrfk_130",text:"_text_trrfk_131"}}]]),b=l({__name:"TemplatesView",props:{goBackEnabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},setup:e=>(t,l)=>(n(),a("div",{class:c([t.$style.template,{[t.$style.fullWidth]:e.fullWidth}])},[i("div",{class:c(t.$style.container)},[e.goBackEnabled?(n(),a("div",{key:0,class:c(t.$style.header)},[i("div",{class:c(t.$style.goBack)},[d(w)],2),_(t.$slots,"header")],2)):o("",!0),i("div",null,[_(t.$slots,"content")])],2)],2))}),e("t",g(b,[["__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--TC0rG3N.js.map