vcomply-workflow-engine 6.1.21 → 6.1.23
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/report-a-case/components/due-date/due-date.component.mjs +3 -2
- package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +2 -1
- package/esm2022/lib/sharedComponents/document-section/document-section.component.mjs +36 -14
- package/esm2022/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.mjs +15 -5
- package/esm2022/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.mjs +12 -5
- package/esm2022/lib/workflow-policy/ms-word.constants.mjs +2 -2
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +5 -5
- package/esm2022/lib/workflow-services/policy.service.mjs +2 -1
- package/fesm2022/vcomply-workflow-engine.mjs +67 -26
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/sharedComponents/document-section/document-section.component.d.ts +7 -5
- package/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.d.ts +1 -0
- package/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.d.ts +3 -1
- package/lib/workflow-policy/workflow-policy.component.d.ts +0 -1
- package/lib/workflow-services/policy.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { PlatformLocation } from '@angular/common';
|
|
2
|
-
import { EventEmitter,
|
|
2
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { SnackBarService } from '../../ui-kit/snack-bar/snack-bar.service';
|
|
5
5
|
import { PolicyService } from '../../workflow-services/policy.service';
|
|
6
6
|
import { PolicyAPIService } from '../../workflow-services/policy-api.service';
|
|
7
7
|
import { IframeService } from '../../services/iframe.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DocumentSectionComponent implements OnInit,
|
|
9
|
+
export declare class DocumentSectionComponent implements OnInit, OnDestroy {
|
|
10
10
|
private snackBar;
|
|
11
11
|
private policyService;
|
|
12
12
|
private policyAPIService;
|
|
13
13
|
private router;
|
|
14
14
|
private route;
|
|
15
15
|
private iframeService;
|
|
16
|
+
private templateViewSubscription;
|
|
16
17
|
private fileToUpload;
|
|
17
18
|
filename: string;
|
|
18
19
|
fileType: string;
|
|
@@ -32,7 +33,6 @@ export declare class DocumentSectionComponent implements OnInit, OnChanges {
|
|
|
32
33
|
member_obj_id: any;
|
|
33
34
|
userInfo: any;
|
|
34
35
|
templateUrl: string;
|
|
35
|
-
isTemplateOpened: boolean;
|
|
36
36
|
disconnectRefresh: EventEmitter<any>;
|
|
37
37
|
editPolicy: EventEmitter<any>;
|
|
38
38
|
openTemplate: EventEmitter<any>;
|
|
@@ -42,8 +42,9 @@ export declare class DocumentSectionComponent implements OnInit, OnChanges {
|
|
|
42
42
|
message: string;
|
|
43
43
|
};
|
|
44
44
|
constructor(snackBar: SnackBarService, policyService: PolicyService, policyAPIService: PolicyAPIService, router: Router, route: ActivatedRoute, platformLocation: PlatformLocation, iframeService: IframeService);
|
|
45
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
46
45
|
ngOnInit(): void;
|
|
46
|
+
checkTemplateView(): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
47
48
|
initialiseFeatureFlags(): void;
|
|
48
49
|
redirectUserToWordPolicy(): void;
|
|
49
50
|
createWordPolicy(): void;
|
|
@@ -52,11 +53,12 @@ export declare class DocumentSectionComponent implements OnInit, OnChanges {
|
|
|
52
53
|
showDocxBlock: boolean;
|
|
53
54
|
uploadFile(event: any): void;
|
|
54
55
|
uploadDocxfile(event: any): void;
|
|
56
|
+
resetUploads(): void;
|
|
55
57
|
resetDocsError(): void;
|
|
56
58
|
changeDocType(event: any): void;
|
|
57
59
|
editor(event: string): void;
|
|
58
60
|
editPolicyEmit(): void;
|
|
59
61
|
openTemplateList(): void;
|
|
60
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentSectionComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentSectionComponent, "lib-document-section", never, { "selectedDocumentType": { "alias": "selectedDocumentType"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "templateView": { "alias": "templateView"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "policyName": { "alias": "policyName"; "required": false; }; "organization_id": { "alias": "organization_id"; "required": false; }; "member_obj_id": { "alias": "member_obj_id"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; };
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentSectionComponent, "lib-document-section", never, { "selectedDocumentType": { "alias": "selectedDocumentType"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "templateView": { "alias": "templateView"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "policyName": { "alias": "policyName"; "required": false; }; "organization_id": { "alias": "organization_id"; "required": false; }; "member_obj_id": { "alias": "member_obj_id"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; }, { "disconnectRefresh": "disconnectRefresh"; "editPolicy": "editPolicy"; "openTemplate": "openTemplate"; }, never, never, false, never>;
|
|
62
64
|
}
|
|
@@ -39,6 +39,7 @@ export declare class SelectTemplateListComponent {
|
|
|
39
39
|
mapDefaultTemplate(): void;
|
|
40
40
|
sortBy(key: string): void;
|
|
41
41
|
onSelectCategory(category: any, event: any): void;
|
|
42
|
+
onRestoreSelectedData(event: any[]): void;
|
|
42
43
|
onApplyFilter(event: any): void;
|
|
43
44
|
onSelectTemplate(template: any): void;
|
|
44
45
|
save(): void;
|
|
@@ -15,6 +15,7 @@ export declare class CsMultiselectComponent implements OnChanges, AfterViewInit
|
|
|
15
15
|
applyFilter: EventEmitter<any>;
|
|
16
16
|
searchText: EventEmitter<string>;
|
|
17
17
|
resetSelectedData: EventEmitter<any>;
|
|
18
|
+
restoreSelectedData: EventEmitter<any[]>;
|
|
18
19
|
dropdownOption: boolean;
|
|
19
20
|
positionReset: boolean;
|
|
20
21
|
getLeft: number;
|
|
@@ -63,7 +64,8 @@ export declare class CsMultiselectComponent implements OnChanges, AfterViewInit
|
|
|
63
64
|
* @param applyFilter - Determines whether filter is applied or not
|
|
64
65
|
*/
|
|
65
66
|
closeDropdown(applyFilter: boolean): void;
|
|
67
|
+
resetToLastState(): void;
|
|
66
68
|
checkChanges(): boolean;
|
|
67
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<CsMultiselectComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CsMultiselectComponent, "cs-multi-select", never, { "isRequired": { "alias": "isRequired"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "dropdownSubLabel": { "alias": "dropdownSubLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; }, { "valueChange": "valueChange"; "applyFilter": "applyFilter"; "searchText": "searchText"; "resetSelectedData": "resetSelectedData"; }, never, ["*"], false, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CsMultiselectComponent, "cs-multi-select", never, { "isRequired": { "alias": "isRequired"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "dropdownSubLabel": { "alias": "dropdownSubLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; }, { "valueChange": "valueChange"; "applyFilter": "applyFilter"; "searchText": "searchText"; "resetSelectedData": "resetSelectedData"; "restoreSelectedData": "restoreSelectedData"; }, never, ["*"], false, never>;
|
|
69
71
|
}
|
|
@@ -225,7 +225,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
225
225
|
noWorkflowSelected: boolean;
|
|
226
226
|
templateView: boolean;
|
|
227
227
|
templateUrl: string;
|
|
228
|
-
isTemplateClosed: boolean;
|
|
229
228
|
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef, restApiService: RestApiService, commonService: CommonService, organizationUserService: OrganizationUserService, organizationCommonService: OrganizationCommonService, complianceCommonService: ComplianceCommonService, iframeService: IframeService);
|
|
230
229
|
policyForm: PolicyForm;
|
|
231
230
|
ngOnInit(): void;
|
|
@@ -9,6 +9,7 @@ export declare class PolicyService {
|
|
|
9
9
|
env: any;
|
|
10
10
|
PolicyCategoryList: BehaviorSubject<any>;
|
|
11
11
|
linkedPolicies$: BehaviorSubject<any>;
|
|
12
|
+
templateView: BehaviorSubject<any>;
|
|
12
13
|
linkRelatePolicies: any;
|
|
13
14
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
14
15
|
getCategoriesList(): import("rxjs").Observable<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.23",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x ",
|
|
6
6
|
"@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x "
|