mario-education 2.4.181-level → 2.4.182-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/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentPressureChart.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +1 -0
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -31172,7 +31172,8 @@ var backgroundPressureMobile = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjg3Ii
|
|
|
31172
31172
|
|
|
31173
31173
|
var StudentPressureChart = function StudentPressureChart(_ref) {
|
|
31174
31174
|
var studentPressure = _ref.studentPressure,
|
|
31175
|
-
width = _ref.width
|
|
31175
|
+
width = _ref.width,
|
|
31176
|
+
print = _ref.print;
|
|
31176
31177
|
var svgRef = useRef(null);
|
|
31177
31178
|
var innerWidth = window.innerWidth < 576 ? window.innerWidth - 20 : window.innerWidth - 340;
|
|
31178
31179
|
|
|
@@ -31397,7 +31398,10 @@ var StudentPressureChart = function StudentPressureChart(_ref) {
|
|
|
31397
31398
|
return handleEnterInfoIcon(infoX, infoY + 4, tooltip, label);
|
|
31398
31399
|
});
|
|
31399
31400
|
infoIconContainer.addEventListener("mouseleave", handleLeaveInfoIcon);
|
|
31400
|
-
|
|
31401
|
+
|
|
31402
|
+
if (!print) {
|
|
31403
|
+
svg.appendChild(infoIconContainer);
|
|
31404
|
+
}
|
|
31401
31405
|
};
|
|
31402
31406
|
|
|
31403
31407
|
for (var i = 1; i <= data.length; i++) {
|
|
@@ -32372,7 +32376,8 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32372
32376
|
}
|
|
32373
32377
|
}, React.createElement(StudentPressureChart, {
|
|
32374
32378
|
studentPressure: studentPressure,
|
|
32375
|
-
width: 1280
|
|
32379
|
+
width: 1280,
|
|
32380
|
+
print: true
|
|
32376
32381
|
})), React.createElement("div", {
|
|
32377
32382
|
id: "learning_progress"
|
|
32378
32383
|
}, React.createElement(GenerateChartData, {
|
|
@@ -32633,7 +32638,7 @@ var Dashboard = function Dashboard() {
|
|
|
32633
32638
|
className: "" + styles$1["header-desc-modal"]
|
|
32634
32639
|
}, t("the_data_is_taken_from_the_home_screen"), "."), React.createElement("p", {
|
|
32635
32640
|
className: "" + styles$1["header-desc-modal"]
|
|
32636
|
-
}, t("make_sure_everything_is_set_correctly_before_exporting")
|
|
32641
|
+
}, t("make_sure_everything_is_set_correctly_before_exporting"))), React.createElement(ModalBody, null, chartNames === null || chartNames === void 0 ? void 0 : chartNames.map(function (item) {
|
|
32637
32642
|
return React.createElement(FormGroup, {
|
|
32638
32643
|
check: true,
|
|
32639
32644
|
className: "" + styles$1["form-checkbox"]
|