mario-teacher-student-client 2.1.83-beta → 2.1.85-beta
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 +6 -0
- package/dist/index.js +142 -86
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +142 -86
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -791,6 +791,10 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
791
791
|
return (_state$common5 = state.common) === null || _state$common5 === void 0 ? void 0 : _state$common5.user.isLoginFirst;
|
|
792
792
|
});
|
|
793
793
|
|
|
794
|
+
var _useState = React.useState(new Date()),
|
|
795
|
+
curTime = _useState[0],
|
|
796
|
+
setCurTime = _useState[1];
|
|
797
|
+
|
|
794
798
|
var openNotification = function openNotification() {
|
|
795
799
|
var features = "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=1080, height=720, top=100, left=100";
|
|
796
800
|
window.open("/notifications", "NotificationDialog", features);
|
|
@@ -822,8 +826,8 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
822
826
|
var open = Boolean(anchorEl);
|
|
823
827
|
var openFont = Boolean(anchorFontEl);
|
|
824
828
|
|
|
825
|
-
var
|
|
826
|
-
hoverConferences =
|
|
829
|
+
var _useState2 = React.useState(false),
|
|
830
|
+
hoverConferences = _useState2[0];
|
|
827
831
|
|
|
828
832
|
var toggleSideBar = function toggleSideBar() {
|
|
829
833
|
dispatch(marioCore.showMenuBar(!isOpenSideBar));
|
|
@@ -846,7 +850,16 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
846
850
|
setAnchorFontEl(null);
|
|
847
851
|
};
|
|
848
852
|
|
|
853
|
+
React.useEffect(function () {
|
|
854
|
+
setCurTime(new Date());
|
|
855
|
+
}, [location.pathname]);
|
|
849
856
|
var signOut = React.useCallback(function () {
|
|
857
|
+
var newCurTime = new Date();
|
|
858
|
+
marioCore.amplitudeClient.logEvent("general: duration", {
|
|
859
|
+
user_id: user.email,
|
|
860
|
+
duration_since: newCurTime.getTime() - curTime.getTime(),
|
|
861
|
+
last_page: location.pathname.replace("/", "")
|
|
862
|
+
});
|
|
850
863
|
marioCore.amplitudeClient.logEvent("general: session end", {
|
|
851
864
|
user_id: user.email
|
|
852
865
|
});
|
|
@@ -854,7 +867,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
854
867
|
localStorage.removeItem(marioCore.ACCESS_TOKEN);
|
|
855
868
|
dispatch(marioCore.reset());
|
|
856
869
|
history.replace("/");
|
|
857
|
-
}, []);
|
|
870
|
+
}, [curTime]);
|
|
858
871
|
|
|
859
872
|
var getTeacherInformationIEP = function getTeacherInformationIEP() {
|
|
860
873
|
try {
|
|
@@ -873,9 +886,9 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
873
886
|
}
|
|
874
887
|
};
|
|
875
888
|
|
|
876
|
-
var
|
|
877
|
-
unreadNoti =
|
|
878
|
-
setUnreadNoti =
|
|
889
|
+
var _useState3 = React.useState(0),
|
|
890
|
+
unreadNoti = _useState3[0],
|
|
891
|
+
setUnreadNoti = _useState3[1];
|
|
879
892
|
|
|
880
893
|
var getUnreadNoti = React.useCallback(function () {
|
|
881
894
|
try {
|
|
@@ -1171,6 +1184,14 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
1171
1184
|
}));
|
|
1172
1185
|
break;
|
|
1173
1186
|
|
|
1187
|
+
case "/my-class-reflection/to-do":
|
|
1188
|
+
dispatch(marioCore.initAmplitude({
|
|
1189
|
+
name: user.email,
|
|
1190
|
+
event: "class reflections: view page",
|
|
1191
|
+
page: "Class Reflections"
|
|
1192
|
+
}));
|
|
1193
|
+
break;
|
|
1194
|
+
|
|
1174
1195
|
case "/plp":
|
|
1175
1196
|
dispatch(marioCore.initAmplitude({
|
|
1176
1197
|
name: user.email,
|
|
@@ -1456,7 +1477,7 @@ var MainLayout = function MainLayout(_ref) {
|
|
|
1456
1477
|
if (amplitude !== null && amplitude !== void 0 && amplitude.event) {
|
|
1457
1478
|
handleLogEvent();
|
|
1458
1479
|
}
|
|
1459
|
-
}, [amplitude === null || amplitude === void 0 ? void 0 : amplitude.event]);
|
|
1480
|
+
}, [amplitude === null || amplitude === void 0 ? void 0 : amplitude.event, amplitude === null || amplitude === void 0 ? void 0 : amplitude.last_page]);
|
|
1460
1481
|
React.useEffect(function () {
|
|
1461
1482
|
if (!!user) {
|
|
1462
1483
|
marioCore.amplitudeClient.init(marioCore.INIT_AMPLITUDE_KEY, user.email, {
|
|
@@ -1478,7 +1499,7 @@ var MainLayout = function MainLayout(_ref) {
|
|
|
1478
1499
|
marioCore.amplitudeClient.logEvent("general: duration", {
|
|
1479
1500
|
user_id: user.email,
|
|
1480
1501
|
duration_since: newCurTime.getTime() - curTime.getTime(),
|
|
1481
|
-
last_page: location.pathname
|
|
1502
|
+
last_page: location.pathname.replace("/", "")
|
|
1482
1503
|
});
|
|
1483
1504
|
};
|
|
1484
1505
|
|
|
@@ -1496,7 +1517,7 @@ var MainLayout = function MainLayout(_ref) {
|
|
|
1496
1517
|
name: user.email,
|
|
1497
1518
|
event: "general: duration",
|
|
1498
1519
|
duration_since: newCurTime.getTime() - curTime.getTime(),
|
|
1499
|
-
last_page: pathName
|
|
1520
|
+
last_page: pathName.replace("/", "")
|
|
1500
1521
|
}));
|
|
1501
1522
|
}
|
|
1502
1523
|
|
|
@@ -2167,9 +2188,9 @@ var InputComponent = function InputComponent(_ref) {
|
|
|
2167
2188
|
}, isAddIcon && React__default.createElement(AddCircleIcon, {
|
|
2168
2189
|
className: styleIndex["icon-btn"],
|
|
2169
2190
|
onClick: function onClick() {
|
|
2170
|
-
!!handleAddItem && valueText !== "" && !disabled && handleAddItem();
|
|
2191
|
+
!!handleAddItem && (valueText === null || valueText === void 0 ? void 0 : valueText.trim()) !== "" && !disabled && handleAddItem();
|
|
2171
2192
|
},
|
|
2172
|
-
color: valueText ? "primary" : "disabled"
|
|
2193
|
+
color: valueText !== null && valueText !== void 0 && valueText.trim() ? "primary" : "disabled"
|
|
2173
2194
|
}))
|
|
2174
2195
|
}
|
|
2175
2196
|
})))));
|
|
@@ -17334,7 +17355,7 @@ var StudentTabs = function StudentTabs(props) {
|
|
|
17334
17355
|
|
|
17335
17356
|
var styles$7 = {"box-overview":"_3uYAt","overview-left":"_1V3nf","overview-schedule":"_2AQxk","overview-partner-profiles":"_J8fJn","show-arrange-today":"_1qCwl","font-large":"_vX7SW","title-box":"_175nT","content-box":"_fEaRj","font-small":"_3QEPF","gr-date-time":"_1clLN","date-picker-overview":"_1RV8f","date-time":"_286sF","box":"_2QGnx","overview-right":"_3sc5l","pie-chart-box":"_13FnU","readiness-to-learn":"_21Iny","readiness-to-learn-box":"_177Fz","accordion-item":"_2UlJW","collap-box":"_l-kLp","title-overview":"_3aapW","width-90":"_2wWhs","height-13vh":"_2WNUe","chartDataAndLabelData":"_1jSN5","date-picker-mobile":"_3F0Tm","date-picker-to":"_3140u","box-overview-desktop":"_2tZC3","box-overview-mobile":"_39vGN","overview-mobile":"_3e_xC","border-chart":"_1081B","border-chart-top":"_2N1Xp","class-schedule":"_357lC"};
|
|
17336
17357
|
|
|
17337
|
-
var styles$8 = {"box":"_1Gw8i","goal-card":"_1jL2C","goal-card-item":"_2q6Jl","left-item":"_4pljN","title-item":"_UyJJC","description-item":"_1vD4_","right-item":"_2_cth","category-item":"_Ir2t4","status-item":"_KlwFr","completed":"_3KX9R","in-progress":"_3uKru","inactive":"_3xn_A","about-header":"_6yaJW","about-header-left":"_1WPpp","about-header-right":"_3f3Jr","btn-box":"_1gpWP","btn-delete":"_hDvhF","box-body":"_12xB1","select-option":"_1R60X","about-select":"_1Saet","about-select-box":"_htNcj","about-select-switch":"_2jl3g","list":"_1UciI","list-item":"_23pHy","item-name":"_3OZr_","detail":"_1aWxh","detail-item":"_3w-gW","goal-type":"_N5IAL","right-item-view-container":"_tOmgJ","right-item-view":"_3KxkK","status-box":"_3y2ts","size-check-point":"_2p5xO","box-content":"_1qog7","box-detail":"_34x4Y","box-detail-top":"_OCGzU","content-title":"_3n8Ym","title":"_3GtSy","content":"_2ehnh","err-message":"_3Gf3H","goal-form":"_e5B2A","goal-form-input":"_1wAWv","dialog-box-button":"_hor2Q","dialog-button-add":"_2oVq-","dialog-button-cancel":"_3o2FD","header-dialog":"_FMoSF","dialog-body":"_2wDRF","message-item":"_piBW5","icon-delete":"_1gaoX","block1-survey":"_1DfBV","block-step":"_22x1C","step-active":"_1rICV","back-step":"_DRPKF","box-text":"_5C51T","text-point":"_2lKpt","text-description":"_3h6aC","text-time":"_2w2ZD","done-icon":"_1By2Z","cursor-icon":"_xF74l","box-table-draggable":"_2o-8F","draggable-header":"_5W2Fg","icon-bottom":"_2PHt1","delete-box":"_c9TZq","fit-content":"_2TkuX","box-title-upload":"_2sO-2","title-upload":"_1Y93b","description-upload":"_3MlDb","box-select":"_3znlu","left-file-box":"_yCdmh","file-box":"_30PED","file-name":"_3o3-9","file-icon":"_EcMhp","cancel-icon":"_20zNl","icon-btn":"_2hccP","box-header":"_1lFaB","box-header-title":"_3O23t","box-header-button":"_1Bb3d","box-header-button-name":"_3BZZP","box-header-button-icon":"_37odR","box-header-item":"_1RM3i","item-title":"_1RDj7","item-right":"_3Wl2k","item-description":"_23ld8","box-items":"_Nyi4t","font-large":"_1TgXi","box-status":"_2qZ3K","font-small":"_35dhf","box-progress-item":"_P01if","status-item-margin":"_1XhVj","goals-box":"_2eBS9","step-icon":"_1OOBH","icon":"_3oCcd","cancel":"_3WgsP","active":"_1qDbH","dot":"_1vcUH","btn-to-detail":"_2s5wv","baseline-group":"_1LPsk","btn-add-mobile":"_3x6zJ","m-20":"_2s_iW","btn-delete-mobile":"_2nQLI","box-nodata-goal":"_23F1r","title-mobile":"_338pu","status":"_3OjOB","item-box":"_1S1IR","goal-card-item-mobile":"_3j7-c","select-edit-learning-tablet":"_hXd7q","select-edit-learning-tablet-student":"_1guxI","button-view-goal":"_3fdc_","btn-inActive":"_1EunQ","status-title":"_2FFkv","drag-header":"_3qKQq","drag-content-hidden":"_3qI-Z"};
|
|
17358
|
+
var styles$8 = {"box":"_1Gw8i","baseline-content":"_14qnB","btn-add-baseline-dissable":"_3OC-7","goal-card":"_1jL2C","goal-card-item":"_2q6Jl","left-item":"_4pljN","title-item":"_UyJJC","description-item":"_1vD4_","right-item":"_2_cth","category-item":"_Ir2t4","status-item":"_KlwFr","completed":"_3KX9R","in-progress":"_3uKru","inactive":"_3xn_A","about-header":"_6yaJW","about-header-left":"_1WPpp","about-header-right":"_3f3Jr","btn-box":"_1gpWP","btn-delete":"_hDvhF","box-body":"_12xB1","select-option":"_1R60X","about-select":"_1Saet","about-select-box":"_htNcj","about-select-switch":"_2jl3g","list":"_1UciI","list-item":"_23pHy","item-name":"_3OZr_","detail":"_1aWxh","detail-item":"_3w-gW","goal-type":"_N5IAL","right-item-view-container":"_tOmgJ","right-item-view":"_3KxkK","status-box":"_3y2ts","size-check-point":"_2p5xO","box-content":"_1qog7","box-detail":"_34x4Y","box-detail-top":"_OCGzU","content-title":"_3n8Ym","title":"_3GtSy","content":"_2ehnh","err-message":"_3Gf3H","goal-form":"_e5B2A","goal-form-input":"_1wAWv","dialog-box-button":"_hor2Q","dialog-button-add":"_2oVq-","dialog-button-cancel":"_3o2FD","header-dialog":"_FMoSF","dialog-body":"_2wDRF","message-item":"_piBW5","icon-delete":"_1gaoX","block1-survey":"_1DfBV","block-step":"_22x1C","step-active":"_1rICV","back-step":"_DRPKF","box-text":"_5C51T","text-point":"_2lKpt","text-description":"_3h6aC","text-time":"_2w2ZD","done-icon":"_1By2Z","cursor-icon":"_xF74l","box-table-draggable":"_2o-8F","draggable-header":"_5W2Fg","icon-bottom":"_2PHt1","delete-box":"_c9TZq","fit-content":"_2TkuX","box-title-upload":"_2sO-2","title-upload":"_1Y93b","description-upload":"_3MlDb","box-select":"_3znlu","left-file-box":"_yCdmh","file-box":"_30PED","file-name":"_3o3-9","file-icon":"_EcMhp","cancel-icon":"_20zNl","icon-btn":"_2hccP","box-header":"_1lFaB","box-header-title":"_3O23t","box-header-button":"_1Bb3d","box-header-button-name":"_3BZZP","box-header-button-icon":"_37odR","box-header-item":"_1RM3i","item-title":"_1RDj7","item-right":"_3Wl2k","item-description":"_23ld8","box-items":"_Nyi4t","font-large":"_1TgXi","box-status":"_2qZ3K","font-small":"_35dhf","box-progress-item":"_P01if","status-item-margin":"_1XhVj","goals-box":"_2eBS9","step-icon":"_1OOBH","icon":"_3oCcd","cancel":"_3WgsP","active":"_1qDbH","dot":"_1vcUH","btn-to-detail":"_2s5wv","baseline-group":"_1LPsk","btn-add-mobile":"_3x6zJ","m-20":"_2s_iW","btn-delete-mobile":"_2nQLI","box-nodata-goal":"_23F1r","title-mobile":"_338pu","status":"_3OjOB","item-box":"_1S1IR","goal-card-item-mobile":"_3j7-c","select-edit-learning-tablet":"_hXd7q","select-edit-learning-tablet-student":"_1guxI","button-view-goal":"_3fdc_","btn-inActive":"_1EunQ","status-title":"_2FFkv","drag-header":"_3qKQq","drag-content-hidden":"_3qI-Z"};
|
|
17338
17359
|
|
|
17339
17360
|
var STUDENT_URL$1 = marioCore.BASE_URL + "/api/Student";
|
|
17340
17361
|
var GOAL_URL = marioCore.BASE_URL + "/api/Goal";
|
|
@@ -23530,7 +23551,6 @@ var styles$g = {"about-box":"_FH_-Y","about-header":"_MqLnI","about-header-left"
|
|
|
23530
23551
|
|
|
23531
23552
|
var STUDENT_URL$3 = marioCore.BASE_URL + "/api/Student";
|
|
23532
23553
|
var ADDITIONAL_THING = marioCore.BASE_URL + "/api/StudentAdditionalThing";
|
|
23533
|
-
var SUCCESSSFULL_LEARNING_STRAGEGY = marioCore.BASE_URL + "/api/SuccessfulLearningStrategy";
|
|
23534
23554
|
var createItem$1 = function createItem(data, studentId) {
|
|
23535
23555
|
return marioCore.api.post(ADDITIONAL_THING + "/" + studentId, data);
|
|
23536
23556
|
};
|
|
@@ -23554,9 +23574,6 @@ var allowEdit$3 = function allowEdit(id, data) {
|
|
|
23554
23574
|
var getAllowEdit$3 = function getAllowEdit(id) {
|
|
23555
23575
|
return marioCore.api.get(STUDENT_URL$3 + "/" + id + "/allowEditGoal");
|
|
23556
23576
|
};
|
|
23557
|
-
var getAllBestFits = function getAllBestFits() {
|
|
23558
|
-
return marioCore.api.get(SUCCESSSFULL_LEARNING_STRAGEGY + "/allBestFit");
|
|
23559
|
-
};
|
|
23560
23577
|
|
|
23561
23578
|
var defaultFontLarge$g = 20;
|
|
23562
23579
|
var defaultFontSmall$g = 12;
|
|
@@ -25334,7 +25351,7 @@ var getStudentData = function getStudentData(dispatch, studentId) {
|
|
|
25334
25351
|
|
|
25335
25352
|
var LEARNING_STRATEGY = marioCore.BASE_URL + "/api/SuccessfulLearningStrategy/learningStrategy";
|
|
25336
25353
|
var STUDENT_URL$6 = marioCore.BASE_URL + "/api/Student";
|
|
25337
|
-
var SUCCESSSFULL_LEARNING_STRAGEGY
|
|
25354
|
+
var SUCCESSSFULL_LEARNING_STRAGEGY = marioCore.BASE_URL + "/api/SuccessfulLearningStrategy";
|
|
25338
25355
|
var getAllLearningStrategy = function getAllLearningStrategy(filters) {
|
|
25339
25356
|
return marioCore.api.get("" + LEARNING_STRATEGY, {
|
|
25340
25357
|
params: filters
|
|
@@ -25374,8 +25391,8 @@ var allowEdit$6 = function allowEdit(id, data) {
|
|
|
25374
25391
|
var getAllowEdit$6 = function getAllowEdit(id) {
|
|
25375
25392
|
return marioCore.api.get(STUDENT_URL$6 + "/" + id + "/allowEditGoal");
|
|
25376
25393
|
};
|
|
25377
|
-
var getAllBestFits
|
|
25378
|
-
return marioCore.api.get(SUCCESSSFULL_LEARNING_STRAGEGY
|
|
25394
|
+
var getAllBestFits = function getAllBestFits() {
|
|
25395
|
+
return marioCore.api.get(SUCCESSSFULL_LEARNING_STRAGEGY + "/allBestFit");
|
|
25379
25396
|
};
|
|
25380
25397
|
|
|
25381
25398
|
var defaultFontLarge$k = 20;
|
|
@@ -40757,8 +40774,8 @@ var NewLearningPlan = function NewLearningPlan() {
|
|
|
40757
40774
|
className: "" + myStudent["input-date-label"]
|
|
40758
40775
|
}, "Enter a date range"), React__default.createElement(DatePicker, {
|
|
40759
40776
|
selectsRange: true,
|
|
40760
|
-
startDate: e.startTime ? new Date(e.startTime) : null,
|
|
40761
|
-
endDate:
|
|
40777
|
+
startDate: e.startTime ? new Date(marioCore.utcToLocalTime(e.startTime, "yyyy-MM-DD")) : null,
|
|
40778
|
+
endDate: e.endTime ? new Date(marioCore.utcToLocalTime(e.endTime, "yyyy-MM-DD")) : null,
|
|
40762
40779
|
onChange: function onChange(date) {
|
|
40763
40780
|
setFieldValue("goalLearningPlans[" + index + "].startTime", date[0]);
|
|
40764
40781
|
setFieldValue("goalLearningPlans[" + index + "].endTime", date[1]);
|
|
@@ -40812,8 +40829,8 @@ var NewLearningPlan = function NewLearningPlan() {
|
|
|
40812
40829
|
className: "" + myStudent["input-date-label"]
|
|
40813
40830
|
}, "Enter a date range"), React__default.createElement(DatePicker, {
|
|
40814
40831
|
selectsRange: true,
|
|
40815
|
-
startDate: e.startTime ? new Date(e.startTime) : null,
|
|
40816
|
-
endDate:
|
|
40832
|
+
startDate: e.startTime ? new Date(marioCore.utcToLocalTime(e.startTime, "yyyy-MM-DD")) : null,
|
|
40833
|
+
endDate: e.endTime ? new Date(marioCore.utcToLocalTime(e.endTime, "yyyy-MM-DD")) : null,
|
|
40817
40834
|
onChange: function onChange(date) {
|
|
40818
40835
|
setFieldValue("goalLearningPlans[" + index + "].startTime", date[0]);
|
|
40819
40836
|
setFieldValue("goalLearningPlans[" + index + "].endTime", date[1]);
|
|
@@ -40859,8 +40876,8 @@ var NewLearningPlan = function NewLearningPlan() {
|
|
|
40859
40876
|
className: "" + myStudent["input-date-label"]
|
|
40860
40877
|
}, "Enter a date range") : "", React__default.createElement(DatePicker, {
|
|
40861
40878
|
selectsRange: true,
|
|
40862
|
-
startDate: e.startTime ? new Date(e.startTime) : null,
|
|
40863
|
-
endDate:
|
|
40879
|
+
startDate: e.startTime ? new Date(marioCore.utcToLocalTime(e.startTime, "yyyy-MM-DD")) : null,
|
|
40880
|
+
endDate: e.endTime ? new Date(marioCore.utcToLocalTime(e.endTime, "yyyy-MM-DD")) : null,
|
|
40864
40881
|
onChange: function onChange(date) {
|
|
40865
40882
|
setFieldValue("goalLearningPlans[" + index + "].startTime", date[0]);
|
|
40866
40883
|
setFieldValue("goalLearningPlans[" + index + "].endTime", date[1]);
|
|
@@ -42747,6 +42764,10 @@ var useCreateStudent = function useCreateStudent() {
|
|
|
42747
42764
|
submitData = _useState4[0],
|
|
42748
42765
|
setSubmitData = _useState4[1];
|
|
42749
42766
|
|
|
42767
|
+
console.log({
|
|
42768
|
+
submitData: submitData
|
|
42769
|
+
});
|
|
42770
|
+
|
|
42750
42771
|
var _useState5 = React.useState(false),
|
|
42751
42772
|
openAddEditParentModal2 = _useState5[0],
|
|
42752
42773
|
setOpenAddEditParentModal2 = _useState5[1];
|
|
@@ -42946,6 +42967,7 @@ var useCreateStudent = function useCreateStudent() {
|
|
|
42946
42967
|
|
|
42947
42968
|
var DEFAULT_USER_AVATAR$j = "/images/image-default.png";
|
|
42948
42969
|
var parents$1 = ["Mother", "Father"];
|
|
42970
|
+
var gender$1 = ["Male", "Female"];
|
|
42949
42971
|
var gradeLevels$1 = ["K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
42950
42972
|
|
|
42951
42973
|
var CreateStudent = function CreateStudent() {
|
|
@@ -43086,6 +43108,35 @@ var CreateStudent = function CreateStudent() {
|
|
|
43086
43108
|
className: "" + styles$q["input-error"]
|
|
43087
43109
|
}, errors.lastName) : null, React__default.createElement(core.Typography, {
|
|
43088
43110
|
className: "" + styles$q["profile-label"]
|
|
43111
|
+
}, "Gender"), React__default.createElement(core.Select, {
|
|
43112
|
+
variant: "outlined",
|
|
43113
|
+
value: !!(values !== null && values !== void 0 && values.legalGender) && (values === null || values === void 0 ? void 0 : values.legalGender),
|
|
43114
|
+
onChange: function onChange(e) {
|
|
43115
|
+
return setFieldValue("legalGender", e.target.value);
|
|
43116
|
+
},
|
|
43117
|
+
className: "" + styles$q["input-field"]
|
|
43118
|
+
}, gender$1.map(function (gender) {
|
|
43119
|
+
return React__default.createElement(core.MenuItem, {
|
|
43120
|
+
value: gender
|
|
43121
|
+
}, gender);
|
|
43122
|
+
})), React__default.createElement(core.Typography, {
|
|
43123
|
+
className: "" + styles$q["profile-label"]
|
|
43124
|
+
}, "Date of Birth"), React__default.createElement(pickers.MuiPickersUtilsProvider, {
|
|
43125
|
+
utils: MomentUtils
|
|
43126
|
+
}, React__default.createElement(pickers.KeyboardDatePicker, {
|
|
43127
|
+
inputVariant: "outlined",
|
|
43128
|
+
format: "Do MMM YYYY",
|
|
43129
|
+
id: "time-picker",
|
|
43130
|
+
className: "" + styles$q["input-field"],
|
|
43131
|
+
value: !!(values !== null && values !== void 0 && values.dateOfBirth) ? values === null || values === void 0 ? void 0 : values.dateOfBirth : null,
|
|
43132
|
+
onChange: function onChange(e) {
|
|
43133
|
+
return setFieldValue("dateOfBirth", new Date(e));
|
|
43134
|
+
},
|
|
43135
|
+
KeyboardButtonProps: {
|
|
43136
|
+
"aria-label": "change date"
|
|
43137
|
+
}
|
|
43138
|
+
})), React__default.createElement(core.Typography, {
|
|
43139
|
+
className: "" + styles$q["profile-label"]
|
|
43089
43140
|
}, "Phone Number"), React__default.createElement(core.TextField, {
|
|
43090
43141
|
variant: "outlined",
|
|
43091
43142
|
value: values === null || values === void 0 ? void 0 : values.phone,
|
|
@@ -45808,7 +45859,7 @@ var data = [{
|
|
|
45808
45859
|
teachingStrategyId: 2,
|
|
45809
45860
|
title: "Bite-size Learning",
|
|
45810
45861
|
detail: "I learn best when my teacher breaks down new learning into smaller pieces of information followed by opportunities to review what I learned and identify gaps in learning.",
|
|
45811
|
-
bestFits: "Short-term Memory, Staying Focused, Impulse Control, Self-
|
|
45862
|
+
bestFits: "Short-term Memory, Staying Focused, Impulse Control, Self-Awareness, Listening, Processing Speed"
|
|
45812
45863
|
}, {
|
|
45813
45864
|
id: 3,
|
|
45814
45865
|
teachingStrategyId: 3,
|
|
@@ -45838,13 +45889,13 @@ var data = [{
|
|
|
45838
45889
|
teachingStrategyId: 7,
|
|
45839
45890
|
title: "Frequent Check-ins",
|
|
45840
45891
|
detail: "I learn best when my teacher has frequent, private check-ins to ensure I am on track. This also helps me feel safe and supported in class. (Ideas for check-ins include a sticky note system, silent signal, whisper at desk side, but we can agree on something together).",
|
|
45841
|
-
bestFits: "Stress & Anxiety, Processing Speed, Task Initiation, Developing Ideas,
|
|
45892
|
+
bestFits: "Stress & Anxiety, Processing Speed, Task Initiation, Developing Ideas, Planning, Finishing Tasks, Short-term Memory, Staying Focused, Self-Advocacy, Self-Awareness"
|
|
45842
45893
|
}, {
|
|
45843
45894
|
id: 8,
|
|
45844
45895
|
teachingStrategyId: 8,
|
|
45845
45896
|
title: "Develop Rapport",
|
|
45846
45897
|
detail: "I learn best when my teacher focuses on relationship building, both with teachers and peers - creating a community of care where I feel connected and valued.",
|
|
45847
|
-
bestFits: "Stress & Anxiety, Behavior,
|
|
45898
|
+
bestFits: "Stress & Anxiety, Behavior, Attitude, Confidence"
|
|
45848
45899
|
}, {
|
|
45849
45900
|
id: 9,
|
|
45850
45901
|
teachingStrategyId: 9,
|
|
@@ -45874,7 +45925,7 @@ var data = [{
|
|
|
45874
45925
|
teachingStrategyId: 13,
|
|
45875
45926
|
title: "Non-verbal Cues",
|
|
45876
45927
|
detail: "I learn best when my teacher redirects me with non-verbal cues to redirect me when possible, rather than verbally redirecting me.",
|
|
45877
|
-
bestFits: "Staying Focused, Self-
|
|
45928
|
+
bestFits: "Staying Focused, Self-Awareness, Attitude, Behavior, Stress & Anxiety, Confidence"
|
|
45878
45929
|
}, {
|
|
45879
45930
|
id: 14,
|
|
45880
45931
|
teachingStrategyId: 14,
|
|
@@ -45892,7 +45943,7 @@ var data = [{
|
|
|
45892
45943
|
teachingStrategyId: 16,
|
|
45893
45944
|
title: "Multimodal Learning",
|
|
45894
45945
|
detail: "I learn best when my teacher helps us learn through multiple ways, including reading, listening, watching, and doing. Important concepts are not taught just using one way of learning.",
|
|
45895
|
-
bestFits: "Staying Focused, Listening, Reading, Writing, Math,
|
|
45946
|
+
bestFits: "Staying Focused, Listening, Reading, Writing, Math, Collaboration, Processing Speed"
|
|
45896
45947
|
}, {
|
|
45897
45948
|
id: 17,
|
|
45898
45949
|
teachingStrategyId: 17,
|
|
@@ -45916,7 +45967,7 @@ var data = [{
|
|
|
45916
45967
|
teachingStrategyId: 20,
|
|
45917
45968
|
title: "Understanding Checks",
|
|
45918
45969
|
detail: "I learn best when my teacher frequently checks in with me to see if I've understand new learning.",
|
|
45919
|
-
bestFits: "Starting Tasks, Short-term Memory, Staying Focused, Impulse Control, Self-Advocacy, Listening, Processing"
|
|
45970
|
+
bestFits: "Starting Tasks, Short-term Memory, Staying Focused, Impulse Control, Self-Advocacy, Listening, Processing Speed"
|
|
45920
45971
|
}, {
|
|
45921
45972
|
id: 21,
|
|
45922
45973
|
teachingStrategyId: 21,
|
|
@@ -45958,7 +46009,7 @@ var data = [{
|
|
|
45958
46009
|
teachingStrategyId: 27,
|
|
45959
46010
|
title: "Sharing Vocabulary",
|
|
45960
46011
|
detail: "I learn best when my teacher provides new vocabulary words before we cover new information and provides opportunities to learn the vocabulary.",
|
|
45961
|
-
bestFits: "Short-term Memory, Long
|
|
46012
|
+
bestFits: "Short-term Memory, Long Term Memory, Listening, Reading, Processing Speed"
|
|
45962
46013
|
}, {
|
|
45963
46014
|
id: 28,
|
|
45964
46015
|
teachingStrategyId: 28,
|
|
@@ -46013,7 +46064,7 @@ var useTeachingStrategiesAdd = function useTeachingStrategiesAdd() {
|
|
|
46013
46064
|
var isTeacher = currentUser.roles.includes("Teacher") || currentUser.roles.includes("Assistant");
|
|
46014
46065
|
var isParent = currentUser.roles.includes("Parent") || currentUser.roles.includes("EduTeacher");
|
|
46015
46066
|
|
|
46016
|
-
var _useState = React.useState([
|
|
46067
|
+
var _useState = React.useState([]),
|
|
46017
46068
|
bestFits = _useState[0],
|
|
46018
46069
|
setBestFits = _useState[1];
|
|
46019
46070
|
|
|
@@ -46028,10 +46079,6 @@ var useTeachingStrategiesAdd = function useTeachingStrategiesAdd() {
|
|
|
46028
46079
|
filters = _useState3[0],
|
|
46029
46080
|
setFilters = _useState3[1];
|
|
46030
46081
|
|
|
46031
|
-
console.log({
|
|
46032
|
-
selectedStrategies: selectedStrategies
|
|
46033
|
-
});
|
|
46034
|
-
|
|
46035
46082
|
var _useState4 = React.useState([]),
|
|
46036
46083
|
listData = _useState4[0],
|
|
46037
46084
|
setListData = _useState4[1];
|
|
@@ -46050,6 +46097,23 @@ var useTeachingStrategiesAdd = function useTeachingStrategiesAdd() {
|
|
|
46050
46097
|
});
|
|
46051
46098
|
};
|
|
46052
46099
|
|
|
46100
|
+
React.useEffect(function () {
|
|
46101
|
+
var arr = [].concat(bestFits);
|
|
46102
|
+
data.forEach(function (item) {
|
|
46103
|
+
item.bestFits.split(", ").forEach(function (i) {
|
|
46104
|
+
return arr.push(i);
|
|
46105
|
+
});
|
|
46106
|
+
});
|
|
46107
|
+
var arrBestFits = [];
|
|
46108
|
+
|
|
46109
|
+
for (var i = 0; i < arr.length; i++) {
|
|
46110
|
+
if (!arrBestFits.includes(arr[i])) {
|
|
46111
|
+
arrBestFits === null || arrBestFits === void 0 ? void 0 : arrBestFits.push(arr[i]);
|
|
46112
|
+
}
|
|
46113
|
+
}
|
|
46114
|
+
|
|
46115
|
+
setBestFits(arrBestFits.sort());
|
|
46116
|
+
}, []);
|
|
46053
46117
|
React.useEffect(function () {
|
|
46054
46118
|
var arr = [].concat(data, listData);
|
|
46055
46119
|
var listStrategoryIds = [];
|
|
@@ -46101,9 +46165,6 @@ var useTeachingStrategiesAdd = function useTeachingStrategiesAdd() {
|
|
|
46101
46165
|
};
|
|
46102
46166
|
|
|
46103
46167
|
var handleSelectStrategy = function handleSelectStrategy(checked, data) {
|
|
46104
|
-
console.log({
|
|
46105
|
-
data: data
|
|
46106
|
-
});
|
|
46107
46168
|
var updateSelectedStrategies = [].concat(selectedStrategies);
|
|
46108
46169
|
var item = updateSelectedStrategies === null || updateSelectedStrategies === void 0 ? void 0 : updateSelectedStrategies.find(function (e) {
|
|
46109
46170
|
return e.identification == data.id;
|
|
@@ -46161,33 +46222,6 @@ var useTeachingStrategiesAdd = function useTeachingStrategiesAdd() {
|
|
|
46161
46222
|
setSelectedStrategies(updateData);
|
|
46162
46223
|
};
|
|
46163
46224
|
|
|
46164
|
-
var getBestFits = function getBestFits() {
|
|
46165
|
-
try {
|
|
46166
|
-
var _temp3 = function _temp3() {
|
|
46167
|
-
dispatch(marioCore.setLoading(false));
|
|
46168
|
-
};
|
|
46169
|
-
|
|
46170
|
-
dispatch(marioCore.setLoading(true));
|
|
46171
|
-
|
|
46172
|
-
var _temp4 = _catch(function () {
|
|
46173
|
-
return Promise.resolve(getAllBestFits()).then(function (res) {
|
|
46174
|
-
!!res.data && setBestFits([].concat(res.data, bestFits));
|
|
46175
|
-
});
|
|
46176
|
-
}, function (err) {
|
|
46177
|
-
var _err$response, _err$response$data;
|
|
46178
|
-
|
|
46179
|
-
dispatch(marioCore.setAlert({
|
|
46180
|
-
type: "danger",
|
|
46181
|
-
message: ((_err$response = err.response) === null || _err$response === void 0 ? void 0 : (_err$response$data = _err$response.data) === null || _err$response$data === void 0 ? void 0 : _err$response$data.title) || err.message
|
|
46182
|
-
}));
|
|
46183
|
-
});
|
|
46184
|
-
|
|
46185
|
-
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
|
|
46186
|
-
} catch (e) {
|
|
46187
|
-
return Promise.reject(e);
|
|
46188
|
-
}
|
|
46189
|
-
};
|
|
46190
|
-
|
|
46191
46225
|
var handleCreateTeachingStrategy = function handleCreateTeachingStrategy() {
|
|
46192
46226
|
try {
|
|
46193
46227
|
return Promise.resolve(_catch(function () {
|
|
@@ -46219,35 +46253,34 @@ var useTeachingStrategiesAdd = function useTeachingStrategiesAdd() {
|
|
|
46219
46253
|
|
|
46220
46254
|
var getAll = function getAll() {
|
|
46221
46255
|
try {
|
|
46222
|
-
var
|
|
46256
|
+
var _temp3 = function _temp3() {
|
|
46223
46257
|
dispatch(marioCore.setLoading(false));
|
|
46224
46258
|
};
|
|
46225
46259
|
|
|
46226
46260
|
dispatch(marioCore.setLoading(true));
|
|
46227
46261
|
|
|
46228
|
-
var
|
|
46262
|
+
var _temp4 = _catch(function () {
|
|
46229
46263
|
return Promise.resolve(getAllItem$1({
|
|
46230
46264
|
studentId: isTeacher || isParent ? parseInt(studentId) : currentId
|
|
46231
46265
|
})).then(function (res) {
|
|
46232
46266
|
!!res.data && setListData(res.data.reverse());
|
|
46233
46267
|
});
|
|
46234
46268
|
}, function (err) {
|
|
46235
|
-
var _err$
|
|
46269
|
+
var _err$response, _err$response$data;
|
|
46236
46270
|
|
|
46237
46271
|
dispatch(marioCore.setAlert({
|
|
46238
46272
|
type: "danger",
|
|
46239
|
-
message: ((_err$
|
|
46273
|
+
message: ((_err$response = err.response) === null || _err$response === void 0 ? void 0 : (_err$response$data = _err$response.data) === null || _err$response$data === void 0 ? void 0 : _err$response$data.title) || err.message
|
|
46240
46274
|
}));
|
|
46241
46275
|
});
|
|
46242
46276
|
|
|
46243
|
-
return Promise.resolve(
|
|
46277
|
+
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
|
|
46244
46278
|
} catch (e) {
|
|
46245
46279
|
return Promise.reject(e);
|
|
46246
46280
|
}
|
|
46247
46281
|
};
|
|
46248
46282
|
|
|
46249
46283
|
React.useEffect(function () {
|
|
46250
|
-
getBestFits();
|
|
46251
46284
|
getAll();
|
|
46252
46285
|
}, []);
|
|
46253
46286
|
return {
|
|
@@ -48617,7 +48650,7 @@ var AddNote = function AddNote() {
|
|
|
48617
48650
|
className: "" + styles$y["favourite-checkbox-box"]
|
|
48618
48651
|
}, React__default.createElement("div", {
|
|
48619
48652
|
onClick: handleChangeFavourite
|
|
48620
|
-
}, isFavourite ? React__default.createElement(StarIcon, null) : React__default.createElement(StarBorderIcon, null)), React__default.createElement("p", null, "Mark as
|
|
48653
|
+
}, isFavourite ? React__default.createElement(StarIcon, null) : React__default.createElement(StarBorderIcon, null)), React__default.createElement("p", null, "Mark as favorite")), React__default.createElement("div", null, React__default.createElement(TextField, {
|
|
48621
48654
|
label: "Note title",
|
|
48622
48655
|
variant: "outlined",
|
|
48623
48656
|
error: errorTitle,
|
|
@@ -50760,7 +50793,7 @@ var ModalGoalActivity = function ModalGoalActivity(props, ref) {
|
|
|
50760
50793
|
},
|
|
50761
50794
|
renderInput: function renderInput(params) {
|
|
50762
50795
|
return React__default.createElement(TextField, Object.assign({}, params, {
|
|
50763
|
-
label: "Select an activity",
|
|
50796
|
+
label: "Select or type an activity",
|
|
50764
50797
|
variant: "outlined",
|
|
50765
50798
|
inputProps: _extends({}, params.inputProps)
|
|
50766
50799
|
}));
|
|
@@ -51391,7 +51424,7 @@ var useLearningStrategy = function useLearningStrategy() {
|
|
|
51391
51424
|
dispatch(marioCore.setLoading(true));
|
|
51392
51425
|
|
|
51393
51426
|
var _temp8 = _catch(function () {
|
|
51394
|
-
return Promise.resolve(getAllBestFits
|
|
51427
|
+
return Promise.resolve(getAllBestFits()).then(function (response) {
|
|
51395
51428
|
!!response.data && setBestFits(response.data);
|
|
51396
51429
|
});
|
|
51397
51430
|
}, function (err) {
|
|
@@ -54219,6 +54252,9 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54219
54252
|
openDialogConfirm = _useState2[0],
|
|
54220
54253
|
setOpenDialogConfirm = _useState2[1];
|
|
54221
54254
|
|
|
54255
|
+
var domainName = window.location.hostname;
|
|
54256
|
+
var isCheckDomainRubyoung = domainName.includes('rubyyoung');
|
|
54257
|
+
|
|
54222
54258
|
var handleClickOpenConfirm = function handleClickOpenConfirm() {
|
|
54223
54259
|
setOpenDialogConfirm(true);
|
|
54224
54260
|
};
|
|
@@ -54239,8 +54275,14 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54239
54275
|
var handleDeleteBaseLine = function handleDeleteBaseLine() {
|
|
54240
54276
|
updateBaseLine(id, []);
|
|
54241
54277
|
handleClose();
|
|
54278
|
+
!!isCheckDomainRubyoung && setInputValue("");
|
|
54242
54279
|
};
|
|
54243
54280
|
|
|
54281
|
+
React.useEffect(function () {
|
|
54282
|
+
if (!!isCheckDomainRubyoung && !!goalBaseLineItem && goalBaseLineItem.length > 0) {
|
|
54283
|
+
setInputValue(goalBaseLineItem[0].name);
|
|
54284
|
+
}
|
|
54285
|
+
}, [isCheckDomainRubyoung, goalBaseLineItem]);
|
|
54244
54286
|
return React__default.createElement(core.Dialog, {
|
|
54245
54287
|
onClose: handleClose,
|
|
54246
54288
|
"aria-labelledby": "simple-dialog-title",
|
|
@@ -54250,8 +54292,12 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54250
54292
|
enableReinitialize: true,
|
|
54251
54293
|
onSubmit: function (values) {
|
|
54252
54294
|
try {
|
|
54253
|
-
return Promise.resolve(updateBaseLine(id,
|
|
54295
|
+
return Promise.resolve(isCheckDomainRubyoung ? updateBaseLine(id, [{
|
|
54296
|
+
name: inputValue.trim()
|
|
54297
|
+
}]) : updateBaseLine(id, values)).then(function (_updateBaseLine) {
|
|
54298
|
+
_updateBaseLine;
|
|
54254
54299
|
handleClose();
|
|
54300
|
+
!isCheckDomainRubyoung && setInputValue("");
|
|
54255
54301
|
});
|
|
54256
54302
|
} catch (e) {
|
|
54257
54303
|
return Promise.reject(e);
|
|
@@ -54265,7 +54311,7 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54265
54311
|
var handleAddItem = function handleAddItem() {
|
|
54266
54312
|
setGoalBaseLineItem(function () {
|
|
54267
54313
|
return [].concat(values, [{
|
|
54268
|
-
name: inputValue
|
|
54314
|
+
name: inputValue.trim()
|
|
54269
54315
|
}]);
|
|
54270
54316
|
});
|
|
54271
54317
|
setInputValue("");
|
|
@@ -54280,7 +54326,7 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54280
54326
|
onClick: handleClose
|
|
54281
54327
|
})), React__default.createElement(core.Grid, null, React__default.createElement(core.Grid, {
|
|
54282
54328
|
className: "" + styles$8["goal-form-input"]
|
|
54283
|
-
}, !!values && values.length > 0 ? values.map(function (i, index) {
|
|
54329
|
+
}, !isCheckDomainRubyoung && !!values && values.length > 0 ? values.map(function (i, index) {
|
|
54284
54330
|
return React__default.createElement(core.Grid, {
|
|
54285
54331
|
className: "" + styles$8["message-item"]
|
|
54286
54332
|
}, React__default.createElement(core.OutlinedInput, {
|
|
@@ -54300,7 +54346,7 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54300
54346
|
}) : null, React__default.createElement(InputComponent, {
|
|
54301
54347
|
name: "Add title",
|
|
54302
54348
|
valueText: inputValue,
|
|
54303
|
-
isAddIcon:
|
|
54349
|
+
isAddIcon: !isCheckDomainRubyoung,
|
|
54304
54350
|
handleAddItem: handleAddItem,
|
|
54305
54351
|
onChange: function onChange(value) {
|
|
54306
54352
|
setInputValue(value);
|
|
@@ -54319,9 +54365,9 @@ var EditBaseLine = function EditBaseLine(props) {
|
|
|
54319
54365
|
selectedItemId: id
|
|
54320
54366
|
}), React__default.createElement(core.Grid, {
|
|
54321
54367
|
onClick: function onClick() {
|
|
54322
|
-
return handleSubmit();
|
|
54368
|
+
return !!isCheckDomainRubyoung && !(inputValue !== null && inputValue !== void 0 && inputValue.trim()) ? null : handleSubmit();
|
|
54323
54369
|
},
|
|
54324
|
-
className: "" + styles$8["
|
|
54370
|
+
className: styles$8["dialog-button-add"] + " " + (!!isCheckDomainRubyoung && !(inputValue !== null && inputValue !== void 0 && inputValue.trim()) ? styles$8["btn-add-baseline-dissable"] : "")
|
|
54325
54371
|
}, React__default.createElement(core.Typography, null, "SUBMIT"), React__default.createElement(SaveIcon, null))));
|
|
54326
54372
|
}));
|
|
54327
54373
|
};
|
|
@@ -54779,6 +54825,9 @@ var GoalDetail = function GoalDetail() {
|
|
|
54779
54825
|
setDataDetail = _useGoalDetail.setDataDetail,
|
|
54780
54826
|
isParent = _useGoalDetail.isParent;
|
|
54781
54827
|
|
|
54828
|
+
var domainName = window.location.hostname;
|
|
54829
|
+
var isCheckDomainRubyoung = domainName.includes('rubyyoung');
|
|
54830
|
+
|
|
54782
54831
|
var handleClickOpenConfirm = function handleClickOpenConfirm() {
|
|
54783
54832
|
setOpenDialogConfirm(true);
|
|
54784
54833
|
};
|
|
@@ -54816,8 +54865,13 @@ var GoalDetail = function GoalDetail() {
|
|
|
54816
54865
|
};
|
|
54817
54866
|
|
|
54818
54867
|
var handleDelete = function handleDelete() {
|
|
54819
|
-
|
|
54820
|
-
|
|
54868
|
+
try {
|
|
54869
|
+
return Promise.resolve(deleteById(id)).then(function () {
|
|
54870
|
+
handleClickOpen();
|
|
54871
|
+
});
|
|
54872
|
+
} catch (e) {
|
|
54873
|
+
return Promise.reject(e);
|
|
54874
|
+
}
|
|
54821
54875
|
};
|
|
54822
54876
|
|
|
54823
54877
|
var StepIcon = function StepIcon(status) {
|
|
@@ -54933,7 +54987,7 @@ var GoalDetail = function GoalDetail() {
|
|
|
54933
54987
|
defaultValue: "top",
|
|
54934
54988
|
className: "" + styles$8["baseline-group"]
|
|
54935
54989
|
}, !!getOneData && getOneData.goalBaselines ? getOneData.goalBaselines.map(function (i) {
|
|
54936
|
-
return React__default.createElement(core.FormControlLabel, {
|
|
54990
|
+
return React__default.createElement(core.Grid, null, !isCheckDomainRubyoung ? React__default.createElement(core.FormControlLabel, {
|
|
54937
54991
|
value: !!i.name ? i.name : "",
|
|
54938
54992
|
onChange: function onChange(e) {
|
|
54939
54993
|
return handleCheckedBaseLine(e);
|
|
@@ -54944,7 +54998,9 @@ var GoalDetail = function GoalDetail() {
|
|
|
54944
54998
|
checked: (getOneData === null || getOneData === void 0 ? void 0 : getOneData.baseLineChecked) === i.name
|
|
54945
54999
|
}),
|
|
54946
55000
|
label: !!i.name ? i.name : ""
|
|
54947
|
-
})
|
|
55001
|
+
}) : React__default.createElement(core.Typography, {
|
|
55002
|
+
className: "" + styles$8["baseline-content"]
|
|
55003
|
+
}, i.name));
|
|
54948
55004
|
}) : null))), (isAllowedEdit && !isTeacher || isTeacher) && !isParent && React__default.createElement(core.Grid, {
|
|
54949
55005
|
onClick: function onClick() {
|
|
54950
55006
|
return handleClickOpenDialogBaseLine();
|