mario-education 2.4.37-admin → 2.4.40-admin
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/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +1 -0
- package/dist/index.js +43 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +44 -16
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -2,7 +2,7 @@ import { api, BASE_URL, setAlert, CustomSelector, LinkEditButton, DeleteButtonIc
|
|
|
2
2
|
import { LicenseManager } from '@ag-grid-enterprise/core';
|
|
3
3
|
import React, { useState, useRef, useCallback, useEffect, forwardRef, useMemo, Fragment, memo } from 'react';
|
|
4
4
|
import { useDispatch, useSelector } from 'react-redux';
|
|
5
|
-
import { Table, Row, Col, Input, Label, Button, CustomInput, Card, CardBody, CardTitle, FormGroup, Alert, Modal, ModalHeader, ModalBody, ModalFooter, Progress, Form, Collapse } from 'reactstrap';
|
|
5
|
+
import { Table, Row, Col, Input, Label, Button, CustomInput, Card, CardBody, CardTitle, FormGroup, Alert, Modal, ModalHeader, ModalBody, ModalFooter, Progress, Tooltip, Form, Collapse } from 'reactstrap';
|
|
6
6
|
import { Formik } from 'formik';
|
|
7
7
|
import { object, string, array, number, boolean } from 'yup';
|
|
8
8
|
import { useHistory, useParams } from 'react-router-dom';
|
|
@@ -19804,16 +19804,34 @@ var HeaderChart = function HeaderChart(_ref) {
|
|
|
19804
19804
|
_ref$typeChart = _ref.typeChart,
|
|
19805
19805
|
typeChart = _ref$typeChart === void 0 ? TYPECHART.BAR : _ref$typeChart,
|
|
19806
19806
|
onChangeChart = _ref.onChangeChart,
|
|
19807
|
-
options = _ref.options
|
|
19807
|
+
options = _ref.options,
|
|
19808
|
+
contentTooltip = _ref.contentTooltip,
|
|
19809
|
+
index = _ref.index;
|
|
19810
|
+
|
|
19811
|
+
var _useState = useState(false),
|
|
19812
|
+
openTooltip = _useState[0],
|
|
19813
|
+
setOpenTooltip = _useState[1];
|
|
19814
|
+
|
|
19815
|
+
var handleOpenTooltip = function handleOpenTooltip() {
|
|
19816
|
+
setOpenTooltip(!openTooltip);
|
|
19817
|
+
};
|
|
19818
|
+
|
|
19808
19819
|
return React.createElement("div", {
|
|
19809
|
-
className: "d-flex justify-content-between align-items-center " + styles$1["header-chart"] + " "
|
|
19820
|
+
className: "d-flex justify-content-between align-items-center " + styles$1["header-chart"] + " ",
|
|
19821
|
+
onClick: onToggle
|
|
19810
19822
|
}, React.createElement("div", {
|
|
19811
19823
|
className: "" + styles$1["header-left"]
|
|
19812
19824
|
}, React.createElement("span", {
|
|
19813
19825
|
className: styles$1["header-title"] + " pr-2"
|
|
19814
19826
|
}, title), React.createElement("i", {
|
|
19815
|
-
className: styles$1["icon-chart"] + " fal fa-info-circle cursor-pointer"
|
|
19816
|
-
|
|
19827
|
+
className: styles$1["icon-chart"] + " fal fa-info-circle cursor-pointer",
|
|
19828
|
+
id: "tooltip-" + index
|
|
19829
|
+
}), React.createElement(Tooltip, {
|
|
19830
|
+
placement: "right",
|
|
19831
|
+
isOpen: openTooltip,
|
|
19832
|
+
target: "tooltip-" + index,
|
|
19833
|
+
toggle: handleOpenTooltip
|
|
19834
|
+
}, contentTooltip)), React.createElement("div", {
|
|
19817
19835
|
className: "" + styles$1["header-right"]
|
|
19818
19836
|
}, isOpen && isShowChangeChart && (options === null || options === void 0 ? void 0 : options.length) && React.createElement("div", {
|
|
19819
19837
|
className: "d-flex align-items-center d-inline-block pr-4"
|
|
@@ -27609,7 +27627,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
27609
27627
|
});
|
|
27610
27628
|
},
|
|
27611
27629
|
isShowChangeChart: false,
|
|
27612
|
-
options: []
|
|
27630
|
+
options: [],
|
|
27631
|
+
contentTooltip: "The represenation of individual student responses to their own feelings of Energy, Focus, Happiness, Safety, and Stress at the time administered. Note that scores are set on a 1-100 scale with the exception of Stress which optimum stress is set at '0' to get a sense of High Stress vs Low Stress."
|
|
27613
27632
|
}, {
|
|
27614
27633
|
id: "high_impact_learning_strategie",
|
|
27615
27634
|
label: "High Impact Learning Strategies",
|
|
@@ -27619,7 +27638,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
27619
27638
|
});
|
|
27620
27639
|
},
|
|
27621
27640
|
isShowChangeChart: false,
|
|
27622
|
-
options: []
|
|
27641
|
+
options: [],
|
|
27642
|
+
contentTooltip: "Both the composite of individual students reporting their percieved use of John Hattie's High Impact Learning Strategies measured against the actual application with a teacher in total."
|
|
27623
27643
|
}, {
|
|
27624
27644
|
id: "1_to_1",
|
|
27625
27645
|
label: "1 To 1",
|
|
@@ -27643,10 +27663,11 @@ var useChartDatas = function useChartDatas() {
|
|
|
27643
27663
|
}, {
|
|
27644
27664
|
label: "Bar charts",
|
|
27645
27665
|
value: TYPECHART.BAR
|
|
27646
|
-
}]
|
|
27666
|
+
}],
|
|
27667
|
+
contentTooltip: "The composite results of the survey completed by individual students seeking their own perception of performance in the 6 key areas followed by 3 specific areas of well being over time."
|
|
27647
27668
|
}, {
|
|
27648
27669
|
id: "class_reflection",
|
|
27649
|
-
label: "
|
|
27670
|
+
label: "Reflection",
|
|
27650
27671
|
children: function children(typeChart, isPDF) {
|
|
27651
27672
|
return React.createElement(ColumnChartAndPercent$1, {
|
|
27652
27673
|
data: dataConvertedClassReflection,
|
|
@@ -27668,10 +27689,11 @@ var useChartDatas = function useChartDatas() {
|
|
|
27668
27689
|
}, {
|
|
27669
27690
|
label: "Line charts",
|
|
27670
27691
|
value: TYPECHART.LINE
|
|
27671
|
-
}]
|
|
27692
|
+
}],
|
|
27693
|
+
contentTooltip: "The result of surveys sent to any individual (external or internal) that connects with the student to assist in measuring the individual student's: Productivity, Happiness, Energy, Focus, and Stress over time."
|
|
27672
27694
|
}, {
|
|
27673
27695
|
id: "conference",
|
|
27674
|
-
label: "
|
|
27696
|
+
label: "Conferences",
|
|
27675
27697
|
children: function children(typeChart, isPDF) {
|
|
27676
27698
|
return React.createElement(ColumnChartAndPercent$1, {
|
|
27677
27699
|
data: dataConvertedConference,
|
|
@@ -27692,7 +27714,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
27692
27714
|
}, {
|
|
27693
27715
|
label: "Bar charts",
|
|
27694
27716
|
value: TYPECHART.BAR
|
|
27695
|
-
}]
|
|
27717
|
+
}],
|
|
27718
|
+
contentTooltip: "The composite representation of individual aggregate scores located at the bottom of individual Conferences conducted between Teachers and Students over time. Note that scores of 'Not Applicable' do not get measured."
|
|
27696
27719
|
}, {
|
|
27697
27720
|
id: "safety",
|
|
27698
27721
|
label: "Safety",
|
|
@@ -27717,7 +27740,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
27717
27740
|
}, {
|
|
27718
27741
|
label: "Line charts",
|
|
27719
27742
|
value: TYPECHART.LINE
|
|
27720
|
-
}]
|
|
27743
|
+
}],
|
|
27744
|
+
contentTooltip: "The visual represenation of all the responses from the question asking students to rate their perceived level of safety for themselves at your school over time."
|
|
27721
27745
|
}, {
|
|
27722
27746
|
id: "Student_by_age",
|
|
27723
27747
|
label: "Student by Age",
|
|
@@ -27729,7 +27753,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
27729
27753
|
});
|
|
27730
27754
|
},
|
|
27731
27755
|
isShowChangeChart: false,
|
|
27732
|
-
options: []
|
|
27756
|
+
options: [],
|
|
27757
|
+
contentTooltip: "The specific represenation of students by gender and grade level at your school."
|
|
27733
27758
|
}, {
|
|
27734
27759
|
id: "student_by_grade",
|
|
27735
27760
|
label: "Students by Designation",
|
|
@@ -27739,7 +27764,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
27739
27764
|
});
|
|
27740
27765
|
},
|
|
27741
27766
|
isShowChangeChart: false,
|
|
27742
|
-
options: []
|
|
27767
|
+
options: [],
|
|
27768
|
+
contentTooltip: "The composite representation of students by individual grades in your school with specific designations."
|
|
27743
27769
|
}];
|
|
27744
27770
|
var initialTypeChart = chartDashBoards.map(function (i) {
|
|
27745
27771
|
return i.options.length > 0 ? i.options[0].value : TYPECHART.AREA;
|
|
@@ -29424,7 +29450,9 @@ var Dashboard = function Dashboard() {
|
|
|
29424
29450
|
return _onChangeChart(index, type, chartDashBoard === null || chartDashBoard === void 0 ? void 0 : chartDashBoard.options);
|
|
29425
29451
|
},
|
|
29426
29452
|
isOpen: chartIsOpened[index],
|
|
29427
|
-
options: chartDashBoard.options
|
|
29453
|
+
options: chartDashBoard.options,
|
|
29454
|
+
contentTooltip: chartDashBoard === null || chartDashBoard === void 0 ? void 0 : chartDashBoard.contentTooltip,
|
|
29455
|
+
index: index
|
|
29428
29456
|
}), React.createElement(Collapse, {
|
|
29429
29457
|
isOpen: chartIsOpened[index]
|
|
29430
29458
|
}, chartDashBoard.children(typeChartList[index])));
|