mario-education 2.4.145-level → 2.4.147-level
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/index.css +2057 -2057
- package/dist/index.js +40 -31
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +40 -31
- package/dist/index.modern.js.map +1 -1
- package/package.json +98 -98
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +0 -7
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +0 -18
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +0 -4
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +0 -18
- /package/dist/MarioFramework.Education/ClientApp/src/utils/{servicetype.interface.d.ts → serviceType.interface.d.ts} +0 -0
package/dist/index.modern.js
CHANGED
|
@@ -14865,7 +14865,7 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
14865
14865
|
setFieldValue("isBeforeSession", !values.isBeforeSession);
|
|
14866
14866
|
setEditedTrue();
|
|
14867
14867
|
}
|
|
14868
|
-
})),
|
|
14868
|
+
})), parseInt(type) == TYPE_QUESTION.Default && React.createElement(Col, {
|
|
14869
14869
|
md: 12
|
|
14870
14870
|
}, React.createElement(CustomInput, {
|
|
14871
14871
|
type: "checkbox",
|
|
@@ -31565,15 +31565,16 @@ var StudentPressureChart = function StudentPressureChart(_ref) {
|
|
|
31565
31565
|
}, [chartWidth, studentPressure]);
|
|
31566
31566
|
var lineHeight = 20;
|
|
31567
31567
|
var tooltipHeight = tooltipStudents.length * lineHeight;
|
|
31568
|
+
var maxHeightTooltip = tooltipHeight + 30 > chartHeight - 50 ? chartHeight - 50 : tooltipHeight + 30;
|
|
31568
31569
|
return React.createElement("svg", {
|
|
31569
31570
|
ref: svgRef,
|
|
31570
31571
|
width: chartWidth,
|
|
31571
31572
|
height: chartHeight + 50
|
|
31572
31573
|
}, !!tooltipVisible && React.createElement("g", {
|
|
31573
|
-
transform: "translate(" + (tooltipX - 100) + "," + (tooltipY - tooltipHeight - 80) + ")"
|
|
31574
|
+
transform: "translate(" + (tooltipX - 100) + "," + Math.max(0, tooltipY - tooltipHeight - 80) + ")"
|
|
31574
31575
|
}, React.createElement("rect", {
|
|
31575
31576
|
width: "200",
|
|
31576
|
-
height:
|
|
31577
|
+
height: maxHeightTooltip + 10,
|
|
31577
31578
|
fill: "rgba(36, 36, 36, 0.8)",
|
|
31578
31579
|
rx: "5"
|
|
31579
31580
|
}), React.createElement("text", {
|
|
@@ -31582,25 +31583,33 @@ var StudentPressureChart = function StudentPressureChart(_ref) {
|
|
|
31582
31583
|
fill: "#fff",
|
|
31583
31584
|
fontSize: "12px",
|
|
31584
31585
|
textAnchor: "start"
|
|
31585
|
-
}, tooltipStudents.length + " students are " + tooltipVisible),
|
|
31586
|
-
|
|
31586
|
+
}, tooltipStudents.length + " students are " + tooltipVisible), React.createElement("foreignObject", {
|
|
31587
|
+
x: "0",
|
|
31588
|
+
y: "30",
|
|
31589
|
+
width: "200",
|
|
31590
|
+
height: maxHeightTooltip
|
|
31591
|
+
}, React.createElement("div", {
|
|
31592
|
+
style: {
|
|
31593
|
+
overflowY: "auto",
|
|
31594
|
+
maxHeight: maxHeightTooltip - 20 + "px",
|
|
31595
|
+
padding: "5px 5px 5px 10px",
|
|
31596
|
+
color: "#fff",
|
|
31597
|
+
fontSize: "12px"
|
|
31598
|
+
}
|
|
31599
|
+
}, tooltipStudents.map(function (label, index) {
|
|
31600
|
+
return React.createElement("div", {
|
|
31587
31601
|
key: index
|
|
31588
|
-
}, React.createElement("
|
|
31589
|
-
|
|
31590
|
-
|
|
31591
|
-
|
|
31592
|
-
|
|
31593
|
-
|
|
31594
|
-
|
|
31595
|
-
|
|
31596
|
-
|
|
31597
|
-
|
|
31598
|
-
|
|
31599
|
-
fill: "#fff",
|
|
31600
|
-
fontSize: "12px",
|
|
31601
|
-
textAnchor: "start"
|
|
31602
|
-
}, label));
|
|
31603
|
-
})));
|
|
31602
|
+
}, React.createElement("span", {
|
|
31603
|
+
style: {
|
|
31604
|
+
display: "inline-block",
|
|
31605
|
+
width: "4px",
|
|
31606
|
+
height: "14px",
|
|
31607
|
+
backgroundColor: colorTooltip,
|
|
31608
|
+
borderRadius: "10px",
|
|
31609
|
+
marginRight: "10px"
|
|
31610
|
+
}
|
|
31611
|
+
}), React.createElement("span", null, label));
|
|
31612
|
+
})))));
|
|
31604
31613
|
};
|
|
31605
31614
|
|
|
31606
31615
|
var Dashboard = function Dashboard() {
|
|
@@ -31849,7 +31858,15 @@ var Dashboard = function Dashboard() {
|
|
|
31849
31858
|
dayOfWeek: dayOfWeekOneToOne,
|
|
31850
31859
|
timeOfDay: filter.optionDate,
|
|
31851
31860
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"]
|
|
31852
|
-
})
|
|
31861
|
+
}), React.createElement("div", {
|
|
31862
|
+
className: "" + styles$1["mt-15"]
|
|
31863
|
+
}, React.createElement("p", {
|
|
31864
|
+
className: "" + styles$1["title-chart"]
|
|
31865
|
+
}, "Student Stress by Zone"), React.createElement("div", {
|
|
31866
|
+
className: "" + styles$1["box-chart-pressure"]
|
|
31867
|
+
}, React.createElement(StudentPressureChart, {
|
|
31868
|
+
studentPressure: studentPressure
|
|
31869
|
+
}))))), React.createElement("div", {
|
|
31853
31870
|
className: "shadow-lg mb-3 " + styles$1["chart-header-wrapper"]
|
|
31854
31871
|
}, React.createElement(HeaderChart, {
|
|
31855
31872
|
title: "Learning Progress",
|
|
@@ -31871,15 +31888,7 @@ var Dashboard = function Dashboard() {
|
|
|
31871
31888
|
avgQuestionLastMonth: []
|
|
31872
31889
|
}), React.createElement(TopLearningStrategy$1, {
|
|
31873
31890
|
data: topLearningStrategies
|
|
31874
|
-
})
|
|
31875
|
-
className: "" + styles$1["mt-15"]
|
|
31876
|
-
}, React.createElement("p", {
|
|
31877
|
-
className: "" + styles$1["title-chart"]
|
|
31878
|
-
}, t(studentPressureName)), React.createElement("div", {
|
|
31879
|
-
className: "" + styles$1["box-chart-pressure"]
|
|
31880
|
-
}, React.createElement(StudentPressureChart, {
|
|
31881
|
-
studentPressure: studentPressure
|
|
31882
|
-
}))))));
|
|
31891
|
+
}))));
|
|
31883
31892
|
};
|
|
31884
31893
|
|
|
31885
31894
|
var TypeEnumTemplate;
|