+
From 384c12e8d6afc5a5c3492ad5fa1d100d2eaf7b77 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 16:44:54 +0000 Subject: [PATCH] style: format code with prettier Format code with prettier This commit fixes the style issues introduced in dee8a71 according to the output from Prettier. Details: None --- README.md | 28 +- e2e/protractor.conf.js | 22 +- e2e/src/app.e2e-spec.ts | 18 +- e2e/src/app.po.ts | 4 +- karma.conf.js | 28 +- src/app/app-routing.module.ts | 42 +- src/app/app.component.spec.ts | 24 +- src/app/app.component.ts | 10 +- src/app/app.module.ts | 70 +- src/app/consts.ts | 174 +- src/app/core/core.module.ts | 10 +- src/app/core/guards/auth.guard.ts | 66 +- src/app/core/helpers/jwt.interceptor.ts | 3 +- .../icons/dripicons/dripicons.component.html | 812 +- .../dripicons/dripicons.component.spec.ts | 13 +- .../icons/dripicons/dripicons.component.ts | 12 +- src/app/core/icons/fontawesome/data.ts | 25763 ++++++++++++++- .../fontawesome/fontawesome.component.html | 51 +- .../fontawesome/fontawesome.component.spec.ts | 13 +- .../fontawesome/fontawesome.component.ts | 63 +- src/app/core/icons/icons-routing.module.ts | 50 +- src/app/core/icons/icons.module.ts | 24 +- src/app/core/icons/materialdesign/data.ts | 5051 ++- .../materialdesign.component.html | 81 +- .../materialdesign.component.spec.ts | 13 +- .../materialdesign.component.ts | 40 +- src/app/core/icons/remix/data.ts | 3 +- .../core/icons/remix/remix.component.spec.ts | 13 +- src/app/core/icons/remix/remix.component.ts | 54 +- src/app/core/models/audioUser.ts | 314 +- src/app/core/models/call.ts | 40 +- src/app/core/models/callLocalResult.ts | 8 +- src/app/core/models/deviceType.ts | 10 +- src/app/core/models/groupsForCallResult.ts | 6 +- src/app/core/models/loginResult.ts | 28 +- src/app/core/models/personnelForCallResult.ts | 6 +- src/app/core/models/rolesForCallResult.ts | 4 +- src/app/core/models/unitStatusResult.ts | 8 +- src/app/core/models/userInfo.ts | 18 +- src/app/core/models/video-type.ts | 12 +- src/app/core/services/event.service.ts | 54 +- .../core/services/language.service.spec.ts | 8 +- src/app/core/services/language.service.ts | 23 +- src/app/directives/conversation.directive.ts | 11 +- src/app/directives/directives.module.ts | 18 +- src/app/directives/groupBy.directive.ts | 8 +- src/app/directives/orderBy.directive.ts | 189 +- src/app/directives/rgTimeAgo.directive.ts | 13 +- src/app/directives/rgTimeAgoUtc.directive.ts | 15 +- src/app/directives/truncate.directive.ts | 10 +- src/app/features/auth/actions/auth.actions.ts | 16 +- src/app/features/auth/auth-routing.module.ts | 18 +- src/app/features/auth/auth.module.ts | 22 +- src/app/features/auth/effects/auth.effect.ts | 94 +- .../auth/models/authValidateResult.ts | 18 +- src/app/features/auth/models/loginPayload.ts | 6 +- .../lockscreen/lockscreen.component.html | 13 +- .../lockscreen/lockscreen.component.spec.ts | 13 +- .../pages/lockscreen/lockscreen.component.ts | 14 +- .../features/auth/pages/login/login.module.ts | 26 +- .../features/auth/pages/login/login.page.html | 52 +- .../features/auth/pages/login/login.page.ts | 8 +- .../maintenance/maintenance.component.html | 25 +- .../maintenance/maintenance.component.spec.ts | 13 +- .../maintenance/maintenance.component.ts | 15 +- src/app/features/auth/providers/auth.ts | 10 +- .../features/auth/reducers/auth.reducer.ts | 14 +- src/app/features/auth/store/auth.store.ts | 18 +- .../features/calls/actions/calls.actions.ts | 74 +- .../features/calls/calls-routing.module.ts | 34 +- src/app/features/calls/calls.module.ts | 57 +- .../directives/calls-sortable.directive.ts | 22 +- .../features/calls/effects/calls.effect.ts | 150 +- .../updateDispatchTime.modal.html | 23 +- .../updateDispatchTime.modal.ts | 25 +- .../calls/pages/edit-call/edit-call.module.ts | 45 +- .../calls/pages/edit-call/edit-call.page.html | 151 +- .../calls/pages/edit-call/edit-call.page.ts | 208 +- .../calls/pages/scheduled/scheduled.module.ts | 43 +- .../calls/pages/scheduled/scheduled.page.html | 74 +- .../pages/scheduled/scheduled.page.service.ts | 13 +- .../calls/pages/scheduled/scheduled.page.ts | 30 +- .../features/calls/reducers/calls.reducer.ts | 11 +- src/app/features/calls/store/calls.store.ts | 59 +- src/app/features/home/actions/home.actions.ts | 353 +- .../components/calls-list/calls-list.html | 2 +- .../home/components/calls-list/calls-list.ts | 15 +- .../digital-clock/calendar.constants.ts | 56 +- .../digital-clock.component.html | 46 +- .../digital-clock.component.scss | 448 +- .../digital-clock/digital-clock.component.ts | 41 +- .../home/components/unitsList/units-list.html | 2 +- .../home/components/unitsList/units-list.ts | 16 +- src/app/features/home/effects/home.effect.ts | 252 +- src/app/features/home/home-routing.module.ts | 26 +- src/app/features/home/home.module.ts | 71 +- .../modals/callFiles/callFiles.modal.html | 8 +- .../home/modals/callFiles/callFiles.modal.ts | 26 +- .../home/modals/callForm/callForm.modal.html | 7 +- .../home/modals/callForm/callForm.modal.ts | 20 +- .../modals/callImages/callImages.modal.html | 4 +- .../modals/callImages/callImages.modal.ts | 26 +- .../modals/callNotes/callNotes.modal.html | 19 +- .../home/modals/callNotes/callNotes.modal.ts | 25 +- .../modals/closeCall/closeCall.modal.html | 72 +- .../home/modals/closeCall/closeCall.modal.ts | 8 +- .../selectTemplate/selectTemplate.modal.html | 54 +- .../selectTemplate/selectTemplate.modal.ts | 10 +- .../setPersonStaffing.modal.html | 11 +- .../setPersonStaffing.modal.ts | 8 +- .../setPersonStatus.modal.html | 23 +- .../setPersonStatus/setPersonStatus.modal.ts | 10 +- .../setUnitStatus/setUnitStatus.modal.html | 123 +- .../setUnitStatus/setUnitStatus.modal.ts | 6 +- .../viewCallForm/view-callForm.modal.html | 4 +- .../viewCallForm/view-callForm.modal.ts | 43 +- .../features/home/models/dashboardPayload.ts | 38 +- .../home/models/saveCloseCallPayload.ts | 8 +- .../home/models/setPersonStatffingPayload.ts | 8 +- .../home/models/setPersonStatusesPayload.ts | 12 +- .../home/models/setUnitStateModalData.ts | 12 +- .../home/models/setUnitStatePayload.ts | 12 +- .../home/pages/dashboard/dashboard.module.ts | 44 +- .../home/pages/dashboard/dashboard.page.html | 271 +- .../pages/dashboard/dashboard.page.spec.ts | 10 +- .../home/pages/dashboard/dashboard.page.ts | 14 +- src/app/features/home/providers/home.ts | 59 +- .../features/home/reducers/home.reducer.ts | 2 +- src/app/features/home/store/home.store.ts | 173 +- .../mapping/effects/mapping.effect.ts | 40 +- .../mapping/mapping-routing.module.ts | 24 +- src/app/features/mapping/mapping.module.ts | 50 +- .../features/mapping/pages/map/map.module.ts | 43 +- .../features/mapping/pages/map/map.page.html | 19 +- .../features/mapping/pages/map/map.page.scss | 4 +- .../features/mapping/pages/map/map.page.ts | 11 +- .../mapping/reducers/mapping.reducer.ts | 14 +- .../features/mapping/store/mapping.store.ts | 8 +- .../profile/actions/profile.actions.ts | 4 +- .../profile/effects/profile.effect.ts | 24 +- .../pages/edit-profile/edit-profile.module.ts | 45 +- .../pages/edit-profile/edit-profile.page.html | 52 +- .../pages/edit-profile/edit-profile.page.ts | 14 +- .../profile/profile-routing.module.ts | 28 +- src/app/features/profile/profile.module.ts | 55 +- .../profile/reducers/profile.reducer.ts | 7 +- .../features/profile/store/profile.store.ts | 6 +- .../features/voice/actions/voice.actions.ts | 58 +- .../features/voice/effects/voice.effect.ts | 71 +- .../features/voice/reducers/voice.reducer.ts | 5 +- .../video-component/ov-video.component.ts | 18 +- .../voice-footer/voice-footer.component.html | 23 +- .../voice-footer/voice-footer.component.scss | 20 +- .../voice-footer/voice-footer.component.ts | 12 +- src/app/features/voice/store/voice.store.ts | 36 +- .../features/voice/voice-routing.module.ts | 10 +- src/app/features/voice/voice.module.ts | 60 +- src/app/layouts/layout/layout.component.html | 3 +- src/app/layouts/layout/layout.component.ts | 15 +- src/app/layouts/layouts.module.ts | 31 +- .../shared/footer/footer.component.html | 8 +- .../shared/footer/footer.component.spec.ts | 13 +- .../layouts/shared/footer/footer.component.ts | 15 +- .../rightsidebar/rightsidebar.component.html | 6 +- .../rightsidebar.component.spec.ts | 13 +- .../rightsidebar/rightsidebar.component.ts | 16 +- src/app/layouts/shared/shared.module.ts | 47 +- src/app/layouts/shared/sidebar/menu.model.ts | 18 +- src/app/layouts/shared/sidebar/menu.ts | 48 +- .../shared/sidebar/sidebar.component.html | 74 +- .../shared/sidebar/sidebar.component.spec.ts | 13 +- .../shared/sidebar/sidebar.component.ts | 140 +- .../shared/topbar/topbar.component.html | 109 +- .../shared/topbar/topbar.component.spec.ts | 13 +- .../layouts/shared/topbar/topbar.component.ts | 72 +- .../layouts/vertical/vertical.component.html | 3 +- .../vertical/vertical.component.spec.ts | 13 +- .../layouts/vertical/vertical.component.ts | 29 +- src/app/providers/alert.ts | 36 +- src/app/providers/geocoding.ts | 62 +- src/app/providers/loading.ts | 12 +- src/app/providers/openvidu.ts | 6 +- src/app/providers/openviduDevices.ts | 8 +- src/app/providers/utils.ts | 557 +- src/app/shared/shared.module.ts | 13 +- .../ui/pagetitle/pagetitle.component.html | 6 +- .../ui/pagetitle/pagetitle.component.spec.ts | 13 +- .../ui/pagetitle/pagetitle.component.ts | 15 +- src/app/shared/ui/ui.module.ts | 14 +- .../shared/widget/stat/stat.component.html | 6 +- .../shared/widget/stat/stat.component.spec.ts | 13 +- src/app/shared/widget/stat/stat.component.ts | 15 +- src/app/shared/widget/widget.module.ts | 21 +- src/app/store/appState.ts | 54 +- src/app/store/index.ts | 119 +- src/app/store/reducers/index.ts | 33 +- src/assets/env.js | 32 +- src/assets/env.prod.js | 32 +- .../mapping/leaflet-beautify-marker-icon.css | 52 +- .../mapping/leaflet-beautify-marker-icon.js | 387 +- src/assets/images/mapping/leaflet.css | 825 +- src/assets/libs/libwebphone.js | 27506 +++++++++++++++- src/assets/scss/_variables-dark.scss | 1481 +- src/assets/scss/_variables.scss | 1480 +- src/assets/scss/app-dark.scss | 4 +- src/assets/scss/app-rtl.scss | 3 +- src/assets/scss/app.scss | 6 +- src/assets/scss/bootstrap-dark.scss | 2 +- src/assets/scss/bootstrap.scss | 2 +- .../scss/custom/components/_accordion.scss | 10 +- .../scss/custom/components/_avatar.scss | 2 +- .../scss/custom/components/_backgrounds.scss | 12 +- src/assets/scss/custom/components/_badge.scss | 10 +- .../scss/custom/components/_breadcrumb.scss | 21 +- .../scss/custom/components/_buttons.scss | 16 +- src/assets/scss/custom/components/_card.scss | 26 +- src/assets/scss/custom/components/_demos.scss | 94 +- .../scss/custom/components/_dropdown.scss | 34 +- src/assets/scss/custom/components/_forms.scss | 56 +- .../scss/custom/components/_helper.scss | 89 +- src/assets/scss/custom/components/_nav.scss | 46 +- .../scss/custom/components/_pagination.scss | 18 +- .../scss/custom/components/_preloader.scss | 55 +- src/assets/scss/custom/components/_print.scss | 40 +- .../scss/custom/components/_progress.scss | 12 +- .../scss/custom/components/_reboot.scss | 24 +- src/assets/scss/custom/components/_table.scss | 16 +- src/assets/scss/custom/components/_waves.scss | 343 +- .../scss/custom/components/_widgets.scss | 54 +- src/assets/scss/custom/fonts/_fonts.scss | 19 +- .../scss/custom/pages/_authentication.scss | 91 +- src/assets/scss/custom/pages/_chat.scss | 392 +- .../scss/custom/pages/_coming-soon.scss | 2 +- src/assets/scss/custom/pages/_ecommerce.scss | 334 +- src/assets/scss/custom/pages/_email.scss | 31 +- .../scss/custom/pages/_extras-pages.scss | 114 +- .../scss/custom/pages/_kanbanboard.scss | 12 +- src/assets/scss/custom/pages/_timeline.scss | 291 +- .../scss/custom/rtl/_bootstrap-rtl.scss | 358 +- .../scss/custom/rtl/_components-rtl.scss | 117 +- src/assets/scss/custom/rtl/_float-rtl.scss | 12 +- src/assets/scss/custom/rtl/_general-rtl.scss | 8 +- src/assets/scss/custom/rtl/_pages-rtl.scss | 16 +- src/assets/scss/custom/rtl/_plugins-rtl.scss | 135 +- src/assets/scss/custom/rtl/_spacing-rtl.scss | 14 +- .../scss/custom/rtl/_structure-rtl.scss | 343 +- src/assets/scss/custom/rtl/_text-rtl.scss | 13 +- src/assets/scss/custom/structure/_footer.scss | 42 +- .../custom/structure/_horizontal-nav.scss | 425 +- .../scss/custom/structure/_layouts.scss | 62 +- .../scss/custom/structure/_page-head.scss | 26 +- .../scss/custom/structure/_right-sidebar.scss | 88 +- src/assets/scss/custom/structure/_topbar.scss | 410 +- .../scss/custom/structure/_vertical.scss | 91 +- src/assets/scss/icons.scss | 2 +- src/environments/environment.prod.ts | 24 +- src/environments/environment.ts | 22 +- src/index.html | 26 +- src/main.ts | 20 +- src/polyfills.ts | 5 +- src/test.ts | 22 +- 261 files changed, 66837 insertions(+), 9253 deletions(-) diff --git a/README.md b/README.md index fc8725d..b7cf7e4 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,12 @@ -Resgrid Dispatch -=========================== +# Resgrid Dispatch -Resgrid Dispatch an Ionic progressive web application (pwa), mobile app and Electron app that is intended for Dispatchers for Computer Aided Dispatch (CAD) user interface for Resgrid. +Resgrid Dispatch an Ionic progressive web application (pwa), mobile app and Electron app that is intended for Dispatchers for Computer Aided Dispatch (CAD) user interface for Resgrid. -********* +--- +## About Resgrid - -About Resgrid -------------- -Resgrid is an open-source Computer Aided Dispatch (CAD) solution for first responders, businesses and industrial environments. +Resgrid is an open-source Computer Aided Dispatch (CAD) solution for first responders, businesses and industrial environments. [Sign up for your free Resgrid Account Today!](https://resgrid.com) @@ -32,6 +29,7 @@ LOGGING_KEY= ## Settings ### .env Values +
| Setting | @@ -87,15 +85,17 @@ LOGGING_KEY=
|---|
Use <i
- class="dripicons-alarm"></i>.
-
Use <i class="dripicons-alarm"></i>.
Use <i class="fas fa-ad"></i> v 5.13.0.
+ Use <i class="fas fa-ad"></i> v 5.13.0.
+
Use <i class="far fa-address-book"></i> v 5.13.0.
+ Use <i class="far fa-address-book"></i> v 5.13.0.
+
Use <i class="fab fa-500px"></i> v 5.13.0.
+ Use <i class="fab fa-500px"></i> v 5.13.0.
+
Use <i class="mdi mdi-speedometer-slow"></i> v 5.0.45.
+ Use <i class="mdi mdi-speedometer-slow"></i> v 5.0.45.
+
Use <i class="ri-bold"></i> v 2.4.1.
Use <i class="ri-bold"></i> v 2.4.1.
Use <i class="ri-home-line"></i> or <i class="ri-home-fill"></i> v 2.4.1.
Use <i class="ri-home-line"></i> or <i class="ri-home-fill"></i> v 2.4.1.
Don't have an account? - Register
++ Don't have an account? + Register +
© {{currentYear()}} Resgrid, LLC. Created with in Nevada
v{{version}}
+
There are many variations of passages of - Lorem Ipsum available, but the majority have suffered alteration.
++ There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration. +
@@ -47,10 +48,10 @@Contrary to popular belief, Lorem Ipsum is not - simply random text. It has roots in a piece of classical.
++ Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical. +
@@ -62,11 +63,11 @@If you are going to use a passage of Lorem - Ipsum, you need to be sure there isn't anything embar.. no-reply@domain.com
++ If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embar.. + no-reply@domain.com +
diff --git a/src/app/features/auth/pages/maintenance/maintenance.component.spec.ts b/src/app/features/auth/pages/maintenance/maintenance.component.spec.ts index a09514b..f3ed0fb 100644 --- a/src/app/features/auth/pages/maintenance/maintenance.component.spec.ts +++ b/src/app/features/auth/pages/maintenance/maintenance.component.spec.ts @@ -1,16 +1,15 @@ -import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing"; -import { MaintenanceComponent } from './maintenance.component'; +import { MaintenanceComponent } from "./maintenance.component"; -describe('MaintenanceComponent', () => { +describe("MaintenanceComponent", () => { let component: MaintenanceComponent; let fixture: ComponentFixture| + | + | {{group.Name}} | {{group.Count}} | @@ -284,14 +302,14 @@
| + | + | {{role.Name}} | {{role.Count}} | @@ -299,4 +317,5 @@
| Number | @@ -42,7 +55,6 @@|
|---|---|
|
|
- - - + + + |