vcomply-workflow-engine 6.1.34 → 6.1.36
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 +8 -24
- package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +13 -20
- package/esm2022/lib/report-a-case/services/date-utility.service.mjs +36 -0
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +8 -24
- package/fesm2022/vcomply-workflow-engine.mjs +64 -69
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/report-a-case/components/due-date/due-date.component.d.ts +4 -6
- package/lib/report-a-case/components/report-date/report-date.component.d.ts +3 -1
- package/lib/report-a-case/services/date-utility.service.d.ts +14 -0
- package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -2,12 +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 {
|
|
5
|
+
import { DateUtilityService } from '../../services/date-utility.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DueDateComponent implements OnInit {
|
|
8
8
|
private commonDateService;
|
|
9
9
|
private frequencyService;
|
|
10
|
-
private
|
|
10
|
+
private dateUtilityService;
|
|
11
11
|
datePicker: DatePickerComponent;
|
|
12
12
|
ASSETS: {
|
|
13
13
|
responsibility_center: string;
|
|
@@ -58,9 +58,7 @@ export declare class DueDateComponent implements OnInit {
|
|
|
58
58
|
issue_type: string;
|
|
59
59
|
type: string;
|
|
60
60
|
search_data: string;
|
|
61
|
-
approval_workflow: string;
|
|
62
|
-
* closes the date picker from policy form
|
|
63
|
-
*/
|
|
61
|
+
approval_workflow: string;
|
|
64
62
|
sequential: string;
|
|
65
63
|
round_robin: string;
|
|
66
64
|
anyone: string;
|
|
@@ -191,7 +189,7 @@ export declare class DueDateComponent implements OnInit {
|
|
|
191
189
|
validDeadline: string;
|
|
192
190
|
closeDueDateResolution: EventEmitter<any>;
|
|
193
191
|
closeDueDateEvent: EventEmitter<any>;
|
|
194
|
-
constructor(commonDateService: CommonService, frequencyService: FrequencyService,
|
|
192
|
+
constructor(commonDateService: CommonService, frequencyService: FrequencyService, dateUtilityService: DateUtilityService);
|
|
195
193
|
ngOnInit(): void;
|
|
196
194
|
private initializeEditMode;
|
|
197
195
|
private initializeDeadlineValues;
|
|
@@ -3,10 +3,12 @@ import { DatePickerComponent } from 'ng2-date-picker';
|
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
import { CommonService } from '../../../services/common.service';
|
|
5
5
|
import { AuthService } from '../../../workflow-services/auth.service';
|
|
6
|
+
import { DateUtilityService } from '../../services/date-utility.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ReportDateComponent {
|
|
8
9
|
private commonService;
|
|
9
10
|
private authService;
|
|
11
|
+
private dateUtilityService;
|
|
10
12
|
ASSETS: {
|
|
11
13
|
responsibility_center: string;
|
|
12
14
|
case_type: string;
|
|
@@ -166,7 +168,7 @@ export declare class ReportDateComponent {
|
|
|
166
168
|
payload: any;
|
|
167
169
|
fieldSelected: string;
|
|
168
170
|
validationError: any;
|
|
169
|
-
constructor(commonService: CommonService, authService: AuthService);
|
|
171
|
+
constructor(commonService: CommonService, authService: AuthService, dateUtilityService: DateUtilityService);
|
|
170
172
|
datePicker: DatePickerComponent;
|
|
171
173
|
datePickerPopUp: ElementRef;
|
|
172
174
|
openDatePicker(): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* Converts a date to UTC with timezone consideration (for date picker events)
|
|
8
|
+
* @param date - The date to convert
|
|
9
|
+
* @returns UTC date object
|
|
10
|
+
*/
|
|
11
|
+
convertToUTC(date: any): Date;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateUtilityService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateUtilityService>;
|
|
14
|
+
}
|
|
@@ -6,7 +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 {
|
|
9
|
+
import { DateUtilityService } from '../services/date-utility.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
12
12
|
private reportACaseService;
|
|
@@ -15,7 +15,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
private responsibilityService;
|
|
16
16
|
private complianceCommonService;
|
|
17
17
|
private iframeService;
|
|
18
|
-
private
|
|
18
|
+
private dateUtilityService;
|
|
19
19
|
reportTexts: {
|
|
20
20
|
case_type: string;
|
|
21
21
|
report_case: string;
|
|
@@ -277,7 +277,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
|
|
|
277
277
|
userListEmitter: EventEmitter<any>;
|
|
278
278
|
disconnectRefresh: EventEmitter<any>;
|
|
279
279
|
pickerChanged: EventEmitter<any>;
|
|
280
|
-
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);
|
|
281
281
|
ngOnDestroy(): void;
|
|
282
282
|
ngOnInit(): void;
|
|
283
283
|
permissionLoader(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.36",
|
|
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 "
|