mario-education 2.4.565-feedback → 2.4.5644-feedback

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.
@@ -2,7 +2,7 @@ import React from "react";
2
2
  declare const useHeaderSideBar: (_navigations: any) => {
3
3
  anchorFontEl: HTMLElement | null;
4
4
  anchorEl: HTMLElement | null;
5
- classes: Record<"title" | "header" | "content" | "overlay" | "avatar" | "arrow" | "grow" | "menuItem" | "menuText" | "menuButton" | "listItem" | "dropdown" | "menuIcon" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
5
+ classes: Record<"title" | "header" | "content" | "overlay" | "arrow" | "grow" | "menuItem" | "menuButton" | "listItem" | "dropdown" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
6
6
  screenWidth: number;
7
7
  isReadOnly: string | null;
8
8
  notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
package/dist/index.css CHANGED
@@ -4764,54 +4764,30 @@ p._1YLGi {
4764
4764
  color: #242424; }
4765
4765
 
4766
4766
  ._1KcY7 {
4767
- padding: 8px 20px;
4768
- border-radius: 50px;
4769
- background: #FFFFFF;
4770
- color: #242424;
4767
+ padding: 10px 75px;
4768
+ border-top: 1px solid #DFE0DF;
4771
4769
  cursor: pointer;
4772
- font-size: 14px;
4770
+ font-size: 20px;
4773
4771
  text-align: center;
4774
4772
  margin-bottom: 0;
4775
- transition: background-color 0.5s ease-out;
4776
- border: none;
4777
- font-weight: 600; }
4773
+ transition: background-color 0.5s ease-out; }
4778
4774
 
4779
4775
  ._1KcY7:hover {
4780
- color: #316CD9;
4781
- border: 2px solid #316CD9;
4782
- padding: 6px 18px;
4783
- background: #FFFFFF; }
4776
+ background: #336DDA;
4777
+ color: #ffff; }
4784
4778
 
4785
4779
  ._dOVso {
4786
- background: #316CD9 !important;
4787
- color: #FFFFFF !important; }
4780
+ background: #336DDA;
4781
+ color: #ffff; }
4788
4782
 
4789
4783
  ._3ZqxI > div {
4790
4784
  border-radius: 7px; }
4791
4785
 
4792
4786
  ._3ZqxI ._g-p72 {
4793
- font-weight: 600;
4794
- line-height: 32px;
4795
- font-size: 24px;
4796
- text-align: center;
4797
- margin-bottom: 24px; }
4798
-
4799
- ._3ZqxI ._NhW9l {
4800
- position: absolute;
4801
- top: 16px;
4802
- right: 16px; }
4803
- ._3ZqxI ._NhW9l svg {
4804
- width: 24px;
4805
- height: 24px;
4806
- color: #D3D3D3; }
4807
-
4808
- ._3ZqxI ._2oGz6 {
4809
- display: flex;
4810
- align-items: center;
4811
- gap: 4px;
4812
- border-radius: 50px;
4813
- padding: 4px;
4814
- border: 1px solid #e9e9e9; }
4787
+ font-weight: 500;
4788
+ line-height: 1.6;
4789
+ font-size: 20px;
4790
+ padding: 10px 20px; }
4815
4791
 
4816
4792
  ._2Nd8Z {
4817
4793
  align-items: center; }
package/dist/index.js CHANGED
@@ -87,6 +87,8 @@ var AppBar = _interopDefault(require('@material-ui/core/AppBar'));
87
87
  var Toolbar = _interopDefault(require('@material-ui/core/Toolbar'));
88
88
  var Typography = _interopDefault(require('@material-ui/core/Typography'));
89
89
  var IconButton = _interopDefault(require('@material-ui/core/IconButton'));
90
+ var MenuIcon = _interopDefault(require('@material-ui/icons/Menu'));
91
+ var NotificationsIcon = _interopDefault(require('@material-ui/icons/Notifications'));
90
92
  var HelpOutlineIcon = _interopDefault(require('@material-ui/icons/HelpOutline'));
91
93
  var TrackChangesIcon = _interopDefault(require('@material-ui/icons/TrackChanges'));
92
94
  var generativeAi = require('@google/generative-ai');
@@ -30166,7 +30168,6 @@ var defaultFontSize = 16;
30166
30168
  var defaultFontSmall$1 = 12;
30167
30169
  var defaultFontLarge$1 = 20;
30168
30170
  var LOGO = "" + marioCore.getStaticFileUrl("/images/logo-white.png");
30169
- var DEFAULT_USER_AVATAR = "/images/image-default.png";
30170
30171
  var SMALL_FONT_DEFAULT$1 = 12;
30171
30172
  var LARGE_FONT_DEFAULT$1 = 20;
30172
30173
  var SESSION_START_TIME = "sessionStartTime";
@@ -31197,7 +31198,7 @@ var AutocompleteField = function AutocompleteField(_ref) {
31197
31198
  }));
31198
31199
  };
31199
31200
 
31200
- var style$2 = {"font-large":"_3Sup6","block-card-title":"_3Qn6F","btn-conduct-checkIn":"_1qNfu","btn-conduct-session":"_2K2FJ","total-card-title":"_3vk3b","total-card-value":"_IHasQ","header-left":"_11kCD","custom-header-title":"_d8RZe","custom-header-large-title":"_3lHAH","block-card-btn-title":"_3svb4","custom-button-content":"_1oCai","show-answers":"_1L_vx","detail-questions":"_3kMDk","detail":"_3TKX7","answers":"_ejtt2","answer-item":"_2SV9m","download-btn":"_oQC64","btn-favorite-text":"_3m4oI","box-slider":"_1bTW5","slider-text":"_1gs0Z","chip-slider":"_xowPU","value":"_3hnI_","compare-avr":"_lL-Yg","content":"_1EgBn","percent":"_3Bs0W","arrow":"_2BhP8","label-single-choice":"_3oSdM","btn-choice":"_hPL_o","font-small":"_2JnMg","reset-the-content":"_1zJw3","btn-duplicate-survey":"_11N79","menu-item-strategories":"_1oZYB","time-Date":"_1Q7w6","time-Hours-Minute":"_3ZcQD","arrow-icon":"_2NJ7E","word-break":"_27YiF","header-icon":"_dqAoB","full-width":"_2DGWF","header-right-student":"_1GQrw","header-right":"_1jTMg","header-student":"_SSISD","box-title-question":"_1DlZO","tooltip-question":"_29Hwk","font-description":"_2pyf5","header-component":"_2oMWx","btn-start":"_1M4r8","timer-start":"_-ZWIZ","btn-timer":"_3SGlg","timer-text":"_1Q--B","timer-session":"_26lTc","play-icon-pause":"_d_2HA","play-icon":"_1mIjz","block-right":"_2CN0T","filter-item":"_3jAEH","btn-conduct-session-disabled":"_3ae8F","btn-conduct-icon":"_2msER","animation-btn-conduct":"_3bftL","ring":"_3Jd73","answer-text":"_Vct9B","icon-text":"_1MuMl","icon-left":"_3bBeE","margin-right":"_2T6Ym","up-color-background":"_1cck_","down-color-background":"_2Z76g","grey-background":"_2ryO2","up-color-icon":"_RTrVT","up-color":"_3UMJw","down-color-icon":"_3hZXx","down-color":"_1u1gK","rotate":"_1yp9N","font-question-name":"_13S5D","font-question":"_t-JhH","font-question--all-bold":"_2t1gp","font-question-description":"_1YLGi","question-block":"_2gqE-","question-text":"_337MJ","question-slider":"_k_dl-","input-survey":"_24vPq","question-block-mobile":"_p-cUG","emotion-list":"_1M6M1","emotion-item":"_1wmi8","emotion-active":"_3JT39","block-learning-strategories":"_KKK4u","conference-learning-strategories":"_3o_lQ","item-learning-strategories":"_1k7-R","question-today":"_WkaIn","block-button":"_275AS","talk-conduct":"_28jd3","box-talk":"_3zlbc","box-p":"_IXk4X","form-upload":"_1spIR","title":"_g-p72","description":"_2U60d","form-title":"_qDlsm","form-upload-image-box":"_2xZUq","form-upload-image":"_3C-Xm","form-upload-icon":"_2zIn5","form-upload-title":"_yNCgm","form-upload-description":"_35Wqq","header-right-download":"_27SXJ","download-title":"_1EWKg","accomondation-content":"_2qhHZ","accomondation-content-title-box":"_XTfSF","accomondation-content-title":"_1Z_hd","accomondation-body":"_1DtTP","accomondation-content-function":"_3fJXr","function-edit":"_368JR","function-delete":"_2I-ej","accomondation-block-content":"_1fpsj","accomondation-block-note":"_2INhO","accomondation-content-description":"_2BEap","accomondation-content-status":"_UdBci","content-function-mobile":"_3gaSR","card-box":"_3Flx1","card-top":"_3Mi_n","card-top-title":"_21QGx","card-top-right":"_2eeiS","card-top-switch":"_9VWFe","card-view":"_Jwjv5","card-content":"_3AVYm","block-circle":"_3o7Sh","block-item-3":"_3JeRP","item-circle":"_2wunA","block-item-4":"_3P83R","icon-btn":"_3xYAk","slider-avatar":"_2wH1X","btn-delete":"_z69mr","send-icon":"_3oH01","radio-choice":"_2RwcR","checkbox-control":"_3woGH","block-question":"_3TJl8","question-choice":"_3LiGg","radio-disable":"_1WFdo","pointer-page-result":"_3mfi0","canva-item-container":"_1tBto","canva-item":"_3A0Al","title-circle":"_2QAQJ","accommodation-header-right":"_4OB3z","about-header-right":"_t4lD7","text-custom":"_22kUd","page-external":"_1Qrsk","custom-header":"_22CX0","custom-header-right":"_3EDTf","custom-header-button":"_2OUSw","disable-button":"_3rQql","border-none":"_3MpEU","block-btn-header":"_25ahZ","custom-preview-button":"_mpfwz","total-card-box":"_1Xx6l","total-card-box--hover":"_2_ntJ","total-card-box-3":"_2eiNE","total-card-box-4":"_3eYTQ","total-card-box-5":"_230Hu","total-card-box__content":"_3ua19","status-default":"_165c9","pending":"_ZcAbu","active":"_3oAH-","close":"_3XmhO","box-filter":"_KT2NK","block-total":"_2GGFc","filter-select":"_3xiAo","box-filter-left":"_1hkQM","filter-select-list":"_3zE9Z","box-filter-right":"_1SOsh","search-input-icon":"_Od6MC","inputInput":"_2st_0","filter-item-collapse":"_2opDJ","box-show-filter-mobile":"_3xvBF","icon-show-all-filter":"_3gNUH","space-item":"_1G-S_","block-card-name":"_2Wl9Z","block-card-btn":"_1Z1H6","block-card-btn-icon":"_2Bg4S","table-cell":"_2uhRa","table-cell--pointer":"_3DnAh","box-notification":"_iDxHF","notification-1":"_2ZvNu","notification-2":"_2zBWP","notification-3":"_1T24i","notification-4":"_2obEM","notification-5":"_20aq-","notification-6":"_RWFl1","box-item":"_Wtc0p","notification-7":"_3rw4Y","notification-assistant-1":"_1ybh1","notification-assistant-2":"_2o31Q","notification-assistant-3":"_11hn9","notification-assistant-4":"_2sPVk","notification-assistant-5":"_3ln0K","notification-assistant-6":"_3dsZQ","notification-student-1":"_1XdPP","notification-student-2":"_1I9Dc","notification-student-3":"_3DwX3","notification-student-4":"_2TKDh","notification-student-5":"_14nq1","notification-student-6":"_1zCX0","btn-got-it":"_uwWqF","yes-active":"_2AK7h","no-active":"_1UouU","item-select-role":"_1KcY7","item-role-active":"_dOVso","model-switch-roles":"_3ZqxI","btn-close":"_NhW9l","select-user-role":"_2oGz6","box-switch":"_2Nd8Z","title-label":"_XYA0v","title-text":"_88rqO","header-contact":"_EKp5e","logo-home":"_24U3W","hide-in-desktop":"_2LIqK","hamburger-menu":"_2yRc8","collapse-box":"_WX97m","nav-home":"_1TT1q","contact":"_NszFe","active-current":"_19XSx","box-header-user":"_2UxPq","header-user-left":"_2GnfS","user-avatar":"_2voun","user-detail":"_2NSw4","user-name":"_2ncLc","user-chip":"_3MdPs","chip":"_2clqF","grade":"_WSIoQ","date":"_1fNCD","header-user-right":"_Nd4GQ","disable-slider":"_1Vzhe","h-200":"_1xJfb","h-250":"_2IoEF","half-circle-slider":"_CRJ3D","wrapper":"_yak_n","t-125":"_3O6h7","t-180":"_tTvT4","box-slider-text":"_3QJJx","text-right":"_tZ2Y_","icon":"_20YJX","circle-slider-text":"_1LcjC","circle-slider-value":"_3Ch7F","roundy-gradient":"_PnoOX","pointer":"_1gsNz","icon-info":"_37jaA","icon-warning":"_1eWQQ","answer--never":"_1mTcA","answer--rarely":"_Vu1zQ","answer--sometimes":"_X0wca","answer--often":"_2dDxa","answer--almost-always":"_390EV","answer--all-the-time":"_28JDY","block-container":"_1PGSC","the-container-admin":"_d3gb7","custom-scrollbar":"_12ysw","p-0-12":"_1sfzz","date-range":"_44xZV","date-range-item":"_3bulT","calendar-select":"_3RE3I","calendar-label":"_Ld-at","calendar-options":"_dxUCu","option-item":"_2Z66k","selected":"_2Z_Js","no-selected":"_3YPC1"};
31201
+ var style$2 = {"font-large":"_3Sup6","block-card-title":"_3Qn6F","btn-conduct-checkIn":"_1qNfu","btn-conduct-session":"_2K2FJ","total-card-title":"_3vk3b","total-card-value":"_IHasQ","header-left":"_11kCD","custom-header-title":"_d8RZe","custom-header-large-title":"_3lHAH","block-card-btn-title":"_3svb4","custom-button-content":"_1oCai","show-answers":"_1L_vx","detail-questions":"_3kMDk","detail":"_3TKX7","answers":"_ejtt2","answer-item":"_2SV9m","download-btn":"_oQC64","btn-favorite-text":"_3m4oI","box-slider":"_1bTW5","slider-text":"_1gs0Z","chip-slider":"_xowPU","value":"_3hnI_","compare-avr":"_lL-Yg","content":"_1EgBn","percent":"_3Bs0W","arrow":"_2BhP8","label-single-choice":"_3oSdM","btn-choice":"_hPL_o","font-small":"_2JnMg","reset-the-content":"_1zJw3","btn-duplicate-survey":"_11N79","menu-item-strategories":"_1oZYB","time-Date":"_1Q7w6","time-Hours-Minute":"_3ZcQD","arrow-icon":"_2NJ7E","word-break":"_27YiF","header-icon":"_dqAoB","full-width":"_2DGWF","header-right-student":"_1GQrw","header-right":"_1jTMg","header-student":"_SSISD","box-title-question":"_1DlZO","tooltip-question":"_29Hwk","font-description":"_2pyf5","header-component":"_2oMWx","btn-start":"_1M4r8","timer-start":"_-ZWIZ","btn-timer":"_3SGlg","timer-text":"_1Q--B","timer-session":"_26lTc","play-icon-pause":"_d_2HA","play-icon":"_1mIjz","block-right":"_2CN0T","filter-item":"_3jAEH","btn-conduct-session-disabled":"_3ae8F","btn-conduct-icon":"_2msER","animation-btn-conduct":"_3bftL","ring":"_3Jd73","answer-text":"_Vct9B","icon-text":"_1MuMl","icon-left":"_3bBeE","margin-right":"_2T6Ym","up-color-background":"_1cck_","down-color-background":"_2Z76g","grey-background":"_2ryO2","up-color-icon":"_RTrVT","up-color":"_3UMJw","down-color-icon":"_3hZXx","down-color":"_1u1gK","rotate":"_1yp9N","font-question-name":"_13S5D","font-question":"_t-JhH","font-question--all-bold":"_2t1gp","font-question-description":"_1YLGi","question-block":"_2gqE-","question-text":"_337MJ","question-slider":"_k_dl-","input-survey":"_24vPq","question-block-mobile":"_p-cUG","emotion-list":"_1M6M1","emotion-item":"_1wmi8","emotion-active":"_3JT39","block-learning-strategories":"_KKK4u","conference-learning-strategories":"_3o_lQ","item-learning-strategories":"_1k7-R","question-today":"_WkaIn","block-button":"_275AS","talk-conduct":"_28jd3","box-talk":"_3zlbc","box-p":"_IXk4X","form-upload":"_1spIR","title":"_g-p72","description":"_2U60d","form-title":"_qDlsm","form-upload-image-box":"_2xZUq","form-upload-image":"_3C-Xm","form-upload-icon":"_2zIn5","form-upload-title":"_yNCgm","form-upload-description":"_35Wqq","header-right-download":"_27SXJ","download-title":"_1EWKg","accomondation-content":"_2qhHZ","accomondation-content-title-box":"_XTfSF","accomondation-content-title":"_1Z_hd","accomondation-body":"_1DtTP","accomondation-content-function":"_3fJXr","function-edit":"_368JR","function-delete":"_2I-ej","accomondation-block-content":"_1fpsj","accomondation-block-note":"_2INhO","accomondation-content-description":"_2BEap","accomondation-content-status":"_UdBci","content-function-mobile":"_3gaSR","card-box":"_3Flx1","card-top":"_3Mi_n","card-top-title":"_21QGx","card-top-right":"_2eeiS","card-top-switch":"_9VWFe","card-view":"_Jwjv5","card-content":"_3AVYm","block-circle":"_3o7Sh","block-item-3":"_3JeRP","item-circle":"_2wunA","block-item-4":"_3P83R","icon-btn":"_3xYAk","slider-avatar":"_2wH1X","btn-delete":"_z69mr","send-icon":"_3oH01","radio-choice":"_2RwcR","checkbox-control":"_3woGH","block-question":"_3TJl8","question-choice":"_3LiGg","radio-disable":"_1WFdo","pointer-page-result":"_3mfi0","canva-item-container":"_1tBto","canva-item":"_3A0Al","title-circle":"_2QAQJ","accommodation-header-right":"_4OB3z","about-header-right":"_t4lD7","text-custom":"_22kUd","page-external":"_1Qrsk","custom-header":"_22CX0","custom-header-right":"_3EDTf","custom-header-button":"_2OUSw","disable-button":"_3rQql","border-none":"_3MpEU","block-btn-header":"_25ahZ","custom-preview-button":"_mpfwz","total-card-box":"_1Xx6l","total-card-box--hover":"_2_ntJ","total-card-box-3":"_2eiNE","total-card-box-4":"_3eYTQ","total-card-box-5":"_230Hu","total-card-box__content":"_3ua19","status-default":"_165c9","pending":"_ZcAbu","active":"_3oAH-","close":"_3XmhO","box-filter":"_KT2NK","block-total":"_2GGFc","filter-select":"_3xiAo","box-filter-left":"_1hkQM","filter-select-list":"_3zE9Z","box-filter-right":"_1SOsh","search-input-icon":"_Od6MC","inputInput":"_2st_0","filter-item-collapse":"_2opDJ","box-show-filter-mobile":"_3xvBF","icon-show-all-filter":"_3gNUH","space-item":"_1G-S_","block-card-name":"_2Wl9Z","block-card-btn":"_1Z1H6","block-card-btn-icon":"_2Bg4S","table-cell":"_2uhRa","table-cell--pointer":"_3DnAh","box-notification":"_iDxHF","notification-1":"_2ZvNu","notification-2":"_2zBWP","notification-3":"_1T24i","notification-4":"_2obEM","notification-5":"_20aq-","notification-6":"_RWFl1","box-item":"_Wtc0p","notification-7":"_3rw4Y","notification-assistant-1":"_1ybh1","notification-assistant-2":"_2o31Q","notification-assistant-3":"_11hn9","notification-assistant-4":"_2sPVk","notification-assistant-5":"_3ln0K","notification-assistant-6":"_3dsZQ","notification-student-1":"_1XdPP","notification-student-2":"_1I9Dc","notification-student-3":"_3DwX3","notification-student-4":"_2TKDh","notification-student-5":"_14nq1","notification-student-6":"_1zCX0","btn-got-it":"_uwWqF","yes-active":"_2AK7h","no-active":"_1UouU","item-select-role":"_1KcY7","item-role-active":"_dOVso","model-switch-roles":"_3ZqxI","box-switch":"_2Nd8Z","title-label":"_XYA0v","title-text":"_88rqO","header-contact":"_EKp5e","logo-home":"_24U3W","hide-in-desktop":"_2LIqK","hamburger-menu":"_2yRc8","collapse-box":"_WX97m","nav-home":"_1TT1q","contact":"_NszFe","active-current":"_19XSx","box-header-user":"_2UxPq","header-user-left":"_2GnfS","user-avatar":"_2voun","user-detail":"_2NSw4","user-name":"_2ncLc","user-chip":"_3MdPs","chip":"_2clqF","grade":"_WSIoQ","date":"_1fNCD","header-user-right":"_Nd4GQ","disable-slider":"_1Vzhe","h-200":"_1xJfb","h-250":"_2IoEF","half-circle-slider":"_CRJ3D","wrapper":"_yak_n","t-125":"_3O6h7","t-180":"_tTvT4","box-slider-text":"_3QJJx","text-right":"_tZ2Y_","icon":"_20YJX","circle-slider-text":"_1LcjC","circle-slider-value":"_3Ch7F","roundy-gradient":"_PnoOX","pointer":"_1gsNz","icon-info":"_37jaA","icon-warning":"_1eWQQ","answer--never":"_1mTcA","answer--rarely":"_Vu1zQ","answer--sometimes":"_X0wca","answer--often":"_2dDxa","answer--almost-always":"_390EV","answer--all-the-time":"_28JDY","block-container":"_1PGSC","the-container-admin":"_d3gb7","custom-scrollbar":"_12ysw","p-0-12":"_1sfzz","date-range":"_44xZV","date-range-item":"_3bulT","calendar-select":"_3RE3I","calendar-label":"_Ld-at","calendar-options":"_dxUCu","option-item":"_2Z66k","selected":"_2Z_Js","no-selected":"_3YPC1"};
31201
31202
 
31202
31203
  var FilterDateRange = function FilterDateRange(_ref) {
31203
31204
  var endDate = _ref.endDate,
@@ -32359,7 +32360,7 @@ var convertTime = function convertTime(time) {
32359
32360
  };
32360
32361
  var flagSurveyOptions = ["All", "Red", "Yellow", "Green"];
32361
32362
  var DATE_MIN_VALUE = "0001-01-01T00:00:00";
32362
- var DEFAULT_USER_AVATAR$1 = "/images/image-default.png";
32363
+ var DEFAULT_USER_AVATAR = "/images/image-default.png";
32363
32364
  var ratingOfQuestionColors = ["#169490", "#316CD9", "#FFB04F", "#C44140", "#0F9655", "#73C8E5"];
32364
32365
  var tooltipLabel = "you_can_only_select_number_kpis_at_a_time_To_select_a_new_one_please_switch_off_one_of_the_previous_ones";
32365
32366
  var FLAG_TYPES$1;
@@ -32611,7 +32612,7 @@ var LastAnswerTable = function LastAnswerTable(_ref) {
32611
32612
  }, React__default.createElement(core$1.Grid, {
32612
32613
  className: "d-flex align-items-center"
32613
32614
  }, React__default.createElement("img", {
32614
- src: !!r.studentProfileImage ? marioCore.getFileUrl(r.studentProfileImage) : DEFAULT_USER_AVATAR$1,
32615
+ src: !!r.studentProfileImage ? marioCore.getFileUrl(r.studentProfileImage) : DEFAULT_USER_AVATAR,
32615
32616
  alt: "",
32616
32617
  className: "" + styles$4["avatar_user"]
32617
32618
  }), r.studentName))), React__default.createElement(core$1.TableCell, {
@@ -32838,7 +32839,7 @@ var SimpleDialog = function SimpleDialog(_ref) {
32838
32839
  }, "spacing")));
