principal-dashboard-lib-v2 0.0.16 → 0.0.17
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/principal-dashboard-lib-v2.umd.js +30 -8
- package/bundles/principal-dashboard-lib-v2.umd.js.map +1 -1
- package/bundles/principal-dashboard-lib-v2.umd.min.js +1 -1
- package/bundles/principal-dashboard-lib-v2.umd.min.js.map +1 -1
- package/esm2015/lib/chartheader/chartheader.component.js +2 -2
- package/esm2015/lib/principal-dashboard-lib-v2.service.js +28 -6
- package/fesm2015/principal-dashboard-lib-v2.js +28 -6
- package/fesm2015/principal-dashboard-lib-v2.js.map +1 -1
- package/package.json +1 -1
|
@@ -398,14 +398,18 @@
|
|
|
398
398
|
var inActiveuserName = void 0;
|
|
399
399
|
var userSubjects = void 0;
|
|
400
400
|
var myID = void 0;
|
|
401
|
-
var
|
|
401
|
+
var AlluserDetails_1 = new Array();
|
|
402
402
|
for (var index = 0; index < this.userConsoleData.length; index++) {
|
|
403
|
-
|
|
403
|
+
AlluserDetails_1.push(this.userConsoleData[index]);
|
|
404
404
|
AlluserDetailsForTableChart.push(this.userConsoleData[index]);
|
|
405
405
|
}
|
|
406
406
|
for (var i = 0; i < this.usersMetaData.length; i++) {
|
|
407
407
|
myID = this.usersMetaData[i].userId;
|
|
408
408
|
inActiveuserName = this.usersMetaData[i].userName;
|
|
409
|
+
//if(inActiveuserName === undefined)
|
|
410
|
+
{
|
|
411
|
+
console.log("alluser-1->>", inActiveuserName);
|
|
412
|
+
}
|
|
409
413
|
userSubjects = this.usersMetaData[i].userSubjects;
|
|
410
414
|
var myChartRowuserConsoleData = {
|
|
411
415
|
userId: myID,
|
|
@@ -418,7 +422,7 @@
|
|
|
418
422
|
terminalLocation: "",
|
|
419
423
|
userSubjects: userSubjects
|
|
420
424
|
};
|
|
421
|
-
AlluserDetails.push(myChartRowuserConsoleData);
|
|
425
|
+
//AlluserDetails.push(myChartRowuserConsoleData);
|
|
422
426
|
var myTableRowuserConsoleData = {
|
|
423
427
|
userId: myID,
|
|
424
428
|
userName: inActiveuserName,
|
|
@@ -430,12 +434,30 @@
|
|
|
430
434
|
terminalLocation: "",
|
|
431
435
|
userSubjects: userSubjects
|
|
432
436
|
};
|
|
437
|
+
//console.log("alluser-2->>",inActiveuserName);
|
|
433
438
|
AlluserDetailsForTableChart.push(myTableRowuserConsoleData);
|
|
439
|
+
AlluserDetails_1.push(myChartRowuserConsoleData);
|
|
434
440
|
}
|
|
435
|
-
|
|
436
|
-
var
|
|
437
|
-
|
|
438
|
-
|
|
441
|
+
setTimeout(function () {
|
|
442
|
+
for (var i = 0; i < AlluserDetails_1.length; i++) {
|
|
443
|
+
console.log("alluser-3->>", AlluserDetails_1[i].userName);
|
|
444
|
+
if (AlluserDetails_1[i].userName === undefined) {
|
|
445
|
+
AlluserDetails_1[i].userName = "--";
|
|
446
|
+
}
|
|
447
|
+
var userData = [AlluserDetails_1[i].userName, AlluserDetails_1[i].startTime, AlluserDetails_1[i].endTime];
|
|
448
|
+
dataTableforChart.push(userData);
|
|
449
|
+
}
|
|
450
|
+
}, 50);
|
|
451
|
+
/*
|
|
452
|
+
for(let i = 0; i < AlluserDetails.length; i++){
|
|
453
|
+
console.log("alluser-3->>",AlluserDetails[i].userName);
|
|
454
|
+
if(AlluserDetails[i].userName === undefined){
|
|
455
|
+
AlluserDetails[i].userName = "(-)"
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
let userData = [AlluserDetails[i].userName,AlluserDetails[i].startTime,AlluserDetails[i].endTime];
|
|
459
|
+
dataTableforChart.push(userData);
|
|
460
|
+
}*/
|
|
439
461
|
}
|
|
440
462
|
return { forChartData: dataTableforChart, fordurationTable: AlluserDetailsForTableChart };
|
|
441
463
|
};
|
|
@@ -764,7 +786,7 @@
|
|
|
764
786
|
this.isChartView = true;
|
|
765
787
|
}
|
|
766
788
|
ChartheaderComponent.prototype.ngOnInit = function () {
|
|
767
|
-
this.libVersion = "0.0.
|
|
789
|
+
this.libVersion = "0.0.17";
|
|
768
790
|
// this.myIcon = document.getElementById('myIconImg');
|
|
769
791
|
// this.changeChatType()
|
|
770
792
|
};
|