@bnsights/bbsf-utilities 1.0.6 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bnsights-bbsf-utilities-1.0.10.tgz +0 -0
- package/bnsights-bbsf-utilities.metadata.json +1 -1
- package/bundles/bnsights-bbsf-utilities.umd.js +106 -34
- package/bundles/bnsights-bbsf-utilities.umd.js.map +1 -1
- package/esm2015/lib/shared/authentication/auth.service.js +16 -9
- package/esm2015/lib/shared/models/AreaModel.js +3 -0
- package/esm2015/lib/shared/services/AppearanceConfiguration.service.js +29 -0
- package/esm2015/lib/shared/services/controlvalidation.service.js +8 -8
- package/esm2015/lib/shared/services/environment.service.js +2 -1
- package/esm2015/lib/shared/services/masterlayout.service.js +8 -3
- package/esm2015/lib/shared/services/requesthandler.service.js +31 -9
- package/esm2015/lib/shared/services/stylesbundle.service.js +7 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/bnsights-bbsf-utilities.js +94 -28
- package/fesm2015/bnsights-bbsf-utilities.js.map +1 -1
- package/lib/shared/authentication/auth.service.d.ts +3 -1
- package/lib/shared/models/AreaModel.d.ts +4 -0
- package/lib/shared/services/AppearanceConfiguration.service.d.ts +8 -0
- package/lib/shared/services/environment.service.d.ts +2 -0
- package/lib/shared/services/masterlayout.service.d.ts +1 -0
- package/lib/shared/services/requesthandler.service.d.ts +6 -6
- package/lib/shared/services/stylesbundle.service.d.ts +1 -0
- package/package.json +7 -5
- package/public-api.d.ts +1 -0
- package/bnsights-bbsf-utilities-1.0.6.tgz +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { HttpClient, HttpParams } from "@angular/common/http";
|
|
3
3
|
import { RequestOptionsModel } from '../models/RequestOptionsModel';
|
|
4
|
-
import { Observable } from 'rxjs/internal/Observable';
|
|
5
4
|
import { AuthService } from '../authentication/auth.service';
|
|
6
5
|
import { EnvironmentService } from './environment.service';
|
|
7
|
-
import { Subject } from 'rxjs';
|
|
6
|
+
import { Observable, Subject } from 'rxjs';
|
|
8
7
|
import { UtilityService } from './utility.service';
|
|
9
8
|
import { BBSFTranslateService } from './translate.service';
|
|
10
9
|
export declare class RequestHandlerService implements OnDestroy {
|
|
@@ -18,10 +17,11 @@ export declare class RequestHandlerService implements OnDestroy {
|
|
|
18
17
|
onDestroy$: Subject<void>;
|
|
19
18
|
constructor(http: HttpClient, authService: AuthService, environmentService: EnvironmentService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService);
|
|
20
19
|
getLuckyNumber(): Observable<number>;
|
|
21
|
-
get<T>(Url: string, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
22
|
-
post<T>(Url: string, model?: any, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
23
|
-
delete<T>(Url: string, deletedId: string,
|
|
24
|
-
put<T>(Url: string, model?: any, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
20
|
+
get<T>(Url: string, params?: HttpParams, responseType?: new () => T, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
21
|
+
post<T>(Url: string, model?: any, responseType?: new () => T, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
22
|
+
delete<T>(Url: string, deletedId: string, requestOptions?: RequestOptionsModel, responseType?: new () => T, params?: HttpParams): Observable<T>;
|
|
23
|
+
put<T>(Url: string, model?: any, params?: HttpParams, responseType?: new () => T, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
24
|
+
download<T>(Url: string, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
25
25
|
destroyHandler(): void;
|
|
26
26
|
ngOnDestroy(): void;
|
|
27
27
|
}
|
|
@@ -4,5 +4,6 @@ export declare class StylesBundleService {
|
|
|
4
4
|
private translateService;
|
|
5
5
|
constructor(document: Document, translateService: BBSFTranslateService);
|
|
6
6
|
loadThemes(lang: string, bundleEnglishName: string, bundleArabicName: string): void;
|
|
7
|
+
loadThemesColor(theme: string, bundleDarkName: string, bundleLightName: string): void;
|
|
7
8
|
loadStyleBundle(styleName: string): void;
|
|
8
9
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^11.2.14",
|
|
6
6
|
"@angular/core": "^11.2.14"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"
|
|
9
|
+
"@angular/http": "^7.2.16",
|
|
10
10
|
"@ngx-translate/core": "^13.0.0",
|
|
11
11
|
"@ngx-translate/http-loader": "^6.0.0",
|
|
12
|
-
"
|
|
12
|
+
"class-transformer": "^0.5.1",
|
|
13
13
|
"ng-block-ui": "^3.0.2",
|
|
14
|
-
"
|
|
15
|
-
"oidc-client": "^1.11.5"
|
|
14
|
+
"ngx-toastr": "^13.2.0",
|
|
15
|
+
"oidc-client": "^1.11.5",
|
|
16
|
+
"reflect-metadata": "^0.1.13",
|
|
17
|
+
"tslib": "^2.0.0"
|
|
16
18
|
},
|
|
17
19
|
"main": "bundles/bnsights-bbsf-utilities.umd.js",
|
|
18
20
|
"module": "fesm2015/bnsights-bbsf-utilities.js",
|
package/public-api.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './lib/shared/services/translate.service';
|
|
|
7
7
|
export * from './lib/shared/services/controlvalidation.service';
|
|
8
8
|
export * from './lib/shared/services/masterlayout.service';
|
|
9
9
|
export * from './lib/shared/services/translationresolver.service';
|
|
10
|
+
export * from './lib/shared/services/AppearanceConfiguration.service';
|
|
10
11
|
export * from './lib/shared/config/environment';
|
|
11
12
|
export * from './lib/shared/authentication/auth.service';
|
|
12
13
|
export * from './lib/shared/models/RequestOptionsModel';
|
|
Binary file
|