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A,4BAAuB;QAC7BA,uDAAAA,GAAuB;QAAvBA,wDAAAA,4BAAuB;QAMdA,uDAAAA,IAAgB;QAAhBA,wDAAAA,wBAAgB;QACoBA,uDAAAA,GAA8B;QAA9BA,wDAAAA,mCAA8B","sources":["./src/app/pages/account/account-routing.module.ts","./src/app/pages/account/account.module.ts","./src/app/pages/account/login/login.component.ts","./src/app/pages/account/login/login.component.html","./src/app/pages/account/namedlogin/namedlogin.component.ts","./src/app/pages/account/namedlogin/namedlogin.component.html"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { NamedloginComponent } from './namedlogin/namedlogin.component';\r\nimport { ChangeAccountPasswordComponent } from './change-account-password/change-account-password.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: 'login',\r\n component: LoginComponent\r\n },\r\n {\r\n path: 'namedlogin',\r\n component: NamedloginComponent\r\n },\r\n {\r\n path: 'resetaccountpassword',\r\n component: ChangeAccountPasswordComponent\r\n },\r\n {\r\n path: 'smlogin',\r\n component: LoginComponent\r\n },\r\n {\r\n path: 'kiosklogin',\r\n component: LoginComponent\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AccountRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { AccountRoutingModule } from './account-routing.module';\r\nimport { LoginComponent } from './login/login.component';\r\n\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { SharedModule } from '../../shared/shared.module';\r\nimport { NamedloginComponent } from './namedlogin/namedlogin.component';\r\nimport { ChangeAccountPasswordComponent } from './change-account-password/change-account-password.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n LoginComponent,\r\n NamedloginComponent,\r\n ChangeAccountPasswordComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n AccountRoutingModule,\r\n QuillModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SharedModule\r\n ]\r\n})\r\nexport class AccountModule { }\r\n","import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/core';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { PortalSettingsService } from '../../../core/services/portal-settings.service';\r\nimport { AccountService } from '../services/account.service';\r\nimport { NotificationsService } from 'src/app/core/services/notifications.service';\r\nimport { UtilityService } from '../../../core/services/utility.service';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LoginOnboardCoPickModalComponent } from '../../../modals/account/login-onboard-co-pick-modal/login-onboard-co-pick-modal.component';\r\nimport { Router } from '@angular/router';\r\nimport { Title } from '@angular/platform-browser';\r\n\r\nenum MainMenuType {\r\n Default = 'default',\r\n Enroll = 'enroll',\r\n SignInHelp = 'signInHelp'\r\n}\r\nenum SubMenuType {\r\n Default = 'default',\r\n EmployeeLogin = 'employeeLogin',\r\n WindowsLogin = 'windowsLogin'\r\n}\r\n\r\nenum LoginType {\r\n Default = 'default',\r\n ClockInOut = 'clockInOut',\r\n FieldMode = 'fieldMode'\r\n}\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.css']\r\n})\r\nexport class LoginComponent implements OnInit, OnDestroy {\r\n portalSettings: any;\r\n welcomeText: string;\r\n coForLogo: number;\r\n logoUrl: string;\r\n coDropdownCompanies: any;\r\n activeSubMenu: SubMenuType = SubMenuType.Default;\r\n activeMainMenu: MainMenuType = MainMenuType.Default;\r\n company: number;\r\n defaultCompany: number;\r\n passwordResetButtonText: string;\r\n signInHelpText: string;\r\n isMobileMode: boolean = false;\r\n capsLockOn: boolean = false;\r\n isLoading: boolean = false;\r\n enableEnrollAndPasswordReset: boolean = true;\r\n enableOnboarding: boolean = false;\r\n companiesEnabledForOnboarding: any = [];\r\n viewpointOneLoginEnabled: boolean = false;\r\n smsPasswordReset: boolean = false;\r\n setPasswordInEnrollment: boolean = false;\r\n securityPinText: string;\r\n isWindowsPinRequired: boolean = false;\r\n returnUrl: string = null;\r\n companyFromUrl: number = null;\r\n isCoDropdownVisible: boolean = true;\r\n isCompanySelection: boolean = false;\r\n changeLogo: boolean = false;\r\n vpid: string = null;\r\n idToken: string = null;\r\n currentYear: number;\r\n enableClockInOut: boolean = false;\r\n enableFieldMode: boolean = false;\r\n loginErrorMsg: string;\r\n enableViewpointOneLogin: boolean;\r\n hideEnrollHelp: boolean;\r\n tCDisableNonPassKiosk: boolean = false;\r\n\r\n // login option flags:\r\n isViewpointLoginEnabled: boolean = true;\r\n isEmployeeLoginEnabled: boolean = true;\r\n isWindowsLoginEnabled: boolean = true;\r\n isVistaTidEnabled: boolean = false;\r\n\r\n employeeLoginForm = new FormGroup({\r\n companySelect: new FormControl(null),\r\n companyInput: new FormControl(null),\r\n employeeNum: new FormControl(null, Validators.required),\r\n employeePassword: new FormControl(null, Validators.required)\r\n });\r\n\r\n windowsLoginForm = new FormGroup({\r\n windowsUsername: new FormControl(null, Validators.required),\r\n windowsPassword: new FormControl(null, Validators.required),\r\n windowsPin: new FormControl(null)\r\n });\r\n \r\n enrollForm = new FormGroup({\r\n companySelect: new FormControl(null),\r\n companyInput: new FormControl(null),\r\n employeeNum: new FormControl(null, Validators.required),\r\n securityPin: new FormControl(null, Validators.required),\r\n password: new FormControl(null),\r\n confirmPassword: new FormControl(null)\r\n });\r\n\r\n passwordResetForm = new FormGroup({\r\n companySelect: new FormControl(null),\r\n companyInput: new FormControl(null),\r\n employeeNum: new FormControl(null, Validators.required),\r\n securityPin: new FormControl(null, Validators.required)\r\n });\r\n\r\n @ViewChild('employeeNum') employeeLoginNum: ElementRef;\r\n @ViewChild('windowsUsername') windowsUsername: ElementRef;\r\n isSMLogin: boolean = false;\r\n isKioskLogin: boolean = false;\r\n\r\n constructor(portalSettingsService: PortalSettingsService, private accountService: AccountService, private notificationsService: NotificationsService, private utilityService: UtilityService, private ngbModalService: NgbModal, private router: Router, private titleService: Title) {\r\n this.portalSettings = portalSettingsService.getPortalSettings();\r\n this.isMobileMode = this.utilityService.isMobileMode();\r\n this.currentYear = new Date().getFullYear();\r\n }\r\n\r\n async ngOnInit() {\r\n this.titleService.setTitle(this.portalSettings.HRPortalName.ConfigValue);\r\n this.tCDisableNonPassKiosk = this.portalSettings.TCDisableNonPassKiosk.ConfigValue === \"1\";\r\n await this.getUrlParams();\r\n\r\n document.body.style.backgroundImage = \"url('/Cache/images/trimble-background.png')\";\r\n window.addEventListener('keyup', (event) => this.capsLockEvent(event));\r\n window.addEventListener('resize', (event) => this.windowResizeEvent(event));\r\n\r\n // Initialize portal settings:\r\n this.setLoginOptions();\r\n await this.getCompanyConfiguration();\r\n\r\n this.enableEnrollAndPasswordReset = this.portalSettings.DisableEnrollPasswordChange.ConfigValue == 0;\r\n this.enableClockInOut = this.portalSettings.ClockInLoginEnabled.ConfigValue == 1;\r\n this.enableFieldMode = this.portalSettings.FieldLoginEnabled.ConfigValue == 1;\r\n this.smsPasswordReset = this.portalSettings.SendSMSOnResetIfNoEmail.ConfigValue != 'E';\r\n this.setPasswordInEnrollment = this.portalSettings.PortalEnrollmentMode.ConfigValue == 'D';\r\n this.welcomeText = this.portalSettings.LoginWelcomeRichText.ConfigValue;\r\n this.passwordResetButtonText = this.portalSettings.ResetPasswordOverrideText.ConfigValue ?? 'Need sign in help?';\r\n this.signInHelpText = this.portalSettings.LoginPageHelpingText.ConfigValue;\r\n this.securityPinText = this.portalSettings.SecurityPinMessage.ConfigValue ?? 'Enter your security PIN:';\r\n this.isWindowsPinRequired = this.portalSettings.WindowsLoginPinReqd.ConfigValue == 1;\r\n this.enableViewpointOneLogin = this.portalSettings.ViewpointOneLoginEnabled.ConfigValue === \"1\";\r\n this.hideEnrollHelp = this.portalSettings.DisableEnrollPasswordChange.ConfigValue === \"1\";\r\n\r\n this.loginErrorMsg = \"Login failed - please confirm your information and retry. Note that repeated login attempts may lock your account.\";\r\n if (this.enableViewpointOneLogin) {\r\n this.loginErrorMsg += \" If you have previously linked your employee login to Viewpoint ID, please log in that way.\";\r\n }\r\n if (!this.hideEnrollHelp) {\r\n this.loginErrorMsg += \" If you have forgotten your password, reset your password below.\";\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n window.removeEventListener('keyup', (event) => this.capsLockEvent(event));\r\n window.removeEventListener('resize', (event) => this.windowResizeEvent(event));\r\n }\r\n\r\n async getUrlParams() {\r\n this.isSMLogin = false;\r\n this.isKioskLogin = false;\r\n if (window.location.pathname.indexOf(\"/smlogin\") > -1) {\r\n this.isSMLogin = true;\r\n }\r\n else if (window.location.pathname.indexOf(\"/kiosklogin\") > -1) {\r\n this.isKioskLogin = true;\r\n if (this.isKioskLogin && this.tCDisableNonPassKiosk) {\r\n this.notificationsService.showWarning(\"This kiosk mode is currently disabled. You will be redirect to the home page in 5 seconds...\");\r\n setTimeout(() => {\r\n window.location.href = \"/Home/Index\";\r\n }, 5000);\r\n }\r\n }\r\n let query = window.location.search;\r\n let urlParams = new URLSearchParams(query);\r\n\r\n let url = urlParams.get('ReturnUrl');\r\n if(this.isSMLogin && (url == null || url =='')){\r\n url = \"/sm/manage\";\r\n }\r\n const returnUrlResponse = await this.accountService.checkReturnUrl(url);\r\n this.returnUrl = returnUrlResponse['returnUrl'];\r\n\r\n let urlCoString = urlParams.get('co');\r\n if (urlCoString != null && urlCoString != '') {\r\n const companyNumResponse = await this.accountService.getCompanyNumFromUrl(urlCoString);\r\n this.companyFromUrl = parseInt(companyNumResponse['co']);\r\n }\r\n\r\n this.vpid = urlParams.get('vpid'); \r\n this.idToken = urlParams.get('idToken');\r\n if (this.vpid && this.idToken) {\r\n this.notificationsService.showWarning(\"You do not have a Vista Web portal account associated with this Viewpoint ID. Please login or enroll via the Vista Web portal login to associate your account.\");\r\n }\r\n\r\n let timedOut = urlParams.get('timedOut');\r\n if(timedOut == 'True') {\r\n this.notificationsService.showError(\"You have been logged out due to inactivity.\", window.location.pathname);\r\n }\r\n }\r\n\r\n getVistaTidEnabled() {\r\n this.accountService.getVistaTidEnabled().then((response: boolean) => {\r\n this.isVistaTidEnabled = response;\r\n })\r\n }\r\n\r\n async getCompanyConfiguration() {\r\n let isCompanyDropdown = this.portalSettings.CompanyLoginChoices.ConfigValue == 1;\r\n let logoCo = this.portalSettings.LogoHQCo.ConfigValue;\r\n\r\n // Company specific configuration\r\n if (this.companyFromUrl) {\r\n if (logoCo) {\r\n this.setLogoUrl(logoCo);\r\n }\r\n else {\r\n this.setLogoUrl(this.companyFromUrl);\r\n }\r\n this.isCompanySelection = false;\r\n this.isCoDropdownVisible = false;\r\n this.setOnboardButtonVisibility([{PRCo: this.companyFromUrl, PRCoNameMask: null}]);\r\n this.company = this.companyFromUrl;\r\n }\r\n // Company dropdown\r\n else if (isCompanyDropdown) {\r\n this.coDropdownCompanies = await this.getCompanies();\r\n this.setDefaultCompany();\r\n // only one company in dropdown. No need to make company selections, so hide dropdown\r\n if (this.coDropdownCompanies && this.coDropdownCompanies.length === 1) {\r\n this.isCoDropdownVisible = false;\r\n this.isCompanySelection = false;\r\n }\r\n // 2+ companies in dropdown\r\n else {\r\n this.isCoDropdownVisible = true;\r\n this.isCompanySelection = true;\r\n }\r\n\r\n if (logoCo) {\r\n this.setLogoUrl(logoCo);\r\n }\r\n else {\r\n this.setLogoUrl(this.company);\r\n this.changeLogo = true;\r\n }\r\n\r\n this.setOnboardButtonVisibility(this.coDropdownCompanies);\r\n }\r\n // Company input\r\n else {\r\n this.setLogoUrl(logoCo);\r\n\r\n this.isCoDropdownVisible = false;\r\n this.isCompanySelection = true;\r\n\r\n this.enableOnboarding = false;\r\n }\r\n\r\n this.setCompanyValidationOnForms();\r\n }\r\n\r\n getCompanies(): Promise {\r\n return this.accountService.getCompanies().then((companies: any) => {\r\n return companies;\r\n }, () => { return null });\r\n }\r\n\r\n setDefaultCompany() {\r\n let defaultCompany = this.portalSettings.DefaultLoginCompany.ConfigValue;\r\n let defaultDropdownCo = this.coDropdownCompanies.find(co => co.PRCo == defaultCompany);\r\n if (defaultDropdownCo !== null && defaultDropdownCo !== undefined) {\r\n this.company = defaultDropdownCo.PRCo;\r\n }\r\n else {\r\n this.company = this.coDropdownCompanies[0]?.PRCo;\r\n }\r\n this.setCompanySelect(this.company);\r\n }\r\n\r\n async setOnboardButtonVisibility(availableCompanies: any[]) {\r\n this.enableOnboarding = this.portalSettings.EnableOnboarding.ConfigValue == 1;\r\n\r\n if (this.enableOnboarding && availableCompanies !== null) {\r\n let onboardCompanies = this.getOnboardingCompanies();\r\n if (onboardCompanies && onboardCompanies.length > 0) {\r\n await onboardCompanies.forEach((co: any) => {\r\n let cur = availableCompanies.find((c: any) => c.PRCo == parseInt(co));\r\n if (cur) {\r\n this.companiesEnabledForOnboarding.push(cur);\r\n }\r\n });\r\n // no companies when comparing available and onboard companies, disable onboarding\r\n if (!this.companiesEnabledForOnboarding || this.companiesEnabledForOnboarding.length === 0) {\r\n this.enableOnboarding = false;\r\n }\r\n }\r\n // since there is no companies in the onboarding list, disable onboarding\r\n else {\r\n this.enableOnboarding = false;\r\n }\r\n }\r\n else {\r\n this.companiesEnabledForOnboarding = null;\r\n this.enableOnboarding = false;\r\n }\r\n }\r\n\r\n setLoginOptions() {\r\n switch (Number(this.portalSettings.SecurityMode.ConfigValue)) { \r\n case 1:\r\n this.isWindowsLoginEnabled = false;\r\n this.isEmployeeLoginEnabled = true;\r\n break;\r\n case 2:\r\n this.isWindowsLoginEnabled = true;\r\n this.isEmployeeLoginEnabled = false;\r\n break;\r\n default:\r\n this.isWindowsLoginEnabled = true;\r\n this.isEmployeeLoginEnabled = true;\r\n break;\r\n }\r\n\r\n this.isViewpointLoginEnabled = this.portalSettings.ViewpointOneLoginEnabled.ConfigValue == 1;\r\n\r\n this.getVistaTidEnabled();\r\n }\r\n\r\n changeMainMenu(menu: MainMenuType) {\r\n if (this.isCompanySelection && this.isCoDropdownVisible) {\r\n this.updateCompanyOnMenuSwitch();\r\n }\r\n\r\n this.syncEmployeeNum(menu);\r\n if (this.activeMainMenu == MainMenuType.Enroll) {\r\n this.enrollForm.reset();\r\n }\r\n\r\n this.activeMainMenu = menu;\r\n\r\n if (this.activeMainMenu == MainMenuType.Default) {\r\n this.updateInputFocusForSubMenu();\r\n }\r\n }\r\n\r\n // Help keep the company dropdown in sync with the company selected in the other forms\r\n updateCompanyOnMenuSwitch() {\r\n switch (this.activeMainMenu) {\r\n case MainMenuType.Default:\r\n this.company = this.employeeLoginForm.value.companySelect;\r\n break;\r\n case MainMenuType.Enroll:\r\n this.company = this.enrollForm.value.companySelect;\r\n break;\r\n case MainMenuType.SignInHelp:\r\n this.company = this.passwordResetForm.value.companySelect;\r\n break;\r\n }\r\n\r\n this.setCompanySelect(this.company);\r\n }\r\n\r\n changeSubMenu(menu: SubMenuType) {\r\n this.activeSubMenu = menu;\r\n this.updateInputFocusForSubMenu();\r\n }\r\n\r\n viewpointLogin() {\r\n var viewpointLoginUrl = \"/Account/IdentityLogin\";\r\n if (this.returnUrl != null || this.returnUrl != '') {\r\n viewpointLoginUrl += \"?relayUrl=\" + this.returnUrl + encodeURIComponent(window.location.hash);\r\n }\r\n window.location.href = viewpointLoginUrl;\r\n }\r\n\r\n employeeLogin(loginType: LoginType = LoginType.Default) {\r\n if (this.employeeLoginForm.invalid) {\r\n this.notificationsService.showError(\"Please enter your login credentials to sign in\", window.location.pathname);\r\n return;\r\n }\r\n\r\n // Determine where we're getting the company number from\r\n let company = null;\r\n if (this.isCompanySelection && !this.coDropdownCompanies) {\r\n company = this.employeeLoginForm.value.companyInput;\r\n }\r\n else if (this.isCompanySelection && this.coDropdownCompanies) {\r\n company = this.employeeLoginForm.value.companySelect;\r\n }\r\n else {\r\n company = this.company;\r\n }\r\n\r\n this.isLoading = true;\r\n let loginData = {\r\n Employee: this.employeeLoginForm.value.employeeNum,\r\n Password: this.employeeLoginForm.value.employeePassword,\r\n PRCo: company,\r\n PMMode: loginType == LoginType.FieldMode && this.enableFieldMode,\r\n ViewpointID: this.vpid,\r\n IdentityToken: this.idToken\r\n };\r\n\r\n this.accountService.login(loginData).then((response: any) => {\r\n if (response.success) {\r\n if (this.isSMLogin) {\r\n window.location.href = '/sm/manage';\r\n }\r\n else if (this.isKioskLogin) {\r\n window.location.href = \"/Employee/ClockInOut?kioskLogin=true\";\r\n }\r\n else {\r\n if (loginType == LoginType.ClockInOut && this.enableClockInOut) {\r\n window.location.href = \"/Employee/ClockInOut\";\r\n }\r\n else {\r\n if (this.returnUrl) {\r\n window.location.href = this.returnUrl + window.location.hash;\r\n }\r\n else {\r\n window.location.href = '/';\r\n }\r\n }\r\n }\r\n } else {\r\n this.isLoading = false;\r\n this.notificationsService.showError(this.loginErrorMsg, window.location.pathname);\r\n }\r\n }, (error) => {\r\n this.isLoading = false;\r\n });\r\n }\r\n\r\n windowsLogin(loginType: LoginType = LoginType.Default) {\r\n if (this.windowsLoginForm.invalid) {\r\n this.notificationsService.showError(\"Please enter your login credentials to sign in\", window.location.pathname);\r\n return; \r\n }\r\n\r\n this.isLoading = true;\r\n\r\n let loginData = {\r\n username: this.windowsLoginForm.value.windowsUsername,\r\n password: this.windowsLoginForm.value.windowsPassword,\r\n loginPIN: this.windowsLoginForm.value.windowsPin,\r\n pmMode: loginType == LoginType.FieldMode && this.enableFieldMode,\r\n usingADEmail: this.portalSettings.LoginUsingADEmailField.ConfigValue == 1,\r\n viewpointID: this.vpid,\r\n idToken: this.idToken\r\n };\r\n\r\n this.accountService.windowsLogin(loginData).then((response: any) => {\r\n if (response.success) {\r\n if (loginType == LoginType.ClockInOut && this.enableClockInOut) {\r\n window.location.href = \"/Employee/ClockInOut\";\r\n }\r\n else if (this.returnUrl){\r\n window.location.href = this.returnUrl + window.location.hash;\r\n }\r\n else {\r\n window.location.href = '/';\r\n }\r\n } else {\r\n this.isLoading = false;\r\n this.notificationsService.showError(response.errorMessage, window.location.pathname);\r\n }\r\n }, (error) => {\r\n this.isLoading = false;\r\n this.notificationsService.showError(\"An error occurred while logging in. Please try again.\", window.location.pathname); \r\n });\r\n }\r\n\r\n goToOnboarding() {\r\n // If only one company is enabled for onboarding, go directly to that company\r\n if (this.companiesEnabledForOnboarding.length == 1) {\r\n window.location.href = \"/Careers/Welcome#/C/\" + this.companiesEnabledForOnboarding[0].PRCo;\r\n }\r\n // Otherwise choose from the list\r\n else if (this.companiesEnabledForOnboarding.length > 1) {\r\n // open company picker modal\r\n let modalRef = this.ngbModalService.open(LoginOnboardCoPickModalComponent, { size: 'md', backdrop: 'static' });\r\n modalRef.componentInstance.companies = this.companiesEnabledForOnboarding;\r\n modalRef.result.then((result: any) => {\r\n if (result) {\r\n window.location.href = \"/Careers/Welcome#/C/\" + result;\r\n }\r\n }).catch((res: any) => { });\r\n }\r\n }\r\n\r\n enroll() {\r\n if (this.setPasswordInEnrollment && this.doesPasswordsMatch(this.enrollForm.value.password, this.enrollForm.value.confirmPassword) == false) {\r\n return;\r\n }\r\n \r\n this.isLoading = true;\r\n\r\n // Determine where we're getting the company number from\r\n let company = null;\r\n if (this.isCompanySelection && !this.coDropdownCompanies) {\r\n company = this.enrollForm.value.companyInput;\r\n }\r\n else if (this.isCompanySelection && this.coDropdownCompanies) {\r\n company = this.enrollForm.value.companySelect;\r\n }\r\n else {\r\n company = this.company;\r\n }\r\n\r\n let accountData = {\r\n PRCo: company,\r\n Employee: this.enrollForm.value.employeeNum,\r\n Password: this.enrollForm.value.password,\r\n ConfirmPassword: this.enrollForm.value.confirmPassword,\r\n LastFourSSN: this.enrollForm.value.securityPin\r\n }\r\n\r\n this.accountService.createAccount(accountData).then((response: any) => {\r\n if (response.success) {\r\n if (response.msg == null) {\r\n if (this.returnUrl)\r\n window.location.href = this.returnUrl + window.location.hash\r\n else\r\n window.location.href = '/';\r\n }\r\n else {\r\n this.notificationsService.showSuccess(response.msg);\r\n this.isLoading = false;\r\n }\r\n }\r\n else {\r\n // if not successful, bind errors to error variables\r\n this.isLoading = false;\r\n if (response.errorMessage == null) {\r\n this.notificationsService.showError(response.msg, window.location.pathname);\r\n if (response.url != null) {\r\n window.location.href = response.url;\r\n }\r\n }\r\n else {\r\n this.notificationsService.showError(response.errorMessage, window.location.pathname);\r\n }\r\n }\r\n }, (error) => {\r\n this.isLoading = false;\r\n })\r\n }\r\n\r\n resetPassword() {\r\n this.isLoading = true;\r\n\r\n // Determine where we're getting the company number from\r\n let company = null;\r\n if (this.isCompanySelection && !this.coDropdownCompanies) {\r\n company = this.passwordResetForm.value.companyInput;\r\n }\r\n else if (this.isCompanySelection && this.coDropdownCompanies) {\r\n company = this.passwordResetForm.value.companySelect;\r\n }\r\n else {\r\n company = this.company;\r\n }\r\n\r\n this.accountService.requestPasswordReset(this.passwordResetForm.value.employeeNum, company, this.passwordResetForm.value.securityPin).then((response: any) => {\r\n if (response.success && response.isSent) {\r\n if (response.isSMSRequest) {\r\n this.router.navigate(['/account/resetaccountpassword'], { queryParams: { manualToken: true }});\r\n }\r\n else {\r\n this.isLoading = false;\r\n this.notificationsService.showSuccess(response.responseMsg);\r\n this.changeMainMenu(MainMenuType.Default);\r\n\r\n // clearing all but the company number dropdowns\r\n this.employeeLoginForm.controls['employeeNum'].setValue('');\r\n this.employeeLoginForm.controls['employeePassword'].setValue('');\r\n this.windowsLoginForm.controls['windowsUsername'].setValue('');\r\n this.windowsLoginForm.controls['windowsPassword'].setValue('');\r\n this.enrollForm.controls['employeeNum'].setValue('');\r\n this.enrollForm.controls['securityPin'].setValue('');\r\n this.enrollForm.controls['password'].setValue('');\r\n this.enrollForm.controls['confirmPassword'].setValue('');\r\n this.passwordResetForm.controls['employeeNum'].setValue('');\r\n this.passwordResetForm.controls['securityPin'].setValue('');\r\n }\r\n }\r\n else {\r\n this.isLoading = false;\r\n this.notificationsService.showError(response.responseMsg, window.location.pathname);\r\n }\r\n }, (error) => {\r\n this.isLoading = false;\r\n });\r\n }\r\n\r\n getOnboardingCompanies(): any {\r\n let enableOnboardLoginByCompany = this.portalSettings.EnableOnboardLoginByCompany.ConfigValue;\r\n if (enableOnboardLoginByCompany !== null && enableOnboardLoginByCompany !== '' && enableOnboardLoginByCompany !== undefined) {\r\n return enableOnboardLoginByCompany.split(',');\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n\r\n setCompanySelect(co: number) {\r\n this.employeeLoginForm.controls['companySelect'].setValue(co);\r\n this.enrollForm.controls['companySelect'].setValue(co);\r\n this.passwordResetForm.controls['companySelect'].setValue(co);\r\n }\r\n\r\n setCompanyValidationOnForms() {\r\n if (this.isCompanySelection && this.isCoDropdownVisible) {\r\n this.employeeLoginForm.get('companySelect').setValidators(Validators.required);\r\n this.employeeLoginForm.get('companyInput').clearValidators();\r\n this.enrollForm.get('companySelect').setValidators(Validators.required);\r\n this.enrollForm.get('companyInput').clearValidators();\r\n this.passwordResetForm.get('companySelect').setValidators(Validators.required);\r\n this.passwordResetForm.get('companyInput').clearValidators();\r\n }\r\n else if (this.isCompanySelection && !this.isCoDropdownVisible) {\r\n this.employeeLoginForm.get('companySelect').clearValidators();\r\n this.employeeLoginForm.get('companyInput').setValidators(Validators.required);\r\n this.enrollForm.get('companySelect').clearValidators();\r\n this.enrollForm.get('companyInput').setValidators(Validators.required);\r\n this.passwordResetForm.get('companySelect').clearValidators();\r\n this.passwordResetForm.get('companyInput').setValidators(Validators.required);\r\n }\r\n else {\r\n this.employeeLoginForm.get('companySelect').clearValidators();\r\n this.employeeLoginForm.get('companyInput').clearValidators();\r\n this.enrollForm.get('companySelect').clearValidators();\r\n this.enrollForm.get('companyInput').clearValidators();\r\n this.passwordResetForm.get('companySelect').clearValidators();\r\n this.passwordResetForm.get('companyInput').clearValidators();\r\n }\r\n\r\n this.employeeLoginForm.updateValueAndValidity();\r\n this.enrollForm.updateValueAndValidity();\r\n this.passwordResetForm.updateValueAndValidity();\r\n }\r\n\r\n updateCompanyLogo(event: any) {\r\n if (this.changeLogo) {\r\n this.setLogoUrl(event.target.value);\r\n }\r\n }\r\n\r\n setLogoUrl(co: number, size: string = 'L') {\r\n this.logoUrl = '/Company/GetLogo?co=' + co + '&size=' + size;\r\n }\r\n\r\n goToPasswordReset() {\r\n this.router.navigate(['/account/resetaccountpassword'], { queryParams: { manualToken: true } });\r\n }\r\n\r\n capsLockEvent(event: KeyboardEvent) {\r\n this.capsLockOn = event.getModifierState && event.getModifierState('CapsLock');\r\n }\r\n\r\n windowResizeEvent(event) {\r\n if (window.innerWidth < 768 || this.utilityService.isMobileMode())\r\n this.isMobileMode = true;\r\n else\r\n this.isMobileMode = false;\r\n }\r\n\r\n doesPasswordsMatch(password1: string, password2: string): boolean {\r\n if (password1 != password2) {\r\n this.notificationsService.showError(\"Passwords must match!\", window.location.pathname);\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n\r\n syncEmployeeNum(menu: MainMenuType) {\r\n // Sync employee number between sign in help and employee login forms\r\n if (this.activeMainMenu == MainMenuType.SignInHelp) {\r\n this.employeeLoginForm.controls['employeeNum'].setValue(this.passwordResetForm.value.employeeNum);\r\n }\r\n else if (menu == MainMenuType.SignInHelp) {\r\n this.passwordResetForm.controls['employeeNum'].setValue(this.employeeLoginForm.value.employeeNum);\r\n }\r\n }\r\n\r\n updateValidatorsFromPortalSettings() {\r\n // update windows login page to include the pin when it's required.\r\n if (this.isWindowsPinRequired) {\r\n this.windowsLoginForm.get('windowsPin').setValidators(Validators.required);\r\n }\r\n else {\r\n this.windowsLoginForm.get('windowsPin').clearValidators();\r\n }\r\n this.windowsLoginForm.get('windowsPin').updateValueAndValidity();\r\n\r\n // update enroll form to include password requirements\r\n if (this.setPasswordInEnrollment) {\r\n this.enrollForm.get('password').setValidators(Validators.required);\r\n this.enrollForm.get('confirmPassword').setValidators(Validators.required);\r\n }\r\n else {\r\n this.enrollForm.get('password').clearValidators();\r\n this.enrollForm.get('confirmPassword').clearValidators();\r\n }\r\n this.enrollForm.get('password').updateValueAndValidity();\r\n this.enrollForm.get('confirmPassword').updateValueAndValidity();\r\n }\r\n\r\n updateInputFocusForSubMenu() {\r\n setTimeout(() => {\r\n if (this.activeSubMenu == SubMenuType.EmployeeLogin) {\r\n this.employeeLoginNum?.nativeElement?.focus();\r\n }\r\n else if (this.activeSubMenu == SubMenuType.WindowsLogin) {\r\n this.windowsUsername?.nativeElement?.focus();\r\n }\r\n }, 100);\r\n }\r\n\r\n clearForms() {\r\n this.employeeLoginForm.reset();\r\n this.windowsLoginForm.reset();\r\n this.enrollForm.reset();\r\n this.passwordResetForm.reset();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n Loading...\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\"\"

