UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.23 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]=`326a362a-c282-4666-8531-9da17b8ccbd0`,e._sentryDebugIdIdentifier=`sentry-dbid-326a362a-c282-4666-8531-9da17b8ccbd0`)})()}catch{}import{Ft as e,S as t}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{Hr as n,sl as r}from"./users.store-BHWXXawf.js";import{sl as i}from"./constants-CIP7tKq1.js";import{j as a}from"./_baseOrderBy-CaKruttV.js";import{t as o}from"./useDebounce-CTeIt-cH.js";var s=300;const c=a(r.SETUP_PANEL,()=>{let r=n(),{debounce:a}=o(),c=t(()=>r.getVariant(i.name)===i.variant),l=e(new Set),u=t(()=>l.value.size>0),d=a(()=>{l.value=new Set},{debounceTime:s,trailing:!0});function f(e){d.cancel(),l.value=new Set(e)}function p(){d()}return{isFeatureEnabled:c,highlightedNodeIds:l,isHighlightActive:u,setHighlightedNodes:f,clearHighlightedNodes:p}});export{c as t}; //# sourceMappingURL=setupPanel.store-D0Kh-_X7.js.map