From f77a94f45e4d5d55f8bbbcadb3e7d22db9061c9d Mon Sep 17 00:00:00 2001 From: Polyterative Date: Fri, 1 Dec 2023 09:45:14 +0100 Subject: [PATCH] imports --- src/app/app.component.ts | 5 +- src/app/app.module.ts | 49 +++++----- .../format-translator.module.ts | 2 +- .../format-translator/standards.service.ts | 16 +--- .../get-module-height-for-standard.pipe.ts | 5 +- .../module-cv-icon.component.ts | 7 +- .../module-cvitem/module-cvitem.component.ts | 23 +---- .../module-cvs/module-cvs.component.ts | 25 ++--- .../module-detail-data.service.ts | 34 ++----- .../module-details.component.ts | 16 +--- .../module-editor-adder-line.component.ts | 10 +- .../module-editor-cv-form-line.component.ts | 13 +-- .../module-editor/module-editor.component.ts | 53 +++-------- .../only-not-saved-form-cvs.pipe.ts | 5 +- .../module-minimal.component.ts | 23 ++--- .../module-part-description.component.ts | 9 +- .../module-part-hp.component.ts | 9 +- .../module-part-image.component.ts | 11 +-- .../module-part-manufacturer.component.ts | 9 +- .../module-part-name.component.ts | 2 +- .../module-tags/module-tags.component.ts | 14 +-- .../module-tags/only-tag-of-type.pipe.ts | 10 +- .../module-tags/order-tags-by-type.pipe.ts | 7 +- .../module-parts/module-parts.module.ts | 94 +++++++++---------- .../module-realistic-holeline.component.ts | 9 +- .../module-realistic.component.html | 6 +- .../module-realistic.component.ts | 11 +-- .../module-patches.component.ts | 14 +-- .../module-patches/module-patches.module.ts | 7 +- .../module-racks/module-racks.component.ts | 13 +-- .../module-racks/module-racks.module.ts | 6 +- .../patch-connection-minimal.component.ts | 25 ++--- .../patch-connection.module.ts | 29 +++--- .../patch-list/patch-list.component.ts | 32 ++----- .../patch-list/patch-list.module.ts | 15 ++- .../patch-micro/patch-micro.component.ts | 9 +- .../patch-micro/patch-micro.module.ts | 12 +-- .../patch-connections-list.component.ts | 14 +-- .../patch-creator/patch-creator.component.ts | 31 ++---- .../patch-parts/patch-detail-data.service.ts | 50 +++------- .../patch-details/patch-details.component.ts | 9 +- .../patch-editor/patch-editor.component.ts | 29 ++---- .../patch-graph/patch-graph.component.ts | 42 +++------ .../patch-minimal/patch-minimal.component.ts | 16 +--- .../components/patch-parts/patch.module.ts | 76 +++++++-------- .../rack-list/rack-list.component.ts | 29 ++---- .../components/rack-list/rack-list.module.ts | 14 +-- .../rack-micro/rack-micro.component.ts | 9 +- .../rack-micro/rack-micro.module.ts | 12 +-- .../rack-parts/map-to-module.pipe.ts | 10 +- .../rack-creator/rack-creator.component.ts | 35 ++----- .../rack-parts/rack-detail-data.service.ts | 59 +++--------- ...k-details-remaining-indicator.component.ts | 11 +-- .../rack-details/rack-details.component.ts | 15 +-- .../rack-editor/rack-editor.component.ts | 35 ++----- .../has-unracked-modules.pipe.ts | 7 +- .../rack-visual-model.component.ts | 17 ++-- .../rack-minimal/rack-minimal.component.ts | 11 +-- .../rack-module-adder.component.ts | 47 +++------- src/app/components/rack-parts/rack.module.ts | 79 ++++++++-------- .../rack-parts/racked-to-modules.pipe.ts | 10 +- .../rack-parts/total-hp-of-modules.pipe.ts | 5 +- .../rack-parts/total-hp-of-rack.pipe.ts | 5 +- .../rack-parts/total-modules-of-rack.pipe.ts | 5 +- .../comments/comments-data.service.ts | 7 +- .../comments-editor.component.ts | 6 +- .../comments-item/comments-item.component.ts | 9 +- .../comments-list/comments-list.component.ts | 6 +- .../comments-root/comments-root.component.ts | 10 +- .../shared-atoms/comments/comments.module.ts | 27 +++--- .../entity-author/entity-author.component.ts | 9 +- .../local-data-filter.module.ts | 7 +- .../local-data-filter.service.ts | 10 +- .../local-data-filter.component.ts | 6 +- .../patch-connection-symbol.component.ts | 6 +- .../shared-atoms/shared-atoms.module.ts | 20 ++-- .../timestamps-relative.component.ts | 7 +- src/app/features/app-features.module.ts | 16 ++-- .../backbone/404/not-found.component.ts | 8 +- .../features/backbone/404/not-found.module.ts | 13 ++- src/app/features/backbone/backbone.module.ts | 50 +++++----- .../build-info/build-info.component.ts | 6 +- .../common-sidebar.component.ts | 8 +- .../discord-widget.component.ts | 6 +- .../feedback-box/feedback-box.component.ts | 6 +- .../feedback-box/feedback-box.module.ts | 15 ++- .../backbone/footer/footer.component.ts | 8 +- .../producthunt-badge.component.ts | 6 +- .../backbone/home/home.component.spec.ts | 13 ++- .../features/backbone/home/home.component.ts | 23 ++--- src/app/features/backbone/home/home.module.ts | 46 ++++----- .../backbone/login/error.interceptor.ts | 20 +--- .../backbone/login/jwt.interceptor.ts | 18 +--- .../login-email/login-email.component.ts | 6 +- .../login-email/login-email.module.ts | 13 ++- .../login-google/login-google.component.ts | 6 +- .../login-google/login-google.module.ts | 5 +- .../login/login-page/login-page.component.ts | 10 +- .../login/login-page/login-page.module.ts | 29 +++--- .../login-proposal.component.ts | 16 +--- .../login-page/user-login-data.service.ts | 30 ++---- .../features/backbone/login/login.module.ts | 13 ++- .../signup-email/signup-email.component.ts | 6 +- .../signup-google/signup-google.component.ts | 6 +- .../login/signup/signup-page.component.ts | 8 +- .../login/signup/signup-page.module.ts | 31 +++--- .../login/signup/user-signup-data.service.ts | 29 ++---- .../backbone/login/user-auth-guard.service.ts | 18 +--- .../backbone/login/user-management.service.ts | 27 ++---- .../sentry-integration.module.ts | 10 +- .../backbone/seo-and-utils.service.ts | 7 +- .../backbone/toolbar/toolbar.component.ts | 15 ++- .../backbone/toolbar/toolbar.module.ts | 37 ++++---- .../user-management.component.ts | 9 +- .../user-management/user-management.module.ts | 25 +++-- .../features/backend/admin-guard.service.ts | 9 +- .../admin-panel-root.component.ts | 10 +- src/app/features/backend/backend.module.ts | 24 ++--- src/app/features/backend/supabase.service.ts | 30 +++--- .../features/backend/url-creator.service.ts | 6 +- .../changelog/changelog.component.ts | 6 +- .../features/info-pages/info-pages.module.ts | 8 +- .../module-adder-data.service.ts | 46 +++------ .../module-browser-adder.component.ts | 22 ++--- .../module-browser-data.service.ts | 41 ++------ .../module-browser-detail.component.ts | 26 ++--- .../module-browser-root.component.ts | 22 ++--- .../module-browser/module-browser.module.ts | 90 +++++++++--------- .../module-composite.component.ts | 14 +-- .../module-list/module-list.component.ts | 34 ++----- .../patch-browser-data.service.ts | 33 ++----- .../patch-browser-detail-view.component.ts | 31 ++---- .../patch-browser-root.component.ts | 21 ++--- .../patch-browser/patch-browser.module.ts | 76 +++++++-------- .../patch-composite.component.ts | 18 +--- .../rack-browser/rack-browser-data.service.ts | 33 ++----- .../rack-browser-detail-view.component.ts | 28 ++---- .../rack-browser-root.component.ts | 21 ++--- .../rack-browser/rack-browser.module.ts | 85 +++++++++-------- .../rack-composite.component.ts | 9 +- .../user-area/user-area-data.service.ts | 32 ++----- .../user-area-root.component.ts | 16 +--- .../features/user-area/user-area.module.ts | 49 +++++----- .../user-modules/user-modules.component.ts | 14 +-- .../user-modules/user-modules.module.ts | 21 ++--- .../user-patches/user-patches.component.ts | 9 +- .../user-racks/user-racks.component.ts | 14 +-- src/app/models/connection.ts | 7 +- src/app/models/module.ts | 13 +-- src/app/models/patch.ts | 2 +- src/app/models/rack.ts | 4 +- src/app/services/routing.service.ts | 2 +- .../shared-interproject/SharedConstants.ts | 7 +- .../shared-interproject/app-state.service.ts | 20 ++-- .../auto-content-loading-indicator.module.ts | 13 ++- ...uto-content-loading-indicator.component.ts | 23 +---- .../auto-update-loading-indicator.module.ts | 13 ++- ...auto-update-loading-indicator.component.ts | 22 +---- .../days-in-week-picker.component.ts | 18 +--- .../days-in-week-picker.module.ts | 7 +- .../dev-only-window/dev-only-window.module.ts | 7 +- .../dev-only-window.component.ts | 7 +- .../empty-state/empty-state.component.ts | 12 +-- .../@smart/empty-state/empty-state.module.ts | 8 +- .../file-drag-host.component.ts | 24 +---- .../file-drag-host/file-drag-host.module.ts | 12 +-- .../file-drag-host/file-drag-host.service.ts | 21 +---- .../general-context-menu-data.service.ts | 5 +- .../general-context-menu.component.ts | 11 +-- .../general-context-menu.module.ts | 11 +-- .../generated-form/generated-form-models.ts | 5 +- .../generated-form.component.ts | 19 +--- .../generated-form/generated-form.module.ts | 11 +-- .../clickable-list-card-base.ts | 9 +- .../list-link-router.component.ts | 15 +-- .../list-link-router.module.ts | 16 ++-- .../lottie-container.component.ts | 9 +- .../lottie-container.module.ts | 9 +- .../mat-form-entity/form-element-models.ts | 6 +- .../mat-form-entity/get-control-value.pipe.ts | 17 +--- .../mat-form-entity/is-control-valid.pipe.ts | 13 +-- .../mat-form-entity.component.ts | 67 +++---------- .../mat-form-entity/mat-form-entity.module.ts | 35 ++++--- .../restricted-entity.module.ts | 9 +- .../restricted-entity.component.ts | 7 +- .../restricted-logged.directive.ts | 7 +- .../route-clickable-link.component.ts | 7 +- .../route-clickable-link.module.ts | 19 ++-- .../user-data-handler.component.ts | 2 +- .../user-data-handler.module.ts | 16 ++-- .../user-data-handler.service.ts | 7 +- .../advice-tooltip/advice-tooltip.module.ts | 7 +- .../advice-tooltip.component.ts | 6 +- .../brand-logo/brand-logo.component.ts | 5 +- .../@visual/brand-logo/brand-logo.module.ts | 2 +- .../brand-primary-button.component.ts | 8 +- .../brand-primary-button.module.ts | 14 +-- .../clean-card/clean-card.component.ts | 6 +- .../@visual/clean-card/clean-card.module.ts | 5 +- .../device-frame-wrapper.component.ts | 6 +- .../device-frame-wrapper.module.ts | 7 +- .../flexbox-row-fast.component.ts | 7 +- .../flexbox-row-fast.module.ts | 5 +- .../@visual/graph-view/graph-view.service.ts | 2 +- .../@visual/graph-view/graph.component.ts | 16 +--- .../@visual/graph-view/lib-graph.module.ts | 6 +- .../hero-clickable-title.module.ts | 11 +-- .../hero-contenst-card-head-icon.component.ts | 7 +- .../hero-content-card.component.ts | 6 +- .../hero-content-card.module.ts | 14 +-- .../@visual/hero-header/hero-header.module.ts | 7 +- .../hero-header/hero-header.component.ts | 7 +- .../hero-info-box-text.directive.ts | 8 +- .../hero-info-box/hero-info-box.component.ts | 12 +-- .../hero-info-box/hero-info-box.module.ts | 11 +-- .../hero-info-box/hero-info-box.service.ts | 5 +- .../hero-item-card.component.ts | 6 +- .../hero-item-card/hero-item-card.module.ts | 11 +-- .../@visual/hero-link/hero-link.component.ts | 6 +- .../@visual/hero-link/hero-link.module.ts | 23 +++-- .../icon-toggler-boolean.component.ts | 7 +- .../icon-toggler-boolean.module.ts | 15 ++- .../label-group-showcase.component.ts | 6 +- .../label-group-showcase.module.ts | 6 +- .../label-value-showcase.component.ts | 6 +- .../label-value-showcase.module.ts | 6 +- .../@visual/page-header/page-header.module.ts | 9 +- .../page-header/page-header.component.ts | 9 +- .../@visual/photo/photo.component.ts | 9 +- .../components/@visual/photo/photo.module.ts | 11 +-- .../@visual/photo/photos.service.ts | 5 +- .../screen-wrapper.component.ts | 6 +- .../screen-wrapper/screen-wrapper.module.ts | 7 +- .../user-avatar/user-avatar.component.ts | 8 +- .../@visual/user-avatar/user-avatar.module.ts | 15 ++- .../width-limiter/width-limiter.component.ts | 7 +- .../width-limiter/width-limiter.module.ts | 5 +- .../oltre-shared-components.module.ts.ts | 3 +- .../shared-interproject/dialogs/DialogBase.ts | 4 +- .../confirm-dialog.component.ts | 16 +--- .../confirm-dialog/confirm-dialog.module.ts | 12 +-- .../input-dialog/input-dialog.component.ts | 23 ++--- .../input-dialog/input-dialog.module.ts | 15 ++- .../read-only-dialog.component.ts | 13 +-- .../read-only-dialog.module.ts | 8 +- .../directives/subscription-manager.ts | 10 +- .../italian-locale-provider.module.ts | 17 +--- .../pipes/ellipsis.pipe.ts | 5 +- .../pipes/shared-pipes.module.ts | 3 +- .../routing-layouts/saturn/fade.animation.ts | 8 +- .../saturn/saturn.component.ts | 7 +- .../routing-layouts/saturn/saturn.module.ts | 16 ++-- .../routing-layouts/uranus/fade.animation.ts | 8 +- .../uranus/uranus.component.ts | 7 +- .../routing-layouts/uranus/uranus.module.ts | 16 ++-- .../routing-layouts/venus/fade.animation.ts | 8 +- .../routing-layouts/venus/venus.component.ts | 7 +- .../routing-layouts/venus/venus.module.ts | 16 ++-- src/build.ts | 20 ++-- src/environments/environment.prod.ts | 4 +- src/environments/environment.ts | 4 +- src/main.ts | 10 +- src/polyfills.ts | 1 - src/test.ts | 7 +- 264 files changed, 1404 insertions(+), 2778 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 8ea010a7..f99021e0 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,7 +1,4 @@ -import { - ChangeDetectionStrategy, - Component -} from '@angular/core'; +import { ChangeDetectionStrategy, Component } from '@angular/core'; @Component({ selector: 'app-root', diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 4aa297be..c9fd11a2 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,33 +1,26 @@ -import { registerLocaleData } from '@angular/common'; -import localeItExtra from '@angular/common/locales/extra/it'; -import localeIt from '@angular/common/locales/it'; -import { - InjectionToken, - LOCALE_ID, - NgModule -} from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { - MAT_DATE_FORMATS, - MAT_DATE_LOCALE -} from '@angular/material/core'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { BrowserModule } from '@angular/platform-browser'; +import { registerLocaleData } from '@angular/common'; +import localeItExtra from '@angular/common/locales/extra/it'; +import localeIt from '@angular/common/locales/it'; +import { InjectionToken, LOCALE_ID, NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { RouterModule } from '@angular/router'; -import { AdviceTooltipModule } from 'src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module'; -import build from 'src/build'; -import { environment } from 'src/environments/environment'; +import { RouterModule } from '@angular/router'; +import { AdviceTooltipModule } from 'src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module'; +import build from 'src/build'; +import { environment } from 'src/environments/environment'; -import { AppComponent } from './app.component'; -import { AppFeaturesModule } from './features/app-features.module'; -import { BackboneModule } from './features/backbone/backbone.module'; -import { FeedbackBoxModule } from './features/backbone/feedback-box/feedback-box.module'; -import { UserAuthGuard } from './features/backbone/login/user-auth-guard.service'; -import { ToolbarModule } from './features/backbone/toolbar/toolbar.module'; -import { PageHeaderModule } from './shared-interproject/components/@visual/page-header/page-header.module'; +import { AppComponent } from './app.component'; +import { AppFeaturesModule } from './features/app-features.module'; +import { BackboneModule } from './features/backbone/backbone.module'; +import { FeedbackBoxModule } from './features/backbone/feedback-box/feedback-box.module'; +import { UserAuthGuard } from './features/backbone/login/user-auth-guard.service'; +import { ToolbarModule } from './features/backbone/toolbar/toolbar.module'; +import { PageHeaderModule } from './shared-interproject/components/@visual/page-header/page-header.module'; import { ScreenWrapperModule } from './shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; const italianLocale: { useValue: string; provide: InjectionToken; } = { diff --git a/src/app/components/format-translator/format-translator.module.ts b/src/app/components/format-translator/format-translator.module.ts index abc11f85..2072e501 100644 --- a/src/app/components/format-translator/format-translator.module.ts +++ b/src/app/components/format-translator/format-translator.module.ts @@ -1,5 +1,5 @@ import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { NgModule } from '@angular/core'; @NgModule({ declarations: [], diff --git a/src/app/components/format-translator/standards.service.ts b/src/app/components/format-translator/standards.service.ts index 4a0e8e21..f4f8b5fb 100644 --- a/src/app/components/format-translator/standards.service.ts +++ b/src/app/components/format-translator/standards.service.ts @@ -1,15 +1,9 @@ -import { Injectable } from '@angular/core'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; -import { - switchMap, - tap -} from 'rxjs/operators'; +import { Injectable } from '@angular/core'; +import { BehaviorSubject, Subject } from 'rxjs'; +import { switchMap, tap } from 'rxjs/operators'; import { SupabaseService } from '../../features/backend/supabase.service'; -import { Standard } from '../../models/standard'; -import { SubManager } from '../../shared-interproject/directives/subscription-manager'; +import { Standard } from '../../models/standard'; +import { SubManager } from '../../shared-interproject/directives/subscription-manager'; @Injectable({ providedIn: 'root' diff --git a/src/app/components/module-parts/get-module-height-for-standard.pipe.ts b/src/app/components/module-parts/get-module-height-for-standard.pipe.ts index 7011242b..f255ea42 100644 --- a/src/app/components/module-parts/get-module-height-for-standard.pipe.ts +++ b/src/app/components/module-parts/get-module-height-for-standard.pipe.ts @@ -1,7 +1,4 @@ -import { - Pipe, - PipeTransform -} from '@angular/core'; +import { Pipe, PipeTransform } from '@angular/core'; import { Standard } from '../../models/standard'; /** diff --git a/src/app/components/module-parts/module-cv-icon/module-cv-icon.component.ts b/src/app/components/module-parts/module-cv-icon/module-cv-icon.component.ts index d798aecd..6f3280ac 100644 --- a/src/app/components/module-parts/module-cv-icon/module-cv-icon.component.ts +++ b/src/app/components/module-parts/module-cv-icon/module-cv-icon.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-module-cv-icon', diff --git a/src/app/components/module-parts/module-cvitem/module-cvitem.component.ts b/src/app/components/module-parts/module-cvitem/module-cvitem.component.ts index 6f336f57..edbc3889 100644 --- a/src/app/components/module-parts/module-cvitem/module-cvitem.component.ts +++ b/src/app/components/module-parts/module-cvitem/module-cvitem.component.ts @@ -1,22 +1,9 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - Input, - OnInit, - Output -} from '@angular/core'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; -import { - map, - takeUntil -} from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; +import { BehaviorSubject, Subject } from 'rxjs'; +import { map, takeUntil } from 'rxjs/operators'; import { PatchDetailDataService } from 'src/app/components/patch-parts/patch-detail-data.service'; -import { CV } from '../../../models/cv'; -import { AppStateService } from '../../../shared-interproject/app-state.service'; +import { CV } from 'src/app/models/cv'; +import { AppStateService } from 'src/app/shared-interproject/app-state.service'; @Component({ selector: 'app-module-cvitem', diff --git a/src/app/components/module-parts/module-cvs/module-cvs.component.ts b/src/app/components/module-parts/module-cvs/module-cvs.component.ts index b13d5ce4..3cb6dd55 100644 --- a/src/app/components/module-parts/module-cvs/module-cvs.component.ts +++ b/src/app/components/module-parts/module-cvs/module-cvs.component.ts @@ -1,23 +1,10 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - Input, - OnInit, - Output -} from '@angular/core'; -import { - fadeInOnEnterAnimation, - fadeOutOnLeaveAnimation -} from 'angular-animations'; -import { Subject } from 'rxjs'; -import { - filter, - takeUntil -} from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; +import { fadeInOnEnterAnimation, fadeOutOnLeaveAnimation } from 'angular-animations'; +import { Subject } from 'rxjs'; +import { filter, takeUntil } from 'rxjs/operators'; import { PatchDetailDataService } from 'src/app/components/patch-parts/patch-detail-data.service'; -import { CV } from '../../../models/cv'; -import { DbModule } from '../../../models/module'; +import { CV } from 'src/app/models/cv'; +import { DbModule } from 'src/app/models/module'; @Component({ selector: 'app-module-cvs', diff --git a/src/app/components/module-parts/module-detail-data.service.ts b/src/app/components/module-parts/module-detail-data.service.ts index 5d7ce703..521f03ac 100644 --- a/src/app/components/module-parts/module-detail-data.service.ts +++ b/src/app/components/module-parts/module-detail-data.service.ts @@ -1,28 +1,14 @@ -import { Injectable } from '@angular/core'; -import { MatDialog } from '@angular/material/dialog'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - BehaviorSubject, - delay, - merge, - of, - ReplaySubject, - Subject -} from 'rxjs'; -import { - filter, - map, - switchMap, - takeUntil, - tap, - withLatestFrom -} from 'rxjs/operators'; +import { Injectable } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { BehaviorSubject, delay, merge, of, ReplaySubject, Subject } from 'rxjs'; +import { filter, map, switchMap, takeUntil, tap, withLatestFrom } from 'rxjs/operators'; import { RackModuleAdderComponent } from 'src/app/components/rack-parts/rack-module-adder/rack-module-adder.component'; -import { UserManagementService } from '../../features/backbone/login/user-management.service'; -import { SupabaseService } from '../../features/backend/supabase.service'; -import { DbModule } from '../../models/module'; -import { PatchMinimal } from '../../models/patch'; -import { RackMinimal } from '../../models/rack'; +import { UserManagementService } from '../../features/backbone/login/user-management.service'; +import { SupabaseService } from '../../features/backend/supabase.service'; +import { DbModule } from '../../models/module'; +import { PatchMinimal } from '../../models/patch'; +import { RackMinimal } from '../../models/rack'; @Injectable() export class ModuleDetailDataService { diff --git a/src/app/components/module-parts/module-details/module-details.component.ts b/src/app/components/module-parts/module-details/module-details.component.ts index 56c2ee08..d6a09422 100644 --- a/src/app/components/module-parts/module-details/module-details.component.ts +++ b/src/app/components/module-parts/module-details/module-details.component.ts @@ -1,16 +1,8 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { fadeInOnEnterAnimation } from 'angular-animations'; -import { SupabaseService } from 'src/app/features/backend/supabase.service'; -import { DbModule } from '../../../models/module'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../module-minimal/module-minimal.component'; +import { SupabaseService } from 'src/app/features/backend/supabase.service'; +import { DbModule } from 'src/app/models/module'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from '../module-minimal/module-minimal.component'; @Component({ selector: 'app-module-details', diff --git a/src/app/components/module-parts/module-editor/module-editor-adder-line/module-editor-adder-line.component.ts b/src/app/components/module-parts/module-editor/module-editor-adder-line/module-editor-adder-line.component.ts index 76404cee..466236ff 100644 --- a/src/app/components/module-parts/module-editor/module-editor-adder-line/module-editor-adder-line.component.ts +++ b/src/app/components/module-parts/module-editor/module-editor-adder-line/module-editor-adder-line.component.ts @@ -1,11 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - OnInit, - Output -} from '@angular/core'; -import { CV } from '../../../../models/cv'; +import { ChangeDetectionStrategy, Component, EventEmitter, OnInit, Output } from '@angular/core'; +import { CV } from 'src/app/models/cv'; @Component({ selector: 'app-module-editor-adder-line', diff --git a/src/app/components/module-parts/module-editor/module-editor-cv-form-line/module-editor-cv-form-line.component.ts b/src/app/components/module-parts/module-editor/module-editor-cv-form-line/module-editor-cv-form-line.component.ts index b2a3612d..ca2bb093 100644 --- a/src/app/components/module-parts/module-editor/module-editor-cv-form-line/module-editor-cv-form-line.component.ts +++ b/src/app/components/module-parts/module-editor/module-editor-cv-form-line/module-editor-cv-form-line.component.ts @@ -1,13 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - Input, - OnInit, - Output -} from '@angular/core'; -import { FormTypes } from '../../../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; -import { FormCV } from '../module-editor.component'; +import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; +import { FormTypes } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { FormCV } from '../module-editor.component'; @Component({ selector: 'app-module-editor-cv-form-line', diff --git a/src/app/components/module-parts/module-editor/module-editor.component.ts b/src/app/components/module-parts/module-editor/module-editor.component.ts index 76d051a4..ce5d4c68 100644 --- a/src/app/components/module-parts/module-editor/module-editor.component.ts +++ b/src/app/components/module-parts/module-editor/module-editor.component.ts @@ -1,43 +1,16 @@ -import { HttpClient } from '@angular/common/http'; -import { - ChangeDetectionStrategy, - Component, - Input, - OnDestroy, - OnInit -} from '@angular/core'; -import { - UntypedFormBuilder, - UntypedFormControl, - UntypedFormGroup, - ValidatorFn, - Validators -} from '@angular/forms'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - BehaviorSubject, - concat, - from, - NEVER, - of, - Subject -} from 'rxjs'; -import { - catchError, - filter, - map, - startWith, - switchMap, - takeUntil, - withLatestFrom -} from 'rxjs/operators'; -import { SupabaseService } from 'src/app/features/backend/supabase.service'; -import { FormTypes } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; -import { UserManagementService } from '../../../features/backbone/login/user-management.service'; -import { CV } from '../../../models/cv'; -import { DbModule } from '../../../models/module'; -import { FileDragHostService } from '../../../shared-interproject/components/@smart/file-drag-host/file-drag-host.service'; -import { IMatFormEntityConfig } from '../../../shared-interproject/components/@smart/mat-form-entity/mat-form-entity.component'; +import { HttpClient } from '@angular/common/http'; +import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit } from '@angular/core'; +import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, ValidatorFn, Validators } from '@angular/forms'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { BehaviorSubject, concat, from, NEVER, of, Subject } from 'rxjs'; +import { catchError, filter, map, startWith, switchMap, takeUntil, withLatestFrom } from 'rxjs/operators'; +import { UserManagementService } from 'src/app/features/backbone/login/user-management.service'; +import { SupabaseService } from 'src/app/features/backend/supabase.service'; +import { CV } from 'src/app/models/cv'; +import { DbModule } from 'src/app/models/module'; +import { FileDragHostService } from 'src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service'; +import { FormTypes } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { IMatFormEntityConfig } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.component'; import { ModuleDetailDataService } from '../module-detail-data.service'; export interface FormCV { diff --git a/src/app/components/module-parts/module-editor/only-not-saved-form-cvs.pipe.ts b/src/app/components/module-parts/module-editor/only-not-saved-form-cvs.pipe.ts index 52108960..e720ccde 100644 --- a/src/app/components/module-parts/module-editor/only-not-saved-form-cvs.pipe.ts +++ b/src/app/components/module-parts/module-editor/only-not-saved-form-cvs.pipe.ts @@ -1,7 +1,4 @@ -import { - Pipe, - PipeTransform -} from '@angular/core'; +import { Pipe, PipeTransform } from '@angular/core'; import { FormCV } from './module-editor.component'; @Pipe({ diff --git a/src/app/components/module-parts/module-minimal/module-minimal.component.ts b/src/app/components/module-parts/module-minimal/module-minimal.component.ts index 8946671c..1d908726 100644 --- a/src/app/components/module-parts/module-minimal/module-minimal.component.ts +++ b/src/app/components/module-parts/module-minimal/module-minimal.component.ts @@ -1,20 +1,9 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { - Observable, - Subject -} from 'rxjs'; -import { - map, - takeUntil -} from 'rxjs/operators'; -import { UserManagementService } from 'src/app/features/backbone/login/user-management.service'; -import { MinimalModule } from '../../../models/module'; -import { RackDetailDataService } from '../../rack-parts/rack-detail-data.service'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { Observable, Subject } from 'rxjs'; +import { map, takeUntil } from 'rxjs/operators'; +import { UserManagementService } from 'src/app/features/backbone/login/user-management.service'; +import { MinimalModule } from 'src/app/models/module'; +import { RackDetailDataService } from '../../rack-parts/rack-detail-data.service'; import { ModuleDetailDataService } from '../module-detail-data.service'; @Component({ diff --git a/src/app/components/module-parts/module-minimal/module-part-description/module-part-description.component.ts b/src/app/components/module-parts/module-minimal/module-part-description/module-part-description.component.ts index 2e928c10..407e93b7 100644 --- a/src/app/components/module-parts/module-minimal/module-part-description/module-part-description.component.ts +++ b/src/app/components/module-parts/module-minimal/module-part-description/module-part-description.component.ts @@ -1,10 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { MinimalModule } from '../../../../models/module'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { MinimalModule } from 'src/app/models/module'; import { ModuleMinimalViewConfig } from '../module-minimal.component'; @Component({ diff --git a/src/app/components/module-parts/module-minimal/module-part-hp/module-part-hp.component.ts b/src/app/components/module-parts/module-minimal/module-part-hp/module-part-hp.component.ts index 9c989768..97a398b6 100644 --- a/src/app/components/module-parts/module-minimal/module-part-hp/module-part-hp.component.ts +++ b/src/app/components/module-parts/module-minimal/module-part-hp/module-part-hp.component.ts @@ -1,10 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { MinimalModule } from '../../../../models/module'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { MinimalModule } from 'src/app/models/module'; @Component({ selector: 'app-module-part-hp', diff --git a/src/app/components/module-parts/module-minimal/module-part-image/module-part-image.component.ts b/src/app/components/module-parts/module-minimal/module-part-image/module-part-image.component.ts index eac1643d..6eecb578 100644 --- a/src/app/components/module-parts/module-minimal/module-part-image/module-part-image.component.ts +++ b/src/app/components/module-parts/module-minimal/module-part-image/module-part-image.component.ts @@ -1,13 +1,6 @@ -import { - AfterViewInit, - ChangeDetectionStrategy, - ChangeDetectorRef, - Component, - Input, - OnInit -} from '@angular/core'; +import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnInit } from '@angular/core'; import { fadeInOnEnterAnimation } from 'angular-animations'; -import { MinimalModule } from '../../../../models/module'; +import { MinimalModule } from 'src/app/models/module'; @Component({ selector: 'app-module-part-image', diff --git a/src/app/components/module-parts/module-minimal/module-part-manufacturer/module-part-manufacturer.component.ts b/src/app/components/module-parts/module-minimal/module-part-manufacturer/module-part-manufacturer.component.ts index d5e070f8..615560ee 100644 --- a/src/app/components/module-parts/module-minimal/module-part-manufacturer/module-part-manufacturer.component.ts +++ b/src/app/components/module-parts/module-minimal/module-part-manufacturer/module-part-manufacturer.component.ts @@ -1,10 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { MinimalModule } from '../../../../models/module'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { MinimalModule } from 'src/app/models/module'; @Component({ selector: 'app-module-part-manufacturer', diff --git a/src/app/components/module-parts/module-minimal/module-part-name/module-part-name.component.ts b/src/app/components/module-parts/module-minimal/module-part-name/module-part-name.component.ts index f5b78aa1..10a717e5 100644 --- a/src/app/components/module-parts/module-minimal/module-part-name/module-part-name.component.ts +++ b/src/app/components/module-parts/module-minimal/module-part-name/module-part-name.component.ts @@ -1,5 +1,5 @@ import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; -import { MinimalModule } from '../../../../models/module'; +import { MinimalModule } from 'src/app/models/module'; @Component({ selector: 'app-module-part-name', diff --git a/src/app/components/module-parts/module-minimal/module-tags/module-tags.component.ts b/src/app/components/module-parts/module-minimal/module-tags/module-tags.component.ts index 8eca37e8..e7bc512a 100644 --- a/src/app/components/module-parts/module-minimal/module-tags/module-tags.component.ts +++ b/src/app/components/module-parts/module-minimal/module-tags/module-tags.component.ts @@ -1,14 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { - fadeInOnEnterAnimation, - fadeOutOnLeaveAnimation -} from 'angular-animations'; -import { MinimalModule } from '../../../../models/module'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { fadeInOnEnterAnimation, fadeOutOnLeaveAnimation } from 'angular-animations'; +import { MinimalModule } from 'src/app/models/module'; @Component({ selector: 'app-module-tags', diff --git a/src/app/components/module-parts/module-minimal/module-tags/only-tag-of-type.pipe.ts b/src/app/components/module-parts/module-minimal/module-tags/only-tag-of-type.pipe.ts index 5627cbd4..e92f4554 100644 --- a/src/app/components/module-parts/module-minimal/module-tags/only-tag-of-type.pipe.ts +++ b/src/app/components/module-parts/module-minimal/module-tags/only-tag-of-type.pipe.ts @@ -1,11 +1,5 @@ -import { - Pipe, - PipeTransform -} from '@angular/core'; -import { - Tag, - TagType -} from '../../../../models/tag'; +import { Pipe, PipeTransform } from '@angular/core'; +import { Tag, TagType } from 'src/app/models/tag'; @Pipe({ name: 'onlyTagOfType' diff --git a/src/app/components/module-parts/module-minimal/module-tags/order-tags-by-type.pipe.ts b/src/app/components/module-parts/module-minimal/module-tags/order-tags-by-type.pipe.ts index 595bc1a2..3197bbd5 100644 --- a/src/app/components/module-parts/module-minimal/module-tags/order-tags-by-type.pipe.ts +++ b/src/app/components/module-parts/module-minimal/module-tags/order-tags-by-type.pipe.ts @@ -1,8 +1,5 @@ -import { - Pipe, - PipeTransform -} from '@angular/core'; -import { Tag } from '../../../../models/tag'; +import { Pipe, PipeTransform } from '@angular/core'; +import { Tag } from 'src/app/models/tag'; @Pipe({ name: 'orderTagsByType' diff --git a/src/app/components/module-parts/module-parts.module.ts b/src/app/components/module-parts/module-parts.module.ts index bdf31a4a..03d6a747 100644 --- a/src/app/components/module-parts/module-parts.module.ts +++ b/src/app/components/module-parts/module-parts.module.ts @@ -1,51 +1,51 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatChipsModule } from '@angular/material/chips'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatExpansionModule } from '@angular/material/expansion'; -import { MatIconModule } from '@angular/material/icon'; -import { MatMenuModule } from '@angular/material/menu'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { RouterModule } from '@angular/router'; -import { TimeagoModule } from 'ngx-timeago'; -import { SharedAtomsModule } from 'src/app/components/shared-atoms/shared-atoms.module'; -import { HeroClickableTitleModule } from 'src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.module'; -import { SharedPipesModule } from 'src/app/shared-interproject/pipes/shared-pipes.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatChipsModule } from '@angular/material/chips'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatExpansionModule } from '@angular/material/expansion'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterModule } from '@angular/router'; +import { TimeagoModule } from 'ngx-timeago'; +import { SharedAtomsModule } from 'src/app/components/shared-atoms/shared-atoms.module'; +import { HeroClickableTitleModule } from 'src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.module'; +import { SharedPipesModule } from 'src/app/shared-interproject/pipes/shared-pipes.module'; import { AutoContentLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module'; -import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; -import { FileDragHostModule } from '../../shared-interproject/components/@smart/file-drag-host/file-drag-host.module'; -import { MatFormEntityModule } from '../../shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; -import { RestrictedEntityModule } from '../../shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; -import { AdviceTooltipModule } from '../../shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module'; -import { BrandPrimaryButtonModule } from '../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; -import { HeroInfoBoxModule } from '../../shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; -import { LabelValueShowcaseModule } from '../../shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; -import { ScreenWrapperModule } from '../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { GetModuleHeightForStandardPipe } from './get-module-height-for-standard.pipe'; -import { ModuleCvIconComponent } from './module-cv-icon/module-cv-icon.component'; -import { ModuleCVItemComponent } from './module-cvitem/module-cvitem.component'; -import { ModuleCVsComponent } from './module-cvs/module-cvs.component'; -import { ModuleDetailDataService } from './module-detail-data.service'; -import { ModuleDetailsComponent } from './module-details/module-details.component'; -import { ModuleEditorAdderLineComponent } from './module-editor/module-editor-adder-line/module-editor-adder-line.component'; -import { ModuleEditorCvFormLineComponent } from './module-editor/module-editor-cv-form-line/module-editor-cv-form-line.component'; -import { ModuleEditorComponent } from './module-editor/module-editor.component'; -import { OnlyNotSavedFormCVsLengthPipe } from './module-editor/only-not-saved-form-cvs.pipe'; -import { ModuleMinimalComponent } from './module-minimal/module-minimal.component'; -import { ModulePartDescriptionComponent } from './module-minimal/module-part-description/module-part-description.component'; -import { ModulePartHpComponent } from './module-minimal/module-part-hp/module-part-hp.component'; -import { ModulePartImageComponent } from './module-minimal/module-part-image/module-part-image.component'; -import { ModulePartManufacturerComponent } from './module-minimal/module-part-manufacturer/module-part-manufacturer.component'; -import { ModulePartNameComponent } from './module-minimal/module-part-name/module-part-name.component'; -import { ModuleTagsComponent } from './module-minimal/module-tags/module-tags.component'; -import { OnlyTagOfTypePipe } from './module-minimal/module-tags/only-tag-of-type.pipe'; -import { OrderTagsByTypePipe } from './module-minimal/module-tags/order-tags-by-type.pipe'; -import { ModuleRealisticHolelineComponent } from './module-realistic/module-realistic-holeline/module-realistic-holeline.component'; -import { ModuleRealisticComponent } from './module-realistic/module-realistic.component'; +import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; +import { FileDragHostModule } from '../../shared-interproject/components/@smart/file-drag-host/file-drag-host.module'; +import { MatFormEntityModule } from '../../shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { RestrictedEntityModule } from '../../shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; +import { AdviceTooltipModule } from '../../shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module'; +import { BrandPrimaryButtonModule } from '../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; +import { HeroInfoBoxModule } from '../../shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; +import { LabelValueShowcaseModule } from '../../shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; +import { ScreenWrapperModule } from '../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { GetModuleHeightForStandardPipe } from './get-module-height-for-standard.pipe'; +import { ModuleCvIconComponent } from './module-cv-icon/module-cv-icon.component'; +import { ModuleCVItemComponent } from './module-cvitem/module-cvitem.component'; +import { ModuleCVsComponent } from './module-cvs/module-cvs.component'; +import { ModuleDetailDataService } from './module-detail-data.service'; +import { ModuleDetailsComponent } from './module-details/module-details.component'; +import { ModuleEditorAdderLineComponent } from './module-editor/module-editor-adder-line/module-editor-adder-line.component'; +import { ModuleEditorCvFormLineComponent } from './module-editor/module-editor-cv-form-line/module-editor-cv-form-line.component'; +import { ModuleEditorComponent } from './module-editor/module-editor.component'; +import { OnlyNotSavedFormCVsLengthPipe } from './module-editor/only-not-saved-form-cvs.pipe'; +import { ModuleMinimalComponent } from './module-minimal/module-minimal.component'; +import { ModulePartDescriptionComponent } from './module-minimal/module-part-description/module-part-description.component'; +import { ModulePartHpComponent } from './module-minimal/module-part-hp/module-part-hp.component'; +import { ModulePartImageComponent } from './module-minimal/module-part-image/module-part-image.component'; +import { ModulePartManufacturerComponent } from './module-minimal/module-part-manufacturer/module-part-manufacturer.component'; +import { ModulePartNameComponent } from './module-minimal/module-part-name/module-part-name.component'; +import { ModuleTagsComponent } from './module-minimal/module-tags/module-tags.component'; +import { OnlyTagOfTypePipe } from './module-minimal/module-tags/only-tag-of-type.pipe'; +import { OrderTagsByTypePipe } from './module-minimal/module-tags/order-tags-by-type.pipe'; +import { ModuleRealisticHolelineComponent } from './module-realistic/module-realistic-holeline/module-realistic-holeline.component'; +import { ModuleRealisticComponent } from './module-realistic/module-realistic.component'; @NgModule({ declarations: [ diff --git a/src/app/components/module-parts/module-realistic/module-realistic-holeline/module-realistic-holeline.component.ts b/src/app/components/module-parts/module-realistic/module-realistic-holeline/module-realistic-holeline.component.ts index cf1ac97b..a1168c74 100644 --- a/src/app/components/module-parts/module-realistic/module-realistic-holeline/module-realistic-holeline.component.ts +++ b/src/app/components/module-parts/module-realistic/module-realistic-holeline/module-realistic-holeline.component.ts @@ -1,10 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { MinimalModule } from '../../../../models/module'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { MinimalModule } from 'src/app/models/module'; @Component({ selector: 'app-module-realistic-holeline', diff --git a/src/app/components/module-parts/module-realistic/module-realistic.component.html b/src/app/components/module-parts/module-realistic/module-realistic.component.html index 2257f8e9..cc8e647e 100644 --- a/src/app/components/module-parts/module-realistic/module-realistic.component.html +++ b/src/app/components/module-parts/module-realistic/module-realistic.component.html @@ -20,17 +20,17 @@ *ngIf="data.hp>3" >
; let component: HomeComponent; diff --git a/src/app/features/backbone/home/home.component.ts b/src/app/features/backbone/home/home.component.ts index 86a7b862..f634a601 100644 --- a/src/app/features/backbone/home/home.component.ts +++ b/src/app/features/backbone/home/home.component.ts @@ -1,19 +1,10 @@ -import { - Component, - OnDestroy -} from '@angular/core'; -import { Router } from '@angular/router'; -import { - fadeInOnEnterAnimation, - slideInDownOnEnterAnimation -} from 'angular-animations'; -import { BehaviorSubject } from 'rxjs'; -import { - CardLinkDataModel, - cleanCardlinkModelObject -} from 'src/app/shared-interproject/components/@smart/list-link-router/clickable-list-card-base'; -import { SubManager } from '../../../shared-interproject/directives/subscription-manager'; -import { SupabaseService } from '../../backend/supabase.service'; +import { Component, OnDestroy } from '@angular/core'; +import { Router } from '@angular/router'; +import { fadeInOnEnterAnimation, slideInDownOnEnterAnimation } from 'angular-animations'; +import { BehaviorSubject } from 'rxjs'; +import { CardLinkDataModel, cleanCardlinkModelObject } from 'src/app/shared-interproject/components/@smart/list-link-router/clickable-list-card-base'; +import { SubManager } from 'src/app/shared-interproject/directives/subscription-manager'; +import { SupabaseService } from '../../backend/supabase.service'; import { SeoAndUtilsService } from '../seo-and-utils.service'; @Component({ diff --git a/src/app/features/backbone/home/home.module.ts b/src/app/features/backbone/home/home.module.ts index 6ea9ba6f..844096f7 100644 --- a/src/app/features/backbone/home/home.module.ts +++ b/src/app/features/backbone/home/home.module.ts @@ -1,27 +1,27 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatExpansionModule } from '@angular/material/expansion'; -import { MatIconModule } from '@angular/material/icon'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { RouterModule } from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatExpansionModule } from '@angular/material/expansion'; +import { MatIconModule } from '@angular/material/icon'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { RouterModule } from '@angular/router'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { ListLinkRouterModule } from 'src/app/shared-interproject/components/@smart/list-link-router/list-link-router.module'; +import { LottieContainerModule } from 'src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module'; +import { UserDataHandlerModule } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.module'; import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { HeroHeaderModule } from 'src/app/shared-interproject/components/@visual/hero-header/hero-header.module'; -import { EmptyStateModule } from '../../../shared-interproject/components/@smart/empty-state/empty-state.module'; -import { ListLinkRouterModule } from '../../../shared-interproject/components/@smart/list-link-router/list-link-router.module'; -import { LottieContainerModule } from '../../../shared-interproject/components/@smart/lottie-container/lottie-container.module'; -import { UserDataHandlerModule } from '../../../shared-interproject/components/@smart/user-data-handler/user-data-handler.module'; -import { DeviceFrameWrapperModule } from '../../../shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.module'; -import { HeroLinkModule } from '../../../shared-interproject/components/@visual/hero-link/hero-link.module'; -import { ScreenWrapperModule } from '../../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { ModuleBrowserModule } from '../../module-browser/module-browser.module'; -import { PatchBrowserModule } from '../../patch-browser/patch-browser.module'; -import { RackBrowserModule } from '../../rack-browser/rack-browser.module'; -import { HomeComponent } from './home.component'; +import { DeviceFrameWrapperModule } from 'src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.module'; +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { HeroHeaderModule } from 'src/app/shared-interproject/components/@visual/hero-header/hero-header.module'; +import { HeroLinkModule } from 'src/app/shared-interproject/components/@visual/hero-link/hero-link.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { ModuleBrowserModule } from '../../module-browser/module-browser.module'; +import { PatchBrowserModule } from '../../patch-browser/patch-browser.module'; +import { RackBrowserModule } from '../../rack-browser/rack-browser.module'; +import { HomeComponent } from './home.component'; @NgModule({ declarations: [ diff --git a/src/app/features/backbone/login/error.interceptor.ts b/src/app/features/backbone/login/error.interceptor.ts index 1cf76ea8..7fd70793 100644 --- a/src/app/features/backbone/login/error.interceptor.ts +++ b/src/app/features/backbone/login/error.interceptor.ts @@ -1,19 +1,7 @@ -import { - HttpEvent, - HttpHandler, - HttpInterceptor, - HttpRequest -} from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { - Observable, - throwError -} from 'rxjs'; -import { - catchError, - filter, - take -} from 'rxjs/operators'; +import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable, throwError } from 'rxjs'; +import { catchError, filter, take } from 'rxjs/operators'; import { UserManagementService } from './user-management.service'; @Injectable() diff --git a/src/app/features/backbone/login/jwt.interceptor.ts b/src/app/features/backbone/login/jwt.interceptor.ts index dd35e19a..1040e712 100644 --- a/src/app/features/backbone/login/jwt.interceptor.ts +++ b/src/app/features/backbone/login/jwt.interceptor.ts @@ -1,16 +1,8 @@ -import { - HttpEvent, - HttpHandler, - HttpInterceptor, - HttpRequest -} from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { Observable } from 'rxjs'; -import { - switchMap, - take -} from 'rxjs/operators'; -import { environment } from '../../../../environments/environment'; +import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { switchMap, take } from 'rxjs/operators'; +import { environment } from 'src/environments/environment'; import { UserManagementService } from './user-management.service'; @Injectable() diff --git a/src/app/features/backbone/login/login-page/login-email/login-email.component.ts b/src/app/features/backbone/login/login-page/login-email/login-email.component.ts index 0c7b6a1f..0c464651 100644 --- a/src/app/features/backbone/login/login-page/login-email/login-email.component.ts +++ b/src/app/features/backbone/login/login-page/login-email/login-email.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { UserLoginDataService } from '../user-login-data.service'; @Component({ diff --git a/src/app/features/backbone/login/login-page/login-email/login-email.module.ts b/src/app/features/backbone/login/login-page/login-email/login-email.module.ts index e2c4a87e..1ffa1390 100644 --- a/src/app/features/backbone/login/login-page/login-email/login-email.module.ts +++ b/src/app/features/backbone/login/login-page/login-email/login-email.module.ts @@ -1,10 +1,9 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatFormEntityModule } from '../../../../../shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; -import { BrandPrimaryButtonModule } from '../../../../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { LoginEmailComponent } from './login-email.component'; - +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { LoginEmailComponent } from './login-email.component'; @NgModule({ declarations: [ diff --git a/src/app/features/backbone/login/login-page/login-google/login-google.component.ts b/src/app/features/backbone/login/login-page/login-google/login-google.component.ts index 0ae637eb..24a5a566 100644 --- a/src/app/features/backbone/login/login-page/login-google/login-google.component.ts +++ b/src/app/features/backbone/login/login-page/login-google/login-google.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'app-login-google', diff --git a/src/app/features/backbone/login/login-page/login-google/login-google.module.ts b/src/app/features/backbone/login/login-page/login-google/login-google.module.ts index a8d4d6bb..5aba0100 100644 --- a/src/app/features/backbone/login/login-page/login-google/login-google.module.ts +++ b/src/app/features/backbone/login/login-page/login-google/login-google.module.ts @@ -1,8 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { LoginGoogleComponent } from './login-google.component'; - @NgModule({ declarations: [ LoginGoogleComponent diff --git a/src/app/features/backbone/login/login-page/login-page.component.ts b/src/app/features/backbone/login/login-page/login-page.component.ts index 70f68a92..8822ff32 100644 --- a/src/app/features/backbone/login/login-page/login-page.component.ts +++ b/src/app/features/backbone/login/login-page/login-page.component.ts @@ -1,11 +1,7 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; import { UserManagementService } from '../user-management.service'; -import { UserLoginDataService } from './user-login-data.service'; +import { UserLoginDataService } from './user-login-data.service'; @Component({ selector: 'app-login-page', diff --git a/src/app/features/backbone/login/login-page/login-page.module.ts b/src/app/features/backbone/login/login-page/login-page.module.ts index 3d229f66..2a8dbf6e 100644 --- a/src/app/features/backbone/login/login-page/login-page.module.ts +++ b/src/app/features/backbone/login/login-page/login-page.module.ts @@ -1,19 +1,18 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { RouterModule } from '@angular/router'; -import { LoginProposalComponent } from 'src/app/features/backbone/login/login-page/login-proposal/login-proposal.component'; -import { UserLoginDataService } from 'src/app/features/backbone/login/login-page/user-login-data.service'; -import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; -import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { RouterModule } from '@angular/router'; +import { LoginProposalComponent } from 'src/app/features/backbone/login/login-page/login-proposal/login-proposal.component'; +import { UserLoginDataService } from 'src/app/features/backbone/login/login-page/user-login-data.service'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { LottieContainerModule } from 'src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module'; +import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { LottieContainerModule } from '../../../../shared-interproject/components/@smart/lottie-container/lottie-container.module'; -import { LoginEmailModule } from './login-email/login-email.module'; -import { LoginPageComponent } from './login-page.component'; - +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { LoginEmailModule } from './login-email/login-email.module'; +import { LoginPageComponent } from './login-page.component'; @NgModule({ declarations: [ diff --git a/src/app/features/backbone/login/login-page/login-proposal/login-proposal.component.ts b/src/app/features/backbone/login/login-page/login-proposal/login-proposal.component.ts index f7860acc..3bf76b67 100644 --- a/src/app/features/backbone/login/login-page/login-proposal/login-proposal.component.ts +++ b/src/app/features/backbone/login/login-page/login-proposal/login-proposal.component.ts @@ -1,15 +1,7 @@ -import { - ChangeDetectionStrategy, - Component, - Inject, - OnInit -} from '@angular/core'; -import { - MAT_DIALOG_DATA, - MatDialogRef -} from '@angular/material/dialog'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, Inject, OnInit } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Subject } from 'rxjs'; +import { takeUntil } from 'rxjs/operators'; import { UserLoginDataService } from 'src/app/features/backbone/login/login-page/user-login-data.service'; @Component({ diff --git a/src/app/features/backbone/login/login-page/user-login-data.service.ts b/src/app/features/backbone/login/login-page/user-login-data.service.ts index 3b7a3cc6..ebf9bbb8 100644 --- a/src/app/features/backbone/login/login-page/user-login-data.service.ts +++ b/src/app/features/backbone/login/login-page/user-login-data.service.ts @@ -1,25 +1,11 @@ -import { Injectable } from '@angular/core'; -import { - UntypedFormControl, - Validators -} from '@angular/forms'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - ActivatedRoute, - Router -} from '@angular/router'; -import { - BehaviorSubject, - interval, - Subject -} from 'rxjs'; -import { - switchMap, - take, - takeUntil -} from 'rxjs/operators'; -import { FormTypes } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; -import { SharedConstants } from 'src/app/shared-interproject/SharedConstants'; +import { Injectable } from '@angular/core'; +import { UntypedFormControl, Validators } from '@angular/forms'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { ActivatedRoute, Router } from '@angular/router'; +import { BehaviorSubject, interval, Subject } from 'rxjs'; +import { switchMap, take, takeUntil } from 'rxjs/operators'; +import { FormTypes } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { SharedConstants } from 'src/app/shared-interproject/SharedConstants'; import { UserManagementService } from '../user-management.service'; @Injectable() diff --git a/src/app/features/backbone/login/login.module.ts b/src/app/features/backbone/login/login.module.ts index 9825b1e7..46747abe 100644 --- a/src/app/features/backbone/login/login.module.ts +++ b/src/app/features/backbone/login/login.module.ts @@ -1,12 +1,11 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { LoginPageComponent } from './login-page/login-page.component'; -import { LoginPageModule } from './login-page/login-page.module'; -import { SignupPageComponent } from './signup/signup-page.component'; -import { SignupPageModule } from './signup/signup-page.module'; +import { NgModule } from '@angular/core'; +import { RouterModule } from '@angular/router'; +import { LoginPageComponent } from './login-page/login-page.component'; +import { LoginPageModule } from './login-page/login-page.module'; +import { SignupPageComponent } from './signup/signup-page.component'; +import { SignupPageModule } from './signup/signup-page.module'; import { UserManagementService } from './user-management.service'; - @NgModule({ declarations: [], providers: [UserManagementService], diff --git a/src/app/features/backbone/login/signup/signup-email/signup-email.component.ts b/src/app/features/backbone/login/signup/signup-email/signup-email.component.ts index 5757b789..f9f655c5 100644 --- a/src/app/features/backbone/login/signup/signup-email/signup-email.component.ts +++ b/src/app/features/backbone/login/signup/signup-email/signup-email.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { UserSignupDataService } from '../user-signup-data.service'; @Component({ diff --git a/src/app/features/backbone/login/signup/signup-google/signup-google.component.ts b/src/app/features/backbone/login/signup/signup-google/signup-google.component.ts index 1eb81de4..739ae10b 100644 --- a/src/app/features/backbone/login/signup/signup-google/signup-google.component.ts +++ b/src/app/features/backbone/login/signup/signup-google/signup-google.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'app-signup-google', diff --git a/src/app/features/backbone/login/signup/signup-page.component.ts b/src/app/features/backbone/login/signup/signup-page.component.ts index bbbdbe7d..07e74539 100644 --- a/src/app/features/backbone/login/signup/signup-page.component.ts +++ b/src/app/features/backbone/login/signup/signup-page.component.ts @@ -1,9 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; import { UserSignupDataService } from './user-signup-data.service'; @Component({ diff --git a/src/app/features/backbone/login/signup/signup-page.module.ts b/src/app/features/backbone/login/signup/signup-page.module.ts index e33aad41..dbe6384d 100644 --- a/src/app/features/backbone/login/signup/signup-page.module.ts +++ b/src/app/features/backbone/login/signup/signup-page.module.ts @@ -1,19 +1,18 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatFormFieldModule } from '@angular/material/form-field'; -import { RouterModule } from '@angular/router'; -import { EmptyStateModule } from '../../../../shared-interproject/components/@smart/empty-state/empty-state.module'; -import { MatFormEntityModule } from '../../../../shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; -import { BrandPrimaryButtonModule } from '../../../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { HeroContentCardModule } from '../../../../shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { ScreenWrapperModule } from '../../../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { LoginEmailModule } from '../login-page/login-email/login-email.module'; -import { SignupEmailComponent } from './signup-email/signup-email.component'; -import { SignupGoogleComponent } from './signup-google/signup-google.component'; -import { SignupPageComponent } from './signup-page.component'; - +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { RouterModule } from '@angular/router'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { LoginEmailModule } from '../login-page/login-email/login-email.module'; +import { SignupEmailComponent } from './signup-email/signup-email.component'; +import { SignupGoogleComponent } from './signup-google/signup-google.component'; +import { SignupPageComponent } from './signup-page.component'; @NgModule({ declarations: [ diff --git a/src/app/features/backbone/login/signup/user-signup-data.service.ts b/src/app/features/backbone/login/signup/user-signup-data.service.ts index 1ef98e53..4e865613 100644 --- a/src/app/features/backbone/login/signup/user-signup-data.service.ts +++ b/src/app/features/backbone/login/signup/user-signup-data.service.ts @@ -1,24 +1,11 @@ -import { Injectable } from '@angular/core'; -import { - UntypedFormControl, - Validators -} from '@angular/forms'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - ActivatedRoute, - Router -} from '@angular/router'; -import { - of, - Subject -} from 'rxjs'; -import { - filter, - switchMap, - takeUntil -} from 'rxjs/operators'; -import { FormTypes } from '../../../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; -import { SharedConstants } from '../../../../shared-interproject/SharedConstants'; +import { Injectable } from '@angular/core'; +import { UntypedFormControl, Validators } from '@angular/forms'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { ActivatedRoute, Router } from '@angular/router'; +import { of, Subject } from 'rxjs'; +import { filter, switchMap, takeUntil } from 'rxjs/operators'; +import { FormTypes } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { SharedConstants } from 'src/app/shared-interproject/SharedConstants'; import { UserManagementService } from '../user-management.service'; @Injectable() diff --git a/src/app/features/backbone/login/user-auth-guard.service.ts b/src/app/features/backbone/login/user-auth-guard.service.ts index 83725faf..a123b5d5 100644 --- a/src/app/features/backbone/login/user-auth-guard.service.ts +++ b/src/app/features/backbone/login/user-auth-guard.service.ts @@ -1,16 +1,8 @@ -import { Injectable } from '@angular/core'; -import { MatDialog } from '@angular/material/dialog'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - ActivatedRouteSnapshot, - CanActivate, - Router, - RouterStateSnapshot -} from '@angular/router'; -import { - map, - tap -} from 'rxjs'; +import { Injectable } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router'; +import { map, tap } from 'rxjs'; import { UserManagementService } from './user-management.service'; @Injectable() diff --git a/src/app/features/backbone/login/user-management.service.ts b/src/app/features/backbone/login/user-management.service.ts index 86798a2f..d335967b 100644 --- a/src/app/features/backbone/login/user-management.service.ts +++ b/src/app/features/backbone/login/user-management.service.ts @@ -1,23 +1,12 @@ -import { Injectable } from '@angular/core'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - ActivatedRoute, - Router -} from '@angular/router'; -import { User } from '@supabase/supabase-js'; -import { - from, - of, - ReplaySubject -} from 'rxjs'; -import { - filter, - switchMap, - tap -} from 'rxjs/operators'; +import { Injectable } from '@angular/core'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { ActivatedRoute, Router } from '@angular/router'; +import { User } from '@supabase/supabase-js'; +import { from, of, ReplaySubject } from 'rxjs'; +import { filter, switchMap, tap } from 'rxjs/operators'; import { UserDataHandlerService } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.service'; -import { SharedConstants } from 'src/app/shared-interproject/SharedConstants'; -import { SupabaseService } from '../../backend/supabase.service'; +import { SharedConstants } from 'src/app/shared-interproject/SharedConstants'; +import { SupabaseService } from '../../backend/supabase.service'; @Injectable() export class UserManagementService { diff --git a/src/app/features/backbone/sentry-integration/sentry-integration.module.ts b/src/app/features/backbone/sentry-integration/sentry-integration.module.ts index 14dbfc81..1cee4c8d 100644 --- a/src/app/features/backbone/sentry-integration/sentry-integration.module.ts +++ b/src/app/features/backbone/sentry-integration/sentry-integration.module.ts @@ -1,11 +1,7 @@ import { CommonModule } from '@angular/common'; -import { - APP_INITIALIZER, - ErrorHandler, - NgModule -} from '@angular/core'; -import { Router } from '@angular/router'; -import * as Sentry from '@sentry/angular'; +import { APP_INITIALIZER, ErrorHandler, NgModule } from '@angular/core'; +import { Router } from '@angular/router'; +import * as Sentry from '@sentry/angular'; @NgModule({ declarations: [], diff --git a/src/app/features/backbone/seo-and-utils.service.ts b/src/app/features/backbone/seo-and-utils.service.ts index 4d16ceab..9cafdcbb 100644 --- a/src/app/features/backbone/seo-and-utils.service.ts +++ b/src/app/features/backbone/seo-and-utils.service.ts @@ -1,9 +1,6 @@ import { Injectable } from '@angular/core'; -import { Title } from '@angular/platform-browser'; -import { - SeoSocialShareData, - SeoSocialShareService -} from 'ngx-seo'; +import { Title } from '@angular/platform-browser'; +import { SeoSocialShareData, SeoSocialShareService } from 'ngx-seo'; @Injectable({ providedIn: 'root' diff --git a/src/app/features/backbone/toolbar/toolbar.component.ts b/src/app/features/backbone/toolbar/toolbar.component.ts index 15cb36d6..6a1e2c47 100644 --- a/src/app/features/backbone/toolbar/toolbar.component.ts +++ b/src/app/features/backbone/toolbar/toolbar.component.ts @@ -1,13 +1,10 @@ -import { - ChangeDetectionStrategy, - Component -} from '@angular/core'; -import { Router } from '@angular/router'; -import { BehaviorSubject } from 'rxjs'; +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { Router } from '@angular/router'; +import { BehaviorSubject } from 'rxjs'; import { UserManagementService } from 'src/app/features/backbone/login/user-management.service'; -import { RouteClickableLink } from 'src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.component'; -import { SubManager } from '../../../shared-interproject/directives/subscription-manager'; -import { ToolbarService } from './toolbar.service'; +import { RouteClickableLink } from 'src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.component'; +import { SubManager } from 'src/app/shared-interproject/directives/subscription-manager'; +import { ToolbarService } from './toolbar.service'; @Component({ selector: 'app-toolbar', diff --git a/src/app/features/backbone/toolbar/toolbar.module.ts b/src/app/features/backbone/toolbar/toolbar.module.ts index 154bfad9..c67e7f2d 100644 --- a/src/app/features/backbone/toolbar/toolbar.module.ts +++ b/src/app/features/backbone/toolbar/toolbar.module.ts @@ -1,22 +1,19 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { - FlexLayoutModule, - FlexModule -} from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatIconModule } from '@angular/material/icon'; -import { MatMenuModule } from '@angular/material/menu'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { RouterModule } from '@angular/router'; -import { LottieContainerModule } from '../../../shared-interproject/components/@smart/lottie-container/lottie-container.module'; -import { RouteClickableLinkModule } from '../../../shared-interproject/components/@smart/route-clickable-link/route-clickable-link.module'; -import { BrandLogoModule } from '../../../shared-interproject/components/@visual/brand-logo/brand-logo.module'; -import { ScreenWrapperModule } from '../../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { ToolbarComponent } from './toolbar.component'; -import { ToolbarService } from './toolbar.service'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule, FlexModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { RouterModule } from '@angular/router'; +import { LottieContainerModule } from 'src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module'; +import { RouteClickableLinkModule } from 'src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.module'; +import { BrandLogoModule } from 'src/app/shared-interproject/components/@visual/brand-logo/brand-logo.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { ToolbarComponent } from './toolbar.component'; +import { ToolbarService } from './toolbar.service'; @NgModule({ imports: [ @@ -46,4 +43,4 @@ import { ToolbarService } from './toolbar.service'; ToolbarService ] }) -export class ToolbarModule {} \ No newline at end of file +export class ToolbarModule {} diff --git a/src/app/features/backbone/user-management/user-management.component.ts b/src/app/features/backbone/user-management/user-management.component.ts index 61adce7c..e02a309a 100644 --- a/src/app/features/backbone/user-management/user-management.component.ts +++ b/src/app/features/backbone/user-management/user-management.component.ts @@ -1,11 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { UserManagementService } from 'src/app/features/backbone/login/user-management.service'; -import { SeoAndUtilsService } from '../seo-and-utils.service'; +import { SeoAndUtilsService } from '../seo-and-utils.service'; @Component({ selector: 'app-user-management', diff --git a/src/app/features/backbone/user-management/user-management.module.ts b/src/app/features/backbone/user-management/user-management.module.ts index 5a6fc090..c2baa26b 100644 --- a/src/app/features/backbone/user-management/user-management.module.ts +++ b/src/app/features/backbone/user-management/user-management.module.ts @@ -1,17 +1,16 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { RouterModule } from '@angular/router'; -import { TimeagoModule } from 'ngx-timeago'; -import { UserManagementComponent } from 'src/app/features/backbone/user-management/user-management.component'; -import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterModule } from '@angular/router'; +import { TimeagoModule } from 'ngx-timeago'; +import { UserManagementComponent } from 'src/app/features/backbone/user-management/user-management.component'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { LabelValueShowcaseModule } from '../../../shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; -import { ScreenWrapperModule } from '../../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; - +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { LabelValueShowcaseModule } from 'src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; @NgModule({ declarations: [ diff --git a/src/app/features/backend/admin-guard.service.ts b/src/app/features/backend/admin-guard.service.ts index 0d501436..6409cf00 100644 --- a/src/app/features/backend/admin-guard.service.ts +++ b/src/app/features/backend/admin-guard.service.ts @@ -1,9 +1,6 @@ -import { Injectable } from '@angular/core'; -import { - ActivatedRouteSnapshot, - CanActivate -} from '@angular/router'; -import { environment } from '../../../environments/environment'; +import { Injectable } from '@angular/core'; +import { ActivatedRouteSnapshot, CanActivate } from '@angular/router'; +import { environment } from 'src/environments/environment'; @Injectable() export class AdminGuardService implements CanActivate { diff --git a/src/app/features/backend/admin-panel-root/admin-panel-root.component.ts b/src/app/features/backend/admin-panel-root/admin-panel-root.component.ts index cc05bbbd..add35d77 100644 --- a/src/app/features/backend/admin-panel-root/admin-panel-root.component.ts +++ b/src/app/features/backend/admin-panel-root/admin-panel-root.component.ts @@ -1,10 +1,6 @@ -import { HttpClient } from '@angular/common/http'; -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; -import { Subject } from 'rxjs'; +import { HttpClient } from '@angular/common/http'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; +import { Subject } from 'rxjs'; import { SupabaseService } from '../supabase.service'; @Component({ diff --git a/src/app/features/backend/backend.module.ts b/src/app/features/backend/backend.module.ts index 329d35a7..082c687f 100644 --- a/src/app/features/backend/backend.module.ts +++ b/src/app/features/backend/backend.module.ts @@ -1,16 +1,16 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatSnackBarModule } from '@angular/material/snack-bar'; -import { RouterModule } from '@angular/router'; -import { LuxonModule } from 'luxon-angular'; -import { UrlCreatorService } from 'src/app/features/backend/url-creator.service'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatSnackBarModule } from '@angular/material/snack-bar'; +import { RouterModule } from '@angular/router'; +import { LuxonModule } from 'luxon-angular'; +import { UrlCreatorService } from 'src/app/features/backend/url-creator.service'; import { BrandPrimaryButtonModule } from '../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { LibGraphModule } from '../../shared-interproject/components/@visual/graph-view/lib-graph.module'; -import { AdminGuardService } from './admin-guard.service'; -import { AdminPanelRootComponent } from './admin-panel-root/admin-panel-root.component'; -import { LocalStorageService } from './local-storage.service'; -import { SupabaseService } from './supabase.service'; +import { LibGraphModule } from '../../shared-interproject/components/@visual/graph-view/lib-graph.module'; +import { AdminGuardService } from './admin-guard.service'; +import { AdminPanelRootComponent } from './admin-panel-root/admin-panel-root.component'; +import { LocalStorageService } from './local-storage.service'; +import { SupabaseService } from './supabase.service'; @NgModule({ declarations: [ diff --git a/src/app/features/backend/supabase.service.ts b/src/app/features/backend/supabase.service.ts index 702e2d2f..ca36abe2 100644 --- a/src/app/features/backend/supabase.service.ts +++ b/src/app/features/backend/supabase.service.ts @@ -1,18 +1,18 @@ -import {EventEmitter, Injectable} from '@angular/core'; -import {MatSnackBar} from '@angular/material/snack-bar'; -import {ActivatedRoute} from '@angular/router'; -import {createClient} from '@supabase/supabase-js'; -import {forkJoin, from as rxFrom, of, ReplaySubject, throwError, zip} from 'rxjs'; -import {map, switchMap, tap, withLatestFrom} from 'rxjs/operators'; -import {SharedConstants} from 'src/app/shared-interproject/SharedConstants'; -import {environment} from 'src/environments/environment'; -import {PatchConnection} from '../../models/connection'; -import {CV, CVwithModuleId} from '../../models/cv'; -import {DBManufacturer} from '../../models/manufacturer'; -import {DbModule, ModulePanel, RackedModule} from '../../models/module'; -import {Patch} from '../../models/patch'; -import {RackMinimal} from '../../models/rack'; -import {Tag} from '../../models/tag'; +import { EventEmitter, Injectable } from '@angular/core'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { ActivatedRoute } from '@angular/router'; +import { createClient } from '@supabase/supabase-js'; +import { forkJoin, from as rxFrom, of, ReplaySubject, throwError, zip } from 'rxjs'; +import { map, switchMap, tap, withLatestFrom } from 'rxjs/operators'; +import { SharedConstants } from 'src/app/shared-interproject/SharedConstants'; +import { environment } from 'src/environments/environment'; +import { PatchConnection } from '../../models/connection'; +import { CV, CVwithModuleId } from '../../models/cv'; +import { DBManufacturer } from '../../models/manufacturer'; +import { DbModule, ModulePanel, RackedModule } from '../../models/module'; +import { Patch } from '../../models/patch'; +import { RackMinimal } from '../../models/rack'; +import { Tag } from '../../models/tag'; export type SupabaseStorageFile = ArrayBuffer | ArrayBufferView | Blob | Buffer | File | FormData | ReadableStream | ReadableStream | URLSearchParams | string; diff --git a/src/app/features/backend/url-creator.service.ts b/src/app/features/backend/url-creator.service.ts index ca137b7d..dec09b11 100644 --- a/src/app/features/backend/url-creator.service.ts +++ b/src/app/features/backend/url-creator.service.ts @@ -1,7 +1,7 @@ import { PlatformLocation } from '@angular/common'; -import { Injectable } from '@angular/core'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { Router } from '@angular/router'; +import { Injectable } from '@angular/core'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { Router } from '@angular/router'; @Injectable() export class UrlCreatorService { diff --git a/src/app/features/info-pages/changelog/changelog.component.ts b/src/app/features/info-pages/changelog/changelog.component.ts index 73e38196..a9f4cfc8 100644 --- a/src/app/features/info-pages/changelog/changelog.component.ts +++ b/src/app/features/info-pages/changelog/changelog.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'app-changelog', diff --git a/src/app/features/info-pages/info-pages.module.ts b/src/app/features/info-pages/info-pages.module.ts index f215ce0d..19024db8 100644 --- a/src/app/features/info-pages/info-pages.module.ts +++ b/src/app/features/info-pages/info-pages.module.ts @@ -1,7 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { MarkdownModule } from 'ngx-markdown'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { RouterModule } from '@angular/router'; +import { MarkdownModule } from 'ngx-markdown'; import { ChangelogComponent } from './changelog/changelog.component'; @NgModule({ diff --git a/src/app/features/module-browser/module-browser-adder/module-adder-data.service.ts b/src/app/features/module-browser/module-browser-adder/module-adder-data.service.ts index d3cb03f1..9d8f1e04 100644 --- a/src/app/features/module-browser/module-browser-adder/module-adder-data.service.ts +++ b/src/app/features/module-browser/module-browser-adder/module-adder-data.service.ts @@ -1,38 +1,14 @@ -import { Injectable } from '@angular/core'; -import { - UntypedFormControl, - UntypedFormGroup, - Validators -} from '@angular/forms'; -import { MatDialog } from '@angular/material/dialog'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - BehaviorSubject, - merge, - of, - Subject -} from 'rxjs'; -import { - filter, - map, - share, - startWith, - switchMap, - tap -} from 'rxjs/operators'; -import { StandardsService } from '../../../components/format-translator/standards.service'; -import { MinimalModule } from '../../../models/module'; -import { - CustomValidators, - FormTypes, - getCleanedValueId -} from '../../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; -import { - ConfirmDialogComponent, - ConfirmDialogDataInModel, - ConfirmDialogDataOutModel -} from '../../../shared-interproject/dialogs/confirm-dialog/confirm-dialog.component'; -import { SupabaseService } from '../../backend/supabase.service'; +import { Injectable } from '@angular/core'; +import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatDialog } from '@angular/material/dialog'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { BehaviorSubject, merge, of, Subject } from 'rxjs'; +import { filter, map, share, startWith, switchMap, tap } from 'rxjs/operators'; +import { StandardsService } from 'src/app/components/format-translator/standards.service'; +import { MinimalModule } from 'src/app/models/module'; +import { CustomValidators, FormTypes, getCleanedValueId } from 'src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { ConfirmDialogComponent, ConfirmDialogDataInModel, ConfirmDialogDataOutModel } from 'src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.component'; +import { SupabaseService } from '../../backend/supabase.service'; @Injectable() export class ModuleAdderDataService { diff --git a/src/app/features/module-browser/module-browser-adder/module-browser-adder.component.ts b/src/app/features/module-browser/module-browser-adder/module-browser-adder.component.ts index 63a978ff..c772abfa 100644 --- a/src/app/features/module-browser/module-browser-adder/module-browser-adder.component.ts +++ b/src/app/features/module-browser/module-browser-adder/module-browser-adder.component.ts @@ -1,18 +1,10 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { SeoSocialShareData } from 'ngx-seo'; -import { Subject } from 'rxjs'; -import { FileDragHostService } from 'src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { SeoSocialShareData } from 'ngx-seo'; +import { Subject } from 'rxjs'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; +import { FileDragHostService } from 'src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; import { ModuleAdderDataService } from './module-adder-data.service'; @Component({ diff --git a/src/app/features/module-browser/module-browser-data.service.ts b/src/app/features/module-browser/module-browser-data.service.ts index 4b132681..12840e78 100644 --- a/src/app/features/module-browser/module-browser-data.service.ts +++ b/src/app/features/module-browser/module-browser-data.service.ts @@ -1,36 +1,13 @@ -import { - Injectable, - OnDestroy -} from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; -import { PageEvent } from '@angular/material/paginator'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - BehaviorSubject, - combineLatest, - of, - Subject -} from 'rxjs'; -import { - debounceTime, - distinctUntilChanged, - map, - share, - startWith, - switchMap, - takeUntil, - withLatestFrom -} from 'rxjs/operators'; -import { - DbModule, - MinimalModule -} from '../../models/module'; -import { - FormTypes, - getCleanedValueId -} from '../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { Injectable, OnDestroy } from '@angular/core'; +import { UntypedFormControl } from '@angular/forms'; +import { PageEvent } from '@angular/material/paginator'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { BehaviorSubject, combineLatest, of, Subject } from 'rxjs'; +import { debounceTime, distinctUntilChanged, map, share, startWith, switchMap, takeUntil, withLatestFrom } from 'rxjs/operators'; +import { DbModule, MinimalModule } from '../../models/module'; +import { FormTypes, getCleanedValueId } from '../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; import { UserManagementService } from '../backbone/login/user-management.service'; -import { SupabaseService } from '../backend/supabase.service'; +import { SupabaseService } from '../backend/supabase.service'; export type ModuleList = MinimalModule[] | null; diff --git a/src/app/features/module-browser/module-browser-detail/module-browser-detail.component.ts b/src/app/features/module-browser/module-browser-detail/module-browser-detail.component.ts index 8df3a201..87b4a545 100644 --- a/src/app/features/module-browser/module-browser-detail/module-browser-detail.component.ts +++ b/src/app/features/module-browser/module-browser-detail/module-browser-detail.component.ts @@ -1,23 +1,11 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { SeoSocialShareData } from 'ngx-seo'; -import { Subject } from 'rxjs'; -import { - filter, - map, - take -} from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { SeoSocialShareData } from 'ngx-seo'; +import { Subject } from 'rxjs'; +import { filter, map, take } from 'rxjs/operators'; import { ModuleDetailDataService } from 'src/app/components/module-parts/module-detail-data.service'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-module-browser-detail', diff --git a/src/app/features/module-browser/module-browser-root/module-browser-root.component.ts b/src/app/features/module-browser/module-browser-root/module-browser-root.component.ts index f2fd70f1..eb76b299 100644 --- a/src/app/features/module-browser/module-browser-root/module-browser-root.component.ts +++ b/src/app/features/module-browser/module-browser-root/module-browser-root.component.ts @@ -1,20 +1,10 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnDestroy, - OnInit, - ViewChild -} from '@angular/core'; -import { MatPaginator } from '@angular/material/paginator'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { Subject } from 'rxjs'; +import { takeUntil } from 'rxjs/operators'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; import { ModuleBrowserDataService } from 'src/app/features/module-browser/module-browser-data.service'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-module-browser-root', diff --git a/src/app/features/module-browser/module-browser.module.ts b/src/app/features/module-browser/module-browser.module.ts index 795e8a51..04b2a574 100644 --- a/src/app/features/module-browser/module-browser.module.ts +++ b/src/app/features/module-browser/module-browser.module.ts @@ -1,49 +1,49 @@ -import { DragDropModule } from '@angular/cdk/drag-drop'; -import { ScrollingModule } from '@angular/cdk/scrolling'; -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatChipsModule } from '@angular/material/chips'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatIconModule } from '@angular/material/icon'; -import { MatPaginatorModule } from '@angular/material/paginator'; -import { MatSnackBarModule } from '@angular/material/snack-bar'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { RouterModule } from '@angular/router'; -import { ModulePartsModule } from 'src/app/components/module-parts/module-parts.module'; -import { CommonSidebarComponent } from 'src/app/features/backbone/common-sidebar/common-sidebar.component'; -import { ModuleBrowserDataService } from 'src/app/features/module-browser/module-browser-data.service'; -import { ModuleBrowserDetailComponent } from 'src/app/features/module-browser/module-browser-detail/module-browser-detail.component'; -import { ModuleBrowserRootComponent } from 'src/app/features/module-browser/module-browser-root/module-browser-root.component'; -import { ModuleCompositeComponent } from 'src/app/features/module-browser/module-composite/module-composite.component'; -import { ModuleListComponent } from 'src/app/features/module-browser/module-list/module-list.component'; +import { DragDropModule } from '@angular/cdk/drag-drop'; +import { ScrollingModule } from '@angular/cdk/scrolling'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatChipsModule } from '@angular/material/chips'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatIconModule } from '@angular/material/icon'; +import { MatPaginatorModule } from '@angular/material/paginator'; +import { MatSnackBarModule } from '@angular/material/snack-bar'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterModule } from '@angular/router'; +import { ModulePartsModule } from 'src/app/components/module-parts/module-parts.module'; +import { CommonSidebarComponent } from 'src/app/features/backbone/common-sidebar/common-sidebar.component'; +import { ModuleBrowserDataService } from 'src/app/features/module-browser/module-browser-data.service'; +import { ModuleBrowserDetailComponent } from 'src/app/features/module-browser/module-browser-detail/module-browser-detail.component'; +import { ModuleBrowserRootComponent } from 'src/app/features/module-browser/module-browser-root/module-browser-root.component'; +import { ModuleCompositeComponent } from 'src/app/features/module-browser/module-composite/module-composite.component'; +import { ModuleListComponent } from 'src/app/features/module-browser/module-list/module-list.component'; import { AutoContentLoadingIndicatorModule } from 'src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module'; -import { DevOnlyWindowModule } from 'src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module'; -import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; -import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; -import { RestrictedEntityModule } from 'src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; -import { UserDataHandlerComponent } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component'; -import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { FlexboxRowFastModule } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { HeroInfoBoxModule } from 'src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; -import { HeroItemCardModule } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module'; -import { LabelValueShowcaseModule } from 'src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; -import { PageHeaderModule } from 'src/app/shared-interproject/components/@visual/page-header/page-header.module'; -import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { WidthLimiterModule } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module'; -import { generateUranusRoutes } from 'src/app/shared-interproject/routing-layouts/uranus/uranus.module'; -import { ModulePatchesModule } from '../../components/module-patches/module-patches.module'; -import { ModuleRacksModule } from '../../components/module-racks/module-racks.module'; -import { LocalDataFilterModule } from '../../components/shared-atoms/local-data-filter/local-data-filter.module'; -import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; -import { FileDragHostModule } from '../../shared-interproject/components/@smart/file-drag-host/file-drag-host.module'; -import { AdviceTooltipModule } from '../../shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module'; -import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; -import { ModuleBrowserAdderComponent } from './module-browser-adder/module-browser-adder.component'; +import { DevOnlyWindowModule } from 'src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { RestrictedEntityModule } from 'src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; +import { UserDataHandlerComponent } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component'; +import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { FlexboxRowFastModule } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module'; +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { HeroInfoBoxModule } from 'src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; +import { HeroItemCardModule } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module'; +import { LabelValueShowcaseModule } from 'src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; +import { PageHeaderModule } from 'src/app/shared-interproject/components/@visual/page-header/page-header.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { WidthLimiterModule } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module'; +import { generateUranusRoutes } from 'src/app/shared-interproject/routing-layouts/uranus/uranus.module'; +import { ModulePatchesModule } from '../../components/module-patches/module-patches.module'; +import { ModuleRacksModule } from '../../components/module-racks/module-racks.module'; +import { LocalDataFilterModule } from '../../components/shared-atoms/local-data-filter/local-data-filter.module'; +import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; +import { FileDragHostModule } from '../../shared-interproject/components/@smart/file-drag-host/file-drag-host.module'; +import { AdviceTooltipModule } from '../../shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module'; +import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; +import { ModuleBrowserAdderComponent } from './module-browser-adder/module-browser-adder.component'; const parentPrefix = 'modules'; diff --git a/src/app/features/module-browser/module-composite/module-composite.component.ts b/src/app/features/module-browser/module-composite/module-composite.component.ts index b3af4cdd..87689906 100644 --- a/src/app/features/module-browser/module-composite/module-composite.component.ts +++ b/src/app/features/module-browser/module-composite/module-composite.component.ts @@ -1,14 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { DbModule } from '../../../models/module'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; +import { DbModule } from 'src/app/models/module'; @Component({ selector: 'app-module-composite', diff --git a/src/app/features/module-browser/module-list/module-list.component.ts b/src/app/features/module-browser/module-list/module-list.component.ts index e1255198..7c35499c 100644 --- a/src/app/features/module-browser/module-list/module-list.component.ts +++ b/src/app/features/module-browser/module-list/module-list.component.ts @@ -1,30 +1,12 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { - fadeInOnEnterAnimation, - fadeOutOnLeaveAnimation -} from 'angular-animations'; -import { - BehaviorSubject, - combineLatest, - Observable -} from 'rxjs'; -import { - filter, - take -} from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { fadeInOnEnterAnimation, fadeOutOnLeaveAnimation } from 'angular-animations'; +import { BehaviorSubject, combineLatest, Observable } from 'rxjs'; +import { filter, take } from 'rxjs/operators'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; import { PatchDetailDataService } from 'src/app/components/patch-parts/patch-detail-data.service'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { LocalDataFilterService } from '../../../components/shared-atoms/local-data-filter/local-data-filter.service'; -import { SubManager } from '../../../shared-interproject/directives/subscription-manager'; -import { ModuleList } from '../module-browser-data.service'; +import { LocalDataFilterService } from 'src/app/components/shared-atoms/local-data-filter/local-data-filter.service'; +import { SubManager } from 'src/app/shared-interproject/directives/subscription-manager'; +import { ModuleList } from '../module-browser-data.service'; @Component({ selector: 'app-module-list', diff --git a/src/app/features/patch-browser/patch-browser-data.service.ts b/src/app/features/patch-browser/patch-browser-data.service.ts index 155d5fb7..8b45c3fc 100644 --- a/src/app/features/patch-browser/patch-browser-data.service.ts +++ b/src/app/features/patch-browser/patch-browser-data.service.ts @@ -1,28 +1,13 @@ -import { - Injectable, - OnDestroy -} from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; -import { PageEvent } from '@angular/material/paginator'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - BehaviorSubject, - combineLatest, - of, - Subject -} from 'rxjs'; -import { - debounceTime, - distinctUntilChanged, - startWith, - switchMap, - takeUntil, - withLatestFrom -} from 'rxjs/operators'; -import { PatchMinimal } from '../../models/patch'; -import { FormTypes } from '../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { Injectable, OnDestroy } from '@angular/core'; +import { UntypedFormControl } from '@angular/forms'; +import { PageEvent } from '@angular/material/paginator'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { BehaviorSubject, combineLatest, of, Subject } from 'rxjs'; +import { debounceTime, distinctUntilChanged, startWith, switchMap, takeUntil, withLatestFrom } from 'rxjs/operators'; +import { PatchMinimal } from '../../models/patch'; +import { FormTypes } from '../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; import { UserManagementService } from '../backbone/login/user-management.service'; -import { SupabaseService } from '../backend/supabase.service'; +import { SupabaseService } from '../backend/supabase.service'; export type PatchList = PatchMinimal[] | null; diff --git a/src/app/features/patch-browser/patch-browser-detail-view/patch-browser-detail-view.component.ts b/src/app/features/patch-browser/patch-browser-detail-view/patch-browser-detail-view.component.ts index dec5dfdc..88c0e019 100644 --- a/src/app/features/patch-browser/patch-browser-detail-view/patch-browser-detail-view.component.ts +++ b/src/app/features/patch-browser/patch-browser-detail-view/patch-browser-detail-view.component.ts @@ -1,27 +1,12 @@ -import { - Component, - Input, - OnDestroy, - OnInit -} from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { SeoSocialShareData } from 'ngx-seo'; -import { - combineLatest, - Subject -} from 'rxjs'; -import { - filter, - map, - take -} from 'rxjs/operators'; +import { Component, Input, OnDestroy, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { SeoSocialShareData } from 'ngx-seo'; +import { combineLatest, Subject } from 'rxjs'; +import { filter, map, take } from 'rxjs/operators'; import { PatchDetailDataService } from 'src/app/components/patch-parts/patch-detail-data.service'; -import { - defaultPatchMinimalViewConfig, - PatchMinimalViewConfig -} from '../../../components/patch-parts/patch-minimal/patch-minimal.component'; -import { SubManager } from '../../../shared-interproject/directives/subscription-manager'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { defaultPatchMinimalViewConfig, PatchMinimalViewConfig } from 'src/app/components/patch-parts/patch-minimal/patch-minimal.component'; +import { SubManager } from 'src/app/shared-interproject/directives/subscription-manager'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-patch-browser-patch-detail-view-root', diff --git a/src/app/features/patch-browser/patch-browser-root/patch-browser-root.component.ts b/src/app/features/patch-browser/patch-browser-root/patch-browser-root.component.ts index a2273080..3ae29da2 100644 --- a/src/app/features/patch-browser/patch-browser-root/patch-browser-root.component.ts +++ b/src/app/features/patch-browser/patch-browser-root/patch-browser-root.component.ts @@ -1,19 +1,10 @@ -import { - ChangeDetectionStrategy, - Component, - OnDestroy, - OnInit, - ViewChild -} from '@angular/core'; -import { MatPaginator } from '@angular/material/paginator'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, ViewChild } from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { Subject } from 'rxjs'; +import { takeUntil } from 'rxjs/operators'; +import { defaultPatchMinimalViewConfig, PatchMinimalViewConfig } from 'src/app/components/patch-parts/patch-minimal/patch-minimal.component'; import { PatchBrowserDataService } from 'src/app/features/patch-browser/patch-browser-data.service'; -import { - defaultPatchMinimalViewConfig, - PatchMinimalViewConfig -} from '../../../components/patch-parts/patch-minimal/patch-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-patch-browser-root', diff --git a/src/app/features/patch-browser/patch-browser.module.ts b/src/app/features/patch-browser/patch-browser.module.ts index 3c61541c..dad7d503 100644 --- a/src/app/features/patch-browser/patch-browser.module.ts +++ b/src/app/features/patch-browser/patch-browser.module.ts @@ -1,45 +1,45 @@ -import { DragDropModule } from '@angular/cdk/drag-drop'; -import { ScrollingModule } from '@angular/cdk/scrolling'; -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatChipsModule } from '@angular/material/chips'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatIconModule } from '@angular/material/icon'; -import { MatPaginatorModule } from '@angular/material/paginator'; -import { MatSnackBarModule } from '@angular/material/snack-bar'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { RouterModule } from '@angular/router'; -import { ModulePartsModule } from 'src/app/components/module-parts/module-parts.module'; -import { PatchModule } from 'src/app/components/patch-parts/patch.module'; -import { CommonSidebarComponent } from 'src/app/features/backbone/common-sidebar/common-sidebar.component'; -import { PatchBrowserDataService } from 'src/app/features/patch-browser/patch-browser-data.service'; -import { PatchBrowserDetailViewComponent } from 'src/app/features/patch-browser/patch-browser-detail-view/patch-browser-detail-view.component'; -import { PatchBrowserRootComponent } from 'src/app/features/patch-browser/patch-browser-root/patch-browser-root.component'; -import { PatchCompositeComponent } from 'src/app/features/patch-browser/patch-composite/patch-composite.component'; +import { DragDropModule } from '@angular/cdk/drag-drop'; +import { ScrollingModule } from '@angular/cdk/scrolling'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatChipsModule } from '@angular/material/chips'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatIconModule } from '@angular/material/icon'; +import { MatPaginatorModule } from '@angular/material/paginator'; +import { MatSnackBarModule } from '@angular/material/snack-bar'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterModule } from '@angular/router'; +import { ModulePartsModule } from 'src/app/components/module-parts/module-parts.module'; +import { PatchModule } from 'src/app/components/patch-parts/patch.module'; +import { CommonSidebarComponent } from 'src/app/features/backbone/common-sidebar/common-sidebar.component'; +import { PatchBrowserDataService } from 'src/app/features/patch-browser/patch-browser-data.service'; +import { PatchBrowserDetailViewComponent } from 'src/app/features/patch-browser/patch-browser-detail-view/patch-browser-detail-view.component'; +import { PatchBrowserRootComponent } from 'src/app/features/patch-browser/patch-browser-root/patch-browser-root.component'; +import { PatchCompositeComponent } from 'src/app/features/patch-browser/patch-composite/patch-composite.component'; import { AutoContentLoadingIndicatorModule } from 'src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module'; -import { DevOnlyWindowModule } from 'src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module'; -import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; -import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; -import { RestrictedEntityModule } from 'src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; +import { DevOnlyWindowModule } from 'src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { RestrictedEntityModule } from 'src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; import { UserDataHandlerComponent } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component'; import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { FlexboxRowFastModule } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { HeroInfoBoxModule } from 'src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; -import { HeroItemCardModule } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module'; +import { FlexboxRowFastModule } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module'; +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { HeroInfoBoxModule } from 'src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; +import { HeroItemCardModule } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module'; import { LabelValueShowcaseModule } from 'src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; -import { PageHeaderModule } from 'src/app/shared-interproject/components/@visual/page-header/page-header.module'; -import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { WidthLimiterModule } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module'; -import { generateUranusRoutes } from 'src/app/shared-interproject/routing-layouts/uranus/uranus.module'; -import { PatchListModule } from '../../components/patch-list/patch-list.module'; -import { CommentsModule } from '../../components/shared-atoms/comments/comments.module'; -import { LocalDataFilterModule } from '../../components/shared-atoms/local-data-filter/local-data-filter.module'; -import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; +import { PageHeaderModule } from 'src/app/shared-interproject/components/@visual/page-header/page-header.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { WidthLimiterModule } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module'; +import { generateUranusRoutes } from 'src/app/shared-interproject/routing-layouts/uranus/uranus.module'; +import { PatchListModule } from '../../components/patch-list/patch-list.module'; +import { CommentsModule } from '../../components/shared-atoms/comments/comments.module'; +import { LocalDataFilterModule } from '../../components/shared-atoms/local-data-filter/local-data-filter.module'; +import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; const parentPrefix = 'patches'; diff --git a/src/app/features/patch-browser/patch-composite/patch-composite.component.ts b/src/app/features/patch-browser/patch-composite/patch-composite.component.ts index 90ff27b6..70c5a624 100644 --- a/src/app/features/patch-browser/patch-composite/patch-composite.component.ts +++ b/src/app/features/patch-browser/patch-composite/patch-composite.component.ts @@ -1,16 +1,8 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { PatchDetailDataService } from '../../../components/patch-parts/patch-detail-data.service'; -import { - defaultPatchMinimalViewConfig, - PatchMinimalViewConfig -} from '../../../components/patch-parts/patch-minimal/patch-minimal.component'; -import { Patch } from '../../../models/patch'; -import { AppStateService } from '../../../shared-interproject/app-state.service'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { PatchDetailDataService } from 'src/app/components/patch-parts/patch-detail-data.service'; +import { defaultPatchMinimalViewConfig, PatchMinimalViewConfig } from 'src/app/components/patch-parts/patch-minimal/patch-minimal.component'; +import { Patch } from 'src/app/models/patch'; +import { AppStateService } from 'src/app/shared-interproject/app-state.service'; @Component({ selector: 'app-patch-composite', diff --git a/src/app/features/rack-browser/rack-browser-data.service.ts b/src/app/features/rack-browser/rack-browser-data.service.ts index c0162a15..130e2330 100644 --- a/src/app/features/rack-browser/rack-browser-data.service.ts +++ b/src/app/features/rack-browser/rack-browser-data.service.ts @@ -1,28 +1,13 @@ -import { - Injectable, - OnDestroy -} from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; -import { PageEvent } from '@angular/material/paginator'; -import { MatSnackBar } from '@angular/material/snack-bar'; -import { - BehaviorSubject, - combineLatest, - of, - Subject -} from 'rxjs'; -import { - debounceTime, - distinctUntilChanged, - startWith, - switchMap, - takeUntil, - withLatestFrom -} from 'rxjs/operators'; -import { RackMinimal } from '../../models/rack'; -import { FormTypes } from '../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; +import { Injectable, OnDestroy } from '@angular/core'; +import { UntypedFormControl } from '@angular/forms'; +import { PageEvent } from '@angular/material/paginator'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { BehaviorSubject, combineLatest, of, Subject } from 'rxjs'; +import { debounceTime, distinctUntilChanged, startWith, switchMap, takeUntil, withLatestFrom } from 'rxjs/operators'; +import { RackMinimal } from '../../models/rack'; +import { FormTypes } from '../../shared-interproject/components/@smart/mat-form-entity/form-element-models'; import { UserManagementService } from '../backbone/login/user-management.service'; -import { SupabaseService } from '../backend/supabase.service'; +import { SupabaseService } from '../backend/supabase.service'; export type RackList = RackMinimal[] | null; diff --git a/src/app/features/rack-browser/rack-browser-detail-view/rack-browser-detail-view.component.ts b/src/app/features/rack-browser/rack-browser-detail-view/rack-browser-detail-view.component.ts index 97e4fc12..7619599b 100644 --- a/src/app/features/rack-browser/rack-browser-detail-view/rack-browser-detail-view.component.ts +++ b/src/app/features/rack-browser/rack-browser-detail-view/rack-browser-detail-view.component.ts @@ -1,25 +1,11 @@ -import { - Component, - Input, - OnInit -} from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { SeoSocialShareData } from 'ngx-seo'; -import { - combineLatest, - Subject -} from 'rxjs'; -import { - filter, - map, - take -} from 'rxjs/operators'; +import { Component, Input, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { SeoSocialShareData } from 'ngx-seo'; +import { combineLatest, Subject } from 'rxjs'; +import { filter, map, take } from 'rxjs/operators'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; import { RackDetailDataService } from 'src/app/components/rack-parts/rack-detail-data.service'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-rack-browser-rack-detail-view-root', diff --git a/src/app/features/rack-browser/rack-browser-root/rack-browser-root.component.ts b/src/app/features/rack-browser/rack-browser-root/rack-browser-root.component.ts index 3044d6de..d01489c0 100644 --- a/src/app/features/rack-browser/rack-browser-root/rack-browser-root.component.ts +++ b/src/app/features/rack-browser/rack-browser-root/rack-browser-root.component.ts @@ -1,19 +1,10 @@ -import { - ChangeDetectionStrategy, - Component, - OnDestroy, - OnInit, - ViewChild -} from '@angular/core'; -import { MatPaginator } from '@angular/material/paginator'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, ViewChild } from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { Subject } from 'rxjs'; +import { takeUntil } from 'rxjs/operators'; +import { defaultRackMinimalViewConfig, RackMinimalViewConfig } from 'src/app/components/rack-parts/rack-minimal/rack-minimal.component'; import { RackBrowserDataService } from 'src/app/features/rack-browser/rack-browser-data.service'; -import { - defaultRackMinimalViewConfig, - RackMinimalViewConfig -} from '../../../components/rack-parts/rack-minimal/rack-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-rack-browser-root', diff --git a/src/app/features/rack-browser/rack-browser.module.ts b/src/app/features/rack-browser/rack-browser.module.ts index de4363f0..64f4e716 100644 --- a/src/app/features/rack-browser/rack-browser.module.ts +++ b/src/app/features/rack-browser/rack-browser.module.ts @@ -1,47 +1,46 @@ -import { DragDropModule } from '@angular/cdk/drag-drop'; -import { ScrollingModule } from '@angular/cdk/scrolling'; -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatChipsModule } from '@angular/material/chips'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatIconModule } from '@angular/material/icon'; -import { MatPaginatorModule } from '@angular/material/paginator'; -import { MatSnackBarModule } from '@angular/material/snack-bar'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { RouterModule } from '@angular/router'; -import { ModulePartsModule } from 'src/app/components/module-parts/module-parts.module'; -import { RackModule } from 'src/app/components/rack-parts/rack.module'; -import { CommonSidebarComponent } from 'src/app/features/backbone/common-sidebar/common-sidebar.component'; -import { RackBrowserDataService } from 'src/app/features/rack-browser/rack-browser-data.service'; -import { RackBrowserDetailViewComponent } from 'src/app/features/rack-browser/rack-browser-detail-view/rack-browser-detail-view.component'; -import { RackBrowserRootComponent } from 'src/app/features/rack-browser/rack-browser-root/rack-browser-root.component'; -import { RackCompositeComponent } from 'src/app/features/rack-browser/rack-composite/rack-composite.component'; +import { DragDropModule } from '@angular/cdk/drag-drop'; +import { ScrollingModule } from '@angular/cdk/scrolling'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatChipsModule } from '@angular/material/chips'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatIconModule } from '@angular/material/icon'; +import { MatPaginatorModule } from '@angular/material/paginator'; +import { MatSnackBarModule } from '@angular/material/snack-bar'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterModule } from '@angular/router'; +import { ModulePartsModule } from 'src/app/components/module-parts/module-parts.module'; +import { RackModule } from 'src/app/components/rack-parts/rack.module'; +import { CommonSidebarComponent } from 'src/app/features/backbone/common-sidebar/common-sidebar.component'; +import { RackBrowserDataService } from 'src/app/features/rack-browser/rack-browser-data.service'; +import { RackBrowserDetailViewComponent } from 'src/app/features/rack-browser/rack-browser-detail-view/rack-browser-detail-view.component'; +import { RackBrowserRootComponent } from 'src/app/features/rack-browser/rack-browser-root/rack-browser-root.component'; +import { RackCompositeComponent } from 'src/app/features/rack-browser/rack-composite/rack-composite.component'; import { AutoContentLoadingIndicatorModule } from 'src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module'; -import { DevOnlyWindowModule } from 'src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module'; -import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; -import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; -import { RestrictedEntityModule } from 'src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; -import { UserDataHandlerComponent } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component'; -import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { FlexboxRowFastModule } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { HeroInfoBoxModule } from 'src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; -import { HeroItemCardModule } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module'; -import { LabelValueShowcaseModule } from 'src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; -import { PageHeaderModule } from 'src/app/shared-interproject/components/@visual/page-header/page-header.module'; -import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { WidthLimiterModule } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module'; -import { generateUranusRoutes } from 'src/app/shared-interproject/routing-layouts/uranus/uranus.module'; -import { RackListModule } from '../../components/rack-list/rack-list.module'; -import { LocalDataFilterModule } from '../../components/shared-atoms/local-data-filter/local-data-filter.module'; -import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; -import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; -import { ModuleBrowserModule } from '../module-browser/module-browser.module'; - +import { DevOnlyWindowModule } from 'src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module'; +import { EmptyStateModule } from 'src/app/shared-interproject/components/@smart/empty-state/empty-state.module'; +import { MatFormEntityModule } from 'src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module'; +import { RestrictedEntityModule } from 'src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module'; +import { UserDataHandlerComponent } from 'src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component'; +import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { FlexboxRowFastModule } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module'; +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { HeroInfoBoxModule } from 'src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module'; +import { HeroItemCardModule } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module'; +import { LabelValueShowcaseModule } from 'src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; +import { PageHeaderModule } from 'src/app/shared-interproject/components/@visual/page-header/page-header.module'; +import { ScreenWrapperModule } from 'src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { WidthLimiterModule } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module'; +import { generateUranusRoutes } from 'src/app/shared-interproject/routing-layouts/uranus/uranus.module'; +import { RackListModule } from '../../components/rack-list/rack-list.module'; +import { LocalDataFilterModule } from '../../components/shared-atoms/local-data-filter/local-data-filter.module'; +import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; +import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; +import { ModuleBrowserModule } from '../module-browser/module-browser.module'; const parentPrefix: string = 'racks'; diff --git a/src/app/features/rack-browser/rack-composite/rack-composite.component.ts b/src/app/features/rack-browser/rack-composite/rack-composite.component.ts index 710e92b8..8a5e8bed 100644 --- a/src/app/features/rack-browser/rack-composite/rack-composite.component.ts +++ b/src/app/features/rack-browser/rack-composite/rack-composite.component.ts @@ -1,10 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { Rack } from '../../../models/rack'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { Rack } from 'src/app/models/rack'; @Component({ selector: 'app-rack-composite', diff --git a/src/app/features/user-area/user-area-data.service.ts b/src/app/features/user-area/user-area-data.service.ts index b73d3721..b6ddb76b 100644 --- a/src/app/features/user-area/user-area-data.service.ts +++ b/src/app/features/user-area/user-area-data.service.ts @@ -1,25 +1,13 @@ -import { Injectable } from '@angular/core'; -import { MatDialog } from '@angular/material/dialog'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; -import { - switchMap, - tap -} from 'rxjs/operators'; -import { - PatchCreatorComponent, - PatchCreatorInModel -} from '../../components/patch-parts/patch-creator/patch-creator.component'; -import { - RackCreatorComponent, - RackCreatorInModel -} from '../../components/rack-parts/rack-creator/rack-creator.component'; -import { MinimalModule } from '../../models/module'; -import { Patch } from '../../models/patch'; -import { Rack } from '../../models/rack'; -import { SubManager } from '../../shared-interproject/directives/subscription-manager'; +import { Injectable } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; +import { BehaviorSubject, Subject } from 'rxjs'; +import { switchMap, tap } from 'rxjs/operators'; +import { PatchCreatorComponent, PatchCreatorInModel } from '../../components/patch-parts/patch-creator/patch-creator.component'; +import { RackCreatorComponent, RackCreatorInModel } from '../../components/rack-parts/rack-creator/rack-creator.component'; +import { MinimalModule } from '../../models/module'; +import { Patch } from '../../models/patch'; +import { Rack } from '../../models/rack'; +import { SubManager } from '../../shared-interproject/directives/subscription-manager'; import { SupabaseService } from '../backend/supabase.service'; @Injectable() diff --git a/src/app/features/user-area/user-area-root/user-area-root.component.ts b/src/app/features/user-area/user-area-root/user-area-root.component.ts index 97b978ce..fd68777b 100644 --- a/src/app/features/user-area/user-area-root/user-area-root.component.ts +++ b/src/app/features/user-area/user-area-root/user-area-root.component.ts @@ -1,16 +1,8 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { defaultModuleMinimalViewConfig, ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; import { UserManagementService } from 'src/app/features/backbone/login/user-management.service'; -import { SupabaseService } from 'src/app/features/backend/supabase.service'; -import { - defaultModuleMinimalViewConfig, - ModuleMinimalViewConfig -} from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; +import { SupabaseService } from 'src/app/features/backend/supabase.service'; +import { SeoAndUtilsService } from '../../backbone/seo-and-utils.service'; @Component({ selector: 'app-user-area-root', diff --git a/src/app/features/user-area/user-area.module.ts b/src/app/features/user-area/user-area.module.ts index f10a9276..fb8af7de 100644 --- a/src/app/features/user-area/user-area.module.ts +++ b/src/app/features/user-area/user-area.module.ts @@ -1,29 +1,28 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatExpansionModule } from '@angular/material/expansion'; -import { MatIconModule } from '@angular/material/icon'; -import { RouterModule } from '@angular/router'; -import { PatchBrowserModule } from 'src/app/features/patch-browser/patch-browser.module'; -import { RackBrowserModule } from 'src/app/features/rack-browser/rack-browser.module'; -import { UserModulesModule } from 'src/app/features/user-area/user-modules/user-modules.module'; -import { UserPatchesComponent } from 'src/app/features/user-area/user-patches/user-patches.component'; -import { UserRacksComponent } from 'src/app/features/user-area/user-racks/user-racks.component'; -import { PatchListModule } from '../../components/patch-list/patch-list.module'; -import { RackListModule } from '../../components/rack-list/rack-list.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatExpansionModule } from '@angular/material/expansion'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterModule } from '@angular/router'; +import { PatchBrowserModule } from 'src/app/features/patch-browser/patch-browser.module'; +import { RackBrowserModule } from 'src/app/features/rack-browser/rack-browser.module'; +import { UserModulesModule } from 'src/app/features/user-area/user-modules/user-modules.module'; +import { UserPatchesComponent } from 'src/app/features/user-area/user-patches/user-patches.component'; +import { UserRacksComponent } from 'src/app/features/user-area/user-racks/user-racks.component'; +import { PatchListModule } from '../../components/patch-list/patch-list.module'; +import { RackListModule } from '../../components/rack-list/rack-list.module'; import { AutoUpdateLoadingIndicatorModule } from '../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; -import { EmptyStateModule } from '../../shared-interproject/components/@smart/empty-state/empty-state.module'; -import { BrandPrimaryButtonModule } from '../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; -import { HeroContentCardModule } from '../../shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { LabelValueShowcaseModule } from '../../shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; -import { ScreenWrapperModule } from '../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; -import { ModuleBrowserModule } from '../module-browser/module-browser.module'; -import { UserAreaDataService } from './user-area-data.service'; -import { UserAreaRootComponent } from './user-area-root/user-area-root.component'; - +import { EmptyStateModule } from '../../shared-interproject/components/@smart/empty-state/empty-state.module'; +import { BrandPrimaryButtonModule } from '../../shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { CleanCardModule } from '../../shared-interproject/components/@visual/clean-card/clean-card.module'; +import { HeroContentCardModule } from '../../shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; +import { LabelValueShowcaseModule } from '../../shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module'; +import { ScreenWrapperModule } from '../../shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module'; +import { ModuleBrowserModule } from '../module-browser/module-browser.module'; +import { UserAreaDataService } from './user-area-data.service'; +import { UserAreaRootComponent } from './user-area-root/user-area-root.component'; @NgModule({ declarations: [ diff --git a/src/app/features/user-area/user-modules/user-modules.component.ts b/src/app/features/user-area/user-modules/user-modules.component.ts index 7a0ac531..5dd703ac 100644 --- a/src/app/features/user-area/user-modules/user-modules.component.ts +++ b/src/app/features/user-area/user-modules/user-modules.component.ts @@ -1,12 +1,8 @@ -import { - ChangeDetectionStrategy, - Component, - Input -} from '@angular/core'; -import { SupabaseService } from 'src/app/features/backend/supabase.service'; -import { ModuleMinimalViewConfig } from '../../../components/module-parts/module-minimal/module-minimal.component'; -import { SubManager } from '../../../shared-interproject/directives/subscription-manager'; -import { UserAreaDataService } from '../user-area-data.service'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; +import { ModuleMinimalViewConfig } from 'src/app/components/module-parts/module-minimal/module-minimal.component'; +import { SupabaseService } from 'src/app/features/backend/supabase.service'; +import { SubManager } from 'src/app/shared-interproject/directives/subscription-manager'; +import { UserAreaDataService } from '../user-area-data.service'; export interface UserModulesComponentViewConfig { hideAddModulesButton: boolean; diff --git a/src/app/features/user-area/user-modules/user-modules.module.ts b/src/app/features/user-area/user-modules/user-modules.module.ts index f0b506bf..cfa900eb 100644 --- a/src/app/features/user-area/user-modules/user-modules.module.ts +++ b/src/app/features/user-area/user-modules/user-modules.module.ts @@ -1,14 +1,13 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatDividerModule } from '@angular/material/divider'; -import { ModuleBrowserModule } from 'src/app/features/module-browser/module-browser.module'; -import { UserModulesComponent } from 'src/app/features/user-area/user-modules/user-modules.component'; -import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; -import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; -import { AutoUpdateLoadingIndicatorModule } from '../../../shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; - +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatDividerModule } from '@angular/material/divider'; +import { ModuleBrowserModule } from 'src/app/features/module-browser/module-browser.module'; +import { UserModulesComponent } from 'src/app/features/user-area/user-modules/user-modules.component'; +import { AutoUpdateLoadingIndicatorModule } from 'src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module'; +import { BrandPrimaryButtonModule } from 'src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module'; +import { HeroContentCardModule } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module'; @NgModule({ declarations: [ diff --git a/src/app/features/user-area/user-patches/user-patches.component.ts b/src/app/features/user-area/user-patches/user-patches.component.ts index 25deaa92..e8de3d08 100644 --- a/src/app/features/user-area/user-patches/user-patches.component.ts +++ b/src/app/features/user-area/user-patches/user-patches.component.ts @@ -1,9 +1,6 @@ -import { - ChangeDetectionStrategy, - Component -} from '@angular/core'; -import { MatDialog } from '@angular/material/dialog'; -import { SupabaseService } from 'src/app/features/backend/supabase.service'; +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; +import { SupabaseService } from 'src/app/features/backend/supabase.service'; import { UserAreaDataService } from '../user-area-data.service'; @Component({ diff --git a/src/app/features/user-area/user-racks/user-racks.component.ts b/src/app/features/user-area/user-racks/user-racks.component.ts index 25764653..13db7c0c 100644 --- a/src/app/features/user-area/user-racks/user-racks.component.ts +++ b/src/app/features/user-area/user-racks/user-racks.component.ts @@ -1,13 +1,7 @@ -import { - ChangeDetectionStrategy, - Component -} from '@angular/core'; -import { MatDialog } from '@angular/material/dialog'; -import { SupabaseService } from 'src/app/features/backend/supabase.service'; -import { - defaultRackMinimalViewConfig, - RackMinimalViewConfig -} from '../../../components/rack-parts/rack-minimal/rack-minimal.component'; +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; +import { defaultRackMinimalViewConfig, RackMinimalViewConfig } from 'src/app/components/rack-parts/rack-minimal/rack-minimal.component'; +import { SupabaseService } from 'src/app/features/backend/supabase.service'; import { UserAreaDataService } from '../user-area-data.service'; @Component({ diff --git a/src/app/models/connection.ts b/src/app/models/connection.ts index 162c1f8a..ae318dfe 100644 --- a/src/app/models/connection.ts +++ b/src/app/models/connection.ts @@ -1,9 +1,6 @@ -import { - CV, - CVwithModule -} from './cv'; +import { CV, CVwithModule } from './cv'; import { DbModule } from './module'; -import { Patch } from './patch'; +import { Patch } from './patch'; export interface Connection { from: DbModule; diff --git a/src/app/models/module.ts b/src/app/models/module.ts index 1319846d..94f861d5 100644 --- a/src/app/models/module.ts +++ b/src/app/models/module.ts @@ -1,13 +1,10 @@ -import { CV } from './cv'; -import { - Manufacturer, - MinimalManufacturer -} from './manufacturer'; +import { CV } from './cv'; +import { Manufacturer, MinimalManufacturer } from './manufacturer'; import { Timestamped } from './models'; import { RackingData } from './rack'; -import { Standard } from './standard'; -import { Switch } from './switch'; -import { Tag } from './tag'; +import { Standard } from './standard'; +import { Switch } from './switch'; +import { Tag } from './tag'; export interface Module { name: string; diff --git a/src/app/models/patch.ts b/src/app/models/patch.ts index 89072e37..826a1f65 100644 --- a/src/app/models/patch.ts +++ b/src/app/models/patch.ts @@ -1,5 +1,5 @@ import { Timestamped } from './models'; -import { PublicUser } from './user'; +import { PublicUser } from './user'; export interface Patch extends PatchMinimal { } diff --git a/src/app/models/rack.ts b/src/app/models/rack.ts index 8e573987..9d8026a3 100644 --- a/src/app/models/rack.ts +++ b/src/app/models/rack.ts @@ -1,5 +1,5 @@ import { Timestamped } from './models'; -import { PublicUser } from './user'; +import { PublicUser } from './user'; export interface RackingData { id: number; @@ -26,4 +26,4 @@ export interface RackMinimal extends Timestamped { rows: number; author: PublicUser; locked: boolean; -} \ No newline at end of file +} diff --git a/src/app/services/routing.service.ts b/src/app/services/routing.service.ts index 7c0afc19..cba32cb3 100644 --- a/src/app/services/routing.service.ts +++ b/src/app/services/routing.service.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; +import { Router } from '@angular/router'; @Injectable({ providedIn: 'root' diff --git a/src/app/shared-interproject/SharedConstants.ts b/src/app/shared-interproject/SharedConstants.ts index a852035b..4b209b96 100644 --- a/src/app/shared-interproject/SharedConstants.ts +++ b/src/app/shared-interproject/SharedConstants.ts @@ -1,9 +1,6 @@ import { MatSnackBar } from '@angular/material/snack-bar'; -import { - EMPTY, - Observable -} from 'rxjs'; -import { catchError } from 'rxjs/operators'; +import { EMPTY, Observable } from 'rxjs'; +import { catchError } from 'rxjs/operators'; export class SharedConstants { diff --git a/src/app/shared-interproject/app-state.service.ts b/src/app/shared-interproject/app-state.service.ts index 80e00249..2a1ce2ff 100644 --- a/src/app/shared-interproject/app-state.service.ts +++ b/src/app/shared-interproject/app-state.service.ts @@ -1,18 +1,10 @@ -import { Injectable } from '@angular/core'; -import { MediaObserver } from '@angular/flex-layout'; +import { Injectable } from '@angular/core'; +import { MediaObserver } from '@angular/flex-layout'; import { UntypedFormControl } from '@angular/forms'; -import { - ReplaySubject, - Subject -} from 'rxjs'; -import { - debounceTime, - map, - startWith, - takeUntil -} from 'rxjs/operators'; -import { environment } from '../../environments/environment'; -import { AppFormUtils } from './app-form-utils'; +import { ReplaySubject, Subject } from 'rxjs'; +import { debounceTime, map, startWith, takeUntil } from 'rxjs/operators'; +import { environment } from 'src/environments/environment'; +import { AppFormUtils } from './app-form-utils'; @Injectable() export class AppStateService { diff --git a/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module.ts b/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module.ts index 21445a3d..44601d85 100644 --- a/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module.ts +++ b/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator.module.ts @@ -1,12 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { LottieContainerModule } from '../lottie-container/lottie-container.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { LottieContainerModule } from '../lottie-container/lottie-container.module'; import { AutoContentLoadingIndicatorComponent } from './auto-content-loading-indicator/auto-content-loading-indicator.component'; - @NgModule({ declarations: [ AutoContentLoadingIndicatorComponent diff --git a/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator/auto-content-loading-indicator.component.ts b/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator/auto-content-loading-indicator.component.ts index 2f60946f..da1fa356 100644 --- a/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator/auto-content-loading-indicator.component.ts +++ b/src/app/shared-interproject/components/@smart/auto-content-loading-indicator/auto-content-loading-indicator/auto-content-loading-indicator.component.ts @@ -1,24 +1,7 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnDestroy, - OnInit, - ViewEncapsulation -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; import { fadeInOnEnterAnimation } from 'angular-animations'; -import { - BehaviorSubject, - merge, - Observable, - Subject -} from 'rxjs'; -import { - filter, - mapTo, - skip, - takeUntil -} from 'rxjs/operators'; +import { BehaviorSubject, merge, Observable, Subject } from 'rxjs'; +import { filter, mapTo, skip, takeUntil } from 'rxjs/operators'; @Component({ selector: 'lib-auto-content-loading-indicator', diff --git a/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module.ts b/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module.ts index 1d556c0a..660da2b5 100644 --- a/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module.ts +++ b/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator.module.ts @@ -1,12 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { LottieContainerModule } from '../lottie-container/lottie-container.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { LottieContainerModule } from '../lottie-container/lottie-container.module'; import { AutoUpdateLoadingIndicatorComponent } from './auto-update-loading-indicator/auto-update-loading-indicator.component'; - @NgModule({ declarations: [ AutoUpdateLoadingIndicatorComponent diff --git a/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator/auto-update-loading-indicator.component.ts b/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator/auto-update-loading-indicator.component.ts index 24733c42..b3ec3f89 100644 --- a/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator/auto-update-loading-indicator.component.ts +++ b/src/app/shared-interproject/components/@smart/auto-update-loading-indicator/auto-update-loading-indicator/auto-update-loading-indicator.component.ts @@ -1,22 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnDestroy, - OnInit -} from '@angular/core'; -import { - BehaviorSubject, - merge, - Observable, - Subject -} from 'rxjs'; -import { - filter, - mapTo, - skip, - takeUntil -} from 'rxjs/operators'; +import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit } from '@angular/core'; +import { BehaviorSubject, merge, Observable, Subject } from 'rxjs'; +import { filter, mapTo, skip, takeUntil } from 'rxjs/operators'; @Component({ selector: 'lib-auto-update-loading-indicator', diff --git a/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.component.ts b/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.component.ts index 3050d8de..344992bb 100644 --- a/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.component.ts +++ b/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.component.ts @@ -1,19 +1,7 @@ -import { - Component, - forwardRef, - Input, - OnDestroy, - OnInit -} from '@angular/core'; -import { - ControlValueAccessor, - FormBuilder, - FormControl, - FormGroup, - NG_VALUE_ACCESSOR -} from '@angular/forms'; +import { Component, forwardRef, Input, OnDestroy, OnInit } from '@angular/core'; +import { ControlValueAccessor, FormBuilder, FormControl, FormGroup, NG_VALUE_ACCESSOR } from '@angular/forms'; import { Subscription } from 'rxjs'; -import { map } from 'rxjs/operators'; +import { map } from 'rxjs/operators'; @Component({ selector: 'lib-days-in-week-picker', diff --git a/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.module.ts b/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.module.ts index 549c60c5..406b3f3a 100644 --- a/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.module.ts +++ b/src/app/shared-interproject/components/@smart/days-in-week-picker/days-in-week-picker.module.ts @@ -1,9 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { ReactiveFormsModule } from '@angular/forms'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { ReactiveFormsModule } from '@angular/forms'; import { DaysInWeekPickerComponent } from './days-in-week-picker.component'; - @NgModule({ declarations: [ DaysInWeekPickerComponent diff --git a/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module.ts b/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module.ts index 2545eb0b..013606d3 100644 --- a/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module.ts +++ b/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window.module.ts @@ -1,8 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { DevOnlyWindowComponent } from './dev-only-window/dev-only-window.component'; - @NgModule({ declarations: [ DevOnlyWindowComponent @@ -14,4 +13,4 @@ import { DevOnlyWindowComponent } from './dev-only-window/dev-only-window.compon DevOnlyWindowComponent ] }) -export class DevOnlyWindowModule {} \ No newline at end of file +export class DevOnlyWindowModule {} diff --git a/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window/dev-only-window.component.ts b/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window/dev-only-window.component.ts index c8556e0f..e9db168c 100644 --- a/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window/dev-only-window.component.ts +++ b/src/app/shared-interproject/components/@smart/dev-only-window/dev-only-window/dev-only-window.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { environment } from 'src/environments/environment'; @Component({ diff --git a/src/app/shared-interproject/components/@smart/empty-state/empty-state.component.ts b/src/app/shared-interproject/components/@smart/empty-state/empty-state.component.ts index 43a7fa8f..f64b5fef 100644 --- a/src/app/shared-interproject/components/@smart/empty-state/empty-state.component.ts +++ b/src/app/shared-interproject/components/@smart/empty-state/empty-state.component.ts @@ -1,13 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; -import { - ActivatedRoute, - Router -} from '@angular/router'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; /** * SMART COMPONENT diff --git a/src/app/shared-interproject/components/@smart/empty-state/empty-state.module.ts b/src/app/shared-interproject/components/@smart/empty-state/empty-state.module.ts index 4b60af4f..4bda1d6e 100644 --- a/src/app/shared-interproject/components/@smart/empty-state/empty-state.module.ts +++ b/src/app/shared-interproject/components/@smart/empty-state/empty-state.module.ts @@ -1,8 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; import { LottieContainerModule } from '../lottie-container/lottie-container.module'; -import { EmptyStateComponent } from './empty-state.component'; +import { EmptyStateComponent } from './empty-state.component'; @NgModule({ declarations: [EmptyStateComponent], diff --git a/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.component.ts b/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.component.ts index 3381d524..db77e43e 100644 --- a/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.component.ts +++ b/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.component.ts @@ -1,22 +1,8 @@ -import { - animate, - style, - transition, - trigger -} from '@angular/animations'; -import { - ChangeDetectionStrategy, - ChangeDetectorRef, - Component, - Input, - OnInit -} from '@angular/core'; -import { - merge, - takeUntil -} from 'rxjs'; -import { debounceTime } from 'rxjs/operators'; -import { SubManager } from '../../../directives/subscription-manager'; +import { animate, style, transition, trigger } from '@angular/animations'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnInit } from '@angular/core'; +import { merge, takeUntil } from 'rxjs'; +import { debounceTime } from 'rxjs/operators'; +import { SubManager } from '../../../directives/subscription-manager'; import { FileDragHostService } from './file-drag-host.service'; @Component({ diff --git a/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.module.ts b/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.module.ts index 9dcefb9b..9f0ca895 100644 --- a/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.module.ts +++ b/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.module.ts @@ -1,9 +1,9 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { NgxDropzoneModule } from 'ngx-dropzone'; -import { NgPipesModule } from 'ngx-pipes'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { NgxDropzoneModule } from 'ngx-dropzone'; +import { NgPipesModule } from 'ngx-pipes'; import { FileDragHostComponent } from './file-drag-host.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service.ts b/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service.ts index 552981b6..38366ea9 100644 --- a/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service.ts +++ b/src/app/shared-interproject/components/@smart/file-drag-host/file-drag-host.service.ts @@ -1,21 +1,8 @@ -import { - EventEmitter, - Injectable, - OnDestroy -} from '@angular/core'; -import { MatSnackBar } from '@angular/material/snack-bar'; +import { EventEmitter, Injectable, OnDestroy } from '@angular/core'; +import { MatSnackBar } from '@angular/material/snack-bar'; import { NgxDropzoneChangeEvent } from 'ngx-dropzone'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; -import { - filter, - map, - takeUntil, - tap, - withLatestFrom -} from 'rxjs/operators'; +import { BehaviorSubject, Subject } from 'rxjs'; +import { filter, map, takeUntil, tap, withLatestFrom } from 'rxjs/operators'; type FileArray = File[]; diff --git a/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu-data.service.ts b/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu-data.service.ts index 22072537..e0deee67 100644 --- a/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu-data.service.ts +++ b/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu-data.service.ts @@ -1,8 +1,5 @@ import { Injectable } from '@angular/core'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; +import { BehaviorSubject, Subject } from 'rxjs'; import { SubManager } from '../../../directives/subscription-manager'; export interface ContextMenuItem { diff --git a/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.component.ts b/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.component.ts index cebf58ca..a8243e55 100644 --- a/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.component.ts +++ b/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.component.ts @@ -1,11 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit, - ViewChild -} from '@angular/core'; -import { MatMenuTrigger } from '@angular/material/menu'; -import { SubManager } from '../../../directives/subscription-manager'; +import { ChangeDetectionStrategy, Component, OnInit, ViewChild } from '@angular/core'; +import { MatMenuTrigger } from '@angular/material/menu'; +import { SubManager } from '../../../directives/subscription-manager'; import { GeneralContextMenuDataService } from './general-context-menu-data.service'; @Component({ diff --git a/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.module.ts b/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.module.ts index a3af33ed..955ef636 100644 --- a/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.module.ts +++ b/src/app/shared-interproject/components/@smart/general-context-menu/general-context-menu.module.ts @@ -1,11 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { MatIconModule } from '@angular/material/icon'; -import { MatListModule } from '@angular/material/list'; -import { MatMenuModule } from '@angular/material/menu'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatListModule } from '@angular/material/list'; +import { MatMenuModule } from '@angular/material/menu'; import { GeneralContextMenuComponent } from './general-context-menu.component'; - @NgModule({ declarations: [ GeneralContextMenuComponent diff --git a/src/app/shared-interproject/components/@smart/generated-form/generated-form-models.ts b/src/app/shared-interproject/components/@smart/generated-form/generated-form-models.ts index b6fbb0f0..efa418bb 100644 --- a/src/app/shared-interproject/components/@smart/generated-form/generated-form-models.ts +++ b/src/app/shared-interproject/components/@smart/generated-form/generated-form-models.ts @@ -1,8 +1,5 @@ import { FormControl } from '@angular/forms'; -import { - FormTypes, - ISelectable -} from '../mat-form-entity/form-element-models'; +import { FormTypes, ISelectable } from '../mat-form-entity/form-element-models'; export namespace GeneratedForm { export interface AutoFormEntity { diff --git a/src/app/shared-interproject/components/@smart/generated-form/generated-form.component.ts b/src/app/shared-interproject/components/@smart/generated-form/generated-form.component.ts index b122b02e..56384d4f 100644 --- a/src/app/shared-interproject/components/@smart/generated-form/generated-form.component.ts +++ b/src/app/shared-interproject/components/@smart/generated-form/generated-form.component.ts @@ -1,19 +1,8 @@ -import { - animate, - query, - stagger, - style, - transition, - trigger -} from '@angular/animations'; -import { - ChangeDetectionStrategy, - Component, - Input -} from '@angular/core'; +import { animate, query, stagger, style, transition, trigger } from '@angular/animations'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { AppStateService } from '../../../app-state.service'; -import { FormTypes } from '../mat-form-entity/form-element-models'; -import { GeneratedForm } from './generated-form-models'; +import { FormTypes } from '../mat-form-entity/form-element-models'; +import { GeneratedForm } from './generated-form-models'; import AutoFormEntity = GeneratedForm.AutoFormEntity; @Component({ diff --git a/src/app/shared-interproject/components/@smart/generated-form/generated-form.module.ts b/src/app/shared-interproject/components/@smart/generated-form/generated-form.module.ts index fd658943..44f63f13 100644 --- a/src/app/shared-interproject/components/@smart/generated-form/generated-form.module.ts +++ b/src/app/shared-interproject/components/@smart/generated-form/generated-form.module.ts @@ -1,11 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { MatFormEntityModule } from '../mat-form-entity/mat-form-entity.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { MatFormEntityModule } from '../mat-form-entity/mat-form-entity.module'; import { GeneratedFormComponent } from './generated-form.component'; - @NgModule({ declarations: [GeneratedFormComponent], imports: [ diff --git a/src/app/shared-interproject/components/@smart/list-link-router/clickable-list-card-base.ts b/src/app/shared-interproject/components/@smart/list-link-router/clickable-list-card-base.ts index db44ed0e..15187f70 100644 --- a/src/app/shared-interproject/components/@smart/list-link-router/clickable-list-card-base.ts +++ b/src/app/shared-interproject/components/@smart/list-link-router/clickable-list-card-base.ts @@ -1,10 +1,6 @@ -import { EventEmitter } from '@angular/core'; +import { EventEmitter } from '@angular/core'; import { NavigationExtras } from '@angular/router'; -import { - Observable, - ReplaySubject -} from 'rxjs'; - +import { Observable, ReplaySubject } from 'rxjs'; export interface CardLink { label: string; @@ -51,4 +47,3 @@ export const cleanCardlinkModelObject: CardLinkDataModel = { selected$: new ReplaySubject(), click$: new EventEmitter() }; - diff --git a/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.component.ts b/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.component.ts index 8a27cf96..2bc67c63 100644 --- a/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.component.ts +++ b/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.component.ts @@ -1,16 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - Input, - OnDestroy, - OnInit -} from '@angular/core'; -import { - CardLink, - CardLinkDataModel, - cleanCardlinkModelObject -} from './clickable-list-card-base'; +import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnDestroy, OnInit } from '@angular/core'; +import { CardLink, CardLinkDataModel, cleanCardlinkModelObject } from './clickable-list-card-base'; /** * SMART COMPONENT diff --git a/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.module.ts b/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.module.ts index 4742b644..f46a2768 100644 --- a/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.module.ts +++ b/src/app/shared-interproject/components/@smart/list-link-router/list-link-router.module.ts @@ -1,11 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatIconModule } from '@angular/material/icon'; -import { MatListModule } from '@angular/material/list'; -import { RouterModule } from '@angular/router'; -import { CleanCardModule } from '../../@visual/clean-card/clean-card.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatIconModule } from '@angular/material/icon'; +import { MatListModule } from '@angular/material/list'; +import { RouterModule } from '@angular/router'; +import { CleanCardModule } from '../../@visual/clean-card/clean-card.module'; import { ListLinkRouterComponent } from './list-link-router.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.component.ts b/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.component.ts index e9e940db..d943de69 100644 --- a/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.component.ts +++ b/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.component.ts @@ -1,11 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { fadeInOnEnterAnimation } from 'angular-animations'; -import { AnimationOptions } from 'ngx-lottie'; +import { AnimationOptions } from 'ngx-lottie'; @Component({ selector: 'app-lottie-container', diff --git a/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module.ts b/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module.ts index 430709a1..359b9b7e 100644 --- a/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module.ts +++ b/src/app/shared-interproject/components/@smart/lottie-container/lottie-container.module.ts @@ -1,9 +1,6 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { - LottieCacheModule, - LottieModule -} from 'ngx-lottie'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { LottieCacheModule, LottieModule } from 'ngx-lottie'; import { LottieContainerComponent } from './lottie-container.component'; // Note we need a separate function as it's required diff --git a/src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models.ts b/src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models.ts index 787c6e99..9c8a6455 100644 --- a/src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models.ts +++ b/src/app/shared-interproject/components/@smart/mat-form-entity/form-element-models.ts @@ -1,8 +1,4 @@ -import { - AbstractControl, - UntypedFormControl, - Validators -} from '@angular/forms'; +import { AbstractControl, UntypedFormControl, Validators } from '@angular/forms'; import { Strings } from './app-form-utils'; export interface FormLineSetup { diff --git a/src/app/shared-interproject/components/@smart/mat-form-entity/get-control-value.pipe.ts b/src/app/shared-interproject/components/@smart/mat-form-entity/get-control-value.pipe.ts index f78224ca..4785c7ab 100644 --- a/src/app/shared-interproject/components/@smart/mat-form-entity/get-control-value.pipe.ts +++ b/src/app/shared-interproject/components/@smart/mat-form-entity/get-control-value.pipe.ts @@ -1,17 +1,6 @@ -import { - ChangeDetectorRef, - OnDestroy, - Pipe, - PipeTransform -} from '@angular/core'; -import { - FormControl, - FormGroup -} from '@angular/forms'; -import { - ReplaySubject, - Subject -} from 'rxjs'; +import { ChangeDetectorRef, OnDestroy, Pipe, PipeTransform } from '@angular/core'; +import { FormControl, FormGroup } from '@angular/forms'; +import { ReplaySubject, Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; type LocalType = FormControl | FormGroup; diff --git a/src/app/shared-interproject/components/@smart/mat-form-entity/is-control-valid.pipe.ts b/src/app/shared-interproject/components/@smart/mat-form-entity/is-control-valid.pipe.ts index 02e965ec..772da437 100644 --- a/src/app/shared-interproject/components/@smart/mat-form-entity/is-control-valid.pipe.ts +++ b/src/app/shared-interproject/components/@smart/mat-form-entity/is-control-valid.pipe.ts @@ -1,13 +1,6 @@ -import { - ChangeDetectorRef, - Pipe, - PipeTransform -} from '@angular/core'; -import { - UntypedFormControl, - UntypedFormGroup -} from '@angular/forms'; -import { Subject } from 'rxjs'; +import { ChangeDetectorRef, Pipe, PipeTransform } from '@angular/core'; +import { UntypedFormControl, UntypedFormGroup } from '@angular/forms'; +import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; type LocalType = UntypedFormControl | UntypedFormGroup; diff --git a/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.component.ts b/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.component.ts index ebb76e5a..0a4a9af2 100644 --- a/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.component.ts +++ b/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.component.ts @@ -1,56 +1,15 @@ -import { - COMMA, - ENTER -} from '@angular/cdk/keycodes'; -import { - ChangeDetectionStrategy, - ChangeDetectorRef, - Component, - Input, - OnDestroy, - OnInit -} from '@angular/core'; -import { - AbstractControl, - AsyncValidatorFn, - UntypedFormBuilder, - UntypedFormControl, - UntypedFormGroup, - ValidatorFn -} from '@angular/forms'; +import { COMMA, ENTER } from '@angular/cdk/keycodes'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; +import { AbstractControl, AsyncValidatorFn, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, ValidatorFn } from '@angular/forms'; import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; -import { MatChipInputEvent } from '@angular/material/chips'; -import { - FloatLabelType, - MatFormFieldAppearance -} from '@angular/material/form-field'; -import { TooltipPosition } from '@angular/material/tooltip'; -import { - BehaviorSubject, - merge, - NEVER, - Observable, - of -} from 'rxjs'; -import { - debounceTime, - filter, - map, - tap, - withLatestFrom -} from 'rxjs/operators'; -import { SubManager } from '../../../directives/subscription-manager'; -import { - AppFormUtils, - Strings -} from './app-form-utils'; -import { - findOptionForId, - flatOptionGroupToArray, - FormTypes, - ISelectable, - isOption -} from './form-element-models'; +import { MatChipInputEvent } from '@angular/material/chips'; +import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field'; +import { TooltipPosition } from '@angular/material/tooltip'; +import { BehaviorSubject, merge, NEVER, Observable, of } from 'rxjs'; +import { debounceTime, filter, map, tap, withLatestFrom } from 'rxjs/operators'; +import { SubManager } from '../../../directives/subscription-manager'; +import { AppFormUtils, Strings } from './app-form-utils'; +import { findOptionForId, flatOptionGroupToArray, FormTypes, ISelectable, isOption } from './form-element-models'; export interface IMatFormEntityConfig { type: FormTypes; @@ -205,7 +164,9 @@ export class MatFormEntityComponent extends SubManager implements OnInit, OnDest * const voidChar = ''; * * toReturn = - * toBeChecked.hasError(Strings.form.errorCode.min) ? Strings_it.form.error_min : toBeChecked.hasError(Strings.form.errorCode.max) ? Strings_it.form.error_max : toBeChecked.hasError(Strings.form.errorCode.custom.operation_notInRange) ? Strings_it.form.error_operation_notInRange : toBeChecked.hasError(Strings.form.errorCode.custom.staff_notInRange) ? Strings_it.form.error_staff_notInRange : voidChar; + * toBeChecked.hasError(Strings.form.errorCode.min) ? Strings_it.form.error_min : toBeChecked.hasError(Strings.form.errorCode.max) ? Strings_it.form.error_max : + * toBeChecked.hasError(Strings.form.errorCode.custom.operation_notInRange) ? Strings_it.form.error_operation_notInRange : toBeChecked.hasError(Strings.form.errorCode.custom.staff_notInRange) ? + * Strings_it.form.error_staff_notInRange : voidChar; * * if (toReturn === voidChar) { * toReturn = super.getDefaultErrors(toBeChecked); diff --git a/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module.ts b/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module.ts index fe40584c..4bea631d 100644 --- a/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module.ts +++ b/src/app/shared-interproject/components/@smart/mat-form-entity/mat-form-entity.module.ts @@ -1,22 +1,19 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { - FormsModule, - ReactiveFormsModule -} from '@angular/forms'; -import { MatAutocompleteModule } from '@angular/material/autocomplete'; -import { MatButtonModule } from '@angular/material/button'; -import { MatChipsModule } from '@angular/material/chips'; -import { MatNativeDateModule } from '@angular/material/core'; -import { MatDatepickerModule } from '@angular/material/datepicker'; -import { MatDialogModule } from '@angular/material/dialog'; -import { MatFormFieldModule } from '@angular/material/form-field'; -import { MatIconModule } from '@angular/material/icon'; -import { MatInputModule } from '@angular/material/input'; -import { MatSelectModule } from '@angular/material/select'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { FormValidPipe } from './is-control-valid.pipe'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { MatAutocompleteModule } from '@angular/material/autocomplete'; +import { MatButtonModule } from '@angular/material/button'; +import { MatChipsModule } from '@angular/material/chips'; +import { MatNativeDateModule } from '@angular/material/core'; +import { MatDatepickerModule } from '@angular/material/datepicker'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatSelectModule } from '@angular/material/select'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { FormValidPipe } from './is-control-valid.pipe'; import { MatFormEntityComponent } from './mat-form-entity.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module.ts b/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module.ts index 8de4b8df..ea9a5a12 100644 --- a/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module.ts +++ b/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity.module.ts @@ -1,11 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatTooltipModule } from '@angular/material/tooltip'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatTooltipModule } from '@angular/material/tooltip'; import { RestrictedEntityComponent } from './restricted-entity/restricted-entity.component'; import { RestrictedLoggedDirective } from './restricted-logged.directive'; - @NgModule({ declarations: [ RestrictedEntityComponent, diff --git a/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity/restricted-entity.component.ts b/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity/restricted-entity.component.ts index 99af4226..e34b3042 100644 --- a/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity/restricted-entity.component.ts +++ b/src/app/shared-interproject/components/@smart/restricted-entity/restricted-entity/restricted-entity.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-restricted-entity', diff --git a/src/app/shared-interproject/components/@smart/restricted-entity/restricted-logged.directive.ts b/src/app/shared-interproject/components/@smart/restricted-entity/restricted-logged.directive.ts index 23f213f0..e4dc9d3a 100644 --- a/src/app/shared-interproject/components/@smart/restricted-entity/restricted-logged.directive.ts +++ b/src/app/shared-interproject/components/@smart/restricted-entity/restricted-logged.directive.ts @@ -1,9 +1,4 @@ -import { - Directive, - Input, - TemplateRef, - ViewContainerRef -} from '@angular/core'; +import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; @Directive({ selector: '[appRestrictedLogged]' diff --git a/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.component.ts b/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.component.ts index 377a3675..3a6ec8ee 100644 --- a/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.component.ts +++ b/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { AppStateService } from 'src/app/shared-interproject/app-state.service'; diff --git a/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.module.ts b/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.module.ts index cfe37da9..51ad91ba 100644 --- a/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.module.ts +++ b/src/app/shared-interproject/components/@smart/route-clickable-link/route-clickable-link.module.ts @@ -1,15 +1,14 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { MatListModule } from '@angular/material/list'; -import { MatMenuModule } from '@angular/material/menu'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { RouterModule } from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatListModule } from '@angular/material/list'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterModule } from '@angular/router'; import { RouteClickableLinkComponent } from './route-clickable-link.component'; - @NgModule({ declarations: [ RouteClickableLinkComponent diff --git a/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component.ts b/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component.ts index de815eba..0853a9ad 100644 --- a/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component.ts +++ b/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.component.ts @@ -1,4 +1,4 @@ -import { Component } from '@angular/core'; +import { Component } from '@angular/core'; import { UserDataHandlerService } from './user-data-handler.service'; /** diff --git a/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.module.ts b/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.module.ts index ddf777ab..c902baf7 100644 --- a/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.module.ts +++ b/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.module.ts @@ -1,11 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; import { BrandPrimaryButtonModule } from '../../@visual/brand-primary-button/brand-primary-button.module'; -import { CleanCardModule } from '../../@visual/clean-card/clean-card.module'; -import { UserAvatarModule } from '../../@visual/user-avatar/user-avatar.module'; +import { CleanCardModule } from '../../@visual/clean-card/clean-card.module'; +import { UserAvatarModule } from '../../@visual/user-avatar/user-avatar.module'; import { UserDataHandlerComponent } from './user-data-handler.component'; @NgModule({ @@ -21,4 +21,4 @@ import { UserDataHandlerComponent } from './user-data-handler.component'; ], exports: [UserDataHandlerComponent] }) -export class UserDataHandlerModule {} \ No newline at end of file +export class UserDataHandlerModule {} diff --git a/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.service.ts b/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.service.ts index d62cf204..bb0f51a5 100644 --- a/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.service.ts +++ b/src/app/shared-interproject/components/@smart/user-data-handler/user-data-handler.service.ts @@ -1,10 +1,7 @@ import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import { - ReplaySubject, - Subject -} from 'rxjs'; +import { Router } from '@angular/router'; +import { ReplaySubject, Subject } from 'rxjs'; interface UserModel { username: string | undefined; diff --git a/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module.ts b/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module.ts index e95b234e..6b026139 100644 --- a/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module.ts +++ b/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip.module.ts @@ -1,9 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { MatToolbarModule } from '@angular/material/toolbar'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { MatToolbarModule } from '@angular/material/toolbar'; import { AdviceTooltipComponent } from './advice-tooltip/advice-tooltip.component'; - @NgModule({ declarations: [ AdviceTooltipComponent diff --git a/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip/advice-tooltip.component.ts b/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip/advice-tooltip.component.ts index cc59a638..2b23f9ae 100644 --- a/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip/advice-tooltip.component.ts +++ b/src/app/shared-interproject/components/@visual/advice-tooltip/advice-tooltip/advice-tooltip.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'app-advice-tooltip', diff --git a/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.component.ts b/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.component.ts index de7d2d82..ee3b3c81 100644 --- a/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.component.ts +++ b/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.component.ts @@ -1,7 +1,4 @@ -import { - ChangeDetectionStrategy, - Component -} from '@angular/core'; +import { ChangeDetectionStrategy, Component } from '@angular/core'; @Component({ selector: 'app-brand-logo', diff --git a/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.module.ts b/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.module.ts index 89683182..e738d686 100644 --- a/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.module.ts +++ b/src/app/shared-interproject/components/@visual/brand-logo/brand-logo.module.ts @@ -1,4 +1,4 @@ -import { NgModule } from '@angular/core'; +import { NgModule } from '@angular/core'; import { BrandLogoComponent } from './brand-logo.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.component.ts b/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.component.ts index c39f54c6..ab4d5008 100644 --- a/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.component.ts +++ b/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.component.ts @@ -1,10 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - Input, - Output -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; /** * UI ONLY COMPONENT diff --git a/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module.ts b/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module.ts index f6c8d98a..99382371 100644 --- a/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module.ts +++ b/src/app/shared-interproject/components/@visual/brand-primary-button/brand-primary-button.module.ts @@ -1,10 +1,10 @@ -import { A11yModule } from '@angular/cdk/a11y'; -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { RouterModule } from '@angular/router'; +import { A11yModule } from '@angular/cdk/a11y'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterModule } from '@angular/router'; import { BrandPrimaryButtonComponent } from './brand-primary-button.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@visual/clean-card/clean-card.component.ts b/src/app/shared-interproject/components/@visual/clean-card/clean-card.component.ts index ff693edd..45a267b9 100644 --- a/src/app/shared-interproject/components/@visual/clean-card/clean-card.component.ts +++ b/src/app/shared-interproject/components/@visual/clean-card/clean-card.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'lib-clean-card', diff --git a/src/app/shared-interproject/components/@visual/clean-card/clean-card.module.ts b/src/app/shared-interproject/components/@visual/clean-card/clean-card.module.ts index 8d278d91..a340531b 100644 --- a/src/app/shared-interproject/components/@visual/clean-card/clean-card.module.ts +++ b/src/app/shared-interproject/components/@visual/clean-card/clean-card.module.ts @@ -1,8 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { CleanCardComponent } from './clean-card.component'; - @NgModule({ declarations: [CleanCardComponent], imports: [ diff --git a/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.component.ts b/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.component.ts index 053e7963..b5962563 100644 --- a/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.component.ts +++ b/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'lib-device-frame-wrapper', diff --git a/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.module.ts b/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.module.ts index 238f09ca..4474c6c8 100644 --- a/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.module.ts +++ b/src/app/shared-interproject/components/@visual/device-frame-wrapper/device-frame-wrapper.module.ts @@ -1,9 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; import { DeviceFrameWrapperComponent } from './device-frame-wrapper.component'; - @NgModule({ declarations: [ DeviceFrameWrapperComponent diff --git a/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.component.ts b/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.component.ts index a65defaf..d3d6881d 100644 --- a/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.component.ts +++ b/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit, - ViewEncapsulation -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core'; @Component({ selector: 'flexbox-row-fast', diff --git a/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module.ts b/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module.ts index faa34363..865abe48 100644 --- a/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module.ts +++ b/src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.module.ts @@ -1,8 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { FlexboxRowFastComponent } from 'src/app/shared-interproject/components/@visual/fle-box-row-fast/flexbox-row-fast.component'; - @NgModule({ declarations: [ FlexboxRowFastComponent diff --git a/src/app/shared-interproject/components/@visual/graph-view/graph-view.service.ts b/src/app/shared-interproject/components/@visual/graph-view/graph-view.service.ts index 6d13a224..3753c815 100644 --- a/src/app/shared-interproject/components/@visual/graph-view/graph-view.service.ts +++ b/src/app/shared-interproject/components/@visual/graph-view/graph-view.service.ts @@ -1,4 +1,4 @@ -import { Injectable } from '@angular/core'; +import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; @Injectable() diff --git a/src/app/shared-interproject/components/@visual/graph-view/graph.component.ts b/src/app/shared-interproject/components/@visual/graph-view/graph.component.ts index e9303d40..ba32c847 100644 --- a/src/app/shared-interproject/components/@visual/graph-view/graph.component.ts +++ b/src/app/shared-interproject/components/@visual/graph-view/graph.component.ts @@ -1,20 +1,12 @@ -import { - ChangeDetectorRef, - Component, - ElementRef, - Input, - NgZone, - OnInit, - ViewChild -} from '@angular/core'; +import { ChangeDetectorRef, Component, ElementRef, Input, NgZone, OnInit, ViewChild } from '@angular/core'; -import Graph from 'graphology'; +import Graph from 'graphology'; import FA2LayoutSupervisor, { FA2LayoutSupervisorParameters } from 'graphology-layout-forceatlas2/worker'; // import erdosRenyi from 'graphology-generators/random/erdos-renyi'; // import FA2LayoutSupervisor, { FA2LayoutSupervisorParameters } from 'graphology-layout-forceatlas2/worker'; -import circularLayout from 'graphology-layout/circular'; +import circularLayout from 'graphology-layout/circular'; -import { Sigma } from 'sigma'; +import { Sigma } from 'sigma'; import { GraphViewService } from './graph-view.service'; export interface GraphNode { diff --git a/src/app/shared-interproject/components/@visual/graph-view/lib-graph.module.ts b/src/app/shared-interproject/components/@visual/graph-view/lib-graph.module.ts index b5f3481a..f208e89b 100644 --- a/src/app/shared-interproject/components/@visual/graph-view/lib-graph.module.ts +++ b/src/app/shared-interproject/components/@visual/graph-view/lib-graph.module.ts @@ -1,7 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; -import { GraphComponent } from './graph.component'; +import { GraphComponent } from './graph.component'; @NgModule({ declarations: [ diff --git a/src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.module.ts b/src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.module.ts index 85b0e75e..7684fc53 100644 --- a/src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.module.ts +++ b/src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.module.ts @@ -1,11 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { RouterModule } from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { RouterModule } from '@angular/router'; import { HeroClickableTitleComponent } from 'src/app/shared-interproject/components/@visual/hero-clickable-title/hero-clickable-title.component'; - @NgModule({ declarations: [ HeroClickableTitleComponent diff --git a/src/app/shared-interproject/components/@visual/hero-content-card/hero-contenst-card-head-icon/hero-contenst-card-head-icon.component.ts b/src/app/shared-interproject/components/@visual/hero-content-card/hero-contenst-card-head-icon/hero-contenst-card-head-icon.component.ts index 5f0e81ec..9b94b649 100644 --- a/src/app/shared-interproject/components/@visual/hero-content-card/hero-contenst-card-head-icon/hero-contenst-card-head-icon.component.ts +++ b/src/app/shared-interproject/components/@visual/hero-content-card/hero-contenst-card-head-icon/hero-contenst-card-head-icon.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-hero-content-card-head-icon', diff --git a/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.component.ts b/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.component.ts index 6069f628..5f60d68c 100644 --- a/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.component.ts +++ b/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { fadeInOnEnterAnimation } from 'angular-animations'; /** diff --git a/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module.ts b/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module.ts index a2879d49..45c5b678 100644 --- a/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module.ts +++ b/src/app/shared-interproject/components/@visual/hero-content-card/hero-content-card.module.ts @@ -1,11 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; -import { MatIconModule } from '@angular/material/icon'; -import { MatTooltipModule } from '@angular/material/tooltip'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; import { HeroContenstCardHeadIconComponent } from 'src/app/shared-interproject/components/@visual/hero-content-card/hero-contenst-card-head-icon/hero-contenst-card-head-icon.component'; -import { HeroContentCardComponent } from './hero-content-card.component'; +import { HeroContentCardComponent } from './hero-content-card.component'; @NgModule({ declarations: [ diff --git a/src/app/shared-interproject/components/@visual/hero-header/hero-header.module.ts b/src/app/shared-interproject/components/@visual/hero-header/hero-header.module.ts index a5eafc29..ce82b3fe 100644 --- a/src/app/shared-interproject/components/@visual/hero-header/hero-header.module.ts +++ b/src/app/shared-interproject/components/@visual/hero-header/hero-header.module.ts @@ -1,9 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; import { HeroHeaderComponent } from './hero-header/hero-header.component'; - @NgModule({ declarations: [ HeroHeaderComponent diff --git a/src/app/shared-interproject/components/@visual/hero-header/hero-header/hero-header.component.ts b/src/app/shared-interproject/components/@visual/hero-header/hero-header/hero-header.component.ts index f1c1221f..11064dcb 100644 --- a/src/app/shared-interproject/components/@visual/hero-header/hero-header/hero-header.component.ts +++ b/src/app/shared-interproject/components/@visual/hero-header/hero-header/hero-header.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'lib-hero-header', diff --git a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box-text.directive.ts b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box-text.directive.ts index e85352e7..918c2b01 100644 --- a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box-text.directive.ts +++ b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box-text.directive.ts @@ -1,10 +1,4 @@ -import { - Directive, - ElementRef, - HostListener, - Input, - OnDestroy -} from '@angular/core'; +import { Directive, ElementRef, HostListener, Input, OnDestroy } from '@angular/core'; import { HeroInfoBoxService } from './hero-info-box.service'; @Directive({ diff --git a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.component.ts b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.component.ts index 2a8dcabb..c68ba175 100644 --- a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.component.ts +++ b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.component.ts @@ -1,13 +1,5 @@ -import { - animate, - style, - transition, - trigger -} from '@angular/animations'; -import { - Component, - OnInit -} from '@angular/core'; +import { animate, style, transition, trigger } from '@angular/animations'; +import { Component, OnInit } from '@angular/core'; import { HeroInfoBoxService } from './hero-info-box.service'; @Component({ diff --git a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module.ts b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module.ts index cd8dc2ea..92a2c9ba 100644 --- a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module.ts +++ b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.module.ts @@ -1,10 +1,9 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; import { HeroInfoBoxTextDirective } from './hero-info-box-text.directive'; -import { HeroInfoBoxComponent } from './hero-info-box.component'; - +import { HeroInfoBoxComponent } from './hero-info-box.component'; @NgModule({ declarations: [HeroInfoBoxComponent, HeroInfoBoxTextDirective], diff --git a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.service.ts b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.service.ts index 0204b63e..f70ca5ce 100644 --- a/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.service.ts +++ b/src/app/shared-interproject/components/@visual/hero-info-box/hero-info-box.service.ts @@ -1,8 +1,5 @@ import { Injectable } from '@angular/core'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; +import { BehaviorSubject, Subject } from 'rxjs'; @Injectable() export class HeroInfoBoxService { diff --git a/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.component.ts b/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.component.ts index 92fc7729..8fe9df0b 100644 --- a/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.component.ts +++ b/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; @Component({ selector: 'lib-hero-item-card', diff --git a/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module.ts b/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module.ts index 798f0ced..e9573d96 100644 --- a/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module.ts +++ b/src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.module.ts @@ -1,10 +1,9 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatCardModule } from '@angular/material/card'; import { HeroItemCardComponent } from 'src/app/shared-interproject/components/@visual/hero-item-card/hero-item-card.component'; -import { CleanCardModule } from '../clean-card/clean-card.module'; - +import { CleanCardModule } from '../clean-card/clean-card.module'; @NgModule({ declarations: [ diff --git a/src/app/shared-interproject/components/@visual/hero-link/hero-link.component.ts b/src/app/shared-interproject/components/@visual/hero-link/hero-link.component.ts index 67d727e5..53d456b8 100644 --- a/src/app/shared-interproject/components/@visual/hero-link/hero-link.component.ts +++ b/src/app/shared-interproject/components/@visual/hero-link/hero-link.component.ts @@ -1,8 +1,4 @@ -import { - Component, - Input, - OnInit -} from '@angular/core'; +import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'lib-hero-link', diff --git a/src/app/shared-interproject/components/@visual/hero-link/hero-link.module.ts b/src/app/shared-interproject/components/@visual/hero-link/hero-link.module.ts index 83a37d72..cddb247b 100644 --- a/src/app/shared-interproject/components/@visual/hero-link/hero-link.module.ts +++ b/src/app/shared-interproject/components/@visual/hero-link/hero-link.module.ts @@ -1,16 +1,15 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatDialogModule } from '@angular/material/dialog'; -import { MatIconModule } from '@angular/material/icon'; -import { RouterModule } from '@angular/router'; -import { EmptyStateModule } from '../../@smart/empty-state/empty-state.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterModule } from '@angular/router'; +import { EmptyStateModule } from '../../@smart/empty-state/empty-state.module'; import { BrandPrimaryButtonModule } from '../brand-primary-button/brand-primary-button.module'; -import { CleanCardModule } from '../clean-card/clean-card.module'; -import { HeroLinkComponent } from './hero-link.component'; - +import { CleanCardModule } from '../clean-card/clean-card.module'; +import { HeroLinkComponent } from './hero-link.component'; @NgModule({ declarations: [HeroLinkComponent], diff --git a/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.component.ts b/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.component.ts index 1077a4a1..eaa92b0c 100644 --- a/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.component.ts +++ b/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; @Component({ diff --git a/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.module.ts b/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.module.ts index b71304bb..4123354e 100644 --- a/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.module.ts +++ b/src/app/shared-interproject/components/@visual/icon-toggler-boolean/icon-toggler-boolean.module.ts @@ -1,13 +1,12 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatIconModule } from '@angular/material/icon'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { HeroInfoBoxModule } from '../hero-info-box/hero-info-box.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatIconModule } from '@angular/material/icon'; +import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { HeroInfoBoxModule } from '../hero-info-box/hero-info-box.module'; import { IconTogglerBooleanComponent } from './icon-toggler-boolean.component'; - @NgModule({ declarations: [IconTogglerBooleanComponent], exports: [ diff --git a/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.component.ts b/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.component.ts index 0dd813ea..bdb29753 100644 --- a/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.component.ts +++ b/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; /** * UI ONLY COMPONENT diff --git a/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.module.ts b/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.module.ts index 40a91f00..ba739bfe 100644 --- a/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.module.ts +++ b/src/app/shared-interproject/components/@visual/label-group-showcase/label-group-showcase.module.ts @@ -1,6 +1,6 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; import { LabelGroupShowcaseComponent } from './label-group-showcase.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts index 76c70587..886d2ee3 100644 --- a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts +++ b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts @@ -1,8 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; /** * UI ONLY COMPONENT diff --git a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts index 9c957a85..e8a5020f 100644 --- a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts +++ b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts @@ -1,6 +1,6 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; import { LabelValueShowcaseComponent } from './label-value-showcase.component'; @NgModule({ diff --git a/src/app/shared-interproject/components/@visual/page-header/page-header.module.ts b/src/app/shared-interproject/components/@visual/page-header/page-header.module.ts index e4ad0570..07f5c465 100644 --- a/src/app/shared-interproject/components/@visual/page-header/page-header.module.ts +++ b/src/app/shared-interproject/components/@visual/page-header/page-header.module.ts @@ -1,9 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { MatToolbarModule } from '@angular/material/toolbar'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { MatToolbarModule } from '@angular/material/toolbar'; import { PageHeaderComponent } from './page-header/page-header.component'; - @NgModule({ declarations: [ PageHeaderComponent @@ -16,4 +15,4 @@ import { PageHeaderComponent } from './page-header/page-header.component'; PageHeaderComponent ] }) -export class PageHeaderModule {} \ No newline at end of file +export class PageHeaderModule {} diff --git a/src/app/shared-interproject/components/@visual/page-header/page-header/page-header.component.ts b/src/app/shared-interproject/components/@visual/page-header/page-header/page-header.component.ts index 37b211de..1d1e828b 100644 --- a/src/app/shared-interproject/components/@visual/page-header/page-header/page-header.component.ts +++ b/src/app/shared-interproject/components/@visual/page-header/page-header/page-header.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-page-header', @@ -20,4 +15,4 @@ export class PageHeaderComponent implements OnInit { ngOnInit(): void { } -} \ No newline at end of file +} diff --git a/src/app/shared-interproject/components/@visual/photo/photo.component.ts b/src/app/shared-interproject/components/@visual/photo/photo.component.ts index a55e8b58..a948ab25 100644 --- a/src/app/shared-interproject/components/@visual/photo/photo.component.ts +++ b/src/app/shared-interproject/components/@visual/photo/photo.component.ts @@ -1,11 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { AppStateService } from 'src/app/shared-interproject/app-state.service'; -import { PhotosService } from 'src/app/shared-interproject/components/@visual/photo/photos.service'; +import { PhotosService } from 'src/app/shared-interproject/components/@visual/photo/photos.service'; @Component({ selector: 'lib-photo', diff --git a/src/app/shared-interproject/components/@visual/photo/photo.module.ts b/src/app/shared-interproject/components/@visual/photo/photo.module.ts index d9783abe..eae8d437 100644 --- a/src/app/shared-interproject/components/@visual/photo/photo.module.ts +++ b/src/app/shared-interproject/components/@visual/photo/photo.module.ts @@ -1,11 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatCardModule } from '@angular/material/card'; +import { MatCardModule } from '@angular/material/card'; // import { SmartPictureModule } from 'smart-picture'; -import { PhotoComponent } from 'src/app/shared-interproject/components/@visual/photo/photo.component'; -import { PhotosService } from 'src/app/shared-interproject/components/@visual/photo/photos.service'; - +import { PhotoComponent } from 'src/app/shared-interproject/components/@visual/photo/photo.component'; +import { PhotosService } from 'src/app/shared-interproject/components/@visual/photo/photos.service'; @NgModule({ declarations: [ diff --git a/src/app/shared-interproject/components/@visual/photo/photos.service.ts b/src/app/shared-interproject/components/@visual/photo/photos.service.ts index 462a12b1..15937601 100644 --- a/src/app/shared-interproject/components/@visual/photo/photos.service.ts +++ b/src/app/shared-interproject/components/@visual/photo/photos.service.ts @@ -1,9 +1,6 @@ import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; -import { - BehaviorSubject, - Subject -} from 'rxjs'; +import { BehaviorSubject, Subject } from 'rxjs'; interface UnsplashResponse { urls: { diff --git a/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.component.ts b/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.component.ts index b0c76fce..18b28b69 100644 --- a/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.component.ts +++ b/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.component.ts @@ -1,8 +1,4 @@ -import { - Component, - Input, - OnInit -} from '@angular/core'; +import { Component, Input, OnInit } from '@angular/core'; /** * questo componente ti aiuta a tenere sotto controllo le dimensioni diff --git a/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module.ts b/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module.ts index e2f294c8..81d66416 100644 --- a/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module.ts +++ b/src/app/shared-interproject/components/@visual/screen-wrapper/screen-wrapper.module.ts @@ -1,9 +1,8 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; import { ScreenWrapperComponent } from './screen-wrapper.component'; - @NgModule({ declarations: [ ScreenWrapperComponent diff --git a/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.component.ts b/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.component.ts index 6f32eb25..e177df8b 100644 --- a/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.component.ts +++ b/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.component.ts @@ -1,10 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - EventEmitter, - Input, - Output -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; /** * UI ONLY COMPONENT diff --git a/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.module.ts b/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.module.ts index 75170675..4cc17f49 100644 --- a/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.module.ts +++ b/src/app/shared-interproject/components/@visual/user-avatar/user-avatar.module.ts @@ -1,12 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; import { BrandPrimaryButtonModule } from '../brand-primary-button/brand-primary-button.module'; -import { CleanCardModule } from '../clean-card/clean-card.module'; -import { UserAvatarComponent } from './user-avatar.component'; - +import { CleanCardModule } from '../clean-card/clean-card.module'; +import { UserAvatarComponent } from './user-avatar.component'; @NgModule({ declarations: [UserAvatarComponent], diff --git a/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.component.ts b/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.component.ts index e892858d..49380960 100644 --- a/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.component.ts +++ b/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.component.ts @@ -1,9 +1,4 @@ -import { - ChangeDetectionStrategy, - Component, - Input, - OnInit -} from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'lib-width-limiter', diff --git a/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module.ts b/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module.ts index 58142d21..f86ff079 100644 --- a/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module.ts +++ b/src/app/shared-interproject/components/@visual/width-limiter/width-limiter.module.ts @@ -1,8 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; import { WidthLimiterComponent } from 'src/app/shared-interproject/components/@visual/width-limiter/width-limiter.component'; - @NgModule({ declarations: [ WidthLimiterComponent diff --git a/src/app/shared-interproject/components/oltre-shared-components.module.ts.ts b/src/app/shared-interproject/components/oltre-shared-components.module.ts.ts index c92e12b0..c368cfba 100644 --- a/src/app/shared-interproject/components/oltre-shared-components.module.ts.ts +++ b/src/app/shared-interproject/components/oltre-shared-components.module.ts.ts @@ -1,6 +1,5 @@ import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; - +import { NgModule } from '@angular/core'; @NgModule({ declarations: [], diff --git a/src/app/shared-interproject/dialogs/DialogBase.ts b/src/app/shared-interproject/dialogs/DialogBase.ts index 9a3ff1bb..c17846c9 100644 --- a/src/app/shared-interproject/dialogs/DialogBase.ts +++ b/src/app/shared-interproject/dialogs/DialogBase.ts @@ -1,5 +1,5 @@ -import { Inject } from '@angular/core'; -import { MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { Inject } from '@angular/core'; +import { MAT_DIALOG_DATA } from '@angular/material/dialog'; import { DialogDataInModelBase } from './DialogDataStructures'; export class DialogBase implements DialogDataInModelBase { diff --git a/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.component.ts b/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.component.ts index 55e58e51..e2e43ad1 100644 --- a/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.component.ts +++ b/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.component.ts @@ -1,17 +1,7 @@ -import { - ChangeDetectionStrategy, - Component, - Inject -} from '@angular/core'; -import { - MAT_DIALOG_DATA, - MatDialogRef -} from '@angular/material/dialog'; +import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { DialogBase } from '../DialogBase'; -import { - DialogDataInModelBase, - DialogLabelDefinition -} from '../DialogDataStructures'; +import { DialogDataInModelBase, DialogLabelDefinition } from '../DialogDataStructures'; export interface ConfirmDialogDataInModel extends DialogDataInModelBase { positive?: DialogLabelDefinition, diff --git a/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.module.ts b/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.module.ts index b45e13f8..ca417097 100644 --- a/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.module.ts +++ b/src/app/shared-interproject/dialogs/confirm-dialog/confirm-dialog.module.ts @@ -1,10 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatButtonModule } from '@angular/material/button'; -import { MatDialogModule } from '@angular/material/dialog'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatButtonModule } from '@angular/material/button'; +import { MatDialogModule } from '@angular/material/dialog'; import { BrandPrimaryButtonModule } from '../../components/@visual/brand-primary-button/brand-primary-button.module'; -import { ConfirmDialogComponent } from './confirm-dialog.component'; +import { ConfirmDialogComponent } from './confirm-dialog.component'; @NgModule({ declarations: [ConfirmDialogComponent], diff --git a/src/app/shared-interproject/dialogs/input-dialog/input-dialog.component.ts b/src/app/shared-interproject/dialogs/input-dialog/input-dialog.component.ts index df6eca89..89c78154 100644 --- a/src/app/shared-interproject/dialogs/input-dialog/input-dialog.component.ts +++ b/src/app/shared-interproject/dialogs/input-dialog/input-dialog.component.ts @@ -1,20 +1,13 @@ -import { - Component, - Inject -} from '@angular/core'; -import { FormControl } from '@angular/forms'; -import { - MAT_DIALOG_DATA, - MatDialogRef -} from '@angular/material/dialog'; -import { BehaviorSubject } from 'rxjs'; -import { AppStateService } from '../../app-state.service'; -import { FormTypes } from '../../components/@smart/mat-form-entity/form-element-models'; -import { DialogBase } from '../DialogBase'; -import { DialogDataInModelBase } from '../DialogDataStructures'; +import { Component, Inject } from '@angular/core'; +import { FormControl } from '@angular/forms'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { BehaviorSubject } from 'rxjs'; +import { AppStateService } from '../../app-state.service'; +import { FormTypes } from '../../components/@smart/mat-form-entity/form-element-models'; +import { DialogBase } from '../DialogBase'; +import { DialogDataInModelBase } from '../DialogDataStructures'; import { ReadOnlyDialogComponent } from '../read-only-dialog/read-only-dialog.component'; - export interface InputDialogDataInModel extends DialogDataInModelBase { control: FormControl, type: FormTypes, diff --git a/src/app/shared-interproject/dialogs/input-dialog/input-dialog.module.ts b/src/app/shared-interproject/dialogs/input-dialog/input-dialog.module.ts index 25c74311..7be5cf39 100644 --- a/src/app/shared-interproject/dialogs/input-dialog/input-dialog.module.ts +++ b/src/app/shared-interproject/dialogs/input-dialog/input-dialog.module.ts @@ -1,12 +1,11 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatDialogModule } from '@angular/material/dialog'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { MatFormEntityModule } from '../../components/@smart/mat-form-entity/mat-form-entity.module'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { MatFormEntityModule } from '../../components/@smart/mat-form-entity/mat-form-entity.module'; import { BrandPrimaryButtonModule } from '../../components/@visual/brand-primary-button/brand-primary-button.module'; -import { InputDialogComponent } from './input-dialog.component'; - +import { InputDialogComponent } from './input-dialog.component'; @NgModule({ declarations: [InputDialogComponent], diff --git a/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.component.ts b/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.component.ts index 0a3ff404..cb733cec 100644 --- a/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.component.ts +++ b/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.component.ts @@ -1,13 +1,6 @@ -import { - ChangeDetectionStrategy, - Component, - Inject -} from '@angular/core'; -import { - MAT_DIALOG_DATA, - MatDialogRef -} from '@angular/material/dialog'; -import { DialogBase } from '../DialogBase'; +import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { DialogBase } from '../DialogBase'; import { DialogDataInModelBase } from '../DialogDataStructures'; export interface ReadOnlyDialogDataInModel extends DialogDataInModelBase { diff --git a/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.module.ts b/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.module.ts index c211cbb0..fd20ee94 100644 --- a/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.module.ts +++ b/src/app/shared-interproject/dialogs/read-only-dialog/read-only-dialog.module.ts @@ -1,7 +1,7 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatDialogModule } from '@angular/material/dialog'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatDialogModule } from '@angular/material/dialog'; import { ReadOnlyDialogComponent } from './read-only-dialog.component'; @NgModule({ diff --git a/src/app/shared-interproject/directives/subscription-manager.ts b/src/app/shared-interproject/directives/subscription-manager.ts index 5e476024..c9490ad7 100644 --- a/src/app/shared-interproject/directives/subscription-manager.ts +++ b/src/app/shared-interproject/directives/subscription-manager.ts @@ -1,11 +1,5 @@ -import { - Directive, - OnDestroy -} from '@angular/core'; -import { - Subject, - Subscription -} from 'rxjs'; +import { Directive, OnDestroy } from '@angular/core'; +import { Subject, Subscription } from 'rxjs'; /** * Utility class to manage the subscriptions. diff --git a/src/app/shared-interproject/italian-locale-provider/italian-locale-provider.module.ts b/src/app/shared-interproject/italian-locale-provider/italian-locale-provider.module.ts index c7c3f478..d069b259 100644 --- a/src/app/shared-interproject/italian-locale-provider/italian-locale-provider.module.ts +++ b/src/app/shared-interproject/italian-locale-provider/italian-locale-provider.module.ts @@ -1,18 +1,7 @@ -import { - CommonModule, - registerLocaleData -} from '@angular/common'; +import { CommonModule, registerLocaleData } from '@angular/common'; import localeIt from '@angular/common/locales/it'; -import { - InjectionToken, - LOCALE_ID, - NgModule -} from '@angular/core'; -import { - MAT_DATE_FORMATS, - MAT_DATE_LOCALE -} from '@angular/material/core'; - +import { InjectionToken, LOCALE_ID, NgModule } from '@angular/core'; +import { MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core'; const italianLocale: { useValue: string; provide: InjectionToken; } = { provide: LOCALE_ID, diff --git a/src/app/shared-interproject/pipes/ellipsis.pipe.ts b/src/app/shared-interproject/pipes/ellipsis.pipe.ts index e6e43639..cc4a0da6 100644 --- a/src/app/shared-interproject/pipes/ellipsis.pipe.ts +++ b/src/app/shared-interproject/pipes/ellipsis.pipe.ts @@ -1,7 +1,4 @@ -import { - Pipe, - PipeTransform -} from '@angular/core'; +import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'ellipsis' diff --git a/src/app/shared-interproject/pipes/shared-pipes.module.ts b/src/app/shared-interproject/pipes/shared-pipes.module.ts index dedba98f..ebf04922 100644 --- a/src/app/shared-interproject/pipes/shared-pipes.module.ts +++ b/src/app/shared-interproject/pipes/shared-pipes.module.ts @@ -1,8 +1,7 @@ import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; +import { NgModule } from '@angular/core'; import { EllipsisPipe } from './ellipsis.pipe'; - @NgModule({ declarations: [ EllipsisPipe diff --git a/src/app/shared-interproject/routing-layouts/saturn/fade.animation.ts b/src/app/shared-interproject/routing-layouts/saturn/fade.animation.ts index f966629a..eb78c6c0 100644 --- a/src/app/shared-interproject/routing-layouts/saturn/fade.animation.ts +++ b/src/app/shared-interproject/routing-layouts/saturn/fade.animation.ts @@ -1,12 +1,6 @@ // fade.animation.ts -import { - animate, - query, - style, - transition, - trigger -} from '@angular/animations'; +import { animate, query, style, transition, trigger } from '@angular/animations'; export const fadeAnimation = trigger('routeAnimations', [ diff --git a/src/app/shared-interproject/routing-layouts/saturn/saturn.component.ts b/src/app/shared-interproject/routing-layouts/saturn/saturn.component.ts index 64b66a3f..384402c8 100644 --- a/src/app/shared-interproject/routing-layouts/saturn/saturn.component.ts +++ b/src/app/shared-interproject/routing-layouts/saturn/saturn.component.ts @@ -1,8 +1,5 @@ -import { Component } from '@angular/core'; -import { - ActivatedRoute, - Router -} from '@angular/router'; +import { Component } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; import { fadeAnimation } from './fade.animation'; @Component({ diff --git a/src/app/shared-interproject/routing-layouts/saturn/saturn.module.ts b/src/app/shared-interproject/routing-layouts/saturn/saturn.module.ts index 27ae1425..a722cf93 100644 --- a/src/app/shared-interproject/routing-layouts/saturn/saturn.module.ts +++ b/src/app/shared-interproject/routing-layouts/saturn/saturn.module.ts @@ -1,14 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { - Route, - RouterModule, - Routes -} from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { Route, RouterModule, Routes } from '@angular/router'; import { ScreenWrapperModule } from '../../components/@visual/screen-wrapper/screen-wrapper.module'; -import { SaturnComponent } from './saturn.component'; +import { SaturnComponent } from './saturn.component'; @NgModule({ declarations: [SaturnComponent], diff --git a/src/app/shared-interproject/routing-layouts/uranus/fade.animation.ts b/src/app/shared-interproject/routing-layouts/uranus/fade.animation.ts index b3920bca..92bf17e4 100644 --- a/src/app/shared-interproject/routing-layouts/uranus/fade.animation.ts +++ b/src/app/shared-interproject/routing-layouts/uranus/fade.animation.ts @@ -1,12 +1,6 @@ // fade.animation.ts -import { - animate, - query, - style, - transition, - trigger -} from '@angular/animations'; +import { animate, query, style, transition, trigger } from '@angular/animations'; export const fadeAnimation = trigger('routeAnimations', [ diff --git a/src/app/shared-interproject/routing-layouts/uranus/uranus.component.ts b/src/app/shared-interproject/routing-layouts/uranus/uranus.component.ts index 2c1b445a..642ec65a 100644 --- a/src/app/shared-interproject/routing-layouts/uranus/uranus.component.ts +++ b/src/app/shared-interproject/routing-layouts/uranus/uranus.component.ts @@ -1,8 +1,5 @@ -import { Component } from '@angular/core'; -import { - ActivatedRoute, - Router -} from '@angular/router'; +import { Component } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; import { fadeAnimation } from './fade.animation'; @Component({ diff --git a/src/app/shared-interproject/routing-layouts/uranus/uranus.module.ts b/src/app/shared-interproject/routing-layouts/uranus/uranus.module.ts index 3636ce16..e443042c 100644 --- a/src/app/shared-interproject/routing-layouts/uranus/uranus.module.ts +++ b/src/app/shared-interproject/routing-layouts/uranus/uranus.module.ts @@ -1,14 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { - Route, - RouterModule, - Routes -} from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { Route, RouterModule, Routes } from '@angular/router'; import { ScreenWrapperModule } from '../../components/@visual/screen-wrapper/screen-wrapper.module'; -import { UranusComponent } from './uranus.component'; +import { UranusComponent } from './uranus.component'; @NgModule({ declarations: [UranusComponent], diff --git a/src/app/shared-interproject/routing-layouts/venus/fade.animation.ts b/src/app/shared-interproject/routing-layouts/venus/fade.animation.ts index f966629a..eb78c6c0 100644 --- a/src/app/shared-interproject/routing-layouts/venus/fade.animation.ts +++ b/src/app/shared-interproject/routing-layouts/venus/fade.animation.ts @@ -1,12 +1,6 @@ // fade.animation.ts -import { - animate, - query, - style, - transition, - trigger -} from '@angular/animations'; +import { animate, query, style, transition, trigger } from '@angular/animations'; export const fadeAnimation = trigger('routeAnimations', [ diff --git a/src/app/shared-interproject/routing-layouts/venus/venus.component.ts b/src/app/shared-interproject/routing-layouts/venus/venus.component.ts index 0b2aae0e..f619bdee 100644 --- a/src/app/shared-interproject/routing-layouts/venus/venus.component.ts +++ b/src/app/shared-interproject/routing-layouts/venus/venus.component.ts @@ -1,8 +1,5 @@ -import { Component } from '@angular/core'; -import { - ActivatedRoute, - Router -} from '@angular/router'; +import { Component } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; import { fadeAnimation } from './fade.animation'; @Component({ diff --git a/src/app/shared-interproject/routing-layouts/venus/venus.module.ts b/src/app/shared-interproject/routing-layouts/venus/venus.module.ts index 23b6bc2a..63927494 100644 --- a/src/app/shared-interproject/routing-layouts/venus/venus.module.ts +++ b/src/app/shared-interproject/routing-layouts/venus/venus.module.ts @@ -1,14 +1,10 @@ -import { CommonModule } from '@angular/common'; -import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatToolbarModule } from '@angular/material/toolbar'; -import { - Route, - RouterModule, - Routes -} from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FlexLayoutModule } from '@angular/flex-layout'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { Route, RouterModule, Routes } from '@angular/router'; import { ScreenWrapperModule } from '../../components/@visual/screen-wrapper/screen-wrapper.module'; -import { VenusComponent } from './venus.component'; +import { VenusComponent } from './venus.component'; @NgModule({ declarations: [VenusComponent], diff --git a/src/build.ts b/src/build.ts index d501af56..b75f74e9 100644 --- a/src/build.ts +++ b/src/build.ts @@ -1,14 +1,14 @@ // Build information, automatically generated by `ng-info` const build = { - version: "3.7.2", - timestamp: "Sat Apr 08 2023 20:00:17 GMT+0200 (Ora legale dell’Europa centrale)", - message: null, - git: { - user: "Vlady Yakovenko", - branch: "develop", - hash: "62b81d", - fullHash: "62b81d9c4c6b2299e3b0c8f65acb11a675d1063a" - } + version: "4.0.2", + timestamp: "Fri Dec 01 2023 09:36:56 GMT+0100 (Ora standard dell’Europa centrale)", + message: null, + git: { + user: null, + branch: "develop", + hash: "6062ee", + fullHash: "6062ee73cb6b275384bfec89f9b95a5dc1f6041a" + } }; -export default build; +export default build; \ No newline at end of file diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index b40d257e..9dd856f2 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ import { EnvironmentModel } from 'src/environments/environment.model'; -import { firebaseConfig } from 'src/environments/firebase'; +import { firebaseConfig } from 'src/environments/firebase'; export const environment: EnvironmentModel = { production: true, @@ -8,4 +8,4 @@ export const environment: EnvironmentModel = { key: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxODA4NDU1OCwiZXhwIjoxOTMzNjYwNTU4fQ.3pSLsqyaCAGgISvOrHMt2CIX9hQowty2r8etzMwlpy8' }, firebase: firebaseConfig -}; \ No newline at end of file +}; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 48fdffe5..e1b7c5a1 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -3,7 +3,7 @@ // The list of file replacements can be found in `angular.json`. import { EnvironmentModel } from 'src/environments/environment.model'; -import { firebaseConfig } from 'src/environments/firebase'; +import { firebaseConfig } from 'src/environments/firebase'; export const environment: EnvironmentModel = { production: false, @@ -21,4 +21,4 @@ export const environment: EnvironmentModel = { * This import should be commented out in production mode because it will have a negative impact * on performance if an error is thrown. */ -// import 'zone.js/plugins/zone-error'; // Included with Angular CLI. \ No newline at end of file +// import 'zone.js/plugins/zone-error'; // Included with Angular CLI. diff --git a/src/main.ts b/src/main.ts index ff0ae180..161e1366 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,10 +1,10 @@ -import { enableProdMode } from '@angular/core'; +import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; -import * as Sentry from '@sentry/angular'; -import { Integrations } from '@sentry/tracing'; +import * as Sentry from '@sentry/angular'; +import { Integrations } from '@sentry/tracing'; -import { AppModule } from './app/app.module'; -import build from './build'; +import { AppModule } from './app/app.module'; +import build from './build'; import { environment } from './environments/environment'; let sentry; diff --git a/src/polyfills.ts b/src/polyfills.ts index 7e532f05..3375d3d7 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -69,7 +69,6 @@ */ import 'zone.js'; // Included with Angular CLI. - /*************************************************************************************************** * APPLICATION IMPORTS */ diff --git a/src/test.ts b/src/test.ts index 88e85c29..b3743de5 100644 --- a/src/test.ts +++ b/src/test.ts @@ -1,11 +1,8 @@ // This file is required by karma.conf.js and loads recursively all the .spec and framework files -import 'zone.js/testing'; import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; +import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; +import 'zone.js/testing'; declare const require: any;