UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.81 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.13.4`}}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]=`65357837-9a5a-4de5-9e60-774e28e0ccaf`,e._sentryDebugIdIdentifier=`sentry-dbid-65357837-9a5a-4de5-9e60-774e28e0ccaf`)})()}catch{}import{$ as e,A as t,C as n,E as r,N as i,Sn as a,T as o,Wt as s,_n as c,j as l,w as u,yt as d}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{bt as f}from"./_MapCache-CUJwh2qp.js";import{$i as p,Qi as m,Yi as h,Zi as g,_t as _}from"./src-wni2AGA3.js";import{t as v}from"./_plugin-vue_export-helper-Dm3nT7Ps.js";import"./sanitize-html-my1ogl5v.js";import{ms as y}from"./constants-CIP7tKq1.js";import"./merge-BqvKZ38d.js";var b=v(i({__name:`ErrorView`,props:{messageKey:{},errorCode:{},redirectTextKey:{},redirectPage:{}},setup(i){let v=_(),b=i,x=f();function S(){v.push({name:b.redirectPage??y.HOMEPAGE})}return(f,_)=>(e(),r(`div`,{class:c(f.$style.container)},[l(s(p),{icon:`triangle-alert`,class:c(f.$style.icon)},null,8,[`class`]),n(`div`,{class:c(f.$style.message)},[n(`div`,null,[l(s(h),{size:`2xlarge`},{default:d(()=>[t(a(s(x).baseText(i.messageKey)),1)]),_:1})]),n(`div`,null,[i.errorCode?(e(),u(s(g),{key:0,size:`large`},{default:d(()=>[t(a(i.errorCode)+` `+a(s(x).baseText(`error`)),1)]),_:1})):o(``,!0)])],2),l(s(m),{label:s(x).baseText(i.redirectTextKey),onClick:S},null,8,[`label`])],2))}}),[[`__cssModules`,{$style:{container:`_container_1s17v_125`,icon:`_icon_1s17v_134`,message:`_message_1s17v_141`}}]]);export{b as default}; //# sourceMappingURL=ErrorView-Dq679RGn.js.map