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uDAAW,EACX2N,yDAAa,EACbC,+DAAe,EACf5N,uDAAW,EACX0N,+DAAmB,EACnB5Q,gFAAiB,EAQjBiD,yDAAY,EACZ1D,iEAAS,EACT2D,uDAAW,EACX2N,yDAAa,EACbC,+DAAe;EAAA;;;sHAONhR,YAAY;IAAAmB,eAhBrBsI,mFAAgB,EAChB2C,8FAAiB,EACjBuB,8FAAiB;IAAA7M,UAbjBqC,yDAAY,EACZ1D,iEAAS,EACT2B,yDAAY,EACZgC,uDAAW,EACX2N,yDAAa,EACbC,+DAAe,EACf5N,uDAAW,EACX0N,+DAAmB,EACnB5Q,gFAAiB;IAAAkC,UAQjBe,yDAAY,EACZ1D,iEAAS,EACT2D,uDAAW,EACX2N,yDAAa,EACbC,+DAAe,EACfvH,mFAAgB;EAAA;AAAA;kEAVhBA,mFAAgB,wjBAChB2C,8FAAiB,EACjBuB,8FAAiB;;;;;;;;;;;;;;AC5BrB;AACA;AACA;AAEO,MAAMsB,WAAW,GAAG;EACzBgC,UAAU,EAAE;CACb;AAED;;;;;;AAMA;;;;;;;;;;;;;;;;ACd+C;AAGF;AACY;AAEzD,IAAIhC,6EAAsB,EAAE;EAC1BiC,6DAAc,EAAE;;AAGlBC,sEAAAA,EAAwB,CAACC,eAAe,CAAC9Q,sDAAS,CAAC,CAChD+H,KAAK,CAACgJ,GAAG,IAAIxG,OAAO,CAAChF,KAAK,CAACwL,GAAG,CAAC,CAAC","sources":["./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/app.routing.ts","./src/app/core/components/access-denied/access-denied.component.html","./src/app/core/components/access-denied/access-denied.component.ts","./src/app/core/components/app-footer/app-footer.component.ts","./src/app/core/components/app-footer/app-footer.component.html","./src/app/core/components/impersonation/impersonation.component.html","./src/app/core/components/impersonation/impersonation.component.ts","./src/app/core/core.module.ts","./src/app/core/guards/role.guard.ts","./src/app/core/index.ts","./src/app/core/models/application-user.ts","./src/app/core/services/app-errror-handler.ts","./src/app/core/services/app-info.service.ts","./src/app/core/services/http-cache-control.service.ts","./src/app/core/services/impersonation.service.ts","./src/app/core/services/override-login.service.ts","./src/app/core/services/session-interuptor.service.ts","./src/app/core/services/user.service.ts","./src/app/home/home.component.ts","./src/app/home/home.component.html","./src/app/shared/components/details/details.component.ts","./src/app/shared/components/details/details.component.html","./src/app/shared/components/details/question/question.component.ts","./src/app/shared/components/details/question/question.component.html","./src/app/shared/components/details/workflow/workflow.component.html","./src/app/shared/components/details/workflow/workflow.component.ts","./src/app/shared/components/index.ts","./src/app/shared/enums/enum-environment/enum-environment-name.ts","./src/app/shared/enums/enum-environment/index.ts","./src/app/shared/enums/index.ts","./src/app/shared/index.ts","./src/app/shared/models/index.ts","./src/app/shared/models/sub-certification-status.ts","./src/app/shared/services/fiscal-year.service.ts","./src/app/shared/services/index.ts","./src/app/shared/services/sub-certification-unit.service.ts","./src/app/shared/services/sub-certification.service.ts","./src/app/shared/services/window.service.ts","./src/app/shared/services/workflow.service.ts","./src/app/shared/shared.module.ts","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { InternalRoute, ExternalLink, HeaderUser, BannerLinks } from '@uiowa/uiowa-header';\r\nimport { ApplicationUser, UserService, ImpersonationService } from './core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AppInfoService } from './core/services/app-info.service';\r\nimport { EnumEnvironmentName } from './shared';\r\n\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent implements OnInit, OnDestroy {\r\n applicationName = '';\r\n externalLinks = [];\r\n internalRoutes: InternalRoute[];\r\n internalAdminRoutes: InternalRoute[];\r\n user: HeaderUser;\r\n message:string;\r\n\r\n isProduction: boolean;\r\n startTimer: boolean;\r\n private userSubscription: Subscription; \r\n bannerLinks: BannerLinks;\r\n\r\n constructor(\r\n private readonly userService: UserService,\r\n private readonly impersonationService: ImpersonationService,\r\n private readonly appInfoService: AppInfoService,\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.appInfoService.getApplicationInfo().subscribe(a => {\r\n this.isProduction = a.hostingEnvironment === EnumEnvironmentName.Production;\r\n });\r\n\r\n\r\n this.userSubscription = this.userService.user$.subscribe(user => {\r\n this.user = {\r\n userName: user.hawkId,\r\n originalUserName: user.originalUser\r\n };\r\n \r\n this.setupNavMenus(user);\r\n this.startTimer = user.isAuthenticated();\r\n\r\n this.appInfoService.getApplicationInfo().subscribe(a => {\r\n this.isProduction = a.hostingEnvironment === \"production\";\r\n var selfServiceLink = a.hostingEnvironment === \"production\" ? \"https://hris.uiowa.edu\" : \"https://hristest.its.uiowa.edu/portal18/\";\r\n this.bannerLinks = new BannerLinks(new ExternalLink('Employee Self Service', selfServiceLink, '_self'))\r\n }); \r\n });\r\n }\r\n\r\n setupNavMenus(user: ApplicationUser) {\r\n this.internalRoutes = [];\r\n if (user.isAuthenticated()) {\r\n this.internalRoutes.push(new InternalRoute('Home', '/home'));\r\n }\r\n if (user.isAdmin()) {\r\n this.internalRoutes = [\r\n ...this.internalRoutes,\r\n new InternalRoute('Admin', null, [\r\n new InternalRoute('Sub-certifications', '/admin/list'),\r\n new InternalRoute('Instantiate New Fiscal Year', '/admin/newfy')\r\n ])\r\n ];\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.userSubscription) {\r\n this.userSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n stopImpersonate() {\r\n this.impersonationService.stopImpersonate();\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 { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CoreModule, UserService } from './core';\r\nimport { ToastrModule } from 'ngx-toastr';\r\nimport { SessionExpirationAlert } from 'session-expiration-alert';\r\nimport { AppRoutingModule } from './app.routing';\r\nimport { AppComponent } from './app.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { SharedModule } from './shared/shared.module';\r\nimport { AgGridModule } from 'ag-grid-angular';\r\nimport { FaIconLibrary, FontAwesomeModule } from \"@fortawesome/angular-fontawesome\";\r\nimport { fas } from \"@fortawesome/free-solid-svg-icons\";\r\n\r\nexport function appUserServiceFactory(userService: UserService): Function {\r\n return () => userService.getUser();\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n HomeComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n BrowserAnimationsModule,\r\n NgbModule,\r\n ToastrModule.forRoot({\r\n positionClass: 'toast-top-center',\r\n preventDuplicates: true\r\n }),\r\n SessionExpirationAlert.forRoot(),\r\n CoreModule,\r\n AppRoutingModule,\r\n AgGridModule.withComponents([]),\r\n SharedModule,\r\n FontAwesomeModule\r\n ],\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: appUserServiceFactory,\r\n deps: [UserService],\r\n multi: true\r\n }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule {\r\n constructor(library: FaIconLibrary) {\r\n library.addIconPacks(fas);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { RoleGuard, AccessDeniedComponent } from './core';\r\n\r\nexport const routes: Routes = [\r\n {\r\n path: '',\r\n redirectTo: 'home',\r\n pathMatch: 'full'\r\n },\r\n {\r\n path: 'home',\r\n component: HomeComponent,\r\n canActivate: [RoleGuard],\r\n data: { roles: ['BasicUser'] }\r\n },\r\n {\r\n path: 'form',\r\n loadChildren: () => import ('./sub-certification/sub-certification.module').then(m => m.SubCertificationModule),\r\n canActivate: [RoleGuard],\r\n data: { roles: ['BasicUser'] }\r\n },\r\n {\r\n path: 'admin',\r\n loadChildren: () => import ('./admin/admin.module').then(m => m.AdminModule), \r\n canActivate: [RoleGuard],\r\n data: { roles: ['Admin'] }\r\n },\r\n {\r\n path: 'access-denied',\r\n component: AccessDeniedComponent\r\n },\r\n {\r\n path: '**',\r\n redirectTo: ''\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule {}\r\n","
\r\n

