principal-dashboard-lib-v2 0.0.28 → 0.0.29
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 +14 -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/detailedview/detailedview.component.js +2 -2
- package/esm2015/lib/principal-dashboard-lib-v2.service.js +12 -6
- package/esm2015/lib/tableview/tableview.component.js +2 -2
- package/fesm2015/principal-dashboard-lib-v2.js +14 -8
- package/fesm2015/principal-dashboard-lib-v2.js.map +1 -1
- package/package.json +1 -1
|
@@ -748,14 +748,12 @@
|
|
|
748
748
|
chapter = resourceMetadataMatrix[i].chapter;
|
|
749
749
|
teachingPoint = resourceMetadataMatrix[i].teachingPoint;
|
|
750
750
|
if (resourceMetadataMatrix[i].title.toLowerCase() === 'whiteboard' || resourceMetadataMatrix[i].title.toLowerCase() === 'question') {
|
|
751
|
-
//AssestDetail = resourceMetadataMatrix[i].type + ": " + resourceMetadataIDsduration[k]
|
|
752
|
-
AssestDetail = resourceMetadataMatrix[i].type + ": " + this.convertSeconds(resourceMetadataIDsduration[k]);
|
|
753
|
-
//convertSeconds
|
|
751
|
+
//AssestDetail = resourceMetadataMatrix[i].type + ": " + this.convertSeconds(resourceMetadataIDsduration[k]);
|
|
754
752
|
}
|
|
755
753
|
else {
|
|
756
|
-
//AssestDetail = resourceMetadataMatrix[i].type + ": " + resourceMetadataMatrix[i].title + ": " + resourceMetadataIDsduration[k]
|
|
757
|
-
AssestDetail = resourceMetadataMatrix[i].type + ": " + resourceMetadataMatrix[i].title + ": " + this.convertSeconds(resourceMetadataIDsduration[k]);
|
|
754
|
+
//AssestDetail = resourceMetadataMatrix[i].type + ": " + resourceMetadataMatrix[i].title + ": " + this.convertSeconds(resourceMetadataIDsduration[k]);
|
|
758
755
|
}
|
|
756
|
+
AssestDetail = resourceMetadataMatrix[i].type + ": " + resourceMetadataMatrix[i].title + ": " + this.convertSeconds(resourceMetadataIDsduration[k]);
|
|
759
757
|
resourceArrayForTableChart = [subject, grade, chapter, teachingPoint, AssestDetail];
|
|
760
758
|
detailedView_ResourceDataMatrix.push(resourceArrayForTableChart);
|
|
761
759
|
}
|
|
@@ -823,6 +821,14 @@
|
|
|
823
821
|
type: "video",
|
|
824
822
|
display: "Video"
|
|
825
823
|
},
|
|
824
|
+
{
|
|
825
|
+
type: "tools",
|
|
826
|
+
display: "Tools"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
type: "feature",
|
|
830
|
+
display: "Feature"
|
|
831
|
+
},
|
|
826
832
|
];
|
|
827
833
|
var displayValue = key;
|
|
828
834
|
assetTypeConfig.forEach(function (value) {
|
|
@@ -897,7 +903,7 @@
|
|
|
897
903
|
this.isChartView = true;
|
|
898
904
|
}
|
|
899
905
|
ChartheaderComponent.prototype.ngOnInit = function () {
|
|
900
|
-
this.libVersion = "0.0.
|
|
906
|
+
this.libVersion = "0.0.29";
|
|
901
907
|
// this.myIcon = document.getElementById('myIconImg');
|
|
902
908
|
// this.changeChatType()
|
|
903
909
|
};
|
|
@@ -1701,7 +1707,7 @@
|
|
|
1701
1707
|
this.deatilViewContainer.style.display = 'none';
|
|
1702
1708
|
};
|
|
1703
1709
|
DetailedviewComponent.prototype.replaceLabelChapterAndTopic = function (data) {
|
|
1704
|
-
var htmlStr = "<span style='font-style: italic;color: #3F51B5;'>(
|
|
1710
|
+
var htmlStr = "<span style='font-style: italic;color: #3F51B5;'>(seen)</span>";
|
|
1705
1711
|
return data.map(function (row) {
|
|
1706
1712
|
return row.map(function (cell) {
|
|
1707
1713
|
if (cell.includes("Topic:")) {
|
|
@@ -2771,7 +2777,7 @@
|
|
|
2771
2777
|
//console.log('AAA mlaunchedFromm tableViewData', this.tableViewData)
|
|
2772
2778
|
};
|
|
2773
2779
|
TableviewComponent.prototype.replaceTopicAndChapter = function (data) {
|
|
2774
|
-
var htmlStr = "<span style='font-style: italic;color: #3F51B5;'>(
|
|
2780
|
+
var htmlStr = "<span style='font-style: italic;color: #3F51B5;'>(seen)</span>";
|
|
2775
2781
|
return data.map(function (row) {
|
|
2776
2782
|
if (Array.isArray(row)) {
|
|
2777
2783
|
return row.map(function (item) {
|