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CnC,MAAA,OAAGA,MAAA,0FAAoFA,QAOvFA,MALA,EAAA2G,EAAA,UAKA3G,CAL+C,EAAA4G,EAAA,kBAA3C5G,MAAA,GAAAA,MAAA,QAAAoC,EAAAsD,aAAAtD,EAAAgD,qBAKApF,cAAA,OAAAoC,EAAAsD,6CCKSL,CAAwB","names":["i0","AlertNotificationComponent","constructor","route","router","notificationService","this","loading","ngAfterViewInit","alertId","parseInt","snapshot","paramMap","get","Number","isNaN","getNotification","subscribe","data","alertType","toLowerCase","navigate","replaceUrl","clearNotificationAlert","navigateByUrl","error","console","Error","i1","i2","selectors","decls","vars","consts","template","rf","ctx","AlertNotificationComponent_spin_loader_1_Template","module_r1","routerURL","module","icon","name","description","isLocked","HomeComponent_div_1_div_1_Template","ctx_r1","modules","homeRoutes","path","component","HomeComponent","versionMismatch","_displayOptionsService","directoryService","ngOnInit","setDefaultDisplayOptions","pollForNewWebVersion","getModules","filter","x","i3","HomeComponent_div_1_Template","HomeComponent_app_no_directory_card_2_Template","length","pathMatch","HomeRoutingModule","RouterModule","forChild","HomeModule","CommonModule","SharedModule","ThirdPartyModule","DirectoryCardComponent","cardLink","moduleLink","inputs","moduleIcon","moduleTitle","moduleDescription","moduleLocked","DirectoryCardComponent_div_17_Template","ctx_r0","supportLink","primaryContactEmail","NoDirectoryCardComponent","userService","clientContactsService","currentUserStateService","impersonationService","isPowerUser","clientShortName","currentUser","isImpersonatingClient","impersonateClient","isImpersonatingUser","getUserByEmail","impersonateUser","isClientAdmin","getContactsByName","contacts","primaryContact","find","contact","contactTypeAbbr","contactValue","i4","NoDirectoryCardComponent_p_2_Template","NoDirectoryCardComponent_p_3_Template"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/modules/home/components/alert-notification/alert-notification.component.html","./src/app/modules/home/components/alert-notification/alert-notification.component.ts","./src/app/modules/home/components/home/home.component.html","./src/app/modules/home/home.routing.module.ts","./src/app/modules/home/components/home/home.component.ts","./src/app/modules/home/home.module.ts","./src/app/modules/shared/components/directory-card/directory-card.component.html","./src/app/modules/shared/components/directory-card/directory-card.component.ts","./src/app/modules/shared/components/no-directory-card/no-directory-card.component.html","./src/app/modules/shared/components/no-directory-card/no-directory-card.component.ts"],"sourcesContent":["
\n \n
\n","import { Component, OnInit, AfterViewInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { NotificationService } from 'app/modules/shared/services/notification.service';\n\n@Component({\n selector: 'app-alert-notification',\n templateUrl: './alert-notification.component.html',\n styleUrls: ['./alert-notification.component.scss'],\n})\nexport class AlertNotificationComponent implements AfterViewInit {\n private alertId: number;\n loading: boolean = true;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private notificationService: NotificationService\n ) {}\n ngAfterViewInit(): void {\n this.alertId = parseInt(this.route.snapshot.paramMap.get('id'));\n if (this.alertId && !Number.isNaN(this.alertId)) {\n // Explanation: When the notification service gets the notification below, it also saves a copy of it\n // in the property notificationAlert. Thru the magic of Angular and the fact that Angular services\n // are singletons, this essentially caches that alert so that it can be pulled up later, like when\n // control is passed to /settings/notifications. That component looks to see if there is a\n // notificationAlert object in the notification service and if so, it uses it (and clears it out as well)\n this.notificationService.getNotification(this.alertId).subscribe(\n (data) => {\n this.loading = false;\n switch (data.alertType.toLowerCase()) {\n case 'hirereachy identier':\n this.router.navigate(['/directory'], {\n replaceUrl: true,\n });\n break;\n case 'product':\n this.notificationService.clearNotificationAlert();\n this.router.navigate(['/settings/client-product-mapping'], {\n replaceUrl: true,\n });\n break;\n case 'glaccount':\n this.notificationService.clearNotificationAlert();\n this.router.navigate(['/settings/general-ledger-mapping'], {\n replaceUrl: true,\n });\n break;\n default:\n this.router.navigateByUrl('/settings/notifications', {\n replaceUrl: true,\n });\n }\n },\n (error) => {\n console.error(error);\n throw new Error(error);\n },\n () => {\n this.loading = false;\n }\n );\n } else {\n this.loading = false;\n this.router.navigateByUrl('/home', {\n replaceUrl: true,\n });\n }\n }\n}\n","
\n
\n
\n \n \n
\n
\n\n \n
\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { AlertNotificationComponent } from './components/alert-notification/alert-notification.component';\nimport { HomeComponent } from './components/home/home.component';\n\nconst homeRoutes: Routes = [\n { path: 'alert-notification/:id', component: AlertNotificationComponent },\n { path: '', component: HomeComponent, pathMatch: 'full' },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(homeRoutes)],\n exports: [RouterModule],\n})\nexport class HomeRoutingModule {}\n","import { Component, OnInit, AfterViewInit } from '@angular/core';\nimport {\n DirectoryAccessService,\n DirectoryModule,\n} from 'app/modules/shared/services/directory-access.service';\nimport { VersionMismatchDetectionService } from '../../../shared/services/version-mismatch-detection.service';\nimport { DisplayOptionsService } from '../../../shared/services/display-options.service';\n\n@Component({\n selector: 'app-home',\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.scss'],\n})\nexport class HomeComponent implements OnInit, AfterViewInit {\n modules: DirectoryModule[];\n loading: boolean = true;\n\n constructor(\n private versionMismatch: VersionMismatchDetectionService,\n private _displayOptionsService: DisplayOptionsService,\n private directoryService: DirectoryAccessService\n ) {}\n\n ngOnInit() {\n this._displayOptionsService.setDefaultDisplayOptions();\n this.versionMismatch.pollForNewWebVersion();\n }\n\n ngAfterViewInit() {\n this.getModules();\n }\n\n getModules() {\n this.loading = true;\n this.directoryService.get('home').subscribe((data) => {\n this.modules = data.filter(\n (x) =>\n x.name !== 'Settings' &&\n x.name !== 'Reports' &&\n x.name !== 'Directory' &&\n x.name !== 'My Vision'\n );\n\n this.loading = false;\n });\n }\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HomeComponent } from './components/home/home.component';\nimport { HomeRoutingModule } from './home.routing.module';\nimport { SharedModule } from '../shared/shared.module';\nimport { ThirdPartyModule } from '../third-party/third-party.module';\nimport { AlertNotificationComponent } from 'app/modules/home/components/alert-notification/alert-notification.component';\n\n@NgModule({\n declarations: [HomeComponent, AlertNotificationComponent],\n imports: [CommonModule, HomeRoutingModule, SharedModule, ThirdPartyModule],\n providers: [],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class HomeModule {}\n","\n
\n
\n \n
\n {{ moduleTitle }}\n
\n
\n \n \n {{ moduleTitle }}\n \n

\n {{ moduleDescription }}\n
\n
\n
\n \n \n \n
\n
\n\n","import { Component, OnInit, Input } from '@angular/core';\n\n@Component({\n selector: 'directory-card',\n templateUrl: './directory-card.component.html',\n styleUrls: ['./directory-card.component.scss'],\n})\nexport class DirectoryCardComponent implements OnInit {\n @Input() moduleLink: string;\n @Input() module: string;\n @Input() moduleIcon: string;\n @Input() moduleTitle: string;\n @Input() moduleDescription: string;\n @Input() moduleLocked?: boolean;\n cardLink: string;\n constructor() {}\n\n ngOnInit() {\n this.cardLink = '/' + this.moduleLink;\n }\n}\n","

You don't have permission to view these pages. Contact support for more information.

\n\n

\n Support Contact:\n {{ primaryContactEmail }}\n

\n\n

\n Monday-Friday 8:30am-5:30pm Eastern
\n 478-202-7255, dial 2 for support
\n limegear@LBAWare.com\n

\n","import { Component, OnInit } from '@angular/core';\nimport { ContactModel } from '../../../settings/interfaces/company-account-data';\nimport { ClientContactsService } from '../../../settings/services/client-contacts.service';\nimport { CurrentUserStateService } from '../../services/current-user-state.service';\nimport { ImpersonationService } from '../../services/impersonation.service';\nimport { UserService } from '../../services/user.service';\n\n@Component({\n selector: 'app-no-directory-card',\n templateUrl: './no-directory-card.component.html',\n styleUrls: ['./no-directory-card.component.css'],\n})\nexport class NoDirectoryCardComponent implements OnInit {\n contacts: ContactModel[];\n primaryContactEmail: string;\n supportLink: string;\n isPowerUser: boolean;\n public version;\n\n constructor(\n private userService: UserService,\n private clientContactsService: ClientContactsService,\n private currentUserStateService: CurrentUserStateService,\n private impersonationService: ImpersonationService\n ) {}\n\n ngOnInit() {\n this.isPowerUser = this.currentUserStateService.isPowerUser();\n var clientShortName = this.currentUserStateService.currentUser.clientShortName;\n\n if (this.impersonationService.isImpersonatingClient()) {\n clientShortName = this.impersonationService.impersonateClient;\n\n if (this.impersonationService.isImpersonatingUser()) {\n var clientUser = this.impersonationService.impersonateUser;\n\n this.userService.getUserByEmail(clientUser).subscribe((data) => {\n this.isPowerUser = data.isClientAdmin;\n });\n }\n }\n\n this.clientContactsService.getContactsByName(clientShortName).subscribe(\n (data) => {\n if (data && data.length > 0) {\n this.contacts = data;\n\n let primaryContact = this.contacts.find(\n (contact) => contact.contactTypeAbbr == 'Primary'\n );\n\n if (primaryContact && primaryContact.contactValue) {\n this.primaryContactEmail = primaryContact.contactValue;\n this.supportLink = 'mailto:' + this.primaryContactEmail;\n }\n }\n },\n (error) => {\n throw new Error(error);\n }\n );\n }\n}\n"],"x_google_ignoreList":[]}