PageSourceSearch

https://portal.gruntify.com/chunk-O6BU5AXP.js

js gruntify.com collected 2026-09-28 11:08:56 UTC 7,875 bytes, 1 lines download raw bytes

1import{a as X}from"./chunk-WU3I7QQT.js";import{d as z,e as B}from"./chunk-HHYRVWMU.js";import{a as W}from"./chunk-U2FCQQYN.js";import{a as K}from"./chunk-JDX2HSF5.js";import{e as h}from"./chunk-2TKPGIPN.js";import{a as Q}from"./chunk-CTWZ2DID.js";import"./chunk-QP4ZQU4Z.js";import{c as Y,d as Z}from"./chunk-RHNR7ISS.js";import{c as $}from"./chunk-TLYRL5LT.js";import{b as C}from"./chunk-PDFYF2R6.js";import"./chunk-DONZ5GTA.js";import{C as S,D as L,E as R,d as A,f as u,i as I,j as T,m as f,o as y,s as k,v as U}from"./chunk-MBYL3FOQ.js";import"./chunk-225YF3HZ.js";import{a as H,b as J}from"./chunk-7V3O7UCX.js";import{a as D,d as G,i as q,l as g}from"./chunk-Q2WS72Y7.js";import{x as j,z as V}from"./chunk-KKMW7J56.js";import"./chunk-YHMN23T3.js";import"./chunk-2NEMWXIH.js";import{Mb as s,Nb as e,Ob as p,Pb as x,Qb as E,Rd as _,Xb as N,Za as r,Zc as F,d as P,db as a,jc as d,lb as b,mb as l,na as c,od as w,rb as v,zb as m}from"./chunk-L6MSYN6L.js";import{k as O}from"./chunk-GL2BOVXA.js";function rt(t,mt){t&1&&p(0,"app-onboarding-links")}var nt=(()=>{class t{get showOnboardingLinks(){return this.featureToggleService.showOnboardingLinks}constructor(i,n,o,M,et,it){this.accountClient=i,this.navigator=n,this.routerFacade=M,this.featureToggleService=et,this.formErrorMessages=new P,this.formControls={firstName:{control:new f("",u.compose([h.requiredNotEmpty])),errorMessage:"",validationMessages:{required:"This field is required."}},lastName:{control:new f("",u.compose([h.requiredNotEmpty])),errorMessage:"",validationMessages:{required:"This field is required."}}},this.form=C.buildFormFromControls(this.formControls,it),this.form.valueChanges.subscribe(()=>this.onFormChanges()),this.updateAccountInProgress=o.startStopEventsForOperations([G])}onFormChanges(){this.formErrorMessages.next(null),C.updateFormErrorMessages(this.form,this.formControls)}ngOnInit(){this.routerFacade.params.has(g.WorkspaceType)&&(this.workspaceType=this.routerFacade.params.get(g.WorkspaceType)),this.routerFacade.params.has(g.AccountIdParameter)&&(this.accountId=this.routerFacade.params.get(g.AccountIdParameter))}onUpdateAccount(){return O(this,null,function*(){if(this.formErrorMessages.next(null),this.form.valid)try{yield this.accountClient.update(this.accountId,this.buildUpdateAccountDetails()),yield this.navigator.redirectAfterLogin(this.accountId,this.workspaceType)}catch(i){this.formErrorMessages.next(i.errorMessage)}})}buildUpdateAccountDetails(){return{firstName:this.formControls.firstName.control.value,lastName:this.formControls.lastName.control.value}}static{this.\u0275fac=function(n){return new(n||t)(a(D),a(q),a(j),a(V),a($),a(S))}}static{this.\u0275cmp=b({type:t,selectors:[["app-update-account"]],standalone:!1,decls:20,vars:7,consts:[[1,"m-stack","m-stack--hor","m-stack--desktop"],[1,"m-stack__item","m-stack__item--fluid"],[1,"logo-wrapper"],[1,"m-login__wrapper"],[1,"m-login__signup-step1"],[1,"m-login__head"],[1,"m-login__title"],[1,"m-form",3,"formGroup"],["id","form-errors",3,"messages"],["id","first-name-form-group",3,"validatedFormControl"],["id","first-name","type","text","formControlName","firstName","name","first-name","placeholder","First Name",1,"form-control","m-input"],["id","last-name-form-group",3,"validatedFormControl"],["id","last-name","type","text","formControlName","lastName","name","last-name","placeholder","Last Name",1,"form-control","m-input"],["appLoadingButton","","id","update-account-button",1,"btn","btn-primary","m-btn","m-btn--uppercase","m-btn--pill","m-btn--custom","btn-lg",3,"click","disabled","inProgress"],[4,"ngIf"]],template:function(n,o){n&1&&(s(0,"div",0)(1,"div",1)(2,"div",2),p(3,"app-login-logo"),e(),s(4,"div",3)(5,"div",4)(6,"div",5)(7,"h3",6),d(8,"Account Detail"),e()(),x(9),s(10,"form",7),p(11,"app-form-messages",8),s(12,"app-form-group",9),p(13,"input",10),e(),s(14,"app-form-group",11),p(15,"input",12),e()(),p(16,"hr"),s(17,"button",13),N("click",function(){return o.onUpdateAccount()}),d(18," Update Detail "),e(),E(),e()(),v(19,rt,1,0,"app-onboarding-links",14),e()()),n&2&&(r(10),m("formGroup",o.form),r(),m("messages",o.formErrorMessages),r(),m("validatedFormControl",o.formControls.firstName),r(2),m("validatedFormControl",o.formControls.lastName),r(3),m("disabled",o.form.invali
1d)("inProgress",o.updateAccountInProgress),r(2),m("ngIf",o.showOnboardingLinks))},dependencies:[F,y,A,I,T,k,U,H,K,z,Y,Q],styles:[".signin-button[_ngcontent-%COMP%], .ad-signin-button[_ngcontent-%COMP%], .google-signin-button[_ngcontent-%COMP%], .apple-signin-button[_ngcontent-%COMP%]{border:2px solid #e6e4ea;padding-top:5px!important;padding-bottom:5px!important;height:56px}.signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .ad-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .google-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .apple-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px;height:20px}.signin-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .ad-signin-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .google-signin-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .apple-signin-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-left:12px;font-size:15px;font-weight:500}.ad-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:16.67px;height:16.67px}.ad-signin-button[_ngcontent-%COMP%], .google-signin-button[_ngcontent-%COMP%], .apple-signin-button[_ngcontent-%COMP%]{padding-left:20px!important}.ad-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .google-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .apple-signin-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{float:left;margin-top:3px}.logo-wrapper[_ngcontent-%COMP%]{text-align:center}.m-login__form-action.text-center[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:100%}.m-login__title[_ngcontent-%COMP%]{font-weight:500;font-size:28px!important;line-height:33px;color:#232326}.button-divider[_ngcontent-%COMP%]{text-align:center;margin:27.5px 0 12.5px}.button-divider[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-weight:500;line-height:15px;color:#77767e;font-size:13px;display:inline-block}.button-divider[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{position:static;width:77px;border-bottom:1px solid #e6e4ea;transform:rotate(-180deg);margin-top:9.5px}.button-divider[_ngcontent-%COMP%]   .line.left[_ngcontent-%COMP%]{float:left}.button-divider[_ngcontent-%COMP%]   .line.right[_ngcontent-%COMP%]{float:right}.m-login__account-msg[_ngcontent-%COMP%]{color:#9a99a2!important;font-size:14px!important}.apple-signin-button[_ngcontent-%COMP%], .google-signin-button[_ngcontent-%COMP%]{margin-top:15px}.ad-signin-button[_ngcontent-%COMP%]:hover, .apple-signin-button[_ngcontent-%COMP%]:hover, .google-signin-button[_ngcontent-%COMP%]:hover{background:#f7f7fa}@media (max-width: 992px){.m-login__head[_ngcontent-%COMP%]{margin-bottom:2em}}@media (max-width: 575px){.m-login__wrapper[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}}.line[_ngcontent-%COMP%]{width:42%!important}.m-login__form-action[_ngcontent-%COMP%]{margin-top:20px}.m-login__account[_ngcontent-%COMP%]{margin-top:40px}#update-account-button[_ngcontent-%COMP%]{width:100%;font-weight:900;font-size:14px;letter-spacing:2.33px}.icon-check[_ngcontent-%COMP%]{float:right;position:relative;top:-23px;right:13px}@media (min-width: 993px){.m-login__head[_ngcontent-%COMP%]{margin-bottom:40px}}"]})}}return t})();var at=[{path:"",component:nt}],ot=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=l({type:t})}static{this.\u0275inj=c({imports:[_.forChild(at),_]})}}return t})();var Gt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=l({type:t})}static{this.\u0275inj=c({imports:[w,L,R,J,W,B,Z,X,ot]})}}return t})();export{Gt as UpdateAccountModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.