2023-02-15 22:56:16 +01:00
|
|
|
<ng-template #destinations_basket>
|
|
|
|
<div *ngIf="(results.length)> 0 || showOptions.show=='result'" class="uk-padding-small uk-padding-remove-horizontal" style="min-height: 17px;">
|
|
|
|
<start-over *ngIf=" (results.length)> 0"
|
|
|
|
[results]="results" [localStoragePrefix]="localStoragePrefix+'results'"
|
|
|
|
message="all results (projects, communities, research results)"
|
|
|
|
class="uk-float-right"></start-over>
|
|
|
|
<bulk-claim *ngIf="showOptions.show=='result'" [results]="results" [properties]=properties
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'results'"
|
|
|
|
[basketLimit]="basketLimit"></bulk-claim>
|
|
|
|
</div>
|
|
|
|
<div class="uk-padding-small uk-padding-remove-horizontal">
|
|
|
|
<div *ngIf="results.length >= basketLimit "
|
|
|
|
class="uk-alert uk-alert-warning uk-text-center">
|
|
|
|
Basket reached the size limit. No more entities can be added.
|
|
|
|
</div>
|
|
|
|
<claim-selected-results sectionTitle="Selected Results" [results]="results"
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'results'" type="target">
|
|
|
|
</claim-selected-results>
|
|
|
|
<div *ngIf="(results.length) == 0 " class=" uk-text-center">
|
|
|
|
No entities to link with the sources. Start adding entities from the left panel.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
2022-08-01 11:23:57 +02:00
|
|
|
<div class="linking uk-background-default">
|
2022-07-18 17:56:59 +02:00
|
|
|
<div class="uk-container uk-container-large uk-section uk-section-small uk-padding-remove-bottom">
|
|
|
|
<div class="uk-padding-small uk-padding-remove-horizontal">
|
2023-02-15 22:56:16 +01:00
|
|
|
<breadcrumbs *ngIf="!inlineEntity" [breadcrumbs]="breadcrumbs"></breadcrumbs>
|
2023-05-11 21:46:28 +02:00
|
|
|
<!-- [routerLink]="inlineEntity.result?.url.split('?')[0]"-->
|
|
|
|
<!-- [queryParams]="routerHelper.createQueryParam(inlineEntity.result?.url.split('?')[1].split('=')[0], inlineEntity.id)"-->
|
2023-03-01 10:59:48 +01:00
|
|
|
<a *ngIf="inlineEntity && inlineEntity.result"
|
2023-05-11 21:46:28 +02:00
|
|
|
(click)="back()"
|
2023-03-01 10:59:48 +01:00
|
|
|
class="uk-button uk-button-link uk-text-transform-none uk-flex uk-flex-middle">
|
|
|
|
<icon name="west" [flex]="true"></icon>
|
|
|
|
<span class="uk-margin-small-left">Back to {{getEntityName(inlineEntity.type, false)}}</span>
|
|
|
|
</a>
|
|
|
|
<a *ngIf="inlineEntity && inlineEntity.project"
|
|
|
|
[routerLink]="inlineEntity.project?.url?.split('?')[0]"
|
|
|
|
[queryParams]="routerHelper.createQueryParam(inlineEntity.project?.url.split('?')[1].split('=')[0], inlineEntity.id)"
|
2023-02-15 22:56:16 +01:00
|
|
|
class="uk-button uk-button-link uk-text-transform-none uk-flex uk-flex-middle">
|
|
|
|
<icon name="west" [flex]="true"></icon>
|
|
|
|
<span class="uk-margin-small-left">Back to {{getEntityName(inlineEntity.type, false)}}</span>
|
|
|
|
</a>
|
2022-07-18 17:56:59 +02:00
|
|
|
</div>
|
2022-05-16 16:25:35 +02:00
|
|
|
</div>
|
2023-08-22 16:08:46 +02:00
|
|
|
<div *ngIf="!inlineEntity" uk-sticky="offset: 65; end: #pageBottom; media: @m" class="uk-blur-background">
|
2022-07-18 17:56:59 +02:00
|
|
|
<div class="uk-section-xsmall">
|
|
|
|
<stepper>
|
2023-02-15 22:56:16 +01:00
|
|
|
<step [status]="stepStatus('source')" stepId="source" stepNumber="1"
|
2022-07-18 17:56:59 +02:00
|
|
|
[stepText]="'Find Sources'" (stepChanged)="stepHasChanged($event)"
|
|
|
|
[active]="this.showOptions.show" [showStepLine]="false"></step>
|
2023-02-15 22:56:16 +01:00
|
|
|
<step [status]="stepStatus('target')" stepId="target" [stepNumber]="2"
|
|
|
|
[stepText]="'Link Sources to Entities'"
|
2022-07-18 17:56:59 +02:00
|
|
|
(stepChanged)="stepHasChanged($event)" [active]="this.showOptions.show"
|
2023-02-15 22:56:16 +01:00
|
|
|
[showStepLine]="true"></step>
|
|
|
|
<step [status]="stepStatus('claim')" stepId="claim" [stepNumber]="3"
|
2022-07-18 17:56:59 +02:00
|
|
|
[stepText]="'Summarize and finish'"
|
|
|
|
(stepChanged)="stepHasChanged($event)" [active]="this.showOptions.show"
|
|
|
|
[showStepLine]="true"></step>
|
|
|
|
</stepper>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="pageTop"></div>
|
|
|
|
<metadata-preview *ngIf="showOptions.show=='claim' && properties" class="uk-margin-top"
|
|
|
|
[results]="results" [sources]="sources"
|
|
|
|
[localStoragePrefix]="localStoragePrefix" [inlineEntity]="inlineEntity"
|
|
|
|
[showOptions]="showOptions" [properties]=properties [pageContents]="pageContents"
|
2024-05-09 15:44:54 +02:00
|
|
|
[defaultColors]="!communityId" [communityId]="communityId" [claimsProperties]="claimsProperties"
|
2022-07-18 17:56:59 +02:00
|
|
|
>
|
|
|
|
</metadata-preview>
|
|
|
|
<div id="tm-main" class="uk-section uk-padding-remove-top" *ngIf="showOptions.show != 'claim'">
|
|
|
|
<div>
|
[Monitor Dashboard & Library | new-theme]: Renaming entity types using OpenaireEntities.
Files updated: develop.component.ts, methodology.component.ts, claimEntitiesSelection.component.ts, directLinking.component.ts, linkingGeneric.component.html, linkingGeneric.component.ts, approved.component.ts, searchDataprovidersToDeposit.component.ts, errorPage.component.ts, dataProvider.component.html, dataProvider.component.ts, dataProvider.service.ts, relatedDatasourcesTab.component.ts, project.component.ts, myOrcidLinks.component.ts, searchMyOrcidResults.component.html, searchMyOrcidResults.component.ts, searchAll.component.html, searchAll.component.ts, advancedSearchForm.component.html, advancedSearchForm.component.ts, searchDataProviders.component.ts, searchResearchResults.service.ts, numbers.component.ts, other-portals.component.html, other-portals.component.ts, fetchDataproviders.class.ts, fetchResearchResults.class.ts, searchFields.ts, result-preview.component.ts
2022-05-09 12:13:44 +02:00
|
|
|
<schema2jsonld *ngIf="url" [URL]="url" name="Link your {{openaireEntities.RESULTS}}" type="other"></schema2jsonld>
|
2024-01-17 10:16:06 +01:00
|
|
|
<div class="uk-container uk-container-large">
|
2024-05-09 15:44:54 +02:00
|
|
|
<div *ngIf="properties && claimsProperties" class="uk-section uk-padding-remove-top">
|
2024-01-17 10:16:06 +01:00
|
|
|
<div class="uk-container uk-container-large">
|
2022-09-14 08:26:57 +02:00
|
|
|
<div class="uk-grid basketContainer" *ngIf="showOptions.show!='claim'" uk-grid>
|
2024-01-17 10:16:06 +01:00
|
|
|
<div class="uk-width-2-3@m uk-position-z-index uk-flex-first@m uk-flex-last uk-margin-medium-top">
|
2024-05-09 15:44:54 +02:00
|
|
|
<h2 *ngIf="inlineEntity && claimsProperties.INLINE_ENTITY.show" class="uk-text-center">Link source to</h2>
|
|
|
|
<div *ngIf="inlineEntity && claimsProperties.INLINE_ENTITY.guideText" class="uk-text-center">{{claimsProperties.INLINE_ENTITY.guideText}}</div>
|
2022-07-18 17:56:59 +02:00
|
|
|
<div *ngIf="showOptions.show=='source'">
|
|
|
|
<claim-result-search-form [selectedResults]="sources" [properties]=properties
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'sources'"
|
2023-02-15 22:56:16 +01:00
|
|
|
[basketLimit]="basketLimit" [centerAlign]="!!inlineEntity"
|
2022-07-18 17:56:59 +02:00
|
|
|
></claim-result-search-form>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showOptions.show=='project'">
|
|
|
|
<claim-projects-search-form [selectedProjects]="results" [properties]=properties
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'results'"
|
|
|
|
[basketLimit]="basketLimit" [showOptions]="showOptions"
|
2023-02-15 22:56:16 +01:00
|
|
|
[centerAlign]="!!inlineEntity"
|
2022-07-18 17:56:59 +02:00
|
|
|
></claim-projects-search-form>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showOptions.show=='context'">
|
|
|
|
<claim-contexts-search-form [communityId]=communityId [results]="results" [sources]="sources"
|
|
|
|
[properties]=properties
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'results'"
|
|
|
|
[basketLimit]="basketLimit" [showOptions]="showOptions"
|
2023-02-15 22:56:16 +01:00
|
|
|
[centerAlign]="!!inlineEntity"
|
2022-07-18 17:56:59 +02:00
|
|
|
></claim-contexts-search-form>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showOptions.show=='result'">
|
|
|
|
<claim-result-search-form [selectedResults]="results" [properties]=properties
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'results'"
|
|
|
|
[basketLimit]="basketLimit" [showOptions]="showOptions"
|
2023-02-15 22:56:16 +01:00
|
|
|
[centerAlign]="!!inlineEntity"
|
2022-07-18 17:56:59 +02:00
|
|
|
></claim-result-search-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Basket-->
|
2024-01-17 10:16:06 +01:00
|
|
|
<div *ngIf="showOptions.show != 'claim'" class="uk-width-1-3@m uk-flex-last@m uk-flex-first uk-margin-medium-top">
|
2023-08-22 16:08:46 +02:00
|
|
|
<div id="basket" uk-sticky="offset: 220; end: !*; media: @m" style="z-index: 0!important;">
|
2022-09-14 08:26:57 +02:00
|
|
|
<div class="uk-card uk-card-default linkingBasket">
|
|
|
|
<div class="uk-card-body uk-padding-small">
|
2024-01-17 10:16:06 +01:00
|
|
|
<div>
|
2023-02-15 22:56:16 +01:00
|
|
|
<ng-container *ngIf="inlineEntity">
|
2024-05-09 15:44:54 +02:00
|
|
|
<div *ngIf="claimsProperties.INLINE_ENTITY.show" class="uk-margin-small-bottom">
|
|
|
|
<div class="uk-text-emphasis uk-text-bolder">{{claimsProperties.BASKET.source_title}}</div>
|
2023-02-15 22:56:16 +01:00
|
|
|
<claim-selected-results [results]="[inlineEntity]"
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'sources'" class=""
|
|
|
|
[enableRemove]="false" type="source">
|
|
|
|
</claim-selected-results>
|
|
|
|
</div>
|
2024-05-09 15:44:54 +02:00
|
|
|
<div *ngIf="claimsProperties.INLINE_ENTITY.show" class="uk-padding-small uk-padding-remove-horizontal"><hr class="uk-margin-remove"/></div>
|
2023-02-15 22:56:16 +01:00
|
|
|
<div class="uk-margin-small-top">
|
2024-05-09 15:44:54 +02:00
|
|
|
<div class="uk-text-emphasis uk-text-bolder">{{claimsProperties.BASKET.target_title}} <span *ngIf="results.length> 0">({{(results.length) | number}})</span></div>
|
2023-02-15 22:56:16 +01:00
|
|
|
<ng-container *ngTemplateOutlet="destinations_basket"></ng-container>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
<ng-container *ngIf="!inlineEntity">
|
|
|
|
<ul class="uk-tab" uk-tab>
|
|
|
|
<li [class.uk-active]="showOptions.basketShowSources"
|
|
|
|
(click)="showOptions.basketswitchToSources()">
|
|
|
|
<a>
|
|
|
|
Sources to link ({{(sources.length) |number}})
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li [class.uk-disabled]="sources.length == 0"
|
|
|
|
[class.uk-active]="showOptions.basketShowLinksTo">
|
|
|
|
<a (click)="showOptions.basketswitchToLinkTo()">Link to <span
|
|
|
|
*ngIf="results.length> 0">({{(results.length) | number}})</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div *ngIf="showOptions.basketShowSources">
|
2024-01-17 10:16:06 +01:00
|
|
|
<div class="uk-height-max-medium uk-overflow-auto uk-padding uk-padding-remove-left uk-padding-remove-vertical">
|
2023-02-15 22:56:16 +01:00
|
|
|
<div *ngIf="showOptions.show == 'source'" class="uk-padding-small uk-padding-remove-horizontal" style="min-height:17px;">
|
|
|
|
<start-over *ngIf="showOptions.show == 'source' && sources.length> 0"
|
|
|
|
[results]="sources"
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'sources'"
|
|
|
|
message="all sources" class="uk-float-right"></start-over>
|
|
|
|
<bulk-claim *ngIf="showOptions.show == 'source'" [results]="sources"
|
|
|
|
[properties]=properties
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'sources'" [basketLimit]="basketLimit"
|
|
|
|
>
|
|
|
|
</bulk-claim>
|
2019-07-23 14:23:12 +02:00
|
|
|
|
2022-09-14 08:26:57 +02:00
|
|
|
</div>
|
2023-02-15 22:56:16 +01:00
|
|
|
<div class="uk-padding-small uk-padding-remove-horizontal">
|
|
|
|
<div *ngIf="sources.length == 0" class="uk-text-center uk-text-meta">
|
|
|
|
No Sources added yet. Start adding sources from the left panel. Or upload a DOI's CSV file.
|
|
|
|
</div>
|
|
|
|
<div *ngIf="sources.length >= basketLimit " class="uk-alert uk-alert-warning uk-text-center">
|
|
|
|
Basket reached the size limit. No more sources can be added.
|
|
|
|
</div>
|
|
|
|
<claim-selected-results *ngIf="sources.length > 0" [results]="sources"
|
|
|
|
[localStoragePrefix]="localStoragePrefix+'sources'" class=""
|
|
|
|
[enableRemove]="true" type="source">
|
|
|
|
</claim-selected-results>
|
2022-09-14 08:26:57 +02:00
|
|
|
</div>
|
2022-07-18 23:46:45 +02:00
|
|
|
</div>
|
2022-05-11 14:34:38 +02:00
|
|
|
</div>
|
2023-02-15 22:56:16 +01:00
|
|
|
<div *ngIf="showOptions.basketShowLinksTo">
|
2024-01-17 10:16:06 +01:00
|
|
|
<div class="uk-height-max-medium uk-overflow-auto uk-padding uk-padding-remove-left uk-padding-remove-vertical">
|
2023-02-15 22:56:16 +01:00
|
|
|
<ng-container *ngTemplateOutlet="destinations_basket"></ng-container>
|
2022-09-14 08:26:57 +02:00
|
|
|
</div>
|
2022-07-18 23:46:45 +02:00
|
|
|
</div>
|
2023-02-15 22:56:16 +01:00
|
|
|
</ng-container>
|
2019-07-23 14:23:12 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-14 08:26:57 +02:00
|
|
|
<div *ngIf="showOptions.show == 'source'"
|
|
|
|
class="uk-card-footer uk-flex uk-flex-center clickable"
|
|
|
|
[class.uk-tile-primary]="sources.length > 0"
|
|
|
|
[class.uk-background-muted]="sources.length == 0"
|
|
|
|
[class.uk-disabled]="sources.length == 0"
|
|
|
|
(click)="stepHasChanged('target')">
|
|
|
|
<button class="uk-flex uk-flex-middle uk-button uk-button-text"
|
|
|
|
[class.uk-disabled]="sources.length == 0" [disabled]="sources.length == 0">
|
|
|
|
<icon name="link" visuallyHidden="link" [flex]="true"></icon>
|
|
|
|
<div class="uk-width-expand uk-margin-small-left">STEP 2 - LINK SOURCES TO ENTITIES</div>
|
|
|
|
</button>
|
2022-07-18 17:56:59 +02:00
|
|
|
|
2022-09-14 08:26:57 +02:00
|
|
|
</div>
|
|
|
|
<div *ngIf="showOptions.show != 'source'"
|
|
|
|
class="uk-card-footer uk-flex uk-flex-center clickable"
|
|
|
|
[class.uk-tile-primary]="results.length > 0"
|
|
|
|
[class.uk-background-muted]="results.length == 0"
|
|
|
|
[class.uk-disabled]="results.length == 0" (click)="stepHasChanged('claim')">
|
|
|
|
<button class="uk-flex uk-flex-middle uk-button uk-button-text"
|
|
|
|
[class.uk-disabled]="results.length == 0" [disabled]="results.length == 0">
|
|
|
|
<icon *ngIf="inlineEntity" name="link" visuallyHidden="link" [flex]="true"></icon>
|
2023-02-15 22:56:16 +01:00
|
|
|
<div class="uk-width-expand uk-margin-small-left"><ng-container *ngIf="!inlineEntity">STEP {{inlineEntity ? '2' : '3'}} - </ng-container>SUMMARISE</div>
|
2022-09-14 08:26:57 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
2019-07-23 14:23:12 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-18 17:56:59 +02:00
|
|
|
<!-- <helper position="right" styleName=" uk-width-1-5"></helper>-->
|
2018-02-15 11:36:12 +01:00
|
|
|
</div>
|
2022-07-18 17:56:59 +02:00
|
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
|
|
[texts]="pageContents['bottom']"></helper>
|
2019-07-23 14:23:12 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-25 15:56:02 +02:00
|
|
|
</div>
|
2022-07-18 17:56:59 +02:00
|
|
|
<div id="pageBottom"></div>
|
|
|
|
<modal-alert (alertOutput)="closeSelectionModal($event)">
|
|
|
|
<div class="uk-grid uk-text-center uk-padding uk-child-width-1-3">
|
|
|
|
<div *ngIf="showOptions.linkToEntities.indexOf('project')!=-1 " (click)="closeSelectionModal('project')" class="clickable">
|
|
|
|
<button class="uk-icon-button">
|
|
|
|
<span class="uk-icon">
|
|
|
|
<svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
|
|
|
|
height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
|
|
|
|
width="17" x="1.5"
|
|
|
|
y="6.5"></rect></svg></span>
|
|
|
|
</button>
|
|
|
|
<div>Projects</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showOptions.linkToEntities.indexOf('result')!=-1 " (click)="closeSelectionModal('result')"
|
|
|
|
class="clickable">
|
|
|
|
<button class="uk-icon-button">
|
|
|
|
<span class="uk-icon">
|
|
|
|
<svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
|
|
|
|
width="12" x="3.5" y="2.5"></rect><polyline
|
|
|
|
fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>Research results</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showOptions.linkToEntities.indexOf('context')!=-1 " (click)="closeSelectionModal('context')"
|
|
|
|
class="clickable">
|
|
|
|
<button class="uk-icon-button">
|
|
|
|
<span class="uk-icon">
|
|
|
|
<svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
|
|
|
|
stroke="#000" stroke-width="1.1"></circle><path
|
|
|
|
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3" fill="none"
|
|
|
|
stroke="#000" stroke-width="1.1"></path><path
|
|
|
|
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"
|
|
|
|
fill="none" stroke="#000" stroke-width="1.1"></path></svg></span>
|
|
|
|
</button>
|
|
|
|
<div>Communities</div>
|
|
|
|
</div>
|
2017-12-19 13:53:46 +01:00
|
|
|
|
2019-07-23 14:23:12 +02:00
|
|
|
</div>
|
2022-07-18 17:56:59 +02:00
|
|
|
</modal-alert>
|
|
|
|
</div>
|