45. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/8/2017 1:33:40 PM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

45.1 Files compared

# Location File Last Modified
1 PC_CP4_CiF.zip\FPPS_Frontend\fpps-app\src\app\shared\process-and-print process-and-print.component.ts Fri Dec 8 17:53:14 2017 UTC
2 PC_CP4_CiF.zip\FPPS_Frontend\fpps-app\src\app\shared\process-and-print process-and-print.component.ts Fri Dec 8 19:10:06 2017 UTC

45.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 108
Changed 1 2
Inserted 0 0
Removed 0 0

45.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

45.4 Active regular expressions

No regular expressions were active.

45.5 Comparison detail

  1   import { C omponent,  Input, OnI nit } from  '@angular /core';
  2   import { S haredDataS ervice } f rom '../.. /shared/se rvice/shar ed-data.se rvice';
  3   import { P rocessAndP rintServic e } from ' ./service/ process.co mponent.se rvice';
  4   import { C laims } fr om '../mod els/Claims ';
  5   import {
  6       Reques tOptions,
  7       URLSea rchParams,
  8       Header s,
  9       Respon se,
  10       Http,
  11       Respon seContentT ype
  12   } from '@a ngular/htt p';
  13   import { e nvironment  } from '. ./../../en vironments /environme nt';
  14   @Component ({
  15       select or: 'app-p rocess-and -print',
  16       templa teUrl: 'pr ocess-and- print.comp onent.html ',
  17       styleU rls: ['./p rocess-and -print.com ponent.scs s']
  18   })
  19   export cla ss Process AndPrintCo mponent im plements O nInit {
  20       @Input () claims:  any[];
  21       getPar am = new U RLSearchPa rams();
  22       search headers =  new Header s();
  23  
  24       constr uctor(
  25           pr ivate shar edData: Sh aredDataSe rvice,
  26           pr ivate proc essPrint:  ProcessAnd PrintServi ce
  27       ) { }
  28  
  29       ngOnIn it() {
  30           co nsole.log( 'Inside of  ProcessAn dPrintComp onent.ngOn Init()!');
  31           th is.searchh eaders.app end('Conte nt-Type',  'applicati on/json');
  32           th is.claims  = this.sha redData.st orage;
  33  
  34           th is.claims  = this.cla ims.map(cl aim => cla im.claimId );
  35           co nst option s = new Re questOptio ns({
  36                headers:  this.sear chheaders,
  37                body: th is.claims,
  38                response Type: Resp onseConten tType.Text
  39           }) ;
  40           co nsole.log( this.claim s);
  41           th is.process Print
  42                .print(e nvironment .nodeserve r + '/clai ms/print/' , options)
  43                .subscri be(
  44                data =>  {
  45                    cons t file = n ew Blob([S tring.from CharCode.a pply(null,  data.data )], {
  46                         type: 'app lication/p df'
  47                    });
  48                    cons t fileUrl  = URL.crea teObjectUR L(file);
  49                    cons ole.log(JS ON.stringi fy(String. fromCharCo de.apply(n ull, data. data)));
  50                      window.ope n('http:// SERVER . DOMAIN ' + data.p athName.re place('/us r/share/to mcat/lates t/webapps/ generatedR eports', ' '));
  51                },
  52                () => co nsole.log( 'back in c onsole')
  53                );
  54       }
  55   }