mario-core 2.9.363-release → 2.9.365-release
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 +18 -6
- package/dist/index.js +111 -35
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +112 -36
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -916,16 +916,28 @@
|
|
|
916
916
|
._2geWX {
|
|
917
917
|
table-layout: fixed;
|
|
918
918
|
width: 100%; }
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
919
|
+
._2geWX td p {
|
|
920
|
+
white-space: nowrap;
|
|
921
|
+
overflow: hidden;
|
|
922
|
+
text-overflow: ellipsis;
|
|
923
|
+
padding: 4px 8px;
|
|
924
|
+
margin: 0; }
|
|
925
|
+
._2geWX div p {
|
|
926
|
+
white-space: nowrap;
|
|
927
|
+
overflow: hidden;
|
|
928
|
+
text-overflow: ellipsis;
|
|
929
|
+
padding: 2px 8px;
|
|
930
|
+
margin: 0; }
|
|
925
931
|
|
|
926
932
|
._3QMZ8 {
|
|
927
933
|
width: 120px; }
|
|
928
934
|
|
|
935
|
+
._2RT7O {
|
|
936
|
+
width: 40px; }
|
|
937
|
+
|
|
938
|
+
._c0zqU {
|
|
939
|
+
width: 80px; }
|
|
940
|
+
|
|
929
941
|
._3ewxz {
|
|
930
942
|
width: 20%; }
|
|
931
943
|
|
package/dist/index.js
CHANGED
|
@@ -20551,7 +20551,7 @@ function _catch(body, recover) {
|
|
|
20551
20551
|
return result;
|
|
20552
20552
|
}
|
|
20553
20553
|
|
|
20554
|
-
var styles = {"btn-login-google":"_2HqmH","notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","class-link-sso-image":"_3EZva","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","school-icon":"_2OUwW","school-name":"_2Owso","login-description":"_fx-kA","digital-privacy-icon":"_141p1","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","privacy-policy":"_I4SVu","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","descriptions-icon":"_3SOdX","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","checkbox-keep-login":"_1AiX0","label-keep-login":"_2uNvW","option-text":"_pqn4y","form-user-name":"_39BJD","input":"_ozRAq","checkbox-remember":"_2K9b2","btn-rounder":"_2VvIr","btn-active":"_2A0HF","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","bg-animate":"_30npl","active":"_3oAH-","show":"_16rY4","fade-in":"_26nbh","behind":"_3A7Vv","login":"_F-hjL","login-content":"_149oA","logo-home":"_24U3W","img-box":"_2v-L_","img-login":"_3ncTL","img-login-rectangle":"_2kOvJ","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","box-sidebar":"_2vcmv","sidebar-logo":"_1hXpy","sidebar-nav-links":"_3vb3s","c-active":"_36jSM","sidebar-nav-links-hover":"_DNrus","box-sidebar-header":"_3NEZj","box-logout":"_1wUDG","sidebar-btn-minimized":"_1S7Px","sidebar-minimized-logo":"_3846X","sidebar-logout":"_2P85D","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-menu-flag":"_XK8oS","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","dropdown-content-language":"_3ajui","dropdown-item-language":"_3Y_y4","dropdown-item-language-active":"_CzNMi","popover__sort__item":"_1ocBa","popover__sort__item--active":"_18NhM","popover__search__icon":"_2bquW","popover__search__input":"_3A4G4","popover__options":"_1MsEW","button-export":"_2rTzM","button-content":"_18y0w","button-icon":"_3cZAT","hide-in-mobile":"_1INnO","hamburger-menu":"_2yRc8","box-content-home-page":"_ABUIP","collapse-box":"_WX97m","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5","item-select-role":"_1KcY7","item-role-active":"_dOVso","model-switch-roles":"_3ZqxI","title":"_g-p72","btn-login-with-sso":"_DrSlA","app-alert":"_3Vgah","app-alert--success":"_1jraB","p-0-12":"_1sfzz","table-fixed":"_2geWX","fixed-width":"_3QMZ8","equal-width":"_3ewxz"};
|
|
20554
|
+
var styles = {"btn-login-google":"_2HqmH","notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","class-link-sso-image":"_3EZva","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","school-icon":"_2OUwW","school-name":"_2Owso","login-description":"_fx-kA","digital-privacy-icon":"_141p1","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","privacy-policy":"_I4SVu","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","descriptions-icon":"_3SOdX","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","checkbox-keep-login":"_1AiX0","label-keep-login":"_2uNvW","option-text":"_pqn4y","form-user-name":"_39BJD","input":"_ozRAq","checkbox-remember":"_2K9b2","btn-rounder":"_2VvIr","btn-active":"_2A0HF","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","bg-animate":"_30npl","active":"_3oAH-","show":"_16rY4","fade-in":"_26nbh","behind":"_3A7Vv","login":"_F-hjL","login-content":"_149oA","logo-home":"_24U3W","img-box":"_2v-L_","img-login":"_3ncTL","img-login-rectangle":"_2kOvJ","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","box-sidebar":"_2vcmv","sidebar-logo":"_1hXpy","sidebar-nav-links":"_3vb3s","c-active":"_36jSM","sidebar-nav-links-hover":"_DNrus","box-sidebar-header":"_3NEZj","box-logout":"_1wUDG","sidebar-btn-minimized":"_1S7Px","sidebar-minimized-logo":"_3846X","sidebar-logout":"_2P85D","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-menu-flag":"_XK8oS","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","dropdown-content-language":"_3ajui","dropdown-item-language":"_3Y_y4","dropdown-item-language-active":"_CzNMi","popover__sort__item":"_1ocBa","popover__sort__item--active":"_18NhM","popover__search__icon":"_2bquW","popover__search__input":"_3A4G4","popover__options":"_1MsEW","button-export":"_2rTzM","button-content":"_18y0w","button-icon":"_3cZAT","hide-in-mobile":"_1INnO","hamburger-menu":"_2yRc8","box-content-home-page":"_ABUIP","collapse-box":"_WX97m","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5","item-select-role":"_1KcY7","item-role-active":"_dOVso","model-switch-roles":"_3ZqxI","title":"_g-p72","btn-login-with-sso":"_DrSlA","app-alert":"_3Vgah","app-alert--success":"_1jraB","p-0-12":"_1sfzz","table-fixed":"_2geWX","fixed-width":"_3QMZ8","fixed-width-40":"_2RT7O","fixed-width-80":"_c0zqU","equal-width":"_3ewxz"};
|
|
20555
20555
|
|
|
20556
20556
|
var style = {
|
|
20557
20557
|
fontSize: "0.85rem"
|
|
@@ -43638,7 +43638,7 @@ var TableHeader = function TableHeader(_ref) {
|
|
|
43638
43638
|
onOptionsChange: handleChangeFilters
|
|
43639
43639
|
}) : React__default.createElement("th", {
|
|
43640
43640
|
key: header.name,
|
|
43641
|
-
className: "align-middle text-center"
|
|
43641
|
+
className: "align-middle text-center " + header.className
|
|
43642
43642
|
}, React__default.createElement("input", {
|
|
43643
43643
|
type: "checkbox",
|
|
43644
43644
|
onChange: function onChange() {
|
|
@@ -44724,7 +44724,7 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
44724
44724
|
isCenter: true,
|
|
44725
44725
|
onSelectAll: handleSelectAll,
|
|
44726
44726
|
isCheckAll: isCheckAll,
|
|
44727
|
-
className: "text-center"
|
|
44727
|
+
className: "text-center " + styles['fixed-width-40']
|
|
44728
44728
|
}, {
|
|
44729
44729
|
name: "student_name",
|
|
44730
44730
|
isCenter: true,
|
|
@@ -44751,20 +44751,31 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
44751
44751
|
}
|
|
44752
44752
|
}, {
|
|
44753
44753
|
name: "teacher_email",
|
|
44754
|
-
className: "align-
|
|
44754
|
+
className: "align-center text-center " + styles['equal-width']
|
|
44755
44755
|
}, {
|
|
44756
44756
|
name: "assistant_email",
|
|
44757
|
-
className: "align-
|
|
44757
|
+
className: "align-center text-center " + styles['equal-width']
|
|
44758
44758
|
}, {
|
|
44759
44759
|
name: "counselor_email",
|
|
44760
|
-
className: "align-
|
|
44760
|
+
className: "align-center text-center " + styles['equal-width']
|
|
44761
44761
|
}, {
|
|
44762
44762
|
name: "support_teacher_email",
|
|
44763
|
-
className: "align-
|
|
44763
|
+
className: "align-center text-center " + styles['equal-width']
|
|
44764
44764
|
}, {
|
|
44765
44765
|
name: "action",
|
|
44766
|
-
className: "
|
|
44766
|
+
className: "align-center text-center " + styles['fixed-width-80']
|
|
44767
44767
|
}];
|
|
44768
|
+
|
|
44769
|
+
var _useState = React.useState(null),
|
|
44770
|
+
openTooltip = _useState[0],
|
|
44771
|
+
setOpenTooltip = _useState[1];
|
|
44772
|
+
|
|
44773
|
+
var toggle = function toggle(id) {
|
|
44774
|
+
setOpenTooltip(function (prev) {
|
|
44775
|
+
return prev === id ? null : id;
|
|
44776
|
+
});
|
|
44777
|
+
};
|
|
44778
|
+
|
|
44768
44779
|
return React__default.createElement("div", {
|
|
44769
44780
|
className: "fadeIn animated"
|
|
44770
44781
|
}, React__default.createElement("h5", {
|
|
@@ -44933,22 +44944,51 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
44933
44944
|
filters: filters,
|
|
44934
44945
|
fullName: fullName,
|
|
44935
44946
|
onChangeFilters: changeFilters
|
|
44936
|
-
})), React__default.createElement("tbody", null, userList.map(function (item) {
|
|
44947
|
+
})), React__default.createElement("tbody", null, userList.map(function (item, index) {
|
|
44937
44948
|
return React__default.createElement("tr", {
|
|
44938
44949
|
key: item.id
|
|
44939
44950
|
}, React__default.createElement("td", {
|
|
44940
|
-
className: "align-middle text-center"
|
|
44951
|
+
className: "align-middle text-center " + styles['fixed-width-40']
|
|
44941
44952
|
}, React__default.createElement("input", {
|
|
44942
44953
|
id: item.id,
|
|
44943
44954
|
type: "checkbox",
|
|
44944
44955
|
onChange: handleClickCheck,
|
|
44945
44956
|
checked: isCheck.includes(item.id)
|
|
44946
44957
|
})), React__default.createElement("td", {
|
|
44947
|
-
className: "align-middle " + styles['fixed-width']
|
|
44948
|
-
|
|
44949
|
-
|
|
44950
|
-
|
|
44951
|
-
|
|
44958
|
+
className: "align-middle " + styles['fixed-width'],
|
|
44959
|
+
id: "student_name_" + item.id + "_" + index,
|
|
44960
|
+
onMouseEnter: function onMouseEnter() {
|
|
44961
|
+
return toggle("student_name_" + item.id + "_" + index);
|
|
44962
|
+
},
|
|
44963
|
+
onMouseLeave: function onMouseLeave() {
|
|
44964
|
+
return toggle("student_name_" + item.id + "_" + index);
|
|
44965
|
+
}
|
|
44966
|
+
}, React__default.createElement("p", null, item.fullName), React__default.createElement(reactstrap.Tooltip, {
|
|
44967
|
+
placement: "top",
|
|
44968
|
+
isOpen: openTooltip === "student_name_" + item.id + "_" + index,
|
|
44969
|
+
target: "student_name_" + item.id + "_" + index
|
|
44970
|
+
}, item.fullName)), React__default.createElement("td", {
|
|
44971
|
+
className: "align-middle " + styles['fixed-width'],
|
|
44972
|
+
id: "student_email_" + item.id + "_" + index,
|
|
44973
|
+
onMouseEnter: function onMouseEnter() {
|
|
44974
|
+
return toggle("student_email_" + item.id + "_" + index);
|
|
44975
|
+
},
|
|
44976
|
+
onMouseLeave: function onMouseLeave() {
|
|
44977
|
+
return toggle("student_email_" + item.id + "_" + index);
|
|
44978
|
+
}
|
|
44979
|
+
}, React__default.createElement("p", null, item.email), React__default.createElement(reactstrap.Tooltip, {
|
|
44980
|
+
placement: "top",
|
|
44981
|
+
isOpen: openTooltip === "student_email_" + item.id + "_" + index,
|
|
44982
|
+
target: "student_email_" + item.id + "_" + index
|
|
44983
|
+
}, item.email)), React__default.createElement("td", {
|
|
44984
|
+
className: "align-middle " + styles['equal-width'],
|
|
44985
|
+
id: "student_teacher_" + item.id + "_" + index,
|
|
44986
|
+
onMouseEnter: function onMouseEnter() {
|
|
44987
|
+
return toggle("student_teacher_" + item.id + "_" + index);
|
|
44988
|
+
},
|
|
44989
|
+
onMouseLeave: function onMouseLeave() {
|
|
44990
|
+
return toggle("student_teacher_" + item.id + "_" + index);
|
|
44991
|
+
}
|
|
44952
44992
|
}, !!item.teachers && item.teachers.length > 0 ? React__default.createElement(React__default.Fragment, null, item.teachers.map(function (record) {
|
|
44953
44993
|
return React__default.createElement("p", {
|
|
44954
44994
|
key: record.mainTeacherEmail,
|
|
@@ -44965,13 +45005,27 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
44965
45005
|
},
|
|
44966
45006
|
placeholder: t("select_teacher"),
|
|
44967
45007
|
className: "flex-grow-1 mr-2"
|
|
44968
|
-
})
|
|
44969
|
-
|
|
44970
|
-
|
|
44971
|
-
|
|
44972
|
-
}, item.
|
|
45008
|
+
}), !!item.teachers && item.teachers.length > 0 && React__default.createElement(reactstrap.Tooltip, {
|
|
45009
|
+
placement: "top",
|
|
45010
|
+
isOpen: openTooltip === "student_teacher_" + item.id + "_" + index,
|
|
45011
|
+
target: "student_teacher_" + item.id + "_" + index
|
|
45012
|
+
}, item.teachers.map(function (record) {
|
|
45013
|
+
return React__default.createElement("p", {
|
|
45014
|
+
key: record.mainTeacherEmail,
|
|
45015
|
+
className: "mb-0"
|
|
45016
|
+
}, record.mainTeacherName, " - ", record.mainTeacherEmail);
|
|
45017
|
+
}))), React__default.createElement("td", {
|
|
45018
|
+
className: "align-middle " + styles['equal-width'],
|
|
45019
|
+
id: "student_assistant_" + item.id + "_" + index,
|
|
45020
|
+
onMouseEnter: function onMouseEnter() {
|
|
45021
|
+
return toggle("student_assistant_" + item.id + "_" + index);
|
|
45022
|
+
},
|
|
45023
|
+
onMouseLeave: function onMouseLeave() {
|
|
45024
|
+
return toggle("student_assistant_" + item.id + "_" + index);
|
|
45025
|
+
}
|
|
45026
|
+
}, !!item.assistantEmail ? React__default.createElement("p", {
|
|
44973
45027
|
className: "mb-0"
|
|
44974
|
-
}, item.assistantName)
|
|
45028
|
+
}, item.assistantName, " - ", item.assistantEmail) : React__default.createElement(TeacherSelector, {
|
|
44975
45029
|
value: selectedAssistants === null || selectedAssistants === void 0 ? void 0 : selectedAssistants[item.id],
|
|
44976
45030
|
options: assistantOptions,
|
|
44977
45031
|
onChange: function onChange(e) {
|
|
@@ -44979,13 +45033,22 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
44979
45033
|
},
|
|
44980
45034
|
placeholder: t("select_assistant"),
|
|
44981
45035
|
className: "flex-grow-1 mr-2"
|
|
44982
|
-
})
|
|
44983
|
-
|
|
44984
|
-
|
|
44985
|
-
|
|
44986
|
-
}, item.
|
|
45036
|
+
}), !!item.assistantEmail && React__default.createElement(reactstrap.Tooltip, {
|
|
45037
|
+
placement: "top",
|
|
45038
|
+
isOpen: openTooltip === "student_assistant_" + item.id + "_" + index,
|
|
45039
|
+
target: "student_assistant_" + item.id + "_" + index
|
|
45040
|
+
}, item.assistantName, "-", item.assistantEmail)), React__default.createElement("td", {
|
|
45041
|
+
className: "align-middle " + styles['equal-width'],
|
|
45042
|
+
id: "student_counselor_" + item.id + "_" + index,
|
|
45043
|
+
onMouseEnter: function onMouseEnter() {
|
|
45044
|
+
return toggle("student_counselor_" + item.id + "_" + index);
|
|
45045
|
+
},
|
|
45046
|
+
onMouseLeave: function onMouseLeave() {
|
|
45047
|
+
return toggle("student_counselor_" + item.id + "_" + index);
|
|
45048
|
+
}
|
|
45049
|
+
}, !!item.counselorEmail ? React__default.createElement("p", {
|
|
44987
45050
|
className: "mb-0"
|
|
44988
|
-
}, item.counselorName)
|
|
45051
|
+
}, item.counselorName, " - ", item.counselorEmail) : React__default.createElement(TeacherSelector, {
|
|
44989
45052
|
value: selectedCounselors === null || selectedCounselors === void 0 ? void 0 : selectedCounselors[item.id],
|
|
44990
45053
|
options: counselorOptions,
|
|
44991
45054
|
onChange: function onChange(e) {
|
|
@@ -44993,13 +45056,22 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
44993
45056
|
},
|
|
44994
45057
|
placeholder: t("select_counselor"),
|
|
44995
45058
|
className: "flex-grow-1 mr-2"
|
|
44996
|
-
})
|
|
44997
|
-
|
|
44998
|
-
|
|
44999
|
-
|
|
45000
|
-
}, item.
|
|
45059
|
+
}), !!item.counselorEmail && React__default.createElement(reactstrap.Tooltip, {
|
|
45060
|
+
placement: "top",
|
|
45061
|
+
isOpen: openTooltip === "student_counselor_" + item.id + "_" + index,
|
|
45062
|
+
target: "student_counselor_" + item.id + "_" + index
|
|
45063
|
+
}, item.counselorName, " - ", item.counselorEmail)), React__default.createElement("td", {
|
|
45064
|
+
className: "align-middle " + styles['equal-width'],
|
|
45065
|
+
id: "student_secondary_teacher_" + item.id + "_" + index,
|
|
45066
|
+
onMouseEnter: function onMouseEnter() {
|
|
45067
|
+
return toggle("student_secondary_teacher_" + item.id + "_" + index);
|
|
45068
|
+
},
|
|
45069
|
+
onMouseLeave: function onMouseLeave() {
|
|
45070
|
+
return toggle("student_secondary_teacher_" + item.id + "_" + index);
|
|
45071
|
+
}
|
|
45072
|
+
}, !!item.secondaryTeacherEmail ? React__default.createElement("p", {
|
|
45001
45073
|
className: "mb-0"
|
|
45002
|
-
}, item.secondaryTeacherName)
|
|
45074
|
+
}, item.secondaryTeacherName, " - ", item.secondaryTeacherEmail) : React__default.createElement(TeacherSelector, {
|
|
45003
45075
|
value: selectedSecondaryTeachers === null || selectedSecondaryTeachers === void 0 ? void 0 : selectedSecondaryTeachers[item.id],
|
|
45004
45076
|
options: secondaryTeacherOptions,
|
|
45005
45077
|
onChange: function onChange(e) {
|
|
@@ -45007,8 +45079,12 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
45007
45079
|
},
|
|
45008
45080
|
placeholder: t("select_support_teacher"),
|
|
45009
45081
|
className: "flex-grow-1 mr-2"
|
|
45010
|
-
})
|
|
45011
|
-
|
|
45082
|
+
}), !!item.secondaryTeacherEmail && React__default.createElement(reactstrap.Tooltip, {
|
|
45083
|
+
placement: "top",
|
|
45084
|
+
isOpen: openTooltip === "student_secondary_teacher_" + item.id + "_" + index,
|
|
45085
|
+
target: "student_secondary_teacher_" + item.id + "_" + index
|
|
45086
|
+
}, item.secondaryTeacherName, " - ", item.secondaryTeacherEmail)), React__default.createElement("td", {
|
|
45087
|
+
className: "align-middle " + styles['fixed-width-80']
|
|
45012
45088
|
}, React__default.createElement("div", {
|
|
45013
45089
|
className: "d-flex"
|
|
45014
45090
|
}, React__default.createElement(LinkEditButton, {
|