UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.94 kB
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.16.1`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e7c81287-309b-425d-9cb3-f9661c19f5a9`,e._sentryDebugIdIdentifier=`sentry-dbid-e7c81287-309b-425d-9cb3-f9661c19f5a9`)})()}catch{}import{$ as e,C as t,E as n,N as r,Sn as i,T as a,Wt as o,_n as s,it as c,j as l}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{at as u}from"./core-Bz5WjPxS.js";import{Qi as d,lt as f}from"./src-XqE2yCpG.js";import{t as p}from"./_plugin-vue_export-helper-CIL7EULb.js";var m=[`textContent`],h=p(r({__name:`GoBackButton`,setup(r){let a=f(),c=u(),p=()=>{a.back()};return(r,a)=>(e(),n(`div`,{class:s(r.$style.wrapper),onClick:p},[l(o(d),{class:s(r.$style.icon),icon:`arrow-left`},null,8,[`class`]),t(`div`,{class:s(r.$style.text),textContent:i(o(c).baseText(`template.buttons.goBackButton`))},null,10,m)],2))}}),[[`__cssModules`,{$style:{wrapper:`_wrapper_trrfk_125`,icon:`_icon_trrfk_130`,text:`_text_trrfk_131`}}]]),g=p(r({__name:`TemplatesView`,props:{goBackEnabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},setup(r){return(i,o)=>(e(),n(`div`,{class:s([i.$style.template,{[i.$style.fullWidth]:r.fullWidth}])},[t(`div`,{class:s(i.$style.container)},[r.goBackEnabled?(e(),n(`div`,{key:0,class:s(i.$style.header)},[t(`div`,{class:s(i.$style.goBack)},[l(h)],2),c(i.$slots,`header`)],2)):a(``,!0),t(`div`,null,[c(i.$slots,`content`)])],2)],2))}}),[[`__cssModules`,{$style:{template:`_template_cwiqq_125`,fullWidth:`_fullWidth_cwiqq_137`,container:`_container_cwiqq_142`,header:`_header_cwiqq_146`,goBack:`_goBack_cwiqq_152`}}]]);export{g as t}; //# sourceMappingURL=TemplatesView-DWHPzBDs.js.map