n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.62 kB
JavaScript
(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]=`9a5c1c19-6524-42bd-a400-2ea0f1e435d6`,e._sentryDebugIdIdentifier=`sentry-dbid-9a5c1c19-6524-42bd-a400-2ea0f1e435d6`)})()}catch{}import{$ as e,N as t,S as n,Wt as r,_n as i,c as a,w as o}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{Z as s}from"./src-wni2AGA3.js";import{t as c}from"./_plugin-vue_export-helper-Dm3nT7Ps.js";import{d as l,l as u}from"./_baseOrderBy-CaKruttV.js";async function d(e,t){return(await u(e.baseUrl,`/breaking-changes/report`,t)).data}async function f(e,t){return await l(e,`POST`,t?.version?`/breaking-changes/report/refresh?version=${t.version}`:`/breaking-changes/report/refresh`)}async function p(e,t){return(await u(e.baseUrl,`/breaking-changes/report/${t}`)).data}var m=c(t({name:`N8nTag`,__name:`SeverityTag`,props:{severity:{}},setup(t){let c=a(),l=n(()=>({critical:`Critical`,medium:`Medium`,low:`Low`})),u={critical:c.TagCritical,medium:c.TagMedium,low:c.TagLow};return(n,a)=>(e(),o(r(s),{text:l.value[t.severity],clickable:!1,class:i(u[t.severity])},null,8,[`text`,`class`]))}}),[[`__cssModules`,{$style:{TagCritical:`_TagCritical_1mw62_2`,TagMedium:`_TagMedium_1mw62_8`,TagLow:`_TagLow_1mw62_14`}}]]);export{f as i,d as n,p as r,m as t};
//# sourceMappingURL=SeverityTag-CJybM1JB.js.map