migrate alert-box in lib, up route airwatch demo layout

This commit is contained in:
Tykayn 2025-08-11 11:56:52 +02:00 committed by tykayn
parent fe63fec58f
commit d0b5ad10f6
15 changed files with 174 additions and 9 deletions

View file

@ -1,14 +1,16 @@
import {Component, Input} from '@angular/core';
import {NgClass} from '@angular/common';
@Component({
selector: 'app-alert-box',
imports: [
],
selector: 'sae-alert-box',
imports: [],
templateUrl: './alert-box.html',
styleUrl: './alert-box.scss'
})
export class AlertBox {
@Input() public message = "";
@Input() public _alertKind = "warning";
get alertKind(): string {
return this._alertKind;
}
@ -16,7 +18,5 @@ export class AlertBox {
set alertKind(value: string) {
this._alertKind = value;
}
@Input() public _alertKind: string = "warning";
@Input() public message: string = "";
}