Fixed the dependency for echarts and ngx-echarts so that it builds successfully

This commit is contained in:
Stefania Martziou 2021-04-13 08:38:12 +00:00
parent ba0b98c0af
commit 975d743a88
4 changed files with 20 additions and 16 deletions

23
package-lock.json generated
View File

@ -2974,11 +2974,11 @@
} }
}, },
"echarts": { "echarts": {
"version": "4.8.0", "version": "4.2.1",
"resolved": "https://registry.npmjs.org/echarts/-/echarts-4.8.0.tgz", "resolved": "https://registry.npmjs.org/echarts/-/echarts-4.2.1.tgz",
"integrity": "sha512-YwShpug8fWngj/RlgxDaYrLBoD+LsZUArrusjNPHpAF+is+gGe38xx4W848AwWMGoi745t3OXM52JedNrv+F6g==", "integrity": "sha512-pw4xScRPsLegD/cqEcoXRKeA2SD4+s+Kyo0Na166NamOWhzNl2yI5RZ2rE97tBlAopNmhyMeBVpAeD5qb+ee1A==",
"requires": { "requires": {
"zrender": "4.3.1" "zrender": "4.0.7"
} }
}, },
"ee-first": { "ee-first": {
@ -6883,9 +6883,12 @@
"dev": true "dev": true
}, },
"ngx-echarts": { "ngx-echarts": {
"version": "5.0.0", "version": "4.2.2",
"resolved": "https://registry.npmjs.org/ngx-echarts/-/ngx-echarts-5.0.0.tgz", "resolved": "https://registry.npmjs.org/ngx-echarts/-/ngx-echarts-4.2.2.tgz",
"integrity": "sha512-Ln+ex5PJJt+yztQIybTM2vf5JPHe36IrhdCNZL/FCYbIzHjnjXeK1ImCwh7GfpmlaT62B/3ZASBwouhsPOplRQ==" "integrity": "sha512-iLxOFnfKhUYP8Qw22AUY2ugSEd1Uvt6AeYhiaSqpg/G6NDmM/NwpdLt+fGAjax2aY7e94ORuwhXnl2gxtNzt7Q==",
"requires": {
"tslib": "^1.9.0"
}
}, },
"nice-try": { "nice-try": {
"version": "1.0.5", "version": "1.0.5",
@ -11237,9 +11240,9 @@
"integrity": "sha512-mla2acNCMkWXBD+c+yeUrBUrzOxYMNFdQ6FGfigGGtEVBPJx07BQeJekjt9DmH1FtZek4E9rE1eRR9qQpxACOQ==" "integrity": "sha512-mla2acNCMkWXBD+c+yeUrBUrzOxYMNFdQ6FGfigGGtEVBPJx07BQeJekjt9DmH1FtZek4E9rE1eRR9qQpxACOQ=="
}, },
"zrender": { "zrender": {
"version": "4.3.1", "version": "4.0.7",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-4.3.1.tgz", "resolved": "https://registry.npmjs.org/zrender/-/zrender-4.0.7.tgz",
"integrity": "sha512-CeH2TpJeCdG0TAGYoPSAcFX2ogdug1K7LIn9UO/q9HWqQ54gWhrMAlDP9AwWYMUDhrPe4VeazQ4DW3msD96nUQ==" "integrity": "sha512-TNloHe0ums6zxbHfnaCryM61J4IWDajZwNq6dHk9vfWhhysO/OeFvvR0drBs/nbXha2YxSzfQj2FiCd6RVBe+Q=="
} }
} }
} }

View File

@ -24,13 +24,13 @@
"angular-ng-autocomplete": "^2.0.1", "angular-ng-autocomplete": "^2.0.1",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"dom-to-image": "^2.6.0", "dom-to-image": "^2.6.0",
"echarts": "^4.8.0", "echarts": "^4.2.1",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"highcharts": "^7.2.0", "highcharts": "^7.2.0",
"highcharts-angular": "^2.4.0", "highcharts-angular": "^2.4.0",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"jspdf": "^1.5.3", "jspdf": "^1.5.3",
"ngx-echarts": "^5.0.0", "ngx-echarts": "^4.2.2",
"proj4": "^2.5.0", "proj4": "^2.5.0",
"rxjs": "~6.3.3", "rxjs": "~6.3.3",
"uikit": "^3.2.1", "uikit": "^3.2.1",

View File

@ -44,9 +44,10 @@ import { TreemapHighchartsComponent } from './chart-components/treemap-highchart
BrowserModule, BrowserModule,
AppRoutingModule, AppRoutingModule,
ReusableComponentsModule, ReusableComponentsModule,
NgxEchartsModule.forRoot({ // NgxEchartsModule.forRoot({
echarts // echarts
}), // }),
NgxEchartsModule,
HighchartsChartModule, HighchartsChartModule,
AutocompleteLibModule AutocompleteLibModule
], ],

View File

@ -5,5 +5,5 @@ export const environment = {
API_ENDPOINT: 'https://services.openaire.eu/stats-tool/', API_ENDPOINT: 'https://services.openaire.eu/stats-tool/',
FAQ_ENDPOINT: '/uoa-admin-tools/api', FAQ_ENDPOINT: '/uoa-admin-tools/api',
FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard', FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard',
profileName: 'openaire' profileName: 'OpenAIRE All-inclusive'
}; };