|
|
@ -1,14 +1,14 @@ |
|
|
import { Injectable } from '@angular/core'; |
|
|
import { Injectable } from '@angular/core'; |
|
|
import { InternalStore } from '@abp/ng.core'; |
|
|
import { InternalStore } from '@abp/ng.core'; |
|
|
|
|
|
|
|
|
export type PageAlert = { |
|
|
export interface PageAlert { |
|
|
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark'; |
|
|
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark'; |
|
|
message: string; |
|
|
message: string; |
|
|
dismissible?: boolean; |
|
|
dismissible?: boolean; |
|
|
title?: string; |
|
|
title?: string; |
|
|
messageLocalizationParams?: string[]; |
|
|
messageLocalizationParams?: string[]; |
|
|
titleLocalizationParams?: string[]; |
|
|
titleLocalizationParams?: string[]; |
|
|
}; |
|
|
} |
|
|
|
|
|
|
|
|
@Injectable({ providedIn: 'root' }) |
|
|
@Injectable({ providedIn: 'root' }) |
|
|
export class PageAlertService { |
|
|
export class PageAlertService { |
|
|
|