@planeasyinc/le-angular 0.0.13 → 0.0.15
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/dist/fesm2022/planeasyinc-le-angular.mjs +45 -7
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -1
- package/dist/lib/services/le-api.service.d.ts +1 -1
- package/dist/lib/services/le-data.service.d.ts +1 -1
- package/dist/lib/views/form-view/form-view.utils.d.ts +3 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export declare class LEApiService {
|
|
|
14
14
|
fileOptimized?: boolean;
|
|
15
15
|
}): Observable<IResponse>;
|
|
16
16
|
executeTransaction<IResponse, IBody extends Record<string, unknown> = Record<string, unknown>>(name: string, body: IBody, query?: string): Observable<IResponse>;
|
|
17
|
-
request<IResponse, IBody extends object>(method: string, path: string, body?: IBody): Observable<HttpEvent<IResponse>>;
|
|
17
|
+
request<IResponse, IBody extends object | string>(method: string, path: string, body?: IBody): Observable<HttpEvent<IResponse>>;
|
|
18
18
|
getBlob(path: string): Observable<string>;
|
|
19
19
|
private normalizeApiUrl;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<LEApiService, never>;
|
|
@@ -16,7 +16,7 @@ export declare class LEDataService {
|
|
|
16
16
|
registerEffects(): void;
|
|
17
17
|
setView(node: LeNode, skipLocationChange?: boolean): void;
|
|
18
18
|
requestConfig(force?: boolean): void;
|
|
19
|
-
request<IResponse, IBody extends object>(method: string, url: string, body?: IBody): Observable<HttpResponse<IResponse>>;
|
|
19
|
+
request<IResponse, IBody extends object | string>(method: string, url: string, body?: IBody): Observable<HttpResponse<IResponse>>;
|
|
20
20
|
getObjectByClassName<IResponse>(className: string): Observable<IResponse>;
|
|
21
21
|
navigateByNodeId(id: string): void;
|
|
22
22
|
private getNodeById;
|
|
@@ -16,4 +16,6 @@ export declare const mapActionBodyToFieldsArray: (body: Record<string, string>)
|
|
|
16
16
|
* @returns true if body fields have errors
|
|
17
17
|
*/
|
|
18
18
|
export declare const isErrorCorrespondActionBody: (body: Record<string, string>, errors: Record<string, any>) => boolean;
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const mapBodyStringModelToRequestBody: (bodyModel: string, values?: Record<string, any>) => any;
|
|
20
|
+
export declare const mapBodyObjectModelToRequestBody: (bodyModel?: Record<string, any>, values?: Record<string, any>) => Record<string, any>;
|
|
21
|
+
export declare const mapBodyModelToRequestBody: (bodyModel: Record<string, any> | string, values: Record<string, any>) => Record<string, any> | string;
|