From 47ca8e306aec012a611d2391786222e8ba8489c8 Mon Sep 17 00:00:00 2001 From: Romeo Rosete <110788242+bombastictranz@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:25:44 -0500 Subject: [PATCH] Movie App updates --- .appbuilder-state.json | 2 +- README.md | 2 +- SECURITY.md | 21 -- angular.json | 10 +- ignite-ui-cli.json | 2 +- karma.conf.js | 2 +- package.json | 42 ++- src/app/app-routing.module.ts | 20 +- src/app/app.component.html | 126 ++++---- src/app/app.component.scss | 110 ++++--- src/app/app.module.ts | 38 +-- .../appointments/appointments.component.html | 290 ----------------- .../appointments/appointments.component.scss | 219 ------------- .../appointments.component.spec.ts | 29 -- .../appointments/appointments.component.ts | 8 - src/app/emergency/emergency.component.ts | 8 - .../health-indicators.component.html | 144 --------- .../health-indicators.component.scss | 191 ----------- .../health-indicators.component.ts | 60 ---- src/app/home/home.component.html | 280 ----------------- src/app/home/home.component.scss | 264 ---------------- src/app/home/home.component.spec.ts | 29 -- src/app/home/home.component.ts | 8 - .../medications/medications.component.html | 260 --------------- .../medications/medications.component.spec.ts | 29 -- src/app/medications/medications.component.ts | 8 - .../models/movie-app-data/movie-list-type.ts | 3 + .../movie-app-data/my-purchases-type.ts | 6 + .../models/movie-app-data/now-playing-type.ts | 6 + .../models/movie-app-data/showtimes-type.ts | 3 + .../movie-app-data/theatres-near-you-type.ts | 6 + .../models/movie-app-data/theatres-type.ts | 3 + .../bpsystolic-diastolic-type.ts | 5 - .../cholesterol-hdlldltype.ts | 5 - .../models/patient-dashboard/glucose-type.ts | 4 - .../patient-dashboard/heart-rate-type.ts | 4 - .../total-cholesterol-type.ts | 4 - .../models/patient-dashboard/weight-type.ts | 4 - .../movie-complex.component.html} | 8 +- .../movie-complex.component.scss} | 13 +- .../movie-complex.component.spec.ts} | 12 +- .../movie-complex/movie-complex.component.ts | 8 + src/app/movies/movies.component.html | 157 +++++++++ .../movies.component.scss} | 297 +++++++++--------- src/app/movies/movies.component.spec.ts | 30 ++ src/app/movies/movies.component.ts | 55 ++++ .../my-purchases/my-purchases.component.html | 40 +++ .../my-purchases/my-purchases.component.scss | 111 +++++++ .../my-purchases.component.spec.ts} | 16 +- .../my-purchases/my-purchases.component.ts | 30 ++ src/app/profile/profile.component.html | 9 - src/app/profile/profile.component.scss | 49 --- src/app/profile/profile.component.spec.ts | 23 -- src/app/profile/profile.component.ts | 8 - ...spec.ts => movie-app-data.service.spec.ts} | 8 +- src/app/services/movie-app-data.service.ts | 42 +++ src/app/services/patient-dashboard.service.ts | 42 --- src/assets/Avatar13.png | Bin 26355 -> 0 bytes src/assets/Avatar4.png | Bin 29475 -> 0 bytes src/assets/BPressure-White.svg | 4 - src/assets/BPressure_Color.svg | 4 - src/assets/Cholesterol-White.svg | 3 - src/assets/Cholesterol_Color.svg | 3 - src/assets/HRate-White.svg | 4 - src/assets/HRate_Color.svg | 4 - src/assets/Med2.svg | 4 - src/assets/Scale-White.svg | 4 - src/assets/Scale_Color.svg | 4 - src/assets/appt-past.svg | 4 - src/assets/appt-upcoming.svg | 3 - src/assets/blood-sugar.svg | 3 - src/assets/kpi-bp.svg | 14 - src/assets/kpi-cholesterol.svg | 14 - src/assets/kpi-hrate.svg | 19 -- src/assets/kpi-weight.svg | 14 - src/assets/logo2.svg | 5 - src/assets/meds-expired.svg | 5 - src/assets/start-building-dark.svg | 1 + src/assets/start-building.svg | 1 - src/index.html | 4 +- src/styles.scss | 17 +- 81 files changed, 863 insertions(+), 2488 deletions(-) delete mode 100644 SECURITY.md delete mode 100644 src/app/appointments/appointments.component.html delete mode 100644 src/app/appointments/appointments.component.scss delete mode 100644 src/app/appointments/appointments.component.spec.ts delete mode 100644 src/app/appointments/appointments.component.ts delete mode 100644 src/app/emergency/emergency.component.ts delete mode 100644 src/app/health-indicators/health-indicators.component.html delete mode 100644 src/app/health-indicators/health-indicators.component.scss delete mode 100644 src/app/health-indicators/health-indicators.component.ts delete mode 100644 src/app/home/home.component.html delete mode 100644 src/app/home/home.component.scss delete mode 100644 src/app/home/home.component.spec.ts delete mode 100644 src/app/home/home.component.ts delete mode 100644 src/app/medications/medications.component.html delete mode 100644 src/app/medications/medications.component.spec.ts delete mode 100644 src/app/medications/medications.component.ts create mode 100644 src/app/models/movie-app-data/movie-list-type.ts create mode 100644 src/app/models/movie-app-data/my-purchases-type.ts create mode 100644 src/app/models/movie-app-data/now-playing-type.ts create mode 100644 src/app/models/movie-app-data/showtimes-type.ts create mode 100644 src/app/models/movie-app-data/theatres-near-you-type.ts create mode 100644 src/app/models/movie-app-data/theatres-type.ts delete mode 100644 src/app/models/patient-dashboard/bpsystolic-diastolic-type.ts delete mode 100644 src/app/models/patient-dashboard/cholesterol-hdlldltype.ts delete mode 100644 src/app/models/patient-dashboard/glucose-type.ts delete mode 100644 src/app/models/patient-dashboard/heart-rate-type.ts delete mode 100644 src/app/models/patient-dashboard/total-cholesterol-type.ts delete mode 100644 src/app/models/patient-dashboard/weight-type.ts rename src/app/{emergency/emergency.component.html => movie-complex/movie-complex.component.html} (52%) rename src/app/{emergency/emergency.component.scss => movie-complex/movie-complex.component.scss} (79%) rename src/app/{emergency/emergency.component.spec.ts => movie-complex/movie-complex.component.spec.ts} (51%) create mode 100644 src/app/movie-complex/movie-complex.component.ts create mode 100644 src/app/movies/movies.component.html rename src/app/{medications/medications.component.scss => movies/movies.component.scss} (50%) create mode 100644 src/app/movies/movies.component.spec.ts create mode 100644 src/app/movies/movies.component.ts create mode 100644 src/app/my-purchases/my-purchases.component.html create mode 100644 src/app/my-purchases/my-purchases.component.scss rename src/app/{health-indicators/health-indicators.component.spec.ts => my-purchases/my-purchases.component.spec.ts} (55%) create mode 100644 src/app/my-purchases/my-purchases.component.ts delete mode 100644 src/app/profile/profile.component.html delete mode 100644 src/app/profile/profile.component.scss delete mode 100644 src/app/profile/profile.component.spec.ts delete mode 100644 src/app/profile/profile.component.ts rename src/app/services/{patient-dashboard.service.spec.ts => movie-app-data.service.spec.ts} (60%) create mode 100644 src/app/services/movie-app-data.service.ts delete mode 100644 src/app/services/patient-dashboard.service.ts delete mode 100644 src/assets/Avatar13.png delete mode 100644 src/assets/Avatar4.png delete mode 100644 src/assets/BPressure-White.svg delete mode 100644 src/assets/BPressure_Color.svg delete mode 100644 src/assets/Cholesterol-White.svg delete mode 100644 src/assets/Cholesterol_Color.svg delete mode 100644 src/assets/HRate-White.svg delete mode 100644 src/assets/HRate_Color.svg delete mode 100644 src/assets/Med2.svg delete mode 100644 src/assets/Scale-White.svg delete mode 100644 src/assets/Scale_Color.svg delete mode 100644 src/assets/appt-past.svg delete mode 100644 src/assets/appt-upcoming.svg delete mode 100644 src/assets/blood-sugar.svg delete mode 100644 src/assets/kpi-bp.svg delete mode 100644 src/assets/kpi-cholesterol.svg delete mode 100644 src/assets/kpi-hrate.svg delete mode 100644 src/assets/kpi-weight.svg delete mode 100644 src/assets/logo2.svg delete mode 100644 src/assets/meds-expired.svg create mode 100644 src/assets/start-building-dark.svg delete mode 100644 src/assets/start-building.svg diff --git a/.appbuilder-state.json b/.appbuilder-state.json index 175f7853..1559e4c8 100644 --- a/.appbuilder-state.json +++ b/.appbuilder-state.json @@ -1 +1 @@ -{"applicationId":"7lbb7zedobce","applicationName":"Health Vault","platform":"Angular"} \ No newline at end of file +{"applicationId":"gblgxiirrjzf","applicationName":"Movie App","platform":"Angular"} \ No newline at end of file diff --git a/README.md b/README.md index a3d62cd2..dc5580b1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Health Vault +# Movie App This project was generated with [App Builder Code Gen](https://www.infragistics.com/products/appbuilder). diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index 034e8480..00000000 --- a/SECURITY.md +++ /dev/null @@ -1,21 +0,0 @@ -# Security Policy - -## Supported Versions - -Use this section to tell people about which versions of your project are -currently being supported with security updates. - -| Version | Supported | -| ------- | ------------------ | -| 5.1.x | :white_check_mark: | -| 5.0.x | :x: | -| 4.0.x | :white_check_mark: | -| < 4.0 | :x: | - -## Reporting a Vulnerability - -Use this section to tell people how to report a vulnerability. - -Tell them where to go, how often they can expect to get an update on a -reported vulnerability, what to expect if the vulnerability is accepted or -declined, etc. diff --git a/angular.json b/angular.json index 53489fb3..fcc98344 100644 --- a/angular.json +++ b/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "health-vault": { + "movie-app": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -22,7 +22,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/health-vault", + "outputPath": "dist/movie-app", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", @@ -79,10 +79,10 @@ "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "buildTarget": "health-vault:build:production" + "buildTarget": "movie-app:build:production" }, "development": { - "buildTarget": "health-vault:build:development" + "buildTarget": "movie-app:build:development" } }, "defaultConfiguration": "development" @@ -90,7 +90,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "buildTarget": "health-vault:build" + "buildTarget": "movie-app:build" } }, "test": { diff --git a/ignite-ui-cli.json b/ignite-ui-cli.json index 6661aebf..f4f993cc 100644 --- a/ignite-ui-cli.json +++ b/ignite-ui-cli.json @@ -3,7 +3,7 @@ "project": { "defaultPort": 4200, "framework": "angular", - "projectType": "igx-ts", + "projectType": "igx-ts-legacy", "projectTemplate": "base", "theme": "Default", "themePath": "node_modules/igniteui-angular/styles/igniteui-angular.css", diff --git a/karma.conf.js b/karma.conf.js index 2fc01c48..5f9a5a89 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -25,7 +25,7 @@ module.exports = function (config) { suppressAll: true // removes the duplicated traces }, coverageReporter: { - dir: require('path').join(__dirname, './coverage/health-vault'), + dir: require('path').join(__dirname, './coverage/movie-app'), subdir: '.', reporters: [ { type: 'html' }, diff --git a/package.json b/package.json index 36a614ff..df277cf3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "health-vault", + "name": "movie-app", "version": "0.0.0", "scripts": { "ng": "ng", @@ -11,32 +11,30 @@ }, "private": true, "dependencies": { - "@angular/animations": "~17.0.0", - "@angular/common": "~17.0.0", - "@angular/compiler": "~17.0.0", - "@angular/core": "~17.0.0", - "@angular/forms": "~17.0.0", - "@angular/platform-browser": "~17.0.0", - "@angular/platform-browser-dynamic": "~17.0.0", - "@angular/router": "~17.0.0", - "hammerjs": "~2.0.8", - "igniteui-angular": "~17.0.0", - "igniteui-angular-charts": "~17.0.0", - "igniteui-angular-core": "~17.0.0", + "@angular/animations": "~17.2.0", + "@angular/common": "~17.2.0", + "@angular/compiler": "~17.2.0", + "@angular/core": "~17.2.0", + "@angular/forms": "~17.2.0", + "@angular/platform-browser": "~17.2.0", + "@angular/platform-browser-dynamic": "~17.2.0", + "@angular/router": "~17.2.0", + "hammerjs": "^2.0.8", + "igniteui-angular": "~17.1.0", "minireset.css": "~0.0.7", "rxjs": "~7.8.0", "tslib": "~2.3.0", "zone.js": "~0.14.0" }, "devDependencies": { - "@angular-devkit/build-angular": "~17.0.0", - "@angular-eslint/builder": "~17.0.0", - "@angular-eslint/eslint-plugin": "~17.0.0", - "@angular-eslint/eslint-plugin-template": "~17.0.0", - "@angular-eslint/schematics": "~17.0.0", - "@angular-eslint/template-parser": "~17.0.0", - "@angular/cli": "~17.0.0", - "@angular/compiler-cli": "~17.0.0", + "@angular-devkit/build-angular": "~17.2.0", + "@angular-eslint/builder": "~17.2.0", + "@angular-eslint/eslint-plugin": "~17.2.0", + "@angular-eslint/eslint-plugin-template": "~17.2.0", + "@angular-eslint/schematics": "~17.2.0", + "@angular-eslint/template-parser": "~17.2.0", + "@angular/cli": "~17.2.0", + "@angular/compiler-cli": "~17.2.0", "@types/jasmine": "~5.1.1", "@typescript-eslint/eslint-plugin": "6.9.1", "@typescript-eslint/parser": "6.9.1", @@ -48,6 +46,6 @@ "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", - "typescript": "~5.2.2" + "typescript": "~5.3.2" } } diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 178a49bb..6e3d095f 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,22 +4,16 @@ import { RouterModule, Routes } from '@angular/router'; import { PageNotFoundComponent } from './error-routing/not-found/not-found.component'; import { UncaughtErrorComponent } from './error-routing/error/uncaught-error.component'; import { ErrorRoutingModule } from './error-routing/error-routing.module'; -import { HomeComponent } from './home/home.component'; -import { MedicationsComponent } from './medications/medications.component'; -import { HealthIndicatorsComponent } from './health-indicators/health-indicators.component'; -import { AppointmentsComponent } from './appointments/appointments.component'; -import { ProfileComponent } from './profile/profile.component'; -import { EmergencyComponent } from './emergency/emergency.component'; +import { MoviesComponent } from './movies/movies.component'; +import { MovieComplexComponent } from './movie-complex/movie-complex.component'; +import { MyPurchasesComponent } from './my-purchases/my-purchases.component'; export const routes: Routes = [ - { path: '', redirectTo: 'home', pathMatch: 'full' }, + { path: '', redirectTo: 'movies', pathMatch: 'full' }, { path: 'error', component: UncaughtErrorComponent }, - { path: 'home', component: HomeComponent, data: { text: 'Home' } }, - { path: 'medications', component: MedicationsComponent, data: { text: 'Medications' } }, - { path: 'health-indicators', component: HealthIndicatorsComponent, data: { text: 'Health Indicators' } }, - { path: 'appointments', component: AppointmentsComponent, data: { text: 'Appointments' } }, - { path: 'profile', component: ProfileComponent, data: { text: 'Profile' } }, - { path: 'emergency', component: EmergencyComponent, data: { text: 'Emergency' } }, + { path: 'movies', component: MoviesComponent, data: { text: 'Movies' } }, + { path: 'movie-complex', component: MovieComplexComponent, data: { text: 'Movie Complex' } }, + { path: 'my-purchases', component: MyPurchasesComponent, data: { text: 'My Purchases' } }, { path: '**', component: PageNotFoundComponent } // must always be last ]; diff --git a/src/app/app.component.html b/src/app/app.component.html index 3b85fbd9..8cf36fc5 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,70 +1,78 @@ -