bpm-core 0.0.20 → 0.0.21

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,24 +1,19 @@
1
- import { AfterViewChecked, AfterViewInit, OnInit } from '@angular/core';
2
- import { CoreI18nService } from '../../../services';
1
+ import { AfterViewChecked, OnInit } from '@angular/core';
2
+ import { CoreI18nService, CoreService, SidenavService } from '../../../services';
3
3
  import { Form, Section } from '../../../interfaces';
4
4
  import * as i0 from "@angular/core";
5
- export declare class FormSectionComponent implements OnInit, AfterViewChecked, AfterViewInit {
5
+ export declare class FormSectionComponent implements OnInit, AfterViewChecked {
6
6
  i18n: CoreI18nService;
7
+ private readonly coreService;
8
+ private readonly sidenavService;
7
9
  userType: string;
8
- popover?: any;
9
10
  popoverType: string;
10
- popoverPosition: {
11
- top: number;
12
- left: number;
13
- };
14
11
  requestDetails: Section;
15
12
  userPopoverInfo: any;
16
13
  section: Section;
17
14
  form: Form;
18
15
  lov: any;
19
16
  isReadOnly: boolean;
20
- isOpen: boolean;
21
- isFinalApproval: boolean;
22
17
  controllers: any;
23
18
  segmentDynamicLoaderService: any;
24
19
  sectionFormComponent: any;
@@ -26,7 +21,7 @@ export declare class FormSectionComponent implements OnInit, AfterViewChecked, A
26
21
  sectionNumber: number;
27
22
  sectionStatusValue: string;
28
23
  sectionStatusKey: string;
29
- receipient: {
24
+ recipient: {
30
25
  isShowing: boolean;
31
26
  profile: any;
32
27
  };
@@ -35,24 +30,18 @@ export declare class FormSectionComponent implements OnInit, AfterViewChecked, A
35
30
  profile: any;
36
31
  };
37
32
  input: any;
38
- highlightFlag: boolean;
39
33
  processingDate: string;
40
34
  randomID: number;
41
- constructor(i18n: CoreI18nService);
35
+ constructor(i18n: CoreI18nService, coreService: CoreService, sidenavService: SidenavService);
42
36
  ngOnInit(): void;
43
- ngOnChanges(): void;
44
- ngAfterViewInit(): void;
45
37
  get isExpanded(): boolean;
46
- ServicesSubScriptions(): void;
47
38
  ngAfterViewChecked(): void;
48
39
  sectionId(): string;
49
- getSectionName(): string;
50
- getFormStepStatus(key: string): string;
40
+ private createUserProfileFromResponse;
41
+ private openOrCreateUserProfile;
51
42
  toggleSmallProfileInfo(event: any, personType: any): void;
52
- statusIconClass(status: string, type: string): "danger" | "close" | "warning" | "clock" | "success" | "check";
53
- locationHref(hrefLink: any): void;
54
43
  statusClass(status: string): "danger" | "warning" | "success";
55
44
  statusIcon(status: string): "close" | "clock" | "check";
56
45
  static ɵfac: i0.ɵɵFactoryDeclaration<FormSectionComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<FormSectionComponent, "app-form-section", never, { "requestDetails": { "alias": "requestDetails"; "required": false; }; "section": { "alias": "section"; "required": false; }; "form": { "alias": "form"; "required": false; }; "lov": { "alias": "lov"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "isFinalApproval": { "alias": "isFinalApproval"; "required": false; }; "controllers": { "alias": "controllers"; "required": false; }; "segmentDynamicLoaderService": { "alias": "segmentDynamicLoaderService"; "required": false; }; "sectionFormComponent": { "alias": "sectionFormComponent"; "required": false; }; "sectionName": { "alias": "sectionName"; "required": false; }; }, {}, never, never, true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormSectionComponent, "app-form-section", never, { "requestDetails": { "alias": "requestDetails"; "required": false; }; "section": { "alias": "section"; "required": false; }; "form": { "alias": "form"; "required": false; }; "lov": { "alias": "lov"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "controllers": { "alias": "controllers"; "required": false; }; "segmentDynamicLoaderService": { "alias": "segmentDynamicLoaderService"; "required": false; }; "sectionFormComponent": { "alias": "sectionFormComponent"; "required": false; }; "sectionName": { "alias": "sectionName"; "required": false; }; }, {}, never, never, true, never>;
58
47
  }
package/lib/i18n/en.d.ts CHANGED
@@ -170,6 +170,5 @@ declare const _default: {
170
170
  NORMAL: string;
171
171
  select: string;
172
172
  addMultiAttachments: string;
173
- vpr_dRole: string;
174
173
  };
175
174
  export default _default;
@@ -1,8 +1,7 @@
1
1
  import { GeneralApproverSectionComponent } from "../general-approver-section/general-approver-section.component";
2
2
  declare const _default: {
3
3
  roleToApprovalSectionMapping: {
4
- wpo_d: typeof GeneralApproverSectionComponent;
5
- wpo_gm: typeof GeneralApproverSectionComponent;
4
+ vpr_d: typeof GeneralApproverSectionComponent;
6
5
  };
7
6
  };
8
7
  export default _default;
@@ -5,8 +5,7 @@ export declare class SegmentDynamicLoaderService {
5
5
  private i18n;
6
6
  requestDetailsSection: typeof RequestDetailsSectionComponent;
7
7
  roleToApprovalSectionMapping: {
8
- wpo_d: typeof import("../general-approver-section/general-approver-section.component").GeneralApproverSectionComponent;
9
- wpo_gm: typeof import("../general-approver-section/general-approver-section.component").GeneralApproverSectionComponent;
8
+ vpr_d: typeof import("../general-approver-section/general-approver-section.component").GeneralApproverSectionComponent;
10
9
  };
11
10
  constructor(i18n: I18nService);
12
11
  getComponent(componentId: string): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",
@@ -23,4 +23,4 @@
23
23
  "default": "./fesm2022/bpm-core.mjs"
24
24
  }
25
25
  }
26
- }
26
+ }