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;IAED,4BAA4B,CAAC,GAAgC;QAC3D,OAAO,sCAAsC,GAAG,CAAC,+BAA+B,QAAQ,CAAC;IAC3F,CAAC;;gHAvBU,gCAAgC;8HAAhC,gCAAgC;QCR7C,6EAC2B;QAGzB,4IASc;QAGd,8IA0Bc;QAGd,4IAMc;QAChB,4DAAU;;QApDkD,2FAA8B","sources":["./src/app/licensureCore/landingPage/dataRequest/card/data-request-landing-card.component.ts","./src/app/licensureCore/landingPage/dataRequest/card/data-request-landing-card.component.html","./src/app/licensureCore/landingPage/dataRequest/data-request-landing-routing.module.ts","./src/app/licensureCore/landingPage/dataRequest/data-request-landing.component.ts","./src/app/licensureCore/landingPage/dataRequest/data-request-landing.component.html","./src/app/licensureCore/landingPage/dataRequest/data-request-landing.module.ts","./src/app/licensureCore/landingPage/dataRequest/requestedDataReportList/requested-data-report-list.component.ts","./src/app/licensureCore/landingPage/dataRequest/requestedDataReportList/requested-data-report-list.component.html"],"sourcesContent":["import { Component, Inject, Injector, OnChanges, OnInit, Optional } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { BusyManagerService, CONSTANTS_SERVICE_TOKEN, ConstantsService, LandingCardBaseComponent, MODEL_CONFIG_INJECTION_TOKEN, OnlineServiceLinkManagerService, OnlineServiceLinkSubscription, ReachModelConfigurationInjector, ReachScenarios, registerDynamicComponent, SummaryInfoManagerService, UserManagerService, UtilitiesService } from '@core/core.module';\nimport { IDataRequestConstantsService, LicensureLandingComponentKeys, LicensureOnlineServiceProcessTypes } from '@licensureCore/licensure-core.module';\n\nexport const DataRequestLandingCardComponentSelector: string = 'data-request-landing-card';\n\n@Component({\n selector: DataRequestLandingCardComponentSelector,\n templateUrl: './data-request-landing-card.component.html',\n styleUrls: ['./data-request-landing-card.component.scss']\n})\nexport class DataRequestLandingCardComponent extends LandingCardBaseComponent implements OnInit, OnChanges {\n //prebuiltReportCount: number = 0;\n //adhocReportCount: number = 0;\n //statisticalReportCount: number = 0;\n //reportCount: number = 0;\n reportList = [];\n private reportStats = new Map();\n dataRequestConstantsService: IDataRequestConstantsService;\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 super(\n activatedRoute,\n busyManagerService,\n constantsService,\n injector,\n onlineServiceLinkManagerService,\n reachModelConfigurationInjector,\n router,\n summaryInfoManagerService,\n userManagerService,\n utilitiesService,\n (constantsService as IDataRequestConstantsService).DOMAIN_IDS.DATA_REQUEST\n );\n\n this.dataRequestConstantsService = this.constantsService as IDataRequestConstantsService;\n this.domainId = this.dataRequestConstantsService.DOMAIN_IDS.DATA_REQUEST;\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.AdHocDataRequest, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.PreBuiltDataRequest, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.StatisticalDataRequest, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.DataRequestSelector, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\n }\n\n ngOnInit(): void {\n super.ngOnInit();\n\n this.title = 'Data Requests';\n this.subTitle = `Reports`;\n\n if (this.info && this.info.items) {\n //this.reportCount = this.info.items.length;\n this.info.items.forEach(i => {\n let report = this.reportStats.get(i.model.CorrespondenceActivitySubtypeDescription);\n if (!report) {\n report = { name: i.model.CorrespondenceActivitySubtypeDescription, count: 0 };\n this.reportStats.set(i.model.CorrespondenceActivitySubtypeDescription, report);\n }\n\n report.count++;\n });\n\n this.reportStats.forEach((value, key) => {\n this.reportList.push(value);\n });\n }\n }\n\n ngOnChanges() {\n }\n}\n\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.AutoVerificationSummary, DataRequestLandingCardComponent, DataRequestLandingCardComponentSelector);\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
{{subTitle}}
\r\n
\r\n\r\n \r\n
\r\n {{report.name}}\r\n {{report.count}}\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 { RouterModule, Routes } from '@angular/router';\nimport { RouteInfoRegistry } from '@core/core.module';\nimport { CoreSharedModule } from '@coreShared/core-shared.module';\nimport { LicensureLandingComponentKeys } from '@licensureCore/index-constants';\nimport { LicensureSharedModule } from '@licensureShared/licensure-shared.module';\nimport { DataRequestLandingComponent } from \"./data-request-landing.component\";\n\nconst routes: Routes = [\n {\n path: '',\n component: DataRequestLandingComponent\n },\n {\n path: RouteInfoRegistry.getItemByRegistryTypeKey(LicensureLandingComponentKeys.DataRequestDetail).path,\n component: DataRequestLandingComponent\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes), CoreSharedModule, LicensureSharedModule],\n exports: [RouterModule]\n})\nexport class DataRequestLandingRoutingModule { }\n","\r\nimport { Component, Inject, OnInit, Optional } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Command, CommandService, CONSTANTS_SERVICE_TOKEN, ConstantsService, LandingDetailBaseComponent, MODEL_CONFIG_INJECTION_TOKEN, OnlineServiceLinkManagerService, OnlineServiceLinkSubscription, ReachModelConfigurationInjector, ReachScenarios, registerDynamicComponent, SummaryInfoManagerService, SystemSettingsManagerService, UserManagerService } from '@core/core.module';\r\nimport { DataRequestFeatureConfigurationService, IDataRequestConstantsService, LicensureLandingComponentKeys, LicensureOnlineServiceProcessTypes } from '@licensureCore/licensure-core.module';\r\nimport { ILicensureUserProfileInfoDto } from 'src/app/licensureShared/licensure-shared.module';\r\n\r\nexport const DataRequestLandingComponentSelector = 'data-request';\r\n\r\n@Component({\r\n selector: DataRequestLandingComponentSelector,\r\n templateUrl: './data-request-landing.component.html',\r\n styleUrls: ['./data-request-landing.component.scss']\r\n})\r\nexport class DataRequestLandingComponent extends LandingDetailBaseComponent implements OnInit {\r\n\r\n dataRequests = [];\r\n adHocReportFeatureEnabled = false;\r\n cannedDataReportFeatureEnabled = false;\r\n presentDataRequestTypeSelector: Command;\r\n\r\n constructor(\r\n activatedRoute: ActivatedRoute,\r\n private commandService: CommandService,\r\n @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService,\r\n private dataRequestFeatureConfigurationService: DataRequestFeatureConfigurationService,\r\n onlineServiceLinkManagerService: OnlineServiceLinkManagerService,\r\n @Optional() @Inject(MODEL_CONFIG_INJECTION_TOKEN) protected reachModelConfigurationInjector: ReachModelConfigurationInjector,\r\n summaryInfoManagerService: SummaryInfoManagerService,\r\n private systemSettingsManagerService: SystemSettingsManagerService,\r\n private userManagerService: UserManagerService) {\r\n\r\n super(constantsService, onlineServiceLinkManagerService, reachModelConfigurationInjector, activatedRoute, summaryInfoManagerService, (constantsService as IDataRequestConstantsService).DOMAIN_IDS.DATA_REQUEST);\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.AdHocDataRequest, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.PreBuiltDataRequest, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.StatisticalDataRequest, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.DataRequestSelector, () => { return this.constantsService.DOMAIN_KEY_IDS.DATA_REQUEST_AGGREGATE; }));\r\n\r\n this.initCommands();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.adHocReportFeatureEnabled = this.systemSettingsManagerService.asBoolean((this.constantsService as IDataRequestConstantsService).SYSTEM_SETTING_KEYS.DATA_REQUEST.AD_HOC_REPORTS_ENABLED);\r\n this.cannedDataReportFeatureEnabled = this.systemSettingsManagerService.asBoolean((this.constantsService as IDataRequestConstantsService).SYSTEM_SETTING_KEYS.DATA_REQUEST.PRE_BUILT_REPORTS_ENABLED);\r\n\r\n this.initData();\r\n }\r\n\r\n protected initData() {\r\n this.dataRequests = (this.userManagerService.getCurrentPrincipal().user.UserAccount.profile as ILicensureUserProfileInfoDto).DataRequests;\r\n }\r\n\r\n protected initCommands() {\r\n this.presentDataRequestTypeSelector = this.commandService\r\n .create(() => { return true; }, () => { this.dataRequestFeatureConfigurationService.presentDataRequestTypeSelector(); })\r\n .commandBlocksWhenHolds();\r\n }\r\n}\r\n\r\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.AutoVerificationDetail, DataRequestLandingComponent, DataRequestLandingComponentSelector);\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
","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { MessageModule } from 'primeng/message';\nimport { MessagesModule } from 'primeng/messages';\nimport { PanelModule } from 'primeng/panel';\nimport { CoreModule } from '@core/core.module';\nimport { CoreSharedModule } from '@coreShared/core-shared.module';\nimport { LicensureSharedModule } from '@licensureShared/licensure-shared.module';\nimport { DataRequestLandingRoutingModule } from './data-request-landing-routing.module';\nimport { DataRequestLandingCardComponent } from \"./card/data-request-landing-card.component\";\nimport { DataRequestLandingComponent } from \"./data-request-landing.component\";\nimport { RequestedDataReportListComponent } from './requestedDataReportList/requested-data-report-list.component';\n\nexport {\n DataRequestLandingCardComponent, \n DataRequestLandingComponent, \n RequestedDataReportListComponent\n};\n\n@NgModule({\n declarations: [\n DataRequestLandingComponent,\n DataRequestLandingCardComponent,\n RequestedDataReportListComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n CoreModule,\n PanelModule,\n MessageModule,\n MessagesModule,\n CoreSharedModule,\n DataRequestLandingRoutingModule,\n LicensureSharedModule\n ],\n exports: [\n DataRequestLandingComponent,\n DataRequestLandingCardComponent,\n RequestedDataReportListComponent\n ]\n})\nexport class DataRequestLandingModule {\n static components = {\n card: DataRequestLandingCardComponent,\n detail: DataRequestLandingComponent\n };\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Command, CommandService, OnlineServiceHistoryService } from '@core/core.module';\nimport { IRequestedDataReportInfoDto } from '@coreShared/core-shared.module';\n\n@Component({\n selector: 'requested-data-report-list',\n templateUrl: './requested-data-report-list.component.html',\n styleUrls: ['./requested-data-report-list.component.scss']\n})\nexport class RequestedDataReportListComponent implements OnInit {\n\n @Input() requestedDataReports: IRequestedDataReportInfoDto[] = [];\n\n downloadDocumentCommand: Command;\n purchaseNewVersionCommand: Command;\n\n constructor(\n private commandService: CommandService,\n private onlineServiceHistoryService: OnlineServiceHistoryService\n ) {\n }\n\n ngOnInit(): void {\n this.downloadDocumentCommand = this.commandService.create((requestedDataReportInfoDto: IRequestedDataReportInfoDto) => requestedDataReportInfoDto.DocumentId != null, this.downloadDocumentCommandExecute);\n }\n\n getPurchaseTooltip(dto: IRequestedDataReportInfoDto) {\n return `Purchase new version as of (${dto.MasterInfoRequestedDateReceived})`;\n }\n\n getRequestDescriptionTooltip(dto: IRequestedDataReportInfoDto) {\n return `
${dto.MasterInfoRequestedDateReceived}
`;\n }\n\n protected downloadDocumentCommandExecute = (dto: IRequestedDataReportInfoDto) => {\n this.onlineServiceHistoryService.downloadConfirmationDocument(dto.DocumentId);\n }\n}\n","\n\n \n \n \n \n Name\n Type\n As Of\n\n \n \n \n \n\n \n \n \n\n \n Name{{item.DocumentName}}\n\n \n Type{{item.CorrespondenceActivitySubtypeDescription}}\n\n \n As Of{{item.InfoRequestedDateReceived | date: 'MM/dd/yyyy' | whenEmpty :\n \"-\"}}\n\n \n \n \n\n \n \n\n \n \n\n \n\n \n\n \n \n \n \n No entries.\n \n \n \n\n"],"names":[],"sourceRoot":"webpack:///"}