zek 16.1.27 → 16.1.29

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.
@@ -8,13 +8,14 @@ export interface WebApiConfig {
8
8
  }
9
9
  export declare class WebApiClient {
10
10
  protected readonly http: HttpClient;
11
- protected readonly authService: AuthService;
11
+ protected readonly auth: AuthService;
12
12
  private readonly baseUrl;
13
- constructor(http: HttpClient, authService: AuthService, baseUrl: string);
13
+ constructor(http: HttpClient, auth: AuthService, baseUrl: string);
14
14
  get<T = any>(url: string, params?: any): Observable<T>;
15
15
  getString(url: string, params?: object): Observable<string | null>;
16
16
  getBytes(url: string, params?: any): Observable<ArrayBuffer>;
17
17
  getBlob(url: string, params?: any): Observable<Blob>;
18
+ postBlob(url: string, body: any): Observable<Blob>;
18
19
  protected toHttpParams(obj: any): HttpParams | undefined;
19
20
  post<T = any>(url: string, body?: any | null): Observable<T>;
20
21
  put<T = any>(url: string, body?: any | null): Observable<T>;
@@ -16,7 +16,7 @@ export declare enum Color {
16
16
  Dark = 8
17
17
  }
18
18
  export declare class BootstrapHelper {
19
- static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-dark text-white" | "bg-secondary text-white" | "bg-info text-dark";
19
+ static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-secondary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-info text-dark" | "bg-dark text-white";
20
20
  static cssIcon(type: ComponentType): string | null;
21
21
  static cssButton(type: ComponentType): string;
22
22
  static cssAlert(type?: AlertType | null): string;
@@ -1,3 +1,4 @@
1
1
  export declare class FileHelper {
2
2
  static getExtension(path?: string | null): string | null | undefined;
3
+ static download(blob: Blob | null, fileName: string): void;
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "16.1.27",
3
+ "version": "16.1.29",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"