mario-education 2.4.151-level → 2.4.153-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/GenerateChartData.d.ts +3 -3
- package/dist/index.css +2161 -2161
- package/dist/index.js +234 -148
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +234 -148
- 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
|
@@ -93,6 +93,35 @@ function _isSettledPact(thenable) {
|
|
|
93
93
|
return thenable instanceof _Pact && thenable.s & 1;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
// Asynchronously iterate through an object that has a length property, passing the index as the first argument to the callback (even as the length property changes)
|
|
97
|
+
function _forTo(array, body, check) {
|
|
98
|
+
var i = -1, pact, reject;
|
|
99
|
+
function _cycle(result) {
|
|
100
|
+
try {
|
|
101
|
+
while (++i < array.length && (!check || !check())) {
|
|
102
|
+
result = body(i);
|
|
103
|
+
if (result && result.then) {
|
|
104
|
+
if (_isSettledPact(result)) {
|
|
105
|
+
result = result.v;
|
|
106
|
+
} else {
|
|
107
|
+
result.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
if (pact) {
|
|
113
|
+
_settle(pact, 1, result);
|
|
114
|
+
} else {
|
|
115
|
+
pact = result;
|
|
116
|
+
}
|
|
117
|
+
} catch (e) {
|
|
118
|
+
_settle(pact || (pact = new _Pact()), 2, e);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
_cycle();
|
|
122
|
+
return pact;
|
|
123
|
+
}
|
|
124
|
+
|
|
96
125
|
const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
|
|
97
126
|
|
|
98
127
|
const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
|
|
@@ -5712,7 +5741,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5712
5741
|
|
|
5713
5742
|
var upload = useCallback(function (file) {
|
|
5714
5743
|
try {
|
|
5715
|
-
var
|
|
5744
|
+
var _temp11 = function _temp11() {
|
|
5716
5745
|
dispatch(setLoading(false));
|
|
5717
5746
|
var inputId = document.getElementById(id);
|
|
5718
5747
|
var input = document.getElementById('import-student');
|
|
@@ -5725,8 +5754,8 @@ var useCSVImport = function useCSVImport() {
|
|
|
5725
5754
|
if (!type || !file) return Promise.resolve();
|
|
5726
5755
|
dispatch(setLoading(true));
|
|
5727
5756
|
|
|
5728
|
-
var
|
|
5729
|
-
function
|
|
5757
|
+
var _temp12 = _catch(function () {
|
|
5758
|
+
function _temp8() {
|
|
5730
5759
|
dispatch(setAlert({
|
|
5731
5760
|
type: "success",
|
|
5732
5761
|
message: "Import CSV successfully"
|
|
@@ -5736,31 +5765,29 @@ var useCSVImport = function useCSVImport() {
|
|
|
5736
5765
|
var formData = new FormData();
|
|
5737
5766
|
formData.append("file", file, file.name);
|
|
5738
5767
|
|
|
5739
|
-
var
|
|
5740
|
-
if (
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5768
|
+
var _temp7 = function () {
|
|
5769
|
+
if (type == CSVType.Students) {
|
|
5770
|
+
return Promise.resolve(importStudentCSV(formData)).then(function () {});
|
|
5771
|
+
} else {
|
|
5772
|
+
var _temp13 = function () {
|
|
5773
|
+
if (isCheckDomainIBS) {
|
|
5774
|
+
var _temp14 = function () {
|
|
5775
|
+
if (type == CSVType.ClassReflection) {
|
|
5776
|
+
return Promise.resolve(importClassReflectionCSV(formData)).then(function () {});
|
|
5777
|
+
}
|
|
5778
|
+
}();
|
|
5750
5779
|
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
return Promise.resolve(
|
|
5780
|
+
if (_temp14 && _temp14.then) return _temp14.then(function () {});
|
|
5781
|
+
} else {
|
|
5782
|
+
return Promise.resolve(importCSV(formData, type.toString())).then(function () {});
|
|
5754
5783
|
}
|
|
5755
5784
|
}();
|
|
5756
5785
|
|
|
5757
|
-
|
|
5758
|
-
} else {
|
|
5759
|
-
return Promise.resolve(importCSV(formData, type.toString())).then(function () {});
|
|
5786
|
+
if (_temp13 && _temp13.then) return _temp13.then(function () {});
|
|
5760
5787
|
}
|
|
5761
5788
|
}();
|
|
5762
5789
|
|
|
5763
|
-
return
|
|
5790
|
+
return _temp7 && _temp7.then ? _temp7.then(_temp8) : _temp8(_temp7);
|
|
5764
5791
|
}, function (err) {
|
|
5765
5792
|
var _err$response, _err$response$data;
|
|
5766
5793
|
|
|
@@ -5770,7 +5797,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5770
5797
|
}));
|
|
5771
5798
|
});
|
|
5772
5799
|
|
|
5773
|
-
return Promise.resolve(
|
|
5800
|
+
return Promise.resolve(_temp12 && _temp12.then ? _temp12.then(_temp11) : _temp11(_temp12));
|
|
5774
5801
|
} catch (e) {
|
|
5775
5802
|
return Promise.reject(e);
|
|
5776
5803
|
}
|
|
@@ -5778,7 +5805,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5778
5805
|
|
|
5779
5806
|
var uploadByTeacherId = function uploadByTeacherId(file) {
|
|
5780
5807
|
try {
|
|
5781
|
-
var
|
|
5808
|
+
var _temp17 = function _temp17() {
|
|
5782
5809
|
dispatch(setLoading(false));
|
|
5783
5810
|
var input = document.getElementById('teacherSelector');
|
|
5784
5811
|
input && (input.value = "");
|
|
@@ -5795,7 +5822,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5795
5822
|
if (!type || !file) return Promise.resolve();
|
|
5796
5823
|
dispatch(setLoading(true));
|
|
5797
5824
|
|
|
5798
|
-
var
|
|
5825
|
+
var _temp18 = _catch(function () {
|
|
5799
5826
|
var formData = new FormData();
|
|
5800
5827
|
formData.append("file", file, file.name);
|
|
5801
5828
|
return Promise.resolve(importStudentByTeacher(defaultTeacher, formData)).then(function () {
|
|
@@ -5813,7 +5840,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5813
5840
|
}));
|
|
5814
5841
|
});
|
|
5815
5842
|
|
|
5816
|
-
return Promise.resolve(
|
|
5843
|
+
return Promise.resolve(_temp18 && _temp18.then ? _temp18.then(_temp17) : _temp17(_temp18));
|
|
5817
5844
|
} catch (e) {
|
|
5818
5845
|
return Promise.reject(e);
|
|
5819
5846
|
}
|
|
@@ -5821,7 +5848,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5821
5848
|
|
|
5822
5849
|
var onConfirm = function onConfirm(values) {
|
|
5823
5850
|
try {
|
|
5824
|
-
var
|
|
5851
|
+
var _temp21 = function _temp21() {
|
|
5825
5852
|
dispatch(setLoading(false));
|
|
5826
5853
|
var input = document.getElementById(id);
|
|
5827
5854
|
input && (input.value = "");
|
|
@@ -5830,7 +5857,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5830
5857
|
if (!dataFile || !dataFile) return Promise.resolve();
|
|
5831
5858
|
dispatch(setLoading(true));
|
|
5832
5859
|
|
|
5833
|
-
var
|
|
5860
|
+
var _temp22 = _catch(function () {
|
|
5834
5861
|
var formData = new FormData();
|
|
5835
5862
|
formData.append("file", dataFile, dataFile.name);
|
|
5836
5863
|
formData.append("teacherName", values.teacherName);
|
|
@@ -5854,7 +5881,7 @@ var useCSVImport = function useCSVImport() {
|
|
|
5854
5881
|
}));
|
|
5855
5882
|
});
|
|
5856
5883
|
|
|
5857
|
-
return Promise.resolve(
|
|
5884
|
+
return Promise.resolve(_temp22 && _temp22.then ? _temp22.then(_temp21) : _temp21(_temp22));
|
|
5858
5885
|
} catch (e) {
|
|
5859
5886
|
return Promise.reject(e);
|
|
5860
5887
|
}
|
|
@@ -5942,11 +5969,6 @@ var CSVImport = function CSVImport() {
|
|
|
5942
5969
|
buttons = _useCSVImport.buttons,
|
|
5943
5970
|
upload = _useCSVImport.upload,
|
|
5944
5971
|
isCheckDomainIBS = _useCSVImport.isCheckDomainIBS,
|
|
5945
|
-
onChangeTeacher = _useCSVImport.onChangeTeacher,
|
|
5946
|
-
setDataFileImportStudent = _useCSVImport.setDataFileImportStudent,
|
|
5947
|
-
defaultTeacher = _useCSVImport.defaultTeacher,
|
|
5948
|
-
fileName = _useCSVImport.fileName,
|
|
5949
|
-
onStudentSubmit = _useCSVImport.onStudentSubmit,
|
|
5950
5972
|
downloadTemplateStudentISB = _useCSVImport.downloadTemplateStudentISB;
|
|
5951
5973
|
|
|
5952
5974
|
var _useTranslation = useTranslation(),
|
|
@@ -6063,40 +6085,43 @@ var CSVImport = function CSVImport() {
|
|
|
6063
6085
|
});
|
|
6064
6086
|
})))));
|
|
6065
6087
|
}))) : React.createElement(React.Fragment, null, React.createElement(Row, null, React.createElement(Col, {
|
|
6066
|
-
md:
|
|
6067
|
-
className: "mb-
|
|
6068
|
-
}, React.createElement(
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6088
|
+
md: 12,
|
|
6089
|
+
className: "mb-2 text-left"
|
|
6090
|
+
}, React.createElement(Button, {
|
|
6091
|
+
role: "button",
|
|
6092
|
+
color: "primary",
|
|
6093
|
+
onClick: function onClick() {
|
|
6094
|
+
return downloadTemplateStudentISB();
|
|
6095
|
+
}
|
|
6096
|
+
}, React.createElement("p", {
|
|
6097
|
+
className: "d-flex align-items-center mb-0"
|
|
6098
|
+
}, t("download_template"), " ", React.createElement(AiOutlineDownload, {
|
|
6099
|
+
size: 20,
|
|
6100
|
+
className: "ml-2"
|
|
6101
|
+
})))), React.createElement(Col, {
|
|
6102
|
+
md: 6,
|
|
6103
|
+
className: "mb-2"
|
|
6104
|
+
}, React.createElement(Input, {
|
|
6105
|
+
id: "import-student",
|
|
6076
6106
|
className: "d-none",
|
|
6077
6107
|
type: "file",
|
|
6078
|
-
id: "teacherSelector",
|
|
6079
6108
|
onChange: function onChange(e) {
|
|
6080
|
-
return
|
|
6109
|
+
return upload(e.target.files[0]);
|
|
6081
6110
|
},
|
|
6082
6111
|
accept: "text/csv"
|
|
6112
|
+
}), React.createElement(RequiredLabel, {
|
|
6113
|
+
text: "Import student"
|
|
6083
6114
|
}), React.createElement(UploadCSVButton, {
|
|
6084
|
-
key: "
|
|
6085
|
-
htmlFor:
|
|
6086
|
-
text: "
|
|
6115
|
+
key: "import-students",
|
|
6116
|
+
htmlFor: 'import-student',
|
|
6117
|
+
text: "Import students",
|
|
6087
6118
|
isDisabled: isLoading,
|
|
6088
|
-
backgroundColor: "#
|
|
6119
|
+
backgroundColor: "#0abde3",
|
|
6089
6120
|
onClick: function onClick() {
|
|
6090
|
-
|
|
6121
|
+
setType(CSVType.Students);
|
|
6091
6122
|
}
|
|
6092
|
-
})), React.createElement(
|
|
6093
|
-
|
|
6094
|
-
onClick: onStudentSubmit,
|
|
6095
|
-
className: "w-100 mt-3"
|
|
6096
|
-
}, "Import")), React.createElement(Col, {
|
|
6097
|
-
md: 3
|
|
6098
|
-
}), React.createElement(Col, {
|
|
6099
|
-
md: 3,
|
|
6123
|
+
})), React.createElement(Col, {
|
|
6124
|
+
md: 6,
|
|
6100
6125
|
className: "mb-3"
|
|
6101
6126
|
}, React.createElement(Input, {
|
|
6102
6127
|
className: "d-none",
|
|
@@ -6107,7 +6132,9 @@ var CSVImport = function CSVImport() {
|
|
|
6107
6132
|
},
|
|
6108
6133
|
accept: "text/csv"
|
|
6109
6134
|
}), buttons.map(function (button) {
|
|
6110
|
-
return React.createElement(
|
|
6135
|
+
return React.createElement(React.Fragment, null, React.createElement(RequiredLabel, {
|
|
6136
|
+
text: button.text
|
|
6137
|
+
}), React.createElement(UploadCSVButton, {
|
|
6111
6138
|
key: button.text,
|
|
6112
6139
|
htmlFor: id,
|
|
6113
6140
|
text: button.text,
|
|
@@ -6116,7 +6143,7 @@ var CSVImport = function CSVImport() {
|
|
|
6116
6143
|
onClick: function onClick() {
|
|
6117
6144
|
return setType(button.type);
|
|
6118
6145
|
}
|
|
6119
|
-
});
|
|
6146
|
+
}));
|
|
6120
6147
|
})))));
|
|
6121
6148
|
};
|
|
6122
6149
|
|
|
@@ -11124,7 +11151,7 @@ var INITIAL_CHOSEN_USER$1 = {
|
|
|
11124
11151
|
studentName: ""
|
|
11125
11152
|
};
|
|
11126
11153
|
|
|
11127
|
-
var TITLE$h = "Assign
|
|
11154
|
+
var TITLE$h = "Assign support teacher list";
|
|
11128
11155
|
|
|
11129
11156
|
var useAssignSecondaryTeacher = function useAssignSecondaryTeacher() {
|
|
11130
11157
|
var modal = useRef();
|
|
@@ -11257,7 +11284,7 @@ var useAssignSecondaryTeacher = function useAssignSecondaryTeacher() {
|
|
|
11257
11284
|
if (!secondaryTeacherChangeId) {
|
|
11258
11285
|
dispatch(setAlert({
|
|
11259
11286
|
type: "danger",
|
|
11260
|
-
message: "
|
|
11287
|
+
message: "Support Teacher have not been selected!"
|
|
11261
11288
|
}));
|
|
11262
11289
|
return Promise.resolve();
|
|
11263
11290
|
}
|
|
@@ -11265,7 +11292,7 @@ var useAssignSecondaryTeacher = function useAssignSecondaryTeacher() {
|
|
|
11265
11292
|
dispatch(setModal({
|
|
11266
11293
|
isOpen: true,
|
|
11267
11294
|
type: "warning",
|
|
11268
|
-
message: "Do you want to assign this
|
|
11295
|
+
message: "Do you want to assign this Support Teacher to student " + chosenUser.studentName + "?",
|
|
11269
11296
|
onConfirm: function () {
|
|
11270
11297
|
try {
|
|
11271
11298
|
var _temp9 = function _temp9() {
|
|
@@ -11278,7 +11305,7 @@ var useAssignSecondaryTeacher = function useAssignSecondaryTeacher() {
|
|
|
11278
11305
|
return Promise.resolve(assignSecondaryTeacherOfStudent(chosenUser.id, chosenUser.teacherId, secondaryTeacherChangeId)).then(function () {
|
|
11279
11306
|
dispatch(setAlert({
|
|
11280
11307
|
type: "success",
|
|
11281
|
-
message: "Assign
|
|
11308
|
+
message: "Assign Support Teacher successfully"
|
|
11282
11309
|
}));
|
|
11283
11310
|
openModal();
|
|
11284
11311
|
resetData();
|
|
@@ -11365,13 +11392,13 @@ var AssignSecondaryTeacherModal = function AssignSecondaryTeacherModal(_ref, ref
|
|
|
11365
11392
|
}, t("student_email")), React.createElement("p", null, chosenUser.emailStudent), !!chosenUser && React.createElement(CustomSelector, {
|
|
11366
11393
|
options: options,
|
|
11367
11394
|
value: valueDefault,
|
|
11368
|
-
placeholder: t("
|
|
11395
|
+
placeholder: t("select_support_teacher"),
|
|
11369
11396
|
onChange: function onChange(e) {
|
|
11370
11397
|
return setSecondaryTeacherChangeId((e === null || e === void 0 ? void 0 : e.value) || 0);
|
|
11371
11398
|
},
|
|
11372
11399
|
isClearable: true
|
|
11373
11400
|
}), !!isChecked && !secondaryTeacherChangeId && React.createElement(ErrorHandler, {
|
|
11374
|
-
text: "
|
|
11401
|
+
text: "Support Teacher is required"
|
|
11375
11402
|
}))));
|
|
11376
11403
|
};
|
|
11377
11404
|
|
|
@@ -11446,7 +11473,7 @@ var AssignSecondaryTeacherList = function AssignSecondaryTeacherList() {
|
|
|
11446
11473
|
onClick: function onClick() {
|
|
11447
11474
|
return choiceUser(record);
|
|
11448
11475
|
}
|
|
11449
|
-
}, t("
|
|
11476
|
+
}, t("assign_support_teacher"))));
|
|
11450
11477
|
})))) : React.createElement(EmptyDataAlert, {
|
|
11451
11478
|
label: "user"
|
|
11452
11479
|
})), React.createElement(Col, {
|
|
@@ -11466,7 +11493,7 @@ var AssignSecondaryTeacherList = function AssignSecondaryTeacherList() {
|
|
|
11466
11493
|
}
|
|
11467
11494
|
}))), React.createElement(AssignSecondaryTeacherModal$1, {
|
|
11468
11495
|
ref: modal,
|
|
11469
|
-
header: t("
|
|
11496
|
+
header: t("assign_support_teacher"),
|
|
11470
11497
|
chosenUser: chosenUser,
|
|
11471
11498
|
onAssign: handleAssign,
|
|
11472
11499
|
options: options,
|
|
@@ -11902,12 +11929,12 @@ var SwitchSecondaryTeacherModal = function SwitchSecondaryTeacherModal(_ref, ref
|
|
|
11902
11929
|
className: "font-weight-bold"
|
|
11903
11930
|
}, t("student_email")), React.createElement("p", null, userChoiced.emailStudent), React.createElement("p", {
|
|
11904
11931
|
className: "font-weight-bold"
|
|
11905
|
-
}, t("
|
|
11932
|
+
}, t("current_support_teacher_name")), React.createElement("p", null, userChoiced.secondaryTeacherName), React.createElement("p", {
|
|
11906
11933
|
className: "font-weight-bold"
|
|
11907
|
-
}, t("
|
|
11934
|
+
}, t("current_support_teacher_email")), React.createElement("p", null, userChoiced.emailSecondaryTeacher), !!userChoiced && React.createElement(CustomSelector, {
|
|
11908
11935
|
options: options,
|
|
11909
11936
|
value: valueDefault,
|
|
11910
|
-
placeholder: t("
|
|
11937
|
+
placeholder: t("select_support_teacher_change"),
|
|
11911
11938
|
onChange: function onChange(e) {
|
|
11912
11939
|
return setSecondaryTeacherChangeId(e.value);
|
|
11913
11940
|
}
|
|
@@ -11925,7 +11952,7 @@ var INITIAL_USER_CHOICE$3 = {
|
|
|
11925
11952
|
assistantName: ""
|
|
11926
11953
|
};
|
|
11927
11954
|
|
|
11928
|
-
var TITLE$j = "Switch
|
|
11955
|
+
var TITLE$j = "Switch support list";
|
|
11929
11956
|
|
|
11930
11957
|
var useSwitchSecondaryTeacher = function useSwitchSecondaryTeacher() {
|
|
11931
11958
|
var modal = useRef();
|
|
@@ -12040,7 +12067,7 @@ var useSwitchSecondaryTeacher = function useSwitchSecondaryTeacher() {
|
|
|
12040
12067
|
dispatch(setModal({
|
|
12041
12068
|
isOpen: true,
|
|
12042
12069
|
type: "warning",
|
|
12043
|
-
message: "Do you want to change
|
|
12070
|
+
message: "Do you want to change support teacher?",
|
|
12044
12071
|
onConfirm: function () {
|
|
12045
12072
|
try {
|
|
12046
12073
|
var _temp9 = function _temp9() {
|
|
@@ -12053,7 +12080,7 @@ var useSwitchSecondaryTeacher = function useSwitchSecondaryTeacher() {
|
|
|
12053
12080
|
return Promise.resolve(changeSecondaryTeacherOfStudent(studentId, secondaryTeacherId)).then(function () {
|
|
12054
12081
|
dispatch(setAlert({
|
|
12055
12082
|
type: "success",
|
|
12056
|
-
message: "Change
|
|
12083
|
+
message: "Change support teacher successfully"
|
|
12057
12084
|
}));
|
|
12058
12085
|
openModal();
|
|
12059
12086
|
resetData();
|
|
@@ -12088,7 +12115,7 @@ var useSwitchSecondaryTeacher = function useSwitchSecondaryTeacher() {
|
|
|
12088
12115
|
dispatch(setModal({
|
|
12089
12116
|
isOpen: true,
|
|
12090
12117
|
type: "warning",
|
|
12091
|
-
message: "Do you want to remove this
|
|
12118
|
+
message: "Do you want to remove this support teacher?",
|
|
12092
12119
|
onConfirm: function () {
|
|
12093
12120
|
try {
|
|
12094
12121
|
var _temp12 = _catch(function () {
|
|
@@ -12096,7 +12123,7 @@ var useSwitchSecondaryTeacher = function useSwitchSecondaryTeacher() {
|
|
|
12096
12123
|
getStudentSecondaryTeacherData();
|
|
12097
12124
|
dispatch(setAlert({
|
|
12098
12125
|
type: "success",
|
|
12099
|
-
message: "Remove
|
|
12126
|
+
message: "Remove support teacher successfully"
|
|
12100
12127
|
}));
|
|
12101
12128
|
});
|
|
12102
12129
|
}, function (err) {
|
|
@@ -12150,20 +12177,20 @@ var useSwitchSecondaryTeacher = function useSwitchSecondaryTeacher() {
|
|
|
12150
12177
|
var header$a = "list_students";
|
|
12151
12178
|
|
|
12152
12179
|
var SwitchSecondaryTeacherList = function SwitchSecondaryTeacherList() {
|
|
12153
|
-
var
|
|
12154
|
-
userList =
|
|
12155
|
-
totalItems =
|
|
12156
|
-
filters =
|
|
12157
|
-
changeFilters =
|
|
12158
|
-
modal =
|
|
12159
|
-
userChoiced =
|
|
12160
|
-
options =
|
|
12161
|
-
setSecondaryTeacherChangeId =
|
|
12162
|
-
secondaryTeacherChangeId =
|
|
12163
|
-
removeData =
|
|
12164
|
-
resetData =
|
|
12165
|
-
choiceUser =
|
|
12166
|
-
onDeleteSecondaryTeacher =
|
|
12180
|
+
var _uuseSwitchSecondaryT = useSwitchSecondaryTeacher(),
|
|
12181
|
+
userList = _uuseSwitchSecondaryT.userList,
|
|
12182
|
+
totalItems = _uuseSwitchSecondaryT.totalItems,
|
|
12183
|
+
filters = _uuseSwitchSecondaryT.filters,
|
|
12184
|
+
changeFilters = _uuseSwitchSecondaryT.changeFilters,
|
|
12185
|
+
modal = _uuseSwitchSecondaryT.modal,
|
|
12186
|
+
userChoiced = _uuseSwitchSecondaryT.userChoiced,
|
|
12187
|
+
options = _uuseSwitchSecondaryT.options,
|
|
12188
|
+
setSecondaryTeacherChangeId = _uuseSwitchSecondaryT.setSecondaryTeacherChangeId,
|
|
12189
|
+
secondaryTeacherChangeId = _uuseSwitchSecondaryT.secondaryTeacherChangeId,
|
|
12190
|
+
removeData = _uuseSwitchSecondaryT.removeData,
|
|
12191
|
+
resetData = _uuseSwitchSecondaryT.resetData,
|
|
12192
|
+
choiceUser = _uuseSwitchSecondaryT.choiceUser,
|
|
12193
|
+
onDeleteSecondaryTeacher = _uuseSwitchSecondaryT.onDeleteSecondaryTeacher;
|
|
12167
12194
|
|
|
12168
12195
|
var _useTranslation = useTranslation(),
|
|
12169
12196
|
t = _useTranslation.t;
|
|
@@ -12203,11 +12230,11 @@ var SwitchSecondaryTeacherList = function SwitchSecondaryTeacherList() {
|
|
|
12203
12230
|
className: "align-top"
|
|
12204
12231
|
}, t("student_email")), React.createElement("th", {
|
|
12205
12232
|
className: "align-top"
|
|
12206
|
-
}, t("
|
|
12233
|
+
}, t("current_support_teacher_name")), React.createElement("th", {
|
|
12207
12234
|
className: "align-top"
|
|
12208
|
-
}, t("
|
|
12235
|
+
}, t("current_support_teacher_email")), React.createElement("th", {
|
|
12209
12236
|
className: "align-top"
|
|
12210
|
-
}, t("
|
|
12237
|
+
}, t("remove_support_teacher")))), React.createElement("tbody", null, !!userList && userList.length > 0 && userList.map(function (record) {
|
|
12211
12238
|
return React.createElement("tr", {
|
|
12212
12239
|
key: record.id
|
|
12213
12240
|
}, React.createElement("td", {
|
|
@@ -12249,7 +12276,7 @@ var SwitchSecondaryTeacherList = function SwitchSecondaryTeacherList() {
|
|
|
12249
12276
|
}
|
|
12250
12277
|
}))), React.createElement(SwitchSecondaryTeacherModal$1, {
|
|
12251
12278
|
ref: modal,
|
|
12252
|
-
header: t("
|
|
12279
|
+
header: t("switch_support_teacher"),
|
|
12253
12280
|
userChoiced: userChoiced,
|
|
12254
12281
|
removeData: removeData,
|
|
12255
12282
|
options: options,
|
|
@@ -12329,11 +12356,11 @@ var tabs = [{
|
|
|
12329
12356
|
component: SwitchCounselorList
|
|
12330
12357
|
}, {
|
|
12331
12358
|
path: "/admin/set-up/assign-secondary-teacher",
|
|
12332
|
-
title: "Assign
|
|
12359
|
+
title: "Assign support teacher",
|
|
12333
12360
|
component: AssignSecondaryTeacherList
|
|
12334
12361
|
}, {
|
|
12335
12362
|
path: "/admin/set-up/switch-secondary-teacher",
|
|
12336
|
-
title: "Switch
|
|
12363
|
+
title: "Switch support teacher",
|
|
12337
12364
|
component: SwitchSecondaryTeacherList
|
|
12338
12365
|
}, {
|
|
12339
12366
|
path: "/admin/set-up/welcome-email-re-send",
|
|
@@ -28567,7 +28594,7 @@ var learningStrategyChartOptions = function learningStrategyChartOptions(labelNa
|
|
|
28567
28594
|
var average = function average(arr) {
|
|
28568
28595
|
return arr.reduce(function (a, b) {
|
|
28569
28596
|
return a + b;
|
|
28570
|
-
}, 0) / arr.length;
|
|
28597
|
+
}, 0) / arr.length || 0;
|
|
28571
28598
|
};
|
|
28572
28599
|
var getConvertMinuteToHour = function getConvertMinuteToHour(timeSecond) {
|
|
28573
28600
|
var hTime = "";
|
|
@@ -30778,12 +30805,6 @@ var GenerateChartData = function GenerateChartData(_ref) {
|
|
|
30778
30805
|
})));
|
|
30779
30806
|
};
|
|
30780
30807
|
|
|
30781
|
-
var chartPropsAreEqual = function chartPropsAreEqual(prevMovie, nextMovie) {
|
|
30782
|
-
return prevMovie === nextMovie;
|
|
30783
|
-
};
|
|
30784
|
-
|
|
30785
|
-
var GenerateChartData$1 = React.memo(GenerateChartData, chartPropsAreEqual);
|
|
30786
|
-
|
|
30787
30808
|
var Loading = function Loading() {
|
|
30788
30809
|
return React.createElement("div", {
|
|
30789
30810
|
className: "d-flex align-items-center justify-content-center"
|
|
@@ -31036,23 +31057,23 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31036
31057
|
|
|
31037
31058
|
var generatePDF = function generatePDF() {
|
|
31038
31059
|
try {
|
|
31039
|
-
var
|
|
31060
|
+
var _temp30 = function _temp30() {
|
|
31040
31061
|
dispatch(setLoading(false));
|
|
31041
31062
|
};
|
|
31042
31063
|
|
|
31043
31064
|
dispatch(setLoading(true));
|
|
31044
31065
|
|
|
31045
|
-
var
|
|
31046
|
-
function
|
|
31047
|
-
function
|
|
31048
|
-
function
|
|
31049
|
-
function
|
|
31050
|
-
function
|
|
31051
|
-
function
|
|
31066
|
+
var _temp31 = _catch(function () {
|
|
31067
|
+
function _temp27() {
|
|
31068
|
+
function _temp25() {
|
|
31069
|
+
function _temp23() {
|
|
31070
|
+
function _temp21() {
|
|
31071
|
+
function _temp19() {
|
|
31072
|
+
function _temp17() {
|
|
31052
31073
|
doc.save("DashBoard.pdf");
|
|
31053
31074
|
}
|
|
31054
31075
|
|
|
31055
|
-
var
|
|
31076
|
+
var _temp16 = function () {
|
|
31056
31077
|
if (selectedToPDF.includes(topLearningStrategyName)) {
|
|
31057
31078
|
var chart = document.getElementById("learning_strategy");
|
|
31058
31079
|
return Promise.resolve(html2canvas(chart)).then(function (canvas) {
|
|
@@ -31064,10 +31085,10 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31064
31085
|
}
|
|
31065
31086
|
}();
|
|
31066
31087
|
|
|
31067
|
-
return
|
|
31088
|
+
return _temp16 && _temp16.then ? _temp16.then(_temp17) : _temp17(_temp16);
|
|
31068
31089
|
}
|
|
31069
31090
|
|
|
31070
|
-
var
|
|
31091
|
+
var _temp18 = function () {
|
|
31071
31092
|
if (selectedToPDF.includes(learningProcessName)) {
|
|
31072
31093
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31073
31094
|
doc.setFontSize(14);
|
|
@@ -31076,20 +31097,82 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31076
31097
|
line += 20;
|
|
31077
31098
|
var chart = document.getElementById("learning_progress");
|
|
31078
31099
|
return Promise.resolve(html2canvas(chart)).then(function (canvas) {
|
|
31100
|
+
function _temp15() {
|
|
31101
|
+
left = 20;
|
|
31102
|
+
doc.addImage(canvas.toDataURL("image/png"), 10, line + 70, 420, heightChart);
|
|
31103
|
+
doc.setFontSize(8);
|
|
31104
|
+
doc.addPage();
|
|
31105
|
+
line = 80;
|
|
31106
|
+
left = 20;
|
|
31107
|
+
}
|
|
31108
|
+
|
|
31109
|
+
var lineOptionPrecess = line;
|
|
31079
31110
|
doc.setFontSize(8);
|
|
31080
|
-
|
|
31081
|
-
|
|
31082
|
-
|
|
31083
|
-
|
|
31111
|
+
var questions = seriesConference.map(function (r) {
|
|
31112
|
+
return r.name;
|
|
31113
|
+
});
|
|
31114
|
+
|
|
31115
|
+
var _temp14 = _forTo(monthsConference, function (index) {
|
|
31116
|
+
var _line = line;
|
|
31117
|
+
doc.setFontSize(12);
|
|
31118
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31119
|
+
doc.text(monthsConference[index], left, _line);
|
|
31120
|
+
doc.setFontSize(8);
|
|
31121
|
+
|
|
31122
|
+
for (var indexResult = 0; indexResult < (seriesConference === null || seriesConference === void 0 ? void 0 : seriesConference.length); indexResult++) {
|
|
31123
|
+
var avg = seriesConference[indexResult].data[index];
|
|
31124
|
+
|
|
31125
|
+
if (avg != 0) {
|
|
31126
|
+
var questionText = questions[indexResult];
|
|
31127
|
+
|
|
31128
|
+
if (questionText != "") {
|
|
31129
|
+
doc.setDrawColor(0);
|
|
31130
|
+
doc.setFillColor(COLOR_CHART_AND_PERCENTS[indexResult]);
|
|
31131
|
+
doc.roundedRect(left, _line + 5, 5, 5, 1, 1, "F");
|
|
31132
|
+
doc.setFont("Helvetica", "normal", "bold");
|
|
31133
|
+
doc.text(questionText + ":", left + 8, _line + 10);
|
|
31134
|
+
doc.setFont("Helvetica", "normal", "normal");
|
|
31135
|
+
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);
|
|
31136
|
+
}
|
|
31137
|
+
|
|
31138
|
+
_line += 10;
|
|
31139
|
+
|
|
31140
|
+
if (_line > lineOptionPrecess) {
|
|
31141
|
+
lineOptionPrecess = _line;
|
|
31142
|
+
}
|
|
31143
|
+
}
|
|
31144
|
+
}
|
|
31145
|
+
|
|
31146
|
+
left += 100;
|
|
31147
|
+
|
|
31148
|
+
if (left + 105 > WIDTH_PAPER) {
|
|
31149
|
+
left = 20;
|
|
31150
|
+
line = lineOptionPrecess + 25;
|
|
31151
|
+
}
|
|
31152
|
+
|
|
31153
|
+
var _temp13 = function () {
|
|
31154
|
+
if (line + 150 > HEIGHT_PAPER) {
|
|
31155
|
+
doc.addPage();
|
|
31156
|
+
return Promise.resolve(createImageHeader()).then(function () {
|
|
31157
|
+
line = 80;
|
|
31158
|
+
left = 20;
|
|
31159
|
+
});
|
|
31160
|
+
}
|
|
31161
|
+
}();
|
|
31162
|
+
|
|
31163
|
+
if (_temp13 && _temp13.then) return _temp13.then(function () {});
|
|
31164
|
+
});
|
|
31165
|
+
|
|
31166
|
+
return _temp14 && _temp14.then ? _temp14.then(_temp15) : _temp15(_temp14);
|
|
31084
31167
|
});
|
|
31085
31168
|
});
|
|
31086
31169
|
}
|
|
31087
31170
|
}();
|
|
31088
31171
|
|
|
31089
|
-
return
|
|
31172
|
+
return _temp18 && _temp18.then ? _temp18.then(_temp19) : _temp19(_temp18);
|
|
31090
31173
|
}
|
|
31091
31174
|
|
|
31092
|
-
var
|
|
31175
|
+
var _temp20 = function () {
|
|
31093
31176
|
if (selectedToPDF.includes(successIndicatorsName)) {
|
|
31094
31177
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31095
31178
|
doc.setFontSize(14);
|
|
@@ -31176,15 +31259,15 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31176
31259
|
}
|
|
31177
31260
|
}();
|
|
31178
31261
|
|
|
31179
|
-
return
|
|
31262
|
+
return _temp20 && _temp20.then ? _temp20.then(_temp21) : _temp21(_temp20);
|
|
31180
31263
|
}
|
|
31181
31264
|
|
|
31182
|
-
var
|
|
31265
|
+
var _temp22 = function () {
|
|
31183
31266
|
if (selectedToPDF.includes(preparednessChartName)) {
|
|
31184
31267
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31185
31268
|
doc.setFontSize(14);
|
|
31186
31269
|
doc.setFont("Helvetica", "normal", "bold");
|
|
31187
|
-
doc.text(
|
|
31270
|
+
doc.text("Readiness To Learn", left, line);
|
|
31188
31271
|
line += 20;
|
|
31189
31272
|
var chart = document.getElementById("preparedness");
|
|
31190
31273
|
return Promise.resolve(html2canvas(chart)).then(function (canvas) {
|
|
@@ -31266,10 +31349,10 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31266
31349
|
}
|
|
31267
31350
|
}();
|
|
31268
31351
|
|
|
31269
|
-
return
|
|
31352
|
+
return _temp22 && _temp22.then ? _temp22.then(_temp23) : _temp23(_temp22);
|
|
31270
31353
|
}
|
|
31271
31354
|
|
|
31272
|
-
var
|
|
31355
|
+
var _temp24 = function () {
|
|
31273
31356
|
if (selectedToPDF.includes(averageStudentStressName)) {
|
|
31274
31357
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31275
31358
|
doc.setFontSize(14);
|
|
@@ -31355,7 +31438,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31355
31438
|
}
|
|
31356
31439
|
}();
|
|
31357
31440
|
|
|
31358
|
-
return
|
|
31441
|
+
return _temp24 && _temp24.then ? _temp24.then(_temp25) : _temp25(_temp24);
|
|
31359
31442
|
}
|
|
31360
31443
|
|
|
31361
31444
|
var doc = new jsPDF({
|
|
@@ -31388,7 +31471,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31388
31471
|
var line = 85;
|
|
31389
31472
|
var left = 20;
|
|
31390
31473
|
|
|
31391
|
-
var
|
|
31474
|
+
var _temp26 = function () {
|
|
31392
31475
|
if (selectedToPDF.includes(averageStudentSafetyName)) {
|
|
31393
31476
|
return Promise.resolve(createImageHeader()).then(function () {
|
|
31394
31477
|
doc.setFontSize(14);
|
|
@@ -31476,7 +31559,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31476
31559
|
}
|
|
31477
31560
|
}();
|
|
31478
31561
|
|
|
31479
|
-
return
|
|
31562
|
+
return _temp26 && _temp26.then ? _temp26.then(_temp27) : _temp27(_temp26);
|
|
31480
31563
|
}, function (err) {
|
|
31481
31564
|
console.log(err);
|
|
31482
31565
|
dispatch(setAlert({
|
|
@@ -31485,7 +31568,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31485
31568
|
}));
|
|
31486
31569
|
});
|
|
31487
31570
|
|
|
31488
|
-
return Promise.resolve(
|
|
31571
|
+
return Promise.resolve(_temp31 && _temp31.then ? _temp31.then(_temp30) : _temp30(_temp31));
|
|
31489
31572
|
} catch (e) {
|
|
31490
31573
|
return Promise.reject(e);
|
|
31491
31574
|
}
|
|
@@ -31499,7 +31582,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31499
31582
|
display: "block",
|
|
31500
31583
|
width: "45%"
|
|
31501
31584
|
}
|
|
31502
|
-
}, React.createElement(GenerateChartData
|
|
31585
|
+
}, React.createElement(GenerateChartData, {
|
|
31503
31586
|
colors: ["#0F9655"],
|
|
31504
31587
|
typeChart: TYPECHART.AREA,
|
|
31505
31588
|
activeColumn: [true],
|
|
@@ -31514,7 +31597,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31514
31597
|
display: "block",
|
|
31515
31598
|
width: "45%"
|
|
31516
31599
|
}
|
|
31517
|
-
}, React.createElement(GenerateChartData
|
|
31600
|
+
}, React.createElement(GenerateChartData, {
|
|
31518
31601
|
colors: ["#C44140"],
|
|
31519
31602
|
typeChart: TYPECHART.LINE,
|
|
31520
31603
|
activeColumn: [true],
|
|
@@ -31529,7 +31612,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31529
31612
|
display: "block",
|
|
31530
31613
|
width: "45%"
|
|
31531
31614
|
}
|
|
31532
|
-
}, React.createElement(GenerateChartData
|
|
31615
|
+
}, React.createElement(GenerateChartData, {
|
|
31533
31616
|
colors: ["#169490", "#316CD9", "#FFB04F"],
|
|
31534
31617
|
typeChart: TYPECHART.LINE,
|
|
31535
31618
|
activeColumn: activeColumnPreparedness,
|
|
@@ -31544,7 +31627,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31544
31627
|
display: "block",
|
|
31545
31628
|
width: "45%"
|
|
31546
31629
|
}
|
|
31547
|
-
}, React.createElement(GenerateChartData
|
|
31630
|
+
}, React.createElement(GenerateChartData, {
|
|
31548
31631
|
typeChart: TYPECHART.AREA,
|
|
31549
31632
|
activeColumn: activeColumnSuccessIndicators,
|
|
31550
31633
|
series: successIndicatorsData,
|
|
@@ -31552,16 +31635,15 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31552
31635
|
months: monthsOneToOne,
|
|
31553
31636
|
dayOfWeek: dayOfWeekOneToOne,
|
|
31554
31637
|
timeOfDay: timeOfDay,
|
|
31555
|
-
colors: ["#73C8E5", "#
|
|
31638
|
+
colors: ["#73C8E5", "#FFB04F", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"]
|
|
31556
31639
|
})), React.createElement("div", {
|
|
31557
31640
|
id: "learning_progress",
|
|
31558
31641
|
style: {
|
|
31559
31642
|
display: "block",
|
|
31560
31643
|
width: "45%"
|
|
31561
31644
|
}
|
|
31562
|
-
}, React.createElement(GenerateChartData
|
|
31645
|
+
}, React.createElement(GenerateChartData, {
|
|
31563
31646
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
31564
|
-
name: "Learning Process",
|
|
31565
31647
|
typeChart: TYPECHART.AREA,
|
|
31566
31648
|
activeColumn: activeColumnConference,
|
|
31567
31649
|
series: seriesConference,
|
|
@@ -32125,7 +32207,7 @@ var Dashboard = function Dashboard() {
|
|
|
32125
32207
|
className: "d-flex"
|
|
32126
32208
|
}, React.createElement(Col, {
|
|
32127
32209
|
md: !isExpandChart && chartIsOpened[0] ? 6 : 12
|
|
32128
|
-
}, React.createElement(GenerateChartData
|
|
32210
|
+
}, React.createElement(GenerateChartData, {
|
|
32129
32211
|
isShowExpandIcon: true,
|
|
32130
32212
|
colors: ["#0F9655"],
|
|
32131
32213
|
name: t(averageStudentSafetyName),
|
|
@@ -32138,9 +32220,9 @@ var Dashboard = function Dashboard() {
|
|
|
32138
32220
|
onExpand: handleToggleChartWidth,
|
|
32139
32221
|
timeOfDay: filter.optionDate
|
|
32140
32222
|
})), React.createElement(Col, {
|
|
32141
|
-
md: !isExpandChart ? 6 : 12,
|
|
32223
|
+
md: !isExpandChart && chartIsOpened[0] ? 6 : 12,
|
|
32142
32224
|
className: ""
|
|
32143
|
-
}, React.createElement(GenerateChartData
|
|
32225
|
+
}, React.createElement(GenerateChartData, {
|
|
32144
32226
|
isShowExpandIcon: true,
|
|
32145
32227
|
colors: ["#C44140"],
|
|
32146
32228
|
name: t(averageStudentStressName),
|
|
@@ -32155,10 +32237,10 @@ var Dashboard = function Dashboard() {
|
|
|
32155
32237
|
}))), React.createElement(Row, {
|
|
32156
32238
|
className: "d-flex"
|
|
32157
32239
|
}, React.createElement(Col, {
|
|
32158
|
-
md: 7
|
|
32159
|
-
}, React.createElement(GenerateChartData
|
|
32240
|
+
md: chartIsOpened[0] ? 7 : 12
|
|
32241
|
+
}, React.createElement(GenerateChartData, {
|
|
32160
32242
|
colors: ["#169490", "#316CD9", "#FFB04F"],
|
|
32161
|
-
name:
|
|
32243
|
+
name: "Readiness To Learn",
|
|
32162
32244
|
typeChart: TYPECHART.AREA,
|
|
32163
32245
|
onActiveColumn: handleActiveColumnOneToOne,
|
|
32164
32246
|
activeColumn: activeColumnPreparedness,
|
|
@@ -32169,7 +32251,7 @@ var Dashboard = function Dashboard() {
|
|
|
32169
32251
|
timeOfDay: filter.optionDate
|
|
32170
32252
|
})), React.createElement(Col, {
|
|
32171
32253
|
md: 5
|
|
32172
|
-
}, React.createElement(GenerateChartData
|
|
32254
|
+
}, React.createElement(GenerateChartData, {
|
|
32173
32255
|
colors: ["#D9EEE4", "#FAF0F0"],
|
|
32174
32256
|
name: t(overallReadinessToLearn),
|
|
32175
32257
|
typeChart: TYPECHART.DONUT,
|
|
@@ -32179,7 +32261,9 @@ var Dashboard = function Dashboard() {
|
|
|
32179
32261
|
series: dataOverallReadyToLearn.resultQuestion,
|
|
32180
32262
|
timeOfDay: filter.optionDate,
|
|
32181
32263
|
dayOfWeek: []
|
|
32182
|
-
}))), React.createElement(
|
|
32264
|
+
}))), React.createElement(Row, null, React.createElement(Col, {
|
|
32265
|
+
md: !chartIsOpened[0] ? 6 : 12
|
|
32266
|
+
}, React.createElement(GenerateChartData, {
|
|
32183
32267
|
name: t(successIndicatorsName),
|
|
32184
32268
|
typeChart: TYPECHART.AREA,
|
|
32185
32269
|
onActiveColumn: handleActiveColumnOneToOne,
|
|
@@ -32189,8 +32273,8 @@ var Dashboard = function Dashboard() {
|
|
|
32189
32273
|
months: monthsOneToOne,
|
|
32190
32274
|
dayOfWeek: dayOfWeekOneToOne,
|
|
32191
32275
|
timeOfDay: filter.optionDate,
|
|
32192
|
-
colors: ["#73C8E5", "#
|
|
32193
|
-
}), React.createElement(BubbleChartCustom$1, {
|
|
32276
|
+
colors: ["#73C8E5", "#FFB04F", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"]
|
|
32277
|
+
}))), React.createElement(BubbleChartCustom$1, {
|
|
32194
32278
|
data: readinessToLearning
|
|
32195
32279
|
}), React.createElement("div", {
|
|
32196
32280
|
className: "" + styles$1["mt-15"]
|
|
@@ -32211,7 +32295,9 @@ var Dashboard = function Dashboard() {
|
|
|
32211
32295
|
index: 1
|
|
32212
32296
|
}), React.createElement(Collapse, {
|
|
32213
32297
|
isOpen: chartIsOpened[1]
|
|
32214
|
-
}, React.createElement(
|
|
32298
|
+
}, React.createElement(Row, null, React.createElement(Col, {
|
|
32299
|
+
md: !chartIsOpened[1] ? 6 : 12
|
|
32300
|
+
}, React.createElement(GenerateChartData, {
|
|
32215
32301
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
32216
32302
|
name: t(learningProcessName),
|
|
32217
32303
|
typeChart: TYPECHART.AREA,
|
|
@@ -32222,7 +32308,7 @@ var Dashboard = function Dashboard() {
|
|
|
32222
32308
|
dayOfWeek: dayOfWeekConference,
|
|
32223
32309
|
avgQuestionLastMonth: avgConferenceLastMonth,
|
|
32224
32310
|
timeOfDay: filter.optionDate
|
|
32225
|
-
}), React.createElement(TopLearningStrategy$1, {
|
|
32311
|
+
}))), React.createElement(TopLearningStrategy$1, {
|
|
32226
32312
|
data: topLearningStrategies
|
|
32227
32313
|
}))));
|
|
32228
32314
|
};
|