UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.44 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]=`32af8b79-2149-4a04-9414-be254bd8699a`,e._sentryDebugIdIdentifier=`sentry-dbid-32af8b79-2149-4a04-9414-be254bd8699a`)})()}catch{}import{$ as e,N as t,S as n,Wt as r,w as i}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{at as a}from"./core-Bz5WjPxS.js";import{Pi as o,lt as s}from"./src-XqE2yCpG.js";import{Qo as c}from"./constants-DuQbSl-q.js";var l=t({__name:`EmptySharedSectionActionBox`,props:{personalProject:{},resourceType:{default:`workflows`}},setup(t){let l=a(),u=s(),d=t,f=n(()=>l.baseText(`workflows.empty.shared-with-me`,{interpolate:{resource:l.baseText(`generic.${d.resourceType===`workflows`?`workflow`:`credential`}`).toLowerCase()}})),p=e=>{e.preventDefault(),u.push({name:c.PROJECTS_WORKFLOWS,params:{projectId:d.personalProject.id}})};return(t,n)=>(e(),i(r(o),{"data-test-id":`empty-shared-action-box`,heading:f.value,description:r(l).baseText(`workflows.empty.shared-with-me.link`),onDescriptionClick:p},null,8,[`heading`,`description`]))}});export{l as t}; //# sourceMappingURL=EmptySharedSectionActionBox-_g-Zo60Q.js.map