-
-
diff --git a/lib/test/main.ts b/lib/test/main.ts
deleted file mode 100644
index 24d85451bd..0000000000
--- a/lib/test/main.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
-import { enableProdMode } from '@angular/core';
-import { environment } from '../environments/environment';
-import { IgoTestModule } from './module';
-
-if (environment.production) {
- enableProdMode();
-}
-
-platformBrowserDynamic().bootstrapModule(IgoTestModule);
diff --git a/lib/test/polyfills.ts b/lib/test/polyfills.ts
deleted file mode 100644
index 53bdaf1b86..0000000000
--- a/lib/test/polyfills.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * This file includes polyfills needed by Angular and is loaded before the app.
- * You can add your own extra polyfills to this file.
- *
- * This file is divided into 2 sections:
- * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
- * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
- * file.
- *
- * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
- * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
- * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
- *
- * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
- */
-
-/***************************************************************************************************
- * BROWSER POLYFILLS
- */
-
-/** IE9, IE10 and IE11 requires all of the following polyfills. **/
-// import 'core-js/es6/symbol';
-// import 'core-js/es6/object';
-// import 'core-js/es6/function';
-// import 'core-js/es6/parse-int';
-// import 'core-js/es6/parse-float';
-// import 'core-js/es6/number';
-// import 'core-js/es6/math';
-// import 'core-js/es6/string';
-// import 'core-js/es6/date';
-// import 'core-js/es6/array';
-// import 'core-js/es6/regexp';
-// import 'core-js/es6/map';
-// import 'core-js/es6/set';
-
-/** IE10 and IE11 requires the following for NgClass support on SVG elements */
-// import 'classlist.js'; // Run `npm install --save classlist.js`.
-
-/** IE10 and IE11 requires the following to support `@angular/animation`. */
-// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
-
-
-/** Evergreen browsers require these. **/
-import 'core-js/es6/reflect';
-import 'core-js/es7/reflect';
-
-
-/** ALL Firefox browsers require the following to support `@angular/animation`. **/
-// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
-
-
-
-/***************************************************************************************************
- * Zone JS is required by Angular itself.
- */
-import 'zone.js/dist/zone'; // Included with Angular CLI.
-
-
-
-/***************************************************************************************************
- * APPLICATION IMPORTS
- */
-
-/**
- * Date, currency, decimal and percent pipes.
- * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
- */
-// import 'intl'; // Run `npm install --save intl`.
diff --git a/lib/test/test.ts b/lib/test/test.ts
deleted file mode 100644
index e278843dbe..0000000000
--- a/lib/test/test.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-// This file is required by karma.conf.js and loads recursively all the .spec and framework files
-
-import 'zone.js/dist/long-stack-trace-zone';
-import 'zone.js/dist/proxy.js';
-import 'zone.js/dist/sync-test';
-import 'zone.js/dist/jasmine-patch';
-import 'zone.js/dist/async-test';
-import 'zone.js/dist/fake-async-test';
-import { getTestBed } from '@angular/core/testing';
-import {
- BrowserDynamicTestingModule,
- platformBrowserDynamicTesting
-} from '@angular/platform-browser-dynamic/testing';
-
-// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
-declare var __karma__: any;
-declare var require: any;
-
-// Prevent Karma from running prematurely.
-__karma__.loaded = function () {};
-
-// First, initialize the Angular testing environment.
-getTestBed().initTestEnvironment(
- BrowserDynamicTestingModule,
- platformBrowserDynamicTesting()
-);
-// Then we find all the tests.
-const context = require.context('../src/', true, /\.spec\.ts$/);
-
-// And load the modules.
-context.keys().map(context);
-
-// Finally, start Karma to run the tests.
-__karma__.start();
diff --git a/package.json b/package.json
index a35deab045..a61527e7ab 100644
--- a/package.json
+++ b/package.json
@@ -1,22 +1,33 @@
{
- "name": "igo-lib",
- "version": "0.0.1",
- "description": "Infrastructure géomatique ouverte",
+ "name": "igo2",
+ "version": "0.0.5",
+ "description": "IGO Library",
+ "main": "bundle/igo.js",
+ "typings": "dist/index.d.ts",
"repository": {
+ "type": "git",
"url": "https://github.com/infra-geo-ouverte/igo2-lib.git"
},
- "license": "LiLiQ-R",
+ "keywords": [
+ "igo"
+ ],
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
+ },
+ "homepage": "https://github.com/infra-geo-ouverte/igo2-lib#readme",
"scripts": {
"ng": "ng",
"start": "ng serve --app demo --proxy-config proxy.conf.json",
- "build.lib": "gulp && ngc -p ./lib/tsconfig.lib.json && npm run build.lib.bundle",
+ "start.lib": "ng serve --proxy-config proxy.conf.json",
+ "build.lib": "npm run clean && gulp && ngc -p ./src/lib/tsconfig.lib.json && npm run build.lib.bundle",
"build.lib.bundle": "webpack --config webpack.conf.js --bail",
"build.demo": "ng build --app demo",
- "test.lib": "ng test --single-run ",
- "test.demo": "ng test -c karma.demo.conf.js --single-run",
- "test": "npm run lint && npm run test.lib && npm run test.demo",
+ "test": "npm run lint && ng test --single-run",
"lint": "ng lint",
- "e2e": "ng e2e --app demo"
+ "e2e": "ng e2e --app demo",
+ "clean": "rimraf dist && rimraf bundle",
+ "i18n.extract": "ngx-translate-extract -i ./src/lib -o ./src/assets/locale/fr.json ./src/assets/locale/en.json -s -f namespaced-json -m _ -c"
},
"dependencies": {
"@angular/animations": "^4.0.0",
diff --git a/demo-app/assets/fonts/MaterialIcons-Regular.eot b/src/assets/fonts/MaterialIcons-Regular.eot
similarity index 100%
rename from demo-app/assets/fonts/MaterialIcons-Regular.eot
rename to src/assets/fonts/MaterialIcons-Regular.eot
diff --git a/demo-app/assets/fonts/MaterialIcons-Regular.ttf b/src/assets/fonts/MaterialIcons-Regular.ttf
similarity index 100%
rename from demo-app/assets/fonts/MaterialIcons-Regular.ttf
rename to src/assets/fonts/MaterialIcons-Regular.ttf
diff --git a/demo-app/assets/fonts/MaterialIcons-Regular.woff b/src/assets/fonts/MaterialIcons-Regular.woff
similarity index 100%
rename from demo-app/assets/fonts/MaterialIcons-Regular.woff
rename to src/assets/fonts/MaterialIcons-Regular.woff
diff --git a/demo-app/assets/fonts/MaterialIcons-Regular.woff2 b/src/assets/fonts/MaterialIcons-Regular.woff2
similarity index 100%
rename from demo-app/assets/fonts/MaterialIcons-Regular.woff2
rename to src/assets/fonts/MaterialIcons-Regular.woff2
diff --git a/assets/icons/place_blue_36px.svg b/src/assets/icons/place_blue_36px.svg
similarity index 100%
rename from assets/icons/place_blue_36px.svg
rename to src/assets/icons/place_blue_36px.svg
diff --git a/src/assets/locale/en.json b/src/assets/locale/en.json
new file mode 100644
index 0000000000..1df4ec4208
--- /dev/null
+++ b/src/assets/locale/en.json
@@ -0,0 +1,13 @@
+{
+ "igo": {
+ "endDate": "End Date",
+ "hideLayer": "Hide Layer",
+ "lowerLayer": "Bring layer backward",
+ "noLegendText": "No legend available for this layer",
+ "opacity": "Opacity",
+ "raiseLayer": "Bring layer forward",
+ "removeLayer": "Remove this layer from the map",
+ "showLayer": "Show Layer",
+ "startDate": "Start Date"
+ }
+}
diff --git a/src/assets/locale/fr.json b/src/assets/locale/fr.json
new file mode 100644
index 0000000000..856dec7d6c
--- /dev/null
+++ b/src/assets/locale/fr.json
@@ -0,0 +1,13 @@
+{
+ "igo": {
+ "endDate": "Date de fin",
+ "hideLayer": "Masquer la couche",
+ "lowerLayer": "Descendre la couche",
+ "noLegendText": "Aucune légende disponible pour cette couche",
+ "opacity": "Opacité",
+ "raiseLayer": "Monter la couche",
+ "removeLayer": "Retirer la couche de la carte",
+ "showLayer": "Afficher la couche",
+ "startDate": "Date de début"
+ }
+}
diff --git a/demo-app/app/app.component.html b/src/demo-app/app/app.component.html
similarity index 96%
rename from demo-app/app/app.component.html
rename to src/demo-app/app/app.component.html
index 8df7ac1d9e..7eb60d8d25 100644
--- a/demo-app/app/app.component.html
+++ b/src/demo-app/app/app.component.html
@@ -3,7 +3,7 @@
search-bar.component
diff --git a/demo-app/app/app.component.spec.ts b/src/demo-app/app/app.component.spec.ts
similarity index 99%
rename from demo-app/app/app.component.spec.ts
rename to src/demo-app/app/app.component.spec.ts
index 9837f6910f..9b21889555 100644
--- a/demo-app/app/app.component.spec.ts
+++ b/src/demo-app/app/app.component.spec.ts
@@ -1,6 +1,6 @@
import { TestBed, async } from '@angular/core/testing';
import { MaterialModule } from '@angular/material';
-import { IgoModule, provideDefaultSearchSources } from '../../lib/src';
+import { IgoModule, provideDefaultSearchSources } from '../../lib';
import { AppComponent } from './app.component';
diff --git a/demo-app/app/app.component.styl b/src/demo-app/app/app.component.styl
similarity index 100%
rename from demo-app/app/app.component.styl
rename to src/demo-app/app/app.component.styl
diff --git a/demo-app/app/app.component.ts b/src/demo-app/app/app.component.ts
similarity index 93%
rename from demo-app/app/app.component.ts
rename to src/demo-app/app/app.component.ts
index 367785adab..13114d9585 100644
--- a/demo-app/app/app.component.ts
+++ b/src/demo-app/app/app.component.ts
@@ -4,7 +4,7 @@ import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { IgoMap, LayerService, Tool,
OverlayService, QueryFormat,
Feature, FeatureService,
- WMSLayerOptions, LanguageService } from '../../lib/src';
+ WMSLayerOptions, LanguageService } from '../../lib';
@Component({
selector: 'igo-demo',
@@ -31,9 +31,9 @@ export class AppComponent implements OnInit {
constructor(public featureService: FeatureService,
public layerService: LayerService,
public overlayService: OverlayService,
- private language: LanguageService) {
+ public language: LanguageService) {
- this.language.readTranslation('/assets/locale/');
+ // this.language.readTranslation('/assets/locale/');
}
ngOnInit() {
diff --git a/demo-app/app/app.module.ts b/src/demo-app/app/app.module.ts
similarity index 98%
rename from demo-app/app/app.module.ts
rename to src/demo-app/app/app.module.ts
index 443a9b10dc..fd27e79bd0 100644
--- a/demo-app/app/app.module.ts
+++ b/src/demo-app/app/app.module.ts
@@ -4,7 +4,7 @@ import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { MaterialModule } from '@angular/material';
-import { IgoModule, provideDefaultSearchSources } from '../../lib/src';
+import { IgoModule, provideDefaultSearchSources } from '../../lib';
import { AppComponent } from './app.component';
@NgModule({
diff --git a/src/demo-app/assets/locale/en.json b/src/demo-app/assets/locale/en.json
new file mode 100644
index 0000000000..ddc9ba64bd
--- /dev/null
+++ b/src/demo-app/assets/locale/en.json
@@ -0,0 +1,3 @@
+{
+ "Search for an address or a place": "Search for an address or a place"
+}
diff --git a/src/demo-app/assets/locale/fr.json b/src/demo-app/assets/locale/fr.json
new file mode 100644
index 0000000000..bce85d43cc
--- /dev/null
+++ b/src/demo-app/assets/locale/fr.json
@@ -0,0 +1,3 @@
+{
+ "Search for an address or a place": "Rechercher une adresse, un lieu ou une couche"
+}
diff --git a/demo-app/css/styles.styl b/src/demo-app/css/styles.styl
similarity index 69%
rename from demo-app/css/styles.styl
rename to src/demo-app/css/styles.styl
index caf5355cbc..d3465e4666 100644
--- a/demo-app/css/styles.styl
+++ b/src/demo-app/css/styles.styl
@@ -1,17 +1,17 @@
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
-@import '../../lib/themes/deeppurple-amber.styl';
-@import '../../lib/styles.styl';
+@import '../../themes/deeppurple-amber.styl';
+@import '../../styles.styl';
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
- src: url(../assets/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
+ src: url(../../assets/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
- url(../assets/fonts/MaterialIcons-Regular.woff2) format('woff2'),
- url(../assets/fonts/MaterialIcons-Regular.woff) format('woff'),
- url(../assets/fonts/MaterialIcons-Regular.ttf) format('truetype');
+ url(../../assets/fonts/MaterialIcons-Regular.woff2) format('woff2'),
+ url(../../assets/fonts/MaterialIcons-Regular.woff) format('woff'),
+ url(../../assets/fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
diff --git a/demo-app/environments/environment.prod.ts b/src/demo-app/environments/environment.prod.ts
similarity index 100%
rename from demo-app/environments/environment.prod.ts
rename to src/demo-app/environments/environment.prod.ts
diff --git a/demo-app/environments/environment.ts b/src/demo-app/environments/environment.ts
similarity index 100%
rename from demo-app/environments/environment.ts
rename to src/demo-app/environments/environment.ts
diff --git a/demo-app/favicon.ico b/src/demo-app/favicon.ico
similarity index 100%
rename from demo-app/favicon.ico
rename to src/demo-app/favicon.ico
diff --git a/demo-app/index.html b/src/demo-app/index.html
similarity index 100%
rename from demo-app/index.html
rename to src/demo-app/index.html
diff --git a/demo-app/main.ts b/src/demo-app/main.ts
similarity index 100%
rename from demo-app/main.ts
rename to src/demo-app/main.ts
diff --git a/demo-app/polyfills.ts b/src/demo-app/polyfills.ts
similarity index 100%
rename from demo-app/polyfills.ts
rename to src/demo-app/polyfills.ts
diff --git a/demo-app/tsconfig.app.json b/src/demo-app/tsconfig.demo.json
similarity index 66%
rename from demo-app/tsconfig.app.json
rename to src/demo-app/tsconfig.demo.json
index 5e2507db58..0371bec04b 100644
--- a/demo-app/tsconfig.app.json
+++ b/src/demo-app/tsconfig.demo.json
@@ -1,7 +1,7 @@
{
- "extends": "../tsconfig.json",
+ "extends": "../../tsconfig.json",
"compilerOptions": {
- "outDir": "../out-tsc/app",
+ "outDir": "../../out-tsc/app",
"module": "es2015",
"baseUrl": "",
"types": []
diff --git a/demo-app/typings.d.ts b/src/demo-app/typings.d.ts
similarity index 100%
rename from demo-app/typings.d.ts
rename to src/demo-app/typings.d.ts
diff --git a/lib/src/core.ts b/src/lib/core.ts
similarity index 100%
rename from lib/src/core.ts
rename to src/lib/core.ts
diff --git a/lib/src/core/index.ts b/src/lib/core/index.ts
similarity index 100%
rename from lib/src/core/index.ts
rename to src/lib/core/index.ts
diff --git a/lib/src/core/message/index.ts b/src/lib/core/message/index.ts
similarity index 100%
rename from lib/src/core/message/index.ts
rename to src/lib/core/message/index.ts
diff --git a/lib/src/core/message/message.interface.ts b/src/lib/core/message/message.interface.ts
similarity index 100%
rename from lib/src/core/message/message.interface.ts
rename to src/lib/core/message/message.interface.ts
diff --git a/lib/src/core/message/message.service.spec.ts b/src/lib/core/message/message.service.spec.ts
similarity index 100%
rename from lib/src/core/message/message.service.spec.ts
rename to src/lib/core/message/message.service.spec.ts
diff --git a/lib/src/core/message/message.service.ts b/src/lib/core/message/message.service.ts
similarity index 100%
rename from lib/src/core/message/message.service.ts
rename to src/lib/core/message/message.service.ts
diff --git a/lib/src/core/module.ts b/src/lib/core/module.ts
similarity index 100%
rename from lib/src/core/module.ts
rename to src/lib/core/module.ts
diff --git a/lib/src/core/request/index.ts b/src/lib/core/request/index.ts
similarity index 100%
rename from lib/src/core/request/index.ts
rename to src/lib/core/request/index.ts
diff --git a/lib/src/core/request/request.service.spec.ts b/src/lib/core/request/request.service.spec.ts
similarity index 100%
rename from lib/src/core/request/request.service.spec.ts
rename to src/lib/core/request/request.service.spec.ts
diff --git a/lib/src/core/request/request.service.ts b/src/lib/core/request/request.service.ts
similarity index 100%
rename from lib/src/core/request/request.service.ts
rename to src/lib/core/request/request.service.ts
diff --git a/lib/src/feature/feature-details/feature-details.component.html b/src/lib/feature/feature-details/feature-details.component.html
similarity index 100%
rename from lib/src/feature/feature-details/feature-details.component.html
rename to src/lib/feature/feature-details/feature-details.component.html
diff --git a/lib/src/feature/feature-details/feature-details.component.spec.ts b/src/lib/feature/feature-details/feature-details.component.spec.ts
similarity index 100%
rename from lib/src/feature/feature-details/feature-details.component.spec.ts
rename to src/lib/feature/feature-details/feature-details.component.spec.ts
diff --git a/lib/src/feature/feature-details/feature-details.component.styl b/src/lib/feature/feature-details/feature-details.component.styl
similarity index 100%
rename from lib/src/feature/feature-details/feature-details.component.styl
rename to src/lib/feature/feature-details/feature-details.component.styl
diff --git a/lib/src/feature/feature-details/feature-details.component.ts b/src/lib/feature/feature-details/feature-details.component.ts
similarity index 100%
rename from lib/src/feature/feature-details/feature-details.component.ts
rename to src/lib/feature/feature-details/feature-details.component.ts
diff --git a/lib/src/feature/feature-details/index.ts b/src/lib/feature/feature-details/index.ts
similarity index 100%
rename from lib/src/feature/feature-details/index.ts
rename to src/lib/feature/feature-details/index.ts
diff --git a/lib/src/feature/feature-item/feature-item.component.html b/src/lib/feature/feature-item/feature-item.component.html
similarity index 100%
rename from lib/src/feature/feature-item/feature-item.component.html
rename to src/lib/feature/feature-item/feature-item.component.html
diff --git a/lib/src/feature/feature-item/feature-item.component.spec.ts b/src/lib/feature/feature-item/feature-item.component.spec.ts
similarity index 100%
rename from lib/src/feature/feature-item/feature-item.component.spec.ts
rename to src/lib/feature/feature-item/feature-item.component.spec.ts
diff --git a/lib/src/feature/feature-item/feature-item.component.styl b/src/lib/feature/feature-item/feature-item.component.styl
similarity index 100%
rename from lib/src/feature/feature-item/feature-item.component.styl
rename to src/lib/feature/feature-item/feature-item.component.styl
diff --git a/lib/src/feature/feature-item/feature-item.component.ts b/src/lib/feature/feature-item/feature-item.component.ts
similarity index 100%
rename from lib/src/feature/feature-item/feature-item.component.ts
rename to src/lib/feature/feature-item/feature-item.component.ts
diff --git a/lib/src/feature/feature-item/index.ts b/src/lib/feature/feature-item/index.ts
similarity index 100%
rename from lib/src/feature/feature-item/index.ts
rename to src/lib/feature/feature-item/index.ts
diff --git a/lib/src/feature/feature-list/feature-list-base.component.html b/src/lib/feature/feature-list/feature-list-base.component.html
similarity index 100%
rename from lib/src/feature/feature-list/feature-list-base.component.html
rename to src/lib/feature/feature-list/feature-list-base.component.html
diff --git a/lib/src/feature/feature-list/feature-list-base.component.spec.ts b/src/lib/feature/feature-list/feature-list-base.component.spec.ts
similarity index 100%
rename from lib/src/feature/feature-list/feature-list-base.component.spec.ts
rename to src/lib/feature/feature-list/feature-list-base.component.spec.ts
diff --git a/lib/src/feature/feature-list/feature-list-base.component.styl b/src/lib/feature/feature-list/feature-list-base.component.styl
similarity index 100%
rename from lib/src/feature/feature-list/feature-list-base.component.styl
rename to src/lib/feature/feature-list/feature-list-base.component.styl
diff --git a/lib/src/feature/feature-list/feature-list-base.component.ts b/src/lib/feature/feature-list/feature-list-base.component.ts
similarity index 100%
rename from lib/src/feature/feature-list/feature-list-base.component.ts
rename to src/lib/feature/feature-list/feature-list-base.component.ts
diff --git a/lib/src/feature/feature-list/feature-list.component.html b/src/lib/feature/feature-list/feature-list.component.html
similarity index 100%
rename from lib/src/feature/feature-list/feature-list.component.html
rename to src/lib/feature/feature-list/feature-list.component.html
diff --git a/lib/src/feature/feature-list/feature-list.component.spec.ts b/src/lib/feature/feature-list/feature-list.component.spec.ts
similarity index 100%
rename from lib/src/feature/feature-list/feature-list.component.spec.ts
rename to src/lib/feature/feature-list/feature-list.component.spec.ts
diff --git a/lib/src/feature/feature-list/feature-list.component.styl b/src/lib/feature/feature-list/feature-list.component.styl
similarity index 100%
rename from lib/src/feature/feature-list/feature-list.component.styl
rename to src/lib/feature/feature-list/feature-list.component.styl
diff --git a/lib/src/feature/feature-list/feature-list.component.ts b/src/lib/feature/feature-list/feature-list.component.ts
similarity index 100%
rename from lib/src/feature/feature-list/feature-list.component.ts
rename to src/lib/feature/feature-list/feature-list.component.ts
diff --git a/lib/src/feature/feature-list/index.ts b/src/lib/feature/feature-list/index.ts
similarity index 100%
rename from lib/src/feature/feature-list/index.ts
rename to src/lib/feature/feature-list/index.ts
diff --git a/lib/src/feature/index.ts b/src/lib/feature/index.ts
similarity index 100%
rename from lib/src/feature/index.ts
rename to src/lib/feature/index.ts
diff --git a/lib/src/feature/module.ts b/src/lib/feature/module.ts
similarity index 100%
rename from lib/src/feature/module.ts
rename to src/lib/feature/module.ts
diff --git a/lib/src/feature/shared/feature-group.pipe.spec.ts b/src/lib/feature/shared/feature-group.pipe.spec.ts
similarity index 100%
rename from lib/src/feature/shared/feature-group.pipe.spec.ts
rename to src/lib/feature/shared/feature-group.pipe.spec.ts
diff --git a/lib/src/feature/shared/feature-group.pipe.ts b/src/lib/feature/shared/feature-group.pipe.ts
similarity index 100%
rename from lib/src/feature/shared/feature-group.pipe.ts
rename to src/lib/feature/shared/feature-group.pipe.ts
diff --git a/lib/src/feature/shared/feature.enum.ts b/src/lib/feature/shared/feature.enum.ts
similarity index 100%
rename from lib/src/feature/shared/feature.enum.ts
rename to src/lib/feature/shared/feature.enum.ts
diff --git a/lib/src/feature/shared/feature.interface.ts b/src/lib/feature/shared/feature.interface.ts
similarity index 100%
rename from lib/src/feature/shared/feature.interface.ts
rename to src/lib/feature/shared/feature.interface.ts
diff --git a/lib/src/feature/shared/feature.service.spec.ts b/src/lib/feature/shared/feature.service.spec.ts
similarity index 100%
rename from lib/src/feature/shared/feature.service.spec.ts
rename to src/lib/feature/shared/feature.service.spec.ts
diff --git a/lib/src/feature/shared/feature.service.ts b/src/lib/feature/shared/feature.service.ts
similarity index 100%
rename from lib/src/feature/shared/feature.service.ts
rename to src/lib/feature/shared/feature.service.ts
diff --git a/lib/src/feature/shared/index.ts b/src/lib/feature/shared/index.ts
similarity index 100%
rename from lib/src/feature/shared/index.ts
rename to src/lib/feature/shared/index.ts
diff --git a/lib/src/filter/filterable-layer/filterable-layer.pipe.spec.ts b/src/lib/filter/filterable-layer/filterable-layer.pipe.spec.ts
similarity index 100%
rename from lib/src/filter/filterable-layer/filterable-layer.pipe.spec.ts
rename to src/lib/filter/filterable-layer/filterable-layer.pipe.spec.ts
diff --git a/lib/src/filter/filterable-layer/filterable-layer.pipe.ts b/src/lib/filter/filterable-layer/filterable-layer.pipe.ts
similarity index 100%
rename from lib/src/filter/filterable-layer/filterable-layer.pipe.ts
rename to src/lib/filter/filterable-layer/filterable-layer.pipe.ts
diff --git a/lib/src/filter/filterable-layer/index.ts b/src/lib/filter/filterable-layer/index.ts
similarity index 100%
rename from lib/src/filter/filterable-layer/index.ts
rename to src/lib/filter/filterable-layer/index.ts
diff --git a/lib/src/filter/index.ts b/src/lib/filter/index.ts
similarity index 100%
rename from lib/src/filter/index.ts
rename to src/lib/filter/index.ts
diff --git a/lib/src/filter/module.ts b/src/lib/filter/module.ts
similarity index 100%
rename from lib/src/filter/module.ts
rename to src/lib/filter/module.ts
diff --git a/lib/src/filter/shared/index.ts b/src/lib/filter/shared/index.ts
similarity index 100%
rename from lib/src/filter/shared/index.ts
rename to src/lib/filter/shared/index.ts
diff --git a/lib/src/filter/shared/time-filter.interface.ts b/src/lib/filter/shared/time-filter.interface.ts
similarity index 100%
rename from lib/src/filter/shared/time-filter.interface.ts
rename to src/lib/filter/shared/time-filter.interface.ts
diff --git a/lib/src/filter/time-filter-form/index.ts b/src/lib/filter/time-filter-form/index.ts
similarity index 100%
rename from lib/src/filter/time-filter-form/index.ts
rename to src/lib/filter/time-filter-form/index.ts
diff --git a/lib/src/filter/time-filter-form/time-filter-form.component.html b/src/lib/filter/time-filter-form/time-filter-form.component.html
similarity index 84%
rename from lib/src/filter/time-filter-form/time-filter-form.component.html
rename to src/lib/filter/time-filter-form/time-filter-form.component.html
index 28dac831cf..953c2a4d45 100644
--- a/lib/src/filter/time-filter-form/time-filter-form.component.html
+++ b/src/lib/filter/time-filter-form/time-filter-form.component.html
@@ -1,7 +1,7 @@
-
\ No newline at end of file
+
diff --git a/lib/src/filter/time-filter-form/time-filter-form.component.spec.ts b/src/lib/filter/time-filter-form/time-filter-form.component.spec.ts
similarity index 100%
rename from lib/src/filter/time-filter-form/time-filter-form.component.spec.ts
rename to src/lib/filter/time-filter-form/time-filter-form.component.spec.ts
diff --git a/lib/src/filter/time-filter-form/time-filter-form.component.styl b/src/lib/filter/time-filter-form/time-filter-form.component.styl
similarity index 100%
rename from lib/src/filter/time-filter-form/time-filter-form.component.styl
rename to src/lib/filter/time-filter-form/time-filter-form.component.styl
diff --git a/lib/src/filter/time-filter-form/time-filter-form.component.ts b/src/lib/filter/time-filter-form/time-filter-form.component.ts
similarity index 100%
rename from lib/src/filter/time-filter-form/time-filter-form.component.ts
rename to src/lib/filter/time-filter-form/time-filter-form.component.ts
diff --git a/lib/src/filter/time-filter-item/index.ts b/src/lib/filter/time-filter-item/index.ts
similarity index 100%
rename from lib/src/filter/time-filter-item/index.ts
rename to src/lib/filter/time-filter-item/index.ts
diff --git a/lib/src/filter/time-filter-item/time-filter-item.component.html b/src/lib/filter/time-filter-item/time-filter-item.component.html
similarity index 100%
rename from lib/src/filter/time-filter-item/time-filter-item.component.html
rename to src/lib/filter/time-filter-item/time-filter-item.component.html
diff --git a/lib/src/filter/time-filter-item/time-filter-item.component.spec.ts b/src/lib/filter/time-filter-item/time-filter-item.component.spec.ts
similarity index 100%
rename from lib/src/filter/time-filter-item/time-filter-item.component.spec.ts
rename to src/lib/filter/time-filter-item/time-filter-item.component.spec.ts
diff --git a/lib/src/filter/time-filter-item/time-filter-item.component.styl b/src/lib/filter/time-filter-item/time-filter-item.component.styl
similarity index 100%
rename from lib/src/filter/time-filter-item/time-filter-item.component.styl
rename to src/lib/filter/time-filter-item/time-filter-item.component.styl
diff --git a/lib/src/filter/time-filter-item/time-filter-item.component.ts b/src/lib/filter/time-filter-item/time-filter-item.component.ts
similarity index 100%
rename from lib/src/filter/time-filter-item/time-filter-item.component.ts
rename to src/lib/filter/time-filter-item/time-filter-item.component.ts
diff --git a/lib/src/filter/time-filter-list/index.ts b/src/lib/filter/time-filter-list/index.ts
similarity index 100%
rename from lib/src/filter/time-filter-list/index.ts
rename to src/lib/filter/time-filter-list/index.ts
diff --git a/lib/src/filter/time-filter-list/time-filter-list.component.html b/src/lib/filter/time-filter-list/time-filter-list.component.html
similarity index 100%
rename from lib/src/filter/time-filter-list/time-filter-list.component.html
rename to src/lib/filter/time-filter-list/time-filter-list.component.html
diff --git a/lib/src/filter/time-filter-list/time-filter-list.component.spec.ts b/src/lib/filter/time-filter-list/time-filter-list.component.spec.ts
similarity index 100%
rename from lib/src/filter/time-filter-list/time-filter-list.component.spec.ts
rename to src/lib/filter/time-filter-list/time-filter-list.component.spec.ts
diff --git a/lib/src/filter/time-filter-list/time-filter-list.component.styl b/src/lib/filter/time-filter-list/time-filter-list.component.styl
similarity index 100%
rename from lib/src/filter/time-filter-list/time-filter-list.component.styl
rename to src/lib/filter/time-filter-list/time-filter-list.component.styl
diff --git a/lib/src/filter/time-filter-list/time-filter-list.component.ts b/src/lib/filter/time-filter-list/time-filter-list.component.ts
similarity index 100%
rename from lib/src/filter/time-filter-list/time-filter-list.component.ts
rename to src/lib/filter/time-filter-list/time-filter-list.component.ts
diff --git a/lib/src/index.ts b/src/lib/index.ts
similarity index 100%
rename from lib/src/index.ts
rename to src/lib/index.ts
diff --git a/lib/src/language/index.ts b/src/lib/language/index.ts
similarity index 100%
rename from lib/src/language/index.ts
rename to src/lib/language/index.ts
diff --git a/lib/src/language/module.ts b/src/lib/language/module.ts
similarity index 100%
rename from lib/src/language/module.ts
rename to src/lib/language/module.ts
diff --git a/lib/src/language/shared/index.ts b/src/lib/language/shared/index.ts
similarity index 100%
rename from lib/src/language/shared/index.ts
rename to src/lib/language/shared/index.ts
diff --git a/lib/src/language/shared/language.service.spec.ts b/src/lib/language/shared/language.service.spec.ts
similarity index 100%
rename from lib/src/language/shared/language.service.spec.ts
rename to src/lib/language/shared/language.service.spec.ts
diff --git a/lib/src/language/shared/language.service.ts b/src/lib/language/shared/language.service.ts
similarity index 100%
rename from lib/src/language/shared/language.service.ts
rename to src/lib/language/shared/language.service.ts
diff --git a/lib/src/language/shared/missing-translation.guard.ts b/src/lib/language/shared/missing-translation.guard.ts
similarity index 100%
rename from lib/src/language/shared/missing-translation.guard.ts
rename to src/lib/language/shared/missing-translation.guard.ts
diff --git a/lib/src/layer/index.ts b/src/lib/layer/index.ts
similarity index 100%
rename from lib/src/layer/index.ts
rename to src/lib/layer/index.ts
diff --git a/lib/src/layer/layer-item/index.ts b/src/lib/layer/layer-item/index.ts
similarity index 100%
rename from lib/src/layer/layer-item/index.ts
rename to src/lib/layer/layer-item/index.ts
diff --git a/lib/src/layer/layer-item/layer-item.component.html b/src/lib/layer/layer-item/layer-item.component.html
similarity index 84%
rename from lib/src/layer/layer-item/layer-item.component.html
rename to src/lib/layer/layer-item/layer-item.component.html
index b37d94e27e..b9b5b9f800 100644
--- a/lib/src/layer/layer-item/layer-item.component.html
+++ b/src/lib/layer/layer-item/layer-item.component.html
@@ -13,7 +13,9 @@