vcomply-workflow-engine 5.0.33 → 5.0.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.
- package/esm2022/lib/pipes/get-editor-config.pipe.mjs +23 -0
- package/esm2022/lib/pipes/pipes.module.mjs +10 -5
- package/esm2022/lib/report-a-case/components/case-category/case-category.component.mjs +27 -10
- package/esm2022/lib/report-a-case/components/rc-details/rc-details.component.mjs +12 -1
- package/esm2022/lib/report-a-case/report-case.module.mjs +2 -2
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +2 -10
- package/esm2022/lib/workflow-services/common-workflow-services/compliance-common.service.mjs +1 -1
- package/fesm2022/vcomply-workflow-engine.mjs +67 -23
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/pipes/get-editor-config.pipe.d.ts +8 -0
- package/lib/pipes/pipes.module.d.ts +3 -2
- package/lib/report-a-case/components/case-category/case-category.component.d.ts +4 -2
- package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +3 -2
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/lib/workflow-services/common-workflow-services/compliance-common.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { EditorConfig } from '@vcomply/editor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GetEditorConfigPipe implements PipeTransform {
|
|
5
|
+
transform(index: number): EditorConfig;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetEditorConfigPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetEditorConfigPipe, "getEditorConfig", false>;
|
|
8
|
+
}
|
|
@@ -11,9 +11,10 @@ import * as i9 from "./dom-sanitizer.pipe";
|
|
|
11
11
|
import * as i10 from "./is-read-more.pipe";
|
|
12
12
|
import * as i11 from "./within.pipe";
|
|
13
13
|
import * as i12 from "./user.pipe";
|
|
14
|
-
import * as i13 from "
|
|
14
|
+
import * as i13 from "./get-editor-config.pipe";
|
|
15
|
+
import * as i14 from "@angular/common";
|
|
15
16
|
export declare class PipesModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe], [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe, typeof i13.GetEditorConfigPipe], [typeof i14.CommonModule], [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe, typeof i13.GetEditorConfigPipe]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
19
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
|
|
3
3
|
import { report } from '../case-type-slider/case-type.component';
|
|
4
4
|
import { ReportACaseService } from '../../services/report-a-case.service';
|
|
5
5
|
import { EditorConfig } from '@vcomply/editor';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class CaseCategoryComponent implements OnInit {
|
|
7
|
+
export declare class CaseCategoryComponent implements OnInit, OnChanges {
|
|
8
8
|
private caseService;
|
|
9
9
|
ASSETS: {
|
|
10
10
|
responsibility_center: string;
|
|
@@ -140,6 +140,8 @@ export declare class CaseCategoryComponent implements OnInit {
|
|
|
140
140
|
fieldClicked: EventEmitter<any>;
|
|
141
141
|
constructor(caseService: ReportACaseService);
|
|
142
142
|
ngOnInit(): void;
|
|
143
|
+
trackByIndex(index: number): number;
|
|
144
|
+
updateCustomField(value: any, index: number): void;
|
|
143
145
|
ngOnChanges(changes: SimpleChanges): void;
|
|
144
146
|
getAllCategories(): void;
|
|
145
147
|
populateInitialCategory(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, SimpleChanges, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
|
|
3
3
|
import { ComplianceCommonService } from '../../../workflow-services/common-workflow-services/compliance-common.service';
|
|
4
4
|
import { report } from '../case-type-slider/case-type.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RcDetailsComponent implements OnInit {
|
|
6
|
+
export declare class RcDetailsComponent implements OnInit, OnDestroy {
|
|
7
7
|
private complianceService;
|
|
8
8
|
ASSETS: {
|
|
9
9
|
responsibility_center: string;
|
|
@@ -134,6 +134,7 @@ export declare class RcDetailsComponent implements OnInit {
|
|
|
134
134
|
fieldClicked: EventEmitter<any>;
|
|
135
135
|
onRcChange: EventEmitter<any>;
|
|
136
136
|
constructor(complianceService: ComplianceCommonService);
|
|
137
|
+
ngOnDestroy(): void;
|
|
137
138
|
ngOnInit(): void;
|
|
138
139
|
ngOnChanges(changes: SimpleChanges): void;
|
|
139
140
|
getResponsibilityCentersList(): void;
|
|
@@ -111,7 +111,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
111
111
|
setPopupButtons(): void;
|
|
112
112
|
getRiskDetails(riskId: any): void;
|
|
113
113
|
populateOptionalFields(): void;
|
|
114
|
-
setCategoryType(type: any): "
|
|
114
|
+
setCategoryType(type: any): "compliance" | "strategic" | "operational" | "others";
|
|
115
115
|
getRCList(): void;
|
|
116
116
|
getCategoryList(): void;
|
|
117
117
|
getOwnersList(): void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import { AuthService } from '../auth.service';
|
|
3
4
|
import { Configurations } from '../../configurations';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ComplianceCommonService {
|
|
6
7
|
private http;
|
|
7
8
|
private authService;
|
|
8
|
-
|
|
9
|
+
rcList: BehaviorSubject<any>;
|
|
9
10
|
env: any;
|
|
10
11
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
11
12
|
private getRcList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.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 "
|