vcomply-workflow-engine 8.0.10 → 8.0.11

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/index.d.ts CHANGED
@@ -2997,7 +2997,7 @@ declare class WorkflowRiskComponent implements OnInit {
2997
2997
  setPopupButtons(): void;
2998
2998
  getRiskDetails(riskId: any): void;
2999
2999
  populateOptionalFields(): void;
3000
- setCategoryType(type: any): "compliance" | "strategic" | "operational" | "others";
3000
+ setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
3001
3001
  getRCList(): void;
3002
3002
  getCategoryList(): void;
3003
3003
  getOwnersList(): void;
@@ -7566,15 +7566,16 @@ declare class AddMultipleResponsibilityWithTabComponent implements OnInit {
7566
7566
  checkEmptyFile(data?: any): boolean;
7567
7567
  compareWithCurrentDate(day: any, month: any): boolean;
7568
7568
  isPastDate(day: any, month: any): boolean;
7569
- getStartDateValidation(day: any, month: any): {
7570
- validStartDate: boolean;
7571
- isStartDatePast: boolean;
7572
- isStartDayInvalid: boolean;
7573
- isStartDateFormatInvalid: boolean;
7574
- };
7569
+ /**
7570
+ * Converts bulk-upload day/month values (e.g. 15 and "June'26") into a moment date.
7571
+ * Used when comparing Start Date against Due Date during frequency responsibility validation.
7572
+ */
7575
7573
  parseBulkUploadDate(day: any, month: any): moment.Moment | null;
7576
- isStartDateAfterDueDate(startDay: any, startMonth: any, dueDay: any, dueMonth: any): boolean;
7577
- applyStartDateValidation(obj: any): void;
7574
+ /**
7575
+ * Ensures the responsibility Start Date does not fall after the Due Date.
7576
+ * Returns true when Start Date is omitted, or when it is on/before the Due Date.
7577
+ */
7578
+ validateTimeLine(startDay: any, startMonth: any, day: any, month: any): boolean;
7578
7579
  downloadTemplate(): void;
7579
7580
  submitResponsibilityBulkUpload(): void;
7580
7581
  submitWorkflow(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "8.0.10",
3
+ "version": "8.0.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x || 20.x || 21.x || 22.x || 23.x || 24.x",
6
6
  "@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x || 20.x || 21.x || 22.x || 23.x || 24.x"