mario-core 2.9.363-release → 2.9.364-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 CHANGED
@@ -916,16 +916,28 @@
916
916
  ._2geWX {
917
917
  table-layout: fixed;
918
918
  width: 100%; }
919
-
920
- ._2geWX td,
921
- ._2geWX th {
922
- white-space: nowrap;
923
- overflow: hidden;
924
- text-overflow: ellipsis; }
919
+ ._2geWX td p {
920
+ white-space: nowrap;
921
+ overflow: hidden;
922
+ text-overflow: ellipsis;
923
+ padding: 0;
924
+ margin: 0; }
925
+ ._2geWX div p {
926
+ white-space: nowrap;
927
+ overflow: hidden;
928
+ text-overflow: ellipsis;
929
+ padding: 0;
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"
@@ -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,
@@ -44763,8 +44763,19 @@ var AssignStudentList = function AssignStudentList() {
44763
44763
  className: "align-top text-center " + styles['equal-width']
44764
44764
  }, {
44765
44765
  name: "action",
44766
- className: "text-center text-center"
44766
+ className: "text-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,28 +44944,67 @@ 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
- }, item.fullName), React__default.createElement("td", {
44949
- className: "align-middle " + styles['fixed-width']
44950
- }, item.email), React__default.createElement("td", {
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", {
44951
44984
  className: "align-middle " + styles['equal-width']
44952
- }, !!item.teachers && item.teachers.length > 0 ? React__default.createElement(React__default.Fragment, null, item.teachers.map(function (record) {
44985
+ }, !!item.teachers && item.teachers.length > 0 ? React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
44986
+ id: "student_teacher_" + item.id + "_" + index,
44987
+ onMouseEnter: function onMouseEnter() {
44988
+ return toggle("student_teacher_" + item.id + "_" + index);
44989
+ },
44990
+ onMouseLeave: function onMouseLeave() {
44991
+ return toggle("student_teacher_" + item.id + "_" + index);
44992
+ }
44993
+ }, item.teachers.map(function (record) {
44994
+ return React__default.createElement("p", {
44995
+ key: record.mainTeacherEmail,
44996
+ className: "mb-0"
44997
+ }, record.mainTeacherName, " - ", record.mainTeacherEmail);
44998
+ })), React__default.createElement(reactstrap.Tooltip, {
44999
+ placement: "top",
45000
+ isOpen: openTooltip === "student_teacher_" + item.id + "_" + index,
45001
+ target: "student_teacher_" + item.id + "_" + index
45002
+ }, item.teachers.map(function (record) {
44953
45003
  return React__default.createElement("p", {
44954
45004
  key: record.mainTeacherEmail,
44955
45005
  className: "mb-0"
44956
45006
  }, record.mainTeacherName, " - ", record.mainTeacherEmail);
44957
- })) : React__default.createElement(TeacherSelector, {
45007
+ }))) : React__default.createElement(TeacherSelector, {
44958
45008
  isMulti: true,
44959
45009
  value: selectedTeachers === null || selectedTeachers === void 0 ? void 0 : selectedTeachers[item.id],
44960
45010
  options: teacherOptions,
@@ -45008,7 +45058,7 @@ var AssignStudentList = function AssignStudentList() {
45008
45058
  placeholder: t("select_support_teacher"),
45009
45059
  className: "flex-grow-1 mr-2"
45010
45060
  })), React__default.createElement("td", {
45011
- className: "align-middle"
45061
+ className: "align-middle " + styles['fixed-width-80']
45012
45062
  }, React__default.createElement("div", {
45013
45063
  className: "d-flex"
45014
45064
  }, React__default.createElement(LinkEditButton, {