Skip to content

Commit

Permalink
imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Polyterative committed Dec 1, 2023
1 parent 6062ee7 commit f77a94f
Show file tree
Hide file tree
Showing 264 changed files with 1,404 additions and 2,778 deletions.
5 changes: 1 addition & 4 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
ChangeDetectionStrategy,
Component
} from '@angular/core';
import { ChangeDetectionStrategy, Component } from '@angular/core';

@Component({
selector: 'app-root',
Expand Down
49 changes: 21 additions & 28 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -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<string>; } = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { NgModule } from '@angular/core';

@NgModule({
declarations: [],
Expand Down
16 changes: 5 additions & 11 deletions src/app/components/format-translator/standards.service.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
Pipe,
PipeTransform
} from '@angular/core';
import { Pipe, PipeTransform } from '@angular/core';
import { Standard } from '../../models/standard';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
25 changes: 6 additions & 19 deletions src/app/components/module-parts/module-cvs/module-cvs.component.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
34 changes: 10 additions & 24 deletions src/app/components/module-parts/module-detail-data.service.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
Pipe,
PipeTransform
} from '@angular/core';
import { Pipe, PipeTransform } from '@angular/core';
import { FormCV } from './module-editor.component';

@Pipe({
Expand Down
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Loading

0 comments on commit f77a94f

Please sign in to comment.