Optimizes Imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { AuthService } from 'src/app/shared/service/auth.service';
|
||||
import {ActivatedRoute, Router} from '@angular/router';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {AuthService} from 'src/app/shared/service/auth.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-callback',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import {Component, Input} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-error-box',
|
||||
@@ -7,7 +7,7 @@ import { Component, Input } from '@angular/core';
|
||||
})
|
||||
export class ErrorBoxComponent {
|
||||
@Input()
|
||||
errorMessage: string | null = 'Error, please try again later.';
|
||||
errorMessage: string | null = 'Error, please try again later.';
|
||||
|
||||
constructor() {}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import {Component, EventEmitter, Input, Output} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-help',
|
||||
@@ -7,13 +7,13 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
})
|
||||
export class HelpComponent {
|
||||
@Input()
|
||||
state: boolean = false;
|
||||
state: boolean = false;
|
||||
|
||||
@Input()
|
||||
ignoreClickOutside!: HTMLDivElement[];
|
||||
ignoreClickOutside!: HTMLDivElement[];
|
||||
|
||||
@Output()
|
||||
stateChange = new EventEmitter<boolean>();
|
||||
stateChange = new EventEmitter<boolean>();
|
||||
|
||||
constructor() {}
|
||||
|
||||
|
||||
@@ -8,31 +8,19 @@ import {
|
||||
OnInit,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
||||
import { MatIconRegistry } from '@angular/material/icon';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
import { faLock, faUser } from '@fortawesome/free-solid-svg-icons';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { AuthService } from 'src/app/shared/service/auth.service';
|
||||
import { Value } from '@sinclair/typebox/value'
|
||||
import { User } from 'src/app/shared/model/user/user.model';
|
||||
import {
|
||||
animate,
|
||||
animateChild,
|
||||
group,
|
||||
query,
|
||||
state,
|
||||
style,
|
||||
transition,
|
||||
trigger,
|
||||
} from '@angular/animations';
|
||||
import { ValidatePasswordValidator } from '../../../shared/validators/validate-password.validator';
|
||||
import { ValidateNotEmptyValidator } from '../../../shared/validators/validate-not-empty.validator';
|
||||
import {
|
||||
NgcCookieConsentService,
|
||||
NgcStatusChangeEvent,
|
||||
} from 'ngx-cookieconsent';
|
||||
import { CookieConsertService } from '../../../shared/cookie-consent/cookie-consert.service';
|
||||
import {FormControl, FormGroup, Validators} from '@angular/forms';
|
||||
import {MatIconRegistry} from '@angular/material/icon';
|
||||
import {DomSanitizer} from '@angular/platform-browser';
|
||||
import {faLock, faUser} from '@fortawesome/free-solid-svg-icons';
|
||||
import {Subscription} from 'rxjs';
|
||||
import {AuthService} from 'src/app/shared/service/auth.service';
|
||||
import {Value} from '@sinclair/typebox/value'
|
||||
import {User} from 'src/app/shared/model/user/user.model';
|
||||
import {animate, animateChild, group, query, state, style, transition, trigger,} from '@angular/animations';
|
||||
import {ValidatePasswordValidator} from '../../../shared/validators/validate-password.validator';
|
||||
import {ValidateNotEmptyValidator} from '../../../shared/validators/validate-not-empty.validator';
|
||||
import {NgcCookieConsentService,} from 'ngx-cookieconsent';
|
||||
import {CookieConsertService} from '../../../shared/cookie-consent/cookie-consert.service';
|
||||
import {HttpError} from "../../../shared/model/httpError/httpError.model";
|
||||
|
||||
const GOOGLE_LOGO_SVG = 'assets/img/providers/google.svg';
|
||||
|
||||
@@ -1,26 +1,11 @@
|
||||
import {
|
||||
Component,
|
||||
EventEmitter,
|
||||
Input,
|
||||
OnInit,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { AuthService } from '../../../shared/service/auth.service';
|
||||
import { User } from '../../../shared/model/user/user.model';
|
||||
import {
|
||||
animate,
|
||||
animateChild,
|
||||
group,
|
||||
query,
|
||||
state,
|
||||
style,
|
||||
transition,
|
||||
trigger,
|
||||
} from '@angular/animations';
|
||||
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
||||
import { ValidateNotEmptyValidator } from '../../../shared/validators/validate-not-empty.validator';
|
||||
import { ValidatePasswordValidator } from '../../../shared/validators/validate-password.validator';
|
||||
import { faFileUpload } from '@fortawesome/free-solid-svg-icons';
|
||||
import {Component, EventEmitter, Input, OnInit, Output,} from '@angular/core';
|
||||
import {AuthService} from '../../../shared/service/auth.service';
|
||||
import {User} from '../../../shared/model/user/user.model';
|
||||
import {animate, animateChild, group, query, state, style, transition, trigger,} from '@angular/animations';
|
||||
import {FormControl, FormGroup, Validators} from '@angular/forms';
|
||||
import {ValidateNotEmptyValidator} from '../../../shared/validators/validate-not-empty.validator';
|
||||
import {ValidatePasswordValidator} from '../../../shared/validators/validate-password.validator';
|
||||
import {faFileUpload} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
@Component({
|
||||
selector: 'app-my-profile',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component, EventEmitter, Output } from '@angular/core';
|
||||
import { AuthService } from '../../../../shared/service/auth.service';
|
||||
import {Component, EventEmitter, Output} from '@angular/core';
|
||||
import {AuthService} from '../../../../shared/service/auth.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-profile-picture-picker',
|
||||
|
||||
@@ -1,30 +1,16 @@
|
||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
||||
import { MatIconRegistry } from '@angular/material/icon';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
import {
|
||||
faEnvelope,
|
||||
faFingerprint,
|
||||
faLock,
|
||||
faUser,
|
||||
} from '@fortawesome/free-solid-svg-icons';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { AuthService } from 'src/app/shared/service/auth.service';
|
||||
import { HttpError } from 'src/app/shared/model/httpError/httpError.model';
|
||||
import { User } from 'src/app/shared/model/user/user.model';
|
||||
import {
|
||||
animate,
|
||||
animateChild,
|
||||
group,
|
||||
query,
|
||||
state,
|
||||
style,
|
||||
transition,
|
||||
trigger,
|
||||
} from '@angular/animations';
|
||||
import { ValidateEmailValidator } from '../../../shared/validators/validate-email.validator';
|
||||
import { ValidatePasswordValidator } from '../../../shared/validators/validate-password.validator';
|
||||
import { ValidateNotEmptyValidator } from '../../../shared/validators/validate-not-empty.validator';
|
||||
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
|
||||
import {FormControl, FormGroup, Validators} from '@angular/forms';
|
||||
import {MatIconRegistry} from '@angular/material/icon';
|
||||
import {DomSanitizer} from '@angular/platform-browser';
|
||||
import {faEnvelope, faFingerprint, faLock, faUser,} from '@fortawesome/free-solid-svg-icons';
|
||||
import {Subscription} from 'rxjs';
|
||||
import {AuthService} from 'src/app/shared/service/auth.service';
|
||||
import {HttpError} from 'src/app/shared/model/httpError/httpError.model';
|
||||
import {User} from 'src/app/shared/model/user/user.model';
|
||||
import {animate, animateChild, group, query, state, style, transition, trigger,} from '@angular/animations';
|
||||
import {ValidateEmailValidator} from '../../../shared/validators/validate-email.validator';
|
||||
import {ValidatePasswordValidator} from '../../../shared/validators/validate-password.validator';
|
||||
import {ValidateNotEmptyValidator} from '../../../shared/validators/validate-not-empty.validator';
|
||||
import {Value} from "@sinclair/typebox/value";
|
||||
|
||||
const GOOGLE_LOGO_SVG = 'assets/img/providers/google.svg';
|
||||
|
||||
Reference in New Issue
Block a user