komponents erstellen

This commit is contained in:
Tizian.Breuch
2025-09-08 18:17:32 +02:00
parent 27cfa1e925
commit ee8974e2ff
71 changed files with 1627 additions and 27 deletions

View File

@@ -0,0 +1 @@
<p>kpi-card works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-kpi-card',
imports: [],
templateUrl: './kpi-card.component.html',
styleUrl: './kpi-card.component.css'
})
export class KpiCardComponent {
}

View File

@@ -0,0 +1 @@
<p>form-field works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-form-field',
imports: [],
templateUrl: './form-field.component.html',
styleUrl: './form-field.component.css'
})
export class FormFieldComponent {
}

View File

@@ -0,0 +1 @@
<p>slide-toggle works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-slide-toggle',
imports: [],
templateUrl: './slide-toggle.component.html',
styleUrl: './slide-toggle.component.css'
})
export class SlideToggleComponent {
}

View File

@@ -0,0 +1 @@
<p>page-header works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-page-header',
imports: [],
templateUrl: './page-header.component.html',
styleUrl: './page-header.component.css'
})
export class PageHeaderComponent {
}

View File

@@ -0,0 +1 @@
<p>search-bar works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-search-bar',
imports: [],
templateUrl: './search-bar.component.html',
styleUrl: './search-bar.component.css'
})
export class SearchBarComponent {
}

View File

@@ -0,0 +1 @@
<p>user-profile works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-user-profile',
imports: [],
templateUrl: './user-profile.component.html',
styleUrl: './user-profile.component.css'
})
export class UserProfileComponent {
}

View File

@@ -0,0 +1 @@
<p>dialog works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-dialog',
imports: [],
templateUrl: './dialog.component.html',
styleUrl: './dialog.component.css'
})
export class DialogComponent {
}

View File

@@ -0,0 +1 @@
<p>menu works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-menu',
imports: [],
templateUrl: './menu.component.html',
styleUrl: './menu.component.css'
})
export class MenuComponent {
}

View File

@@ -1,3 +1,4 @@
/* src\app\shared\snackbar\components\snackbar-container\snackbar-container.component.css */
/* Stile, die NUR für den Container gelten */
.snackbar-container-wrapper {
position: fixed;

View File

@@ -1,3 +1,4 @@
/* src\app\shared\snackbar\components\snackbar\snackbar.component.css */
/* Stile, die NUR für eine einzelne Snackbar gelten */
:host {
position: absolute;

View File

@@ -0,0 +1 @@
<p>alert works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-alert',
imports: [],
templateUrl: './alert.component.html',
styleUrl: './alert.component.css'
})
export class AlertComponent {
}

View File

@@ -0,0 +1 @@
<p>button works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-button',
imports: [],
templateUrl: './button.component.html',
styleUrl: './button.component.css'
})
export class ButtonComponent {
}

View File

@@ -0,0 +1 @@
<p>card works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-card',
imports: [],
templateUrl: './card.component.html',
styleUrl: './card.component.css'
})
export class CardComponent {
}

View File

@@ -0,0 +1 @@
<p>chip works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-chip',
imports: [],
templateUrl: './chip.component.html',
styleUrl: './chip.component.css'
})
export class ChipComponent {
}

View File

@@ -0,0 +1 @@
<p>icon works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-icon',
imports: [],
templateUrl: './icon.component.html',
styleUrl: './icon.component.css'
})
export class IconComponent {
}

View File

@@ -0,0 +1 @@
<p>status-pill works!</p>

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-status-pill',
imports: [],
templateUrl: './status-pill.component.html',
styleUrl: './status-pill.component.css'
})
export class StatusPillComponent {
}

View File

@@ -0,0 +1,10 @@
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
export const passwordMatchValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {
const password = control.get('password');
const confirmPassword = control.get('confirmPassword');
return password && confirmPassword && password.value !== confirmPassword.value
? { passwordMismatch: true }
: null;
};