Skip to content

Commit 10437e6

Browse files
committed
Update bower package: abp-web-resources to 4.2.0
1 parent 52d85de commit 10437e6

27 files changed

+832
-759
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"chart.js": "chartjs#^2.6.0",
2626
"jquery-sparkline": "^2.1.3",
2727
"Flot": "jquery-flot#^0.8.3",
28-
"abp-web-resources": "^3.5.0"
28+
"abp-web-resources": "^4.2.0"
2929
},
3030
"resolutions": {
3131
"jquery": ">=1.6.3"

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/abp-web-resources/.bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"authors": [
55
"Halil İbrahim Kalkan"
66
],
7-
"version": "3.5.0",
7+
"version": "4.2.0",
88
"description": "Script and style resources for ASP.NET Boilerplate based web projects.",
99
"main": "Abp/Framework/scripts/abp.js",
1010
"moduleType": [],
@@ -25,13 +25,13 @@
2525
".nuget",
2626
"packages"
2727
],
28-
"_release": "3.5.0",
28+
"_release": "4.2.0",
2929
"_resolution": {
3030
"type": "version",
31-
"tag": "v3.5.0",
32-
"commit": "5a6ff004cd1a55384dc8697dee3f06009d72e4ae"
31+
"tag": "v4.2.0",
32+
"commit": "db5593861ad4ffa44587e0be3a1e153735c6e699"
3333
},
3434
"_source": "https://github.com/aspnetboilerplate/bower-abp-resources.git",
35-
"_target": "^3.1.0",
35+
"_target": "^4.2.0",
3636
"_originalSource": "abp-web-resources"
3737
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/abp-web-resources/Abp/Framework/scripts/abp.d.ts

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
let isEnabled: boolean;
2020

21+
let ignoreFeatureCheckForHostUsers: boolean;
22+
2123
let tenantIdCookieName: string;
2224

2325
function setTenantIdCookie(tenantId?: number): void;
@@ -109,6 +111,19 @@
109111
function getToken(): string;
110112

111113
function clearToken(): void;
114+
115+
let refreshTokenCookieName: string;
116+
117+
/**
118+
* Saves refreshToken token.
119+
* @param refreshToken The token to be saved.
120+
* @param expireDate Optional expire date. If not specified, token will be deleted at end of the session.
121+
*/
122+
function setRefreshToken(refreshToken: string, expireDate?: Date): void;
123+
124+
function getRefreshToken(): string;
125+
126+
function clearRefreshToken(): void;
112127
}
113128

114129
namespace features {
@@ -293,17 +308,15 @@
293308

294309
//TODO: these methods return jQuery.Promise instead of any. fix it.
295310

296-
function info(message: string, title?: string): any;
297-
298-
function success(message: string, title?: string): any;
311+
function info(message: string, title?: string, options?: any): any;
299312

300-
function warn(message: string, title?: string): any;
313+
function success(message: string, title?: string, options?: any): any;
301314

302-
function error(message: string, title?: string): any;
315+
function warn(message: string, title?: string, options?: any): any;
303316

304-
function confirm(message: string, callback?: (result: boolean) => void): any;
317+
function error(message: string, title?: string, options?: any): any;
305318

306-
function confirm(message: string, title?: string, callback?: (result: boolean) => void): any;
319+
function confirm(message: string, title?: string, callback?: (result: boolean) => void, options?: any): any;
307320

308321
}
309322

0 commit comments

Comments
 (0)