zek 16.1.27 → 16.1.28
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
|
|
11
|
+
protected readonly auth: AuthService;
|
|
12
12
|
private readonly baseUrl;
|
|
13
|
-
constructor(http: HttpClient,
|
|
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-
|
|
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;
|