vcomply-workflow-engine 7.4.2 → 7.4.4

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.
@@ -204,6 +204,24 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
204
204
  */
205
205
  setReportDetails(report: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
206
206
  isValidRiskClass(riskClass: any): boolean;
207
+ /**
208
+ * Adds dropdown-list checks on top of existing row validation.
209
+ * Empty optional cells are valid. Frequency / due date / due time are skipped for ongoing.
210
+ */
211
+ withDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
212
+ applyDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): void;
213
+ getTemplateListNames(list: any[] | undefined, key: string): string[];
214
+ getProgramCategoryNames(): string[];
215
+ getAssignorDropdownNames(): string[];
216
+ /**
217
+ * Entrusted By in the xlsx dropdown is the people list in `Name (email)` form
218
+ * (same source as Entrusted To / Reviewer), not the assignor name-only column.
219
+ */
220
+ isInUserDropdown(value: any): boolean;
221
+ isInStaticDropdown(value: any, options: string[]): boolean;
222
+ isInDropdownList(value: any, options: string[]): boolean;
223
+ isValidDropdownDay(value: any): boolean;
224
+ isValidDropdownMonth(value: any): boolean;
207
225
  isValidDueTime(dueTime: any, hasExtendedFrequencyColumns?: boolean): boolean;
208
226
  /**
209
227
  * Optional field. When filled, the value must be numeric and greater than 0.
@@ -1,6 +1,13 @@
1
1
  export declare const RISK_CLASS_LIST: string[];
2
+ export declare const YES_NO_DROPDOWN_LIST: string[];
3
+ export declare const PROGRAM_TYPE_DROPDOWN_LIST: string[];
4
+ export declare const ASSIGNEE_TYPE_DROPDOWN_LIST: string[];
5
+ export declare const RC_TYPE_DROPDOWN_LIST: string[];
6
+ export declare const REVIEWER_TYPE_DROPDOWN_LIST: string[];
7
+ export declare const FREQUENCY_DROPDOWN_LIST: string[];
2
8
  export declare const FULL_MONTH_NAMES: string[];
3
9
  export declare const VALIDATION_MESSAGES: {
10
+ DROPDOWN: string;
4
11
  RISK_CLASS: string;
5
12
  DAY: string;
6
13
  DATE_FORMAT: string;
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BulkResponsibilityViewComponent {
4
4
  VALIDATION_MESSAGES: {
5
+ DROPDOWN: string;
5
6
  RISK_CLASS: string;
6
7
  DAY: string;
7
8
  DATE_FORMAT: string;
@@ -69,7 +69,9 @@ export declare class FormatAndEvidenceComponent implements OnInit {
69
69
  categories: any[];
70
70
  organization_id: any;
71
71
  orgDetails: any;
72
+ private formatEvidanceDataValue;
72
73
  set formatEvidanceData(value: any);
74
+ get formatEvidanceData(): any;
73
75
  isNewLinkDisabled: boolean;
74
76
  isEditDisabled: boolean;
75
77
  constructor(responsibilityService: ResponsibilityService, policyService: PolicyService, authService: AuthService, snackbarService: SnackBarService);
@@ -80,6 +82,7 @@ export declare class FormatAndEvidenceComponent implements OnInit {
80
82
  };
81
83
  ngOnInit(): void;
82
84
  initializeData(settings: any, type: string): void;
85
+ private normalizeFormatFiles;
83
86
  toggleIsFormateUpload(status: boolean): void;
84
87
  toggleIsFormatRequired(status: boolean): void;
85
88
  toggleAttachmentType(type: string): void;
@@ -458,6 +458,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
458
458
  */
459
459
  getRandomPlaceholder(frequencyDetails: any, frequencyTime: any): void;
460
460
  getOnCompletePlaceholder(frequencyDetails: any, frequencyTime: any): void;
461
+ getOngoingPlaceholder(): void;
461
462
  /**
462
463
  * "When the user clicks the edit button, the edit button is hidden and the input field is shown.
463
464
  * When the user clicks the input field, the input field is hidden and the edit button is shown."
@@ -470,7 +471,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
470
471
  * @param {any} [res] - is the response from the API
471
472
  */
472
473
  getEditMoreOptions(res?: any): void;
473
- testFunction(): void;
474
+ checkDescription(): void;
474
475
  reviewerTypeChange(event: any): void;
475
476
  selectedSampleData(event: number): void;
476
477
  /**
@@ -542,6 +543,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
542
543
  populateProgramDetails(res: any): void;
543
544
  populateLinkedAssessmentFromMeta(res: any): void;
544
545
  populateFrequencyDetails(frequency: any): void;
546
+ private normalizeLifecycleStartFrom;
545
547
  mapLinkedPrograms(programs: {
546
548
  linked: Record<string, number[]>;
547
549
  data: any[];
@@ -237,6 +237,11 @@ export declare class WorkflowProgramComponent implements OnInit {
237
237
  fetchRC(): void;
238
238
  fetchUsersAssociatedWithRoles(calledFrom?: any): void;
239
239
  fetchGroupsAssociatedWithRoles(): void;
240
+ emptyList: any[];
241
+ getListData(list: any): any[];
242
+ getOwnerUsers(): any[];
243
+ getCollaboratorUsers(): any[];
244
+ getCollaboratorGroups(): any[];
240
245
  setDefaultOwners(userList: any, calledFrom?: any): void;
241
246
  getPreSelectedOwners(previousSelectedUsers: any, currentUsers: any): any;
242
247
  fetchOrganizationUsers(data?: any): void;
@@ -169,7 +169,7 @@ export declare class WorkflowRiskComponent implements OnInit {
169
169
  setPopupButtons(): void;
170
170
  getRiskDetails(riskId: any): void;
171
171
  populateOptionalFields(): void;
172
- setCategoryType(type: any): "strategic" | "compliance" | "others" | "operational";
172
+ setCategoryType(type: any): "compliance" | "strategic" | "others" | "operational";
173
173
  getRCList(): void;
174
174
  getCategoryList(): void;
175
175
  getOwnersList(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "7.4.2",
3
+ "version": "7.4.4",
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 "