vcomply-workflow-engine 6.1.67 → 6.1.68
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/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +34 -6
- package/esm2022/lib/constants/assets.constants.mjs +2 -1
- package/esm2022/lib/constants/policy.constant.mjs +6 -0
- package/esm2022/lib/constants/regix.constants.mjs +4 -0
- package/esm2022/lib/constants/responsibility.mjs +8 -0
- package/esm2022/lib/formgroup/select/cs-select/cs-select.component.mjs +2 -2
- package/esm2022/lib/interfaces/policy.interface.mjs +2 -0
- package/esm2022/lib/log-an-issue/log-an-issue.component.mjs +9 -1
- package/esm2022/lib/more-option/more-option.component.mjs +3 -13
- package/esm2022/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.mjs +29 -3
- package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +55 -29
- package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +32 -13
- package/esm2022/lib/report-a-case/constants/api.constants.mjs +3 -2
- package/esm2022/lib/report-a-case/constants/report-case.constants.mjs +3 -1
- package/esm2022/lib/report-a-case/report-case.module.mjs +5 -2
- package/esm2022/lib/report-a-case/services/date-utility.service.mjs +29 -0
- package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +16 -4
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +54 -45
- package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +3 -1
- package/esm2022/lib/sharedComponents/document-section/document-section.component.mjs +39 -14
- package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +24 -10
- package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.module.mjs +19 -15
- package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +2 -2
- package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +19 -19
- package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +19 -0
- package/esm2022/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.mjs +15 -5
- package/esm2022/lib/ui-kit/banner/banner.component.mjs +44 -0
- package/esm2022/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.mjs +12 -5
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +79 -19
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +2 -2
- package/esm2022/lib/workflow-engine.module.mjs +5 -2
- package/esm2022/lib/workflow-policy/ms-word.constants.mjs +2 -2
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +70 -35
- package/esm2022/lib/workflow-program/constants.mjs +9 -1
- package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +7 -1
- package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +11 -13
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +5 -5
- package/esm2022/lib/workflow-services/policy.service.mjs +7 -1
- package/esm2022/lib/workflow-services/programs.service.mjs +1 -1
- package/fesm2022/vcomply-workflow-engine.mjs +1130 -748
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +1 -0
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +3 -0
- package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -0
- package/lib/constants/assets.constants.d.ts +1 -0
- package/lib/constants/policy.constant.d.ts +2 -0
- package/lib/constants/regix.constants.d.ts +3 -0
- package/lib/constants/responsibility.d.ts +7 -0
- package/lib/interfaces/policy.interface.d.ts +5 -0
- package/lib/log-an-issue/log-an-issue.component.d.ts +2 -0
- package/lib/more-option/more-option.component.d.ts +1 -0
- package/lib/report-a-case/components/assignee/assignee.component.d.ts +1 -0
- package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +1 -0
- package/lib/report-a-case/components/case-category/case-category.component.d.ts +1 -0
- package/lib/report-a-case/components/case-details/case-details.component.d.ts +1 -0
- package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +1 -0
- package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +1 -0
- package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +9 -3
- package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +1 -0
- package/lib/report-a-case/components/due-date/due-date.component.d.ts +10 -2
- package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +1 -0
- package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +1 -0
- package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +1 -0
- package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +1 -0
- package/lib/report-a-case/components/report-date/report-date.component.d.ts +9 -1
- package/lib/report-a-case/constants/api.constants.d.ts +1 -0
- package/lib/report-a-case/constants/report-case.constants.d.ts +2 -0
- package/lib/report-a-case/report-case.module.d.ts +23 -22
- package/lib/report-a-case/services/date-utility.service.d.ts +9 -0
- package/lib/report-a-case/services/report-a-case.service.d.ts +2 -1
- package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +5 -1
- package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +1 -0
- package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +1 -0
- package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +6 -0
- package/lib/sharedComponents/category-list/category-list.component.d.ts +1 -0
- package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +1 -0
- package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +1 -0
- package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +1 -0
- package/lib/sharedComponents/document-section/document-section.component.d.ts +8 -5
- package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +5 -1
- package/lib/sharedComponents/format-and-evidence/format-and-evidence.module.d.ts +8 -7
- package/lib/sharedComponents/framework-list/framework-list.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +1 -0
- package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +1 -0
- package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +1 -0
- package/lib/sharedComponents/owner-list/owner-list.component.d.ts +1 -0
- package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +7 -0
- package/lib/sharedComponents/policy-access/policy-access.component.d.ts +1 -0
- package/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.d.ts +1 -0
- package/lib/sharedComponents/program-listing/program-listing.component.d.ts +1 -0
- package/lib/sharedComponents/radio-list/radio-list.component.d.ts +1 -0
- package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +1 -0
- package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +1 -0
- package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +1 -0
- package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +1 -0
- package/lib/sharedComponents/roles-list/roles-list.component.d.ts +1 -0
- package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +1 -0
- package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +1 -0
- package/lib/ui-kit/banner/banner.component.d.ts +8 -0
- package/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.d.ts +3 -1
- package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +1 -0
- package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +1 -0
- package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +1 -0
- package/lib/workflow-assessment/workflow-assessment.component.d.ts +1 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +5 -0
- package/lib/workflow-engine.module.d.ts +44 -43
- package/lib/workflow-policy/workflow-policy.component.d.ts +3 -0
- package/lib/workflow-program/constants.d.ts +3 -0
- package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +1 -0
- package/lib/workflow-program/workflow-program.component.d.ts +1 -0
- package/lib/workflow-risk/workflow-risk.component.d.ts +2 -1
- package/lib/workflow-services/policy.service.d.ts +2 -0
- package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +1 -0
- package/package.json +1 -1
package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts
CHANGED
|
@@ -116,6 +116,8 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
116
116
|
name: number;
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
+
isDayInvalid: boolean;
|
|
120
|
+
isDateFormatInvalid: boolean;
|
|
119
121
|
constructor(riskService: AddRiskService, responsibilityService: ResponsibilityService, authService: AuthService, frequencyService: FrequencyBulkService, snackBar: SnackBarService, iframeService: IframeService);
|
|
120
122
|
ngOnChanges(changes: SimpleChanges): void;
|
|
121
123
|
ngOnInit(): void;
|
|
@@ -189,6 +191,7 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
189
191
|
* @returns An object with the following properties:
|
|
190
192
|
*/
|
|
191
193
|
setReportDetails(report: any, tabType: string, isProgram: boolean): any;
|
|
194
|
+
isValidRiskClass(riskClass: any): boolean;
|
|
192
195
|
/**
|
|
193
196
|
* It takes a string, removes all whitespace, and returns the string
|
|
194
197
|
* @param {any} name - the name of the responsibility
|
|
@@ -76,6 +76,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
76
76
|
sequential: string;
|
|
77
77
|
round_robin: string;
|
|
78
78
|
anyone: string;
|
|
79
|
+
collaborator: string;
|
|
79
80
|
};
|
|
80
81
|
openedFrom: any;
|
|
81
82
|
source: 'SAP' | 'WORKROOM' | '';
|
|
@@ -251,6 +252,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
251
252
|
selectFile(type: string, files: any): void;
|
|
252
253
|
uploadFile(file: any, type: string): void;
|
|
253
254
|
deleteFile(file: any, type: string): void;
|
|
255
|
+
handleIssueIdFromResponse(res: any): void;
|
|
254
256
|
addIssue(): void;
|
|
255
257
|
closeSmiley(evt?: any): void;
|
|
256
258
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
|
|
3
3
|
import { ReportACaseService } from '../../services/report-a-case.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CaseResolutionDeadlineComponent {
|
|
5
|
+
export declare class CaseResolutionDeadlineComponent implements OnInit {
|
|
6
6
|
private reportACaseService;
|
|
7
7
|
ASSETS: {
|
|
8
8
|
responsibility_center: string;
|
|
@@ -57,6 +57,7 @@ export declare class CaseResolutionDeadlineComponent {
|
|
|
57
57
|
sequential: string;
|
|
58
58
|
round_robin: string;
|
|
59
59
|
anyone: string;
|
|
60
|
+
collaborator: string;
|
|
60
61
|
};
|
|
61
62
|
dueDateTexts: {
|
|
62
63
|
case_type: string;
|
|
@@ -162,21 +163,26 @@ export declare class CaseResolutionDeadlineComponent {
|
|
|
162
163
|
initialResolutionDeadline: any;
|
|
163
164
|
fieldSelector: string[];
|
|
164
165
|
dueDateHelpText: string;
|
|
166
|
+
latestValidDeadline: string;
|
|
167
|
+
taskCount: number;
|
|
165
168
|
payload: any;
|
|
166
169
|
userList: any[];
|
|
167
170
|
groupList: any[];
|
|
168
171
|
mode: string;
|
|
172
|
+
caseId: string;
|
|
169
173
|
set initialSelection(value: any);
|
|
170
174
|
fieldSelected: string;
|
|
171
175
|
validationError: any;
|
|
172
176
|
fieldClicked: EventEmitter<string>;
|
|
173
177
|
filterDeselector: EventEmitter<any>;
|
|
174
178
|
constructor(reportACaseService: ReportACaseService);
|
|
179
|
+
ngOnInit(): void;
|
|
180
|
+
validateDeadline(): void;
|
|
175
181
|
saveSelectedDueDate(): void;
|
|
176
182
|
setSelectedRcList(event: any): void;
|
|
177
183
|
activateSelector(active: boolean): void;
|
|
178
184
|
getWorkflowDetails(): void;
|
|
179
185
|
isCaseResolutionDeadlineDisabled(): boolean;
|
|
180
186
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseResolutionDeadlineComponent, never>;
|
|
181
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaseResolutionDeadlineComponent, "app-case-resolution-deadline", never, { "payload": { "alias": "payload"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "filterDeselector": "filterDeselector"; }, never, never, false, never>;
|
|
187
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseResolutionDeadlineComponent, "app-case-resolution-deadline", never, { "payload": { "alias": "payload"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "caseId": { "alias": "caseId"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "filterDeselector": "filterDeselector"; }, never, never, false, never>;
|
|
182
188
|
}
|
|
@@ -2,10 +2,12 @@ import { ElementRef, OnInit, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
|
|
3
3
|
import { CommonService } from '../../../services/common.service';
|
|
4
4
|
import { FrequencyService } from '../../../sharedComponents/frequency/frequency.service';
|
|
5
|
+
import { DateUtilityService } from '../../services/date-utility.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DueDateComponent implements OnInit {
|
|
7
8
|
private commonDateService;
|
|
8
9
|
private frequencyService;
|
|
10
|
+
private dateUtilityService;
|
|
9
11
|
datePicker: DatePickerComponent;
|
|
10
12
|
ASSETS: {
|
|
11
13
|
responsibility_center: string;
|
|
@@ -60,6 +62,7 @@ export declare class DueDateComponent implements OnInit {
|
|
|
60
62
|
sequential: string;
|
|
61
63
|
round_robin: string;
|
|
62
64
|
anyone: string;
|
|
65
|
+
collaborator: string;
|
|
63
66
|
};
|
|
64
67
|
animation: boolean;
|
|
65
68
|
datePickerPopUp: ElementRef;
|
|
@@ -173,6 +176,7 @@ export declare class DueDateComponent implements OnInit {
|
|
|
173
176
|
escalationEmail: number;
|
|
174
177
|
showError: boolean;
|
|
175
178
|
showAssigneeError: boolean;
|
|
179
|
+
CaseDeadlineWarning: string;
|
|
176
180
|
payload: any;
|
|
177
181
|
dueDate: any;
|
|
178
182
|
workflowDetails: any;
|
|
@@ -180,13 +184,17 @@ export declare class DueDateComponent implements OnInit {
|
|
|
180
184
|
groupList: any[];
|
|
181
185
|
mode: string;
|
|
182
186
|
set initialSelection(value: any);
|
|
187
|
+
min: string;
|
|
188
|
+
taskCount: number;
|
|
189
|
+
validDeadline: string;
|
|
183
190
|
closeDueDateResolution: EventEmitter<any>;
|
|
184
191
|
closeDueDateEvent: EventEmitter<any>;
|
|
185
|
-
constructor(commonDateService: CommonService, frequencyService: FrequencyService);
|
|
192
|
+
constructor(commonDateService: CommonService, frequencyService: FrequencyService, dateUtilityService: DateUtilityService);
|
|
186
193
|
ngOnInit(): void;
|
|
187
194
|
private initializeEditMode;
|
|
188
195
|
private initializeDeadlineValues;
|
|
189
196
|
private initializeStageAssignees;
|
|
197
|
+
private setMinDate;
|
|
190
198
|
private createStageAssigneeMap;
|
|
191
199
|
private mapWorkflowStages;
|
|
192
200
|
openDatePicker(): void;
|
|
@@ -216,5 +224,5 @@ export declare class DueDateComponent implements OnInit {
|
|
|
216
224
|
documentClick(event: any): void;
|
|
217
225
|
onInputChange(): void;
|
|
218
226
|
static ɵfac: i0.ɵɵFactoryDeclaration<DueDateComponent, never>;
|
|
219
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, { "payload": { "alias": "payload"; "required": false; }; "dueDate": { "alias": "dueDate"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; }, { "closeDueDateResolution": "closeDueDateResolution"; "closeDueDateEvent": "closeDueDateEvent"; }, never, never, false, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, { "payload": { "alias": "payload"; "required": false; }; "dueDate": { "alias": "dueDate"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "min": { "alias": "min"; "required": false; }; "taskCount": { "alias": "taskCount"; "required": false; }; "validDeadline": { "alias": "validDeadline"; "required": false; }; }, { "closeDueDateResolution": "closeDueDateResolution"; "closeDueDateEvent": "closeDueDateEvent"; }, never, never, false, never>;
|
|
220
228
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { DatePickerComponent } from 'ng2-date-picker';
|
|
3
|
+
import moment from 'moment';
|
|
3
4
|
import { CommonService } from '../../../services/common.service';
|
|
5
|
+
import { AuthService } from '../../../workflow-services/auth.service';
|
|
6
|
+
import { DateUtilityService } from '../../services/date-utility.service';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare class ReportDateComponent {
|
|
6
9
|
private commonService;
|
|
10
|
+
private authService;
|
|
11
|
+
private dateUtilityService;
|
|
7
12
|
ASSETS: {
|
|
8
13
|
responsibility_center: string;
|
|
9
14
|
case_type: string;
|
|
@@ -57,6 +62,7 @@ export declare class ReportDateComponent {
|
|
|
57
62
|
sequential: string;
|
|
58
63
|
round_robin: string;
|
|
59
64
|
anyone: string;
|
|
65
|
+
collaborator: string;
|
|
60
66
|
};
|
|
61
67
|
reportTexts: {
|
|
62
68
|
case_type: string;
|
|
@@ -156,17 +162,19 @@ export declare class ReportDateComponent {
|
|
|
156
162
|
unSelectOnClick: boolean;
|
|
157
163
|
openOnClick: boolean;
|
|
158
164
|
openOnFocus: boolean;
|
|
165
|
+
max: moment.Moment;
|
|
159
166
|
};
|
|
160
167
|
fieldSelector: string[];
|
|
161
168
|
payload: any;
|
|
162
169
|
fieldSelected: string;
|
|
163
170
|
validationError: any;
|
|
164
|
-
constructor(commonService: CommonService);
|
|
171
|
+
constructor(commonService: CommonService, authService: AuthService, dateUtilityService: DateUtilityService);
|
|
165
172
|
datePicker: DatePickerComponent;
|
|
166
173
|
datePickerPopUp: ElementRef;
|
|
167
174
|
openDatePicker(): void;
|
|
168
175
|
closeDatePicker(evt: any): void;
|
|
169
176
|
resetValidationErrors(): void;
|
|
177
|
+
getDisplayDate(utcDate: Date | string | null): string;
|
|
170
178
|
documentClick(event: any): void;
|
|
171
179
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDateComponent, never>;
|
|
172
180
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReportDateComponent, "app-report-date", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -353,3 +353,5 @@ export declare const EMAIL_REMINDERS: {
|
|
|
353
353
|
};
|
|
354
354
|
export declare const FIELD_SELECTOR: string[];
|
|
355
355
|
export declare const MONTH_NAMES: string[];
|
|
356
|
+
export declare const BANNER_CASE_RESOLUTION_DEADLINE_WARNING = "Note: Please ensure that the case resolution deadline is not set before the associated task due date within this case.";
|
|
357
|
+
export declare const WORKFLOW_ID_PARAM = "?hasWorkflow=true";
|
|
@@ -18,29 +18,30 @@ import * as i16 from "./components/case-assignees/case-assignees.component";
|
|
|
18
18
|
import * as i17 from "./components/case-owners/case-owners.component";
|
|
19
19
|
import * as i18 from "./components/linked assessment/linked-assessment.component";
|
|
20
20
|
import * as i19 from "./components/linked-responsibilities/linked-responsibilities.component";
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "../
|
|
24
|
-
import * as i23 from "../
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "./components/
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "../sharedComponents/
|
|
33
|
-
import * as i32 from "../sharedComponents/
|
|
34
|
-
import * as i33 from "../
|
|
35
|
-
import * as i34 from "../
|
|
36
|
-
import * as i35 from "../sharedComponents/
|
|
37
|
-
import * as i36 from "../sharedComponents/
|
|
38
|
-
import * as i37 from "../
|
|
39
|
-
import * as i38 from "../
|
|
40
|
-
import * as i39 from "../sharedComponents/
|
|
41
|
-
import * as i40 from "../
|
|
21
|
+
import * as i20 from "../ui-kit/banner/banner.component";
|
|
22
|
+
import * as i21 from "@angular/common";
|
|
23
|
+
import * as i22 from "../ui-kit/tooltip/tooltip.module";
|
|
24
|
+
import * as i23 from "../sharedComponents/floating-bar/floating-bar.module";
|
|
25
|
+
import * as i24 from "../formgroup/formgroup.module";
|
|
26
|
+
import * as i25 from "ng2-date-picker";
|
|
27
|
+
import * as i26 from "@vcomply/editor";
|
|
28
|
+
import * as i27 from "../ui-kit/popover/popover.module";
|
|
29
|
+
import * as i28 from "./components/vc-dropdown/vc-dropdown.module";
|
|
30
|
+
import * as i29 from "./components/form-selectBox/form-selectBox.module";
|
|
31
|
+
import * as i30 from "@angular/forms";
|
|
32
|
+
import * as i31 from "../sharedComponents/responsibility-centers-list/rc-list.module";
|
|
33
|
+
import * as i32 from "../sharedComponents/format-and-evidence/format-and-evidence.module";
|
|
34
|
+
import * as i33 from "../sharedComponents/v-loader/v-loader.module";
|
|
35
|
+
import * as i34 from "../ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
|
|
36
|
+
import * as i35 from "../sharedComponents/category-list-selection/category-list-selection.module";
|
|
37
|
+
import * as i36 from "../sharedComponents/directive/directive.module";
|
|
38
|
+
import * as i37 from "../sharedComponents/checkbox-list/checkbox-list.module";
|
|
39
|
+
import * as i38 from "../pipes/pipes.module";
|
|
40
|
+
import * as i39 from "../sharedComponents/group-users-list/group-users-list.component";
|
|
41
|
+
import * as i40 from "../sharedComponents/link-responsibility/link-responsibility.module";
|
|
42
|
+
import * as i41 from "../ui-kit/no-data/no-data.module";
|
|
42
43
|
export declare class ReportCaseModule {
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportCaseModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ReportCaseModule, [typeof i1.CaseTypeComponent, typeof i2.WorkflowCaseComponent, typeof i3.AssigneeComponent, typeof i4.DueDateComponent, typeof i5.InformationBlockComponent, typeof i6.CaseDetailsComponent, typeof i7.VCInputComponent, typeof i8.VCFormLabelComponent, typeof i9.FieldHolderComponent, typeof i10.RcDetailsComponent, typeof i11.CaseDropdownComponent, typeof i12.ReportDateComponent, typeof i13.CasePriorityComponent, typeof i14.CaseCategoryComponent, typeof i15.CaseResolutionDeadlineComponent, typeof i16.CaseAssigneesComponent, typeof i17.CaseOwnersComponent, typeof i18.LinkedAssessmentComponent, typeof i19.LinkedResponsibilitiesComponent], [typeof
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ReportCaseModule, [typeof i1.CaseTypeComponent, typeof i2.WorkflowCaseComponent, typeof i3.AssigneeComponent, typeof i4.DueDateComponent, typeof i5.InformationBlockComponent, typeof i6.CaseDetailsComponent, typeof i7.VCInputComponent, typeof i8.VCFormLabelComponent, typeof i9.FieldHolderComponent, typeof i10.RcDetailsComponent, typeof i11.CaseDropdownComponent, typeof i12.ReportDateComponent, typeof i13.CasePriorityComponent, typeof i14.CaseCategoryComponent, typeof i15.CaseResolutionDeadlineComponent, typeof i16.CaseAssigneesComponent, typeof i17.CaseOwnersComponent, typeof i18.LinkedAssessmentComponent, typeof i19.LinkedResponsibilitiesComponent, typeof i20.BannerComponent], [typeof i21.CommonModule, typeof i22.TooltipModule, typeof i23.FloatingBarModule, typeof i24.FormgroupModule, typeof i25.DpDatePickerModule, typeof i26.VcomplyEditorModule, typeof i27.PopoverModule, typeof i28.VcDropdownModule, typeof i29.FormSelectBoxModule, typeof i30.FormsModule, typeof i31.RcListModule, typeof i32.FormatAndEvidenceModule, typeof i33.VLoaderModule, typeof i34.SmileyDialogInlineModule, typeof i35.CategoryListSelectionModule, typeof i36.SharedDirectiveModule, typeof i37.CheckboxListModule, typeof i38.PipesModule, typeof i39.GroupUsersListComponent, typeof i40.LinkResponsibilityModule, typeof i41.NoDataModule], [typeof i2.WorkflowCaseComponent]>;
|
|
45
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<ReportCaseModule>;
|
|
46
47
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AuthService } from '../../workflow-services/auth.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateUtilityService {
|
|
4
|
+
private authService;
|
|
5
|
+
constructor(authService: AuthService);
|
|
6
|
+
convertToUTC(date: string | Date): Date;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateUtilityService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateUtilityService>;
|
|
9
|
+
}
|
|
@@ -25,9 +25,10 @@ export declare class ReportACaseService {
|
|
|
25
25
|
reportACase(payload: any): Observable<any>;
|
|
26
26
|
addCaseToWorkflow(payload: any): Observable<any>;
|
|
27
27
|
updateCase(payload: any, caseId: string): Observable<any>;
|
|
28
|
-
getWorkflowDetails(params: any): import("rxjs").Subscription;
|
|
28
|
+
getWorkflowDetails(params: any, workflow_id?: string): import("rxjs").Subscription;
|
|
29
29
|
getCaseOwners(workflow_id: string): Observable<Object>;
|
|
30
30
|
getCaseDetails(caseId: string): Observable<Object>;
|
|
31
|
+
validateCaseDeadline(caseId: string): Observable<Object>;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportACaseService, [null, null, { optional: true; }]>;
|
|
32
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReportACaseService>;
|
|
33
34
|
}
|
|
@@ -6,6 +6,7 @@ import { OrganizationUserService } from '../../workflow-services/organization-us
|
|
|
6
6
|
import { ResponsibilityService } from '../../workflow-services/responsibility.service';
|
|
7
7
|
import { ComplianceCommonService } from '../../workflow-services/common-workflow-services/compliance-common.service';
|
|
8
8
|
import { IframeService } from '../../services/iframe.service';
|
|
9
|
+
import { DateUtilityService } from '../services/date-utility.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
11
12
|
private reportACaseService;
|
|
@@ -14,6 +15,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
|
14
15
|
private responsibilityService;
|
|
15
16
|
private complianceCommonService;
|
|
16
17
|
private iframeService;
|
|
18
|
+
private dateUtilityService;
|
|
17
19
|
reportTexts: {
|
|
18
20
|
case_type: string;
|
|
19
21
|
report_case: string;
|
|
@@ -158,6 +160,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
|
158
160
|
sequential: string;
|
|
159
161
|
round_robin: string;
|
|
160
162
|
anyone: string;
|
|
163
|
+
collaborator: string;
|
|
161
164
|
};
|
|
162
165
|
caseType: typeof report;
|
|
163
166
|
caseTypeSelected: report;
|
|
@@ -274,7 +277,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
|
274
277
|
userListEmitter: EventEmitter<any>;
|
|
275
278
|
disconnectRefresh: EventEmitter<any>;
|
|
276
279
|
pickerChanged: EventEmitter<any>;
|
|
277
|
-
constructor(reportACaseService: ReportACaseService, uiKitService: UiKitService, organizationUserService: OrganizationUserService, responsibilityService: ResponsibilityService, complianceCommonService: ComplianceCommonService, iframeService: IframeService);
|
|
280
|
+
constructor(reportACaseService: ReportACaseService, uiKitService: UiKitService, organizationUserService: OrganizationUserService, responsibilityService: ResponsibilityService, complianceCommonService: ComplianceCommonService, iframeService: IframeService, dateUtilityService: DateUtilityService);
|
|
278
281
|
ngOnDestroy(): void;
|
|
279
282
|
ngOnInit(): void;
|
|
280
283
|
permissionLoader(): void;
|
|
@@ -297,6 +300,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
|
297
300
|
onPriorityChange(event: any): void;
|
|
298
301
|
onRcChange(event: any): void;
|
|
299
302
|
onCaseTypeDropdownChange(event: any): void;
|
|
303
|
+
handleCaseIdFromResponse(res: any): void;
|
|
300
304
|
reportCase(): void;
|
|
301
305
|
updateCase(): void;
|
|
302
306
|
checkValidation(payload: any): boolean;
|
package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BulkResponsibilityViewComponent {
|
|
4
|
+
VALIDATION_MESSAGES: {
|
|
5
|
+
RISK_CLASS: string;
|
|
6
|
+
DAY: string;
|
|
7
|
+
DATE_FORMAT: string;
|
|
8
|
+
DUE_DATE: string;
|
|
9
|
+
};
|
|
4
10
|
responsibilityBulkUpload: any;
|
|
5
11
|
fileName: any;
|
|
6
12
|
defaultOwner: any;
|