UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.86 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./users.store-legacy-OKuN0qAC.js","./TagsDropdown-legacy-gwnXmOWc.js"],(function(e,n){var l,t,a,o,d,u,s,i,r;return{setters:[function(e){l=e.$,t=e.N,a=e.S,o=e.w},function(e){d=e.Ot,u=e.r,s=e.to},function(e){i=e.t}],execute:function(){try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(f=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[f]="25c51772-5573-4608-9b32-71e7b3396f0a",n._sentryDebugIdIdentifier="sentry-dbid-25c51772-5573-4608-9b32-71e7b3396f0a")}catch(n){}var n,f;r=t({__name:"AnnotationTagsDropdown.ee",props:{placeholder:{default:""},modelValue:{default:()=>[]},createEnabled:{type:Boolean,default:!1},eventBus:{default:null}},emits:["update:modelValue","esc","blur"],setup(e,{emit:n}){const t=e,r=n,f=d(),c=u(),g=a({get:()=>t.modelValue,set:e=>r("update:modelValue",e)}),b=a((()=>f.allTags)),y=a((()=>f.isLoading)),p=a((()=>f.tagsById));async function m(e){return await f.create(e)}function w(){c.openModal(s)}function v(){r("esc")}function h(){r("blur")}return f.fetchAll(),(n,t)=>(l(),o(i,{modelValue:g.value,"onUpdate:modelValue":t[0]||(t[0]=e=>g.value=e),placeholder:e.placeholder,"create-enabled":e.createEnabled,"event-bus":e.eventBus,"all-tags":b.value,"is-loading":y.value,"tags-by-id":p.value,"create-tag":m,onManageTags:w,onEsc:v,onBlur:h},null,8,["modelValue","placeholder","create-enabled","event-bus","all-tags","is-loading","tags-by-id"]))}}),e("t",r)}}})); //# sourceMappingURL=AnnotationTagsDropdown.ee-legacy-D4sPlYie.js.map