zek 16.1.26 → 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.
- package/esm2022/lib/modules/edit-toolbar/edit-toolbar.mjs +3 -3
- package/esm2022/lib/services/web.api.mjs +7 -4
- package/esm2022/lib/utils/error-helper.mjs +1 -1
- package/fesm2022/zek.mjs +8 -5
- package/fesm2022/zek.mjs.map +1 -1
- package/lib/modules/edit-toolbar/edit-toolbar.d.ts +1 -1
- package/lib/services/web.api.d.ts +3 -2
- package/lib/utils/error-helper.d.ts +2 -2
- package/package.json +1 -1
|
@@ -27,5 +27,5 @@ export declare class ZekEditToolbar {
|
|
|
27
27
|
onExport: EventEmitter<number>;
|
|
28
28
|
exportExcel(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZekEditToolbar, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZekEditToolbar, "zek-edit-toolbar", never, { "showSave": { "alias": "showSave"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showExport": { "alias": "showExport"; "required": false; }; "showPrint": { "alias": "showPrint"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; "onPrint": "onPrint"; "onExport": "onExport"; }, never, ["*"], true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZekEditToolbar, "zek-edit-toolbar", never, { "showSave": { "alias": "showSave"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showExport": { "alias": "showExport"; "required": false; }; "showPrint": { "alias": "showPrint"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; "onPrint": "onPrint"; "onExport": "onExport"; }, never, ["[left]", "*"], true, never>;
|
|
31
31
|
}
|
|
@@ -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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyPair } from "../models";
|
|
2
2
|
export declare class ErrorHelper {
|
|
3
|
-
static responseToKeyPairArray(response: any): KeyPair<
|
|
4
|
-
static toKeyPairArray(error: any): KeyPair<
|
|
3
|
+
static responseToKeyPairArray(response: any): KeyPair<string | null | undefined, string | null | undefined>[] | null;
|
|
4
|
+
static toKeyPairArray(error: any): KeyPair<string | null | undefined, string | null | undefined>[] | null;
|
|
5
5
|
}
|