mario-education 2.4.172-level → 2.4.174-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/TopLearningStrategy.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +1 -1
- package/dist/index.css +2185 -2179
- package/dist/index.js +304 -255
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +304 -255
- 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
|
@@ -29670,6 +29670,12 @@ var useChartDatas = function useChartDatas() {
|
|
|
29670
29670
|
handleActiveColumnConference = _useDashboard.handleActiveColumnConference,
|
|
29671
29671
|
activeColumnConference = _useDashboard.activeColumnConference;
|
|
29672
29672
|
|
|
29673
|
+
var schoolName = useSelector(function (state) {
|
|
29674
|
+
var _state$common, _state$common$user;
|
|
29675
|
+
|
|
29676
|
+
return state === null || state === void 0 ? void 0 : (_state$common = state.common) === null || _state$common === void 0 ? void 0 : (_state$common$user = _state$common.user) === null || _state$common$user === void 0 ? void 0 : _state$common$user.schoolName;
|
|
29677
|
+
});
|
|
29678
|
+
|
|
29673
29679
|
var _useState = useState([]),
|
|
29674
29680
|
selectedToPrint = _useState[0],
|
|
29675
29681
|
setSelectedToPrint = _useState[1];
|
|
@@ -29869,7 +29875,7 @@ var useChartDatas = function useChartDatas() {
|
|
|
29869
29875
|
studentPressure: studentPressure,
|
|
29870
29876
|
dataOverallReadyToLearn: dataOverallReadyToLearn,
|
|
29871
29877
|
readinessToLearning: readinessToLearning,
|
|
29872
|
-
|
|
29878
|
+
schoolName: schoolName
|
|
29873
29879
|
};
|
|
29874
29880
|
};
|
|
29875
29881
|
|
|
@@ -30937,9 +30943,16 @@ var TopLearningStrategy = function TopLearningStrategy(_ref2) {
|
|
|
30937
30943
|
|
|
30938
30944
|
var data = _ref2.data,
|
|
30939
30945
|
learningStrategyId = _ref2.learningStrategyId,
|
|
30940
|
-
topLearningStrategyId = _ref2.topLearningStrategyId
|
|
30946
|
+
topLearningStrategyId = _ref2.topLearningStrategyId,
|
|
30947
|
+
width = _ref2.width,
|
|
30948
|
+
isPrint = _ref2.isPrint;
|
|
30941
30949
|
if (!data) return React.createElement(Loading, null);
|
|
30942
30950
|
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
30951
|
+
|
|
30952
|
+
if (width) {
|
|
30953
|
+
screenWidth = width;
|
|
30954
|
+
}
|
|
30955
|
+
|
|
30943
30956
|
var isMobileScreen = screenWidth < 576;
|
|
30944
30957
|
var learningStrategies = (data === null || data === void 0 ? void 0 : (_data$learningStrateg = data.learningStrategies) === null || _data$learningStrateg === void 0 ? void 0 : _data$learningStrateg.sort(function (a, b) {
|
|
30945
30958
|
return average(b.usagePoint) - average(a.usagePoint);
|
|
@@ -31048,8 +31061,8 @@ var TopLearningStrategy = function TopLearningStrategy(_ref2) {
|
|
|
31048
31061
|
className: "h-100 w-100 " + styles$1["chart-background"] + " pl-4"
|
|
31049
31062
|
}, React.createElement(Row, {
|
|
31050
31063
|
className: "d-flex"
|
|
31051
|
-
}, React.createElement(Col, {
|
|
31052
|
-
md: 7
|
|
31064
|
+
}, (!isPrint || isPrint && learningStrategyId) && React.createElement(Col, {
|
|
31065
|
+
md: isPrint ? 12 : 7
|
|
31053
31066
|
}, React.createElement("div", {
|
|
31054
31067
|
className: "" + styles$1["block-header-chart"]
|
|
31055
31068
|
}, React.createElement("div", {
|
|
@@ -31078,8 +31091,8 @@ var TopLearningStrategy = function TopLearningStrategy(_ref2) {
|
|
|
31078
31091
|
src: "images/chart-top-learning.png"
|
|
31079
31092
|
}), React.createElement("p", {
|
|
31080
31093
|
className: "" + styles$1["name-chart"]
|
|
31081
|
-
}, "Perceived Usefulness"))), React.createElement(Col, {
|
|
31082
|
-
md: 5,
|
|
31094
|
+
}, "Perceived Usefulness"))), (!isPrint || isPrint && topLearningStrategyId) && React.createElement(Col, {
|
|
31095
|
+
md: isPrint ? 12 : 5,
|
|
31083
31096
|
className: "" + styles$1["box-top-5-most"]
|
|
31084
31097
|
}, React.createElement("div", {
|
|
31085
31098
|
className: "" + styles$1["block-header-chart"]
|
|
@@ -31481,26 +31494,26 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31481
31494
|
|
|
31482
31495
|
var generatePDF = function generatePDF() {
|
|
31483
31496
|
try {
|
|
31484
|
-
var
|
|
31497
|
+
var _temp46 = function _temp46() {
|
|
31485
31498
|
dispatch(setLoading(false));
|
|
31486
31499
|
};
|
|
31487
31500
|
|
|
31488
31501
|
dispatch(setLoading(true));
|
|
31489
31502
|
|
|
31490
|
-
var
|
|
31491
|
-
function
|
|
31492
|
-
function
|
|
31493
|
-
function
|
|
31494
|
-
function
|
|
31495
|
-
function
|
|
31496
|
-
function
|
|
31497
|
-
function
|
|
31498
|
-
function
|
|
31499
|
-
function
|
|
31503
|
+
var _temp47 = _catch(function () {
|
|
31504
|
+
function _temp43() {
|
|
31505
|
+
function _temp41() {
|
|
31506
|
+
function _temp39() {
|
|
31507
|
+
function _temp37() {
|
|
31508
|
+
function _temp35() {
|
|
31509
|
+
function _temp33() {
|
|
31510
|
+
function _temp31() {
|
|
31511
|
+
function _temp29() {
|
|
31512
|
+
function _temp27() {
|
|
31500
31513
|
doc.save("DashBoard.pdf");
|
|
31501
31514
|
}
|
|
31502
31515
|
|
|
31503
|
-
var
|
|
31516
|
+
var _temp26 = function () {
|
|
31504
31517
|
if (selectedToPDF.includes(topLearningStrategyName)) {
|
|
31505
31518
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31506
31519
|
doc.setFontSize(14);
|
|
@@ -31544,10 +31557,10 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31544
31557
|
}
|
|
31545
31558
|
}();
|
|
31546
31559
|
|
|
31547
|
-
return
|
|
31560
|
+
return _temp26 && _temp26.then ? _temp26.then(_temp27) : _temp27(_temp26);
|
|
31548
31561
|
}
|
|
31549
31562
|
|
|
31550
|
-
var
|
|
31563
|
+
var _temp28 = function () {
|
|
31551
31564
|
if (selectedToPDF.includes(learningProcessName)) {
|
|
31552
31565
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31553
31566
|
doc.setFontSize(14);
|
|
@@ -31556,19 +31569,38 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31556
31569
|
line += 20;
|
|
31557
31570
|
var chart = document.getElementById("learning_progress");
|
|
31558
31571
|
return Promise.resolve(html2canvas(chart)).then(function (canvas) {
|
|
31559
|
-
function
|
|
31572
|
+
function _temp25() {
|
|
31573
|
+
function _temp23() {
|
|
31574
|
+
doc.addImage(canvas.toDataURL("image/png"), 10, line + 20, chartWidth, chartHeight);
|
|
31575
|
+
chartCount++;
|
|
31576
|
+
|
|
31577
|
+
if (chartCount < selectedToPDF.length) {
|
|
31578
|
+
doc.addPage();
|
|
31579
|
+
line = 80;
|
|
31580
|
+
left = 20;
|
|
31581
|
+
}
|
|
31582
|
+
}
|
|
31583
|
+
|
|
31560
31584
|
left = 20;
|
|
31561
31585
|
line += questions.length * 10;
|
|
31562
31586
|
var chartWidth = 420;
|
|
31563
31587
|
var chartHeight = chart && chart.clientWidth ? chartWidth * chart.clientHeight / chart.clientWidth : heightChart;
|
|
31564
|
-
doc.addImage(canvas.toDataURL("image/png"), 10, line + 20, chartWidth, chartHeight);
|
|
31565
|
-
chartCount++;
|
|
31566
31588
|
|
|
31567
|
-
|
|
31568
|
-
|
|
31569
|
-
|
|
31570
|
-
|
|
31571
|
-
|
|
31589
|
+
var _temp22 = function () {
|
|
31590
|
+
if (line + chartHeight + 20 > HEIGHT_PAPER) {
|
|
31591
|
+
doc.addPage();
|
|
31592
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31593
|
+
line = 80;
|
|
31594
|
+
left = 20;
|
|
31595
|
+
doc.setFontSize(14);
|
|
31596
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31597
|
+
doc.text(t(learningProcessName), left, line);
|
|
31598
|
+
line += 10;
|
|
31599
|
+
});
|
|
31600
|
+
}
|
|
31601
|
+
}();
|
|
31602
|
+
|
|
31603
|
+
return _temp22 && _temp22.then ? _temp22.then(_temp23) : _temp23(_temp22);
|
|
31572
31604
|
}
|
|
31573
31605
|
|
|
31574
31606
|
var lineOptionPrecess = line;
|
|
@@ -31578,67 +31610,71 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31578
31610
|
});
|
|
31579
31611
|
var COLORS = ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"];
|
|
31580
31612
|
|
|
31581
|
-
var
|
|
31582
|
-
|
|
31583
|
-
|
|
31584
|
-
|
|
31585
|
-
|
|
31586
|
-
|
|
31613
|
+
var _temp24 = function () {
|
|
31614
|
+
if (seriesConference !== null && seriesConference !== void 0 && seriesConference.length) {
|
|
31615
|
+
return _forTo(monthsConference, function (index) {
|
|
31616
|
+
var _line = line;
|
|
31617
|
+
doc.setFontSize(12);
|
|
31618
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31619
|
+
doc.text(monthsConference[index], left, _line);
|
|
31620
|
+
doc.setFontSize(8);
|
|
31587
31621
|
|
|
31588
|
-
|
|
31589
|
-
|
|
31622
|
+
for (var indexResult = 0; indexResult < (seriesConference === null || seriesConference === void 0 ? void 0 : seriesConference.length); indexResult++) {
|
|
31623
|
+
var avg = seriesConference[indexResult].data[index];
|
|
31590
31624
|
|
|
31591
|
-
|
|
31592
|
-
|
|
31625
|
+
if (avg != 0) {
|
|
31626
|
+
var questionText = questions[indexResult];
|
|
31593
31627
|
|
|
31594
|
-
|
|
31595
|
-
|
|
31596
|
-
|
|
31597
|
-
|
|
31598
|
-
|
|
31599
|
-
|
|
31600
|
-
|
|
31601
|
-
|
|
31602
|
-
|
|
31628
|
+
if (questionText != "") {
|
|
31629
|
+
doc.setDrawColor(0);
|
|
31630
|
+
doc.setFillColor(COLORS[indexResult]);
|
|
31631
|
+
doc.roundedRect(left, _line + 5, 5, 5, 1, 1, "F");
|
|
31632
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31633
|
+
doc.text(questionText + ":", left + 8, _line + 10);
|
|
31634
|
+
doc.setFont("Helvetica", "normal", "normal");
|
|
31635
|
+
doc.text((avg === null || avg === void 0 ? void 0 : avg.toFixed(2)) + "%", left + (questionText === null || questionText === void 0 ? void 0 : questionText.length) * 2.5 + 20.5, _line + 10);
|
|
31636
|
+
}
|
|
31603
31637
|
|
|
31604
|
-
|
|
31638
|
+
_line += 10;
|
|
31605
31639
|
|
|
31606
|
-
|
|
31607
|
-
|
|
31640
|
+
if (_line > lineOptionPrecess) {
|
|
31641
|
+
lineOptionPrecess = _line;
|
|
31642
|
+
}
|
|
31643
|
+
}
|
|
31608
31644
|
}
|
|
31609
|
-
}
|
|
31610
|
-
}
|
|
31611
31645
|
|
|
31612
|
-
|
|
31646
|
+
left += 100;
|
|
31613
31647
|
|
|
31614
|
-
|
|
31615
|
-
left = 20;
|
|
31616
|
-
line = lineOptionPrecess + 25;
|
|
31617
|
-
}
|
|
31618
|
-
|
|
31619
|
-
var _temp17 = function () {
|
|
31620
|
-
if (line + 150 > HEIGHT_PAPER) {
|
|
31621
|
-
doc.addPage();
|
|
31622
|
-
return Promise.resolve(createImageHeader()).then(function () {
|
|
31623
|
-
line = 80;
|
|
31648
|
+
if (left + 105 > WIDTH_PAPER) {
|
|
31624
31649
|
left = 20;
|
|
31625
|
-
|
|
31626
|
-
|
|
31627
|
-
}();
|
|
31650
|
+
line = lineOptionPrecess + 20;
|
|
31651
|
+
}
|
|
31628
31652
|
|
|
31629
|
-
|
|
31630
|
-
|
|
31653
|
+
var _temp21 = function () {
|
|
31654
|
+
if (line + 150 > HEIGHT_PAPER) {
|
|
31655
|
+
doc.addPage();
|
|
31656
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31657
|
+
line = 80;
|
|
31658
|
+
left = 20;
|
|
31659
|
+
});
|
|
31660
|
+
}
|
|
31661
|
+
}();
|
|
31662
|
+
|
|
31663
|
+
if (_temp21 && _temp21.then) return _temp21.then(function () {});
|
|
31664
|
+
});
|
|
31665
|
+
}
|
|
31666
|
+
}();
|
|
31631
31667
|
|
|
31632
|
-
return
|
|
31668
|
+
return _temp24 && _temp24.then ? _temp24.then(_temp25) : _temp25(_temp24);
|
|
31633
31669
|
});
|
|
31634
31670
|
});
|
|
31635
31671
|
}
|
|
31636
31672
|
}();
|
|
31637
31673
|
|
|
31638
|
-
return
|
|
31674
|
+
return _temp28 && _temp28.then ? _temp28.then(_temp29) : _temp29(_temp28);
|
|
31639
31675
|
}
|
|
31640
31676
|
|
|
31641
|
-
var
|
|
31677
|
+
var _temp30 = function () {
|
|
31642
31678
|
if (selectedToPDF.includes(successIndicatorsName)) {
|
|
31643
31679
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31644
31680
|
doc.setFontSize(14);
|
|
@@ -31647,19 +31683,38 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31647
31683
|
line += 40;
|
|
31648
31684
|
var chart = document.getElementById("success_indicators");
|
|
31649
31685
|
return Promise.resolve(html2canvas(chart)).then(function (canvas) {
|
|
31650
|
-
function
|
|
31686
|
+
function _temp20() {
|
|
31687
|
+
function _temp18() {
|
|
31688
|
+
doc.addImage(canvas.toDataURL("image/png"), 10, line + 20, chartWidth, chartHeight);
|
|
31689
|
+
chartCount++;
|
|
31690
|
+
|
|
31691
|
+
if (chartCount < selectedToPDF.length) {
|
|
31692
|
+
doc.addPage();
|
|
31693
|
+
line = 80;
|
|
31694
|
+
left = 20;
|
|
31695
|
+
}
|
|
31696
|
+
}
|
|
31697
|
+
|
|
31651
31698
|
left = 20;
|
|
31652
31699
|
line += questions.length * 10;
|
|
31653
31700
|
var chartWidth = 420;
|
|
31654
31701
|
var chartHeight = chart && chart.clientWidth ? chartWidth * chart.clientHeight / chart.clientWidth : heightChart;
|
|
31655
|
-
doc.addImage(canvas.toDataURL("image/png"), 10, line + 20, chartWidth, chartHeight);
|
|
31656
|
-
chartCount++;
|
|
31657
31702
|
|
|
31658
|
-
|
|
31659
|
-
|
|
31660
|
-
|
|
31661
|
-
|
|
31662
|
-
|
|
31703
|
+
var _temp17 = function () {
|
|
31704
|
+
if (line + chartHeight + 20 > HEIGHT_PAPER) {
|
|
31705
|
+
doc.addPage();
|
|
31706
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31707
|
+
line = 80;
|
|
31708
|
+
left = 20;
|
|
31709
|
+
doc.setFontSize(14);
|
|
31710
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31711
|
+
doc.text(t(successIndicatorsName), left, line);
|
|
31712
|
+
line += 10;
|
|
31713
|
+
});
|
|
31714
|
+
}
|
|
31715
|
+
}();
|
|
31716
|
+
|
|
31717
|
+
return _temp17 && _temp17.then ? _temp17.then(_temp18) : _temp18(_temp17);
|
|
31663
31718
|
}
|
|
31664
31719
|
|
|
31665
31720
|
var lineOptionCheckIn = line;
|
|
@@ -31668,75 +31723,74 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31668
31723
|
return r.name;
|
|
31669
31724
|
});
|
|
31670
31725
|
var COLORS = ["#73C8E5", "#FFB04F", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"];
|
|
31671
|
-
var indexCheckIn = 0;
|
|
31672
|
-
|
|
31673
|
-
var _temp15 = _for(function () {
|
|
31674
|
-
return indexCheckIn < monthsOneToOne.length;
|
|
31675
|
-
}, function () {
|
|
31676
|
-
return indexCheckIn++;
|
|
31677
|
-
}, function () {
|
|
31678
|
-
var _line = line;
|
|
31679
|
-
doc.setFontSize(12);
|
|
31680
|
-
doc.setFont("Helvetica", "normal", "bold");
|
|
31681
|
-
doc.text(monthsOneToOne[indexCheckIn], left, _line);
|
|
31682
|
-
doc.setFontSize(8);
|
|
31683
|
-
|
|
31684
|
-
for (var indexResult = 0; indexResult < (successIndicatorsData === null || successIndicatorsData === void 0 ? void 0 : successIndicatorsData.length); indexResult++) {
|
|
31685
|
-
var avg = successIndicatorsData[indexResult].data[indexCheckIn];
|
|
31686
31726
|
|
|
31687
|
-
|
|
31688
|
-
|
|
31689
|
-
|
|
31690
|
-
|
|
31691
|
-
|
|
31692
|
-
|
|
31693
|
-
|
|
31694
|
-
|
|
31695
|
-
|
|
31696
|
-
|
|
31697
|
-
|
|
31727
|
+
var _temp19 = function () {
|
|
31728
|
+
if (successIndicatorsData !== null && successIndicatorsData !== void 0 && successIndicatorsData.length) {
|
|
31729
|
+
return _forTo(monthsOneToOne, function (indexCheckIn) {
|
|
31730
|
+
var _line = line;
|
|
31731
|
+
doc.setFontSize(12);
|
|
31732
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31733
|
+
doc.text(monthsOneToOne[indexCheckIn], left, _line);
|
|
31734
|
+
doc.setFontSize(8);
|
|
31735
|
+
|
|
31736
|
+
for (var indexResult = 0; indexResult < (successIndicatorsData === null || successIndicatorsData === void 0 ? void 0 : successIndicatorsData.length); indexResult++) {
|
|
31737
|
+
var avg = successIndicatorsData[indexResult].data[indexCheckIn];
|
|
31738
|
+
|
|
31739
|
+
if (avg != 0) {
|
|
31740
|
+
var questionText = questions[indexResult];
|
|
31741
|
+
|
|
31742
|
+
if (questionText != "") {
|
|
31743
|
+
doc.setDrawColor(0);
|
|
31744
|
+
doc.setFillColor(COLORS[indexResult]);
|
|
31745
|
+
doc.roundedRect(left, _line + 5, 5, 5, 1, 1, "F");
|
|
31746
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31747
|
+
doc.text(questionText + ":", left + 8, _line + 10);
|
|
31748
|
+
doc.setFont("Helvetica", "normal", "normal");
|
|
31749
|
+
doc.text((avg === null || avg === void 0 ? void 0 : avg.toFixed(2)) + "%", left + (questionText === null || questionText === void 0 ? void 0 : questionText.length) * 2.5 + 20.5, _line + 10);
|
|
31750
|
+
}
|
|
31751
|
+
|
|
31752
|
+
_line += 10;
|
|
31753
|
+
|
|
31754
|
+
if (_line > lineOptionCheckIn) {
|
|
31755
|
+
lineOptionCheckIn = _line;
|
|
31756
|
+
}
|
|
31757
|
+
}
|
|
31698
31758
|
}
|
|
31699
31759
|
|
|
31700
|
-
|
|
31760
|
+
left += 100;
|
|
31701
31761
|
|
|
31702
|
-
if (
|
|
31703
|
-
|
|
31762
|
+
if (left + 105 > WIDTH_PAPER) {
|
|
31763
|
+
left = 20;
|
|
31764
|
+
line = lineOptionCheckIn + 20;
|
|
31704
31765
|
}
|
|
31705
|
-
}
|
|
31706
|
-
}
|
|
31707
31766
|
|
|
31708
|
-
|
|
31767
|
+
var _temp16 = function () {
|
|
31768
|
+
if (line + 150 > HEIGHT_PAPER) {
|
|
31769
|
+
doc.addPage();
|
|
31770
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31771
|
+
line = 80;
|
|
31772
|
+
left = 20;
|
|
31773
|
+
});
|
|
31774
|
+
}
|
|
31775
|
+
}();
|
|
31709
31776
|
|
|
31710
|
-
|
|
31711
|
-
|
|
31712
|
-
line = lineOptionCheckIn + 25;
|
|
31777
|
+
if (_temp16 && _temp16.then) return _temp16.then(function () {});
|
|
31778
|
+
});
|
|
31713
31779
|
}
|
|
31780
|
+
}();
|
|
31714
31781
|
|
|
31715
|
-
|
|
31716
|
-
if (line + 150 > HEIGHT_PAPER) {
|
|
31717
|
-
doc.addPage();
|
|
31718
|
-
return Promise.resolve(createImageHeader()).then(function () {
|
|
31719
|
-
line = 80;
|
|
31720
|
-
left = 20;
|
|
31721
|
-
});
|
|
31722
|
-
}
|
|
31723
|
-
}();
|
|
31724
|
-
|
|
31725
|
-
if (_temp14 && _temp14.then) return _temp14.then(function () {});
|
|
31726
|
-
});
|
|
31727
|
-
|
|
31728
|
-
return _temp15 && _temp15.then ? _temp15.then(_temp16) : _temp16(_temp15);
|
|
31782
|
+
return _temp19 && _temp19.then ? _temp19.then(_temp20) : _temp20(_temp19);
|
|
31729
31783
|
});
|
|
31730
31784
|
});
|
|
31731
31785
|
}
|
|
31732
31786
|
}();
|
|
31733
31787
|
|
|
31734
|
-
return
|
|
31788
|
+
return _temp30 && _temp30.then ? _temp30.then(_temp31) : _temp31(_temp30);
|
|
31735
31789
|
}
|
|
31736
31790
|
|
|
31737
|
-
var
|
|
31791
|
+
var _temp32 = function () {
|
|
31738
31792
|
if (selectedToPDF.includes(studentStressByZone)) {
|
|
31739
|
-
var
|
|
31793
|
+
var _temp48 = function _temp48() {
|
|
31740
31794
|
doc.setFontSize(14);
|
|
31741
31795
|
doc.setFont("Helvetica", "normal", "bold");
|
|
31742
31796
|
doc.text(t(studentStressByZone), left, line <= 85 ? 70 : line);
|
|
@@ -31762,22 +31816,22 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31762
31816
|
doc.addPage();
|
|
31763
31817
|
}
|
|
31764
31818
|
|
|
31765
|
-
var
|
|
31819
|
+
var _temp49 = function () {
|
|
31766
31820
|
if (line <= 85) {
|
|
31767
31821
|
return Promise.resolve(createImageHeader()).then(function () {});
|
|
31768
31822
|
}
|
|
31769
31823
|
}();
|
|
31770
31824
|
|
|
31771
|
-
return
|
|
31825
|
+
return _temp49 && _temp49.then ? _temp49.then(_temp48) : _temp48(_temp49);
|
|
31772
31826
|
}
|
|
31773
31827
|
}();
|
|
31774
31828
|
|
|
31775
|
-
return
|
|
31829
|
+
return _temp32 && _temp32.then ? _temp32.then(_temp33) : _temp33(_temp32);
|
|
31776
31830
|
}
|
|
31777
31831
|
|
|
31778
|
-
var
|
|
31832
|
+
var _temp34 = function () {
|
|
31779
31833
|
if (selectedToPDF.includes(studentDistribution)) {
|
|
31780
|
-
var
|
|
31834
|
+
var _temp50 = function _temp50() {
|
|
31781
31835
|
doc.setFontSize(14);
|
|
31782
31836
|
doc.setFont("Helvetica", "normal", "bold");
|
|
31783
31837
|
doc.text(t(studentDistribution), left, line <= 85 ? 70 : line);
|
|
@@ -31804,20 +31858,20 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31804
31858
|
doc.addPage();
|
|
31805
31859
|
}
|
|
31806
31860
|
|
|
31807
|
-
var
|
|
31861
|
+
var _temp51 = function () {
|
|
31808
31862
|
if (line <= 85) {
|
|
31809
31863
|
return Promise.resolve(createImageHeader()).then(function () {});
|
|
31810
31864
|
}
|
|
31811
31865
|
}();
|
|
31812
31866
|
|
|
31813
|
-
return
|
|
31867
|
+
return _temp51 && _temp51.then ? _temp51.then(_temp50) : _temp50(_temp51);
|
|
31814
31868
|
}
|
|
31815
31869
|
}();
|
|
31816
31870
|
|
|
31817
|
-
return
|
|
31871
|
+
return _temp34 && _temp34.then ? _temp34.then(_temp35) : _temp35(_temp34);
|
|
31818
31872
|
}
|
|
31819
31873
|
|
|
31820
|
-
var
|
|
31874
|
+
var _temp36 = function () {
|
|
31821
31875
|
if (selectedToPDF.includes(overallReadinessToLearn)) {
|
|
31822
31876
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31823
31877
|
doc.setFontSize(14);
|
|
@@ -31836,10 +31890,10 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31836
31890
|
}
|
|
31837
31891
|
}();
|
|
31838
31892
|
|
|
31839
|
-
return
|
|
31893
|
+
return _temp36 && _temp36.then ? _temp36.then(_temp37) : _temp37(_temp36);
|
|
31840
31894
|
}
|
|
31841
31895
|
|
|
31842
|
-
var
|
|
31896
|
+
var _temp38 = function () {
|
|
31843
31897
|
if (selectedToPDF.includes(preparednessChartName)) {
|
|
31844
31898
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31845
31899
|
doc.setFontSize(14);
|
|
@@ -31848,19 +31902,38 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31848
31902
|
line += 20;
|
|
31849
31903
|
var chart = document.getElementById("preparedness");
|
|
31850
31904
|
return Promise.resolve(html2canvas(chart)).then(function (canvas) {
|
|
31851
|
-
function
|
|
31905
|
+
function _temp11() {
|
|
31906
|
+
function _temp9() {
|
|
31907
|
+
doc.addImage(canvas.toDataURL("image/png"), 10, line + 20, chartWidth, chartHeight);
|
|
31908
|
+
chartCount++;
|
|
31909
|
+
|
|
31910
|
+
if (chartCount < selectedToPDF.length) {
|
|
31911
|
+
doc.addPage();
|
|
31912
|
+
line = 80;
|
|
31913
|
+
left = 20;
|
|
31914
|
+
}
|
|
31915
|
+
}
|
|
31916
|
+
|
|
31852
31917
|
left = 20;
|
|
31853
31918
|
line += questions.length * 10;
|
|
31854
31919
|
var chartWidth = 420;
|
|
31855
31920
|
var chartHeight = chart && chart.clientWidth ? chartWidth * chart.clientHeight / chart.clientWidth : heightChart;
|
|
31856
|
-
doc.addImage(canvas.toDataURL("image/png"), 10, line + 20, chartWidth, chartHeight);
|
|
31857
|
-
chartCount++;
|
|
31858
31921
|
|
|
31859
|
-
|
|
31860
|
-
|
|
31861
|
-
|
|
31862
|
-
|
|
31863
|
-
|
|
31922
|
+
var _temp8 = function () {
|
|
31923
|
+
if (line + chartHeight + 20 > HEIGHT_PAPER) {
|
|
31924
|
+
doc.addPage();
|
|
31925
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31926
|
+
line = 80;
|
|
31927
|
+
left = 20;
|
|
31928
|
+
doc.setFontSize(14);
|
|
31929
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31930
|
+
doc.text("Readiness To Learn", left, line);
|
|
31931
|
+
line += 10;
|
|
31932
|
+
});
|
|
31933
|
+
}
|
|
31934
|
+
}();
|
|
31935
|
+
|
|
31936
|
+
return _temp8 && _temp8.then ? _temp8.then(_temp9) : _temp9(_temp8);
|
|
31864
31937
|
}
|
|
31865
31938
|
|
|
31866
31939
|
line += 20;
|
|
@@ -31869,74 +31942,73 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31869
31942
|
var questions = preparednessData.map(function (r) {
|
|
31870
31943
|
return r.name;
|
|
31871
31944
|
});
|
|
31872
|
-
var indexCheckIn = 0;
|
|
31873
|
-
|
|
31874
|
-
var _temp8 = _for(function () {
|
|
31875
|
-
return indexCheckIn < monthsOneToOne.length;
|
|
31876
|
-
}, function () {
|
|
31877
|
-
return indexCheckIn++;
|
|
31878
|
-
}, function () {
|
|
31879
|
-
var _line = line;
|
|
31880
|
-
doc.setFontSize(12);
|
|
31881
|
-
doc.setFont("Helvetica", "normal", "bold");
|
|
31882
|
-
doc.text(monthsOneToOne[indexCheckIn], left, _line);
|
|
31883
|
-
doc.setFontSize(8);
|
|
31884
|
-
var COLORS = ["#169490", "#316CD9", "#FFB04F"];
|
|
31885
31945
|
|
|
31886
|
-
|
|
31887
|
-
|
|
31946
|
+
var _temp10 = function () {
|
|
31947
|
+
if (preparednessData !== null && preparednessData !== void 0 && preparednessData.length) {
|
|
31948
|
+
return _forTo(monthsOneToOne, function (indexCheckIn) {
|
|
31949
|
+
var _line = line;
|
|
31950
|
+
doc.setFontSize(12);
|
|
31951
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31952
|
+
doc.text(monthsOneToOne[indexCheckIn], left, _line);
|
|
31953
|
+
doc.setFontSize(8);
|
|
31954
|
+
var COLORS = ["#169490", "#316CD9", "#FFB04F"];
|
|
31888
31955
|
|
|
31889
|
-
|
|
31890
|
-
|
|
31956
|
+
for (var indexResult = 0; indexResult < (preparednessData === null || preparednessData === void 0 ? void 0 : preparednessData.length); indexResult++) {
|
|
31957
|
+
var avg = preparednessData[indexResult].data[indexCheckIn];
|
|
31891
31958
|
|
|
31892
|
-
|
|
31893
|
-
|
|
31894
|
-
|
|
31895
|
-
|
|
31896
|
-
|
|
31897
|
-
|
|
31898
|
-
|
|
31899
|
-
|
|
31900
|
-
|
|
31959
|
+
if (avg != 0) {
|
|
31960
|
+
var questionText = questions[indexResult];
|
|
31961
|
+
|
|
31962
|
+
if (questionText != "") {
|
|
31963
|
+
doc.setDrawColor(0);
|
|
31964
|
+
doc.setFillColor(COLORS[indexResult]);
|
|
31965
|
+
doc.roundedRect(left, _line + 5, 5, 5, 1, 1, "F");
|
|
31966
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31967
|
+
doc.text(questionText + ":", left + 8, _line + 10);
|
|
31968
|
+
doc.setFont("Helvetica", "normal", "normal");
|
|
31969
|
+
doc.text((avg === null || avg === void 0 ? void 0 : avg.toFixed(2)) + "%", left + (questionText === null || questionText === void 0 ? void 0 : questionText.length) * 2.5 + 20.5, _line + 10);
|
|
31970
|
+
}
|
|
31901
31971
|
|
|
31902
|
-
|
|
31972
|
+
_line += 10;
|
|
31903
31973
|
|
|
31904
|
-
|
|
31905
|
-
|
|
31974
|
+
if (_line > lineOptionCheckIn) {
|
|
31975
|
+
lineOptionCheckIn = _line;
|
|
31976
|
+
}
|
|
31977
|
+
}
|
|
31906
31978
|
}
|
|
31907
|
-
}
|
|
31908
|
-
}
|
|
31909
31979
|
|
|
31910
|
-
|
|
31980
|
+
left += 100;
|
|
31911
31981
|
|
|
31912
|
-
|
|
31913
|
-
left = 20;
|
|
31914
|
-
line = lineOptionCheckIn + 25;
|
|
31915
|
-
}
|
|
31916
|
-
|
|
31917
|
-
var _temp7 = function () {
|
|
31918
|
-
if (line + 150 > HEIGHT_PAPER) {
|
|
31919
|
-
doc.addPage();
|
|
31920
|
-
return Promise.resolve(createImageHeader()).then(function () {
|
|
31921
|
-
line = 80;
|
|
31982
|
+
if (left + 105 > WIDTH_PAPER) {
|
|
31922
31983
|
left = 20;
|
|
31923
|
-
|
|
31924
|
-
|
|
31925
|
-
}();
|
|
31984
|
+
line = lineOptionCheckIn + 20;
|
|
31985
|
+
}
|
|
31926
31986
|
|
|
31927
|
-
|
|
31928
|
-
|
|
31987
|
+
var _temp7 = function () {
|
|
31988
|
+
if (line + 150 > HEIGHT_PAPER) {
|
|
31989
|
+
doc.addPage();
|
|
31990
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31991
|
+
line = 80;
|
|
31992
|
+
left = 20;
|
|
31993
|
+
});
|
|
31994
|
+
}
|
|
31995
|
+
}();
|
|
31996
|
+
|
|
31997
|
+
if (_temp7 && _temp7.then) return _temp7.then(function () {});
|
|
31998
|
+
});
|
|
31999
|
+
}
|
|
32000
|
+
}();
|
|
31929
32001
|
|
|
31930
|
-
return
|
|
32002
|
+
return _temp10 && _temp10.then ? _temp10.then(_temp11) : _temp11(_temp10);
|
|
31931
32003
|
});
|
|
31932
32004
|
});
|
|
31933
32005
|
}
|
|
31934
32006
|
}();
|
|
31935
32007
|
|
|
31936
|
-
return
|
|
32008
|
+
return _temp38 && _temp38.then ? _temp38.then(_temp39) : _temp39(_temp38);
|
|
31937
32009
|
}
|
|
31938
32010
|
|
|
31939
|
-
var
|
|
32011
|
+
var _temp40 = function () {
|
|
31940
32012
|
if (selectedToPDF.includes(averageStudentStressName)) {
|
|
31941
32013
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31942
32014
|
doc.setFontSize(14);
|
|
@@ -32006,7 +32078,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32006
32078
|
|
|
32007
32079
|
if (left + 105 > WIDTH_PAPER) {
|
|
32008
32080
|
left = 20;
|
|
32009
|
-
line = lineOptionCheckIn +
|
|
32081
|
+
line = lineOptionCheckIn + 20;
|
|
32010
32082
|
}
|
|
32011
32083
|
|
|
32012
32084
|
var _temp4 = function () {
|
|
@@ -32028,7 +32100,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32028
32100
|
}
|
|
32029
32101
|
}();
|
|
32030
32102
|
|
|
32031
|
-
return
|
|
32103
|
+
return _temp40 && _temp40.then ? _temp40.then(_temp41) : _temp41(_temp40);
|
|
32032
32104
|
}
|
|
32033
32105
|
|
|
32034
32106
|
var doc = new jsPDF({
|
|
@@ -32067,7 +32139,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32067
32139
|
var line = 85;
|
|
32068
32140
|
var left = 20;
|
|
32069
32141
|
|
|
32070
|
-
var
|
|
32142
|
+
var _temp42 = function () {
|
|
32071
32143
|
if (selectedToPDF.includes(averageStudentSafetyName)) {
|
|
32072
32144
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
32073
32145
|
doc.setFontSize(14);
|
|
@@ -32136,7 +32208,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32136
32208
|
|
|
32137
32209
|
if (left + 105 > WIDTH_PAPER) {
|
|
32138
32210
|
left = 20;
|
|
32139
|
-
line = lineOptionCheckIn +
|
|
32211
|
+
line = lineOptionCheckIn + 20;
|
|
32140
32212
|
}
|
|
32141
32213
|
|
|
32142
32214
|
var _temp = function () {
|
|
@@ -32158,7 +32230,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32158
32230
|
}
|
|
32159
32231
|
}();
|
|
32160
32232
|
|
|
32161
|
-
return
|
|
32233
|
+
return _temp42 && _temp42.then ? _temp42.then(_temp43) : _temp43(_temp42);
|
|
32162
32234
|
}, function (err) {
|
|
32163
32235
|
console.log(err);
|
|
32164
32236
|
dispatch(setAlert({
|
|
@@ -32167,7 +32239,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32167
32239
|
}));
|
|
32168
32240
|
});
|
|
32169
32241
|
|
|
32170
|
-
return Promise.resolve(
|
|
32242
|
+
return Promise.resolve(_temp47 && _temp47.then ? _temp47.then(_temp46) : _temp46(_temp47));
|
|
32171
32243
|
} catch (e) {
|
|
32172
32244
|
return Promise.reject(e);
|
|
32173
32245
|
}
|
|
@@ -32176,11 +32248,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32176
32248
|
return React.createElement("div", null, React.createElement("div", {
|
|
32177
32249
|
className: "" + styles$1["chart-to-canvas"]
|
|
32178
32250
|
}, React.createElement("div", {
|
|
32179
|
-
id: "safety"
|
|
32180
|
-
style: {
|
|
32181
|
-
display: "block",
|
|
32182
|
-
width: "45%"
|
|
32183
|
-
}
|
|
32251
|
+
id: "safety"
|
|
32184
32252
|
}, React.createElement(GenerateChartData, {
|
|
32185
32253
|
colors: ["#0F9655"],
|
|
32186
32254
|
typeChart: TYPECHART.AREA,
|
|
@@ -32189,13 +32257,10 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32189
32257
|
months: monthsOneToOne,
|
|
32190
32258
|
dayOfWeek: dayOfWeekOneToOne,
|
|
32191
32259
|
avgQuestionLastMonth: avgQuestionLastMonth,
|
|
32192
|
-
timeOfDay: timeOfDay
|
|
32260
|
+
timeOfDay: timeOfDay,
|
|
32261
|
+
isPrint: true
|
|
32193
32262
|
})), React.createElement("div", {
|
|
32194
|
-
id: "stress"
|
|
32195
|
-
style: {
|
|
32196
|
-
display: "block",
|
|
32197
|
-
width: "45%"
|
|
32198
|
-
}
|
|
32263
|
+
id: "stress"
|
|
32199
32264
|
}, React.createElement(GenerateChartData, {
|
|
32200
32265
|
colors: ["#C44140"],
|
|
32201
32266
|
typeChart: TYPECHART.LINE,
|
|
@@ -32204,13 +32269,10 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32204
32269
|
months: monthsOneToOne,
|
|
32205
32270
|
dayOfWeek: dayOfWeekOneToOne,
|
|
32206
32271
|
avgQuestionLastMonth: avgQuestionLastMonth,
|
|
32207
|
-
timeOfDay: timeOfDay
|
|
32272
|
+
timeOfDay: timeOfDay,
|
|
32273
|
+
isPrint: true
|
|
32208
32274
|
})), React.createElement("div", {
|
|
32209
|
-
id: "preparedness"
|
|
32210
|
-
style: {
|
|
32211
|
-
display: "block",
|
|
32212
|
-
width: "45%"
|
|
32213
|
-
}
|
|
32275
|
+
id: "preparedness"
|
|
32214
32276
|
}, React.createElement(GenerateChartData, {
|
|
32215
32277
|
colors: ["#169490", "#316CD9", "#FFB04F"],
|
|
32216
32278
|
typeChart: TYPECHART.LINE,
|
|
@@ -32222,11 +32284,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32222
32284
|
timeOfDay: timeOfDay,
|
|
32223
32285
|
isPrint: true
|
|
32224
32286
|
})), React.createElement("div", {
|
|
32225
|
-
id: "success_indicators"
|
|
32226
|
-
style: {
|
|
32227
|
-
display: "block",
|
|
32228
|
-
width: "45%"
|
|
32229
|
-
}
|
|
32287
|
+
id: "success_indicators"
|
|
32230
32288
|
}, React.createElement(GenerateChartData, {
|
|
32231
32289
|
typeChart: TYPECHART.AREA,
|
|
32232
32290
|
activeColumn: activeColumnSuccessIndicators,
|
|
@@ -32238,11 +32296,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32238
32296
|
colors: ["#73C8E5", "#FFB04F", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
32239
32297
|
isPrint: true
|
|
32240
32298
|
})), React.createElement("div", {
|
|
32241
|
-
id: overallReadinessToLearn
|
|
32242
|
-
style: {
|
|
32243
|
-
display: "block",
|
|
32244
|
-
width: "45%"
|
|
32245
|
-
}
|
|
32299
|
+
id: overallReadinessToLearn
|
|
32246
32300
|
}, React.createElement(GenerateChartData, {
|
|
32247
32301
|
isPrint: true,
|
|
32248
32302
|
colors: ["#D9EEE4", "#FAF0F0"],
|
|
@@ -32257,24 +32311,20 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32257
32311
|
width: 320,
|
|
32258
32312
|
height: 320
|
|
32259
32313
|
})), React.createElement("div", {
|
|
32260
|
-
id: studentDistribution
|
|
32261
|
-
style: {
|
|
32262
|
-
display: "block",
|
|
32263
|
-
width: "45%"
|
|
32264
|
-
}
|
|
32314
|
+
id: studentDistribution
|
|
32265
32315
|
}, React.createElement(BubbleChartCustom$1, {
|
|
32266
32316
|
data: readinessToLearning,
|
|
32267
32317
|
isPrint: true
|
|
32268
32318
|
})), React.createElement("div", {
|
|
32269
|
-
id: "student_stress_by_zone"
|
|
32270
|
-
}, React.createElement(StudentPressureChart, {
|
|
32271
|
-
studentPressure: studentPressure
|
|
32272
|
-
})), React.createElement("div", {
|
|
32273
|
-
id: "learning_progress",
|
|
32319
|
+
id: "student_stress_by_zone",
|
|
32274
32320
|
style: {
|
|
32275
|
-
|
|
32276
|
-
width: "45%"
|
|
32321
|
+
width: "1280px"
|
|
32277
32322
|
}
|
|
32323
|
+
}, React.createElement(StudentPressureChart, {
|
|
32324
|
+
studentPressure: studentPressure,
|
|
32325
|
+
width: 1280
|
|
32326
|
+
})), React.createElement("div", {
|
|
32327
|
+
id: "learning_progress"
|
|
32278
32328
|
}, React.createElement(GenerateChartData, {
|
|
32279
32329
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
32280
32330
|
typeChart: TYPECHART.AREA,
|
|
@@ -32285,17 +32335,16 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
32285
32335
|
avgQuestionLastMonth: avgConferenceLastMonth,
|
|
32286
32336
|
timeOfDay: timeOfDay,
|
|
32287
32337
|
isPrint: true
|
|
32288
|
-
})), React.createElement("div", {
|
|
32289
|
-
style: {
|
|
32290
|
-
display: "block",
|
|
32291
|
-
width: "75%"
|
|
32292
|
-
}
|
|
32293
|
-
}, React.createElement(TopLearningStrategy$1, {
|
|
32338
|
+
})), React.createElement("div", null, React.createElement(TopLearningStrategy$1, {
|
|
32294
32339
|
data: topLearningStrategiesData,
|
|
32295
|
-
learningStrategyId: topLearningStrategyName
|
|
32340
|
+
learningStrategyId: topLearningStrategyName,
|
|
32341
|
+
width: 800,
|
|
32342
|
+
isPrint: true
|
|
32296
32343
|
})), React.createElement("div", null, React.createElement(TopLearningStrategy$1, {
|
|
32297
32344
|
data: topLearningStrategiesData,
|
|
32298
|
-
topLearningStrategyId: topMostUsedStrategiesName
|
|
32345
|
+
topLearningStrategyId: topMostUsedStrategiesName,
|
|
32346
|
+
width: 800,
|
|
32347
|
+
isPrint: true
|
|
32299
32348
|
}))), React.createElement("div", {
|
|
32300
32349
|
className: "" + styles$1["image-logo"],
|
|
32301
32350
|
id: "header-logo"
|
|
@@ -32473,7 +32522,7 @@ var Dashboard = function Dashboard() {
|
|
|
32473
32522
|
studentPressure = _useChartDatas.studentPressure,
|
|
32474
32523
|
dataOverallReadyToLearn = _useChartDatas.dataOverallReadyToLearn,
|
|
32475
32524
|
readinessToLearning = _useChartDatas.readinessToLearning,
|
|
32476
|
-
|
|
32525
|
+
schoolName = _useChartDatas.schoolName;
|
|
32477
32526
|
|
|
32478
32527
|
var _useBehavior = useBehavior(),
|
|
32479
32528
|
chartIsOpened = _useBehavior.chartIsOpened,
|
|
@@ -32564,7 +32613,7 @@ var Dashboard = function Dashboard() {
|
|
|
32564
32613
|
readinessToLearning: readinessToLearning,
|
|
32565
32614
|
studentPressure: studentPressure,
|
|
32566
32615
|
dataOverallReadyToLearn: dataOverallReadyToLearn,
|
|
32567
|
-
schoolName:
|
|
32616
|
+
schoolName: schoolName
|
|
32568
32617
|
}))), React.createElement("div", {
|
|
32569
32618
|
className: "d-flex align-items-center justify-content-between"
|
|
32570
32619
|
}, React.createElement("div", {
|