vcomply-workflow-engine 6.0.65 → 6.0.66
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.
|
@@ -6,7 +6,7 @@ export class CommonRouteService {
|
|
|
6
6
|
this.router = router;
|
|
7
7
|
}
|
|
8
8
|
navigateTo(url) {
|
|
9
|
-
|
|
9
|
+
this.router.navigateByUrl(url);
|
|
10
10
|
}
|
|
11
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommonRouteService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12
12
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommonRouteService, providedIn: 'root' }); }
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17
17
|
providedIn: 'root'
|
|
18
18
|
}]
|
|
19
19
|
}], ctorParameters: function () { return [{ type: i1.Router }]; } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLXJvdXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi93b3JrZmxvdy1zZXJ2aWNlcy9jb21tb24td29ya2Zsb3ctc2VydmljZXMvY29tbW9uLXJvdXRlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTTNDLE1BQU0sT0FBTyxrQkFBa0I7SUFDN0IsWUFBb0IsTUFBYztRQUFkLFdBQU0sR0FBTixNQUFNLENBQVE7SUFBSSxDQUFDO0lBRXZDLFVBQVUsQ0FBQyxHQUFXO1FBQ3BCLElBQUksQ0FBQyxNQUFNLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ2pDLENBQUM7K0dBTFUsa0JBQWtCO21IQUFsQixrQkFBa0IsY0FGakIsTUFBTTs7NEZBRVAsa0JBQWtCO2tCQUg5QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFJvdXRlciB9IGZyb20gJ0Bhbmd1bGFyL3JvdXRlcic7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIENvbW1vblJvdXRlU2VydmljZSB7XG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgcm91dGVyOiBSb3V0ZXIpIHsgfVxuXG4gIG5hdmlnYXRlVG8odXJsOiBzdHJpbmcpIHtcbiAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZUJ5VXJsKHVybCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -34669,7 +34669,7 @@ class CommonRouteService {
|
|
|
34669
34669
|
this.router = router;
|
|
34670
34670
|
}
|
|
34671
34671
|
navigateTo(url) {
|
|
34672
|
-
|
|
34672
|
+
this.router.navigateByUrl(url);
|
|
34673
34673
|
}
|
|
34674
34674
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommonRouteService, deps: [{ token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
34675
34675
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommonRouteService, providedIn: 'root' }); }
|
|
@@ -38512,18 +38512,16 @@ class WorkflowPolicyComponent {
|
|
|
38512
38512
|
this.policyService
|
|
38513
38513
|
.extractFile(document.fileExtension, document.filePath, this.policyId)
|
|
38514
38514
|
.subscribe((res) => {
|
|
38515
|
-
if (res) {
|
|
38515
|
+
if (res && this.policyId) {
|
|
38516
38516
|
if (res.message === 'done' || res.content) {
|
|
38517
38517
|
this.loader = false;
|
|
38518
38518
|
if (document.fileExtension === 'docx' ||
|
|
38519
38519
|
document.fileExtension === 'DOCX') {
|
|
38520
38520
|
url = this.baseURL + '/all/policy/edit-policy?id=' + this.policyId;
|
|
38521
|
-
console.log(url, 'url');
|
|
38522
38521
|
}
|
|
38523
38522
|
else if (document.fileExtension === 'pdf' ||
|
|
38524
38523
|
document.fileExtension === 'PDF') {
|
|
38525
38524
|
url = this.baseURL + '/all/policy/workroom?id=' + this.policyId;
|
|
38526
|
-
console.log(url, 'url');
|
|
38527
38525
|
}
|
|
38528
38526
|
this.commonRouteService.navigateTo(url);
|
|
38529
38527
|
}
|