vc-create-dashboard 2.5.3 → 2.5.4
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/bundles/create-dashboard.umd.js +7 -1
- package/bundles/create-dashboard.umd.js.map +1 -1
- package/create-dashboard.metadata.json +1 -1
- package/esm2015/lib/create-dashboard-container/create-dashboard.component.js +2 -2
- package/esm2015/lib/create-dashboard-container/services/create-dashboard.service.js +7 -1
- package/esm2015/lib/create-dashboard-container/services/create-dashboard.service.ngsummary.json +1 -1
- package/fesm2015/create-dashboard.js +7 -1
- package/fesm2015/create-dashboard.js.map +1 -1
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -452,6 +452,12 @@
|
|
|
452
452
|
headers: headers,
|
|
453
453
|
}).pipe(operators.retry(2));
|
|
454
454
|
};
|
|
455
|
+
CreateDashboardService.prototype.getComplianceCategoriesListFromGlobal = function () {
|
|
456
|
+
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
457
|
+
return this.http.get(this.env.complianceGet + 'complianceCategory/CategoryListTree&program=1', {
|
|
458
|
+
headers: headers,
|
|
459
|
+
}).pipe(operators.retry(2));
|
|
460
|
+
};
|
|
455
461
|
CreateDashboardService.prototype.submitDashboard = function (payload) {
|
|
456
462
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
457
463
|
return this.http.post(this.env.dashboard + 'CreateDashboard', payload, { headers: headers }).pipe(operators.retry(2));
|
|
@@ -1104,7 +1110,7 @@
|
|
|
1104
1110
|
};
|
|
1105
1111
|
CreateDashboardComponent.prototype.getComplianceCategoryList = function () {
|
|
1106
1112
|
var _this = this;
|
|
1107
|
-
this.createDashboardService.
|
|
1113
|
+
this.createDashboardService.getComplianceCategoriesListFromGlobal().subscribe(function (res) {
|
|
1108
1114
|
var data = res;
|
|
1109
1115
|
_this.allComplianceCategories = Object.assign(res);
|
|
1110
1116
|
// cloneDeep(res);
|