auto migrate standalone components

This commit is contained in:
2025-01-05 10:26:35 +01:00
parent 8b8395fc3c
commit 54ee9a5b11
121 changed files with 947 additions and 685 deletions

View File

@@ -1,14 +1,30 @@
import {Component, OnInit} from '@angular/core';
import {UntypedFormControl, UntypedFormGroup, Validators} from '@angular/forms';
import {Router} from '@angular/router';
import { UntypedFormControl, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
import { Router, RouterLink } from '@angular/router';
import {UserService} from '../../../services/user/user.service';
import {faSignInAlt, faUserPlus} from '@fortawesome/free-solid-svg-icons';
import { LogoComponent } from '../../../widget-modules/components/logo/logo.component';
import { MatFormField, MatLabel } from '@angular/material/form-field';
import { MatInput } from '@angular/material/input';
import { NgIf } from '@angular/common';
import { MatButton } from '@angular/material/button';
import { AuthMessagePipe } from './auth-message.pipe';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.less'],
standalone: false,
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.less'],
imports: [
LogoComponent,
ReactiveFormsModule,
MatFormField,
MatLabel,
MatInput,
NgIf,
MatButton,
RouterLink,
AuthMessagePipe,
],
})
export class LoginComponent implements OnInit {
public form: UntypedFormGroup = new UntypedFormGroup({