vcomply-workflow-engine 6.1.32 → 6.1.34

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.
@@ -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 { AuthService } from '../../../workflow-services/auth.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 authService;
9
11
  datePicker: DatePickerComponent;
10
12
  ASSETS: {
11
13
  responsibility_center: string;
@@ -56,7 +58,9 @@ export declare class DueDateComponent implements OnInit {
56
58
  issue_type: string;
57
59
  type: string;
58
60
  search_data: string;
59
- approval_workflow: string;
61
+ approval_workflow: string; /**
62
+ * closes the date picker from policy form
63
+ */
60
64
  sequential: string;
61
65
  round_robin: string;
62
66
  anyone: string;
@@ -187,7 +191,7 @@ export declare class DueDateComponent implements OnInit {
187
191
  validDeadline: string;
188
192
  closeDueDateResolution: EventEmitter<any>;
189
193
  closeDueDateEvent: EventEmitter<any>;
190
- constructor(commonDateService: CommonService, frequencyService: FrequencyService);
194
+ constructor(commonDateService: CommonService, frequencyService: FrequencyService, authService: AuthService);
191
195
  ngOnInit(): void;
192
196
  private initializeEditMode;
193
197
  private initializeDeadlineValues;
@@ -2,9 +2,11 @@ import { ElementRef } from '@angular/core';
2
2
  import { DatePickerComponent } from 'ng2-date-picker';
3
3
  import moment from 'moment';
4
4
  import { CommonService } from '../../../services/common.service';
5
+ import { AuthService } from '../../../workflow-services/auth.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ReportDateComponent {
7
8
  private commonService;
9
+ private authService;
8
10
  ASSETS: {
9
11
  responsibility_center: string;
10
12
  case_type: string;
@@ -164,12 +166,13 @@ export declare class ReportDateComponent {
164
166
  payload: any;
165
167
  fieldSelected: string;
166
168
  validationError: any;
167
- constructor(commonService: CommonService);
169
+ constructor(commonService: CommonService, authService: AuthService);
168
170
  datePicker: DatePickerComponent;
169
171
  datePickerPopUp: ElementRef;
170
172
  openDatePicker(): void;
171
173
  closeDatePicker(evt: any): void;
172
174
  resetValidationErrors(): void;
175
+ getDisplayDate(utcDate: Date | string | null): string;
173
176
  documentClick(event: any): void;
174
177
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportDateComponent, never>;
175
178
  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>;
@@ -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 { AuthService } from '../../workflow-services/auth.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 authService;
17
19
  reportTexts: {
18
20
  case_type: string;
19
21
  report_case: string;
@@ -275,7 +277,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
275
277
  userListEmitter: EventEmitter<any>;
276
278
  disconnectRefresh: EventEmitter<any>;
277
279
  pickerChanged: EventEmitter<any>;
278
- 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, authService: AuthService);
279
281
  ngOnDestroy(): void;
280
282
  ngOnInit(): void;
281
283
  permissionLoader(): void;
@@ -168,7 +168,7 @@ export declare class WorkflowRiskComponent implements OnInit {
168
168
  setPopupButtons(): void;
169
169
  getRiskDetails(riskId: any): void;
170
170
  populateOptionalFields(): void;
171
- setCategoryType(type: any): "others" | "strategic" | "operational" | "compliance";
171
+ setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
172
172
  getRCList(): void;
173
173
  getCategoryList(): void;
174
174
  getOwnersList(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "6.1.32",
3
+ "version": "6.1.34",
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 "