n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 3.77 kB
JavaScript
!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","./_MapCache-legacy-DwgdC8YO.js","./src-legacy-Dwzr7bD0.js","./_plugin-vue_export-helper-legacy-DEZAmQqp.js","./sanitize-html-legacy-ChR3ikxn.js","./users.store-legacy-OKuN0qAC.js","./constants-legacy-DNCca_FT.js","./merge-legacy-uu1aGqHK.js","./_baseOrderBy-legacy-PsQY_Pvh.js","./dateformat-legacy-BxdD_OP7.js","./useDebounce-legacy-CT3oYGrC.js","./Modal-legacy-D-vb8tRz.js","./CredentialIcon-legacy-W6FyX5zO.js","./constants-legacy-iKNx7WD2.js"],(function(e,t){var n,a,l,s,i,o,c,d,u,r,f,y,_,b,g,m,p,h,v,x,w,j,I,T,S;return{setters:[function(e){n=e.$,a=e.A,l=e.C,s=e.Ft,i=e.N,o=e.Sn,c=e.Wt,d=e.X,u=e._n,r=e.j,f=e.w,y=e.yt},function(e){_=e.bt},function(e){b=e.At,g=e.Qi,m=e.Yi,p=e.Zi,h=e.ct},function(e){v=e.t},function(e){},function(e){},function(e){x=e.li},function(e){},function(e){},function(e){},function(e){},function(e){w=e.t},function(e){j=e.t},function(e){I=e.i,T=e.y}],execute:function(){(S=document.createElement("style")).textContent="._content_uxwis_125{gap:var(--spacing--sm);padding:var(--spacing--sm)0;flex-direction:column;display:flex}._footer_uxwis_132{justify-content:space-between;align-items:center;width:100%;display:flex}._header_uxwis_139{gap:var(--spacing--2xs);align-items:center;display:flex}._icon_uxwis_145{flex-grow:0;flex-shrink:0}\n/*$vite$:1*/",document.head.appendChild(S);try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},($=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[$]="c4784012-b6ae-4b0b-8252-ca87446890f8",t._sentryDebugIdIdentifier="sentry-dbid-c4784012-b6ae-4b0b-8252-ca87446890f8")}catch(t){}var t,$;e("default",v(i({__name:"ModelByIdSelectorModal",props:{modalName:{},data:{}},setup(e){const t=e,i=s(b()),v=s(t.data.initialValue),S=s(null),$=_();function C(){v.value&&(t.data.onSelect(t.data.provider,v.value),i.value.emit("close"))}function E(){i.value.emit("close")}return d((()=>{setTimeout((()=>{S.value?.inputRef?.select(),S.value?.inputRef?.focus()}))})),(t,s)=>(n(),f(w,{name:c(I),"event-bus":i.value,width:"50%",center:!0,"max-width":"460px","min-height":"250px"},{header:y((()=>[l("div",{class:u(t.$style.header)},[r(j,{"credential-type-name":c(x)[e.data.provider],size:24,class:u(t.$style.icon)},null,8,["credential-type-name","class"]),r(c(m),{size:"medium",tag:"h2",class:u(t.$style.title)},{default:y((()=>[a(o(c($).baseText("chatHub.models.byIdSelector.title",{interpolate:{provider:c(T)[e.data.provider]}})),1)])),_:1},8,["class"])],2)])),content:y((()=>[l("div",{class:u(t.$style.content)},[r(c(p),{size:"small",color:"text-base"},{default:y((()=>[a(o(c($).baseText("chatHub.models.byIdSelector.choose")),1)])),_:1}),r(c(h),{ref_key:"inputRef",ref:S,modelValue:v.value,"onUpdate:modelValue":s[0]||(s[0]=e=>v.value=e),name:"model",label:"","max-length":"64","focus-initially":"",onEnter:C},null,8,["modelValue"])],2)])),footer:y((()=>[l("div",{class:u(t.$style.footer)},[r(c(g),{variant:"subtle",onClick:E},{default:y((()=>[a(o(c($).baseText("chatHub.models.byIdSelector.cancel")),1)])),_:1}),r(c(g),{variant:"solid",disabled:!v.value,onClick:C},{default:y((()=>[a(o(c($).baseText("chatHub.models.byIdSelector.confirm")),1)])),_:1},8,["disabled"])],2)])),_:1},8,["name","event-bus"]))}}),[["__cssModules",{$style:{content:"_content_uxwis_125",footer:"_footer_uxwis_132",header:"_header_uxwis_139",icon:"_icon_uxwis_145"}}]]))}}}));
//# sourceMappingURL=ModelByIdSelectorModal-legacy-DqmbRDxl.js.map