2019-11-13 11:22:40 +01:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { ReusableComponentsModule } from './shared/reusablecomponents/reusable-components.module';
|
|
|
|
import { HomeComponent } from './pages/home/home.component';
|
|
|
|
import { DataService } from './services/data.service';
|
|
|
|
import { CountriesTableComponent } from './pages/home/countries-table.component';
|
|
|
|
import { DataViewComponent } from './pages/home/data-view.component';
|
|
|
|
import { HighchartsChartModule } from 'highcharts-angular';
|
|
|
|
import { CountriesMapOverviewComponent } from './pages/home/countries-map-overview.component';
|
2021-07-28 15:26:47 +02:00
|
|
|
import { CountryComponent } from './pages/country/country.component';
|
|
|
|
import { CountryMapComponent } from './pages/country/country-map.component';
|
2019-11-28 10:44:29 +01:00
|
|
|
import { GaugeChartComponent } from './pages/home/gauge-chart.component';
|
2020-05-05 22:34:12 +02:00
|
|
|
import { MethodologyPageComponent } from './pages/methodology/methodology.component';
|
2021-07-28 15:26:47 +02:00
|
|
|
import { ContinentComponent } from './pages/continent/continent.component';
|
2020-06-03 00:28:13 +02:00
|
|
|
import { EuropeMapOverviewComponent } from './pages/home/europe-map-overview.component';
|
|
|
|
import { DataHandlerService } from './services/data-handler.service';
|
|
|
|
|
|
|
|
import { NgxEchartsModule } from 'ngx-echarts';
|
|
|
|
import * as echarts from 'echarts';
|
2020-06-14 23:43:21 +02:00
|
|
|
import { AutocompleteLibModule } from 'angular-ng-autocomplete';
|
|
|
|
import { TopmenuComponent } from './shared/topmenu/top-menu.component';
|
|
|
|
import { TreemapHighchartsComponent } from './chart-components/treemap-highcharts/treemap-highcharts.component';
|
2021-07-23 11:11:40 +02:00
|
|
|
import { MatomoModule } from 'ngx-matomo';
|
|
|
|
import {environment} from '../environments/environment';
|
2019-11-13 11:22:40 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
HomeComponent,
|
2021-07-28 15:26:47 +02:00
|
|
|
// ContinentComponent,
|
|
|
|
// CountriesTableComponent,
|
2019-11-13 11:22:40 +01:00
|
|
|
DataViewComponent,
|
2019-11-22 11:48:20 +01:00
|
|
|
CountriesMapOverviewComponent,
|
2021-09-07 13:06:53 +02:00
|
|
|
// EuropeMapOverviewComponent,
|
2021-07-28 15:26:47 +02:00
|
|
|
// CountryComponent,
|
2019-11-28 10:44:29 +01:00
|
|
|
CountryMapComponent,
|
2020-05-05 22:34:12 +02:00
|
|
|
GaugeChartComponent,
|
2020-06-14 23:43:21 +02:00
|
|
|
MethodologyPageComponent,
|
|
|
|
TopmenuComponent,
|
2021-07-28 15:26:47 +02:00
|
|
|
// TreemapHighchartsComponent
|
2019-11-13 11:22:40 +01:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
ReusableComponentsModule,
|
2021-04-13 10:38:12 +02:00
|
|
|
// NgxEchartsModule.forRoot({
|
|
|
|
// echarts
|
|
|
|
// }),
|
2021-09-07 13:06:53 +02:00
|
|
|
// NgxEchartsModule,
|
2020-06-14 23:43:21 +02:00
|
|
|
HighchartsChartModule,
|
2021-07-23 11:11:40 +02:00
|
|
|
AutocompleteLibModule,
|
|
|
|
MatomoModule.forRoot({
|
|
|
|
scriptUrl: environment.MATOMO_URL + 'matomo.js',
|
|
|
|
trackers: [
|
|
|
|
{
|
|
|
|
trackerUrl: environment.MATOMO_URL + 'matomo.php',
|
|
|
|
siteId: environment.MATOMO_SITE_ID
|
|
|
|
}
|
|
|
|
],
|
|
|
|
routeTracking: {
|
|
|
|
enable: true
|
|
|
|
}
|
|
|
|
}),
|
2019-11-13 11:22:40 +01:00
|
|
|
],
|
|
|
|
providers: [
|
2020-06-03 00:28:13 +02:00
|
|
|
DataService,
|
|
|
|
DataHandlerService
|
2019-11-13 11:22:40 +01:00
|
|
|
],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|