From 1e755566e3483861867f861df2918c16929f050e Mon Sep 17 00:00:00 2001 From: Tim Herbst Date: Tue, 22 Dec 2020 07:54:13 +0100 Subject: [PATCH] add dependencies for sidenav and datepicker --- projects/project-3/frontend/package-lock.json | 10 ++++++++++ projects/project-3/frontend/package.json | 2 ++ projects/project-3/frontend/src/app/app.module.ts | 8 +++++++- .../domain/{bike-station.ts => map-bike-point.ts} | 0 4 files changed, 19 insertions(+), 1 deletion(-) rename projects/project-3/frontend/src/app/service/domain/{bike-station.ts => map-bike-point.ts} (100%) diff --git a/projects/project-3/frontend/package-lock.json b/projects/project-3/frontend/package-lock.json index a0a1c6c..ccd339e 100644 --- a/projects/project-3/frontend/package-lock.json +++ b/projects/project-3/frontend/package-lock.json @@ -2687,6 +2687,11 @@ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", "dev": true }, + "bootstrap": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.3.tgz", + "integrity": "sha512-o9ppKQioXGqhw8Z7mah6KdTYpNQY//tipnkxppWhPbiSWdD+1raYsnhwEZjkTHYbGee4cVQ0Rx65EhOY/HNLcQ==" + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -6724,6 +6729,11 @@ } } }, + "jquery": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.5.1.tgz", + "integrity": "sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg==" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/projects/project-3/frontend/package.json b/projects/project-3/frontend/package.json index 5a026d5..0e4b6a6 100644 --- a/projects/project-3/frontend/package.json +++ b/projects/project-3/frontend/package.json @@ -23,6 +23,8 @@ "@angular/platform-browser-dynamic": "~10.2.0", "@angular/router": "~10.2.0", "apexcharts": "^3.23.0", + "bootstrap": "^4.5.3", + "jquery": "^3.5.1", "leaflet": "^1.7.1", "leaflet.markercluster": "^1.4.1", "ng-apexcharts": "^1.5.6", diff --git a/projects/project-3/frontend/src/app/app.module.ts b/projects/project-3/frontend/src/app/app.module.ts index 722b835..ae285ad 100644 --- a/projects/project-3/frontend/src/app/app.module.ts +++ b/projects/project-3/frontend/src/app/app.module.ts @@ -17,6 +17,9 @@ import {MatCardModule} from '@angular/material/card'; import {MatMenuModule} from '@angular/material/menu'; import {LayoutModule} from '@angular/cdk/layout'; import {PopUpComponent} from './map/pop-up/pop-up.component'; +import {MatSidenavModule} from '@angular/material/sidenav'; +import {MatDatepickerModule} from '@angular/material/datepicker'; +import {MatFormFieldModule} from '@angular/material/form-field'; @NgModule({ declarations: [ @@ -38,7 +41,10 @@ import {PopUpComponent} from './map/pop-up/pop-up.component'; MatGridListModule, MatCardModule, MatMenuModule, - LayoutModule + LayoutModule, + MatSidenavModule, + MatDatepickerModule, + MatFormFieldModule ], providers: [], bootstrap: [AppComponent] diff --git a/projects/project-3/frontend/src/app/service/domain/bike-station.ts b/projects/project-3/frontend/src/app/service/domain/map-bike-point.ts similarity index 100% rename from projects/project-3/frontend/src/app/service/domain/bike-station.ts rename to projects/project-3/frontend/src/app/service/domain/map-bike-point.ts