Forráskód Böngészése

♻️ restructure modules again

jmacura 3 éve
szülő
commit
75fdcaf0be

+ 1 - 1
src/app/app.component.ts

@@ -7,7 +7,7 @@ import {Tile, Vector as VectorLayer} from 'ol/layer';
 
 import {HsConfig, HsEventBusService, HsToastService} from 'hslayers-ng';
 
-import {SdmDihService} from './graphs/sdm-dih.service';
+import {SdmDihService} from './sdm-dih.service';
 
 @Component({
   selector: 'application-root',

+ 2 - 2
src/app/app.module.ts

@@ -5,8 +5,8 @@ import {NgModule} from '@angular/core';
 import {HslayersAppComponent} from './app.component';
 import {HslayersModule} from 'hslayers-ng';
 
-import {DiscsModule} from './graphs/discs-chart/discs.module';
-import {DotsModule} from './graphs/dots-chart/dots.module';
+import {DiscsModule} from './discs-chart/discs.module';
+import {DotsModule} from './dots-chart/dots.module';
 
 @NgModule({
   declarations: [HslayersAppComponent],

+ 1 - 1
src/app/graphs/discs-chart/discs.module.ts → src/app/discs-chart/discs.module.ts

@@ -2,7 +2,7 @@ import {CommonModule} from '@angular/common';
 import {FormsModule} from '@angular/forms';
 import {NgModule} from '@angular/core';
 
-import {QuarterPipe} from '../quarter.pipe';
+import {QuarterPipe} from './quarter.pipe';
 import {YearGraphComponent} from './year-graph/year-graph.component';
 
 @NgModule({

+ 0 - 0
src/app/graphs/quarter.pipe.ts → src/app/discs-chart/quarter.pipe.ts


+ 0 - 0
src/app/graphs/discs-chart/year-graph/year-graph.component.html → src/app/discs-chart/year-graph/year-graph.component.html


+ 0 - 0
src/app/graphs/discs-chart/year-graph/year-graph.component.scss → src/app/discs-chart/year-graph/year-graph.component.scss


+ 0 - 0
src/app/graphs/discs-chart/year-graph/year-graph.component.ts → src/app/discs-chart/year-graph/year-graph.component.ts


+ 0 - 0
src/app/graphs/dots-chart/all-in-one-graph/all-in-one-graph.component.html → src/app/dots-chart/all-in-one-graph/all-in-one-graph.component.html


+ 0 - 0
src/app/graphs/dots-chart/all-in-one-graph/all-in-one-graph.component.scss → src/app/dots-chart/all-in-one-graph/all-in-one-graph.component.scss


+ 0 - 0
src/app/graphs/dots-chart/all-in-one-graph/all-in-one-graph.component.ts → src/app/dots-chart/all-in-one-graph/all-in-one-graph.component.ts


+ 0 - 0
src/app/graphs/dots-chart/dots.module.ts → src/app/dots-chart/dots.module.ts


+ 0 - 0
src/app/graphs/dots-chart/region-graph/region-graph.component.html → src/app/dots-chart/region-graph/region-graph.component.html


+ 0 - 0
src/app/graphs/dots-chart/region-graph/region-graph.component.scss → src/app/dots-chart/region-graph/region-graph.component.scss


+ 0 - 0
src/app/graphs/dots-chart/region-graph/region-graph.component.ts → src/app/dots-chart/region-graph/region-graph.component.ts


+ 2 - 2
src/app/graphs/sdm-dih.service.ts → src/app/sdm-dih.service.ts

@@ -3,11 +3,11 @@ import {Injectable} from '@angular/core';
 import {Subject} from 'rxjs';
 import {csv} from 'd3';
 
-import vars2facts from '../../assets/data/variables2factors.json';
+import vars2facts from '../assets/data/variables2factors.json';
 
 @Injectable({providedIn: 'root'})
 export class SdmDihService {
-  readonly DATA_PATH = '../../assets/data/normalized_data.csv';
+  readonly DATA_PATH = '../assets/data/normalized_data.csv';
   sdmData = {};
   //aggregatedData = {};
   firstYear: string;