2025-08-08 11:31:27 +02:00
|
|
|
import {Component, Input} from '@angular/core';
|
|
|
|
|
|
|
|
@Component({
|
2025-08-11 11:56:52 +02:00
|
|
|
selector: 'sae-alert-box',
|
2025-08-20 16:39:49 +02:00
|
|
|
standalone: true,
|
2025-08-11 11:56:52 +02:00
|
|
|
imports: [],
|
2025-08-08 11:31:27 +02:00
|
|
|
templateUrl: './alert-box.html',
|
|
|
|
styleUrl: './alert-box.scss'
|
|
|
|
})
|
|
|
|
export class AlertBox {
|
2025-08-19 16:20:07 +02:00
|
|
|
@Input() public message = "";
|
2025-08-11 11:56:52 +02:00
|
|
|
|
|
|
|
@Input() public _alertKind = "warning";
|
|
|
|
|
2025-08-08 11:31:27 +02:00
|
|
|
get alertKind(): string {
|
|
|
|
return this._alertKind;
|
|
|
|
}
|
|
|
|
|
|
|
|
set alertKind(value: string) {
|
|
|
|
this._alertKind = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|