diff --git a/explore/src/app/app-routing.module.ts b/explore/src/app/app-routing.module.ts
index 1f18342c..d3c30a25 100644
--- a/explore/src/app/app-routing.module.ts
+++ b/explore/src/app/app-routing.module.ts
@@ -8,8 +8,8 @@ const routes: Routes = [
{path: '', loadChildren: () => import('./home/home.module').then(m => m.HomeModule)},
{path: 'home', redirectTo: '', pathMatch: 'full'},
{path: 'mail-preferences', loadChildren: () => import('./userEmailPreferences/mailPrefs.module').then(m => m.LibMailPrefsModule)},
- {path: 'sdgs', loadChildren: () => import('./sdg/sdg.module').then(m => m.SdgModule)},
- {path: 'fields-of-science', loadChildren: () => import('./fos/fos.module').then(m => m.FosModule), data: {extraOffset: 100}},
+ {path: 'sdgs', loadChildren: () => import('./sdg/sdg.module').then(m => m.LibSdgModule)},
+ {path: 'fields-of-science', loadChildren: () => import('./fos/fos.module').then(m => m.LibFosModule), data: {extraOffset: 100}},
{path: 'contact-us', loadChildren: () => import('./contact/contact.module').then(m => m.ContactModule), data: {hasQuickContact: false}},
// ORCID Pages
{path: 'orcid', loadChildren: () => import('./orcid/orcid.module').then(m => m.LibOrcidModule)},
diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts
index 538570f3..d8b467ae 100644
--- a/explore/src/app/app.component.ts
+++ b/explore/src/app/app.component.ts
@@ -1,4 +1,4 @@
-import {ChangeDetectorRef, Component, ViewChild} from '@angular/core';
+import {ChangeDetectorRef, Component, ElementRef, ViewChild} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {EnvProperties} from './openaireLibrary/utils/properties/env-properties';
import {MenuItem} from './openaireLibrary/sharedComponents/menu';
@@ -51,7 +51,7 @@ import {LayoutService} from './openaireLibrary/dashboard/sharedComponents/sideba
ratio="1">
-
+
@@ -70,6 +70,7 @@ export class AppComponent {
public sending: boolean = false;
@ViewChild('quickContact') quickContact: QuickContactComponent;
@ViewChild('modal') modal: AlertModal;
+ @ViewChild('bottom', {read: ElementRef}) bottom: ElementRef;
subscriptions = [];
@@ -126,6 +127,33 @@ export class AppComponent {
this.userManagementService.clearSubscriptions();
this.smoothScroll.clearSubscriptions();
}
+
+ ngAfterViewInit() {
+ if (typeof window !== "undefined") {
+ this.createObservers();
+ }
+ }
+
+ createObservers() {
+ let options = {
+ root: null,
+ rootMargin: '0px',
+ threshold: 0.1
+ };
+ let intersectionObserver = new IntersectionObserver(entries => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting && this.showQuickContact) {
+ this.showQuickContact = false;
+ this.quickContactService.setDisplay(this.showQuickContact);
+ } else if (!entry.isIntersecting && !this.showQuickContact) {
+ this.showQuickContact = true;
+ this.quickContactService.setDisplay(this.showQuickContact);
+ }
+ });
+ }, options);
+ intersectionObserver.observe(this.bottom.nativeElement);
+ this.subscriptions.push(intersectionObserver);
+ }
buildMenu() {
this.userMenuItems = [];
diff --git a/explore/src/app/fos/fos-routing.module.ts b/explore/src/app/fos/fos-routing.module.ts
index b0bc5bf0..f5d36cd6 100644
--- a/explore/src/app/fos/fos-routing.module.ts
+++ b/explore/src/app/fos/fos-routing.module.ts
@@ -1,13 +1,17 @@
-import {NgModule} from '@angular/core';
-import {RouterModule} from '@angular/router';
+import {NgModule} from "@angular/core";
+import {RouterModule} from "@angular/router";
+import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
+import {ExploreFosComponent} from "./fos.component";
-import {FosComponent} from './fos.component';
-import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
@NgModule({
- imports: [
- RouterModule.forChild([
- { path: '', component: FosComponent, canDeactivate: [PreviousRouteRecorder] }
- ])
- ]
+ imports: [
+ RouterModule.forChild([
+ {
+ path: '',
+ component: ExploreFosComponent,
+ canDeactivate: [PreviousRouteRecorder]
+ }
+ ])
+ ]
})
-export class FosRoutingModule { }
+export class LibFosRoutingModule { }
\ No newline at end of file
diff --git a/explore/src/app/fos/fos.component.html b/explore/src/app/fos/fos.component.html
deleted file mode 100644
index 8092553e..00000000
--- a/explore/src/app/fos/fos.component.html
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
- Beta
-
-
-
- Fields of Science .
-
-
- We have integrated a Field-of-Science (FoS) taxonomy into our dataset to organize and discover research more effectively. Using the full capabilities of the OpenAIRE Research Graph (full-texts, citations, references, venues) we apply AI and bring forward any multidisciplinarity potential.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
No results were found.
-
-
-
-
-
diff --git a/explore/src/app/fos/fos.component.less b/explore/src/app/fos/fos.component.less
deleted file mode 100644
index c8020e14..00000000
--- a/explore/src/app/fos/fos.component.less
+++ /dev/null
@@ -1,5 +0,0 @@
-@import (reference) "~src/assets/openaire-theme/less/_import-variables";
-
-.custom-bottom-border {
- border-bottom: 5px solid fade(@explore-color, @global-opacity);
-}
diff --git a/explore/src/app/fos/fos.component.ts b/explore/src/app/fos/fos.component.ts
index 5e44c821..f6a6081c 100644
--- a/explore/src/app/fos/fos.component.ts
+++ b/explore/src/app/fos/fos.component.ts
@@ -1,219 +1,15 @@
-import {HttpClient} from "@angular/common/http";
-import {ChangeDetectorRef, Component, ElementRef, OnDestroy, OnInit, ViewChild} from "@angular/core";
-import {Subscription} from "rxjs";
-
-import {Breadcrumb} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.component";
-import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
-import {properties} from "src/environments/environment";
-import {UntypedFormBuilder, UntypedFormControl} from "@angular/forms";
-import {ActivatedRoute, Router} from "@angular/router";
-import {Meta, Title} from "@angular/platform-browser";
-import {Location} from "@angular/common";
-import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
-import {SEOService} from "../openaireLibrary/sharedComponents/SEO/SEO.service";
-import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
-import {debounceTime, distinctUntilChanged} from "rxjs/operators";
-import Timeout = NodeJS.Timeout;
-
-declare var UIkit;
+import {Component} from "@angular/core";
+import {properties} from "../../environments/environment";
@Component({
- selector: 'fos',
- templateUrl: 'fos.component.html',
- styleUrls: ['fos.component.less']
+ selector: 'explore-fos',
+ template: `
+
+ `
})
-export class FosComponent implements OnInit, OnDestroy {
- public url: string = null;
- public pageTitle: string = "OpenAIRE | Fields of Science";
- public pageDescription: string = "We have integrated a Field-of-Science (FoS) taxonomy into our dataset to organize and discover research more effectively. Using the full capabilities of the OpenAIRE Research Graph (full-texts, citations, references, venues) we apply AI and bring forward any multidisciplinarity potential.";
- public fos: any[] = [];
- public fosOptions: string[] = [];
- public activeSection: string;
+export class ExploreFosComponent {
+ piwikSiteId = properties.piwikSiteId;
- public keywordControl: UntypedFormControl;
- public keyword: string = null;
-
- public viewResults = [];
-
- public result = [];
-
- properties: EnvProperties = properties;
- public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Fields of Science'}];
-
- private subscriptions: Subscription[] = [];
- private observer: IntersectionObserver;
- private timeout: Timeout;
- @ViewChild('tabs') tabs: ElementRef;
- public sliderInit: boolean = false;
-
- constructor(
- private httpClient: HttpClient,
- private fb: UntypedFormBuilder,
- private location: Location,
- private route: ActivatedRoute,
- private _router: Router,
- private _meta: Meta,
- private _title: Title,
- private seoService: SEOService,
- private _piwikService: PiwikService,
- private cdr: ChangeDetectorRef
- ) {}
-
- ngOnInit() {
- if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
- this.subscriptions.push(this._piwikService.trackView(this.properties, this.pageTitle, this.properties.piwikSiteId).subscribe());
- }
- this.url = this.properties.domain + this.properties.baseLink + this._router.url;
- this.seoService.createLinkForCanonicalURL(this.url);
- this.updateUrl(this.url);
- this.updateTitle(this.pageTitle);
- this.updateDescription(this.pageDescription);
- this.httpClient.get(properties.domain+'/assets/vocabulary/fos.json').subscribe(data => {
- this.fos = data['fos'];
- this.convertFosToOptions();
- if (typeof document !== 'undefined') {
- setTimeout(()=> {
- let slider = UIkit.slider(this.tabs.nativeElement);
- slider.clsActive = 'uk-slider-active';
- slider.updateActiveClasses();
- this.sliderInit = true;
- slider.slides.forEach(item => {
- item.classList.remove('uk-active');
- });
- if (this.route.snapshot.fragment) {
- this.activeSection = this.route.snapshot.fragment;
- let i = this.fos.findIndex(item => item.id == this.route.snapshot.fragment);
- slider.show(i);
- } else {
- this.activeSection = this.fos[0].id;
- }
- this.cdr.detectChanges();
- });
- }
- this.subscriptions.push(this.route.fragment.subscribe(fragment => {
- if(fragment) {
- this.activeSection = fragment;
- if(this.tabs) {
- let slider = UIkit.slider(this.tabs.nativeElement);
- let i = this.fos.findIndex(item => item.id == fragment);
- slider.show(i);
- }
- } else {
- this.activeSection = this.fos[0].id;
- }
- }));
- this.keywordControl = this.fb.control('');
- this.subscriptions.push(this.keywordControl.valueChanges.pipe(debounceTime(500), distinctUntilChanged()).subscribe(value => {
- this.keyword = value;
- this.findMatches(this.keyword);
- if (typeof document !== 'undefined') {
- setTimeout(() => {
- this.setObserver();
- });
- }
- }));
- });
- }
-
- public ngOnDestroy() {
- for (let sub of this.subscriptions) {
- sub.unsubscribe();
- }
- if(this.observer) {
- this.observer.disconnect();
- }
- }
-
- private setObserver() {
- if(this.observer) {
- this.observer.disconnect();
- }
- this.observer = new IntersectionObserver((entries) => {
- entries.forEach(entry => {
- if(entry.isIntersecting) {
- if(this.timeout) {
- clearTimeout(this.timeout);
- }
- this.timeout = setTimeout(() => {
- this._router.navigate(['./'], {fragment: entry.target.id, relativeTo: this.route, state: {disableScroll: true}});
- }, 200);
- }
- });
- }, {threshold: 0.25, rootMargin: '-100px'});
- this.fos.forEach(fos => {
- let element = document.getElementById(fos.id);
- if(element) {
- this.observer.observe(element);
- }
- });
- }
-
- convertFosToOptions() {
- this.fosOptions = [];
- this.fos.forEach(fos => {
- this.fosOptions.push(fos.id);
- if(fos.children) {
- fos.children.forEach(child => {
- this.fosOptions.push(child.id);
- if(child.children) {
- child.children.forEach(child2 => {
- this.fosOptions.push(child2.id);
- });
- }
- });
- }
- });
- }
-
- findMatches(value: string) {
- this.viewResults = JSON.parse(JSON.stringify(this.fos));
- let matchLevel1: boolean = false;
- let matchLevel2: boolean = false;
- // 1st level search
- if(this.viewResults.length) {
- this.viewResults = this.viewResults.filter(item => {
- matchLevel1 = !!item.id.includes(value?.toLowerCase());
- // // 2nd level search
- if(item.children?.length && !matchLevel1) {
- item.children = item.children.filter(subItem => {
- matchLevel2 = !!subItem.id.includes(value?.toLowerCase());
- // 3rd level search
- if(subItem.children?.length && !matchLevel2) {
- subItem.children = subItem.children.filter(subSubItem => subSubItem.id.includes(value?.toLowerCase()));
- }
- return subItem.children?.length > 0 || matchLevel2;
- });
- }
- return item.children?.length > 0;
- });
- }
- }
-
- highlightKeyword(name) {
- if(name.includes(this.keyword.toLowerCase())) {
- return name.replace(new RegExp(this.keyword, "gi"), (matchedValue) => `${matchedValue} `);
- } else {
- return name;
- }
- }
-
- public urlEncodeAndQuote(str: string): string {
- return StringUtils.quote(StringUtils.URIEncode(str));
- }
-
- private updateUrl(url: string) {
- this._meta.updateTag({content: url}, "property='og:url'");
- }
-
- private updateTitle(title: string) {
- var _title = ((title.length > 50) ? title.substring(0, 50) : title);
- this._title.setTitle(_title);
- this._meta.updateTag({content: _title}, "property='og:title'");
- }
-
- private updateDescription(description: string) {
- this._meta.updateTag({content: description}, "name='description'");
- this._meta.updateTag({content: description}, "property='og:description'");
- }
-}
+ constructor() {}
+}
\ No newline at end of file
diff --git a/explore/src/app/fos/fos.module.ts b/explore/src/app/fos/fos.module.ts
index 6d19c93a..bf657703 100644
--- a/explore/src/app/fos/fos.module.ts
+++ b/explore/src/app/fos/fos.module.ts
@@ -1,34 +1,26 @@
import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core";
-import {FormsModule} from "@angular/forms";
-import {RouterModule} from "@angular/router";
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
-import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
-import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.module";
-import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
-import {SearchInputModule} from "../openaireLibrary/sharedComponents/search-input/search-input.module";
-import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
-import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
-
-import {FosRoutingModule} from './fos-routing.module';
-import {FosComponent} from './fos.component';
+import {LibFosRoutingModule} from "./fos-routing.module";
+import {FosRoutingModule} from "../openaireLibrary/fos/fos-routing.module";
+import {FosModule} from "../openaireLibrary/fos/fos.module";
+import {ExploreFosComponent} from "./fos.component";
@NgModule({
imports: [
- CommonModule, FormsModule, RouterModule,
- FosRoutingModule, BreadcrumbsModule, IconsModule,
- SearchInputModule, Schema2jsonldModule, SEOServiceModule
+ CommonModule,
+ LibFosRoutingModule,
+ FosRoutingModule,
+ FosModule
],
declarations: [
- FosComponent
- ],
- providers: [
- PreviousRouteRecorder, PiwikService
+ ExploreFosComponent
],
exports: [
- FosComponent
+ ExploreFosComponent
+ ],
+ providers: [
+ PreviousRouteRecorder
]
})
-export class FosModule {
-
-}
\ No newline at end of file
+export class LibFosModule { }
\ No newline at end of file
diff --git a/explore/src/app/home/home.component.html b/explore/src/app/home/home.component.html
index 62980d3e..e84635bf 100644
--- a/explore/src/app/home/home.component.html
+++ b/explore/src/app/home/home.component.html
@@ -47,14 +47,14 @@
-
+
Sustainable Development Goals (SDGs )
-
+
Fields of Science (FoS)
diff --git a/explore/src/app/sdg/sdg-routing.module.ts b/explore/src/app/sdg/sdg-routing.module.ts
index 81eea798..2634df2c 100644
--- a/explore/src/app/sdg/sdg-routing.module.ts
+++ b/explore/src/app/sdg/sdg-routing.module.ts
@@ -1,13 +1,17 @@
-import {NgModule} from '@angular/core';
-import {RouterModule} from '@angular/router';
+import {NgModule} from "@angular/core";
+import {RouterModule} from "@angular/router";
+import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
+import {ExploreSdgComponent} from "./sdg.component";
-import {SdgComponent} from './sdg.component';
-import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
@NgModule({
- imports: [
- RouterModule.forChild([
- { path: '', component: SdgComponent, canDeactivate: [PreviousRouteRecorder] }
- ])
- ]
+ imports: [
+ RouterModule.forChild([
+ {
+ path: '',
+ component: ExploreSdgComponent,
+ canDeactivate: [PreviousRouteRecorder]
+ }
+ ])
+ ]
})
-export class SdgRoutingModule { }
+export class LibSdgRoutingModule { }
\ No newline at end of file
diff --git a/explore/src/app/sdg/sdg.component.html b/explore/src/app/sdg/sdg.component.html
deleted file mode 100644
index 0e22a05d..00000000
--- a/explore/src/app/sdg/sdg.component.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
- Beta
-
-
- Science for UN Sustainable Development Goals
-
-
- Laying the foundation for new approaches and solutions.
-
-
- We have developed a classification scheme for UN Sustainable Development Goals, to view contributions of research towards complex challenges for humanity such as climate change, biodiversity loss, pollution and poverty reduction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/explore/src/app/sdg/sdg.component.less b/explore/src/app/sdg/sdg.component.less
deleted file mode 100644
index 481aa9b9..00000000
--- a/explore/src/app/sdg/sdg.component.less
+++ /dev/null
@@ -1,30 +0,0 @@
-@import (reference) "~src/assets/openaire-theme/less/_import-variables";
-
-@sdgs: #E6233D, #DF9F00, #19A220, #D70023, #FF0B00, #00BFE8, #FFC300, #B10240, #FF5D00,
-#F50D86, #FF8A00, #CA8A03, #2B772B, #0098DF, #00B91C, #0069A2, #1C336A;
-
-custom-sdg-dot:after {
- content: "";
- background-image: url("~src/assets/explore-assets/sdg-dot-img.svg");
- display: inline-block;
- background-size: 100% 100%;
- height: 18px;
- width: 18px;
- margin-left: 10px;
-}
-
-.sdg-card {
- width: 265px;
- height: 255px;
-
- img {
- height: @global-control-height;
- width: auto;
- }
-
- each(@sdgs, {
- &.sdg-@{index} {
- background-color: @value !important;
- }
- })
-}
diff --git a/explore/src/app/sdg/sdg.component.ts b/explore/src/app/sdg/sdg.component.ts
index c2530bd8..7c90088a 100644
--- a/explore/src/app/sdg/sdg.component.ts
+++ b/explore/src/app/sdg/sdg.component.ts
@@ -1,97 +1,15 @@
-import {HttpClient} from "@angular/common/http";
-import {Component, OnDestroy, OnInit} from "@angular/core";
-import {Subscription} from "rxjs";
-
-import {Breadcrumb} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.component";
-import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
-import {properties} from "src/environments/environment";
-import {RefineFieldResultsService} from "../openaireLibrary/services/refineFieldResults.service";
-import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields";
-import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
-import {Router} from '@angular/router';
-import {Meta, Title} from "@angular/platform-browser";
-import {SEOService} from "../openaireLibrary/sharedComponents/SEO/SEO.service";
-import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
+import {Component} from "@angular/core";
+import {properties} from "../../environments/environment";
@Component({
- selector: 'sdg',
- templateUrl: 'sdg.component.html',
- styleUrls: ['sdg.component.less']
+ selector: 'explore-sdg',
+ template: `
+
+ `
})
-export class SdgComponent implements OnInit, OnDestroy {
- public url: string = null;
- public pageTitle: string = "OpenAIRE | Sustainable Development Goals";
- public pageDescription: string = "Laying the foundation for new approaches and solutions. We have developed a classification scheme for UN Sustainable Development Goals, to view contributions of research towards complex challenges for humanity such as climate change, biodiversity loss, pollution and poverty reduction.";
-
- private sdgs: any = [];
- private sdgsResearchOutcomes: any = [];
- public displayedSdgs: any = [];
+export class ExploreSdgComponent {
+ piwikSiteId = properties.piwikSiteId;
- public loading: boolean;
- properties: EnvProperties = properties;
- openaireEntities = OpenaireEntities;
- public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Sustainable Development Goals'}];
-
- subscriptions: Subscription[] = [];
-
- constructor(
- private httpClient: HttpClient, private refineFieldResultsService: RefineFieldResultsService,
- private _router: Router,
- private _meta: Meta,
- private _title: Title,
- private seoService: SEOService,
- private _piwikService: PiwikService
- ) {}
-
- ngOnInit() {
- this.loading = true;
- if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
- this.subscriptions.push(this._piwikService.trackView(this.properties, this.pageTitle, this.properties.piwikSiteId).subscribe());
- }
- this.url = this.properties.domain + this.properties.baseLink + this._router.url;
- this.seoService.createLinkForCanonicalURL(this.url);
- this.updateUrl(this.url);
- this.updateTitle(this.pageTitle);
- this.updateDescription(this.pageDescription);
- this.httpClient.get(properties.domain+'/assets/vocabulary/sdg.json').subscribe(data => {
- this.sdgs = data['sdg'];
- });
- this.refineFieldResultsService.getRefineFieldsResultsByEntityName(['sdg'], 'result', this.properties, null).subscribe(data => {
- this.sdgsResearchOutcomes = data[1][0].values;
- let merged =[];
- for(let i=0; i innerItem.id === this.sdgs[i].id))
- });
- }
- this.displayedSdgs = merged;
- this.loading = false;
- });
+ constructor() {
}
-
- public ngOnDestroy() {
- for (let sub of this.subscriptions) {
- sub.unsubscribe();
- }
- }
-
- public urlEncodeAndQuote(str: string): string {
- return StringUtils.quote(StringUtils.URIEncode(str));
- }
-
- private updateUrl(url: string) {
- this._meta.updateTag({content: url}, "property='og:url'");
- }
-
- private updateTitle(title: string) {
- var _title = ((title.length > 50) ? title.substring(0, 50) : title);
- this._title.setTitle(_title);
- this._meta.updateTag({content: _title}, "property='og:title'");
- }
-
- private updateDescription(description: string) {
- this._meta.updateTag({content: description}, "name='description'");
- this._meta.updateTag({content: description}, "property='og:description'");
- }
-}
+}
\ No newline at end of file
diff --git a/explore/src/app/sdg/sdg.module.ts b/explore/src/app/sdg/sdg.module.ts
index 80e52faa..dcded98a 100644
--- a/explore/src/app/sdg/sdg.module.ts
+++ b/explore/src/app/sdg/sdg.module.ts
@@ -1,34 +1,26 @@
import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core";
-import {FormsModule} from "@angular/forms";
-import {RouterModule} from "@angular/router";
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
-import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.module";
-import {RefineFieldResultsServiceModule} from "../openaireLibrary/services/refineFieldResultsService.module";
-import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module";
-import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
-import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
-import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
-
-import {SdgRoutingModule} from './sdg-routing.module';
-import {SdgComponent} from './sdg.component';
+import {LibSdgRoutingModule} from "./sdg-routing.module";
+import {SdgRoutingModule} from "../openaireLibrary/sdg/sdg-routing.module";
+import {SdgModule} from "../openaireLibrary/sdg/sdg.module";
+import {ExploreSdgComponent} from "./sdg.component";
@NgModule({
imports: [
- CommonModule, FormsModule, RouterModule,
- SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule,
- LoadingModule, Schema2jsonldModule, SEOServiceModule
+ CommonModule,
+ LibSdgRoutingModule,
+ SdgRoutingModule,
+ SdgModule
],
declarations: [
- SdgComponent
- ],
- providers: [
- PreviousRouteRecorder, PiwikService
+ ExploreSdgComponent
],
exports: [
- SdgComponent
+ ExploreSdgComponent
+ ],
+ providers: [
+ PreviousRouteRecorder
]
})
-export class SdgModule {
-
-}
\ No newline at end of file
+export class LibSdgModule { }
\ No newline at end of file
diff --git a/explore/src/assets/explore-assets/fos-hero-img.svg b/explore/src/assets/explore-assets/fos-hero-img.svg
deleted file mode 100644
index 64b8ab87..00000000
--- a/explore/src/assets/explore-assets/fos-hero-img.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/explore/src/assets/explore-assets/fos-icon.svg b/explore/src/assets/explore-assets/fos-icon.svg
deleted file mode 100644
index dbac42f5..00000000
--- a/explore/src/assets/explore-assets/fos-icon.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/explore/src/assets/explore-assets/sdg-badge.png b/explore/src/assets/explore-assets/sdg-badge.png
deleted file mode 100644
index abde511e..00000000
Binary files a/explore/src/assets/explore-assets/sdg-badge.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdg-dot-img.svg b/explore/src/assets/explore-assets/sdg-dot-img.svg
deleted file mode 100644
index e4df5445..00000000
--- a/explore/src/assets/explore-assets/sdg-dot-img.svg
+++ /dev/null
@@ -1,406 +0,0 @@
-
-
-
-
-
-
-
-
-
- image/svg+xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/explore/src/assets/explore-assets/sdg-hero-img.svg b/explore/src/assets/explore-assets/sdg-hero-img.svg
deleted file mode 100644
index d76063bf..00000000
--- a/explore/src/assets/explore-assets/sdg-hero-img.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/explore/src/assets/explore-assets/sdgs/g1.png b/explore/src/assets/explore-assets/sdgs/g1.png
deleted file mode 100644
index f4f1af49..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g1.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g10.png b/explore/src/assets/explore-assets/sdgs/g10.png
deleted file mode 100644
index 2ab9168c..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g10.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g11.png b/explore/src/assets/explore-assets/sdgs/g11.png
deleted file mode 100644
index 0344d7cf..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g11.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g12.png b/explore/src/assets/explore-assets/sdgs/g12.png
deleted file mode 100644
index 3e1288ff..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g12.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g13.png b/explore/src/assets/explore-assets/sdgs/g13.png
deleted file mode 100644
index ec1b3fc0..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g13.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g14.png b/explore/src/assets/explore-assets/sdgs/g14.png
deleted file mode 100644
index 3af71012..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g14.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g15.png b/explore/src/assets/explore-assets/sdgs/g15.png
deleted file mode 100644
index 9e398f61..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g15.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g16.png b/explore/src/assets/explore-assets/sdgs/g16.png
deleted file mode 100644
index 11e09a3b..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g16.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g17.png b/explore/src/assets/explore-assets/sdgs/g17.png
deleted file mode 100644
index 7f06e0e9..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g17.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g2.png b/explore/src/assets/explore-assets/sdgs/g2.png
deleted file mode 100644
index 379479a0..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g2.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g3.png b/explore/src/assets/explore-assets/sdgs/g3.png
deleted file mode 100644
index 3cb1cf28..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g3.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g4.png b/explore/src/assets/explore-assets/sdgs/g4.png
deleted file mode 100644
index fe7b3b7e..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g4.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g5.png b/explore/src/assets/explore-assets/sdgs/g5.png
deleted file mode 100644
index 2c4f51cf..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g5.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g6.png b/explore/src/assets/explore-assets/sdgs/g6.png
deleted file mode 100644
index 6b3c2585..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g6.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g7.png b/explore/src/assets/explore-assets/sdgs/g7.png
deleted file mode 100644
index b07b69fe..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g7.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g8.png b/explore/src/assets/explore-assets/sdgs/g8.png
deleted file mode 100644
index 0439c5d5..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g8.png and /dev/null differ
diff --git a/explore/src/assets/explore-assets/sdgs/g9.png b/explore/src/assets/explore-assets/sdgs/g9.png
deleted file mode 100644
index 82d51114..00000000
Binary files a/explore/src/assets/explore-assets/sdgs/g9.png and /dev/null differ
diff --git a/explore/src/assets/vocabulary/fos.json b/explore/src/assets/vocabulary/fos.json
deleted file mode 100644
index 5170296e..00000000
--- a/explore/src/assets/vocabulary/fos.json
+++ /dev/null
@@ -1,1521 +0,0 @@
-{
- "fos":[
- {
- "code": "01",
- "id": "01 natural sciences",
- "label": "natural sciences",
- "level": 1,
- "children": [
- {
- "code": "0101",
- "id": "0101 mathematics",
- "label": "mathematics",
- "level": 2,
- "children": [
- {
- "code": "010101",
- "id": "010101 applied mathematics",
- "label": "applied mathematics",
- "level": 3
- },
- {
- "code": "010102",
- "id": "010102 general mathematics",
- "label": "general mathematics",
- "level": 3
- },
- {
- "code": "010103",
- "id": "010103 numerical & computational mathematics",
- "label": "numerical & computational mathematics",
- "level": 3
- },
- {
- "code": "010104",
- "id": "010104 statistics & probability",
- "label": "statistics & probability",
- "level": 3
- }
- ]
-
- },
- {
- "code": "0102",
- "id": "0102 computer and information sciences",
- "label": "computer and information sciences",
- "level": 2,
- "children": [
- {
- "code": "010201",
- "id": "010201 computation theory & mathematics",
- "label": "computation theory & mathematics",
- "level": 3
- }
- ]
- },
- {
- "code": "0103",
- "id": "0103 physical sciences",
- "label": "physical sciences",
- "level": 2,
- "children": [
- {
- "code": "010301",
- "id": "010301 acoustics",
- "label": "acoustics",
- "level": 3
- },
- {
- "code": "010302",
- "id": "010302 applied physics",
- "label": "applied physics",
- "level": 3
- },
- {
- "code": "010303",
- "id": "010303 astronomy & astrophysics",
- "label": "010303 astronomy & astrophysics",
- "level": 3
- },
- {
- "code": "010304",
- "id": "010304 chemical physics",
- "label": "chemical physics",
- "level": 3
- },
- {
- "code": "010305",
- "id": "010305 fluids & plasmas",
- "label": "fluids & plasmas",
- "level": 3
- },
- {
- "code": "010306",
- "id": "010306 general physics",
- "label": "general physics",
- "level": 3
- },
- {
- "code": "010307",
- "id": "010307 mathematical physics",
- "label": "mathematical physics",
- "level": 3
- },
- {
- "code": "010308",
- "id": "010308 nuclear & particles physics",
- "label": "nuclear & particles physics",
- "level": 3
- },
- {
- "code": "010309",
- "id": "010309 optics",
- "label": "010309 optics",
- "level": 3
- }
- ]
- },
- {
- "code": "0104",
- "id": "0104 chemical sciences",
- "label": "chemical sciences",
- "level": 2,
- "children": [
- {
- "code": "010401",
- "id": "010401 analytical chemistry",
- "label": "analytical chemistry",
- "level": 3
- },
- {
- "code": "010402",
- "id": "010402 general chemistry",
- "label": "general chemistry",
- "level": 3
- },
- {
- "code": "010403",
- "id": "010403 inorganic & nuclear chemistry",
- "label": "inorganic & nuclear chemistry",
- "level": 3
- },
- {
- "code": "010404",
- "id": "010404 medicinal & biomolecular chemistry",
- "label": "medicinal & biomolecular chemistry",
- "level": 3
- },
- {
- "code": "010405",
- "id": "010405 organic chemistry",
- "label": "organic chemistry",
- "level": 3
- },
- {
- "code": "010406",
- "id": "010406 physical chemistry",
- "label": "physical chemistry",
- "level": 3
- },
- {
- "code": "010407",
- "id": "010407 polymers",
- "label": "polymers",
- "level": 3
- }
- ]
- },
- {
- "code": "0105",
- "id": "0105 earth and related environmental sciences",
- "label": "earth and related environmental sciences",
- "level": 2,
- "children": [
- {
- "code": "010501",
- "id": "010501 environmental sciences",
- "label": "environmental sciences",
- "level": 3
- },
- {
- "code": "010502",
- "id": "010502 geochemistry & geophysics",
- "label": "geochemistry & geophysics",
- "level": 3
- },
- {
- "code": "010503",
- "id": "010503 geology",
- "label": "geology",
- "level": 3
- },
- {
- "code": "010504",
- "id": "010504 meteorology & atmospheric sciences",
- "label": "meteorology & atmospheric sciences",
- "level":3
- },
- {
- "code": "010505",
- "id": "010505 oceanography",
- "label": "oceanography",
- "level":3
- },
- {
- "code": "010506",
- "id": "010506 paleontology",
- "label": "paleontology",
- "level":3
- }
- ]
- },
- {
- "code": "0106",
- "id": "0106 biological sciences",
- "label": "biological sciences",
- "level": 2,
- "children": [
- {
- "code": "010601",
- "id": "010601 ecology",
- "label": "ecology",
- "level":3
- },
- {
- "code": "010602",
- "id": "010602 entomology",
- "label": "entomology",
- "level":3
- },
- {
- "code": "010603",
- "id": "010603 evolutionary biology",
- "label": "evolutionary biology",
- "level":3
- },
- {
- "code": "010604",
- "id": "010604 marine biology & hydrobiology",
- "label": "marine biology & hydrobiology",
- "level":3
- },
- {
- "code": "010605",
- "id": "010605 ornithology",
- "label": "ornithology",
- "level":3
- },
- {
- "code": "010606",
- "id": "010606 plant biology & botany",
- "label": "plant biology & botany",
- "level":3
- },
- {
- "code": "010607",
- "id": "010607 zoology",
- "label": "zoology",
- "level":3
- },
- {
- "code": "010608",
- "id": "010608 biotechnology",
- "label": "biotechnology",
- "level":3
- }
- ]
- }
- ]
- },
- {
- "code": "02",
- "id": "02 engineering and technology",
- "label": "engineering and technology",
- "level": 1,
- "children": [
- {
- "code": "0201",
- "id": "0201 civil engineering",
- "label": "civil engineering",
- "level": 2,
- "children": [
- {
- "code": "020101",
- "id": "020101 civil engineering",
- "label": "civil engineering",
- "level":3
- }
- ]
- },
- {
- "code": "0202",
- "id": "0202 electrical engineering, electronic engineering, information engineering",
- "label": "0202 electrical engineering, electronic engineering, information engineering",
- "level": 2,
- "children": [
- {
- "code": "020201",
- "id": "020201 artificial intelligence & image processing",
- "label": "artificial intelligence & image processing",
- "level":3
- },
- {
- "code": "020202",
- "id": "020202 computer hardware & architecture",
- "label": "computer hardware & architecture",
- "level":3
- },
- {
- "code": "020203",
- "id": "020203 distributed computing",
- "label": "distributed computing",
- "level":3
- },
- {
- "code": "020204",
- "id": "020204 information systems",
- "label": "information systems",
- "level":3
- },
- {
- "code": "020205",
- "id": "020205 medical informatics",
- "label": "medical informatics",
- "level":3
- },
- {
- "code": "020206",
- "id": "020206 networking & telecommunications",
- "label": "networking & telecommunications",
- "level":3
- },
- {
- "code": "020207",
- "id": "020207 software engineering",
- "label": "software engineering",
- "level":3
- },
- {
- "code": "020208",
- "id": "020208 electrical & electronic engineering",
- "label": "electrical & electronic engineering",
- "level":3
- },
- {
- "code": "020209",
- "id": "020209 energy",
- "label": "energy",
- "level":3
- },
- {
- "code": "020210",
- "id": "020210 optoelectronics & photonics",
- "label": "optoelectronics & photonics",
- "level":3
- }
- ]
- },{
- "code": "0203",
- "id": "0203 mechanical engineering",
- "label": "mechanical engineering",
- "level": 2,
- "children": [
- {
- "code": "020301",
- "id": "020301 aerospace & aeronautics",
- "label": "aerospace & aeronautics",
- "level":3
- },
- {
- "code": "020302",
- "id": "020302 automobile design & engineering",
- "label": "automobile design & engineering",
- "level":3
- },
- {
- "code": "020303",
- "id": "020303 mechanical engineering & transports",
- "label": "mechanical engineering & transports",
- "level":3
- }
- ]
- },{
- "code": "0204",
- "id": "0204 chemical engineering",
- "label": "chemical engineering",
- "level": 2,
- "children": [
- {
- "code": "020401",
- "id": "020401 chemical engineering",
- "label": "chemical engineering",
- "level":3
- }
- ]
- },{
- "code": "0205",
- "id": "0205 materials engineering",
- "label": "materials engineering",
- "level": 2,
- "children": [
- {
- "code": "020501",
- "id": "020501 mining & metallurgy",
- "label": "mining & metallurgy",
- "level":3
- },
- {
- "code": "020502",
- "id": "020502 materials",
- "label": "materials",
- "level":3
- }
- ]
- },{
- "code": "0206",
- "id": "0206 medical engineering",
- "label": "medical engineering",
- "level": 2,
- "children": [
- {
- "code": "020601",
- "id": "020601 biomedical engineering",
- "label": "biomedical engineering",
- "level":3
- },
- {
- "code": "020602",
- "id": "020602 bioinformatics",
- "label": "bioinformatics",
- "level":3
- }
- ]
- },{
- "code": "0207",
- "id": "0207 environmental engineering",
- "label": "environmental engineering",
- "level": 2,
- "children": [
- {
- "code": "020701",
- "id": "020701 environmental engineering",
- "label": "environmental engineering",
- "level":3
- }
- ]
- },{
- "code": "0208",
- "id": "0208 environmental biotechnology",
- "label": "environmental biotechnology",
- "level": 2,
- "children": [
- {
- "code": "020801",
- "id": "020801 environmental engineering",
- "label": "environmental engineering",
- "level":3
- }
- ]
- },{
- "code": "0209",
- "id": "0209 industrial biotechnology",
- "label": "industrial biotechnology",
- "level": 2,
- "children": [
- {
- "code": "020901",
- "id": "020901 industrial engineering & automation",
- "label": "industrial engineering & automation",
- "level":3
- }
- ]
- },{
- "code": "0210",
- "id": "0210 nano-technology",
- "label": "nano-technology",
- "level": 2,
- "children": [
- {
- "code": "021001",
- "id": "021001 nanoscience & nanotechnology",
- "label": "nanoscience & nanotechnology",
- "level":3
- }
- ]
- },{
- "code": "0211",
- "id": "0211 other engineering and technologies",
- "label": "other engineering and technologies",
- "level": 2,
- "children": [
- {
- "code": "021101",
- "id": "021101 geological & geomatics engineering",
- "label": "geological & geomatics engineering",
- "level":3
- },
- {
- "code": "021102",
- "id": "021102 mining & metallurgy",
- "label": "mining & metallurgy",
- "level":3
- },
- {
- "code": "021103",
- "id": "021103 operations research",
- "label": "operations research",
- "level":3
- },
- {
- "code": "021104",
- "id": "021104 architecture",
- "label": "architecture",
- "level":3
- },
- {
- "code": "021105",
- "id": "021105 building & construction",
- "label": "building & construction",
- "level":3
- },
- {
- "code": "021106",
- "id": "021106 design practice & management",
- "label": "design practice & management",
- "level":3
- },
- {
- "code": "021107",
- "id": "021107 urban & regional planning",
- "label": "urban & regional planning",
- "level":3
- },
- {
- "code": "021108",
- "id": "021108 energy",
- "label": "energy",
- "level":3
- },
- {
- "code": "021109",
- "id": "021109 optoelectronics & photonics",
- "label": "optoelectronics & photonics",
- "level":3
- },
- {
- "code": "021110",
- "id": "021110 strategic, defence & security studies",
- "label": "strategic, defence & security studies",
- "level":3
- }
- ]
- }
- ]
- },
- {
- "code": "03",
- "id": "03 medical and health sciences",
- "label": "medical and health sciences",
- "level": 1,
- "children": [
- {
- "code": "0301",
- "id": "0301 basic medicine",
- "label": "basic medicine",
- "level": 2,
- "children": [
- {
- "code": "030101",
- "id": "030101 anatomy & morphology",
- "label": "anatomy & morphology",
- "level":3
- },
- {
- "code": "030102",
- "id": "030102 biochemistry & molecular biology",
- "label": "biochemistry & molecular biology",
- "level":3
- },
- {
- "code": "030103",
- "id": "030103 biophysics",
- "label": "biophysics",
- "level":3
- },
- {
- "code": "030104",
- "id": "030104 developmental biology",
- "label": "developmental biology",
- "level":3
- },
- {
- "code": "030105",
- "id": "030105 genetics & heredity",
- "label": "genetics & heredity",
- "level":3
- },
- {
- "code": "030106",
- "id": "030106 microbiology",
- "label": "microbiology",
- "level":3
- },
- {
- "code": "030107",
- "id": "030107 microscopy",
- "label": "microscopy",
- "level":3
- },
- {
- "code": "030108",
- "id": "030108 mycology & parasitology",
- "label": "mycology & parasitology",
- "level":3
- },
- {
- "code": "030109",
- "id": "030109 nutrition & dietetics",
- "label": "nutrition & dietetics",
- "level":3
- },
- {
- "code": "030110",
- "id": "030110 physiology",
- "label": "physiology",
- "level":3
- },
- {
- "code": "030111",
- "id": "030111 toxicology",
- "label": "toxicology",
- "level":3
- },
- {
- "code": "030112",
- "id": "030112 virology",
- "label": "virology",
- "level":3
- }
- ]
- },
- {
- "code": "0302",
- "id": "0302 clinical medicine",
- "label": "clinical medicine",
- "level": 2,
- "children": [
- {
- "code": "030201",
- "id": "030201 allergy",
- "label": "allergy",
- "level":3
- },
- {
- "code": "030202",
- "id": "030202 anesthesiology",
- "label": "anesthesiology",
- "level":3
- },
- {
- "code": "030203",
- "id": "030203 arthritis & rheumatology",
- "label": "arthritis & rheumatology",
- "level":3
- },
- {
- "code": "030204",
- "id": "030204 cardiovascular system & hematology",
- "label": "cardiovascular system & hematology",
- "level":3
- },
- {
- "code": "030205",
- "id": "030205 complementary & alternative medicine",
- "label": "complementary & alternative medicine",
- "level":3
- },
- {
- "code": "030206",
- "id": "030206 dentistry",
- "label": "dentistry",
- "level":3
- },
- {
- "code": "030207",
- "id": "030207 dermatology & venereal diseases",
- "label": "dermatology & venereal diseases",
- "level":3
- },
- {
- "code": "030208",
- "id": "030208 emergency & critical care medicine",
- "label": "emergency & critical care medicine",
- "level":3
- },
- {
- "code": "030209",
- "id": "030209 endocrinology & metabolism",
- "label": "endocrinology & metabolism",
- "level":3
- },
- {
- "code": "030210",
- "id": "030210 environmental & occupational health",
- "label": "environmental & occupational health",
- "level":3
- },
- {
- "code": "030211",
- "id": "030211 gastroenterology & hepatology",
- "label": "gastroenterology & hepatology",
- "level":3
- },
- {
- "code": "030212",
- "id": "030212 general & internal medicine",
- "label": "general & internal medicine",
- "level":3
- },
- {
- "code": "030213",
- "id": "030213 general clinical medicine",
- "label": "general clinical medicine",
- "level":3
- },
- {
- "code": "030214",
- "id": "030214 geriatrics",
- "label": "geriatrics",
- "level":3
- },
- {
- "code": "030215",
- "id": "030215 immunology",
- "label": "immunology",
- "level":3
- },
- {
- "code": "030216",
- "id": "030216 legal & forensic medicine",
- "label": "legal & forensic medicine",
- "level":3
- },
- {
- "code": "030217",
- "id": "030217 neurology & neurosurgery",
- "label": "neurology & neurosurgery",
- "level":3
- },
- {
- "code": "030218",
- "id": "030218 nuclear medicine & medical imaging",
- "label": "nuclear medicine & medical imaging",
- "level":3
- },
- {
- "code": "030219",
- "id": "030219 obstetrics & reproductive medicine",
- "label": "obstetrics & reproductive medicine",
- "level":3
- },
- {
- "code": "030220",
- "id": "030220 oncology & carcinogenesis",
- "label": "oncology & carcinogenesis",
- "level":3
- },
- {
- "code": "030221",
- "id": "030221 ophthalmology & optometry",
- "label": "ophthalmology & optometry",
- "level":3
- },
- {
- "code": "030222",
- "id": "030222 orthopedics",
- "label": "orthopedics",
- "level":3
- },
- {
- "code": "030223",
- "id": "030223 otorhinolaryngology",
- "label": "otorhinolaryngology",
- "level":3
- },
- {
- "code": "030224",
- "id": "030224 pathology",
- "label": "pathology",
- "level":3
- },
- {
- "code": "030225",
- "id": "030225 pediatrics",
- "label": "pediatrics",
- "level":3
- },
- {
- "code": "030226",
- "id": "030226 pharmacology & pharmacy",
- "label": "pharmacology & pharmacy",
- "level":3
- },
- {
- "code": "030227",
- "id": "030227 psychiatry",
- "label": "psychiatry",
- "level":3
- },
- {
- "code": "030228",
- "id": "030228 respiratory system",
- "label": "respiratory system",
- "level":3
- },
- {
- "code": "030229",
- "id": "030229 sport sciences",
- "label": "sport sciences",
- "level":3
- },
- {
- "code": "030230",
- "id": "030230 surgery",
- "label": "surgery",
- "level":3
- },
- {
- "code": "030231",
- "id": "030231 tropical medicine",
- "label": "tropical medicine",
- "level":3
- },
- {
- "code": "030232",
- "id": "030232 urology & nephrology",
- "label": "urology & nephrology",
- "level":3
- }
- ]
- },
- {
- "code": "0303",
- "id": "0303 health sciences",
- "label": "health sciences",
- "level": 2,
- "children": [
- {
- "code": "030301",
- "id": "030301 anatomy & morphology",
- "label": "anatomy & morphology",
- "level":3
- },
- {
- "code": "030302",
- "id": "030302 biochemistry & molecular biology",
- "label": "biochemistry & molecular biology",
- "level":3
- },
- {
- "code": "030303",
- "id": "030303 biophysics",
- "label": "biophysics",
- "level":3
- },
- {
- "code": "030304",
- "id": "030304 developmental biology",
- "label": "developmental biology",
- "level":3
- },
- {
- "code": "030305",
- "id": "030305 genetics & heredity",
- "label": "genetics & heredity",
- "level":3
- },
- {
- "code": "030306",
- "id": "030306 microbiology",
- "label": "microbiology",
- "level":3
- },
- {
- "code": "030307",
- "id": "030307 microscopy",
- "label": "microscopy",
- "level":3
- },
- {
- "code": "030308",
- "id": "030308 mycology & parasitology",
- "label": "mycology & parasitology",
- "level":3
- },
- {
- "code": "030309",
- "id": "030309 nutrition & dietetics",
- "label": "nutrition & dietetics",
- "level":3
- },
- {
- "code": "030310",
- "id": "030310 physiology",
- "label": "physiology",
- "level":3
- },
- {
- "code": "030311",
- "id": "030311 toxicology",
- "label": "toxicology",
- "level":3
- },
- {
- "code": "030312",
- "id": "030312 virology",
- "label": "virology",
- "level":3
- }
- ]
- },
- {
- "code": "0304",
- "id": "0304 medical biotechnology",
- "label": "medical biotechnology",
- "level": 2
- },
- {
- "code": "0305",
- "id": "0305 other medical science",
- "label": "other medical science",
- "level": 2,
- "children": [
- {
- "code": "030501",
- "id": "030501 epidemiology",
- "label": "epidemiology",
- "level":3
- },
- {
- "code": "030502",
- "id": "030502 gerontology",
- "label": "gerontology",
- "level":3
- },
- {
- "code": "030503",
- "id": "030503 health policy & services",
- "label": "health policy & services",
- "level":3
- },
- {
- "code": "030504",
- "id": "030504 nursing",
- "label": "nursing",
- "level":3
- },
- {
- "code": "030505",
- "id": "030505 public health",
- "label": "public health",
- "level":3
- },
- {
- "code": "030506",
- "id": "030506 rehabilitation",
- "label": "rehabilitation",
- "level":3
- },
- {
- "code": "030507",
- "id": "030507 speech-language pathology & audiology",
- "label": "speech-language pathology & audiology",
- "level":3
- },
- {
- "code": "030508",
- "id": "030508 substance abuse",
- "label": "substance abuse",
- "level":3
- }
- ]
- }
- ]
- },{
- "code": "04",
- "id": "04 agricultural and veterinary sciences",
- "label": "agricultural and veterinary sciences",
- "level": 1,
- "children": [
- {
- "code": "0401",
- "id": "0401 agriculture, forestry, and fisheries",
- "label": "agriculture, forestry, and fisheries",
- "level": 2,
- "children": [
- {
- "code": "040101",
- "id": "040101 forestry",
- "label": "forestry",
- "level":3
- },
- {
- "code": "040102",
- "id": "040102 fisheries",
- "label": "fisheries",
- "level":3
- },
- {
- "code": "040103",
- "id": "040103 agronomy & agriculture",
- "label": "agronomy & agriculture",
- "level":3
- }
- ]
- },
- {
- "code": "0402",
- "id": "0402 animal and dairy science",
- "label": "animal and dairy science",
- "level": 2,
- "children": [
- {
- "code": "040201",
- "id": "040201 dairy & animal science",
- "label": "dairy & animal science",
- "level":3
- }
- ]
- },
- {
- "code": "0403",
- "id": "0403 veterinary science",
- "label": "veterinary science",
- "level": 2,
- "children": [
- {
- "code": "040301",
- "id": "040301 veterinary sciences",
- "label": "veterinary sciences",
- "level":3
- }
- ]
- },{
- "code": "0404",
- "id": "0404 agricultural biotechnology",
- "label": "agricultural biotechnology",
- "level": 2,
- "children": [
- {
- "code": "040401",
- "id": "040401 food science",
- "label": "food science",
- "level":3
- }
- ]
- },
- {
- "code": "0405",
- "id": "0405 other agricultural sciences",
- "label": "other agricultural sciences",
- "level": 2,
- "children": [
- {
- "code": "040501",
- "id": "040501 horticulture",
- "label": "horticulture",
- "level":3
- },
- {
- "code": "040502",
- "id": "040502 food science",
- "label": "food science",
- "level":3
- }
- ]
- }
- ]
- },
-
- {
- "code": "05",
- "id": "05 social sciences",
- "label": "social sciences",
- "level": 1,
- "children": [
- {
- "code": "0501",
- "id": "0501 psychology and cognitive sciences",
- "label": "0501 psychology and cognitive sciences",
- "level": 2,
- "children": [
- {
- "code": "050101",
- "id": "050101 languages & linguistics",
- "label": "languages & linguistics",
- "level":3
- },
- {
- "code": "050102",
- "id": "050102 behavioral science & comparative psychology",
- "label": "behavioral science & comparative psychology",
- "level":3
- },
- {
- "code": "050103",
- "id": "050103 clinical psychology",
- "label": "clinical psychology",
- "level":3
- },
- {
- "code": "050104",
- "id": "050104 developmental & child psychology",
- "label": "developmental & child psychology",
- "level":3
- },
- {
- "code": "050105",
- "id": "050105 experimental psychology",
- "label": "experimental psychology",
- "level":3
- },
- {
- "code": "050106",
- "id": "050106 general psychology & cognitive sciences",
- "label": "general psychology & cognitive sciences",
- "level":3
- },
- {
- "code": "050107",
- "id": "050107 human factors",
- "label": "human factors",
- "level":3
- },
- {
- "code": "050108",
- "id": "050108 psychoanalysis",
- "label": "psychoanalysis",
- "level":3
- },
- {
- "code": "050109",
- "id": "050109 social psychology",
- "label": "social psychology",
- "level":3
- }
- ]
- },
- {
- "code": "0502",
- "id": "0502 economics and business",
- "label": "economics and business",
- "level": 2,
- "children": [
- {
- "code": "050201",
- "id": "050201 accounting",
- "label": "accounting",
- "level":3
- },
- {
- "code": "050202",
- "id": "050202 agricultural economics & policy",
- "label": "agricultural economics & policy",
- "level":3
- },
- {
- "code": "050203",
- "id": "050203 business & management",
- "label": "business & management",
- "level":3
- },
- {
- "code": "050204",
- "id": "050204 development studies",
- "label": "development studies",
- "level":3
- },
- {
- "code": "050205",
- "id": "050205 econometrics",
- "label": "econometrics",
- "level":3
- },
- {
- "code": "050206",
- "id": "050206 economic theory",
- "label": "economic theory",
- "level":3
- },
- {
- "code": "050207",
- "id": "050207 economics",
- "label": "economics",
- "level":3
- },
- {
- "code": "050208",
- "id": "050208 finance",
- "label": "finance",
- "level":3
- },
- {
- "code": "050209",
- "id": "050209 industrial relations",
- "label": "industrial relations",
- "level":3
- },
- {
- "code": "050210",
- "id": "050210 logistics & transportation",
- "label": "logistics & transportation",
- "level":3
- },
- {
- "code": "050211",
- "id": "050211 marketing",
- "label": "marketing",
- "level":3
- },
- {
- "code": "050212",
- "id": "050212 sport, leisure & tourism",
- "label": "sport, leisure & tourism",
- "level":3
- }
- ]
- },
- {
- "code": "0503",
- "id": "0503 education",
- "label": "education",
- "level": 2,
- "children": [
- {
- "code": "050301",
- "id": "050301 education",
- "label": "education",
- "level":3
- }
- ]
- },
- {
- "code": "0504",
- "id": "0504 sociology",
- "label": "sociology",
- "level": 2,
- "children": [
- {
- "code": "050401",
- "id": "050401 social sciences methods",
- "label": "social sciences methods",
- "level":3
- },
- {
- "code": "050402",
- "id": "050402 sociology",
- "label": "sociology",
- "level":3
- }
- ]
- },
- {
- "code": "0505",
- "id": "0505 law",
- "label": "law",
- "level": 2,
- "children": [
- {
- "code": "050501",
- "id": "050501 criminology",
- "label": "criminology",
- "level":3
- },
- {
- "code": "050502",
- "id": "050502 law",
- "label": "law",
- "level":3
- }
- ]
- },
- {
- "code": "0506",
- "id": "0506 political science",
- "label": "political science",
- "level": 2,
- "children": [
- {
- "code": "050601",
- "id": "050601 international relations",
- "label": "international relations",
- "level":3
- },
- {
- "code": "050602",
- "id": "050602 political science & public administration",
- "label": "political science & public administration",
- "level":3
- }
- ]
- },
- {
- "code": "0507",
- "id": "0507 social and economic geography",
- "label": "social and economic geography",
- "level": 2,
- "children": [
- {
- "code": "050701",
- "id": "050701 cultural studies",
- "label": "cultural studies",
- "level":3
- },
- {
- "code": "050702",
- "id": "050702 demography",
- "label": "demography",
- "level":3
- },
- {
- "code": "050703",
- "id": "050703 geography",
- "label": "geography",
- "level":3
- }
- ]
- },
- {
- "code": "0508",
- "id": "0508 media and communications",
- "label": "media and communications",
- "level": 2,
- "children": [
- {
- "code": "050801",
- "id": "050801 communication & media studies",
- "label": "communication & media studies",
- "level":3
- }
- ]
- },
- {
- "code": "0509",
- "id": "0509 other social sciences",
- "label": "other social sciences",
- "level": 2,
- "children": [
- {
- "code": "050901",
- "id": "050901 criminology",
- "label": "criminology",
- "level":3
- },
- {
- "code": "050902",
- "id": "050902 family studies",
- "label": "family studies",
- "level":3
- },
- {
- "code": "050903",
- "id": "050903 gender studies",
- "label": "gender studies",
- "level":3
- },
- {
- "code": "050904",
- "id": "050904 information & library sciences",
- "label": "information & library sciences",
- "level":3
- },
- {
- "code": "050905",
- "id": "050905 science studies",
- "label": "science studies",
- "level":3
- },
- {
- "code": "050906",
- "id": "050906 social work",
- "label": "social work",
- "level":3
- }
- ]
- }
- ]
- },
- {
- "code": "06",
- "id": "06 humanities and the arts",
- "label": "humanities and the arts",
- "level": 1,
- "children": [
- {
- "code": "0601",
- "id": "0601 history and archaeology",
- "label": "history and archaeology",
- "level": 2,
- "children": [
- {
- "code": "060101",
- "id": "060101 anthropology",
- "label": "anthropology",
- "level":3
- },
- {
- "code": "060102",
- "id": "060102 archaeology",
- "label": "archaeology",
- "level":3
- },
- {
- "code": "060103",
- "id": "060103 classics",
- "label": "classics",
- "level":3
- },
- {
- "code": "060104",
- "id": "060104 history",
- "label": "history",
- "level":3
- },
- {
- "code": "060105",
- "id": "060105 history of science, technology & medicine",
- "label": "history of science, technology & medicine",
- "level":3
- },
- {
- "code": "060106",
- "id": "060106 history of social sciences",
- "label": "history of social sciences",
- "level":3
- }
- ]
- },
- {
- "code": "0602",
- "id": "0602 languages and literature",
- "label": "languages and literature",
- "level": 2,
- "children": [
- {
- "code": "060201",
- "id": "060201 languages & linguistics",
- "label": "languages & linguistics",
- "level":3
- },
- {
- "code": "060202",
- "id": "060202 literary studies",
- "label": "literary studies",
- "level":3
- }
- ]
- },
- {
- "code": "0603",
- "id": "0603 philosophy, ethics and religion",
- "label": "philosophy, ethics and religion",
- "level": 2,
- "children": [
- {
- "code": "060301",
- "id": "060301 applied ethics",
- "label": "applied ethics",
- "level":3
- },
- {
- "code": "060302",
- "id": "060302 philosophy",
- "label": "philosophy",
- "level":3
- },
- {
- "code": "060303",
- "id": "060303 religions & theology",
- "label": "religions & theology",
- "level":3
- }
- ]
- },
- {
- "code": "0604",
- "id": "0604 arts",
- "label": "arts",
- "level": 2,
- "children": [
- {
- "code": "060401",
- "id": "060401 art practice, history & theory",
- "label": "art practice, history & theory",
- "level":3
- },
- {
- "code": "060402",
- "id": "060402 drama & theater",
- "label": "drama & theater",
- "level":3
- },
- {
- "code": "060403",
- "id": "060403 folklore",
- "label": "folklore",
- "level":3
- },
- {
- "code": "060404",
- "id": "060404 music",
- "label": "music",
- "level":3
- }
- ]
- }
- ]
- }
- ]
-
-}
-
diff --git a/explore/src/assets/vocabulary/sdg.json b/explore/src/assets/vocabulary/sdg.json
deleted file mode 100644
index 4e682eea..00000000
--- a/explore/src/assets/vocabulary/sdg.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "sdg":[
- {
- "code": "1",
- "id": "1. No poverty",
- "label": "No poverty",
- "html": "No poverty"
- },
- {
- "code": "2",
- "id": "2. Zero hunger",
- "label": "Zero hunger",
- "html": "Zero hunger"
- },{
- "code": "3",
- "id": "3. Good health",
- "label": "Good health",
- "html": "Good health"
- },
- {
- "code": "4",
- "id": "4. Education",
- "label": "Education",
- "html": "Education"
- },
- {
- "code": "5",
- "id": "5. Gender equality",
- "label": "Gender equality",
- "html": "Gender equality"
- },{
- "code": "6",
- "id": "6. Clean water",
- "label": "Clean water",
- "html": "Clean water"
- },
- {
- "code": "7",
- "id": "7. Clean energy",
- "label": "Clean energy",
- "html": "Clean energy"
- },
- {
- "code": "8",
- "id": "8. Economic growth",
- "label": "Economic growth",
- "html": "Economic growth"
- },{
- "code": "9",
- "id": "9. Industry and infrastructure",
- "label": "Industry and infrastructure",
- "html": "Industry and infrastructure"
- },
- {
- "code": "10",
- "id": "10. No inequality",
- "label": "No inequality",
- "html": "No inequality"
- },
- {
- "code": "11",
- "id": "11. Sustainability",
- "label": "Sustainability",
- "html": "Sustainability"
- },{
- "code": "12",
- "id": "12. Responsible consumption",
- "label": "Responsible consumption",
- "html": "Responsible consumption"
- },
- {
- "code": "13",
- "id": "13. Climate action",
- "label": "Climate action",
- "html": "Climate action"
- },
- {
- "code": "14",
- "id": "14. Life underwater",
- "label": "Life underwater",
- "html": "Life underwater"
- },{
- "code": "15",
- "id": "15. Life on land",
- "label": "Life on land",
- "html": "Life on land"
- },
- {
- "code": "16",
- "id": "16. Peace & justice",
- "label": "Peace & justice",
- "html": "Peace & justice"
- },
- {
- "code": "17",
- "id": "17. Partnership",
- "label": "Partnership",
- "html": "Partnership"
- }
- ]
-}