Skip to content

Commit 7454b17

Browse files
committed
upgraded to abp-web-resources v3.8
1 parent 80b9a7a commit 7454b17

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "abp-ng2-module",
3-
"version": "3.1.0",
3+
"version": "3.2.0",
44
"description": "AspNet Boilerplate Angular Module",
55
"main": "dist/bundles/abp-ng2-module.umd.js",
66
"module": "dist/index.js",
@@ -33,7 +33,7 @@
3333
"peerDependencies": {
3434
"@angular/core": "^6.0.0",
3535
"@angular/common": "^6.0.0",
36-
"abp-web-resources": "^3.1.0"
36+
"abp-web-resources": "^3.8.0"
3737
},
3838
"devDependencies": {
3939
"@angular/core": "^6.0.0",

src/message/message.service.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,30 @@
33
@Injectable()
44
export class MessageService {
55

6-
info(message: string, title?: string): any {
7-
return abp.message.info(message, title);
6+
info(message: string, title?: string, isHtml?: boolean): any {
7+
return abp.message.info(message, title, isHtml);
88
}
99

10-
success(message: string, title?: string): any {
11-
return abp.message.success(message, title);
10+
success(message: string, title?: string, isHtml?: boolean): any {
11+
return abp.message.success(message, title, isHtml);
1212
}
1313

14-
warn(message: string, title?: string): any {
15-
return abp.message.warn(message, title);
14+
warn(message: string, title?: string, isHtml?: boolean): any {
15+
return abp.message.warn(message, title, isHtml);
1616
}
1717

18-
error(message: string, title?: string): any {
19-
return abp.message.error(message, title);
18+
error(message: string, title?: string, isHtml?: boolean): any {
19+
return abp.message.error(message, title, isHtml);
2020
}
2121

2222
confirm(message: string, callback?: (result: boolean) => void): any;
23-
confirm(message: string, title?: string, callback?: (result: boolean) => void): any;
23+
confirm(message: string, title?: string, callback?: (result: boolean) => void, isHtml?: boolean): any;
2424

25-
confirm(message: string, titleOrCallBack?: string | ((result: boolean) => void), callback?: (result: boolean) => void): any {
25+
confirm(message: string, titleOrCallBack?: string | ((result: boolean) => void), callback?: (result: boolean) => void, isHtml?: boolean): any {
2626
if (typeof titleOrCallBack == 'string') {
27-
return abp.message.confirm(message, titleOrCallBack as string, callback);
27+
return abp.message.confirm(message, titleOrCallBack as string, callback, isHtml);
2828
} else {
29-
return abp.message.confirm(message, titleOrCallBack as ((result: boolean) => void));
29+
return abp.message.confirm(message, titleOrCallBack as ((result: boolean) => void), isHtml);
3030
}
3131
}
3232

0 commit comments

Comments
 (0)