Access Denied.

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

Hello, {{user.hawkId}},

\r\n

Your account doesn't have enough permission to view protected content in this website.

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

Hello,

\r\n

You haven't logged in our system or your account doesn't have enough permission.

\r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UserService } from '../../services/user.service';\r\nimport { LoginService } from '@uiowa/uiowa-header';\r\n\r\n@Component({\r\n templateUrl: './access-denied.component.html',\r\n styleUrls: ['./access-denied.component.css']\r\n})\r\nexport class AccessDeniedComponent implements OnInit {\r\n constructor(\r\n private readonly loginService: LoginService,\r\n public readonly userService: UserService\r\n ) {}\r\n\r\n ngOnInit() {}\r\n login() {\r\n this.loginService.login();\r\n }\r\n}\r\n","import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n templateUrl: './app-footer.component.html',\r\n styleUrls: ['./app-footer.component.css'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class AppFooterComponent implements OnInit {\r\n year = 0;\r\n emailLinkText = 'Business Services IT';\r\n emailDistributionList = 'FBIS-DL_Developer-Financials@iowa.uiowa.edu';\r\n emailSubject = 'Questions about the FinancialSubCertification Website';\r\n emailHref: string;\r\n constructor() {}\r\n\r\n ngOnInit() {\r\n const today = new Date();\r\n this.year = today.getFullYear();\r\n this.emailHref = `mailto:${\r\n this.emailDistributionList\r\n }?subject=${this.emailSubject.replace(' ', '%20')}`;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n Copyright © {{year}}\r\n University of Iowa\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n E-mail any questions to\r\n {{emailLinkText}}\r\n
\r\n
\r\n
\r\n","
\r\n \r\n

Warning

\r\n

Please logout or stop impersonation after you finish testing.

\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, OnInit } from '@angular/core';\r\nimport { UserService } from '../../services/user.service';\r\nimport { ImpersonationService } from '../../services/impersonation.service';\r\n\r\n@Component({\r\n selector: 'app-impersonation',\r\n templateUrl: './impersonation.component.html',\r\n styleUrls: ['./impersonation.component.css']\r\n})\r\nexport class ImpersonationComponent implements OnInit {\r\n hawkId: string;\r\n constructor(\r\n public readonly userService: UserService,\r\n private readonly impersonationService: ImpersonationService\r\n ) {}\r\n\r\n ngOnInit() {}\r\n impersonate() {\r\n if (!this.hawkId) {\r\n return;\r\n }\r\n this.impersonationService.impersonate(this.hawkId);\r\n }\r\n\r\n stopImpersonate() {\r\n this.impersonationService.stopImpersonate();\r\n }\r\n}\r\n","import { NgModule, Optional, SkipSelf, ErrorHandler } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { UiowaHeaderModule, LoginService } from '@uiowa/uiowa-header';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { SessionExpirationAlert, SessionInteruptService} from 'session-expiration-alert';\r\nimport { AppFooterComponent } from './components/app-footer/app-footer.component';\r\nimport { AccessDeniedComponent } from './components/access-denied/access-denied.component';\r\nimport { ImpersonationComponent } from './components/impersonation/impersonation.component';\r\nimport { AppErrorHandler } from './services/app-errror-handler';\r\nimport { SessionInteruptorService } from './services/session-interuptor.service';\r\nimport { HttpCacheControlService } from './services/http-cache-control.service';\r\nimport { OverrideLoginService } from './services/override-login.service';\r\nimport { FontAwesomeModule } from \"@fortawesome/angular-fontawesome\";\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n UiowaHeaderModule,\r\n HttpClientModule,\r\n RouterModule,\r\n FormsModule,\r\n NgbModule,\r\n SessionExpirationAlert,\r\n FontAwesomeModule\r\n ],\r\n declarations: [\r\n AppFooterComponent,\r\n AccessDeniedComponent,\r\n ImpersonationComponent\r\n ],\r\n providers: [\r\n {\r\n provide: ErrorHandler,\r\n useClass: AppErrorHandler\r\n },\r\n { provide: SessionInteruptService, useClass: SessionInteruptorService },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: HttpCacheControlService,\r\n multi: true\r\n },\r\n {\r\n provide: LoginService,\r\n useClass: OverrideLoginService\r\n }\r\n ],\r\n exports: [\r\n UiowaHeaderModule,\r\n AppFooterComponent,\r\n AccessDeniedComponent,\r\n ImpersonationComponent\r\n ]\r\n})\r\nexport class CoreModule {\r\n constructor(\r\n @Optional()\r\n @SkipSelf()\r\n core: CoreModule\r\n ) {\r\n if (core) {\r\n throw new Error('Core Module can only be imported in AppModule.');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport {\r\n CanActivate,\r\n ActivatedRouteSnapshot,\r\n RouterStateSnapshot,\r\n Router,\r\n CanLoad,\r\n Route\r\n} from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { UserService } from '../services/user.service';\r\nimport { map, take } from 'rxjs/operators';\r\nimport { LoginService } from '@uiowa/uiowa-header';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleGuard implements CanActivate, CanLoad {\r\n constructor(\r\n private router: Router,\r\n private readonly userService: UserService,\r\n private readonly loginService: LoginService\r\n ) {}\r\n\r\n canActivate(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ): boolean | Observable | Promise {\r\n this.loginService.returnUri = state.url;\r\n const roles = (route.data['roles'] || []) as Array;\r\n return this.userService.user$.pipe(\r\n map(u => {\r\n if (!u.isAuthenticated()) {\r\n this.loginService.login();\r\n return false;\r\n }\r\n if (!roles.some(role => u.roles.some(r => r === role))) {\r\n this.router.navigateByUrl('/access-denied');\r\n return false;\r\n }\r\n return true;\r\n })\r\n );\r\n }\r\n\r\n canLoad(route: Route): Observable | Promise | boolean {\r\n this.loginService.returnUri = route.path;\r\n const roles = (route.data['roles'] || []) as Array;\r\n return this.userService.user$.pipe(\r\n take(1),\r\n map(u => {\r\n if (!u.isAuthenticated()) {\r\n this.loginService.login();\r\n return false;\r\n }\r\n if (!roles.some(role => u.roles.some(r => r === role))) {\r\n this.router.navigateByUrl('/access-denied');\r\n return false;\r\n }\r\n return true;\r\n })\r\n );\r\n }\r\n}\r\n","export { ApplicationUser } from './models/application-user';\r\nexport { UserService } from './services/user.service';\r\nexport { AppInfoService } from './services/app-info.service';\r\nexport { ImpersonationService } from './services/impersonation.service';\r\nexport { RoleGuard } from './guards/role.guard';\r\nexport { AccessDeniedComponent } from './components/access-denied/access-denied.component';\r\nexport { ImpersonationComponent } from './components/impersonation/impersonation.component';\r\nexport { CoreModule } from './core.module';\r\n","export class ApplicationUser {\r\n /**\r\n * Application User View Model.\r\n */\r\n constructor(\r\n public hawkId: string = '',\r\n public originalUser?: string | null,\r\n public roles: string[] = [],\r\n public univId: string = ''\r\n ) {}\r\n\r\n isAuthenticated(): boolean {\r\n return !!this.hawkId;\r\n }\r\n\r\n isBasicUser(): boolean {\r\n return this.roles.some(role => role === 'BasicUser');\r\n }\r\n\r\n isAdmin(): boolean {\r\n return this.roles.some(role => role === 'Admin');\r\n }\r\n}\r\n","import { ErrorHandler, Inject, Injector, Injectable } from '@angular/core';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { ToastrService } from 'ngx-toastr';\r\n\r\n@Injectable()\r\nexport class AppErrorHandler extends ErrorHandler {\r\n constructor(@Inject(Injector) private injector: Injector) {\r\n super();\r\n }\r\n\r\n private get toastrService(): ToastrService {\r\n return this.injector.get(ToastrService);\r\n }\r\n\r\n public handleError(error: any): void {\r\n if (error instanceof HttpErrorResponse) {\r\n if (error.status === 0) {\r\n this.toastrError(\r\n `Developers have been notified and will resolve this issue soon.`,\r\n `System Error`\r\n );\r\n } else {\r\n const msg = error.error ? error.error.message : error.message;\r\n this.toastrError(msg || 'error');\r\n }\r\n } else if (error instanceof TypeError) {\r\n this.toastrError(error.message, 'TypeScript Type error.');\r\n } else if (error instanceof Error) {\r\n this.toastrError(error.message);\r\n } else {\r\n this.toastrError('Something unexpected happened...');\r\n }\r\n super.handleError(error);\r\n }\r\n\r\n private toastrError(msg: string, title?: string) {\r\n this.toastrService.error(msg, title, {\r\n closeButton: true,\r\n timeOut: 5000,\r\n onActivateTick: true\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { AppInfo } from '../models/app-info';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppInfoService {\r\n constructor(private readonly http: HttpClient) {}\r\n\r\n getApplicationInfo(): Observable {\r\n return this.http.get('api/app/info');\r\n }\r\n}","import {\r\n HttpHandler,\r\n HttpProgressEvent,\r\n HttpInterceptor,\r\n HttpSentEvent,\r\n HttpHeaderResponse,\r\n HttpUserEvent,\r\n HttpRequest,\r\n HttpResponse\r\n} from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class HttpCacheControlService implements HttpInterceptor {\r\n intercept(\r\n req: HttpRequest,\r\n next: HttpHandler\r\n ): Observable<\r\n | HttpSentEvent\r\n | HttpHeaderResponse\r\n | HttpProgressEvent\r\n | HttpResponse\r\n | HttpUserEvent\r\n > {\r\n const nextReq = req.clone({\r\n headers: req.headers\r\n .set('Cache-Control', 'no-cache')\r\n .set('Pragma', 'no-cache')\r\n .set('Expires', 'Sat, 01 Jan 2000 00:00:00 GMT')\r\n .set('If-Modified-Since', '0')\r\n });\r\n\r\n return next.handle(nextReq);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { UserService } from './user.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ImpersonationService {\r\n constructor(\r\n private router: Router,\r\n private readonly httpClient: HttpClient,\r\n private readonly userService: UserService,\r\n private readonly toastr: ToastrService\r\n ) {}\r\n\r\n impersonate(hawkIdToBeImpersonated: string) {\r\n if (!hawkIdToBeImpersonated) {\r\n return;\r\n }\r\n const request = { hawkId: hawkIdToBeImpersonated };\r\n this.httpClient.post('account/impersonation', request).subscribe(x => {\r\n if (x) {\r\n this.userService.getUser().then(() => {\r\n this.router.navigateByUrl('/home');\r\n });\r\n } else {\r\n this.toastr.error(`You cannot impersonate ${hawkIdToBeImpersonated}.`);\r\n }\r\n });\r\n }\r\n\r\n stopImpersonate() {\r\n this.httpClient.post('account/impersonation/stop', null).subscribe(x => {\r\n if (x) {\r\n this.userService.getUser().then(() => {\r\n this.router.navigateByUrl('/home');\r\n });\r\n } else {\r\n this.toastr.error(`You failed in stopping impersonation.`);\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { LoginService } from '@uiowa/uiowa-header';\r\n\r\n@Injectable()\r\nexport class OverrideLoginService extends LoginService {\r\n constructor() {\r\n super();\r\n }\r\n\r\n login(): void {\r\n let url = `account/login?returnUri=${encodeURIComponent(this.returnUri)}`;\r\n if ((document as any).documentMode) {\r\n const base = document.getElementsByTagName('base')[0].href;\r\n url = base + url;\r\n }\r\n try {\r\n window.location.replace(url);\r\n } catch (error) {\r\n window.location.href = url;\r\n }\r\n }\r\n\r\n logout(): void {\r\n let url = `account/logout`;\r\n if ((document as any).documentMode) {\r\n const base = document.getElementsByTagName('base')[0].href;\r\n url = base + url;\r\n }\r\n try {\r\n window.location.replace(url);\r\n } catch (error) {\r\n window.location.href = url;\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { SessionInteruptService } from 'session-expiration-alert';\r\nimport { UserService } from './user.service';\r\nimport { LoginService } from '@uiowa/uiowa-header';\r\n\r\n@Injectable()\r\nexport class SessionInteruptorService extends SessionInteruptService {\r\n constructor(\r\n private readonly userService: UserService,\r\n private readonly loginService: LoginService\r\n ) {\r\n super();\r\n }\r\n\r\n continueSession() {\r\n this.userService.getUser();\r\n }\r\n stopSession() {\r\n this.loginService.logout();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { ApplicationUser } from '../models/application-user';\r\nimport { Observable, BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService {\r\n private _user = new BehaviorSubject(new ApplicationUser());\r\n user$: Observable = this._user.asObservable();\r\n\r\n constructor(private readonly httpClient: HttpClient) {}\r\n\r\n getUser(): Promise {\r\n let user = new ApplicationUser();\r\n return this.httpClient\r\n .get('account/user')\r\n .toPromise()\r\n .then(x => {\r\n if (x) {\r\n user = new ApplicationUser(\r\n x.hawkId,\r\n x.originalUser,\r\n x.roles,\r\n x.univId\r\n );\r\n }\r\n this._user.next(user);\r\n return user;\r\n })\r\n .catch(() => {\r\n this._user.next(user);\r\n return user;\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { SubCertificationService, SubCertificationUnitService, SubCertificationViewModel, SubCertificationUnitViewModel, FiscalYearService } from '../shared';\r\nimport { animate, style, transition, trigger } from '@angular/animations';\r\nimport * as _ from 'underscore';\r\n\r\n@Component({\r\n selector: 'app-home',\r\n templateUrl: './home.component.html',\r\n styleUrls: ['./home.component.css'],\r\n animations: [\r\n trigger(\r\n 'myAnimation',\r\n [\r\n transition(\r\n ':enter',\r\n [\r\n style({ opacity: 0 }),\r\n animate('1000ms', style({ 'opacity': 1 }))\r\n ]\r\n ),\r\n transition(\r\n ':leave',\r\n [\r\n style({ 'opacity': 1 }),\r\n animate('1000ms', style({ 'opacity': 0 }))\r\n ]\r\n )\r\n ]\r\n )\r\n ]\r\n})\r\nexport class HomeComponent implements OnInit {\r\n subCertificationUnits: SubCertificationUnitViewModel[];\r\n selectedSubCertificationUnitId: number;\r\n subCertification: SubCertificationViewModel;\r\n fiscalYear: string;\r\n\r\n constructor(\r\n private readonly subCertificationService: SubCertificationService,\r\n private readonly subCertificationUnitService: SubCertificationUnitService,\r\n private readonly fiscalYearService: FiscalYearService\r\n ) {\r\n }\r\n\r\n ngOnInit() {\r\n this.fiscalYearService\r\n .getCurrentFiscalYear()\r\n .subscribe(fiscalYear => {\r\n this.fiscalYear = fiscalYear;\r\n this.subCertificationUnitService\r\n .getAvailableSubCertificationUnitsByFiscalYear(this.fiscalYear)\r\n .subscribe(units => {\r\n this.subCertificationUnits = units;\r\n });\r\n });\r\n }\r\n\r\n onSubCertificationUnitChange() {\r\n if (this.subCertification) {\r\n this.subCertification = null;\r\n }\r\n this.subCertificationService\r\n .getSubCertificationBySubCertificationUnitFiscalYear(this.selectedSubCertificationUnitId, this.fiscalYear)\r\n .subscribe(subCertification => {\r\n this.subCertification = subCertification;\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n

The University of Iowa
Financial Sub-certification
Fiscal Year: {{fiscalYear}}

\r\n
\r\n

The Annual Financial Sub-certification process clarifies a business unit's accountability for financial reporting and underlying internal controls and is intended to serve two purposes:

\r\n
    \r\n
  1. provide reasonable assurance of the underlying numbers in the University's financial statements, and
  2. \r\n
  3. provide reasonable assurance of a sufficient and effective internal control structure which can identify weaknesses in financial processes and systems.
  4. \r\n
\r\n
We certify, to the best of our knowledge, that the information submitted in this financial sub-certification questionnaire is representative of the business practices of our unit for the current fiscal year.
\r\n

Required Certifiers:

\r\n
    \r\n
  1. Dean or VP
  2. \r\n
  3. Senior Fiscal Officer (Primary Business Officer)
  4. \r\n
  5. Senior Human Resources Representative
  6. \r\n
  7. Directors of central units
  8. \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, OnInit, Input } from '@angular/core';\r\nimport { SubCertificationService } from '../../services';\r\nimport { SubCertificationViewModel, SaveAnswerRequest, SubCertificationStatus } from '../../models';\r\nimport { FormBuilder, FormGroup, FormArray, AbstractControl } from '@angular/forms';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport * as _ from 'underscore';\r\n\r\n@Component({\r\n selector: 'app-details',\r\n templateUrl: './details.component.html',\r\n styleUrls: ['./details.component.css']\r\n})\r\nexport class DetailsComponent implements OnInit {\r\n @Input()\r\n subCertification: SubCertificationViewModel;\r\n\r\n showForm = false;\r\n hasBeenSubmitted = false;\r\n saving = false;\r\n savingAsDraft = false;\r\n savingAndSubmitting = false;\r\n routingHistory: string;\r\n\r\n subCertificationForm: FormGroup;\r\n get subCertificationUnit(): AbstractControl {\r\n return this.subCertificationForm.get('subCertificationUnit');\r\n }\r\n get questionForms(): FormArray {\r\n return this.subCertificationForm.get('questions') as FormArray;\r\n }\r\n\r\n constructor(\r\n private readonly subCertificationService: SubCertificationService,\r\n private readonly fb: FormBuilder,\r\n private toastr: ToastrService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.subCertificationForm = this.fb.group({\r\n questions: this.fb.array([])\r\n });\r\n }\r\n\r\n hasNotStartedOrIsDraft(): boolean {\r\n return this.subCertification.status === SubCertificationStatus.NotStarted || this.subCertification.status === SubCertificationStatus.SavedAsDraft;\r\n }\r\n\r\n onSaveAsDraft() {\r\n this.savingAsDraft = true;\r\n this.saving = true;\r\n this.subCertificationService\r\n .saveAsDraft(this.subCertification.id, this.mapFormToRequest())\r\n .subscribe((subCertification) => {\r\n this.savingAsDraft = false;\r\n this.saving = false;\r\n this.subCertification = subCertification;\r\n this.toastr.success(`Successfully saved Sub-certification as a draft`);\r\n });\r\n }\r\n\r\n onSaveAndSubmit() {\r\n this.hasBeenSubmitted = true;\r\n console.log(this.subCertificationForm);\r\n if (this.subCertificationForm.valid) {\r\n this.saving = true;\r\n this.savingAndSubmitting = true;\r\n this.subCertificationService\r\n .saveAndSubmit(this.subCertification.id, this.mapFormToRequest())\r\n .subscribe((subCertification) => {\r\n this.savingAndSubmitting = false;\r\n this.saving = false;\r\n this.hasBeenSubmitted = false;\r\n this.subCertification = subCertification;\r\n this.toastr.success(`Successfully saved and submitted Sub-certification to workflow`);\r\n });\r\n } else {\r\n this.toastr.error(`You must fix errors on the page before the Sub-certification can be saved and submited to workflow`);\r\n }\r\n }\r\n\r\n onSave() {\r\n this.hasBeenSubmitted = true;\r\n console.log(this.subCertificationForm);\r\n if (this.subCertificationForm.valid) {\r\n this.saving = true;\r\n this.savingAndSubmitting = true;\r\n this.subCertificationService\r\n .save(this.subCertification.id, this.mapFormToRequest())\r\n .subscribe((subCertification) => {\r\n this.savingAndSubmitting = false;\r\n this.saving = false;\r\n this.hasBeenSubmitted = false;\r\n this.subCertification = subCertification;\r\n this.toastr.success(`Successfully saved Sub-certification`);\r\n });\r\n } else {\r\n this.toastr.error(`You must fix errors on the page before the Sub-certification can be saved`);\r\n }\r\n }\r\n\r\n private mapFormToRequest(): SaveAnswerRequest[] {\r\n return _.chain(this.questionForms.value)\r\n .filter(item => {\r\n return item.answer !== \"\";\r\n })\r\n .map((item: any) => {\r\n return {\r\n QuestionId: item.answer.questionId,\r\n OptionId: item.answer.id,\r\n Comment: item.comment\r\n } as SaveAnswerRequest;\r\n })\r\n .value();\r\n }\r\n\r\n getStatusClass(): string {\r\n switch (this.subCertification.status) {\r\n case SubCertificationStatus.NotStarted:\r\n return \"badge-secondary\";\r\n case SubCertificationStatus.SavedAsDraft:\r\n return \"badge-warning\";\r\n case SubCertificationStatus.Routing:\r\n return \"badge-danger\";\r\n case SubCertificationStatus.Complete:\r\n return \"badge-success\";\r\n default:\r\n return \"\";\r\n }\r\n }\r\n\r\n showWorkflow(): boolean {\r\n return this.subCertification.status === SubCertificationStatus.Routing || this.subCertification.status === SubCertificationStatus.Complete;\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{subCertification.subCertificationUnit.name}}
\r\n
\r\n {{subCertification.statusString}}\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 Sub-certification Not Found or Error occurred.\r\n

\r\n

Please contact developers if you have any questions.

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { QuestionViewModel, OptionViewModel } from '../../../models';\r\nimport { FormBuilder, FormGroup, FormArray, AbstractControl, Validators } from '@angular/forms';\r\nimport * as _ from 'underscore';\r\n\r\n@Component({\r\n selector: 'app-question',\r\n templateUrl: './question.component.html',\r\n styleUrls: ['./question.component.css']\r\n})\r\nexport class QuestionComponent implements OnInit {\r\n \r\n @Input() question: QuestionViewModel;\r\n @Input() formArray: FormArray;\r\n @Input() submitted: boolean;\r\n @Input() readonly: boolean;\r\n\r\n questionForm: FormGroup;\r\n get answer(): AbstractControl {\r\n return this.questionForm.get('answer');\r\n }\r\n get comment(): AbstractControl {\r\n return this.questionForm.get('comment');\r\n }\r\n\r\n constructor(\r\n private readonly fb: FormBuilder\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n var checkedOption = _.find(this.question.options, (option: OptionViewModel) => option.isChecked);\r\n var isCommentRequired = checkedOption && checkedOption.isCommentRequired;\r\n this.questionForm = this.fb.group({\r\n answer: [checkedOption || '', [Validators.required]],\r\n comment: [{ value: this.question.comment, disabled: !(isCommentRequired) }, isCommentRequired ? [Validators.required] : []]\r\n });\r\n this.onChanges();\r\n this.formArray.push(this.questionForm);\r\n }\r\n\r\n getAnswer() {\r\n return _.find(this.question.options, option => { return option.isChecked; });\r\n }\r\n\r\n isCommentHidden() {\r\n return !(this.answer.value && this.answer.value.isCommentRequired);\r\n }\r\n\r\n private onChanges() {\r\n this.answer.valueChanges.subscribe(val => {\r\n if (val && val.isCommentRequired) {\r\n this.comment.enable();\r\n this.comment.setValidators([Validators.required]);\r\n this.comment.updateValueAndValidity();\r\n } else {\r\n this.comment.disable();\r\n this.comment.setValidators([]);\r\n this.comment.updateValueAndValidity();\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 Answer is required\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Disclosure Statement is required\r\n
\r\n
\r\n

Related Policies & Guidelines

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

{{getAnswer().text}}

\r\n \r\n

Question has not been answered

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

{{question.comment}}

\r\n
\r\n
\r\n","
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { SubCertificationService, WindowRefService, ICustomWindow, WorkflowService } from '../../../services';\r\nimport { SubCertificationViewModel } from '../../../models';\r\ndeclare const formatWorkflowHistory: any;\r\n\r\n@Component({\r\n selector: 'app-workflow',\r\n templateUrl: './workflow.component.html',\r\n styleUrls: ['./workflow.component.css']\r\n})\r\nexport class WorkflowComponent implements OnInit {\r\n loadAPI: Promise;\r\n private _window: ICustomWindow;\r\n\r\n @Input() subCertification: SubCertificationViewModel;\r\n routingHistoryString: string;\r\n\r\n showWorkflowWidget: boolean;\r\n showRoutingHistory: boolean;\r\n\r\n constructor(\r\n private readonly subCertificationService: SubCertificationService,\r\n private readonly workflowService: WorkflowService,\r\n windowRef: WindowRefService\r\n ) {\r\n this._window = windowRef.nativeWindow;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.subCertificationService\r\n .getSubCertificationAllowedActions(this.subCertification.id)\r\n .subscribe(allowedActions => {\r\n if (allowedActions && allowedActions.canView) {\r\n this.workflowWidget();\r\n } else {\r\n this.routingHistory();\r\n }\r\n });\r\n }\r\n\r\n workflowWidget() {\r\n this.showWorkflowWidget = true;\r\n this.showRoutingHistory = false;\r\n\r\n this.workflowService\r\n .getWorkflowWidgetVariables()\r\n .subscribe(workflowWidget => {\r\n this._window['WorkflowWidget'] = {\r\n form_id: workflowWidget.formId,\r\n package_id: this.subCertification.workflowPackageId,\r\n signature_id: '',\r\n scope: workflowWidget.scopes,\r\n client_id: workflowWidget.clientId,\r\n environment: workflowWidget.environment,\r\n post_sign_void: '',\r\n post_version_mismatch: '',\r\n };\r\n\r\n let node = document.createElement('script');\r\n node.async = true;\r\n node.src = 'https://workflow.uiowa.edu/workflow-widget/workflow.js?ver=' + new Date().getTime();\r\n node.type = 'text/javascript';\r\n document.getElementsByTagName('head')[0].appendChild(node);\r\n });\r\n }\r\n\r\n routingHistory() {\r\n this.showWorkflowWidget = false;\r\n this.showRoutingHistory = true;\r\n this.subCertificationService\r\n .getSubCertificationRoutingHistory(this.subCertification.id)\r\n .subscribe(routingHistory => {\r\n this.routingHistoryString = formatWorkflowHistory(routingHistory, this.subCertification.workflowPackageId);\r\n });\r\n }\r\n}\r\n","export { DetailsComponent } from './details/details.component';\r\n","export enum EnumEnvironmentName {\r\n Production = \"production\",\r\n Staging = \"staging\",\r\n Development = \"development\"\r\n}","export { EnumEnvironmentName } from './enum-environment-name';","export * from './enum-environment';","export * from './services';\r\nexport * from './models';\r\nexport * from './components';\r\nexport * from './enums';","export { OptionViewModel } from './option-view-model';\r\nexport { QuestionViewModel } from './question-view-model';\r\nexport { SubCertificationStatus } from './sub-certification-status';\r\nexport { SubCertificationViewModel } from './sub-certification-view-model';\r\nexport { SubCertificationUnitViewModel } from './sub-certification-unit-view-model';\r\nexport { SaveAnswerRequest } from './save-answer-request';\r\nexport { UniversityPersonViewModel } from './university-person-view-model';\r\nexport { CreateSubCertificationsRequest } from './create-sub-certifications-request';\r\nexport { NewSubCertificationUnitRequest } from './new-sub-certification-unit-request';\r\nexport { AllowedActions } from './allowed-actions';\r\nexport { WorkflowWidget } from './workflow-widget';\r\n","export enum SubCertificationStatus {\r\n NotStarted,\r\n SavedAsDraft,\r\n Routing,\r\n Complete\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FiscalYearService {\r\n private readonly apiUrl = 'api/fiscalyear';\r\n\r\n constructor(private readonly httpClient: HttpClient) { }\r\n\r\n getFiscalYears(): Observable {\r\n return this.httpClient.get(`${this.apiUrl}`);\r\n }\r\n\r\n getCurrentFiscalYear(): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/Current`);\r\n }\r\n}\r\n","export { SubCertificationService } from './sub-certification.service';\r\nexport { SubCertificationUnitService } from './sub-certification-unit.service';\r\nexport { FiscalYearService } from './fiscal-year.service';\r\nexport { WorkflowService } from './workflow.service';\r\nexport { WindowRefService, ICustomWindow } from './window.service';\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { SubCertificationUnitViewModel } from '../../shared';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SubCertificationUnitService {\r\n private readonly apiUrl = 'api/subcertificationunit';\r\n\r\n constructor(private readonly httpClient: HttpClient) { }\r\n\r\n getAvailableSubCertificationUnitsByFiscalYear(fiscalYear: string): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/FiscalYear/${fiscalYear}/Available`);\r\n }\r\n\r\n getSubCertificationUnitsByFiscalYear(fiscalYear: string): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/FiscalYear/${fiscalYear}`);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { SubCertificationViewModel, SaveAnswerRequest, CreateSubCertificationsRequest, AllowedActions } from '../../shared';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SubCertificationService {\r\n private readonly apiUrl = 'api/subcertification';\r\n\r\n constructor(private readonly httpClient: HttpClient) { }\r\n\r\n createSubCertificationsForNewFiscalYear(request: CreateSubCertificationsRequest): Observable {\r\n return this.httpClient.post(`${this.apiUrl}`, request);\r\n }\r\n\r\n getSubCertificationsByFiscalYear(fiscalYear: string | number): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/FiscalYear/${fiscalYear}`);\r\n }\r\n\r\n getSubCertificationById(id: number): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/${id}`);\r\n }\r\n\r\n getSubCertificationByPackageId(packageId: number): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/PackageId/${packageId}`);\r\n }\r\n\r\n getSubCertificationBySubCertificationUnitFiscalYear(subCertificationUnitId: number, fiscalYear: string): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/SubCertificationUnit/${subCertificationUnitId}/FiscalYear/${fiscalYear}`);\r\n }\r\n\r\n getSubCertificationRoutingHistory(id: number): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/${id}/RoutingHistory`);\r\n }\r\n\r\n getSubCertificationAllowedActions(id: number): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/${id}/AllowedActions`);\r\n }\r\n\r\n saveAsDraft(id: number, requests: SaveAnswerRequest[]): Observable {\r\n return this.httpClient.post(`${this.apiUrl}/${id}/SaveAsDraft`, requests);\r\n }\r\n\r\n saveAndSubmit(id: number, requests: SaveAnswerRequest[]): Observable {\r\n return this.httpClient.post(`${this.apiUrl}/${id}/SaveAndSubmit`, requests);\r\n }\r\n\r\n save(id: number, requests: SaveAnswerRequest[]): Observable {\r\n return this.httpClient.post(`${this.apiUrl}/${id}/Save`, requests);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n// This interface is optional, showing how you can add strong typings for custom globals.\r\n// Just use \"Window\" as the type if you don't have custom global stuff\r\nexport interface ICustomWindow extends Window {\r\n __custom_global_stuff: string;\r\n}\r\n\r\nfunction getWindow (): any {\r\n return window;\r\n}\r\n\r\n@Injectable()\r\nexport class WindowRefService {\r\n get nativeWindow (): ICustomWindow {\r\n return getWindow();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { WorkflowWidget } from '../../shared';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WorkflowService {\r\n private readonly apiUrl = 'api/workflow';\r\n\r\n constructor(private readonly httpClient: HttpClient) { }\r\n\r\n getWorkflowWidgetVariables(): Observable {\r\n return this.httpClient.get(`${this.apiUrl}/Widget`);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { RouterModule } from '@angular/router';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { SpinnerModule } from '@uiowa/spinner';\r\nimport { DigitOnlyModule } from '@uiowa/digit-only';\r\nimport { DetailsComponent } from './components/details/details.component';\r\nimport { QuestionComponent } from './components/details/question/question.component';\r\nimport { WorkflowComponent } from './components/details/workflow/workflow.component';\r\nimport { FontAwesomeModule } from \"@fortawesome/angular-fontawesome\";\r\nimport { WindowRefService } from './services/window.service';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n NgbModule,\r\n RouterModule,\r\n FormsModule,\r\n SpinnerModule,\r\n DigitOnlyModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n FontAwesomeModule\r\n ],\r\n declarations: [\r\n DetailsComponent,\r\n QuestionComponent,\r\n WorkflowComponent\r\n ],\r\n exports: [\r\n CommonModule,\r\n NgbModule,\r\n FormsModule,\r\n SpinnerModule,\r\n DigitOnlyModule,\r\n DetailsComponent\r\n ],\r\n providers: [\r\n WindowRefService\r\n ],\r\n})\r\nexport class SharedModule { }\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * In development mode, to ignore zone related error stack frames such as\r\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\r\n * import the following file, but please comment it out in production mode\r\n * because it will have performance impact when throw error\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n"],"names":["InternalRoute","ExternalLink","BannerLinks","EnumEnvironmentName","AppComponent","constructor","userService","impersonationService","appInfoService","ngOnInit","getApplicationInfo","subscribe","a","isProduction","hostingEnvironment","Production","userSubscription","user$","user","userName","hawkId","originalUserName","originalUser","setupNavMenus","startTimer","isAuthenticated","selfServiceLink","bannerLinks","internalRoutes","push","isAdmin","ngOnDestroy","unsubscribe","stopImpersonate","selectors","decls","vars","consts","template","i0","ctx","BrowserModule","BrowserAnimationsModule","APP_INITIALIZER","NgbModule","CoreModule","UserService","ToastrModule","SessionExpirationAlert","AppRoutingModule","HomeComponent","SharedModule","AgGridModule","FontAwesomeModule","fas","appUserServiceFactory","getUser","AppModule","library","addIconPacks","bootstrap","provide","useFactory","deps","multi","imports","forRoot","positionClass","preventDuplicates","withComponents","declarations","RouterModule","RoleGuard","AccessDeniedComponent","routes","path","redirectTo","pathMatch","component","canActivate","data","roles","loadChildren","then","m","SubCertificationModule","AdminModule","exports","loginService","login","AppFooterComponent","today","Date","year","getFullYear","emailHref","emailDistributionList","emailSubject","replace","ImpersonationComponent","impersonate","ErrorHandler","CommonModule","FormsModule","HttpClientModule","HTTP_INTERCEPTORS","UiowaHeaderModule","LoginService","SessionInteruptService","AppErrorHandler","SessionInteruptorService","HttpCacheControlService","OverrideLoginService","core","Error","useClass","map","take","router","route","state","returnUri","url","pipe","u","some","role","r","navigateByUrl","canLoad","factory","providedIn","ApplicationUser","AppInfoService","ImpersonationService","univId","isBasicUser","Injector","HttpErrorResponse","ToastrService","injector","toastrService","get","handleError","error","status","toastrError","msg","message","TypeError","title","closeButton","timeOut","onActivateTick","http","intercept","req","next","nextReq","clone","headers","set","handle","httpClient","toastr","hawkIdToBeImpersonated","request","post","x","encodeURIComponent","document","documentMode","base","getElementsByTagName","href","window","location","logout","continueSession","stopSession","BehaviorSubject","_user","asObservable","toPromise","catch","animate","style","transition","trigger","subCertificationService","subCertificationUnitService","fiscalYearService","getCurrentFiscalYear","fiscalYear","getAvailableSubCertificationUnitsByFiscalYear","units","subCertificationUnits","onSubCertificationUnitChange","subCertification","getSubCertificationBySubCertificationUnitFiscalYear","selectedSubCertificationUnitId","opacity","SubCertificationStatus","_","DetailsComponent","subCertificationUnit","subCertificationForm","questionForms","fb","group","questions","array","hasNotStartedOrIsDraft","NotStarted","SavedAsDraft","onSaveAsDraft","savingAsDraft","saving","saveAsDraft","id","mapFormToRequest","success","onSaveAndSubmit","hasBeenSubmitted","console","log","valid","savingAndSubmitting","saveAndSubmit","onSave","save","chain","value","filter","item","answer","QuestionId","questionId","OptionId","Comment","comment","getStatusClass","Routing","Complete","showWorkflow","inputs","Validators","QuestionComponent","questionForm","checkedOption","find","question","options","option","isChecked","isCommentRequired","required","disabled","onChanges","formArray","getAnswer","isCommentHidden","valueChanges","val","enable","setValidators","updateValueAndValidity","disable","submitted","readonly","WorkflowComponent","workflowService","windowRef","_window","nativeWindow","getSubCertificationAllowedActions","allowedActions","canView","workflowWidget","routingHistory","showWorkflowWidget","showRoutingHistory","getWorkflowWidgetVariables","form_id","formId","package_id","workflowPackageId","signature_id","scope","scopes","client_id","clientId","environment","post_sign_void","post_version_mismatch","node","createElement","async","src","getTime","type","appendChild","getSubCertificationRoutingHistory","routingHistoryString","formatWorkflowHistory","FiscalYearService","getFiscalYears","apiUrl","SubCertificationService","SubCertificationUnitService","WorkflowService","WindowRefService","getSubCertificationUnitsByFiscalYear","createSubCertificationsForNewFiscalYear","getSubCertificationsByFiscalYear","getSubCertificationById","getSubCertificationByPackageId","packageId","subCertificationUnitId","requests","getWindow","ReactiveFormsModule","SpinnerModule","DigitOnlyModule","production","enableProdMode","__NgCli_bootstrap_1","bootstrapModule","err"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}