32839
32840
  };
32840
32841
 
32841
- var DEFAULT_USER_AVATAR$2 = marioCore.getStaticFileUrl("/images/image-default.png");
32842
+ var DEFAULT_USER_AVATAR$1 = marioCore.getStaticFileUrl("/images/image-default.png");
32842
32843
 
32843
32844
  var StudentsMissingConversationModal = function StudentsMissingConversationModal(_ref) {
32844
32845
  var students = _ref.students,
@@ -32882,7 +32883,7 @@ var StudentsMissingConversationModal = function StudentsMissingConversationModal
32882
32883
  }, React__default.createElement("div", {
32883
32884
  className: styles$3["item__data"] + " " + styles$3["item__not-grade"] + " " + styles$3["item__student-information"]
32884
32885
  }, React__default.createElement("img", {
32885
- src: !!(res !== null && res !== void 0 && res.studentProfileImage) ? marioCore.getFileUrl(res === null || res === void 0 ? void 0 : res.studentProfileImage) : DEFAULT_USER_AVATAR$2,
32886
+ src: !!(res !== null && res !== void 0 && res.studentProfileImage) ? marioCore.getFileUrl(res === null || res === void 0 ? void 0 : res.studentProfileImage) : DEFAULT_USER_AVATAR$1,
32886
32887
  alt: res === null || res === void 0 ? void 0 : res.studentName
32887
32888
  }), res === null || res === void 0 ? void 0 : res.studentName), React__default.createElement("div", {
32888
32889
  className: styles$3["item__data"] + " " + styles$3["item__grade"],
@@ -35017,6 +35018,23 @@ var BarChart = function BarChart(_ref) {
35017
35018
  if (!chartEl) return;
35018
35019
  var barEls = chartEl.querySelectorAll(".apexcharts-bar-series path");
35019
35020
  if (!barEls.length) return;
35021
+
35022
+ if (selectedBarRef.current === dataPointIndex) {
35023
+ selectedBarRef.current = null;
35024
+ barEls[dataPointIndex].setAttribute("fill", "#C4D4F3");
35025
+ setTooltipData(null);
35026
+ return;
35027
+ }
35028
+
35029
+ if (selectedBarRef.current !== null) {
35030
+ var prevIndex = selectedBarRef.current;
35031
+ var prevBar = barEls[prevIndex];
35032
+
35033
+ if (prevBar) {
35034
+ prevBar.setAttribute("fill", "#C4D4F3");
35035
+ }
35036
+ }
35037
+
35020
35038
  var newBar = barEls[dataPointIndex];
35021
35039
 
35022
35040
  if (newBar) {
@@ -35029,22 +35047,16 @@ var BarChart = function BarChart(_ref) {
35029
35047
  dataPointMouseEnter: function dataPointMouseEnter(_event, _chartContext, config) {
35030
35048
  var dataPointIndex = config === null || config === void 0 ? void 0 : config.dataPointIndex;
35031
35049
  var currentTooltip = tooltipDataRef.current;
35032
- var chartEl = document.querySelector("#apexchartsmy-bar-chart");
35033
- if (!chartEl) return;
35034
- var barEls = chartEl.querySelectorAll(".apexcharts-bar-series path");
35035
- if (!barEls.length) return;
35036
35050
 
35037
35051
  if (dataPointIndex != undefined && dataPointIndex !== (currentTooltip === null || currentTooltip === void 0 ? void 0 : currentTooltip.dataPointIndex) && !(currentTooltip !== null && currentTooltip !== void 0 && currentTooltip.isSelect)) {
35038
- if (dataPointIndex != -1) {
35039
- showTooltipAtIndex(dataPointIndex);
35040
- barEls.forEach(function (bar, i) {
35041
- if (i === dataPointIndex) {
35042
- bar.setAttribute("fill", "#316CD9");
35043
- } else {
35044
- bar.setAttribute("fill", "#C4D4F3");
35045
- }
35046
- });
35047
- }
35052
+ dataPointIndex == -1 ? setTooltipData(null) : showTooltipAtIndex(dataPointIndex);
35053
+ }
35054
+ },
35055
+ dataPointMouseLeave: function dataPointMouseLeave(_event, _chartContext, config) {
35056
+ var currentTooltip = tooltipDataRef.current;
35057
+
35058
+ if ((currentTooltip === null || currentTooltip === void 0 ? void 0 : currentTooltip.dataPointIndex) == config.dataPointIndex && !(currentTooltip !== null && currentTooltip !== void 0 && currentTooltip.isSelect)) {
35059
+ setTooltipData(null);
35048
35060
  }
35049
35061
  }
35050
35062
  }
@@ -35141,6 +35153,29 @@ var BarChart = function BarChart(_ref) {
35141
35153
  React.useEffect(function () {
35142
35154
  tooltipDataRef.current = tooltipData;
35143
35155
  }, [tooltipData]);
35156
+ React.useEffect(function () {
35157
+ var handleClickOutside = function handleClickOutside(e) {
35158
+ if (open) return;
35159
+ var chartEl = document.querySelector("#apexchartsmy-bar-chart");
35160
+ if (!chartEl) return;
35161
+
35162
+ if (!chartEl.contains(e.target)) {
35163
+ var barEls = chartEl.querySelectorAll(".apexcharts-bar-series path");
35164
+ var selectedIndex = selectedBarRef.current;
35165
+
35166
+ if (selectedIndex !== null && barEls[selectedIndex]) {
35167
+ barEls[selectedIndex].setAttribute("fill", "#C4D4F3");
35168
+ selectedBarRef.current = null;
35169
+ setTooltipData(null);
35170
+ }
35171
+ }
35172
+ };
35173
+
35174
+ document.addEventListener("click", handleClickOutside);
35175
+ return function () {
35176
+ document.removeEventListener("click", handleClickOutside);
35177
+ };
35178
+ }, [open]);
35144
35179
  return React__default.createElement("div", null, React__default.createElement("div", {
35145
35180
  ref: chartWrapperRef,
35146
35181
  style: {
@@ -53924,7 +53959,7 @@ var ConductSurveyModel = function ConductSurveyModel(_ref) {
53924
53959
  }, React__default.createElement(core$1.Grid, {
53925
53960
  className: "" + styles$9["header-conduct"]
53926
53961
  }, React__default.createElement("img", {
53927
- src: marioCore.getFileUrl((student === null || student === void 0 ? void 0 : student.avatar) || "") || DEFAULT_USER_AVATAR$1,
53962
+ src: marioCore.getFileUrl((student === null || student === void 0 ? void 0 : student.avatar) || "") || DEFAULT_USER_AVATAR,
53928
53963
  alt: student === null || student === void 0 ? void 0 : student.studentName,
53929
53964
  className: "" + styles$9["avatar_user"]
53930
53965
  }), React__default.createElement(core$1.Grid, {
@@ -54026,7 +54061,7 @@ var ResponseQuestionModel = function ResponseQuestionModel(_ref) {
54026
54061
  hidden: !!isHiddenContact,
54027
54062
  className: "" + styles$9["student-detail"]
54028
54063
  }, React__default.createElement("img", {
54029
- src: marioCore.getFileUrl(r.studentAvatar || "") || DEFAULT_USER_AVATAR$1,
54064
+ src: marioCore.getFileUrl(r.studentAvatar || "") || DEFAULT_USER_AVATAR,
54030
54065
  alt: r.studentName,
54031
54066
  className: "" + styles$9["avatar_user"]
54032
54067
  }), React__default.createElement(core$1.Grid, null, React__default.createElement(core$1.Typography, {
@@ -54427,7 +54462,7 @@ var BarChartQuestionAnswers = function BarChartQuestionAnswers(_ref) {
54427
54462
  }, t('number_of_answers')));
54428
54463
  };
54429
54464
 
54430
- var DEFAULT_USER_AVATAR$3 = marioCore.getStaticFileUrl("/images/image-default.png");
54465
+ var DEFAULT_USER_AVATAR$2 = marioCore.getStaticFileUrl("/images/image-default.png");
54431
54466
 
54432
54467
  var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
54433
54468
  var handleClickCollapse = _ref.handleClickCollapse,
@@ -54509,7 +54544,7 @@ var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
54509
54544
  }, React__default.createElement("div", {
54510
54545
  className: styles$9["answer-head"]
54511
54546
  }, React__default.createElement("img", {
54512
- src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$3),
54547
+ src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$2),
54513
54548
  alt: "",
54514
54549
  style: {
54515
54550
  width: '24px',
@@ -55284,7 +55319,7 @@ var StudentFlagList = function StudentFlagList(_ref) {
55284
55319
  align: "left",
55285
55320
  className: "" + styles$9["row_name"]
55286
55321
  }, React__default.createElement("img", {
55287
- src: !row.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
55322
+ src: !row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
55288
55323
  alt: "",
55289
55324
  className: "" + styles$9["avatar_user"]
55290
55325
  }), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core$1.TableCell, {
@@ -55327,7 +55362,7 @@ var StudentFlagList = function StudentFlagList(_ref) {
55327
55362
  color: "disabled"
55328
55363
  }),
55329
55364
  statusDetail: t((e === null || e === void 0 ? void 0 : e.status) !== "ActionNeed" ? e === null || e === void 0 ? void 0 : (_e$status = e.status) === null || _e$status === void 0 ? void 0 : (_e$status$toLocaleLow = _e$status.toLocaleLowerCase) === null || _e$status$toLocaleLow === void 0 ? void 0 : _e$status$toLocaleLow.call(_e$status) : "action_need"),
55330
- avatar: !e.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(e.avatar)
55365
+ avatar: !e.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(e.avatar)
55331
55366
  });
55332
55367
  })), !!listSurveyStudent && listSurveyStudent.items.length > 0 && React__default.createElement(core$1.TablePagination, {
55333
55368
  rowsPerPageOptions: [5, 10, 25],
@@ -68563,7 +68598,7 @@ var TableSelectStudent = function TableSelectStudent(_ref) {
68563
68598
  return React__default.createElement("div", {
68564
68599
  className: "" + styles$9["row_name"]
68565
68600
  }, React__default.createElement("img", {
68566
- src: !params.row.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(params.row.avatar),
68601
+ src: !params.row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(params.row.avatar),
68567
68602
  alt: "",
68568
68603
  className: "" + styles$9["avatar_user"]
68569
68604
  }), params.row.fullName);
@@ -69991,7 +70026,7 @@ var TableSelectStaff = function TableSelectStaff(_ref) {
69991
70026
  return React__default.createElement("div", {
69992
70027
  className: "" + styles$9["row_name"]
69993
70028
  }, React__default.createElement("img", {
69994
- src: !params.row.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(params.row.avatar),
70029
+ src: !params.row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(params.row.avatar),
69995
70030
  alt: "",
69996
70031
  className: "" + styles$9["avatar_user"]
69997
70032
  }), params.row.fullName);
@@ -72388,7 +72423,7 @@ var getConvertMinuteToHour$1 = function getConvertMinuteToHour(time, usingText)
72388
72423
  var timeSecond = time * 60;
72389
72424
  var hours = Math.floor(timeSecond / 3600);
72390
72425
  var minutes = Math.floor(timeSecond % 3600 / 60);
72391
- var remainingSeconds = Math.floor(timeSecond % 60);
72426
+ var remainingSeconds = timeSecond % 60;
72392
72427
  var formattedHours = String(hours).padStart(2, '0');
72393
72428
  var formattedMinutes = String(minutes).padStart(2, '0');
72394
72429
  var formattedSeconds = String(remainingSeconds).padStart(2, '0');
@@ -73709,7 +73744,7 @@ var SimpleDialog$1 = function SimpleDialog(_ref) {
73709
73744
  }, "spacing")));
73710
73745
  };
73711
73746
 
73712
- var DEFAULT_USER_AVATAR$4 = "/images/image-default.png";
73747
+ var DEFAULT_USER_AVATAR$3 = "/images/image-default.png";
73713
73748
 
73714
73749
  var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
73715
73750
  var endTime = _ref.endTime,
@@ -73742,7 +73777,7 @@ var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
73742
73777
  className: "d-flex w-100"
73743
73778
  }, React__default.createElement(core$1.Avatar, {
73744
73779
  alt: name === null || name === void 0 ? void 0 : name.toUpperCase(),
73745
- src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$4
73780
+ src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$3
73746
73781
  }), React__default.createElement("div", {
73747
73782
  className: "ml-2 ml-sm-3 d-flex flex-column justify-content-center"
73748
73783
  }, React__default.createElement("div", {
@@ -75663,8 +75698,7 @@ var useHeaderSideBar = function useHeaderSideBar(_navigations) {
75663
75698
  icon: React__default.createElement(TrackChangesIcon, null)
75664
75699
  }];
75665
75700
  var renderNotificationBadge = React.useCallback(function () {
75666
- if (!unreadNoti) return React__default.createElement("img", {
75667
- src: "/images/bell-icon.png",
75701
+ if (!unreadNoti) return React__default.createElement(NotificationsIcon, {
75668
75702
  onClick: function onClick() {
75669
75703
  return openNotification();
75670
75704
  }
@@ -75675,9 +75709,7 @@ var useHeaderSideBar = function useHeaderSideBar(_navigations) {
75675
75709
  onClick: function onClick() {
75676
75710
  return openNotification();
75677
75711
  }
75678
- }, React__default.createElement("img", {
75679
- src: "/images/bell-icon.png"
75680
- }));
75712
+ }, React__default.createElement(NotificationsIcon, null));
75681
75713
  }, [unreadNoti, JSON.stringify(roles)]);
75682
75714
 
75683
75715
  var renderNavigationItem = function renderNavigationItem(navigation, isSubItem) {
@@ -75828,23 +75860,24 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
75828
75860
  flexGrow: 1
75829
75861
  },
75830
75862
  menuItem: {
75831
- padding: "8px 24px",
75863
+ padding: 0,
75832
75864
  "& > button > span > span": {
75833
75865
  marginLeft: "0.2rem !important"
75834
75866
  }
75835
75867
  },
75836
- menuText: {
75837
- fontSize: "16px"
75838
- },
75839
75868
  menuButton: (_menuButton = {
75840
75869
  marginRight: theme.spacing(2)
75841
75870
  }, _menuButton["@media(max-width: 768px)"] = {
75842
75871
  marginRight: 0
75843
75872
  }, _menuButton),
75844
75873
  title: (_title = {
75845
- flexGrow: 0.1,
75874
+ flexGrow: 0.2,
75846
75875
  "& img": {
75847
- height: "40px"
75876
+ height: "50px",
75877
+ borderRadius: "16px",
75878
+ boxShadow: "0px 0px 24px 0px rgba(0, 0, 0, 0.16)",
75879
+ padding: "5px 10px",
75880
+ border: "2px solid #FFFFFF"
75848
75881
  },
75849
75882
  "& img:hover": {
75850
75883
  boxShadow: "0px 0px 24px 0px rgba(0, 0, 0, 0.36)"
@@ -75852,29 +75885,17 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
75852
75885
  }, _title['@media(min-width: 1440px)'] = {
75853
75886
  flexGrow: 0.1
75854
75887
  }, _title),
75855
- avatar: {
75856
- width: "44px",
75857
- height: "44px",
75858
- cursor: "pointer",
75859
- borderRadius: "50px"
75860
- },
75861
75888
  listItem: (_listItem = {}, _listItem["@media(max-width: 768px)"] = {
75862
75889
  padding: 0
75863
75890
  }, _listItem),
75864
75891
  header: {
75865
75892
  zIndex: 1000,
75866
- background: "#336DDA",
75867
- borderRadius: "0 0 12px 12px",
75868
- width: "calc(100vw - 32px)",
75869
- margin: "0 16px"
75893
+ background: "#336DDA"
75870
75894
  },
75871
75895
  dropdown: {
75872
75896
  zIndex: "1410 !important",
75873
75897
  top: "40px !important"
75874
75898
  },
75875
- menuIcon: {
75876
- marginRight: "8px"
75877
- },
75878
75899
  sectionDesktop: {
75879
75900
  display: "flex"
75880
75901
  },
@@ -75999,7 +76020,7 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
75999
76020
  easing: theme.transitions.easing.sharp,
76000
76021
  duration: theme.transitions.duration.leavingScreen
76001
76022
  }),
76002
- marginTop: 64,
76023
+ marginTop: 60,
76003
76024
  maxHeight: 'calc(100vh - 120px)',
76004
76025
  minHeight: 'calc(100vh - 120px)',
76005
76026
  paddingTop: '0 !important',
@@ -76129,9 +76150,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
76129
76150
  color: "inherit",
76130
76151
  "aria-label": "menu",
76131
76152
  onClick: toggleSideBar
76132
- }, isOpenSideBar && screenWidth < 1280 ? React__default.createElement(TimesIcon, null) : React__default.createElement("img", {
76133
- src: "/images/burger-menu-icon.png"
76134
- })), React__default.createElement(Typography, {
76153
+ }, isOpenSideBar && screenWidth < 1280 ? React__default.createElement(TimesIcon, null) : React__default.createElement(MenuIcon, null)), React__default.createElement(Typography, {
76135
76154
  variant: "h6",
76136
76155
  className: classes.title
76137
76156
  }, React__default.createElement(reactRouterDom.Link, {
@@ -76141,8 +76160,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
76141
76160
  alt: ""
76142
76161
  }))), screenWidth > 600 && React__default.createElement("span", {
76143
76162
  style: {
76144
- fontSize: "16px",
76145
- opacity: 0.8
76163
+ fontSize: "1.1rem"
76146
76164
  }
76147
76165
  }, t('hi'), ", ", user === null || user === void 0 ? void 0 : user.firstName, " \uD83D\uDC4B"), React__default.createElement("div", {
76148
76166
  className: classes.grow
@@ -76159,25 +76177,15 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
76159
76177
  }, "A"), React__default.createElement("span", {
76160
76178
  className: classes.fontBodySmall
76161
76179
  }, "A")), React__default.createElement(IconButton, {
76162
- "aria-label": "policy",
76180
+ "aria-label": "show 17 new notifications",
76163
76181
  color: "inherit",
76164
- onClick: function onClick() {
76165
- return window.open("/privacy-policy");
76166
- }
76167
- }, React__default.createElement("img", {
76168
- src: "/images/policy-icon.png"
76169
- })), !isReadOnly && React__default.createElement(IconButton, {
76182
+ onClick: handleMenu
76183
+ }, React__default.createElement(icons.AccountCircle, null)), !isReadOnly && React__default.createElement(IconButton, {
76184
+ edge: "end",
76170
76185
  "aria-label": "account of current user",
76171
76186
  "aria-haspopup": "true",
76172
76187
  color: "inherit"
76173
- }, renderNotificationBadge()), React__default.createElement(IconButton, {
76174
- "aria-label": "show 17 new notifications",
76175
- color: "inherit",
76176
- onClick: handleMenu
76177
- }, React__default.createElement("img", {
76178
- className: classes.avatar,
76179
- src: !!(user !== null && user !== void 0 && user.profileImageFileName) ? marioCore.getFileUrl(user.profileImageFileName) : DEFAULT_USER_AVATAR
76180
- }))), React__default.createElement(core$1.Menu, {
76188
+ }, renderNotificationBadge())), React__default.createElement(core$1.Menu, {
76181
76189
  id: "menu-font",
76182
76190
  className: classes.dropdown,
76183
76191
  anchorEl: anchorFontEl,
@@ -76225,46 +76233,19 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
76225
76233
  horizontal: "right"
76226
76234
  },
76227
76235
  open: open,
76228
- onClose: handleClose,
76229
- PaperProps: {
76230
- style: {
76231
- borderRadius: 16,
76232
- padding: "20px 0"
76233
- }
76234
- }
76236
+ onClose: handleClose
76235
76237
  }, screenWidth < 600 && React__default.createElement(core$1.MenuItem, {
76236
76238
  className: classes.menuItem
76237
76239
  }, React__default.createElement(LanguageDropdown, null)), !isReadOnly && React__default.createElement(core$1.MenuItem, {
76238
- className: classes.menuItem,
76239
76240
  onClick: openProfile
76240
- }, React__default.createElement("img", {
76241
- className: classes.menuIcon,
76242
- src: "/images/profile-icon.png"
76243
- }), React__default.createElement(Typography, {
76244
- className: classes.menuText
76245
- }, t("profile"))), ((_handleUserRole = handleUserRole((user === null || user === void 0 ? void 0 : user.userRoles) || [])) === null || _handleUserRole === void 0 ? void 0 : _handleUserRole.length) > 1 && !isReadOnly && React__default.createElement(core$1.MenuItem, {
76246
- className: classes.menuItem,
76241
+ }, t('profile')), ((_handleUserRole = handleUserRole((user === null || user === void 0 ? void 0 : user.userRoles) || [])) === null || _handleUserRole === void 0 ? void 0 : _handleUserRole.length) > 1 && !isReadOnly && React__default.createElement(core$1.MenuItem, {
76247
76242
  onClick: function onClick() {
76248
76243
  onToggleModel === null || onToggleModel === void 0 ? void 0 : onToggleModel();
76249
76244
  handleClose();
76250
76245
  }
76251
- }, React__default.createElement("img", {
76252
- className: classes.menuIcon,
76253
- src: "/images/role-change-icon.png"
76254
- }), React__default.createElement(Typography, {
76255
- className: classes.menuText
76256
- }, t("role_change"))), React__default.createElement(core$1.MenuItem, {
76257
- style: {
76258
- borderTop: "1px solid #e9e9e9"
76259
- },
76260
- className: classes.menuItem,
76246
+ }, t('role_change')), React__default.createElement(core$1.MenuItem, {
76261
76247
  onClick: signOut
76262
- }, React__default.createElement("img", {
76263
- className: classes.menuIcon,
76264
- src: "/images/sign-out-icon.png"
76265
- }), React__default.createElement(Typography, {
76266
- className: classes.menuText
76267
- }, t("log_out")))))), !isReadOnly && React__default.createElement(React__default.Fragment, null, isOpenSideBar && React__default.createElement("div", {
76248
+ }, t('log_out'))))), !isReadOnly && React__default.createElement(React__default.Fragment, null, isOpenSideBar && React__default.createElement("div", {
76268
76249
  className: classes.positionBox
76269
76250
  }, React__default.createElement(core$1.Drawer, {
76270
76251
  id: "menu-sidebar",
@@ -76292,17 +76273,6 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
76292
76273
  }, children));
76293
76274
  };
