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
|
@@ -359,12 +359,12 @@
|
|
|
359
359
|
var dataTableforChart = new Array();
|
|
360
360
|
dataTableforChart = [];
|
|
361
361
|
if (this.userConsoleData) {
|
|
362
|
-
console.log("this.userConsoleData", this.userConsoleData);
|
|
363
362
|
for (var i = 0; i < this.userConsoleData.length; i++) {
|
|
364
363
|
var userData = [this.userConsoleData[i].terminalIP, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
|
|
365
364
|
dataTableforChart.push(userData);
|
|
366
365
|
}
|
|
367
366
|
}
|
|
367
|
+
console.log("this.classRoomWiseChartData", dataTableforChart);
|
|
368
368
|
return dataTableforChart;
|
|
369
369
|
};
|
|
370
370
|
PrincipalDashboardLibV2Service.prototype.allUserChartData = function () {
|
|
@@ -427,20 +427,21 @@
|
|
|
427
427
|
var inActiveClassRoom = void 0;
|
|
428
428
|
for (var i = 0; i < this.userConsoleData.length; i++) {
|
|
429
429
|
allRoomsDetails.push(this.userConsoleData[i]);
|
|
430
|
-
var userData = [this.userConsoleData[i].
|
|
430
|
+
var userData = [this.userConsoleData[i].terminalIP, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
|
|
431
431
|
dataTableforChart.push(userData);
|
|
432
432
|
}
|
|
433
433
|
for (var i = 0; i < this.schoolTerminalData.length; i++) {
|
|
434
|
-
|
|
434
|
+
console.log("schoolTerminalData", this.schoolTerminalData);
|
|
435
|
+
inActiveClassRoom = this.schoolTerminalData[i].terminalKey;
|
|
435
436
|
myChartRowData = {
|
|
436
437
|
userId: "",
|
|
437
438
|
userName: "",
|
|
438
439
|
startTime: new Date(this.myEndTime),
|
|
439
440
|
endTime: new Date(this.myEndTime),
|
|
440
|
-
terminalIP:
|
|
441
|
+
terminalIP: inActiveClassRoom,
|
|
441
442
|
resourceMetauserConsoleData: [],
|
|
442
443
|
duration: 0,
|
|
443
|
-
terminalLocation:
|
|
444
|
+
terminalLocation: "",
|
|
444
445
|
userSubjects: ""
|
|
445
446
|
};
|
|
446
447
|
allRoomsDetails.push(myChartRowData);
|
|
@@ -723,7 +724,7 @@
|
|
|
723
724
|
this.isChartView = true;
|
|
724
725
|
}
|
|
725
726
|
ChartheaderComponent.prototype.ngOnInit = function () {
|
|
726
|
-
this.libVersion = "0.0.
|
|
727
|
+
this.libVersion = "0.0.14";
|
|
727
728
|
// this.myIcon = document.getElementById('myIconImg');
|
|
728
729
|
// this.changeChatType()
|
|
729
730
|
};
|
|
@@ -1228,8 +1229,9 @@
|
|
|
1228
1229
|
}
|
|
1229
1230
|
else {
|
|
1230
1231
|
for (var i = 0; i < detailViewMatrix.length; i++) {
|
|
1232
|
+
// console.log("detailViewMatrix[i]",detailViewMatrix[i]);
|
|
1231
1233
|
id_durationArray = {
|
|
1232
|
-
name: detailViewMatrix[i].
|
|
1234
|
+
name: detailViewMatrix[i].terminalIP,
|
|
1233
1235
|
value: parseInt(detailViewMatrix[i].duration),
|
|
1234
1236
|
};
|
|
1235
1237
|
id_durationMatrix.push(id_durationArray);
|