principal-dashboard-lib-v2 0.0.13 → 0.0.14
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 +9 -7
- 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/chartview/chartview.component.js +3 -2
- package/esm2015/lib/principal-dashboard-lib-v2.service.js +7 -6
- package/fesm2015/principal-dashboard-lib-v2.js +9 -7
- package/fesm2015/principal-dashboard-lib-v2.js.map +1 -1
- package/package.json +1 -1
|
@@ -361,12 +361,12 @@ class PrincipalDashboardLibV2Service {
|
|
|
361
361
|
let dataTableforChart = new Array();
|
|
362
362
|
dataTableforChart = [];
|
|
363
363
|
if (this.userConsoleData) {
|
|
364
|
-
console.log("this.userConsoleData", this.userConsoleData);
|
|
365
364
|
for (let i = 0; i < this.userConsoleData.length; i++) {
|
|
366
365
|
let userData = [this.userConsoleData[i].terminalIP, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
|
|
367
366
|
dataTableforChart.push(userData);
|
|
368
367
|
}
|
|
369
368
|
}
|
|
369
|
+
console.log("this.classRoomWiseChartData", dataTableforChart);
|
|
370
370
|
return dataTableforChart;
|
|
371
371
|
}
|
|
372
372
|
allUserChartData() {
|
|
@@ -429,20 +429,21 @@ class PrincipalDashboardLibV2Service {
|
|
|
429
429
|
let inActiveClassRoom;
|
|
430
430
|
for (let i = 0; i < this.userConsoleData.length; i++) {
|
|
431
431
|
allRoomsDetails.push(this.userConsoleData[i]);
|
|
432
|
-
let userData = [this.userConsoleData[i].
|
|
432
|
+
let userData = [this.userConsoleData[i].terminalIP, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
|
|
433
433
|
dataTableforChart.push(userData);
|
|
434
434
|
}
|
|
435
435
|
for (let i = 0; i < this.schoolTerminalData.length; i++) {
|
|
436
|
-
|
|
436
|
+
console.log("schoolTerminalData", this.schoolTerminalData);
|
|
437
|
+
inActiveClassRoom = this.schoolTerminalData[i].terminalKey;
|
|
437
438
|
myChartRowData = {
|
|
438
439
|
userId: "",
|
|
439
440
|
userName: "",
|
|
440
441
|
startTime: new Date(this.myEndTime),
|
|
441
442
|
endTime: new Date(this.myEndTime),
|
|
442
|
-
terminalIP:
|
|
443
|
+
terminalIP: inActiveClassRoom,
|
|
443
444
|
resourceMetauserConsoleData: [],
|
|
444
445
|
duration: 0,
|
|
445
|
-
terminalLocation:
|
|
446
|
+
terminalLocation: "",
|
|
446
447
|
userSubjects: ""
|
|
447
448
|
};
|
|
448
449
|
allRoomsDetails.push(myChartRowData);
|
|
@@ -719,7 +720,7 @@ class ChartheaderComponent {
|
|
|
719
720
|
this.isChartView = true;
|
|
720
721
|
}
|
|
721
722
|
ngOnInit() {
|
|
722
|
-
this.libVersion = "0.0.
|
|
723
|
+
this.libVersion = "0.0.14";
|
|
723
724
|
// this.myIcon = document.getElementById('myIconImg');
|
|
724
725
|
// this.changeChatType()
|
|
725
726
|
}
|
|
@@ -899,8 +900,9 @@ class ChartviewComponent {
|
|
|
899
900
|
}
|
|
900
901
|
else {
|
|
901
902
|
for (let i = 0; i < detailViewMatrix.length; i++) {
|
|
903
|
+
// console.log("detailViewMatrix[i]",detailViewMatrix[i]);
|
|
902
904
|
id_durationArray = {
|
|
903
|
-
name: detailViewMatrix[i].
|
|
905
|
+
name: detailViewMatrix[i].terminalIP,
|
|
904
906
|
value: parseInt(detailViewMatrix[i].duration),
|
|
905
907
|
};
|
|
906
908
|
id_durationMatrix.push(id_durationArray);
|