@bnsights/bbsf-utilities 1.0.67 → 1.0.69-beta.0
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/README.md +71 -2
- package/auth/index.d.ts +5 -0
- package/auth/public-api.d.ts +1 -0
- package/esm2022/auth/bnsights-bbsf-utilities-auth.mjs +5 -0
- package/esm2022/auth/public-api.mjs +5 -0
- package/esm2022/http/bnsights-bbsf-utilities-http.mjs +5 -0
- package/esm2022/http/public-api.mjs +8 -0
- package/esm2022/lib/shared/services/preload.service.mjs +1 -4
- package/esm2022/lib/shared/services/request-handler.service.mjs +39 -45
- package/esm2022/lib/shared/services/styles-bundle.service.mjs +27 -6
- package/esm2022/public-api.mjs +40 -17
- package/esm2022/translate/bnsights-bbsf-utilities-translate.mjs +5 -0
- package/esm2022/translate/public-api.mjs +7 -0
- package/esm2022/ui/bnsights-bbsf-utilities-ui.mjs +5 -0
- package/esm2022/ui/public-api.mjs +8 -0
- package/esm2022/word/bnsights-bbsf-utilities-word.mjs +5 -0
- package/esm2022/word/public-api.mjs +6 -0
- package/fesm2022/bnsights-bbsf-utilities-auth.mjs +10 -0
- package/fesm2022/bnsights-bbsf-utilities-auth.mjs.map +1 -0
- package/fesm2022/bnsights-bbsf-utilities-http.mjs +10 -0
- package/fesm2022/bnsights-bbsf-utilities-http.mjs.map +1 -0
- package/fesm2022/bnsights-bbsf-utilities-translate.mjs +10 -0
- package/fesm2022/bnsights-bbsf-utilities-translate.mjs.map +1 -0
- package/fesm2022/bnsights-bbsf-utilities-ui.mjs +10 -0
- package/fesm2022/bnsights-bbsf-utilities-ui.mjs.map +1 -0
- package/fesm2022/bnsights-bbsf-utilities-word.mjs +10 -0
- package/fesm2022/bnsights-bbsf-utilities-word.mjs.map +1 -0
- package/fesm2022/bnsights-bbsf-utilities.mjs +75 -55
- package/fesm2022/bnsights-bbsf-utilities.mjs.map +1 -1
- package/http/index.d.ts +5 -0
- package/http/public-api.d.ts +4 -0
- package/lib/shared/services/request-handler.service.d.ts +1 -2
- package/lib/shared/services/styles-bundle.service.d.ts +7 -1
- package/package.json +36 -4
- package/public-api.d.ts +15 -11
- package/translate/index.d.ts +5 -0
- package/translate/public-api.d.ts +3 -0
- package/ui/index.d.ts +5 -0
- package/ui/public-api.d.ts +4 -0
- package/word/index.d.ts +5 -0
- package/word/public-api.d.ts +2 -0
package/http/index.d.ts
ADDED
|
@@ -13,7 +13,6 @@ export declare class RequestHandlerService implements OnDestroy {
|
|
|
13
13
|
private utilityService;
|
|
14
14
|
private bbsfTranslateService;
|
|
15
15
|
private router;
|
|
16
|
-
private requestOptions;
|
|
17
16
|
private currentLanguage;
|
|
18
17
|
onDestroy$: Subject<void>;
|
|
19
18
|
constructor(http: HttpClient, authService: AuthService, environmentService: EnvironmentService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, router: Router);
|
|
@@ -24,7 +23,7 @@ export declare class RequestHandlerService implements OnDestroy {
|
|
|
24
23
|
put<T>(Url: string, model?: any, params?: HttpParams, responseType?: new () => T, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
25
24
|
patch<T>(Url: string, model?: any, responseType?: new () => T, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
26
25
|
download<T>(Url: string, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
27
|
-
Upload<T>(Url: string, model?: any): Observable<any>;
|
|
26
|
+
Upload<T>(Url: string, model?: any, requestOptions?: RequestOptionsModel): Observable<any>;
|
|
28
27
|
destroyHandler(): void;
|
|
29
28
|
ngOnDestroy(): void;
|
|
30
29
|
private handleError;
|
|
@@ -6,7 +6,13 @@ export declare class StylesBundleService {
|
|
|
6
6
|
constructor(document: Document, translateService: BBSFTranslateService);
|
|
7
7
|
loadThemes(lang: string, bundleEnglishName: string, bundleArabicName: string): void;
|
|
8
8
|
loadThemesColor(theme: string, bundleDarkName: string, bundleLightName: string): void;
|
|
9
|
-
loadStyleBundle
|
|
9
|
+
private loadStyleBundle;
|
|
10
|
+
/**
|
|
11
|
+
* Extract filename from full path
|
|
12
|
+
* @param path Full path or just filename
|
|
13
|
+
* @returns The filename only
|
|
14
|
+
*/
|
|
15
|
+
private getFileName;
|
|
10
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<StylesBundleService, never>;
|
|
11
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<StylesBundleService>;
|
|
12
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.69-beta.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^17.0.5",
|
|
6
6
|
"@angular/cdk": "^17.0.2",
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"@angular/router": "^17.0.5"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
+
"lodash": "^4.17.21",
|
|
16
|
+
"nanoid": "^5.0.4",
|
|
17
|
+
"tslib": "^2.6.2"
|
|
18
|
+
},
|
|
19
|
+
"optionalDependencies": {
|
|
15
20
|
"@auth0/angular-jwt": "^5.2.0",
|
|
16
21
|
"color-name": "^2.0.0",
|
|
17
22
|
"escape-html": "^1.0.3",
|
|
@@ -19,7 +24,6 @@
|
|
|
19
24
|
"image-size": "^1.0.2",
|
|
20
25
|
"image-to-base64": "^2.2.0",
|
|
21
26
|
"jszip": "^3.10.1",
|
|
22
|
-
"lodash": "^4.17.21",
|
|
23
27
|
"mime-types": "^2.1.35",
|
|
24
28
|
"ngx-cookie-service": "17.0.0",
|
|
25
29
|
"virtual-dom": "^2.1.1",
|
|
@@ -28,8 +32,6 @@
|
|
|
28
32
|
"ngx-toastr": "^18.0.0",
|
|
29
33
|
"oidc-client": "^1.11.5",
|
|
30
34
|
"class-transformer": "^0.5.1",
|
|
31
|
-
"nanoid": "^5.0.4",
|
|
32
|
-
"tslib": "^2.6.2",
|
|
33
35
|
"@ngx-translate/core": "^15.0.0"
|
|
34
36
|
},
|
|
35
37
|
"module": "fesm2022/bnsights-bbsf-utilities.mjs",
|
|
@@ -43,6 +45,36 @@
|
|
|
43
45
|
"esm2022": "./esm2022/bnsights-bbsf-utilities.mjs",
|
|
44
46
|
"esm": "./esm2022/bnsights-bbsf-utilities.mjs",
|
|
45
47
|
"default": "./fesm2022/bnsights-bbsf-utilities.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./auth": {
|
|
50
|
+
"types": "./auth/index.d.ts",
|
|
51
|
+
"esm2022": "./esm2022/auth/bnsights-bbsf-utilities-auth.mjs",
|
|
52
|
+
"esm": "./esm2022/auth/bnsights-bbsf-utilities-auth.mjs",
|
|
53
|
+
"default": "./fesm2022/bnsights-bbsf-utilities-auth.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./http": {
|
|
56
|
+
"types": "./http/index.d.ts",
|
|
57
|
+
"esm2022": "./esm2022/http/bnsights-bbsf-utilities-http.mjs",
|
|
58
|
+
"esm": "./esm2022/http/bnsights-bbsf-utilities-http.mjs",
|
|
59
|
+
"default": "./fesm2022/bnsights-bbsf-utilities-http.mjs"
|
|
60
|
+
},
|
|
61
|
+
"./ui": {
|
|
62
|
+
"types": "./ui/index.d.ts",
|
|
63
|
+
"esm2022": "./esm2022/ui/bnsights-bbsf-utilities-ui.mjs",
|
|
64
|
+
"esm": "./esm2022/ui/bnsights-bbsf-utilities-ui.mjs",
|
|
65
|
+
"default": "./fesm2022/bnsights-bbsf-utilities-ui.mjs"
|
|
66
|
+
},
|
|
67
|
+
"./translate": {
|
|
68
|
+
"types": "./translate/index.d.ts",
|
|
69
|
+
"esm2022": "./esm2022/translate/bnsights-bbsf-utilities-translate.mjs",
|
|
70
|
+
"esm": "./esm2022/translate/bnsights-bbsf-utilities-translate.mjs",
|
|
71
|
+
"default": "./fesm2022/bnsights-bbsf-utilities-translate.mjs"
|
|
72
|
+
},
|
|
73
|
+
"./word": {
|
|
74
|
+
"types": "./word/index.d.ts",
|
|
75
|
+
"esm2022": "./esm2022/word/bnsights-bbsf-utilities-word.mjs",
|
|
76
|
+
"esm": "./esm2022/word/bnsights-bbsf-utilities-word.mjs",
|
|
77
|
+
"default": "./fesm2022/bnsights-bbsf-utilities-word.mjs"
|
|
46
78
|
}
|
|
47
79
|
},
|
|
48
80
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
export * from './lib/bbsf-utilities.module';
|
|
2
|
-
export * from './lib/shared/services/utility.service';
|
|
3
2
|
export * from './lib/shared/services/environment.service';
|
|
4
|
-
export * from './lib/shared/services/request-handler.service';
|
|
5
3
|
export * from './lib/shared/services/styles-bundle.service';
|
|
6
|
-
export * from './lib/shared/services/translate.service';
|
|
7
|
-
export * from './lib/shared/services/control-validation.service';
|
|
8
|
-
export * from './lib/shared/services/master-layout.service';
|
|
9
|
-
export * from './lib/shared/services/translation-resolver.service';
|
|
10
4
|
export * from './lib/shared/services/appearance-configuration.service';
|
|
11
5
|
export * from './lib/shared/services/configuration.service';
|
|
12
|
-
export * from './lib/shared/
|
|
13
|
-
export * from './lib/shared/
|
|
14
|
-
export * from './lib/shared/
|
|
6
|
+
export * from './lib/shared/config/environment';
|
|
7
|
+
export * from './lib/shared/models/area-model';
|
|
8
|
+
export * from './lib/shared/models/error-model';
|
|
9
|
+
export * from './lib/shared/models/UserModel';
|
|
10
|
+
export * from './lib/shared/enums/authentication-modes-enums';
|
|
11
|
+
export * from './lib/shared/services/utility.service';
|
|
12
|
+
export * from './lib/shared/services/control-validation.service';
|
|
15
13
|
export * from './lib/shared/services/speech-recognition.service';
|
|
14
|
+
export * from './lib/shared/services/translate.service';
|
|
15
|
+
export * from './lib/shared/services/translation-resolver.service';
|
|
16
|
+
export { TranslationResolverService } from './lib/shared/services/translation-resolver.service';
|
|
17
|
+
export * from './lib/shared/services/language.service';
|
|
18
|
+
export * from './lib/shared/services/request-handler.service';
|
|
19
|
+
export * from './lib/shared/services/master-layout.service';
|
|
16
20
|
export * from './lib/shared/services/preload.service';
|
|
17
|
-
export * from './lib/shared/config/environment';
|
|
18
21
|
export * from './lib/shared/models/request-options-model';
|
|
22
|
+
export * from './lib/shared/services/word-document.service';
|
|
19
23
|
export * from './lib/shared/models/word-document-model';
|
|
24
|
+
export * from './lib/shared/authentication/auth.service';
|
|
20
25
|
export * from './lib/shared/models/speech-language';
|
|
21
|
-
export * from './lib/shared/enums/authentication-modes-enums';
|
package/ui/index.d.ts
ADDED
package/word/index.d.ts
ADDED