vcomply-workflow-engine 6.0.87 → 6.0.89
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/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +3 -1
- package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +3 -1
- package/fesm2022/vcomply-workflow-engine.mjs +4 -0
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,8 @@ import { RISK_CLASS_LIST } from '../../constants/responsibility';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class RiskClassPipe {
|
|
5
5
|
transform(value) {
|
|
6
|
+
if (!value)
|
|
7
|
+
return true;
|
|
6
8
|
return RISK_CLASS_LIST.includes(value?.toLowerCase());
|
|
7
9
|
}
|
|
8
10
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RiskClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
@@ -14,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14
16
|
name: 'riskClass',
|
|
15
17
|
}]
|
|
16
18
|
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlzay1jbGFzcy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9waXBlcy9yaXNrLWNsYXNzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOztBQUtqRSxNQUFNLE9BQU8sYUFBYTtJQUN4QixTQUFTLENBQUMsS0FBYTtRQUNyQixJQUFHLENBQUMsS0FBSztZQUFFLE9BQU8sSUFBSSxDQUFDO1FBQ3ZCLE9BQU8sZUFBZSxDQUFDLFFBQVEsQ0FBQyxLQUFLLEVBQUUsV0FBVyxFQUFFLENBQUMsQ0FBQztJQUN4RCxDQUFDOytHQUpVLGFBQWE7NkdBQWIsYUFBYTs7NEZBQWIsYUFBYTtrQkFIekIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsV0FBVztpQkFDbEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBSSVNLX0NMQVNTX0xJU1QgfSBmcm9tICcuLi8uLi9jb25zdGFudHMvcmVzcG9uc2liaWxpdHknO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdyaXNrQ2xhc3MnLFxufSlcbmV4cG9ydCBjbGFzcyBSaXNrQ2xhc3NQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nKTogYm9vbGVhbiB7XG4gICAgaWYoIXZhbHVlKSByZXR1cm4gdHJ1ZTtcbiAgICByZXR1cm4gUklTS19DTEFTU19MSVNULmluY2x1ZGVzKHZhbHVlPy50b0xvd2VyQ2FzZSgpKTtcbiAgfVxufVxuIl19
|
|
@@ -46671,6 +46671,8 @@ const VALIDATION_MESSAGES = {
|
|
|
46671
46671
|
|
|
46672
46672
|
class RiskClassPipe {
|
|
46673
46673
|
transform(value) {
|
|
46674
|
+
if (!value)
|
|
46675
|
+
return true;
|
|
46674
46676
|
return RISK_CLASS_LIST.includes(value?.toLowerCase());
|
|
46675
46677
|
}
|
|
46676
46678
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RiskClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
@@ -49004,6 +49006,8 @@ class AddMultipleResponsibilityWithTabComponent {
|
|
|
49004
49006
|
}
|
|
49005
49007
|
}
|
|
49006
49008
|
isValidRiskClass(riskClass) {
|
|
49009
|
+
if (!riskClass)
|
|
49010
|
+
return true;
|
|
49007
49011
|
return RISK_CLASS_LIST.includes(riskClass?.toLowerCase());
|
|
49008
49012
|
}
|
|
49009
49013
|
/**
|