Added ability to set input age for pesel generator. No additional checks implemented - min < max or starting age of 1800. Someday...
This commit is contained in:
@@ -2,10 +2,8 @@ import { NgModule } from '@angular/core';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { AppComponent } from './components/app/app.component';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatGridListModule } from '@angular/material/grid-list';
|
||||
import { ClipboardModule } from '@angular/cdk/clipboard';
|
||||
import { MatSnackBarModule} from '@angular/material/snack-bar';
|
||||
import { TranslatePipe } from './translate-pipe';
|
||||
@@ -13,6 +11,7 @@ import { PeselComponent } from './components/pesel/pesel.component';
|
||||
import { NipComponent } from './components/nip/nip.component';
|
||||
import { RegonComponent } from './components/regon/regon.component';
|
||||
import { IbanComponent } from './components/iban/iban.component';
|
||||
import {NgOptimizedImage} from "@angular/common";
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@@ -23,17 +22,16 @@ import { IbanComponent } from './components/iban/iban.component';
|
||||
RegonComponent,
|
||||
IbanComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
FormsModule,
|
||||
BrowserAnimationsModule,
|
||||
MatInputModule,
|
||||
MatIconModule,
|
||||
MatGridListModule,
|
||||
ClipboardModule,
|
||||
MatSnackBarModule,
|
||||
ReactiveFormsModule,
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
FormsModule,
|
||||
MatInputModule,
|
||||
MatIconModule,
|
||||
ClipboardModule,
|
||||
MatSnackBarModule,
|
||||
ReactiveFormsModule,
|
||||
NgOptimizedImage,
|
||||
],
|
||||
providers: [TranslatePipe],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user