76294
76275
 
76295
- var useStyles$m = core$1.makeStyles(function () {
76296
- return {
76297
- paper: {
76298
- borderRadius: 24,
76299
- position: "absolute",
76300
- top: "10%",
76301
- padding: "40px 48px"
76302
- }
76303
- };
76304
- });
76305
-
76306
76276
  var ModelSelectRole = function ModelSelectRole(_ref) {
76307
76277
  var _handleUserRole;
76308
76278
 
@@ -76314,7 +76284,6 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
76314
76284
  t = _useTranslation.t;
76315
76285
 
76316
76286
  var history = reactRouterDom.useHistory();
76317
- var classes = useStyles$m();
76318
76287
  var pathname = window.location.pathname;
76319
76288
  var user = reactRedux.useSelector(function (state) {
76320
76289
  return state.common.user;
@@ -76346,21 +76315,10 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
76346
76315
  onClose: function onClose() {
76347
76316
  return onToggleModel();
76348
76317
  },
76349
- className: "" + style$2["model-switch-roles"],
76350
- classes: {
76351
- paper: classes.paper
76352
- }
76353
- }, React__default.createElement("button", {
76354
- type: "button",
76355
- className: style$2["btn-close"],
76356
- onClick: function onClick() {
76357
- return onToggleModel();
76358
- }
76359
- }, React__default.createElement(CloseIcon$1, null)), React__default.createElement(core$1.Typography, {
76318
+ className: "" + style$2["model-switch-roles"]
76319
+ }, React__default.createElement(core$1.Typography, {
76360
76320
  className: "" + style$2["title"]
76361
- }, t('continue_as')), React__default.createElement("div", {
76362
- className: "" + style$2["select-user-role"]
76363
- }, (_handleUserRole = handleUserRole(user === null || user === void 0 ? void 0 : user.userRoles)) === null || _handleUserRole === void 0 ? void 0 : _handleUserRole.map(function (r) {
76321
+ }, t('continue_as')), React__default.createElement("div", null, (_handleUserRole = handleUserRole(user === null || user === void 0 ? void 0 : user.userRoles)) === null || _handleUserRole === void 0 ? void 0 : _handleUserRole.map(function (r) {
76364
76322
  return React__default.createElement("p", {
76365
76323
  key: r,
76366
76324
  className: style$2["item-select-role"] + " " + style$2[roles.includes("Teacher") && roles.includes("Assistant") && r === "Teacher/Assistant" || roles.includes(r) ? "item-role-active" : ""],
@@ -76373,7 +76331,7 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
76373
76331
 
76374
76332
  var styles$e = {"privacy-policy":"_2dEzh","privacy-policy-left":"_2lSk2","all-rights-reserved":"_2unK1","policy-link":"_1cFLY","privacy-policy-right":"_1a3Jo","product-link":"_3ztHM","image-link":"_1PDl3","margin-by-sidebar":"_1XXX_"};
76375
76333
 
76376
- var useStyles$n = core$1.makeStyles(function () {
76334
+ var useStyles$m = core$1.makeStyles(function () {
76377
76335
  var _root, _fullWidth;
76378
76336
 
76379
76337
  return {
@@ -76406,7 +76364,7 @@ var Footer = function Footer(_ref) {
76406
76364
  return (_state$common2 = state.common) === null || _state$common2 === void 0 ? void 0 : _state$common2.user;
76407
76365
  });
76408
76366
  var isStudent = currentUser.roles.includes("Student");
76409
- var classes = useStyles$n();
76367
+ var classes = useStyles$m();
76410
76368
  return React__default.createElement(core$1.Grid, {
76411
76369
  className: styles$e["privacy-policy"] + " " + (isOpenSideBar && !isNotification ? classes.root : classes.fullWidth)
76412
76370
  }, React__default.createElement(core$1.Grid, {
@@ -78099,7 +78057,7 @@ var SubSurveyQuestions = function SubSurveyQuestions(_ref) {
78099
78057
  }));
78100
78058
  };
78101
78059
 
78102
- var useStyles$o = core$1.makeStyles(function () {
78060
+ var useStyles$n = core$1.makeStyles(function () {
78103
78061
  return core$1.createStyles({
78104
78062
  fullWidth: {
78105
78063
  width: "100%"
@@ -78127,7 +78085,7 @@ var SurveyAnswerList = function SurveyAnswerList(_ref) {
78127
78085
  var _useTranslation = marioCore.useTranslation(),
78128
78086
  t = _useTranslation.t;
78129
78087
 
78130
- var classes = useStyles$o();
78088
+ var classes = useStyles$n();
78131
78089
  var isEmotional = type === marioCore.QUESTION_TYPES.EMOTIONAL;
78132
78090
  var isSingleChoice = type === marioCore.QUESTION_TYPES.SINGLE_CHOICE;
78133
78091
  var hasFlag = questionType && parseInt(questionType) === QUESTION_TYPE_PARAMS.Survey && (type === marioCore.QUESTION_TYPES.EMOTIONAL || type === marioCore.QUESTION_TYPES.SINGLE_CHOICE || type == marioCore.QUESTION_TYPES.DROPDOWN || type === marioCore.QUESTION_TYPES.MULTIPLE_CHOICE);