UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.26 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]=`604cc7c4-b508-4476-a030-9317823b37e4`,e._sentryDebugIdIdentifier=`sentry-dbid-604cc7c4-b508-4476-a030-9317823b37e4`)})()}catch{}import{Ft as e,S as t}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{hr as n}from"./users.store-xP93bV7X.js";import{qc as r}from"./constants-DuQbSl-q.js";import{T as i}from"./useRootStore-XEREVjMN.js";import{An as a}from"./settings.store-CAFiYCMH.js";import{t as o}from"./useDebounce-DyDXl6eh.js";var s=300,c=i(a.SETUP_PANEL,()=>{let i=n(),{debounce:a}=o(),c=t(()=>i.getVariant(r.name)===r.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-CRvWdTDn.js.map