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AGN,yEAA2B;QACzB,oFAA8F;QAChG,4DAAM;QAER,4DAAM;;QAvDiB,4EAAe;QACnB,0DAAqB;QAArB,kFAAqB;QAMH,0DAAW;QAAX,2EAAW;QA6CL,0DAAgC;QAAhC,6FAAgC;;AD6F3E,2EAAwB,CAAC,yEAA0B,EAAE,iIAA+D,EAAE,2CAA2C,EAAE,mDAAmD,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEjJzK;AACF;AAMD;AACM;AACF;AAID;AACmB;AACe;AACwC;AAEzH,oBAAoB;AAC4F;AACc;;AAE9H,oBAAoB;AAIlB;AAuBK,MAAM,wCAAwC;;AAC5C,mDAAU,GAAG;IAClB,IAAI,EAAE,uIAA+C;IACrD,MAAM,EAAE,yHAA2C;CACpD,CAAC;gIAJS,wCAAwC;qIAAxC,wCAAwC;yIAhB1C;YACP,yDAAY;YACZ,uDAAW;YACX,yDAAU;YACV,sDAAW;YACX,2DAAa;YACb,6DAAc;YACd,4EAAgB;YAChB,kIAA+C;YAC/C,2FAAqB;SACtB;mIAMU,wCAAwC,mBAnBjD,yHAA2C;QAC3C,uIAA+C,aAG/C,yDAAY;QACZ,uDAAW;QACX,yDAAU;QACV,sDAAW;QACX,2DAAa;QACb,6DAAc;QACd,4EAAgB;QAChB,kIAA+C;QAC/C,2FAAqB,aAGrB,yHAA2C;QAC3C,uIAA+C","sources":["./src/app/licensureCore/landingPage/educationProgramApplication/card/education-program-application-landing-card.component.ts","./src/app/licensureCore/landingPage/educationProgramApplication/card/education-program-application-landing-card.component.html","./src/app/licensureCore/landingPage/educationProgramApplication/education-program-application-landing-routing.module.ts","./src/app/licensureCore/landingPage/educationProgramApplication/education-program-application-landing.component.ts","./src/app/licensureCore/landingPage/educationProgramApplication/education-program-application-landing.component.html","./src/app/licensureCore/landingPage/educationProgramApplication/education-program-application-landing.module.ts"],"sourcesContent":["// Framework\nimport { Component, Injector, OnInit, Inject, Optional } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\n\n// LODASH\nimport * as _l from 'lodash-es';\n\n// CORE\nimport {\n BusyManagerService,\n CONSTANTS_SERVICE_TOKEN,\n ConstantsService,\n OnlineServiceLinkSubscription,\n OnlineServiceLinkManagerService,\n LandingCardBaseComponent,\n ReachModelConfigurationInjector,\n MODEL_CONFIG_INJECTION_TOKEN,\n ReachScenarios,\n registerDynamicComponent,\n SummaryInfoManagerService,\n UserManagerService,\n UtilitiesService\n} from '@core/core.module';\n\n//import { LicensureOnlineServiceRegistryTypes } from '../../../models/licensure-online-service-registry-types';\nimport { IEducationProgramApplicationInfoDto } from 'src/app/licensureShared/licensure-shared.module';\nimport {\n IEducationProgramApplicationConstantsService,\n LicensureOnlineServiceProcessTypes,\n LicensureLandingComponentKeys\n} from '@licensureCore/licensure-core.module';\n\nexport const EducationProgramApplicationLandingCardSelector = 'education-program-application-landing-card'\n\n@Component({\n selector: EducationProgramApplicationLandingCardSelector,\n templateUrl: './education-program-application-landing-card.component.html',\n styleUrls: ['./education-program-application-landing-card.component.scss']\n})\nexport class EducationProgramApplicationLandingCardComponent extends LandingCardBaseComponent implements OnInit {\n\n // Fields \n readonlyInfo: any; // Anonymous object to display readonly properties.\n educationProgramApplicationConstantsService: IEducationProgramApplicationConstantsService;\n\n constructor(\n activatedRoute: ActivatedRoute,\n busyManagerService: BusyManagerService,\n @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService,\n injector: Injector,\n onlineServiceLinkManagerService: OnlineServiceLinkManagerService,\n @Optional() @Inject(MODEL_CONFIG_INJECTION_TOKEN) protected reachModelConfigurationInjector: ReachModelConfigurationInjector,\n router: Router,\n summaryInfoManagerService: SummaryInfoManagerService,\n userManagerService: UserManagerService,\n utilitiesService: UtilitiesService\n ) {\n\n // Base.\n super(\n activatedRoute,\n busyManagerService,\n constantsService,\n injector,\n onlineServiceLinkManagerService,\n reachModelConfigurationInjector,\n router,\n summaryInfoManagerService,\n userManagerService,\n utilitiesService,\n (constantsService as IEducationProgramApplicationConstantsService).DOMAIN_IDS.EDUCATION_PROGRAM_APPLICATION\n );\n\n // Custom title.\n this.title = `Program Application (${this.info.title})`;\n\n // Declarations.\n this.educationProgramApplicationConstantsService = this.constantsService as IEducationProgramApplicationConstantsService;\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.Activity, () => { return this.domainKeyId; }));\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.EducationProgramApplication, () => { return this.domainKeyId; }));\n }\n\n /**\n * A lifecycle hook that is called after Angular has initialized all data-bound properties of a directive. \n * Define an ngOnInit() method to handle any additional initialization tasks.\n */\n ngOnInit(): void {\n\n // Base.\n super.ngOnInit();\n\n // Construct info object to display readonly properties.\n if (this.info) {\n this.readonlyInfo = this.createReadonlyInfo(this.info.title, this.info.id, this.info.model);\n }\n }\n\n /**\n * Don't show checklist item counts unless the app is 'In Process' (IP)\n */\n public get enableChecklistItems(): boolean {\n return this.info?.model?.Status?.Id == \"IP\";\n }\n\n /**\n* Map incoming information to an info object to display readonly properties.\n* @param title \n* @param id \n* @param infoDto \n* @returns \n*/\n private createReadonlyInfo(title: string, id: string, infoDto: IEducationProgramApplicationInfoDto) {\n return {\n title: `Program Application (${title})`, // Custom title.\n id: id,\n code: null,\n type: infoDto.EducationProgramLevelDescription,\n status: infoDto.Status?.Description,\n plannedBeginDate: infoDto.PlannedBeginDate,\n checklistItems: infoDto.ChecklistSummary,\n };\n }\n}\n\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.EducationProgramApplicationSummary, EducationProgramApplicationLandingCardComponent, EducationProgramApplicationLandingCardSelector);\n","\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {{title}}\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 {{readonlyInfo.type | whenEmpty: '-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{readonlyInfo.status | whenEmpty: '-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{readonlyInfo.plannedBeginDate | date:'MM/dd/yyyy' | whenEmpty: '-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{readonlyInfo.checklistItems | whenEmpty: '-'}}\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 { NgModule } from '@angular/core';\nimport { Routes, RouterModule, UrlSegmentGroup, UrlSegment } from '@angular/router';\n\nimport { RouteInfoRegistry } from '@core/core.module';\nimport { CoreSharedModule } from '@coreShared/core-shared.module';\nimport { LicensureSharedModule } from '@licensureShared/licensure-shared.module';\n\nimport { EducationProgramApplicationLandingComponent } from './education-program-application-landing.component';\nimport { LicensureLandingComponentKeys } from '@licensureCore/index-constants';\n\nconst routes: Routes = [\n {\n path: '',\n component: EducationProgramApplicationLandingComponent\n },\n {\n path: RouteInfoRegistry.getItemByRegistryTypeKey(LicensureLandingComponentKeys.EducationProgramApplicationDetail).path,\n component: EducationProgramApplicationLandingComponent\n }\n ];\n\n@NgModule({\n imports: [RouterModule.forChild(routes), CoreSharedModule, LicensureSharedModule],\n exports: [RouterModule]\n})\nexport class EducationProgramApplicationLandingRoutingModule { }\n","import { Component, Inject, OnChanges, OnInit, Optional, SimpleChanges } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { BusyManagerService, Command, CommandService, CONSTANTS_SERVICE_TOKEN, ConstantsService, LandingDetailBaseComponent, MODEL_CONFIG_INJECTION_TOKEN, OnlineServiceLinkManagerService, OnlineServiceLinkSubscription, ReachModelConfigurationInjector, ReachScenarios, registerDynamicComponent, SummaryInfoManagerService, SystemSettingsManagerService, UtilitiesService, MessageService } from '@core/core.module';\nimport { EducationProgramApplicationFeatureConfigurationService, EducationProgramApplicationService, IEducationProgramApplicationConstantsService, LicensureLandingComponentKeys, LicensureOnlineServiceProcessTypes } from '@licensureCore/licensure-core.module';\nimport { EducationProgramApplicationDto } from '@licensureShared/licensure-shared.module';\nimport { from, Observable, of } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport { IDomainChecklistItemDto } from 'src/app/coreShared/core-shared.module';\n\nexport const EducationProgramApplicationLandingComponentSelector = 'education-program-application-landing';\n@Component({\n selector: EducationProgramApplicationLandingComponentSelector,\n templateUrl: './education-program-application-landing.component.html',\n styleUrls: ['./education-program-application-landing.component.scss']\n})\nexport class EducationProgramApplicationLandingComponent extends LandingDetailBaseComponent implements OnInit, OnChanges {\n\n educationProgramApplication: EducationProgramApplicationDto = null;\n pageSummaryMajorKey: string;\n pageSummaryMinorKey = \"Landing.EducationPorgramApplicationTab.SummaryText\";\n title: string;\n checklistItems: IDomainChecklistItemDto[] = [];\n fileUploadEnabled: boolean;\n\n continueApplicationWizardCommand: Command = null;\n cancelApplicationCommand: Command = null;\n\n constructor(\n activatedRoute: ActivatedRoute,\n private busyManagerService: BusyManagerService,\n private commandService: CommandService,\n @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService,\n private epaService: EducationProgramApplicationService,\n private featureConfigurationService: EducationProgramApplicationFeatureConfigurationService,\n onlineServiceLinkManagerService: OnlineServiceLinkManagerService,\n @Optional() @Inject(MODEL_CONFIG_INJECTION_TOKEN) protected reachModelConfigurationInjector: ReachModelConfigurationInjector,\n summaryInfoManagerService: SummaryInfoManagerService,\n private educationProgramApplicationService: EducationProgramApplicationService,\n private systemSettingsManagerService: SystemSettingsManagerService\n ) {\n\n super(\n constantsService,\n onlineServiceLinkManagerService,\n reachModelConfigurationInjector,\n activatedRoute,\n summaryInfoManagerService,\n (constantsService as IEducationProgramApplicationConstantsService).DOMAIN_IDS.EDUCATION_PROGRAM_APPLICATION);\n\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.Activity, () => { return this.domainKeyId; }));\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.EducationProgramApplication, () => { return this.domainKeyId; }));\n }\n\n ngOnInit(): void {\n super.ngOnInit();\n\n this.pageSummaryMajorKey = this.majorKey;\n this.title = \"Education Program Application\";\n this.fileUploadEnabled = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.ONLINE_LANDING.APPLICATION.FILE_UPLOAD.ENABLED);\n\n this.initCommands();\n\n const doInit = () => { return this.loadDependentData(); }\n this.busyManagerService.resolve(doInit(), this.constantsService.BUSY_MANAGER_BUSY_TYPES.VIEW_INIT);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n super.onInputChanges(changes);\n if (!this.majorKey) { this.majorKey = \"EducationProgramApplicationTab\"; }\n }\n\n public saveApplication = (): Observable => {\n return this.busyManagerService.resolve(\n this.epaService.save(this.educationProgramApplication)\n .pipe(\n tap((epaDto) => {\n this.educationProgramApplication = epaDto;\n })\n ),\n this.constantsService.BUSY_MANAGER_BUSY_TYPES.COMMAND\n );\n }\n\n public initCommands() {\n this.initContinueApplicationCommand();\n this.initCancelApplicationCommand();\n }\n\n public get canContinueApplication() {\n return this.featureConfigurationService.canContinueApplication(this.model);\n }\n\n public get canCancelApplication() {\n return this.featureConfigurationService.canCancelApplication(this.model);\n }\n\n public initContinueApplicationCommand() {\n this.continueApplicationWizardCommand = this.commandService.create(() => {\n return this.canContinueApplication;\n },\n () => {\n const doContinueApplication = async (): Promise => {\n return this.featureConfigurationService.presentApplicationWizard(this.model);\n }\n\n return from(doContinueApplication());\n }).commandBlocksWhenHolds();\n }\n\n public initCancelApplicationCommand() {\n this.cancelApplicationCommand = this.commandService.create(() => {\n return this.canCancelApplication;\n },\n () => {\n return this.featureConfigurationService.cancelApplication(this.model);\n }).commandBlocksWhenHolds();\n }\n\n /**\n * Load CLI and other information related to this EPA.\n * @returns \n */\n public loadDependentData() {\n\n if (!this.model) throw \"A model must be specified.\";\n\n // Async function to be executed.\n const doLoad = async (): Promise => {\n\n // Load the entire EPA object.\n this.educationProgramApplication = await this.educationProgramApplicationService.getById(this.model.Id).toPromise();\n this.filterChecklistItems();\n\n return of(true).toPromise();\n }\n\n // Execution of async function.\n return from(doLoad());\n }\n\n private filterChecklistItems() {\n if (!this.educationProgramApplication?.DomainChecklist) return;\n this.checklistItems = this.educationProgramApplication.DomainChecklist.filter(item => !item.ChecklistItemTemplate.IsExcludedFromOnlineList)\n }\n}\n\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.EducationProgramApplicationDetail, EducationProgramApplicationLandingComponent, EducationProgramApplicationLandingComponentSelector);\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 {{model.EntityInfo.FullName}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{model.PlannedBeginDate | date:'MM/dd/yyyy' | whenEmpty:'-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{model.Status.Description}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{model.Id}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{model.DirectorEntityInfo.FullName}}\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 { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\n\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { MenubarModule } from 'primeng/menubar';\r\nimport { MenuModule } from 'primeng/menu';\r\nimport { PanelModule } from 'primeng/panel';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { PanelMenuModule } from 'primeng/panelmenu';\r\nimport { TableModule } from 'primeng/table';\r\n\r\nimport { CoreModule } from '@core/core.module';\r\nimport { CoreSharedModule } from '@coreShared/core-shared.module';\r\nimport { LicensureSharedModule } from '@licensureShared/licensure-shared.module';\r\nimport { EducationProgramApplicationLandingRoutingModule } from './education-program-application-landing-routing.module';\r\n\r\n// Import Components\r\nimport { EducationProgramApplicationLandingComponent } from './education-program-application-landing.component';\r\nimport { EducationProgramApplicationLandingCardComponent } from './card/education-program-application-landing-card.component';\r\n\r\n// Export components\r\nexport {\r\n EducationProgramApplicationLandingComponent,\r\n EducationProgramApplicationLandingCardComponent\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n EducationProgramApplicationLandingComponent,\r\n EducationProgramApplicationLandingCardComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n CoreModule,\r\n PanelModule,\r\n MessageModule,\r\n MessagesModule,\r\n CoreSharedModule,\r\n EducationProgramApplicationLandingRoutingModule,\r\n LicensureSharedModule\r\n ],\r\n exports: [\r\n EducationProgramApplicationLandingComponent,\r\n EducationProgramApplicationLandingCardComponent\r\n ]\r\n})\r\nexport class EducationProgramApplicationLandingModule {\r\n static components = {\r\n card: EducationProgramApplicationLandingCardComponent,\r\n detail: EducationProgramApplicationLandingComponent\r\n };\r\n}\r\n"],"names":[],"sourceRoot":"webpack:///"}