\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n

Employee #

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Caps lock on\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n

Windows Account

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Caps lock on\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\"\"

\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n Caps lock on
\r\n Passwords must be at least 12 characters long, and must contain at least 3 of the following:\r\n
    \r\n
  • Lowercase letters
  • \r\n
  • Uppercase letters
  • \r\n
  • Numbers
  • \r\n
  • Special characters
  • \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\"\"

\r\n

{{signInHelpText}}

\r\n

Forgot your password? To reset your password, fill out the form below and click Request.

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { NotificationsService } from '../../../core/services/notifications.service';\r\nimport { PortalSettingsService } from '../../../core/services/portal-settings.service';\r\nimport { UtilityService } from '../../../core/services/utility.service';\r\nimport { AccountService } from '../services/account.service';\r\n\r\n@Component({\r\n selector: 'app-namedlogin',\r\n templateUrl: './namedlogin.component.html',\r\n styleUrls: ['./namedlogin.component.css']\r\n})\r\nexport class NamedloginComponent implements OnInit, OnDestroy {\r\n portalSettings: any;\r\n isMobileMode: boolean;\r\n currentYear: number;\r\n capsLockOn: boolean;\r\n isLoading: boolean;\r\n logoUrl: string;\r\n welcomeText: string;\r\n loginErrorMessage: string = \"Login failed - please confirm your information and retry. Note that repeated login attempts may lock your account.\";\r\n\r\n loginForm = new FormGroup({\r\n username: new FormControl(null, Validators.required),\r\n password: new FormControl(null, Validators.required)\r\n });\r\n\r\n constructor(portalSettingsService: PortalSettingsService, private accountService: AccountService, private notificationsService: NotificationsService, private utilityService: UtilityService) {\r\n this.portalSettings = portalSettingsService.getPortalSettings();\r\n this.isMobileMode = this.utilityService.isMobileMode();\r\n this.currentYear = new Date().getFullYear();\r\n }\r\n\r\n ngOnInit(): void {\r\n document.body.style.backgroundImage = \"url('/Cache/images/trimble-background.png')\";\r\n window.addEventListener('keyup', (event) => this.capsLockEvent(event));\r\n window.addEventListener('resize', (event) => this.windowResizeEvent(event));\r\n\r\n let logoCo = this.portalSettings.LogoHQCo.ConfigValue ?? 1;\r\n this.setLogoUrl(logoCo);\r\n\r\n this.welcomeText = this.portalSettings.LoginWelcomeRichText.ConfigValue;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n window.removeEventListener('keyup', (event) => this.capsLockEvent(event));\r\n window.removeEventListener('resize', (event) => this.windowResizeEvent(event));\r\n }\r\n\r\n capsLockEvent(event: KeyboardEvent) {\r\n this.capsLockOn = event.getModifierState && event.getModifierState('CapsLock');\r\n }\r\n\r\n windowResizeEvent(event) {\r\n if (window.innerWidth < 768)\r\n this.isMobileMode = true;\r\n else\r\n this.isMobileMode = false;\r\n }\r\n\r\n login() {\r\n if (this.loginForm.value.username == null || this.loginForm.value.password == null) {\r\n this.notificationsService.showError(\"Please enter your username and/or password\", window.location.pathname);\r\n return;\r\n }\r\n\r\n this.isLoading = true;\r\n this.accountService.namedLogin(this.loginForm.value.username, this.loginForm.value.password).then((response: any) => {\r\n if (response.success) {\r\n window.location.href = '/';\r\n }\r\n else {\r\n this.isLoading = false;\r\n this.notificationsService.showError(this.loginErrorMessage, window.location.pathname);\r\n }\r\n }).catch((error) => {\r\n this.isLoading = false;\r\n this.notificationsService.showError(\"Error occurred while trying to login, contact your administrator.\", window.location.pathname);\r\n });\r\n }\r\n\r\n setLogoUrl(co: number, size: string = 'L') {\r\n this.logoUrl = '/Company/GetLogo?co=' + co + '&size=' + size;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n Loading...\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Caps lock on\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n"],"names":["RouterModule","LoginComponent","NamedloginComponent","ChangeAccountPasswordComponent","routes","path","component","AccountRoutingModule","forChild","imports","exports","CommonModule","QuillModule","FormsModule","ReactiveFormsModule","SharedModule","AccountModule","declarations","FormControl","FormGroup","Validators","LoginOnboardCoPickModalComponent","i0","MainMenuType","SubMenuType","LoginType","constructor","portalSettingsService","accountService","notificationsService","utilityService","ngbModalService","router","titleService","Default","companySelect","companyInput","employeeNum","required","employeePassword","windowsUsername","windowsPassword","windowsPin","securityPin","password","confirmPassword","portalSettings","getPortalSettings","isMobileMode","currentYear","Date","getFullYear","ngOnInit","setTitle","HRPortalName","ConfigValue","tCDisableNonPassKiosk","TCDisableNonPassKiosk","getUrlParams","document","body","style","backgroundImage","window","addEventListener","event","capsLockEvent","windowResizeEvent","setLoginOptions","getCompanyConfiguration","enableEnrollAndPasswordReset","DisableEnrollPasswordChange","enableClockInOut","ClockInLoginEnabled","enableFieldMode","FieldLoginEnabled","smsPasswordReset","SendSMSOnResetIfNoEmail","setPasswordInEnrollment","PortalEnrollmentMode","welcomeText","LoginWelcomeRichText","passwordResetButtonText","ResetPasswordOverrideText","signInHelpText","LoginPageHelpingText","securityPinText","SecurityPinMessage","isWindowsPinRequired","WindowsLoginPinReqd","enableViewpointOneLogin","ViewpointOneLoginEnabled","hideEnrollHelp","loginErrorMsg","ngOnDestroy","removeEventListener","isSMLogin","isKioskLogin","location","pathname","indexOf","showWarning","setTimeout","href","query","search","urlParams","URLSearchParams","url","get","returnUrlResponse","checkReturnUrl","returnUrl","urlCoString","companyNumResponse","getCompanyNumFromUrl","companyFromUrl","parseInt","vpid","idToken","timedOut","showError","getVistaTidEnabled","then","response","isVistaTidEnabled","isCompanyDropdown","CompanyLoginChoices","logoCo","LogoHQCo","setLogoUrl","isCompanySelection","isCoDropdownVisible","setOnboardButtonVisibility","PRCo","PRCoNameMask","company","coDropdownCompanies","getCompanies","setDefaultCompany","length","changeLogo","enableOnboarding","setCompanyValidationOnForms","companies","defaultCompany","DefaultLoginCompany","defaultDropdownCo","find","co","undefined","setCompanySelect","availableCompanies","EnableOnboarding","onboardCompanies","getOnboardingCompanies","forEach","cur","c","companiesEnabledForOnboarding","push","Number","SecurityMode","isWindowsLoginEnabled","isEmployeeLoginEnabled","isViewpointLoginEnabled","changeMainMenu","menu","updateCompanyOnMenuSwitch","syncEmployeeNum","activeMainMenu","Enroll","enrollForm","reset","updateInputFocusForSubMenu","employeeLoginForm","value","SignInHelp","passwordResetForm","changeSubMenu","activeSubMenu","viewpointLogin","viewpointLoginUrl","encodeURIComponent","hash","employeeLogin","loginType","invalid","isLoading","loginData","Employee","Password","PMMode","FieldMode","ViewpointID","IdentityToken","login","success","ClockInOut","error","windowsLogin","windowsLoginForm","username","loginPIN","pmMode","usingADEmail","LoginUsingADEmailField","viewpointID","errorMessage","goToOnboarding","modalRef","open","size","backdrop","componentInstance","result","catch","res","enroll","doesPasswordsMatch","accountData","ConfirmPassword","LastFourSSN","createAccount","msg","showSuccess","resetPassword","requestPasswordReset","isSent","isSMSRequest","navigate","queryParams","manualToken","responseMsg","controls","setValue","enableOnboardLoginByCompany","EnableOnboardLoginByCompany","split","setValidators","clearValidators","updateValueAndValidity","updateCompanyLogo","target","logoUrl","goToPasswordReset","capsLockOn","getModifierState","innerWidth","password1","password2","updateValidatorsFromPortalSettings","EmployeeLogin","employeeLoginNum","nativeElement","focus","WindowsLogin","clearForms","selectors","viewQuery","loginForm","namedLogin","loginErrorMessage","decls","vars","consts","template","ctx"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}