1. myOrcidLinks.component.ts & orcid.service.ts: Added functionality for orcid claim with openaireId.
2. orcid-work.component.ts: Added functionality for orcid claim with openaireId & added (missing from previous commit) @Input() compactView to show or not the word "claim".
3. orcidWork.ts: Set openaireId (relcanId) as external-id with "external-id-type": "source-work-id".
4. newSearchPage.component.ts: Added field public isLoggedIn: boolean = false; and initialize it by calling userManagementService.getUserInfo().
5. newSearchPage.component.html: In <search-result> set isLoggedIn parameter.
6. searchResult.component.ts: Added functionality for orcid claim with openaireId & Added field @Input() isLoggedIn: boolean = false; and replaced Session check.
7. result-preview.component.ts & result-preview.component.html: Removed checks to orcid claim only when there are pids.
1. orcid.service.ts: [Bug fix] In method "getOrcidWorks()", updated response type from <any[]> to <any> --> "bulk" object with an array inside is returned.
2. orcid-work.component.ts: [Bug fix] In method "getOrcidWorks()", parsing of bulk works fixed to not have problem when null response or error object inside bulk is returned.
orcid-work.component.ts: Updates and fixes | Add UI for "pageType=='my_search'" (my orcid links page).
orcid.component.ts:
a. Update component to get ORCID tokens and redirect back to the appropriate page.
b. When called by ORCID UI (no source parameter), call method "orcidService.getPersonalDetails()" to redirect to advanced search research outcomes, filtered by name.
c. Remove unused code.
orcid.module.ts: import ResultLandingUtilsModule.
orcid.service.ts:
a. Add methods "getLocalWorksByPids()", "getUserOrcid()" and "getPersonalDetails()".
b. Fixes and imporovements in request responses.
c. Separate /local from /orcid methods in orcid service (/local query only DB while /orcid query ORCID API).
orcidWork.ts:
a. Add method "mapType()" to map OpenAIRE result types to ORCID work types.
b. [Bug fix] Parse resultLandingInfo.dateofacceptance correctly into year, month, day.
c. [Bug fix] Capitalize author.orcid to set "contributor-orcid].path.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60392 d315682c-612b-4755-9ff5-7f18f6832af3