bpm-core 0.0.41 → 0.0.43

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.
@@ -1,5 +1,5 @@
1
1
  import { Router } from "@angular/router";
2
- import { CoreService, SidenavService } from "../services";
2
+ import { CoreI18nService, CoreService, SidenavService } from "../services";
3
3
  import { Form } from "../interfaces";
4
4
  import { SegmentDynamicLoaderService } from "../testComponent/services/segment-dynamic-loader.service";
5
5
  import * as i0 from "@angular/core";
@@ -8,14 +8,16 @@ export declare class CoreAppComponent {
8
8
  private readonly document;
9
9
  private readonly router;
10
10
  private readonly sidenavService;
11
+ i18n: CoreI18nService;
11
12
  private coreService;
12
13
  loading: {
13
14
  form: boolean;
14
15
  };
15
16
  form: Form;
16
17
  formTitle: string;
17
- constructor(segmentDynamicLoader: SegmentDynamicLoaderService, document: Document, router: Router, sidenavService: SidenavService, coreService: CoreService);
18
- errorResponse(form: any): void;
18
+ noError: boolean;
19
+ errorMessage: [];
20
+ constructor(segmentDynamicLoader: SegmentDynamicLoaderService, document: Document, router: Router, sidenavService: SidenavService, i18n: CoreI18nService, coreService: CoreService);
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<CoreAppComponent, never>;
20
22
  static ɵcmp: i0.ɵɵComponentDeclaration<CoreAppComponent, "lib-app", never, {}, {}, never, never, true, never>;
21
23
  }
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from "@angular/common/http";
2
2
  import type { MyLibConfig } from "../interfaces/shared.interface";
3
- import { Form } from "../../public-api";
3
+ import { Observable } from "rxjs";
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CoreService {
6
6
  private http;
@@ -21,13 +21,13 @@ export declare class CoreService {
21
21
  approvals: any;
22
22
  constructor(http: HttpClient, config: MyLibConfig);
23
23
  getLoggedInUserData(): void;
24
- loadForm(): import("rxjs").Observable<Form | import("rxjs").Observable<never>>;
24
+ loadForm(): Observable<any>;
25
25
  private buildAuthUrl;
26
26
  private buildBody;
27
- employeeProfile(employeeEmail: any): import("rxjs").Observable<any>;
27
+ employeeProfile(employeeEmail: any): Observable<any>;
28
28
  private getRequestOptions;
29
29
  private getDraftId;
30
- submitForm(...args: any[]): import("rxjs").Observable<{
30
+ submitForm(...args: any[]): Observable<{
31
31
  id: any;
32
32
  status: any;
33
33
  nextApprover: {
@@ -48,12 +48,12 @@ export declare class CoreService {
48
48
  private successWm;
49
49
  loadFile(...args: any): Promise<import("@angular/common/http").HttpResponse<Object>>;
50
50
  dataURItoBlob(dataURI: any): Blob;
51
- setFlagPriority(id: string): import("rxjs").Observable<any>;
52
- loadHistory(...args: any[]): import("rxjs").Observable<any>;
53
- getInboxItem(...args: any[]): import("rxjs").Observable<any>;
54
- prespectiveApprovers(details: any): import("rxjs").Observable<any>;
55
- myRequests(details: any): import("rxjs").Observable<any>;
56
- generalCallApi(body: any, type: string, options: any): import("rxjs").Observable<any>;
51
+ setFlagPriority(id: string): Observable<any>;
52
+ loadHistory(...args: any[]): Observable<any>;
53
+ getInboxItem(...args: any[]): Observable<any>;
54
+ prespectiveApprovers(details: any): Observable<any>;
55
+ myRequests(details: any): Observable<any>;
56
+ generalCallApi(body: any, type: string, options: any): Observable<any>;
57
57
  loggedInUserId(): any;
58
58
  getShortName(name: string): string | string[];
59
59
  isMobileApp(): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",