UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.84 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]=`58beed2d-2422-42d7-9334-4196c7ec6021`,e._sentryDebugIdIdentifier=`sentry-dbid-58beed2d-2422-42d7-9334-4196c7ec6021`)})()}catch{}import{$ as e,A as t,E as n,N as r,Sn as i,T as a,Wt as o,_n as s,w as c,yt as l}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{$i as u,Zi as d}from"./src-wni2AGA3.js";import{t as f}from"./_plugin-vue_export-helper-Dm3nT7Ps.js";function p(e){return typeof e==`object`&&!!e&&`type`in e&&(e.type===`icon`||e.type===`emoji`)&&`value`in e&&typeof e.value==`string`}var m=f(r({__name:`ProjectIcon`,props:{icon:{},size:{default:`medium`},round:{type:Boolean,default:!1},borderLess:{type:Boolean,default:!1},color:{default:`text-base`}},setup(r){let f=r;return(p,m)=>(e(),n(`div`,{class:s([p.$style.container,p.$style[f.size],{[p.$style.round]:f.round,[p.$style.borderless]:f.borderLess}])},[r.icon.type===`icon`?(e(),c(o(u),{key:0,icon:r.icon.value,class:s(p.$style.icon),color:r.color},null,8,[`icon`,`class`,`color`])):r.icon.type===`emoji`?(e(),c(o(d),{key:1,color:`text-light`,class:s(p.$style.emoji)},{default:l(()=>[t(i(r.icon.value),1)]),_:1},8,[`class`])):a(``,!0)],2))}}),[[`__cssModules`,{$style:{container:`_container_rc0yc_125`,round:`_round_rc0yc_132`,borderless:`_borderless_rc0yc_135`,mini:`_mini_rc0yc_139`,icon:`_icon_rc0yc_143`,emoji:`_emoji_rc0yc_146`,small:`_small_rc0yc_150`,medium:`_medium_rc0yc_158`,large:`_large_rc0yc_166`}}]]);export{p as n,m as t}; //# sourceMappingURL=ProjectIcon-BBMQDCgu.js.map