Project

General

Profile

1
import { BrowserModule } from '@angular/platform-browser';
2
import { NgModule } from '@angular/core';
3

    
4
import { AppRoutingModule } from './app-routing.module';
5
import { AppComponent } from './app.component';
6
import { ReusableComponentsModule } from './shared/reusablecomponents/reusable-components.module';
7
import { HomeComponent } from './pages/home/home.component';
8
import { DataService } from './services/data.service';
9
import { CountriesTableComponent } from './pages/home/countries-table.component';
10
import { DataViewComponent } from './pages/home/data-view.component';
11
import { HighchartsChartModule } from 'highcharts-angular';
12
import { CountriesMapOverviewComponent } from './pages/home/countries-map-overview.component';
13
import { CountryComponent } from './pages/country/country.component';
14
import { CountryMapComponent } from './pages/country/country-map.component';
15
import { GaugeChartComponent } from './pages/home/gauge-chart.component';
16
import { MethodologyPageComponent } from './pages/methodology/methodology.component';
17
import { ContinentComponent } from './pages/continent/continent.component';
18
import { EuropeMapOverviewComponent } from './pages/home/europe-map-overview.component';
19
import { DataHandlerService } from './services/data-handler.service';
20

    
21
import { NgxEchartsModule } from 'ngx-echarts';
22
import * as echarts from 'echarts';
23
import { AutocompleteLibModule } from 'angular-ng-autocomplete';
24
import { TopmenuComponent } from './shared/topmenu/top-menu.component';
25
import { TreemapHighchartsComponent } from './chart-components/treemap-highcharts/treemap-highcharts.component';
26
import { MatomoModule } from 'ngx-matomo';
27
import {environment} from '../environments/environment';
28
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
29

    
30
@NgModule({
31
  declarations: [
32
    AppComponent,
33
    HomeComponent,
34
    // ContinentComponent,
35
    // CountriesTableComponent,
36
    DataViewComponent,
37
    CountriesMapOverviewComponent,
38
    // EuropeMapOverviewComponent,
39
    // CountryComponent,
40
    CountryMapComponent,
41
    GaugeChartComponent,
42
    MethodologyPageComponent,
43
    TopmenuComponent,
44
    // TreemapHighchartsComponent
45
  ],
46
  imports: [
47
    BrowserModule,
48
    AppRoutingModule,
49
    ReusableComponentsModule,
50
    // NgxEchartsModule.forRoot({
51
    //   echarts
52
    // }),
53
    // NgxEchartsModule,
54
    HighchartsChartModule,
55
    AutocompleteLibModule,
56
    MatomoModule.forRoot({
57
      scriptUrl: environment.MATOMO_URL + 'matomo.js',
58
      trackers: [
59
        {
60
          trackerUrl: environment.MATOMO_URL + 'matomo.php',
61
          siteId: environment.MATOMO_SITE_ID
62
        }
63
      ],
64
      routeTracking: {
65
        enable: true
66
      }
67
    }),
68
    BrowserAnimationsModule,
69
  ],
70
  providers: [
71
    DataService,
72
    DataHandlerService
73
  ],
74
  bootstrap: [AppComponent]
75
})
76
export class AppModule { }
(6-6/7)