n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.92 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.16.1"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./core-legacy-VD8c7QJ-.js","./src-legacy-B67uuxhB.js","./users.store-legacy-azRUgFdP.js","./constants-legacy-2_ytuuS3.js","./AuthView-legacy-Wj84asB_.js"],(function(e,t){var n,a,i,s,u,r,l,o,f,c,d;return{setters:[function(e){n=e.$,a=e.Ft,i=e.N,s=e.Nt,u=e.w},function(e){r=e.at},function(e){l=e.lt},function(e){o=e.Pn,f=e.t},function(e){c=e.Qo},function(e){d=e.t}],execute:function(){try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(m=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[m]="b944b1a8-783f-4554-90a2-592c73956c39",t._sentryDebugIdIdentifier="sentry-dbid-b944b1a8-783f-4554-90a2-592c73956c39")}catch(t){}var t,m;e("default",i({__name:"SamlOnboarding",setup(e){const t=l(),i=r(),m=o(),g=f(),b=a(!1),p=s({title:i.baseText("auth.signup.setupYourAccount"),buttonText:i.baseText("auth.signup.finishAccountSetup"),inputs:[{name:"firstName",initialValue:g.currentUser?.firstName,properties:{label:i.baseText("auth.firstName"),maxlength:32,required:!0,autocomplete:"given-name",capitalize:!0}},{name:"lastName",initialValue:g.currentUser?.lastName,properties:{label:i.baseText("auth.lastName"),maxlength:32,required:!0,autocomplete:"family-name",capitalize:!0}}]}),y=async e=>{if((e=>"firstName"in e&&"lastName"in e)(e))try{b.value=!0,await g.updateUserName(e),await t.push({name:c.HOMEPAGE})}catch(n){b.value=!1,m.showError(n,"Error",n.message)}};return(e,t)=>(n(),u(d,{form:p,"form-loading":b.value,onSubmit:y},null,8,["form","form-loading"]))}}))}}}));
//# sourceMappingURL=SamlOnboarding-legacy-DSjHrWdP.js.map