bpm-core 0.0.19 → 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.
- package/esm2022/lib/components/app-component-sections/form-section/form-section.component.mjs +69 -117
- package/esm2022/lib/components/app-component-sections/main-request-details/main-request-details.component.mjs +5 -3
- package/esm2022/lib/components/app-component-sections/workflow-section/workflow-section.component.mjs +2 -2
- package/esm2022/lib/i18n/en.mjs +1 -1
- package/esm2022/lib/testComponent/config/segment-dynamic-loader.config.mjs +2 -3
- package/fesm2022/bpm-core.mjs +83 -132
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/app-component-sections/form-section/form-section.component.d.ts +10 -21
- package/lib/components/app-component-sections/service-header/service-header.component.d.ts +1 -1
- package/lib/testComponent/config/segment-dynamic-loader.config.d.ts +1 -2
- package/lib/testComponent/services/segment-dynamic-loader.service.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import { AfterViewChecked,
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
50
|
-
|
|
40
|
+
private createUserProfileFromResponse;
|
|
41
|
+
private openOrCreateUserProfile;
|
|
51
42
|
toggleSmallProfileInfo(event: any, personType: any): void;
|
|
52
|
-
statusIconClass(status: string, type: string): "danger" | "warning" | "success" | "close" | "clock" | "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; }; "
|
|
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
|
}
|
|
@@ -27,7 +27,7 @@ export declare class ServiceHeaderComponent implements AfterViewInit {
|
|
|
27
27
|
feedback(): void;
|
|
28
28
|
showUserInfo(): void;
|
|
29
29
|
setFlagPriority(id: string): void;
|
|
30
|
-
statusClass(status: string): "
|
|
30
|
+
statusClass(status: string): "danger" | "warning" | "success" | "loading";
|
|
31
31
|
openFaq(): void;
|
|
32
32
|
getApprovalHistory(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceHeaderComponent, never>;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|